{"source_group": "shell", "source": "openbmb/UltraData-Stack-v3-L2/shell", "domain": "github.com", "language": "shell", "url": "https://github.com/apecloud/kubeblocks-addons/blob/46aa5a81d163368d033bb1a0e39512769a813128/addons/etcd/scripts-ut-spec/switchover_spec.sh", "id": "shell-0-d132e0671f517d958b3dd4cdaef35b38", "text": "#!/usr/bin/env shellspec\n# shellcheck shell=bash\n# shellcheck disable=SC2034,SC2154\n\n# validate_shell_type_and_version defined in shellspec/spec_helper.sh used to validate the expected shell type and version this script needs to run.\nif ! validate_shell_type_and_version \"bash\" 4 &>/dev/null; then\n echo \"switchover_spec.sh skip cases because dependency bash version 4 or higher is not installed.\"\n exit 0\nfi\n\nsource ./utils.sh\n\n# The unit test needs to rely on the common library functions defined in kblib.\n# Therefore, we first dynamically generate the required common library files from the kblib library chart.\ncommon_library_file=\"./common.sh\"\ngenerate_common_library $common_library_file\n\nDescribe \"Etcd Switchover Script Tests\"\n # load the scripts to be tested and dependencies\n Include $common_library_file\n\n init() {\n # set ut_mode to true to hack control flow in the script\n ut_mode=\"true\"\n \n # Setup test environment variables\n export LEADER_POD_FQDN=\"etcd-0.etcd-headless.default.svc.cluster.local\"\n export KB_SWITCHOVER_CURRENT_FQDN=\"etcd-0.etcd-headless.default.svc.cluster.local\"\n export KB_SWITCHOVER_CANDIDATE_FQDN=\"etcd-1.etcd-headless.default.svc.cluster.local\"\n export PEER_ENDPOINT=\"\"\n \n # Mock functions\n get_endpoint_adapt_lb() {\n local lb_endpoints=\"$1\"\n local pod_name=\"$2\"\n local result_endpoint=\"$3\"\n echo \"$result_endpoint\"\n }\n \n log() {\n echo \"[$(date +'%Y-%m-%d %H:%M:%S')] $1\"\n }\n \n error_exit() {\n echo \"ERROR: $1\" >&2\n return 1\n }\n \n # Simple is_leader function\n is_leader() {\n case \"$1\" in\n \"etcd-0.etcd-headless.default.svc.cluster.local:2379\") return 0 ;;\n \"etcd-1.etcd-headless.default.svc.cluster.local:2379\") return 0 ;;\n *) return 1 ;;\n esac\n }\n \n get_member_id_hex() {\n echo \"abc123\"\n }\n \n get_member_id() {\n echo \"1001\"\n }\n \n exec_etcdctl() {\n local endpoint=\"$1\"\n shift\n case \"$1\" in\n \"move-leader\")\n echo \"Leadership transferred\"\n return 0\n ;;\n \"member\")\n case \"$2\" in\n \"list\")\n echo '\"ID\": 1002'\n echo '\"ID\": 1003'\n return 0\n ;;\n esac\n ;;\n *)\n echo \"MOCK: exec_etcdctl $endpoint $*\"\n return 0\n ;;\n esac\n }\n \n # Define switchover functions\n switchover_with_candidate() {\n local current_pod_name candidate_pod_name current_endpoint candidate_endpoint candidate_id\n\n current_pod_name=\"${KB_SWITCHOVER_CURRENT_FQDN%%.*}\"\n candidate_pod_name=\"${KB_SWITCHOVER_CANDIDATE_FQDN%%.*}\"\n\n current_endpoint=$(get_endpoint_adapt_lb \"$PEER_ENDPOINT\" \"$current_pod_name\" \"$KB_SWITCHOVER_CURRENT_FQDN\")\n candidate_endpoint=$(get_endpoint_adapt_lb \"$PEER_ENDPOINT\" \"$candidate_pod_name\" \"$KB_SWITCHOVER_CANDIDATE_FQDN\")\n\n if ! is_leader \"$current_endpoint:2379\"; then\n if is_leader \"$candidate_endpoint:2379\"; then\n log \"Leader has already changed, no switchover needed\"\n return 0\n else\n error_exit \"Current node is not leader, and candidate is not leader either.\"\n return 1\n fi\n fi\n\n candidate_id=$(get_member_id_hex \"$candidate_endpoint:2379\")\n exec_etcdctl \"$current_endpoint:2379\" move-leader \"$candidate_id\" || { error_exit \"Failed to transfer leadership to candidate\"; return 1; }\n log \"Switchover to candidate $KB_SWITCHOVER_CANDIDATE_FQDN completed successfully\"\n }\n\n switchover_without_candidate() {\n local current_pod_name current_endpoint leader_id peers_id candidate_id candidate_id_hex\n\n current_pod_name=\"${KB_SWITCHOVER_CURRENT_FQDN%%.*}\"\n current_endpoint=$(get_endpoint_adapt_lb \"$PEER_ENDPOINT\" \"$current_pod_name\" \"$KB_SWITCHOVER_CURRENT_FQDN\")\n\n if ! is_leader \"$current_endpoint:2379\"; then\n error_exit \"Current node is not leader, cannot perform automatic switchover\"\n return 1\n fi\n\n leader_id=$(get_member_id \"$current_endpoint:2379\")\n peers_id=$(exec_etcdctl \"$current_endpoint:2379\" member list -w fields | awk -F': ' '/^\"ID\"/ {gsub(/[^0-9]/, \"\", $2); print $2}')\n candidate_id=$(echo \"$peers_id\" | grep -v \"$leader_id\" | head -1)\n [ -z \"$candidate_id\" ] && { error_exit \"No candidate found for switchover\"; return 1; }\n candidate_id_hex=$(printf \"%x\" \"$candidate_id\")\n\n exec_etcdctl \"$current_endpoint:2379\" move-leader \"$candidate_id_hex\" || { error_exit \"Failed to transfer leadership\"; return 1; }\n log \"Switchover completed successfully - current node is no longer leader\"\n }\n\n switchover() {\n if [[ \"$LEADER_POD_FQDN\" != \"$KB_SWITCHOVER_CURRENT_FQDN\" ]]; then\n log \"switchover action not triggered for leader pod. Exiting.\"\n return 0\n fi\n\n if [ -n \"$KB_SWITCHOVER_CANDIDATE_FQDN\" ]; then\n switchover_with_candidate || return 1\n else\n switchover_without_candidate || return 1\n fi\n\n log \"Switchover completed successfully\"\n }\n }\n BeforeAll \"init\"\n\n cleanup() {\n rm -f $common_library_file\n unset ut_mode LEADER_POD_FQDN KB_SWITCHOVER_CURRENT_FQDN KB_SWITCHOVER_CANDIDATE_FQDN PEER_ENDPOINT\n unset -f get_endpoint_adapt_lb log error_exit is_leader get_member_id_hex get_member_id exec_etcdctl\n unset -f switchover_with_candidate switchover_without_candidate switchover\n }\n AfterAll 'cleanup'\n\n Describe \"switchover() function\"\n It \"performs switchover successfully with specific candidate\"\n When call switchover\n The status should be success\n The stdout should include \"Leadership transferred\"\n The stdout should include \"Switchover to candidate\"\n The stdout should include \"completed successfully\"\n End\n\n It \"performs automatic switchover when no candidate specified\"\n unset KB_SWITCHOVER_CANDIDATE_FQDN\n \n When call switchover\n The status should be success\n The stdout should include \"Leadership transferred\"\n The stdout should include \"Switchover completed successfully\"\n End\n\n It \"skips switchover when not triggered for leader pod\"\n export LEADER_POD_FQDN=\"etcd-1.etcd-headless.default.svc.cluster.local\"\n \n When call switchover\n The status should be success\n The stdout should include \"switchover action not triggered for leader pod\"\n End\n\n It \"handles switchover failure\"\n # Override exec_etcdctl to fail move-leader command\n exec_etcdctl() {\n local endpoint=\"$1\"; shift\n if [ \"$1\" = \"move-leader\" ]; then\n echo \"etcdctl move-leader failed\" >&2\n return 1\n fi\n echo \"MOCK: exec_etcdctl $endpoint $*\"\n return 0\n }\n \n When call switchover\n The status should be failure\n The stderr should include \"ERROR: Failed to transfer leadership to candidate\"\n End\n End\nEnd", "text_preview": "#!/usr/bin/env shellspec # shellcheck shell=bash # shellcheck disable=SC2034,SC2154 # validate_shell_type_and_version defined in shellspec/spec_helper.sh used to validate the expected shell type and version this script needs to run. if ! va", "input_sha256": "c405fb067ba4ef754a92a116dbe3ed893c10e8372882acb9a2b627e8623bd156", "text_sha256": "d132e0671f517d958b3dd4cdaef35b381a5ec5cf94ddbb90ed0707bcce1bd477", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 20001, "input_policy": "text-and-optional-url-v1", "label_policy_version": 12, "requested_model": "decision-models/baseten-mammoth-27b-latest", "backend": "baseten", "endpoint": "https://inference.baseten.co/v1/systemone", "status": "ok", "training_eligible": true, "label": {"primary": {"main_format": "Technical Writing", "sub_format": null}, "secondary": null, "tertiary": null, "content_structure": []}, "candidate_label": null, "topic": {"primary": {"main_topic": "Programming & Software Engineering", "sub_topic": null}, "secondary": null}, "scores": {"content_quality": 1, "noise_severity": 0, "missing_content_severity": 0, "factual_density": 3, "pretraining_utility": 1, "math_density": 0, "code_density": 4, "reasoning_density": 2, "education_level": 3, "creative_writing_quality": null}, "score_expectations": {"content_quality": 1.0501066641799641, "noise_severity": 0.051525698444589804, "missing_content_severity": 0.023224476914299498, "factual_density": 3.3000652927909027, "pretraining_utility": 0.6378179266722311, "math_density": 0.06337889675153828, "code_density": 3.796260267275052, "reasoning_density": 1.9498267828403153, "education_level": 2.942324493949685, "creative_writing_quality": -0.08837451712197213}, "api_choices": {"primary": "Technical Writing", "secondary": "NONE", "tertiary": "NONE", "education_level": "3", "creative_writing_quality": "not_applicable", "primary_topic": "Programming & Software Engineering", "secondary_topic": "NONE"}, "review_reasons": [], "format_slot_diagnostics": {"comparable": true, "secondary_tertiary_identical": false, "secondary_tertiary_max_abs_gap": 0.021254380326960476, "secondary_choice": "NONE", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.9827125869171076, "secondary": 0.9368321918230811, "tertiary": 0.9590106756425181, "structured_records": 0.05673489555315065, "procedural_steps": 0.11799031473580363, "worked_solution": 0.146004465583655, "contextual_dialogue": 7.743876098669541e-06, "content_quality": 0.5616793651799542, "noise_severity": 0.9570619179628418, "missing_content_severity": 0.9806462692380837, "factual_density": 0.5312958535343426, "pretraining_utility": 0.5441555516011243, "math_density": 0.9471842527070514, "code_density": 0.8302168893958767, "reasoning_density": 0.06530367327734632, "education_level": 0.47572297641134176, "creative_writing_quality": 0.9988884333833312, "primary_topic": 0.9958684005166684, "secondary_topic": 0.9203099355680996}, "probability_margin": {"primary": 0.9710911422499141, "secondary": 0.9040508107709848, "tertiary": 0.9416262200990212, "education_level": 0.32364695993457454, "creative_writing_quality": 0.998601897160479, "primary_topic": 0.9937410856809821, "secondary_topic": 0.886275009258255}, "raw_probabilities": {"primary": {"Academic Writing": 0.00010933394462047932, "Content Listing": 5.380540346900606e-05, "Creative Writing": 4.49811852968735e-05, "Customer Support Page": 3.901970270167561e-05, "Q&A Forum": 3.667516488944881e-05, "Discussion Thread": 2.1443917872453015e-05, "Comment Section": 3.8284850317514766e-05, "Missing Content": 5.1689453863216486e-05, "Knowledge Article": 0.00021253890667353537, "Legal Notices": 4.710632967272844e-05, "News Article": 1.7768250721936356e-05, "Organizational Announcement": 3.128293434850439e-05, "Nonfiction Writing": 2.8303488842459716e-05, "Organizational About Page": 3.0977269376545916e-05, "Personal About Page": 2.4099447435271726e-05, "Personal Blog": 1.8440411009006817e-05, "Product Page": 2.3434449816973192e-05, "Spam / Ads": 2.4445364849004514e-05, "Structured Data": 0.0012561891794580233, "Technical Writing": 0.9834328957955615, "Transcript / Interview": 6.280268853607391e-05, "Tutorial / How-To Guide": 0.002032234709414367, "User Reviews": 2.0493605606198018e-05, "Other / Unknown": 0.012341753545647406}, "secondary": {"Academic Writing": 0.00037948062368951363, "Content Listing": 0.00021007175607401705, "Creative Writing": 0.00022431813701353977, "Customer Support Page": 0.00021243412769218268, "Q&A Forum": 0.0001624522109035284, "Discussion Thread": 8.542207197915835e-05, "Comment Section": 0.00018349425163504798, "Missing Content": 0.0004052066798453205, "Knowledge Article": 0.0027768864493186436, "Legal Notices": 0.00023021997868912054, "News Article": 0.0001483608501035651, "Organizational Announcement": 0.00015310303186830452, "Nonfiction Writing": 0.00015257975071485073, "Organizational About Page": 0.00015060912134840402, "Personal About Page": 0.0001070797448728418, "Personal Blog": 0.00011332532011986797, "Product Page": 0.00010073491137766743, "Spam / Ads": 0.00012846842984253834, "Structured Data": 0.007493090307153186, "Technical Writing": 0.035413373059467894, "Transcript / Interview": 0.00022748153094458493, "Tutorial / How-To Guide": 0.011393521126727296, "User Reviews": 8.410269816624547e-05, "NONE": 0.9394641838304527}, "tertiary": {"Academic Writing": 0.00023813797493297054, "Content Listing": 0.000137060046542703, "Creative Writing": 0.0001399485743926868, "Customer Support Page": 0.00012561837295759867, "Q&A Forum": 7.971109761304663e-05, "Discussion Thread": 5.903236240904537e-05, "Comment Section": 0.0001440945072097688, "Missing Content": 0.0004678817908232891, "Knowledge Article": 0.003227787132702528, "Legal Notices": 0.00023049734387571273, "News Article": 9.0680189035645e-05, "Organizational Announcement": 9.099916577030688e-05, "Nonfiction Writing": 0.00011508222388265395, "Organizational About Page": 0.0001025777802828393, "Personal About Page": 5.6745319356267654e-05, "Personal Blog": 5.895151809744884e-05, "Product Page": 6.32307599534714e-05, "Spam / Ads": 8.73846517091752e-05, "Structured Data": 0.005167590207541638, "Technical Writing": 0.01909234405839199, "Transcript / Interview": 0.00013185870635698657, "Tutorial / How-To Guide": 0.00931934091752786, "User Reviews": 5.4881141221284075e-05, "NONE": 0.9607185641574132}, "structured_records": {"false": 0.9432651044468493, "true": 0.05673489555315065}, "procedural_steps": {"false": 0.8820096852641963, "true": 0.11799031473580363}, "worked_solution": {"false": 0.853995534416345, "true": 0.146004465583655}, "contextual_dialogue": {"false": 0.9999922561239013, "true": 7.743876098669541e-06}, "content_quality": {"-2": 0.00736913976893462, "-1": 0.024437997918108845, "0": 0.1669556336590239, "1": 0.5131915156719232, "2": 0.2880457129820095}, "noise_severity": {"0": 0.9534127924947936, "1": 0.04308724997695049, "2": 0.0024634430197144007, "3": 0.0006344956059558209, "4": 0.0004020189025857638}, "missing_content_severity": {"0": 0.98623743318153, "1": 0.00653271444383343, "2": 0.00531622807218185, "3": 0.0015951908837161435, "4": 0.0003184334187384838}, "factual_density": {"0": 0.0034331900832935496, "1": 0.008532884521587928, "2": 0.10382450219088668, "3": 0.452954288929386, "4": 0.43125513427484574}, "pretraining_utility": {"-2": 0.007462219524284982, "-1": 0.05671873283560222, "0": 0.3187735814591505, "1": 0.5246298338055212, "2": 0.09241563237544102}, "math_density": {"0": 0.9446944771889633, "1": 0.05078542809666648, "2": 0.0022986733577128366, "3": 0.0008895634871832531, "4": 0.0013318578694740896}, "code_density": {"0": 0.00043350636544214866, "1": 0.0007873883549836814, "2": 0.010415078120428965, "3": 0.17881338595737045, "4": 0.8095506412017748}, "reasoning_density": {"0": 0.21978914089658483, "1": 0.14632612282026486, "2": 0.2507058802741486, "3": 0.23062652456425342, "4": 0.15255233144474825}, "education_level": {"none": 0.0008323928090824633, "0": 0.0012551884711770112, "1": 0.0032536098402743082, "2": 0.23945552040821022, "3": 0.5631024803427848, "4": 0.19210080812847136}, "creative_writing_quality": {"not_applicable": 0.9990736944861094, "-2": 7.959044452393376e-05, "-1": 0.00016679707297581741, "0": 0.000471797325630388, "1": 0.00017212518199450895, "2": 3.599548876584185e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 4.28756045752432e-05, "Art & Design": 3.600118031796264e-05, "Law & Crime": 3.968271384506378e-05, "Education & Careers": 3.187355197558135e-05, "Entertainment & Media": 2.4311680411468472e-05, "Fashion & Beauty": 1.6579489261469146e-05, "Business, Economics & Finance": 4.370634638238927e-05, "Food & Dining": 2.0231862898779164e-05, "Games & Gaming": 4.532941237105546e-05, "Electronics & Hardware": 0.000146928239194255, "Health, Healthcare & Wellness": 3.19649802079263e-05, "History & Geography": 3.210406113890913e-05, "Home, Pets & Hobbies": 2.1803046058329366e-05, "Industry & Production": 4.0345853480098967e-05, "Language, Literature & Philosophy": 2.9286845480066753e-05, "Politics & Government": 2.0109913743912714e-05, "Religion & Spirituality": 3.679974817856298e-05, "Science, Mathematics & Engineering": 0.0006507592239753909, "Relationships & Community": 1.7186212588849313e-05, "Software Usage & Applications": 0.002286222508122142, "Programming & Software Engineering": 0.9960273081891042, "Sports & Fitness": 3.212013899323968e-05, "Vehicles & Transportation": 1.8740729233887756e-05, "Travel & Tourism": 3.573212422309529e-05, "Other / Uncovered Subject": 0.00021776219503278195, "Unknown / Insufficient Content": 5.423414920507654e-05}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0003547254137259816, "Art & Design": 0.0002662124606457587, "Law & Crime": 0.0002863096429521652, "Education & Careers": 0.0002605436175221114, "Entertainment & Media": 0.00022097609273034937, "Fashion & Beauty": 0.000109808979681271, "Business, Economics & Finance": 0.00031506844231854204, "Food & Dining": 0.0001341181511315986, "Games & Gaming": 0.0001929990404504331, "Electronics & Hardware": 0.0003892325772299098, "Health, Healthcare & Wellness": 0.00015618259220985731, "History & Geography": 0.00015832539244748286, "Home, Pets & Hobbies": 0.00010675463799770824, "Industry & Production": 0.00014686457905177782, "Language, Literature & Philosophy": 0.00011114889079534473, "Politics & Government": 0.00012738671904738858, "Religion & Spirituality": 0.00019719751324255162, "Science, Mathematics & Engineering": 0.0013147215723300406, "Relationships & Community": 0.00010047198526817651, "Software Usage & Applications": 0.03386650996217227, "Programming & Software Engineering": 0.03709992878799467, "Sports & Fitness": 0.00012189413915855695, "Vehicles & Transportation": 7.093356268705158e-05, "Travel & Tourism": 0.00016971780239562233, "Other / Uncovered Subject": 0.0003470293985638426, "NONE": 0.9233749380462496}}, "probabilities": {"primary": {"Academic Writing": 0.0001093339446204793, "Content Listing": 5.3805403469006046e-05, "Creative Writing": 4.4981185296873496e-05, "Customer Support Page": 3.90197027016756e-05, "Q&A Forum": 3.6675164889448805e-05, "Discussion Thread": 2.1443917872453012e-05, "Comment Section": 3.828485031751476e-05, "Missing Content": 5.168945386321647e-05, "Knowledge Article": 0.0002125389066735353, "Legal Notices": 4.7106329672728426e-05, "News Article": 1.7768250721936353e-05, "Organizational Announcement": 3.1282934348504386e-05, "Nonfiction Writing": 2.830348884245971e-05, "Organizational About Page": 3.097726937654591e-05, "Personal About Page": 2.409944743527172e-05, "Personal Blog": 1.8440411009006814e-05, "Product Page": 2.3434449816973186e-05, "Spam / Ads": 2.4445364849004508e-05, "Structured Data": 0.001256189179458023, "Technical Writing": 0.9834328957955613, "Transcript / Interview": 6.28026885360739e-05, "Tutorial / How-To Guide": 0.0020322347094143666, "User Reviews": 2.0493605606198014e-05, "Other / Unknown": 0.012341753545647403}, "secondary": {"Academic Writing": 0.00037948062368951363, "Content Listing": 0.00021007175607401705, "Creative Writing": 0.00022431813701353977, "Customer Support Page": 0.00021243412769218268, "Q&A Forum": 0.0001624522109035284, "Discussion Thread": 8.542207197915835e-05, "Comment Section": 0.00018349425163504798, "Missing Content": 0.0004052066798453205, "Knowledge Article": 0.0027768864493186436, "Legal Notices": 0.00023021997868912054, "News Article": 0.0001483608501035651, "Organizational Announcement": 0.00015310303186830452, "Nonfiction Writing": 0.00015257975071485073, "Organizational About Page": 0.00015060912134840402, "Personal About Page": 0.0001070797448728418, "Personal Blog": 0.00011332532011986797, "Product Page": 0.00010073491137766743, "Spam / Ads": 0.00012846842984253834, "Structured Data": 0.007493090307153186, "Technical Writing": 0.035413373059467894, "Transcript / Interview": 0.00022748153094458493, "Tutorial / How-To Guide": 0.011393521126727296, "User Reviews": 8.410269816624547e-05, "NONE": 0.9394641838304527}, "tertiary": {"Academic Writing": 0.00023813797493297054, "Content Listing": 0.000137060046542703, "Creative Writing": 0.0001399485743926868, "Customer Support Page": 0.00012561837295759867, "Q&A Forum": 7.971109761304663e-05, "Discussion Thread": 5.903236240904537e-05, "Comment Section": 0.0001440945072097688, "Missing Content": 0.0004678817908232891, "Knowledge Article": 0.003227787132702528, "Legal Notices": 0.00023049734387571273, "News Article": 9.0680189035645e-05, "Organizational Announcement": 9.099916577030688e-05, "Nonfiction Writing": 0.00011508222388265395, "Organizational About Page": 0.0001025777802828393, "Personal About Page": 5.6745319356267654e-05, "Personal Blog": 5.895151809744884e-05, "Product Page": 6.32307599534714e-05, "Spam / Ads": 8.73846517091752e-05, "Structured Data": 0.005167590207541638, "Technical Writing": 0.01909234405839199, "Transcript / Interview": 0.00013185870635698657, "Tutorial / How-To Guide": 0.00931934091752786, "User Reviews": 5.4881141221284075e-05, "NONE": 0.9607185641574132}, "structured_records": {"false": 0.9432651044468493, "true": 0.05673489555315065}, "procedural_steps": {"false": 0.8820096852641963, "true": 0.11799031473580363}, "worked_solution": {"false": 0.853995534416345, "true": 0.146004465583655}, "contextual_dialogue": {"false": 0.9999922561239013, "true": 7.743876098669541e-06}, "content_quality": {"-2": 0.00736913976893462, "-1": 0.024437997918108845, "0": 0.1669556336590239, "1": 0.5131915156719232, "2": 0.2880457129820095}, "noise_severity": {"0": 0.9534127924947936, "1": 0.04308724997695049, "2": 0.0024634430197144007, "3": 0.0006344956059558209, "4": 0.0004020189025857638}, "missing_content_severity": {"0": 0.9862374331815301, "1": 0.006532714443833431, "2": 0.005316228072181851, "3": 0.0015951908837161437, "4": 0.00031843341873848385}, "factual_density": {"0": 0.00343319008329355, "1": 0.00853288452158793, "2": 0.1038245021908867, "3": 0.45295428892938605, "4": 0.4312551342748458}, "pretraining_utility": {"-2": 0.007462219524284983, "-1": 0.05671873283560223, "0": 0.3187735814591506, "1": 0.5246298338055213, "2": 0.09241563237544104}, "math_density": {"0": 0.9446944771889634, "1": 0.05078542809666649, "2": 0.002298673357712837, "3": 0.0008895634871832532, "4": 0.0013318578694740898}, "code_density": {"0": 0.00043350636544214866, "1": 0.0007873883549836814, "2": 0.010415078120428965, "3": 0.17881338595737045, "4": 0.8095506412017748}, "reasoning_density": {"0": 0.21978914089658483, "1": 0.14632612282026486, "2": 0.2507058802741486, "3": 0.23062652456425342, "4": 0.15255233144474825}, "education_level": {"none": 0.0008323928090824631, "0": 0.001255188471177011, "1": 0.0032536098402743074, "2": 0.23945552040821017, "3": 0.5631024803427847, "4": 0.1921008081284713}, "creative_writing_quality": {"not_applicable": 0.9990736944861095, "-2": 7.959044452393378e-05, "-1": 0.00016679707297581744, "0": 0.00047179732563038803, "1": 0.00017212518199450898, "2": 3.5995488765841856e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 4.2875604575243206e-05, "Art & Design": 3.6001180317962645e-05, "Law & Crime": 3.9682713845063786e-05, "Education & Careers": 3.1873551975581356e-05, "Entertainment & Media": 2.431168041146848e-05, "Fashion & Beauty": 1.657948926146915e-05, "Business, Economics & Finance": 4.3706346382389275e-05, "Food & Dining": 2.0231862898779167e-05, "Games & Gaming": 4.532941237105547e-05, "Electronics & Hardware": 0.00014692823919425503, "Health, Healthcare & Wellness": 3.196498020792631e-05, "History & Geography": 3.210406113890914e-05, "Home, Pets & Hobbies": 2.180304605832937e-05, "Industry & Production": 4.034585348009897e-05, "Language, Literature & Philosophy": 2.928684548006676e-05, "Politics & Government": 2.0109913743912718e-05, "Religion & Spirituality": 3.6799748178562986e-05, "Science, Mathematics & Engineering": 0.000650759223975391, "Relationships & Community": 1.7186212588849317e-05, "Software Usage & Applications": 0.0022862225081221425, "Programming & Software Engineering": 0.9960273081891045, "Sports & Fitness": 3.2120138993239685e-05, "Vehicles & Transportation": 1.874072923388776e-05, "Travel & Tourism": 3.5732124223095294e-05, "Other / Uncovered Subject": 0.000217762195032782, "Unknown / Insufficient Content": 5.423414920507655e-05}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0003547254137259816, "Art & Design": 0.0002662124606457587, "Law & Crime": 0.0002863096429521652, "Education & Careers": 0.0002605436175221114, "Entertainment & Media": 0.00022097609273034937, "Fashion & Beauty": 0.000109808979681271, "Business, Economics & Finance": 0.00031506844231854204, "Food & Dining": 0.0001341181511315986, "Games & Gaming": 0.0001929990404504331, "Electronics & Hardware": 0.0003892325772299098, "Health, Healthcare & Wellness": 0.00015618259220985731, "History & Geography": 0.00015832539244748286, "Home, Pets & Hobbies": 0.00010675463799770824, "Industry & Production": 0.00014686457905177782, "Language, Literature & Philosophy": 0.00011114889079534473, "Politics & Government": 0.00012738671904738858, "Religion & Spirituality": 0.00019719751324255162, "Science, Mathematics & Engineering": 0.0013147215723300406, "Relationships & Community": 0.00010047198526817651, "Software Usage & Applications": 0.03386650996217227, "Programming & Software Engineering": 0.03709992878799467, "Sports & Fitness": 0.00012189413915855695, "Vehicles & Transportation": 7.093356268705158e-05, "Travel & Tourism": 0.00016971780239562233, "Other / Uncovered Subject": 0.0003470293985638426, "NONE": 0.9233749380462496}}, "probability_diagnostics": {"primary": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "secondary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "tertiary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "structured_records": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "procedural_steps": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "worked_solution": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "contextual_dialogue": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "content_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "noise_severity": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "missing_content_severity": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "factual_density": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "pretraining_utility": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "math_density": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "code_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "reasoning_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "education_level": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "creative_writing_quality": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "primary_topic": {"raw_sum": 0.9999999999999998, "mass_delta": -2.220446049250313e-16, "missing_mass": 2.220446049250313e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}}, "usage": {"input_tokens": 10419, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 10419, "cached_share": null, "cache_discount_reported": null, "reported_cost_usd": null}, "response_metadata": {"model": "decision-models/baseten-mammoth-27b-latest"}, "scored_at_utc": "2026-10-25T18:29:06.374217+00:00", "scoring_key_slot": "primary", "dataset_uid": "2ce25ac7-8b99-496e-a977-983e6c09a044", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "974e10205e006706c5df60fa5437bc678867fad22959320845dbccea22c26c8a", "source_metadata": {"uuid": "2ce25ac7-8b99-496e-a977-983e6c09a044", "repo_name": "apecloud/kubeblocks-addons", "relative_path": "addons/etcd/scripts-ut-spec/switchover_spec.sh", "category": "TEST", "algo_rel_score": 0.9900773763656616, "quality_score": 4.964085578918457, "source_meta": {"github_metadata": {"branch": "main", "commit_count": 1803, "repo_created_at": "2023-11-06T07:34:50.000Z", "is_fork": false, "is_org_owned": true, "forked_from": null, "stars": 53, "forks": 52, "issues": 62, "pull_requests": 14}, "file_meta": {"content_id": "940887269aa313485dd419e08604d28d1ccebf3c", "size_bytes": 6980, "file_timestamp": 1752820357, "language": "shell", "is_vendor": false, "license_type": "permissive", "detected_licenses": ["Apache-2.0"]}, "commit_id": "46aa5a81d163368d033bb1a0e39512769a813128"}}, "parsed_source_meta": {"github_metadata": {"branch": "main", "commit_count": 1803, "repo_created_at": "2023-11-06T07:34:50.000Z", "is_fork": false, "is_org_owned": true, "forked_from": null, "stars": 53, "forks": 52, "issues": 62, "pull_requests": 14}, "file_meta": {"content_id": "940887269aa313485dd419e08604d28d1ccebf3c", "size_bytes": 6980, "file_timestamp": 1752820357, "language": "shell", "is_vendor": false, "license_type": "permissive", "detected_licenses": ["Apache-2.0"]}, "commit_id": "46aa5a81d163368d033bb1a0e39512769a813128", "url": "https://github.com/apecloud/kubeblocks-addons/blob/46aa5a81d163368d033bb1a0e39512769a813128/addons/etcd/scripts-ut-spec/switchover_spec.sh"}, "gpt4o_tokens": 1796, "dataset_split": "shell", "probability_weighted_scores": {"content_quality": 1.0501066641799641, "noise_severity": 0.051525698444589804, "missing_content_severity": 0.023224476914299498, "factual_density": 3.3000652927909027, "pretraining_utility": 0.637817926672231, "math_density": 0.06337889675153828, "code_density": 3.796260267275052, "reasoning_density": 1.9498267828403153, "education_level": 2.942324493949685, "creative_writing_quality": -0.08837451712197213}, "score_applicability": {"education_level": 0.9991676071909175, "creative_writing_quality": 0.00092630551389049}} {"source_group": "shell", "source": "openbmb/UltraData-Stack-v3-L2/shell", "domain": "github.com", "language": "shell", "url": "https://github.com/dylanmcdiarmid/dotfiles/blob/d513ea2e1302048919b55b21fc95cab276867874/zsh/pufflehuff.zsh-theme", "id": "shell-0-6eafb1d56866b2ef07685d87b116b809", "text": "# Based on simnalamburt/shellder\n# vim:ft=zsh ts=2 sw=2 sts=2\n#\n# This is derived from agnoster's Theme - https://gist.github.com/3712874\n\n### Segment drawing\n# A few utility functions to make it easy and re-usable to draw segmented prompts\n#\n# Powerline characters:\n#  57504 uniE0A0 Private Use\n#  57505 uniE0A1 Private Use\n#  57506 uniE0A2 Private Use\n# █ 9608 block FULL BLOCK\n#  57520 uniE0B0 Private Use\n#  57521 uniE0B1 Private Use\n#  57522 uniE0B2 Private Use\n#  57523 uniE0B3 Private Use\n#\n\nsetopt promptsubst\nautoload -Uz vcs_info\nCURRENT_BG='NONE'\nCURRENT_BG_R='NONE'\nSEGMENT_SEPARATOR=''\nSEGMENT_SEPARATOR_R=''\n\n# Begin a segment\n# Takes two arguments, background and foreground. Both can be omitted,\n# rendering default background/foreground.\nprompt_segment() {\n local bg fg\n\tif [[ -n $1 && $1 == r ]]\n\tthen\n\t\tshift\n\t\trprompt_segment $@\n\t\treturn\n\tfi\n [[ -n $1 ]] && bg=\"%K{$1}\" || bg=\"%k\"\n [[ -n $2 ]] && fg=\"%F{$2}\" || fg=\"%f\"\n if [[ $CURRENT_BG != 'NONE' && $1 != $CURRENT_BG ]]; then\n echo -n \"%{$bg%F{$CURRENT_BG}%}$SEGMENT_SEPARATOR%{$fg%} \"\n else\n echo -n \"%{$bg%}%{$fg%}\"\n fi\n CURRENT_BG=$1\n [[ -n $3 ]] && echo -n $3\n}\n# right_arrow() {\n# echo -n \"%f%b%k%F{$1}%f\"\n# }\n\nright_arrow() {}\n# Begin a segment for the RPROMPT\n# Takes two arguments, background and foreground. Both can be omitted,\n# rendering default background/foreground.\nrprompt_segment() {\n local bg fg\n [[ -n $1 ]] && bg=\"%K{$1}\" || bg=\"%k\"\n [[ -n $2 ]] && fg=\"%F{$2}\" || fg=\"%f\"\n\n\techo -n \"%{%K{$CURRENT_BG_R}%F{$1}%}$SEGMENT_SEPARATOR_R%{$bg$fg%} \"\n\t\n CURRENT_BG_R=$1\n [[ -n $3 ]] && echo -n $3\n}\n\n# Shows a lamda or an x if there was an error last command.\nprompt_symbol() {\n local symbol symbol_color\n if [[ $RETVAL -ne 0 ]]; then\n symbol=\" ✘ \"\n symbol_color=\"red\"\n else\n symbol=\" λ \"\n symbol_color=\"yellow\"\n fi\n # prompt_segment 'NONE' $symbol_color \"$symbol\"\n prompt_segment $1 'NONE' $symbol_color \"%B$symbol%b\"\n}\n\n# End the prompt, closing any open segments\nprompt_end() {\n if [[ -n $CURRENT_BG ]]; then\n echo -n \"%{%k%F{$CURRENT_BG}%}$SEGMENT_SEPARATOR\"\n else\n echo -n \"%{%k%}\"\n fi\n echo -n \"%{%f%}\"\n CURRENT_BG=''\n}\n\n# Checks if working tree is dirty\nfunction parse_git_dirty() {\n local STATUS=''\n local FLAGS\n FLAGS=('--porcelain')\n if [[ \"$(command git config --get oh-my-zsh.hide-dirty)\" != \"1\" ]]; then\n if [[ $POST_1_7_2_GIT -gt 0 ]]; then\n FLAGS+='--ignore-submodules=dirty'\n fi\n if [[ \"$DISABLE_UNTRACKED_FILES_DIRTY\" == \"true\" ]]; then\n FLAGS+='--untracked-files=no'\n fi\n STATUS=$(command git status ${FLAGS} 2> /dev/null | tail -n1)\n fi\n if [[ -n $STATUS ]]; then\n echo \"dirty\"\n else\n echo \"\"\n fi\n}\n\n### Prompt components\n# Each component will draw itself, and hide itself if no information needs to be shown\n\n# Context: user@hostname (who am I and where am I)\nprompt_context() {\n local user=`whoami`\n\n if [[ \"$user\" != \"$DEFAULT_USER\" || -n \"$SSH_CLIENT\" ]]; then\n prompt_segment black white \"%(!.%{%F{yellow}%}.) $user@%m \"\n fi\n}\n\n\n# next two functions are from http://eseth.org/2010/git-in-zsh.html\n# Show remote ref name and number of commits ahead-of or behind\nfunction +vi-git-st() {\n local ahead behind remote\n local -a gitstatus\n\n # Are we on a remote-tracking branch?\n remote=${$(git rev-parse --verify ${hook_com[branch]}@{upstream} \\\n --symbolic-full-name 2>/dev/null)/refs\\/remotes\\/}\n\n if [[ -n ${remote} ]] ; then\n # for git prior to 1.7\n # ahead=$(git rev-list origin/${hook_com[branch]}..HEAD | wc -l)\n ahead=$(git rev-list ${hook_com[branch]}@{upstream}..HEAD 2>/dev/null | wc -l)\n (( $ahead )) && gitstatus+=( \"↑ ${ahead}\" )\n\n # for git prior to 1.7\n # behind=$(git rev-list HEAD..origin/${hook_com[branch]} | wc -l)\n behind=$(git rev-list HEAD..${hook_com[branch]}@{upstream} 2>/dev/null | wc -l)\n (( $behind )) && gitstatus+=( \"↓ ${behind}\" )\n\n hook_com[branch]=\"  ${hook_com[branch]} ${(j:/:)gitstatus} \"\n fi\n}\n# Show count of stashed changes\nfunction +vi-git-stash() {\n local -a stashes\n\n if [[ -s ${hook_com[base]}/.git/refs/stash ]] ; then\n stashes=$(git stash list 2>/dev/null | wc -l)\n hook_com[misc]+=\" ☰ ${stashes} \"\n fi\n}\n\n# Git: branch/detached head, dirty status\nprompt_git() {\n local ref dirty bgcolor\n if $(git rev-parse --is-inside-work-tree 2>/dev/null); then\n dirty=$(parse_git_dirty)\n if [[ -n $dirty ]]; then\n # dark orange bg\n bgcolor=94\n else\n # dark green bg\n bgcolor=58\n fi\n prompt_segment $1 $bgcolor foreground\n\n\n zstyle ':vcs_info:*' enable git\n zstyle ':vcs_info:*' get-revision true\n zstyle ':vcs_info:*' check-for-changes true\n zstyle ':vcs_info:*' stagedstr '+ '\n zstyle ':vcs_info:git:*' unstagedstr '✎'\n zstyle ':vcs_info:*' formats '%b%u%c%m'\n zstyle ':vcs_info:*' actionformats '%a:%u%c%m'\n\t\tzstyle ':vcs_info:git*+set-message:*' hooks git-st git-stash\n vcs_info\n echo -n \" ${vcs_info_msg_0_} \"\n right_arrow $bgcolor\n # prompt_segment $1 'NONE' foreground \"OK\"\n fi\n}\n\n# Dir: current working directory\nprompt_dir() {\n prompt_segment $1 'NONE' magenta '%20<…<%~'\n}\n\n# Virtualenv: current working virtualenv\n# Turn off virtualenv's own prompt manipulation\nVIRTUAL_ENV_DISABLE_PROMPT=1\nprompt_virtualenv() {\n local virtualenv_path=\"$VIRTUAL_ENV\"\n if [[ -n $virtualenv_path ]]; then\n prompt_segment $1 blue white \"`basename $virtualenv_path`\"\n fi\n}\n\n# Status:\n# - was there an error\n# - am I root\n# - are there background jobs?\nprompt_status() {\n local symbols\n\tlocal jobs\n\tjobs=$(jobs -l | wc -l)\n symbols=()\n [[ $RETVAL -ne 0 ]] && symbols+=\"%{%F{red}%} ✘\"\n [[ $UID -eq 0 ]] && symbols+=\"%{%F{yellow}%} ⚡\"\n [[ $jobs -gt 0 ]] && symbols+=\"%{%F{cyan}%}⚙ ${jobs}\"\n\n [[ -n \"$symbols\" ]] && prompt_segment $1 7 white \"$symbols\"\n}\n\n## Main prompt\nbuild_prompt() {\n RETVAL=$?\n prompt_context\n prompt_git\n prompt_dir\n prompt_symbol\n prompt_end\n}\nbuild_rprompt() {\n\tRETVAL=$?\n prompt_status r\n prompt_git r\n prompt_virtualenv r\n}\n\nexport PROMPT='%{%f%b%k%}$(build_prompt)'\n# export RPROMPT=\"%{%f%b%k%}$(build_rprompt)\"\n", "text_preview": "# Based on simnalamburt/shellder # vim:ft=zsh ts=2 sw=2 sts=2 # # This is derived from agnoster's Theme - https://gist.github.com/3712874 ### Segment drawing # A few utility functions to make it easy and re-usable to draw segmented prompts ", "input_sha256": "4d3b075823fe018f49a5a6bfae4aba76695151cc2d39cfc5c48304906753294d", "text_sha256": "6eafb1d56866b2ef07685d87b116b80914b9bed98cd325fe62e27770a3825c93", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 20002, "input_policy": "text-and-optional-url-v1", "label_policy_version": 12, "requested_model": "decision-models/baseten-mammoth-27b-latest", "backend": "baseten", "endpoint": "https://inference.baseten.co/v1/systemone", "status": "ok", "training_eligible": true, "label": {"primary": {"main_format": "Technical Writing", "sub_format": null}, "secondary": null, "tertiary": null, "content_structure": []}, "candidate_label": null, "topic": {"primary": {"main_topic": "Programming & Software Engineering", "sub_topic": null}, "secondary": null}, "scores": {"content_quality": 1, "noise_severity": 0, "missing_content_severity": 0, "factual_density": 4, "pretraining_utility": 0, "math_density": 0, "code_density": 4, "reasoning_density": 0, "education_level": 2, "creative_writing_quality": null}, "score_expectations": {"content_quality": 0.9825774374253418, "noise_severity": 0.18735668693265958, "missing_content_severity": 0.030147764295082976, "factual_density": 3.232979299683842, "pretraining_utility": 0.17731714686798153, "math_density": 0.026500072402145518, "code_density": 3.7731151913893326, "reasoning_density": 0.5261388037974571, "education_level": 2.2492933520849903, "creative_writing_quality": -0.20237795507287717}, "api_choices": {"primary": "Technical Writing", "secondary": "NONE", "tertiary": "NONE", "education_level": "2", "creative_writing_quality": "not_applicable", "primary_topic": "Programming & Software Engineering", "secondary_topic": "NONE"}, "review_reasons": [], "format_slot_diagnostics": {"comparable": true, "secondary_tertiary_identical": false, "secondary_tertiary_max_abs_gap": 0.004966484220315426, "secondary_choice": "NONE", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.9945390499455348, "secondary": 0.9558241955920118, "tertiary": 0.9506417772751609, "structured_records": 0.009616933940132813, "procedural_steps": 0.004195996996432641, "worked_solution": 0.002016158506921066, "contextual_dialogue": 4.859095094151424e-06, "content_quality": 0.5867784242479264, "noise_severity": 0.843869427556117, "missing_content_severity": 0.9748768630874308, "factual_density": 0.36081608306986845, "pretraining_utility": 0.5100728006612225, "math_density": 0.9779166063315454, "code_density": 0.810929326157777, "reasoning_density": 0.5615509968354524, "education_level": 0.6188760176545389, "creative_writing_quality": 0.9989533238388542, "primary_topic": 0.9466963465844019, "secondary_topic": 0.7520398687042528}, "probability_margin": {"primary": 0.9916511416919833, "secondary": 0.9339289220801937, "tertiary": 0.9322801305002325, "education_level": 0.4465127153279841, "creative_writing_quality": 0.99870436022424, "primary_topic": 0.9083081005158904, "secondary_topic": 0.6235341745004088}, "raw_probabilities": {"primary": {"Academic Writing": 3.689119373006795e-05, "Content Listing": 2.8097316045885066e-05, "Creative Writing": 2.9605783839086027e-05, "Customer Support Page": 1.236528937324419e-05, "Q&A Forum": 1.3394812133899804e-05, "Discussion Thread": 1.0352011646606697e-05, "Comment Section": 2.5633083929219497e-05, "Missing Content": 3.528649016687487e-05, "Knowledge Article": 0.00011039744924300795, "Legal Notices": 6.287908933299454e-05, "News Article": 6.920987082919424e-06, "Organizational Announcement": 1.4227780664823807e-05, "Nonfiction Writing": 1.606010664292673e-05, "Organizational About Page": 1.5658016303782256e-05, "Personal About Page": 2.7425785061802847e-05, "Personal Blog": 1.5025954923625516e-05, "Product Page": 1.0808158299179489e-05, "Spam / Ads": 1.4909967565060484e-05, "Structured Data": 0.0005565197883485661, "Technical Writing": 0.9947665895311375, "Transcript / Interview": 1.604020803579801e-05, "Tutorial / How-To Guide": 0.0010498599852473889, "User Reviews": 9.603372091705313e-06, "Other / Unknown": 0.003115447839154219}, "secondary": {"Academic Writing": 0.00025276985388900103, "Content Listing": 0.00022224674083199972, "Creative Writing": 0.00028236727688007296, "Customer Support Page": 0.0001359709006368131, "Q&A Forum": 8.931240689557167e-05, "Discussion Thread": 8.856427228389217e-05, "Comment Section": 0.0005942012808514588, "Missing Content": 0.0004799332573234824, "Knowledge Article": 0.0021290563848491402, "Legal Notices": 0.004009103553966307, "News Article": 0.00011809273315186513, "Organizational Announcement": 0.00017360792229374023, "Nonfiction Writing": 0.0001499881575210141, "Organizational About Page": 0.0001510375760766209, "Personal About Page": 0.00017799766724096574, "Personal Blog": 0.00015261784558163322, "Product Page": 9.626652744820241e-05, "Spam / Ads": 0.00019826987400041048, "Structured Data": 0.003616831962110438, "Technical Writing": 0.023735932028817637, "Transcript / Interview": 0.00015963956178886398, "Tutorial / How-To Guide": 0.005255257571918557, "User Reviews": 6.60805346309976e-05, "NONE": 0.9576648541090114}, "tertiary": {"Academic Writing": 0.000282777400809256, "Content Listing": 0.0003621382228754862, "Creative Writing": 0.00034185375661993623, "Customer Support Page": 0.00017797456512463856, "Q&A Forum": 9.523049211056713e-05, "Discussion Thread": 9.992317202537421e-05, "Comment Section": 0.0008339642948737913, "Missing Content": 0.0008024834737906585, "Knowledge Article": 0.003239174001746264, "Legal Notices": 0.0068535263889591596, "News Article": 0.00011631714848162075, "Organizational Announcement": 0.00020365244819282115, "Nonfiction Writing": 0.00020603771179397812, "Organizational About Page": 0.0001730417689539641, "Personal About Page": 0.00017711400084356472, "Personal Blog": 0.00015600538731320199, "Product Page": 0.00010187964789220071, "Spam / Ads": 0.000284480398194624, "Structured Data": 0.004987663519974349, "Technical Writing": 0.02041823938846331, "Transcript / Interview": 0.000157621849440828, "Tutorial / How-To Guide": 0.007160609810238879, "User Reviews": 6.992126258563478e-05, "NONE": 0.9526983698886958}, "structured_records": {"false": 0.9903830660598671, "true": 0.009616933940132813}, "procedural_steps": {"false": 0.9958040030035673, "true": 0.004195996996432641}, "worked_solution": {"false": 0.997983841493079, "true": 0.002016158506921066}, "contextual_dialogue": {"false": 0.9999951409049058, "true": 4.859095094151424e-06}, "content_quality": {"-2": 0.0064789237798299265, "-1": 0.0164269897353793, "0": 0.20435347592832495, "1": 0.5335189463925508, "2": 0.23922166416391494}, "noise_severity": {"0": 0.8360366687553314, "1": 0.14626592890620863, "2": 0.01342621241542398, "3": 0.002846426496540454, "4": 0.0014247634264954018}, "missing_content_severity": {"0": 0.9758501490402671, "1": 0.01975534052639307, "2": 0.0031453875731532813, "3": 0.0008948428183628433, "4": 0.00035428004182370347}, "factual_density": {"0": 0.01107754498853001, "1": 0.02770012334827022, "2": 0.13249048521762063, "3": 0.37462917988198585, "4": 0.45410266656359327}, "pretraining_utility": {"-2": 0.014460285329833246, "-1": 0.17637717550960927, "0": 0.4757041047208887, "1": 0.28430197584208, "2": 0.049156458597588625}, "math_density": {"0": 0.9782432614897956, "1": 0.01955343901666818, "2": 0.0007893401089272092, "3": 0.00028788437081339054, "4": 0.001126075013795687}, "code_density": {"0": 0.00035535087640595745, "1": 0.0007491695366286123, "2": 0.01586689397131698, "3": 0.19148210855252396, "4": 0.7915464770631245}, "reasoning_density": {"0": 0.7198361594552778, "1": 0.10333468613176774, "2": 0.1281883459089507, "3": 0.028135808168227052, "4": 0.02050500033577672}, "education_level": {"none": 0.0018886316008371391, "0": 0.0024379775035529103, "1": 0.04565698973112914, "2": 0.6823966813787824, "3": 0.2358839660507983, "4": 0.03173575373490014}, "creative_writing_quality": {"not_applicable": 0.9991277698657118, "-2": 0.00010555246280933162, "-1": 0.00017418623884197037, "0": 0.0004234096414718238, "1": 0.0001293925687992172, "2": 3.9689222365636984e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 0.00010167425119054856, "Art & Design": 0.008289955325280155, "Law & Crime": 0.00013873333794937258, "Education & Careers": 8.674344798485973e-05, "Entertainment & Media": 7.260155834284702e-05, "Fashion & Beauty": 0.00010316877688914168, "Business, Economics & Finance": 0.00010062387216719798, "Food & Dining": 5.783693401023301e-05, "Games & Gaming": 9.760592803514848e-05, "Electronics & Hardware": 0.00019856615654223177, "Health, Healthcare & Wellness": 4.89004272589714e-05, "History & Geography": 8.449079024128562e-05, "Home, Pets & Hobbies": 8.545825217339997e-05, "Industry & Production": 5.6152799592779914e-05, "Language, Literature & Philosophy": 8.197066753658503e-05, "Politics & Government": 5.3046449300660174e-05, "Religion & Spirituality": 5.712363084824034e-05, "Science, Mathematics & Engineering": 0.0001312086109486212, "Relationships & Community": 5.069449779884201e-05, "Software Usage & Applications": 0.04043838658449611, "Programming & Software Engineering": 0.9487464871003864, "Sports & Fitness": 9.565760203979677e-05, "Vehicles & Transportation": 4.6800114244284164e-05, "Travel & Tourism": 8.832702239710888e-05, "Other / Uncovered Subject": 0.0005374337626539826, "Unknown / Insufficient Content": 0.0001503520996907689}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0009145987296327398, "Art & Design": 0.05792022042651284, "Law & Crime": 0.0006529713231468244, "Education & Careers": 0.0003823682369357952, "Entertainment & Media": 0.0005356491500486792, "Fashion & Beauty": 0.0003188646937693378, "Business, Economics & Finance": 0.0007006769492185407, "Food & Dining": 0.0002558399392395648, "Games & Gaming": 0.00034873791784016493, "Electronics & Hardware": 0.0007783057457435642, "Health, Healthcare & Wellness": 0.0002656065699190735, "History & Geography": 0.00033476588112598353, "Home, Pets & Hobbies": 0.00034286399120382084, "Industry & Production": 0.0002238780543683213, "Language, Literature & Philosophy": 0.0002561790631038628, "Politics & Government": 0.00031557447041433633, "Religion & Spirituality": 0.00032308968431300853, "Science, Mathematics & Engineering": 0.0006244770666769018, "Relationships & Community": 0.000235102964594003, "Software Usage & Applications": 0.1380426223306035, "Programming & Software Engineering": 0.03289529976063041, "Sports & Fitness": 0.00027542303631547744, "Vehicles & Transportation": 0.0001446000317229527, "Travel & Tourism": 0.00044124141069321195, "Other / Uncovered Subject": 0.0008942457412147877, "NONE": 0.7615767968310123}}, "probabilities": {"primary": {"Academic Writing": 3.689119373006794e-05, "Content Listing": 2.809731604588506e-05, "Creative Writing": 2.960578383908602e-05, "Customer Support Page": 1.2365289373244187e-05, "Q&A Forum": 1.33948121338998e-05, "Discussion Thread": 1.0352011646606695e-05, "Comment Section": 2.563308392921949e-05, "Missing Content": 3.528649016687486e-05, "Knowledge Article": 0.00011039744924300793, "Legal Notices": 6.287908933299453e-05, "News Article": 6.920987082919422e-06, "Organizational Announcement": 1.4227780664823804e-05, "Nonfiction Writing": 1.6060106642926727e-05, "Organizational About Page": 1.5658016303782253e-05, "Personal About Page": 2.742578506180284e-05, "Personal Blog": 1.5025954923625513e-05, "Product Page": 1.0808158299179487e-05, "Spam / Ads": 1.4909967565060481e-05, "Structured Data": 0.000556519788348566, "Technical Writing": 0.9947665895311373, "Transcript / Interview": 1.6040208035798006e-05, "Tutorial / How-To Guide": 0.0010498599852473887, "User Reviews": 9.603372091705312e-06, "Other / Unknown": 0.0031154478391542183}, "secondary": {"Academic Writing": 0.00025276985388900103, "Content Listing": 0.00022224674083199972, "Creative Writing": 0.00028236727688007296, "Customer Support Page": 0.0001359709006368131, "Q&A Forum": 8.931240689557167e-05, "Discussion Thread": 8.856427228389217e-05, "Comment Section": 0.0005942012808514588, "Missing Content": 0.0004799332573234824, "Knowledge Article": 0.0021290563848491402, "Legal Notices": 0.004009103553966307, "News Article": 0.00011809273315186513, "Organizational Announcement": 0.00017360792229374023, "Nonfiction Writing": 0.0001499881575210141, "Organizational About Page": 0.0001510375760766209, "Personal About Page": 0.00017799766724096574, "Personal Blog": 0.00015261784558163322, "Product Page": 9.626652744820241e-05, "Spam / Ads": 0.00019826987400041048, "Structured Data": 0.003616831962110438, "Technical Writing": 0.023735932028817637, "Transcript / Interview": 0.00015963956178886398, "Tutorial / How-To Guide": 0.005255257571918557, "User Reviews": 6.60805346309976e-05, "NONE": 0.9576648541090114}, "tertiary": {"Academic Writing": 0.00028277740080925607, "Content Listing": 0.00036213822287548626, "Creative Writing": 0.0003418537566199363, "Customer Support Page": 0.0001779745651246386, "Q&A Forum": 9.523049211056715e-05, "Discussion Thread": 9.992317202537422e-05, "Comment Section": 0.0008339642948737914, "Missing Content": 0.0008024834737906586, "Knowledge Article": 0.0032391740017462646, "Legal Notices": 0.00685352638895916, "News Article": 0.00011631714848162076, "Organizational Announcement": 0.00020365244819282118, "Nonfiction Writing": 0.00020603771179397815, "Organizational About Page": 0.00017304176895396411, "Personal About Page": 0.00017711400084356475, "Personal Blog": 0.000156005387313202, "Product Page": 0.00010187964789220072, "Spam / Ads": 0.00028448039819462407, "Structured Data": 0.00498766351997435, "Technical Writing": 0.020418239388463315, "Transcript / Interview": 0.00015762184944082802, "Tutorial / How-To Guide": 0.0071606098102388795, "User Reviews": 6.992126258563479e-05, "NONE": 0.9526983698886959}, "structured_records": {"false": 0.9903830660598671, "true": 0.009616933940132813}, "procedural_steps": {"false": 0.9958040030035673, "true": 0.004195996996432641}, "worked_solution": {"false": 0.997983841493079, "true": 0.002016158506921066}, "contextual_dialogue": {"false": 0.9999951409049058, "true": 4.859095094151424e-06}, "content_quality": {"-2": 0.006478923779829927, "-1": 0.016426989735379302, "0": 0.20435347592832498, "1": 0.5335189463925509, "2": 0.23922166416391497}, "noise_severity": {"0": 0.8360366687553316, "1": 0.14626592890620865, "2": 0.013426212415423982, "3": 0.0028464264965404546, "4": 0.001424763426495402}, "missing_content_severity": {"0": 0.9758501490402671, "1": 0.01975534052639307, "2": 0.0031453875731532813, "3": 0.0008948428183628433, "4": 0.00035428004182370347}, "factual_density": {"0": 0.01107754498853001, "1": 0.02770012334827022, "2": 0.13249048521762063, "3": 0.37462917988198585, "4": 0.45410266656359327}, "pretraining_utility": {"-2": 0.014460285329833247, "-1": 0.1763771755096093, "0": 0.47570410472088875, "1": 0.28430197584208006, "2": 0.04915645859758863}, "math_density": {"0": 0.9782432614897956, "1": 0.01955343901666818, "2": 0.0007893401089272092, "3": 0.00028788437081339054, "4": 0.001126075013795687}, "code_density": {"0": 0.00035535087640595745, "1": 0.0007491695366286123, "2": 0.01586689397131698, "3": 0.19148210855252396, "4": 0.7915464770631245}, "reasoning_density": {"0": 0.7198361594552778, "1": 0.10333468613176774, "2": 0.1281883459089507, "3": 0.028135808168227052, "4": 0.02050500033577672}, "education_level": {"none": 0.0018886316008371391, "0": 0.0024379775035529103, "1": 0.04565698973112914, "2": 0.6823966813787824, "3": 0.2358839660507983, "4": 0.03173575373490014}, "creative_writing_quality": {"not_applicable": 0.9991277698657121, "-2": 0.00010555246280933165, "-1": 0.0001741862388419704, "0": 0.0004234096414718239, "1": 0.00012939256879921724, "2": 3.968922236563699e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 0.00010167425119054859, "Art & Design": 0.008289955325280159, "Law & Crime": 0.00013873333794937263, "Education & Careers": 8.674344798485976e-05, "Entertainment & Media": 7.260155834284705e-05, "Fashion & Beauty": 0.00010316877688914172, "Business, Economics & Finance": 0.000100623872167198, "Food & Dining": 5.7836934010233034e-05, "Games & Gaming": 9.760592803514851e-05, "Electronics & Hardware": 0.00019856615654223182, "Health, Healthcare & Wellness": 4.890042725897141e-05, "History & Geography": 8.449079024128564e-05, "Home, Pets & Hobbies": 8.54582521734e-05, "Industry & Production": 5.6152799592779934e-05, "Language, Literature & Philosophy": 8.197066753658505e-05, "Politics & Government": 5.3046449300660194e-05, "Religion & Spirituality": 5.712363084824036e-05, "Science, Mathematics & Engineering": 0.00013120861094862126, "Relationships & Community": 5.069449779884202e-05, "Software Usage & Applications": 0.040438386584496125, "Programming & Software Engineering": 0.9487464871003868, "Sports & Fitness": 9.56576020397968e-05, "Vehicles & Transportation": 4.680011424428418e-05, "Travel & Tourism": 8.83270223971089e-05, "Other / Uncovered Subject": 0.0005374337626539829, "Unknown / Insufficient Content": 0.00015035209969076896}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0009145987296327398, "Art & Design": 0.05792022042651284, "Law & Crime": 0.0006529713231468244, "Education & Careers": 0.0003823682369357952, "Entertainment & Media": 0.0005356491500486792, "Fashion & Beauty": 0.0003188646937693378, "Business, Economics & Finance": 0.0007006769492185407, "Food & Dining": 0.0002558399392395648, "Games & Gaming": 0.00034873791784016493, "Electronics & Hardware": 0.0007783057457435642, "Health, Healthcare & Wellness": 0.0002656065699190735, "History & Geography": 0.00033476588112598353, "Home, Pets & Hobbies": 0.00034286399120382084, "Industry & Production": 0.0002238780543683213, "Language, Literature & Philosophy": 0.0002561790631038628, "Politics & Government": 0.00031557447041433633, "Religion & Spirituality": 0.00032308968431300853, "Science, Mathematics & Engineering": 0.0006244770666769018, "Relationships & Community": 0.000235102964594003, "Software Usage & Applications": 0.1380426223306035, "Programming & Software Engineering": 0.03289529976063041, "Sports & Fitness": 0.00027542303631547744, "Vehicles & Transportation": 0.0001446000317229527, "Travel & Tourism": 0.00044124141069321195, "Other / Uncovered Subject": 0.0008942457412147877, "NONE": 0.7615767968310123}}, "probability_diagnostics": {"primary": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "secondary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "tertiary": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "structured_records": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "procedural_steps": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "worked_solution": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "contextual_dialogue": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "content_quality": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "noise_severity": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "missing_content_severity": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "factual_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "pretraining_utility": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "math_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "code_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "reasoning_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "education_level": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "creative_writing_quality": {"raw_sum": 0.9999999999999998, "mass_delta": -2.220446049250313e-16, "missing_mass": 2.220446049250313e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "primary_topic": {"raw_sum": 0.9999999999999997, "mass_delta": -3.3306690738754696e-16, "missing_mass": 3.3306690738754696e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}}, "usage": {"input_tokens": 10641, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 10641, "cached_share": null, "cache_discount_reported": null, "reported_cost_usd": null}, "response_metadata": {"model": "decision-models/baseten-mammoth-27b-latest"}, "scored_at_utc": "2026-10-25T18:29:06.874120+00:00", "scoring_key_slot": "assistant_1", "dataset_uid": "65908f72-d88e-46d3-b6db-56f3d8918ad5", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "b6d31fbb081fcd9bb52f4e5caf4ba360fe7d6d954dc6172506cba86545251634", "source_metadata": {"uuid": "65908f72-d88e-46d3-b6db-56f3d8918ad5", "repo_name": "dylanmcdiarmid/dotfiles", "relative_path": "zsh/pufflehuff.zsh-theme", "category": "TOOL", "algo_rel_score": 0.9944832921028137, "quality_score": 5.010537624359131, "source_meta": {"github_metadata": {"branch": "master", "commit_count": 22, "repo_created_at": "2016-08-27T20:21:07.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 0, "forks": 0, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "014f51dd62a361d74459ae57e763c458e2a2a0d0", "size_bytes": 6211, "file_timestamp": 1534435845, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "d513ea2e1302048919b55b21fc95cab276867874"}}, "parsed_source_meta": {"github_metadata": {"branch": "master", "commit_count": 22, "repo_created_at": "2016-08-27T20:21:07.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 0, "forks": 0, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "014f51dd62a361d74459ae57e763c458e2a2a0d0", "size_bytes": 6211, "file_timestamp": 1534435845, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "d513ea2e1302048919b55b21fc95cab276867874", "url": "https://github.com/dylanmcdiarmid/dotfiles/blob/d513ea2e1302048919b55b21fc95cab276867874/zsh/pufflehuff.zsh-theme"}, "gpt4o_tokens": 1987, "dataset_split": "shell", "probability_weighted_scores": {"content_quality": 0.9825774374253418, "noise_severity": 0.18735668693265958, "missing_content_severity": 0.030147764295082976, "factual_density": 3.232979299683842, "pretraining_utility": 0.17731714686798153, "math_density": 0.026500072402145518, "code_density": 3.7731151913893326, "reasoning_density": 0.5261388037974571, "education_level": 2.2492933520849903, "creative_writing_quality": -0.20237795507287717}, "score_applicability": {"education_level": 0.9981113683991629, "creative_writing_quality": 0.0008722301342879802}} {"source_group": "shell", "source": "openbmb/UltraData-Stack-v3-L2/shell", "domain": "github.com", "language": "shell", "url": "https://github.com/KitchenTile/Bankers-algorithm/blob/df93e7a8e9b715907cb2fc13f4a0e8735e92656c/bankers.sh", "id": "shell-0-3af7d0b5dda6389cb8dd98516ac73acf", "text": "#!/bin/bash\n\n# INITIALIZE EMPTY ARRAYS & HELPER FUNCTIONS\n\n# these arrays will be filled by user\navailable=()\nmaxNeed=()\nallocated=()\n\n# this array will be calculated with maxNeed - allocated\nneed=()\n\n# since we use the index calculation often we write it as a function\nindex() {\n echo $(( $1 * resources + $2 ))\n}\n\n# since we're displaying matrices with the same code three times, put it in a function\ndisplayMatrix() {\n local array=$1;\n \n for ((i = 0; i < processes; i++)); do\n for ((j = 0; j < resources; j++)); do\n local idx=$(index $i $j)\n # need eval to prevent using indirect expansion?\n eval \"echo -n \\\"\\${$array[$idx]} \\\"\"\n done\n echo\n done\n}\n\n# basic input validation \nvalidateInput() {\n if [ -z $1 ]; then\n echo \"Inputs can't be empty\"\n exit 0\n fi\n\n # regex from medium article\n if ! [[ $1 =~ ^[+-]?[0-9]+\\.?[0-9]*$ ]]; then\n echo \"Inputs must be numbers!\"\n exit 0\n fi\n}\n\n#SAFE SEQUENCE FINIDING FUNCTION\n\n# to make the program dynamic, it's best to make the safe sequence check its own function\n\nsafeSequenceCheck() {\n\n # work NEEDS to be in the safe seq function function, if we make it a global variable, the values would get updated over the new itterations \n #work initiated as just the available resources -- needs to be declared with @ so it does not get counted as single string\n work=(\"${available[@]}\")\n\n # this array keep track of executable processes so we don't unnecesarily go through \n # all processes when checking for a safe sequence -- this array needs to be here, so it was moved.\n finishedProcesses=()\n\n # this array will hold the safe sequence in order \n safeSequence=()\n\n # initialized with 0s as default so every process gets checked\n for ((i = 0; i < processes; i++)); do\n finishedProcesses[i]=0; \n done\n\n #while the safe sequence is less than the anount of processes enter the loop\n while [[ ${#safeSequence[@]} -lt processes ]]; do\n # immediately set it as false so if there are no remaining possible processes to execute, we exit the loop\n processFlag=false\n\n for ((p = 0; p < processes; p++)); do\n # if the current process we are checking is not already marked as executable, check it\n if ((finishedProcesses[p] == 0)); then\n echo \"checking process number: $(($p+1))\"\n # compare matrices by index\n for ((r = 0; r < resources; r++)); do\n idx=$(index $p $r)\n # if the meed is larger than the work the process does not pass the ceck\n if ((need[$idx] > work[r])); then\n echo \"current available resources are not enough to succesfully go through process number: $(($p+1))\"\n # Exit loop\n break \n fi\n done\n\n # If we finished all resource checks without breaking, process can execute\n if ((r == resources)); then\n echo \"Process $(($p+1)) passed the resource check,\"\n # go through its resources\n for ((r = 0; r < resources; r++)); do\n idx=$(index $p $r)\n echo \"adding processes allocated resources to current work -> resource number $(($r+1)) (${work[r]} + ${allocated[$idx]})\"\n # add them to our work\n work[r]=$((work[r] + allocated[$idx]))\n done\n\n echo \"Process $(($p+1)) executed, new available resources: ${work[*]}\"\n # mark the process as able to be allocated in the array so we don't go through it again\n finishedProcesses[p]=1\n # add the current process to the safe sequence array\n safeSequence+=(\"$p\")\n # and set the process flag back to true so the loop continues\n processFlag=true\n fi\n fi\n done\n\n # if the process flag is falsly, then exit the while loop\n if ! $processFlag; then\n break;\n fi \n done\n\n\n # if the safe sequence has the same amount of elements as the processes,\n # all processes can be executed safely --> we are in a safe state!\n if [[ ${#safeSequence[@]} -eq processes ]]; then\n echo \"Safe sequence found: < ${safeSequence[*]} >\"\n # bash can only return numeric values, so we return the length of the safe sequence to trigger function rerun\n return ${#safeSequence[@]}\n else\n #otherwise, system is not in safe state :(\n echo \"System not in safe state! No safe sequence is available.\"\n fi\n}\n\n# ON PROGRAMME RUN\n\n# USER INPUTS (proc, res, need, available)\n\n# number of processes and resources\nread -p \"Enter number of resources: \" resources\nvalidateInput $resources\n\nread -p \"Enter number of processes: \" processes\nvalidateInput $processes\n\n\n# available resources\necho \"Enter available resources (Example: 2 2):\"\nread -ra available\nvalidateInput $available\n\n# max need matrix\necho \"Enter the maximum resource need matrix (row):\"\nfor ((i = 0; i < processes; i++)); do\n for ((j = 0; j < resources; j++)); do\n idx=$(index $i $j)\n read -p \"Max Need [$i,$j]: \" value\n validateInput $value\n maxNeed[$idx]=$value\n done\ndone\n\n# allocated resources matrix\necho \"Enter the allocated resources matrix (row):\"\nfor ((i = 0; i < processes; i++)); do\n for ((j = 0; j < resources; j++)); do\n idx=$(index $i $j)\n read -p \"Allocated [$i,$j]: \" value\n allocated[$idx]=$value\n need[$idx]=$(( maxNeed[$idx] - allocated[$idx] ))\n done\ndone\n\n# MATRICES DISPLAY\n\necho -e \"\\nMax need matrix: \"\ndisplayMatrix maxNeed\n\necho -e \"\\nAllocated resources matrix: \"\ndisplayMatrix allocated\n\necho -e \"\\nCurrent need matrix (Max need - allocated): \"\ndisplayMatrix need\n\n\n\n# INITIAL SAFE SEQUENCE CHECK\n\nsafeSequenceCheck\n\n# check the safe seq check return for function rerun\nwhile [[ $? -eq ${#safeSequence[@]} ]]; do\n read -p \"Would you like to add a new process? (y/n): \" newProcess\n if [[ \"$newProcess\" != \"y\" ]]; then\n break\n fi\n\n # Add an extra process\n ((processes = processes + 1)) \n echo \"Enter max need for new process:\"\n for ((r = 0; r < resources; r++)); do\n # use process-1 because the new process is fixed \n idx=$(index $((processes-1)) $r)\n read -p \"Max Need [$(($processes-1)),$r]: \" value\n validateInput $value\n # add new values to all matrices\n maxNeed[$idx]=$value\n # add 0 to allocated since this is a new process?\n allocated[$idx]=0\n # since allocated is 0 then the need will be max need\n need[$idx]=$value\n done\n\n # new matrices display and run the safe seq func\n echo -e \"\\n -- New Matrices --\"\n echo \"Max Need Matrix:\"\n displayMatrix maxNeed\n echo \" Allocated Resources Matrix:\"\n displayMatrix allocated\n echo \" Current Need Matrix:\"\n displayMatrix need\n\n safeSequenceCheck\ndone", "text_preview": "#!/bin/bash # INITIALIZE EMPTY ARRAYS & HELPER FUNCTIONS # these arrays will be filled by user available=() maxNeed=() allocated=() # this array will be calculated with maxNeed - allocated need=() # since we use the index calculation often ", "input_sha256": "33373ddd9e81b1465ea7f66524cd9f29d06ac97d4cbe1a2299735a5af141f4d3", "text_sha256": "3af7d0b5dda6389cb8dd98516ac73acf836c43cc7c450569baa8a8ef22b52b93", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 20003, "input_policy": "text-and-optional-url-v1", "label_policy_version": 12, "requested_model": "decision-models/baseten-mammoth-27b-latest", "backend": "baseten", "endpoint": "https://inference.baseten.co/v1/systemone", "status": "ok", "training_eligible": true, "label": {"primary": {"main_format": "Technical Writing", "sub_format": null}, "secondary": null, "tertiary": null, "content_structure": []}, "candidate_label": null, "topic": {"primary": {"main_topic": "Programming & Software Engineering", "sub_topic": null}, "secondary": null}, "scores": {"content_quality": 0, "noise_severity": 0, "missing_content_severity": 0, "factual_density": 3, "pretraining_utility": 1, "math_density": 3, "code_density": 4, "reasoning_density": 3, "education_level": 2, "creative_writing_quality": null}, "score_expectations": {"content_quality": 0.1392232909411177, "noise_severity": 0.12632853854949608, "missing_content_severity": 0.004610406891929701, "factual_density": 3.0562396454504577, "pretraining_utility": 0.627251362753035, "math_density": 2.8617039492933025, "code_density": 3.7122693237732904, "reasoning_density": 2.418956170875425, "education_level": 2.040465550157465, "creative_writing_quality": -0.595070121049878}, "api_choices": {"primary": "Technical Writing", "secondary": "NONE", "tertiary": "NONE", "education_level": "2", "creative_writing_quality": "not_applicable", "primary_topic": "Programming & Software Engineering", "secondary_topic": "NONE"}, "review_reasons": [], "format_slot_diagnostics": {"comparable": true, "secondary_tertiary_identical": false, "secondary_tertiary_max_abs_gap": 0.004522586579953244, "secondary_choice": "NONE", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.9928241611348184, "secondary": 0.9607775570336906, "tertiary": 0.965292338668837, "structured_records": 0.004339669770008023, "procedural_steps": 0.08683829886163194, "worked_solution": 0.015131239928046854, "contextual_dialogue": 3.876066720584173e-05, "content_quality": 0.4141623315317723, "noise_severity": 0.89472621787542, "missing_content_severity": 0.9961579942567252, "factual_density": 0.46416018404217574, "pretraining_utility": 0.5285479301753824, "math_density": 0.33676328081465234, "code_density": 0.760224436477742, "reasoning_density": 0.08789044547162805, "education_level": 0.7931013732549393, "creative_writing_quality": 0.9985278401484774, "primary_topic": 0.9451467247230083, "secondary_topic": 0.5448227108251344}, "probability_margin": {"primary": 0.9887787160989078, "secondary": 0.9443992034027353, "tertiary": 0.950926616592468, "education_level": 0.7314894337231279, "creative_writing_quality": 0.9983015006189688, "primary_topic": 0.898314632607274, "secondary_topic": 0.29757966966862626}, "raw_probabilities": {"primary": {"Academic Writing": 0.0001751344635599848, "Content Listing": 2.3719622909373175e-05, "Creative Writing": 2.753031016367517e-05, "Customer Support Page": 1.2883719568534556e-05, "Q&A Forum": 1.8454741799163212e-05, "Discussion Thread": 1.2119200660187365e-05, "Comment Section": 2.302178057598283e-05, "Missing Content": 2.6752061945858772e-05, "Knowledge Article": 0.00041829390454235224, "Legal Notices": 3.705781294993418e-05, "News Article": 6.741019851014162e-06, "Organizational Announcement": 1.3487813970167828e-05, "Nonfiction Writing": 2.67525849624363e-05, "Organizational About Page": 1.892460754177682e-05, "Personal About Page": 1.560862600794507e-05, "Personal Blog": 1.0652073838221992e-05, "Product Page": 9.198306660263158e-06, "Spam / Ads": 1.4849689691593028e-05, "Structured Data": 0.0003535631157994433, "Technical Writing": 0.9931231544208676, "Transcript / Interview": 2.567657860771929e-05, "Tutorial / How-To Guide": 0.004344438321959899, "User Reviews": 9.8404496196682e-06, "Other / Unknown": 0.0012521447719468924}, "secondary": {"Academic Writing": 0.0009376135832134152, "Content Listing": 0.00011254963081480763, "Creative Writing": 0.00016850435603651514, "Customer Support Page": 8.69520415421549e-05, "Q&A Forum": 8.57883493899704e-05, "Discussion Thread": 5.825337688487267e-05, "Comment Section": 0.0007309415824006285, "Missing Content": 0.00019247674218065473, "Knowledge Article": 0.002554243390194576, "Legal Notices": 0.0001584072466916439, "News Article": 7.64700509848702e-05, "Organizational Announcement": 7.697179033261468e-05, "Nonfiction Writing": 0.00011535186625970549, "Organizational About Page": 0.00010085800479633003, "Personal About Page": 8.515654594863909e-05, "Personal Blog": 8.357300697838873e-05, "Product Page": 5.697703025689225e-05, "Spam / Ads": 9.30253996227557e-05, "Structured Data": 0.001047042449918276, "Technical Writing": 0.01255640618284492, "Transcript / Interview": 0.00015065839941403027, "Tutorial / How-To Guide": 0.018012622087884945, "User Reviews": 4.733139478821481e-05, "NONE": 0.9624118254906202}, "tertiary": {"Academic Writing": 0.0023663463809564826, "Content Listing": 8.519752421675768e-05, "Creative Writing": 0.00014925447936655869, "Customer Support Page": 8.592938719608682e-05, "Q&A Forum": 6.44620090400062e-05, "Discussion Thread": 5.287542947605305e-05, "Comment Section": 0.001155073572561617, "Missing Content": 0.00022721419583205733, "Knowledge Article": 0.002970439099933953, "Legal Notices": 0.00022744551996826634, "News Article": 6.597057730324658e-05, "Organizational Announcement": 6.008133154766595e-05, "Nonfiction Writing": 0.0001802632513822248, "Organizational About Page": 9.938898789519267e-05, "Personal About Page": 6.934791482122986e-05, "Personal Blog": 7.667978336592335e-05, "Product Page": 5.381776780129988e-05, "Spam / Ads": 8.298778284290225e-05, "Structured Data": 0.0011780811604469815, "Technical Writing": 0.008033819602891677, "Transcript / Interview": 0.000121699167028349, "Tutorial / How-To Guide": 0.015811874631834137, "User Reviews": 4.325921798930906e-05, "NONE": 0.9667384912243021}, "structured_records": {"false": 0.995660330229992, "true": 0.004339669770008023}, "procedural_steps": {"false": 0.913161701138368, "true": 0.08683829886163194}, "worked_solution": {"false": 0.9848687600719531, "true": 0.015131239928046854}, "contextual_dialogue": {"false": 0.9999612393327941, "true": 3.876066720584173e-05}, "content_quality": {"-2": 0.03641719424457183, "-1": 0.2090565671212341, "0": 0.39090967761264594, "1": 0.30611887549160083, "2": 0.05749768552994732}, "noise_severity": {"0": 0.8980597700538219, "1": 0.08132532351174715, "2": 0.017892629116615908, "3": 0.0016711524667430001, "4": 0.0010511248510720302}, "missing_content_severity": {"0": 0.9974731182726523, "1": 0.0009478220853735844, "2": 0.0011629971489585153, "3": 0.00032765946342365096, "4": 8.840302959203326e-05}, "factual_density": {"0": 0.011860486473711412, "1": 0.03455483196048719, "2": 0.18869294350735707, "3": 0.41526802575852095, "4": 0.34962371229992334}, "pretraining_utility": {"-2": 0.00914672400969136, "-1": 0.06340132893224536, "0": 0.31500273062468825, "1": 0.5159522931620871, "2": 0.09649692327128795}, "math_density": {"0": 0.02535326685391411, "1": 0.08739410305394435, "2": 0.21624205019492626, "3": 0.34221657373935555, "4": 0.3287940061578598}, "code_density": {"0": 0.0004067016028652053, "1": 0.000813804354307774, "2": 0.03578648408944561, "3": 0.21208948857343432, "4": 0.7509035213799471}, "reasoning_density": {"0": 0.1351053346688349, "1": 0.13338303485897604, "2": 0.16570557355485402, "3": 0.3090622387625997, "4": 0.2567438181547354}, "education_level": {"none": 0.0010261066648800388, "0": 0.002288985881246819, "1": 0.06570127184809399, "2": 0.8275844777124495, "3": 0.09609504398932155, "4": 0.007304113904008098}, "creative_writing_quality": {"not_applicable": 0.9987732001237312, "-2": 0.00021343236365916655, "-1": 0.00043604483542403845, "0": 0.00047169950476233833, "1": 7.836873297869279e-05, "2": 2.7254439444294478e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 9.313350932614446e-05, "Art & Design": 0.0001799558648976547, "Law & Crime": 0.00010367573017178465, "Education & Careers": 9.922982337100707e-05, "Entertainment & Media": 8.64243374240437e-05, "Fashion & Beauty": 5.555321606905836e-05, "Business, Economics & Finance": 0.0002831938903638559, "Food & Dining": 7.800981749822423e-05, "Games & Gaming": 0.00015571372182476902, "Electronics & Hardware": 0.00023779345025237266, "Health, Healthcare & Wellness": 0.00010996469342265712, "History & Geography": 0.00012062398581149633, "Home, Pets & Hobbies": 6.975337633689509e-05, "Industry & Production": 0.00010131707279973653, "Language, Literature & Philosophy": 9.857321821494884e-05, "Politics & Government": 5.23055296229037e-05, "Religion & Spirituality": 8.774912187308461e-05, "Science, Mathematics & Engineering": 0.04894183347254182, "Relationships & Community": 4.747503602369114e-05, "Software Usage & Applications": 0.0005521346923384549, "Programming & Software Engineering": 0.9472564660798157, "Sports & Fitness": 0.00012115310061419007, "Vehicles & Transportation": 5.810326157871912e-05, "Travel & Tourism": 9.995441072511341e-05, "Other / Uncovered Subject": 0.0007938041458631999, "Unknown / Insufficient Content": 0.00011610544121862423}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0005653352812193621, "Art & Design": 0.0005686322991931529, "Law & Crime": 0.0006438862528520495, "Education & Careers": 0.0008083328249682822, "Entertainment & Media": 0.00042149018002640823, "Fashion & Beauty": 0.00029650574954853573, "Business, Economics & Finance": 0.0012428880949120092, "Food & Dining": 0.0003137047091642973, "Games & Gaming": 0.00045505812793051497, "Electronics & Hardware": 0.0008259841320464848, "Health, Healthcare & Wellness": 0.00045758020644576545, "History & Geography": 0.00039703103494182564, "Home, Pets & Hobbies": 0.00024577310589117454, "Industry & Production": 0.0003536433551677166, "Language, Literature & Philosophy": 0.00024328788872179214, "Politics & Government": 0.00023996143595820794, "Religion & Spirituality": 0.00040181762750048496, "Science, Mathematics & Engineering": 0.26474985997092604, "Relationships & Community": 0.00017565118502344893, "Software Usage & Applications": 0.0014119216738366581, "Programming & Software Engineering": 0.16072644876717454, "Sports & Fitness": 0.00033881804916492805, "Vehicles & Transportation": 0.00019963926582556565, "Travel & Tourism": 0.00046355454651331656, "Other / Uncovered Subject": 0.0011236645954951514, "NONE": 0.5623295296395523}}, "probabilities": {"primary": {"Academic Writing": 0.00017513446355998485, "Content Listing": 2.3719622909373182e-05, "Creative Writing": 2.753031016367518e-05, "Customer Support Page": 1.288371956853456e-05, "Q&A Forum": 1.845474179916322e-05, "Discussion Thread": 1.2119200660187368e-05, "Comment Section": 2.3021780575982837e-05, "Missing Content": 2.6752061945858783e-05, "Knowledge Article": 0.0004182939045423524, "Legal Notices": 3.705781294993419e-05, "News Article": 6.7410198510141645e-06, "Organizational Announcement": 1.3487813970167833e-05, "Nonfiction Writing": 2.675258496243631e-05, "Organizational About Page": 1.8924607541776826e-05, "Personal About Page": 1.5608626007945077e-05, "Personal Blog": 1.0652073838221996e-05, "Product Page": 9.198306660263161e-06, "Spam / Ads": 1.4849689691593033e-05, "Structured Data": 0.00035356311579944343, "Technical Writing": 0.993123154420868, "Transcript / Interview": 2.56765786077193e-05, "Tutorial / How-To Guide": 0.0043444383219599005, "User Reviews": 9.840449619668203e-06, "Other / Unknown": 0.0012521447719468929}, "secondary": {"Academic Writing": 0.0009376135832134152, "Content Listing": 0.00011254963081480763, "Creative Writing": 0.00016850435603651514, "Customer Support Page": 8.69520415421549e-05, "Q&A Forum": 8.57883493899704e-05, "Discussion Thread": 5.825337688487267e-05, "Comment Section": 0.0007309415824006285, "Missing Content": 0.00019247674218065473, "Knowledge Article": 0.002554243390194576, "Legal Notices": 0.0001584072466916439, "News Article": 7.64700509848702e-05, "Organizational Announcement": 7.697179033261468e-05, "Nonfiction Writing": 0.00011535186625970549, "Organizational About Page": 0.00010085800479633003, "Personal About Page": 8.515654594863909e-05, "Personal Blog": 8.357300697838873e-05, "Product Page": 5.697703025689225e-05, "Spam / Ads": 9.30253996227557e-05, "Structured Data": 0.001047042449918276, "Technical Writing": 0.01255640618284492, "Transcript / Interview": 0.00015065839941403027, "Tutorial / How-To Guide": 0.018012622087884945, "User Reviews": 4.733139478821481e-05, "NONE": 0.9624118254906202}, "tertiary": {"Academic Writing": 0.0023663463809564826, "Content Listing": 8.519752421675768e-05, "Creative Writing": 0.00014925447936655869, "Customer Support Page": 8.592938719608682e-05, "Q&A Forum": 6.44620090400062e-05, "Discussion Thread": 5.287542947605305e-05, "Comment Section": 0.001155073572561617, "Missing Content": 0.00022721419583205733, "Knowledge Article": 0.002970439099933953, "Legal Notices": 0.00022744551996826634, "News Article": 6.597057730324658e-05, "Organizational Announcement": 6.008133154766595e-05, "Nonfiction Writing": 0.0001802632513822248, "Organizational About Page": 9.938898789519267e-05, "Personal About Page": 6.934791482122986e-05, "Personal Blog": 7.667978336592335e-05, "Product Page": 5.381776780129988e-05, "Spam / Ads": 8.298778284290225e-05, "Structured Data": 0.0011780811604469815, "Technical Writing": 0.008033819602891677, "Transcript / Interview": 0.000121699167028349, "Tutorial / How-To Guide": 0.015811874631834137, "User Reviews": 4.325921798930906e-05, "NONE": 0.9667384912243021}, "structured_records": {"false": 0.995660330229992, "true": 0.004339669770008023}, "procedural_steps": {"false": 0.913161701138368, "true": 0.08683829886163194}, "worked_solution": {"false": 0.9848687600719531, "true": 0.015131239928046854}, "contextual_dialogue": {"false": 0.9999612393327941, "true": 3.876066720584173e-05}, "content_quality": {"-2": 0.03641719424457183, "-1": 0.2090565671212341, "0": 0.39090967761264594, "1": 0.30611887549160083, "2": 0.05749768552994732}, "noise_severity": {"0": 0.8980597700538219, "1": 0.08132532351174715, "2": 0.017892629116615908, "3": 0.0016711524667430001, "4": 0.0010511248510720302}, "missing_content_severity": {"0": 0.9974731182726523, "1": 0.0009478220853735844, "2": 0.0011629971489585153, "3": 0.00032765946342365096, "4": 8.840302959203326e-05}, "factual_density": {"0": 0.011860486473711412, "1": 0.03455483196048719, "2": 0.18869294350735707, "3": 0.41526802575852095, "4": 0.34962371229992334}, "pretraining_utility": {"-2": 0.00914672400969136, "-1": 0.06340132893224536, "0": 0.31500273062468825, "1": 0.5159522931620871, "2": 0.09649692327128795}, "math_density": {"0": 0.02535326685391411, "1": 0.08739410305394435, "2": 0.21624205019492626, "3": 0.34221657373935555, "4": 0.3287940061578598}, "code_density": {"0": 0.0004067016028652053, "1": 0.000813804354307774, "2": 0.03578648408944561, "3": 0.21208948857343432, "4": 0.7509035213799471}, "reasoning_density": {"0": 0.1351053346688349, "1": 0.13338303485897604, "2": 0.16570557355485402, "3": 0.3090622387625997, "4": 0.2567438181547354}, "education_level": {"none": 0.0010261066648800388, "0": 0.002288985881246819, "1": 0.06570127184809399, "2": 0.8275844777124495, "3": 0.09609504398932155, "4": 0.007304113904008098}, "creative_writing_quality": {"not_applicable": 0.9987732001237315, "-2": 0.00021343236365916664, "-1": 0.0004360448354240386, "0": 0.0004716995047623385, "1": 7.836873297869282e-05, "2": 2.7254439444294488e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 9.313350932614443e-05, "Art & Design": 0.00017995586489765467, "Law & Crime": 0.00010367573017178462, "Education & Careers": 9.922982337100704e-05, "Entertainment & Media": 8.642433742404369e-05, "Fashion & Beauty": 5.5553216069058345e-05, "Business, Economics & Finance": 0.00028319389036385583, "Food & Dining": 7.800981749822422e-05, "Games & Gaming": 0.000155713721824769, "Electronics & Hardware": 0.0002377934502523726, "Health, Healthcare & Wellness": 0.0001099646934226571, "History & Geography": 0.0001206239858114963, "Home, Pets & Hobbies": 6.975337633689507e-05, "Industry & Production": 0.0001013170727997365, "Language, Literature & Philosophy": 9.857321821494882e-05, "Politics & Government": 5.230552962290369e-05, "Religion & Spirituality": 8.77491218730846e-05, "Science, Mathematics & Engineering": 0.04894183347254181, "Relationships & Community": 4.7475036023691126e-05, "Software Usage & Applications": 0.0005521346923384548, "Programming & Software Engineering": 0.9472564660798155, "Sports & Fitness": 0.00012115310061419004, "Vehicles & Transportation": 5.810326157871911e-05, "Travel & Tourism": 9.995441072511338e-05, "Other / Uncovered Subject": 0.0007938041458631997, "Unknown / Insufficient Content": 0.0001161054412186242}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0005653352812193621, "Art & Design": 0.0005686322991931529, "Law & Crime": 0.0006438862528520495, "Education & Careers": 0.0008083328249682822, "Entertainment & Media": 0.00042149018002640823, "Fashion & Beauty": 0.00029650574954853573, "Business, Economics & Finance": 0.0012428880949120092, "Food & Dining": 0.0003137047091642973, "Games & Gaming": 0.00045505812793051497, "Electronics & Hardware": 0.0008259841320464848, "Health, Healthcare & Wellness": 0.00045758020644576545, "History & Geography": 0.00039703103494182564, "Home, Pets & Hobbies": 0.00024577310589117454, "Industry & Production": 0.0003536433551677166, "Language, Literature & Philosophy": 0.00024328788872179214, "Politics & Government": 0.00023996143595820794, "Religion & Spirituality": 0.00040181762750048496, "Science, Mathematics & Engineering": 0.26474985997092604, "Relationships & Community": 0.00017565118502344893, "Software Usage & Applications": 0.0014119216738366581, "Programming & Software Engineering": 0.16072644876717454, "Sports & Fitness": 0.00033881804916492805, "Vehicles & Transportation": 0.00019963926582556565, "Travel & Tourism": 0.00046355454651331656, "Other / Uncovered Subject": 0.0011236645954951514, "NONE": 0.5623295296395523}}, "probability_diagnostics": {"primary": {"raw_sum": 0.9999999999999997, "mass_delta": -3.3306690738754696e-16, "missing_mass": 3.3306690738754696e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "tertiary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "structured_records": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "procedural_steps": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "worked_solution": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "contextual_dialogue": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "content_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "noise_severity": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "missing_content_severity": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "factual_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "pretraining_utility": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "math_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "code_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "reasoning_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "education_level": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "creative_writing_quality": {"raw_sum": 0.9999999999999997, "mass_delta": -3.3306690738754696e-16, "missing_mass": 3.3306690738754696e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "primary_topic": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "secondary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}}, "usage": {"input_tokens": 10303, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 10303, "cached_share": null, "cache_discount_reported": null, "reported_cost_usd": null}, "response_metadata": {"model": "decision-models/baseten-mammoth-27b-latest"}, "scored_at_utc": "2026-10-25T18:29:07.194138+00:00", "scoring_key_slot": "assistant_1", "dataset_uid": "556e9019-99cf-4493-910c-b395ac2fced9", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "a7ab650a561832847a568be7657405531a320aad064effcf37a47338f873b264", "source_metadata": {"uuid": "556e9019-99cf-4493-910c-b395ac2fced9", "repo_name": "KitchenTile/Bankers-algorithm", "relative_path": "bankers.sh", "category": "TOOL", "algo_rel_score": 0.9900209903717041, "quality_score": 3.6663763523101807, "source_meta": {"github_metadata": {"branch": "main", "commit_count": 9, "repo_created_at": "2025-02-10T19:07:34.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 0, "forks": 0, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "aafd7763a699b7dd2a02c2b3212fea7b0b66d35b", "size_bytes": 7165, "file_timestamp": 1740847723, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "df93e7a8e9b715907cb2fc13f4a0e8735e92656c"}}, "parsed_source_meta": {"github_metadata": {"branch": "main", "commit_count": 9, "repo_created_at": "2025-02-10T19:07:34.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 0, "forks": 0, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "aafd7763a699b7dd2a02c2b3212fea7b0b66d35b", "size_bytes": 7165, "file_timestamp": 1740847723, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "df93e7a8e9b715907cb2fc13f4a0e8735e92656c", "url": "https://github.com/KitchenTile/Bankers-algorithm/blob/df93e7a8e9b715907cb2fc13f4a0e8735e92656c/bankers.sh"}, "gpt4o_tokens": 1743, "dataset_split": "shell", "probability_weighted_scores": {"content_quality": 0.1392232909411177, "noise_severity": 0.12632853854949608, "missing_content_severity": 0.004610406891929701, "factual_density": 3.0562396454504577, "pretraining_utility": 0.627251362753035, "math_density": 2.8617039492933025, "code_density": 3.7122693237732904, "reasoning_density": 2.418956170875425, "education_level": 2.040465550157465, "creative_writing_quality": -0.595070121049878}, "score_applicability": {"education_level": 0.9989738933351199, "creative_writing_quality": 0.001226799876268531}} {"source_group": "shell", "source": "openbmb/UltraData-Stack-v3-L2/shell", "domain": "github.com", "language": "shell", "url": "https://github.com/open-estuary/appbenchmark/blob/a2031036366a0f979ac36dce93b5c2b7f5dd1251/apps/mariadb/mariadb_1/scripts/start_server.sh", "id": "shell-0-921c1138e94747f9612c497ca311d352", "text": "#!/bin/bash\n\n. ${APP_ROOT}/toolset/setup/basic_cmd.sh\n\n######################################################################################\n# Notes:\n# To start MariaDB-Server \n#\n#####################################################################################\n\ncmd_str=\"${1}\"\n\nif [ \"$(ps -aux | grep \"/usr/local/mariadb/bin/mysqld_safe\" | grep -v \"grep\")\" != \"\" ]; then\n echo \"MariaDB server is running\"\n exit 0\nfi\n\n#######################################################################################\ncheck_startup_str() {\n expected_str=${1}\n max_retry_num=20\n cur_retry=0\n has_started=0\n while [[ ${cur_retry} -lt ${max_retry_num} ]] ;\n do\n echo \"Check whether server has started yet or not ......\"\n if [ $(tool_check_exists \"/u01/mariadb/log/alert.log\") == 0 ] ; then \n CHECK_STR=$($(tool_add_sudo) grep \"${expected_str}\" /u01/mariadb/log/alert.log)\n if [ \"${CHECK_STR}\" ] ; then\n let \"has_started=1\"\n echo \"MariaDB Server has started successfully\"\n break\n fi\n fi\n let \"cur_retry++\"\n sleep 5\n done\n\n if [ ${has_started} -eq 0 ]; then\n echo \"Hmm...Please check alert.log manually to see why the server has not started yet\"\n fi\n}\n\n###########################################################################################\n# Begin to start mariadb server\n###########################################################################################\ninitialize_mysql_inst() {\n config_file=${1}\n \n #Run step 1: Add 'mysql' test user account and rights\n\n if id -u \"mysql\" > /dev/null 2>&1; then\n echo \"Mysql user exist\" > /dev/null\n else \n $(tool_add_sudo) groupadd mysql\n $(tool_add_sudo) useradd -g mysql mysql\n fi\n \n #Backup existing conf if necessary\n if [ $(tool_check_exists \"/etc/my_mariadb.conf\") == 0 ]; then\n cur_day_str=`date +%Y-%m-%d`\n echo \"Backup existing /etc/my_mariadb.conf ......\"\n if [ $(tool_check_exists \"/etc/my_mariadb.conf_${cur_day_str}\") != 0 ]; then\n $(tool_add_sudo) cp /etc/my_mariadb.conf /etc/my_mariadb.conf_${cur_day_str}\n fi\n fi\n\n $(tool_add_sudo) cp -f ${APP_ROOT}/apps/mariadb/mariadb_1/config/${config_file} /etc/my_mariadb.conf\n new_port=3306\n sed -i \"s/port=3306/port=${new_port}/g\" /etc/my_mariadb.conf\n\n $(tool_add_sudo) echo 6553600 > /proc/sys/fs/aio-max-nr\n $(tool_add_sudo) echo 1 > /proc/sys/net/ipv4/tcp_timestamps\n $(tool_add_sudo) echo 1 > /proc/sys/net/ipv4/tcp_tw_reuse\n $(tool_add_sudo) echo 1 > /proc/sys/net/ipv4/tcp_tw_recycle\n $(tool_add_sudo) echo 2048 65000 > /proc/sys/net/ipv4/ip_local_port_range\n $(tool_add_sudo) echo 2621440 > /proc/sys/net/core/somaxconn\n $(tool_add_sudo) echo 2621440 > /proc/sys/net/core/netdev_max_backlog\n $(tool_add_sudo) echo 2621440 > /proc/sys/net/ipv4/tcp_max_syn_backlog\n $(tool_add_sudo) echo 1 > /proc/sys/net/netfilter/nf_conntrack_tcp_timeout_time_wait\n $(tool_add_sudo) echo 2621440 > /proc/sys/net/netfilter/nf_conntrack_max\n $(tool_add_sudo) echo 10 > /proc/sys/net/ipv4/tcp_fin_timeout\n\n cur_user=`whoami`\n $(tool_add_sudo) mkdir -p /u01/mariadb/tmp\n $(tool_add_sudo) mkdir -p /u01/mariadb/log\n $(tool_add_sudo) mkdir -p /u01/mariadb/run\n $(tool_add_sudo) chown -L -R mysql.${cur_user} /u01/mariadb\n \n #Initialize database\n INSTALL_DB_CMD=\"/usr/local/mariadb/bin/mysql_install_db --defaults-file=/etc/my_mariadb.conf \"\n new_start_flag=0\n #if [ $(tool_check_exists \"/usr/local/mariadb/bin/mysql_install_db\") != 0 ] ; then\n # new_start_flag=1\n # INSTALL_DB_CMD=\"/usr/local/mariadb/bin/mysqld --defaults-file=/etc/my_mariadb.conf --initialize\"\n #fi\n\n echo \"Start to initialize database ......\"\n $(tool_add_sudo) ${INSTALL_DB_CMD} --basedir=/usr/local/mariadb \\\n --datadir=/u01/mariadb/data \\\n --user=mysql\n\n #Start mysql server\n echo \"Initialize servers successfully\"\n}\n\n######################################################################################\nstart_mysql_inst() {\n config_file=${1}\n \n new_start_flag=0\n if [ $(tool_check_exists \"/usr/local/mariadb/bin/mysql_install_db\") != 0 ] ; then\n new_start_flag=1\n fi\n \n rm -fr /u01/mariadb/log/alert.log\n echo \"Restart server ......\"\n ########### Start server by using old ways for pre 5.7 versions ####################\n $(tool_add_sudo) /usr/local/mariadb/bin/mysqld_safe --defaults-file=/etc/my_mariadb.conf \\\n --basedir=/usr/local/mariadb \\\n --datadir=/u01/mariadb/data &\n\n #Check whether server has started successfully or not\n check_startup_str \"ready for connection\"\n\n #Install Step 6:set root rights and create initial database\n /usr/local/mariadb/bin/mysql -uroot --socket=/u01/mariadb/run/mysql.sock << EOF\nSET PASSWORD=PASSWORD('');\nUPDATE mysql.user SET password=PASSWORD('') WHERE user='mysql';\nGRANT ALL PRIVILEGES ON *.* TO mysql@localhost IDENTIFIED BY '123456' WITH GRANT OPTION;\nGRANT ALL PRIVILEGES ON *.* TO mysql@\"%\" IDENTIFIED BY '123456' WITH GRANT OPTION;\nGRANT ALL PRIVILEGES ON *.* TO root@localhost IDENTIFIED BY '123456' WITH GRANT OPTION;\nGRANT ALL PRIVILEGES ON *.* TO root@\"%\" IDENTIFIED BY '123456' WITH GRANT OPTION;\ncreate database sysbench;\ncreate database sbtest;\nEOF\n}\n\n\nif [ \"x${cmd_str}\" == \"xinit\" ] ; then\n initialize_mysql_inst \"my_mariadb.conf\"\nelif [ \"x${cmd_str}\" == \"xstart\" ] || [ \"x${cmd_str}\" == \"xrestart\" ] ; then\n start_mysql_inst \"my_mariadb.conf\"\nelse\n echo \"Unknown commands:${cmd_str}\"\nfi\necho \"=========================================================================================\"\n", "text_preview": "#!/bin/bash . ${APP_ROOT}/toolset/setup/basic_cmd.sh ###################################################################################### # Notes: # To start MariaDB-Server # ###############################################################", "input_sha256": "679d2aa7dfc3fb86e0f3d98494a25be58e51fecf8a095ae9a11639205e1a221a", "text_sha256": "921c1138e94747f9612c497ca311d352a07e44f2e9fb3401a3ce4f41521cd469", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 20004, "input_policy": "text-and-optional-url-v1", "label_policy_version": 12, "requested_model": "decision-models/baseten-mammoth-27b-latest", "backend": "baseten", "endpoint": "https://inference.baseten.co/v1/systemone", "status": "ok", "training_eligible": true, "label": {"primary": {"main_format": "Technical Writing", "sub_format": null}, "secondary": null, "tertiary": null, "content_structure": []}, "candidate_label": null, "topic": {"primary": {"main_topic": "Programming & Software Engineering", "sub_topic": null}, "secondary": null}, "scores": {"content_quality": 0, "noise_severity": 0, "missing_content_severity": 0, "factual_density": 3, "pretraining_utility": 1, "math_density": 0, "code_density": 4, "reasoning_density": 0, "education_level": 2, "creative_writing_quality": null}, "score_expectations": {"content_quality": 0.10223465236191599, "noise_severity": 0.19963876623535906, "missing_content_severity": 0.05977870431305637, "factual_density": 3.2018580831526076, "pretraining_utility": 0.3998913269419007, "math_density": 0.08563964486246821, "code_density": 3.840241236817063, "reasoning_density": 0.5986369261619048, "education_level": 2.4567368134262293, "creative_writing_quality": -0.4395594471548894}, "api_choices": {"primary": "Technical Writing", "secondary": "NONE", "tertiary": "NONE", "education_level": "2", "creative_writing_quality": "not_applicable", "primary_topic": "Programming & Software Engineering", "secondary_topic": "NONE"}, "review_reasons": [], "format_slot_diagnostics": {"comparable": true, "secondary_tertiary_identical": false, "secondary_tertiary_max_abs_gap": 0.035689165678050805, "secondary_choice": "NONE", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.9649773948250501, "secondary": 0.8575866236648274, "tertiary": 0.8948274921984457, "structured_records": 0.0097473466740749, "procedural_steps": 0.4294001608638421, "worked_solution": 0.003265445110300946, "contextual_dialogue": 8.450477300306182e-06, "content_quality": 0.4038358628400529, "noise_severity": 0.8336343614705342, "missing_content_severity": 0.950184413072453, "factual_density": 0.4919717995797882, "pretraining_utility": 0.42078584746816117, "math_density": 0.9286336292812765, "code_density": 0.8668676973475525, "reasoning_density": 0.5011358948650793, "education_level": 0.4644620668607151, "creative_writing_quality": 0.9992319925105024, "primary_topic": 0.9190939278514038, "secondary_topic": 0.6691310625752811}, "probability_margin": {"primary": 0.9376503571468384, "secondary": 0.7770255083909972, "tertiary": 0.8336742344786164, "education_level": 0.16835544283074227, "creative_writing_quality": 0.9990843092955104, "primary_topic": 0.8474525579503062, "secondary_topic": 0.44869003365257754}, "raw_probabilities": {"primary": {"Academic Writing": 0.0001068165575787162, "Content Listing": 9.047059165153602e-05, "Creative Writing": 6.755490176069317e-05, "Customer Support Page": 7.206673702226093e-05, "Q&A Forum": 5.185621631417922e-05, "Discussion Thread": 3.815016072601514e-05, "Comment Section": 6.0721330359706425e-05, "Missing Content": 7.568615420346026e-05, "Knowledge Article": 0.00028124062926250266, "Legal Notices": 6.659949693211411e-05, "News Article": 2.9397204992319208e-05, "Organizational Announcement": 4.8481030164836116e-05, "Nonfiction Writing": 4.807159995044851e-05, "Organizational About Page": 5.79500925717349e-05, "Personal About Page": 4.0357247973654855e-05, "Personal Blog": 3.197620332785125e-05, "Product Page": 3.522484918487511e-05, "Spam / Ads": 5.263798291793715e-05, "Structured Data": 0.0003994428709691049, "Technical Writing": 0.966436670040673, "Transcript / Interview": 7.334431494681606e-05, "Tutorial / How-To Guide": 0.02878631289383461, "User Reviews": 3.0405577297491164e-05, "Other / Unknown": 0.003018565315384018}, "secondary": {"Academic Writing": 0.00043326038123215135, "Content Listing": 0.0002692953525242915, "Creative Writing": 0.000311523081681622, "Customer Support Page": 0.00039784966461770406, "Q&A Forum": 0.00022141387994254133, "Discussion Thread": 0.0001476457852827972, "Comment Section": 0.0008823675963663865, "Missing Content": 0.0006536966222522106, "Knowledge Article": 0.0019843513781197006, "Legal Notices": 0.0004889715806034399, "News Article": 0.00024961438007175445, "Organizational Announcement": 0.00022479063886343402, "Nonfiction Writing": 0.00026518871668137676, "Organizational About Page": 0.0002756319536224458, "Personal About Page": 0.00019663803973352605, "Personal Blog": 0.00019700800630165693, "Product Page": 0.00015868505793046575, "Spam / Ads": 0.0002264550844841845, "Structured Data": 0.001156967494290675, "Technical Writing": 0.04078046512789063, "Transcript / Interview": 0.000340467975971137, "Tutorial / How-To Guide": 0.08649500595446252, "User Reviews": 0.0001221919016137243, "NONE": 0.8635205143454596}, "tertiary": {"Academic Writing": 0.00021461629385112683, "Content Listing": 0.0001351329558796093, "Creative Writing": 0.00017161723604166461, "Customer Support Page": 0.0002519333092152081, "Q&A Forum": 8.84775703514646e-05, "Discussion Thread": 8.070373305990641e-05, "Comment Section": 0.0012785660433604037, "Missing Content": 0.0008275063517656598, "Knowledge Article": 0.0028280480316517673, "Legal Notices": 0.0007372501861530492, "News Article": 0.00011786550860323984, "Organizational Announcement": 0.00012561288526874255, "Nonfiction Writing": 0.00014911188620132598, "Organizational About Page": 0.0001597163068331635, "Personal About Page": 0.00010004274936390787, "Personal Blog": 9.91303015775234e-05, "Product Page": 9.05419872725064e-05, "Spam / Ads": 0.0001421932134948176, "Structured Data": 0.0008877110655439158, "Technical Writing": 0.026529316528604255, "Transcript / Interview": 0.00017802041047538023, "Tutorial / How-To Guide": 0.06553544554489397, "User Reviews": 6.175987702702096e-05, "NONE": 0.8992096800235104}, "structured_records": {"false": 0.990252653325925, "true": 0.0097473466740749}, "procedural_steps": {"false": 0.570599839136158, "true": 0.4294001608638421}, "worked_solution": {"false": 0.9967345548896991, "true": 0.003265445110300946}, "contextual_dialogue": {"false": 0.9999915495226996, "true": 8.450477300306182e-06}, "content_quality": {"-2": 0.036347128141792966, "-1": 0.23388689983142427, "0": 0.3822698616316545, "1": 0.28617641231333035, "2": 0.06131969808179792}, "noise_severity": {"0": 0.8270473748771642, "1": 0.15243016320303057, "2": 0.016037746635300405, "3": 0.002805751376292047, "4": 0.0016789639082128818}, "missing_content_severity": {"0": 0.9535931947731523, "1": 0.03554501302881491, "2": 0.00891232109154742, "3": 0.001388835324795204, "4": 0.0005606357816902523}, "factual_density": {"0": 0.005256709865324033, "1": 0.018925536415515115, "2": 0.15026667624882079, "3": 0.4198051156419091, "4": 0.4057459618284309}, "pretraining_utility": {"-2": 0.011851352361891826, "-1": 0.1037460071685907, "0": 0.40453675662529615, "1": 0.4323917288541679, "2": 0.047474154990053634}, "math_density": {"0": 0.9267746631390777, "1": 0.06604011980953484, "2": 0.004020963576063396, "3": 0.0010994160004896797, "4": 0.0020648374748343844}, "code_density": {"0": 0.0003913296241316621, "1": 0.0008049147686401009, "2": 0.011411069127692599, "3": 0.1329565621251048, "4": 0.8544361243544308}, "reasoning_density": {"0": 0.6613966736153148, "1": 0.14039306375267008, "2": 0.14922205025805083, "3": 0.036153087602723954, "4": 0.012835124771240285}, "education_level": {"none": 0.0012173331796490748, "0": 0.0023120716651203, "1": 0.013112170036765687, "2": 0.5537183890505959, "3": 0.3853629462198536, "4": 0.04427708984801549}, "creative_writing_quality": {"not_applicable": 0.9993599937587521, "-2": 0.0001038950347363379, "-1": 0.000178215993690508, "0": 0.00027568446324161596, "1": 5.9736225574270185e-05, "2": 2.2474524005156485e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 0.0001146644915716493, "Art & Design": 0.00018139590617773823, "Law & Crime": 0.00013337738091889705, "Education & Careers": 8.869563717445006e-05, "Entertainment & Media": 9.114919852622299e-05, "Fashion & Beauty": 8.45348700791773e-05, "Business, Economics & Finance": 0.0001260655851841892, "Food & Dining": 8.757130716126176e-05, "Games & Gaming": 0.00016081648943917358, "Electronics & Hardware": 0.0003489710118245384, "Health, Healthcare & Wellness": 8.008563512343462e-05, "History & Geography": 0.00012086367233685695, "Home, Pets & Hobbies": 0.00011508962041975311, "Industry & Production": 0.00013311497431427207, "Language, Literature & Philosophy": 9.50523608727291e-05, "Politics & Government": 5.750300748742348e-05, "Religion & Spirituality": 8.149044700310545e-05, "Science, Mathematics & Engineering": 0.00027822010076268046, "Relationships & Community": 6.24200253860204e-05, "Software Usage & Applications": 0.0747531419068128, "Programming & Software Engineering": 0.922205699857119, "Sports & Fitness": 0.00010855563626501118, "Vehicles & Transportation": 5.7009745883271585e-05, "Travel & Tourism": 9.660646026511032e-05, "Other / Uncovered Subject": 0.0002358133577080948, "Unknown / Insufficient Content": 0.00010209131418303256}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0006068452879298677, "Art & Design": 0.00044311774981896384, "Law & Crime": 0.0006162168606858782, "Education & Careers": 0.0003603719314966145, "Entertainment & Media": 0.0004293271968035316, "Fashion & Beauty": 0.00027627407146373333, "Business, Economics & Finance": 0.0006110970156941433, "Food & Dining": 0.0002507113274896771, "Games & Gaming": 0.0004018351607217416, "Electronics & Hardware": 0.0011164387582471111, "Health, Healthcare & Wellness": 0.00034189782623148565, "History & Geography": 0.000323192157566816, "Home, Pets & Hobbies": 0.00031941238532245454, "Industry & Production": 0.00032043371472576665, "Language, Literature & Philosophy": 0.00022763156022197455, "Politics & Government": 0.00023784684078261264, "Religion & Spirituality": 0.0003344196723096586, "Science, Mathematics & Engineering": 0.0010965444657813136, "Relationships & Community": 0.00020535243888784226, "Software Usage & Applications": 0.2331667572851928, "Programming & Software Engineering": 0.07486350158362393, "Sports & Fitness": 0.000284743049030775, "Vehicles & Transportation": 0.00015764735583767884, "Travel & Tourism": 0.0004368548517185496, "Other / Uncovered Subject": 0.000714738514644818, "NONE": 0.6818567909377703}}, "probabilities": {"primary": {"Academic Writing": 0.00010681655757871622, "Content Listing": 9.047059165153604e-05, "Creative Writing": 6.755490176069319e-05, "Customer Support Page": 7.206673702226094e-05, "Q&A Forum": 5.185621631417923e-05, "Discussion Thread": 3.8150160726015144e-05, "Comment Section": 6.072133035970643e-05, "Missing Content": 7.568615420346027e-05, "Knowledge Article": 0.0002812406292625027, "Legal Notices": 6.659949693211413e-05, "News Article": 2.939720499231921e-05, "Organizational Announcement": 4.848103016483612e-05, "Nonfiction Writing": 4.8071599950448514e-05, "Organizational About Page": 5.7950092571734904e-05, "Personal About Page": 4.035724797365486e-05, "Personal Blog": 3.197620332785126e-05, "Product Page": 3.5224849184875115e-05, "Spam / Ads": 5.263798291793716e-05, "Structured Data": 0.00039944287096910496, "Technical Writing": 0.9664366700406731, "Transcript / Interview": 7.334431494681607e-05, "Tutorial / How-To Guide": 0.028786312893834612, "User Reviews": 3.0405577297491167e-05, "Other / Unknown": 0.0030185653153840183}, "secondary": {"Academic Writing": 0.00043326038123215135, "Content Listing": 0.0002692953525242915, "Creative Writing": 0.000311523081681622, "Customer Support Page": 0.00039784966461770406, "Q&A Forum": 0.00022141387994254133, "Discussion Thread": 0.0001476457852827972, "Comment Section": 0.0008823675963663865, "Missing Content": 0.0006536966222522106, "Knowledge Article": 0.0019843513781197006, "Legal Notices": 0.0004889715806034399, "News Article": 0.00024961438007175445, "Organizational Announcement": 0.00022479063886343402, "Nonfiction Writing": 0.00026518871668137676, "Organizational About Page": 0.0002756319536224458, "Personal About Page": 0.00019663803973352605, "Personal Blog": 0.00019700800630165693, "Product Page": 0.00015868505793046575, "Spam / Ads": 0.0002264550844841845, "Structured Data": 0.001156967494290675, "Technical Writing": 0.04078046512789063, "Transcript / Interview": 0.000340467975971137, "Tutorial / How-To Guide": 0.08649500595446252, "User Reviews": 0.0001221919016137243, "NONE": 0.8635205143454596}, "tertiary": {"Academic Writing": 0.00021461629385112683, "Content Listing": 0.0001351329558796093, "Creative Writing": 0.00017161723604166461, "Customer Support Page": 0.0002519333092152081, "Q&A Forum": 8.84775703514646e-05, "Discussion Thread": 8.070373305990641e-05, "Comment Section": 0.0012785660433604037, "Missing Content": 0.0008275063517656598, "Knowledge Article": 0.0028280480316517673, "Legal Notices": 0.0007372501861530492, "News Article": 0.00011786550860323984, "Organizational Announcement": 0.00012561288526874255, "Nonfiction Writing": 0.00014911188620132598, "Organizational About Page": 0.0001597163068331635, "Personal About Page": 0.00010004274936390787, "Personal Blog": 9.91303015775234e-05, "Product Page": 9.05419872725064e-05, "Spam / Ads": 0.0001421932134948176, "Structured Data": 0.0008877110655439158, "Technical Writing": 0.026529316528604255, "Transcript / Interview": 0.00017802041047538023, "Tutorial / How-To Guide": 0.06553544554489397, "User Reviews": 6.175987702702096e-05, "NONE": 0.8992096800235104}, "structured_records": {"false": 0.990252653325925, "true": 0.0097473466740749}, "procedural_steps": {"false": 0.570599839136158, "true": 0.4294001608638421}, "worked_solution": {"false": 0.9967345548896991, "true": 0.003265445110300946}, "contextual_dialogue": {"false": 0.9999915495226996, "true": 8.450477300306182e-06}, "content_quality": {"-2": 0.036347128141792966, "-1": 0.23388689983142427, "0": 0.3822698616316545, "1": 0.28617641231333035, "2": 0.06131969808179792}, "noise_severity": {"0": 0.8270473748771642, "1": 0.15243016320303057, "2": 0.016037746635300405, "3": 0.002805751376292047, "4": 0.0016789639082128818}, "missing_content_severity": {"0": 0.9535931947731523, "1": 0.03554501302881491, "2": 0.00891232109154742, "3": 0.001388835324795204, "4": 0.0005606357816902523}, "factual_density": {"0": 0.005256709865324033, "1": 0.018925536415515115, "2": 0.15026667624882079, "3": 0.4198051156419091, "4": 0.4057459618284309}, "pretraining_utility": {"-2": 0.011851352361891823, "-1": 0.10374600716859067, "0": 0.40453675662529603, "1": 0.43239172885416777, "2": 0.04747415499005362}, "math_density": {"0": 0.9267746631390777, "1": 0.06604011980953484, "2": 0.004020963576063396, "3": 0.0010994160004896797, "4": 0.0020648374748343844}, "code_density": {"0": 0.0003913296241316621, "1": 0.0008049147686401009, "2": 0.011411069127692599, "3": 0.1329565621251048, "4": 0.8544361243544308}, "reasoning_density": {"0": 0.6613966736153148, "1": 0.14039306375267008, "2": 0.14922205025805083, "3": 0.036153087602723954, "4": 0.012835124771240285}, "education_level": {"none": 0.0012173331796490748, "0": 0.0023120716651203, "1": 0.013112170036765687, "2": 0.5537183890505959, "3": 0.3853629462198536, "4": 0.04427708984801549}, "creative_writing_quality": {"not_applicable": 0.9993599937587521, "-2": 0.0001038950347363379, "-1": 0.000178215993690508, "0": 0.00027568446324161596, "1": 5.9736225574270185e-05, "2": 2.2474524005156485e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 0.00011466449157164931, "Art & Design": 0.00018139590617773826, "Law & Crime": 0.00013337738091889707, "Education & Careers": 8.869563717445007e-05, "Entertainment & Media": 9.1149198526223e-05, "Fashion & Beauty": 8.453487007917731e-05, "Business, Economics & Finance": 0.00012606558518418924, "Food & Dining": 8.757130716126178e-05, "Games & Gaming": 0.0001608164894391736, "Electronics & Hardware": 0.0003489710118245385, "Health, Healthcare & Wellness": 8.008563512343463e-05, "History & Geography": 0.00012086367233685696, "Home, Pets & Hobbies": 0.00011508962041975312, "Industry & Production": 0.0001331149743142721, "Language, Literature & Philosophy": 9.505236087272912e-05, "Politics & Government": 5.7503007487423484e-05, "Religion & Spirituality": 8.149044700310546e-05, "Science, Mathematics & Engineering": 0.0002782201007626805, "Relationships & Community": 6.242002538602041e-05, "Software Usage & Applications": 0.07475314190681281, "Programming & Software Engineering": 0.9222056998571191, "Sports & Fitness": 0.0001085556362650112, "Vehicles & Transportation": 5.700974588327159e-05, "Travel & Tourism": 9.660646026511033e-05, "Other / Uncovered Subject": 0.00023581335770809483, "Unknown / Insufficient Content": 0.00010209131418303257}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0006068452879298677, "Art & Design": 0.00044311774981896384, "Law & Crime": 0.0006162168606858782, "Education & Careers": 0.0003603719314966145, "Entertainment & Media": 0.0004293271968035316, "Fashion & Beauty": 0.00027627407146373333, "Business, Economics & Finance": 0.0006110970156941433, "Food & Dining": 0.0002507113274896771, "Games & Gaming": 0.0004018351607217416, "Electronics & Hardware": 0.0011164387582471111, "Health, Healthcare & Wellness": 0.00034189782623148565, "History & Geography": 0.000323192157566816, "Home, Pets & Hobbies": 0.00031941238532245454, "Industry & Production": 0.00032043371472576665, "Language, Literature & Philosophy": 0.00022763156022197455, "Politics & Government": 0.00023784684078261264, "Religion & Spirituality": 0.0003344196723096586, "Science, Mathematics & Engineering": 0.0010965444657813136, "Relationships & Community": 0.00020535243888784226, "Software Usage & Applications": 0.2331667572851928, "Programming & Software Engineering": 0.07486350158362393, "Sports & Fitness": 0.000284743049030775, "Vehicles & Transportation": 0.00015764735583767884, "Travel & Tourism": 0.0004368548517185496, "Other / Uncovered Subject": 0.000714738514644818, "NONE": 0.6818567909377703}}, "probability_diagnostics": {"primary": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "tertiary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "structured_records": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "procedural_steps": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "worked_solution": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "contextual_dialogue": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "content_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "noise_severity": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "missing_content_severity": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "factual_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "pretraining_utility": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "math_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "code_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "reasoning_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "education_level": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "creative_writing_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "primary_topic": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}}, "usage": {"input_tokens": 10145, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 10145, "cached_share": null, "cache_discount_reported": null, "reported_cost_usd": null}, "response_metadata": {"model": "decision-models/baseten-mammoth-27b-latest"}, "scored_at_utc": "2026-10-25T18:29:07.794172+00:00", "scoring_key_slot": "primary", "dataset_uid": "9273ff51-102f-4ca0-b1ad-bad2208b9f4f", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "8a35e980ebce7b5914a9d8e8ccf9291989204e3d6aee2eae67edca913a67ec90", "source_metadata": {"uuid": "9273ff51-102f-4ca0-b1ad-bad2208b9f4f", "repo_name": "open-estuary/appbenchmark", "relative_path": "apps/mariadb/mariadb_1/scripts/start_server.sh", "category": "TOOL", "algo_rel_score": 0.9942294359207153, "quality_score": 3.603088617324829, "source_meta": {"github_metadata": {"branch": "master", "commit_count": 589, "repo_created_at": "2017-04-19T05:56:17.000Z", "is_fork": false, "is_org_owned": true, "forked_from": null, "stars": 6, "forks": 7, "issues": 0, "pull_requests": 1}, "file_meta": {"content_id": "a7bf29f162f6ff03f1a5946b3d63731edf63c2cc", "size_bytes": 5872, "file_timestamp": 1512552120, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "a2031036366a0f979ac36dce93b5c2b7f5dd1251"}}, "parsed_source_meta": {"github_metadata": {"branch": "master", "commit_count": 589, "repo_created_at": "2017-04-19T05:56:17.000Z", "is_fork": false, "is_org_owned": true, "forked_from": null, "stars": 6, "forks": 7, "issues": 0, "pull_requests": 1}, "file_meta": {"content_id": "a7bf29f162f6ff03f1a5946b3d63731edf63c2cc", "size_bytes": 5872, "file_timestamp": 1512552120, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "a2031036366a0f979ac36dce93b5c2b7f5dd1251", "url": "https://github.com/open-estuary/appbenchmark/blob/a2031036366a0f979ac36dce93b5c2b7f5dd1251/apps/mariadb/mariadb_1/scripts/start_server.sh"}, "gpt4o_tokens": 1550, "dataset_split": "shell", "probability_weighted_scores": {"content_quality": 0.10223465236191599, "noise_severity": 0.19963876623535906, "missing_content_severity": 0.05977870431305637, "factual_density": 3.2018580831526076, "pretraining_utility": 0.39989132694190077, "math_density": 0.08563964486246821, "code_density": 3.840241236817063, "reasoning_density": 0.5986369261619048, "education_level": 2.4567368134262293, "creative_writing_quality": -0.4395594471548894}, "score_applicability": {"education_level": 0.998782666820351, "creative_writing_quality": 0.0006400062412478886}} {"source_group": "shell", "source": "openbmb/UltraData-Stack-v3-L2/shell", "domain": "github.com", "language": "shell", "url": "https://github.com/s-t-a-n/chtnpw-autounlock-archlivedisk/blob/c351da43d561ed6dc678df018c9c0a9708d5725a/buildLiveDisk.sh", "id": "shell-0-84db01cd3c727c762aa204873336a510", "text": "#!/bin/sh\n# run this script to build livedisk\n\n# bash run options\nset -o pipefail\nset -e -u\n\n# GLOBVARS\nwd=\"$(dirname $0)\"\nlivediskWD=\"$wd/wd\"\nlivediskOUT=\"$wd/iso\"\n\n# GLOBFUNCS\nlogp()\n{\ncase \"$1\" in\n\tinfo)\n\t\techo -e \"\\e[32m\\e[1m* \\e[0m$2\"\n\t;;\n\twarning)\n\t\techo -e \"\\033[31m\\e[1m* \\e[0m$2\"\n\t;;\n\tfatal)\n\t\techo -e \"\\e[31m\\e[1m* \\e[0m\\e[30m\\e[101m$2\"\n\t\techo -e \"\\e[31m\\e[1m* \\e[0m\\e[30m\\e[101mHit enter to continue...\\e[0m\"\n\n\t\tread /dev/null || logp fatal \"Package 'archiso' is not installed! Be warned: Arch derivatives like Manjaro don't have this package in repo :( \\n Proposed: pacman -S archiso \"\npacman -Qi arch-install-scripts 1>/dev/null || logp fatal \"Package 'archiso' is not installed! Be warned: Arch derivatives like Manjaro don't have this package in repo :( \\n Proposed: pacman -S arch-install-scripts\"\n\nif [ -d /usr/share/archiso/configs/releng ]; then\n\t\n\tlogp info \"Setting up livedisk parameters...\"\n\tcp -r -n /usr/share/archiso/configs/releng/* $wd/livedisk/\n\tretVal=0\n\tretVal=$(($retVal + $?))\n\n\tcp $wd/windowsAutoAdminUnlock.service $wd/livedisk/airootfs/etc/systemd/system/\n\tretVal=$(($retVal + $?))\n\n\tcp $wd/windowsAutoAdminUnlock.sh $wd/livedisk/airootfs/root/\n\tretVal=$(($retVal + $?))\n\n\tif find \"$wd/sideload\" -mindepth 1 -print -quit 2>/dev/null | grep -q .; then\n\t\tlogp info \"Copying over sideload files...\"\n\t\tmkdir -p $wd/livedisk/airootfs/root/sideload\n\t\tretVal=$(($retVal + $?))\n\n\t\tcp -av $wd/sideload/* $wd/livedisk/airootfs/root/sideload/\n\t\tretVal=$(($retVal + $?))\n\tfi\n\n\tsed -i '/^APPEND/ s/$/ quiet splash vga=current loglevel=0 systemd.show_status=false udev.log_priority=0/' $wd/livedisk/syslinux/archiso_sys.cfg\n\tretVal=$(($retVal + $?))\n\n\tsed -i '/^options/ s/$/ quiet splash vga=current loglevel=0 systemd.show_status=false udev.log_priority=0/' $wd/livedisk/efiboot/loader/entries/*.conf\n\tretVal=$(($retVal + $?))\n\n\tsed -i '/timeout/c\\timeout 1' $wd/livedisk/efiboot/loader/loader.conf\n\tretVal=$(($retVal + $?))\n\n\techo CHNTPW > $wd/livedisk/airootfs/etc/hostname\n\tretVal=$(($retVal + $?))\n\n\tmkdir -p $livediskOUT\n\tretVal=$(($retVal + $?))\n\n\tmkdir -p $livediskWD\n\tretVal=$(($retVal + $?))\n\t\n\tif [ $retVal -eq 0 ]; then\n\t\tlogp info \"Generating ISO, resulting image can be found @ $livediskOUT\"\n\t\tsleep 1\n\t\tsh $wd/livedisk/build.sh -A \"Automatic unlocker for Windows Admin account - Arch Livedisk\" -L \"CHNTPW\" -o $livediskOUT -w $livediskWD && logp info \"ISO succesfully generated! ISO @ $livediskOUT\" || logp fatal \"ISO failed to generate!\"\n\telse\n\t\tlogp fatal \"Failed to setup livedisk environment!\"\n\tfi\n\n\tlogp endsection\nelse\n\tlogp fatal \"Archiso profile directory could not be found!\"\nfi\n", "text_preview": "#!/bin/sh # run this script to build livedisk # bash run options set -o pipefail set -e -u # GLOBVARS wd=\"$(dirname $0)\" livediskWD=\"$wd/wd\" livediskOUT=\"$wd/iso\" # GLOBFUNCS logp() { case \"$1\" in info) echo -e \"\\e[32m\\e[1m* \\e[0m$2\" ;; war", "input_sha256": "b1d7c3c7d0ea9fcc7d1f9a0b58f84077a0a01a325f35cf6fe79b6b40b5636bdb", "text_sha256": "84db01cd3c727c762aa204873336a51069dac92e40f0e8d1df97af4fea0db22d", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 20005, "input_policy": "text-and-optional-url-v1", "label_policy_version": 12, "requested_model": "decision-models/baseten-mammoth-27b-latest", "backend": "baseten", "endpoint": "https://inference.baseten.co/v1/systemone", "status": "ok", "training_eligible": true, "label": {"primary": {"main_format": "Technical Writing", "sub_format": null}, "secondary": null, "tertiary": null, "content_structure": []}, "candidate_label": null, "topic": {"primary": {"main_topic": "Programming & Software Engineering", "sub_topic": null}, "secondary": null}, "scores": {"content_quality": 1, "noise_severity": 0, "missing_content_severity": 0, "factual_density": 3, "pretraining_utility": 0, "math_density": 0, "code_density": 4, "reasoning_density": 0, "education_level": 2, "creative_writing_quality": null}, "score_expectations": {"content_quality": 0.4798195762149732, "noise_severity": 0.09444233007199589, "missing_content_severity": 0.009133577877679499, "factual_density": 3.1361400124130436, "pretraining_utility": 0.23619738168254475, "math_density": 0.14663438668814172, "code_density": 3.877619046957529, "reasoning_density": 0.5031190027033731, "education_level": 2.6186804462679425, "creative_writing_quality": -0.30791416507880487}, "api_choices": {"primary": "Technical Writing", "secondary": "NONE", "tertiary": "NONE", "education_level": "2", "creative_writing_quality": "not_applicable", "primary_topic": "Programming & Software Engineering", "secondary_topic": "NONE"}, "review_reasons": [], "format_slot_diagnostics": {"comparable": true, "secondary_tertiary_identical": false, "secondary_tertiary_max_abs_gap": 0.02447428760638115, "secondary_choice": "NONE", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.965251168236577, "secondary": 0.905128811261698, "tertiary": 0.9306671983292262, "structured_records": 0.0031827635201329774, "procedural_steps": 0.3008550935999312, "worked_solution": 0.003418334739546359, "contextual_dialogue": 9.588875847430474e-06, "content_quality": 0.3549277393357825, "noise_severity": 0.9212980582733368, "missing_content_severity": 0.9923886851019338, "factual_density": 0.47402239363372156, "pretraining_utility": 0.42203843452200873, "math_density": 0.8778046777598819, "code_density": 0.8980158724646072, "reasoning_density": 0.5807341644138557, "education_level": 0.3711226058047756, "creative_writing_quality": 0.9979140192366938, "primary_topic": 0.9371168971361882, "secondary_topic": 0.677053216056586}, "probability_margin": {"primary": 0.9407692286490726, "secondary": 0.8626512442374054, "tertiary": 0.8950191944597424, "education_level": 0.08275866764010081, "creative_writing_quality": 0.9974368411356855, "primary_topic": 0.9051234743341333, "secondary_topic": 0.522478519330972}, "raw_probabilities": {"primary": {"Academic Writing": 0.0001260808860469724, "Content Listing": 9.903094093400087e-05, "Creative Writing": 0.00013372977361225452, "Customer Support Page": 0.00010636553611857904, "Q&A Forum": 7.908415510681454e-05, "Discussion Thread": 6.297990104152097e-05, "Comment Section": 0.00010126005889993662, "Missing Content": 9.678723011999217e-05, "Knowledge Article": 0.00030451199444995417, "Legal Notices": 0.00011593275531739823, "News Article": 4.144059108716386e-05, "Organizational Announcement": 9.15006896232228e-05, "Nonfiction Writing": 9.039733782625498e-05, "Organizational About Page": 0.0001071367117387016, "Personal About Page": 7.701729121754544e-05, "Personal Blog": 5.405864327285332e-05, "Product Page": 5.1858423320669714e-05, "Spam / Ads": 0.0001799197892315857, "Structured Data": 0.00029872132210272573, "Technical Writing": 0.9666990362267196, "Transcript / Interview": 0.00010803647975955479, "Tutorial / How-To Guide": 0.025929807577646916, "User Reviews": 4.8665355048384846e-05, "Other / Unknown": 0.004996640329757101}, "secondary": {"Academic Writing": 0.000320146469808381, "Content Listing": 0.00015275321736848226, "Creative Writing": 0.0003240086166632815, "Customer Support Page": 0.0003272667488803802, "Q&A Forum": 0.00013569409623758404, "Discussion Thread": 0.00010546617973213445, "Comment Section": 0.0002400480377804074, "Missing Content": 0.0002940768232407182, "Knowledge Article": 0.0008864528307652389, "Legal Notices": 0.0002459037792252243, "News Article": 0.00017871898673582572, "Organizational Announcement": 0.00021889372310611232, "Nonfiction Writing": 0.0002017179165581124, "Organizational About Page": 0.00023839017199165508, "Personal About Page": 0.00017192835434374384, "Personal Blog": 0.0002444389411949725, "Product Page": 0.00010745445550520073, "Spam / Ads": 0.0002428382748308231, "Structured Data": 0.0006069396913852917, "Technical Writing": 0.038931441777200364, "Transcript / Interview": 0.00022003292158223367, "Tutorial / How-To Guide": 0.04643053322172191, "User Reviews": 9.307730501465544e-05, "NONE": 0.9090817774591272}, "tertiary": {"Academic Writing": 0.00016935205059650304, "Content Listing": 9.681475671975862e-05, "Creative Writing": 0.00021852734112421423, "Customer Support Page": 0.0003304077584495594, "Q&A Forum": 7.002387552563142e-05, "Discussion Thread": 6.5653803533084e-05, "Comment Section": 0.00016537412131920285, "Missing Content": 0.0003181895817868366, "Knowledge Article": 0.0012828850588257538, "Legal Notices": 0.00036641318199274976, "News Article": 0.00010811297441921811, "Organizational Announcement": 0.0001973843133715053, "Nonfiction Writing": 0.0002984238179027652, "Organizational About Page": 0.0002159056346406825, "Personal About Page": 0.00010850708649620252, "Personal Blog": 0.00025552040807670423, "Product Page": 7.926209674041775e-05, "Spam / Ads": 0.00029052696897962315, "Structured Data": 0.0004728706127697644, "Technical Writing": 0.02256758363541562, "Transcript / Interview": 0.00016875979376917703, "Tutorial / How-To Guide": 0.0385368706057659, "User Reviews": 6.056545627071741e-05, "NONE": 0.9335560650655084}, "structured_records": {"false": 0.996817236479867, "true": 0.0031827635201329774}, "procedural_steps": {"false": 0.6991449064000688, "true": 0.3008550935999312}, "worked_solution": {"false": 0.9965816652604537, "true": 0.003418334739546359}, "contextual_dialogue": {"false": 0.9999904111241525, "true": 9.588875847430474e-06}, "content_quality": {"-2": 0.019598270952051723, "-1": 0.1300911034794628, "0": 0.3281565484759632, "1": 0.3952009325865053, "2": 0.12695314450601705}, "noise_severity": {"0": 0.9239174031815598, "1": 0.062435984332169014, "2": 0.010081530073132481, "3": 0.0024170440589926976, "4": 0.0011480383541459514}, "missing_content_severity": {"0": 0.995576866817616, "1": 0.0010166074192192343, "2": 0.0022954697358880897, "3": 0.000918193122421597, "4": 0.00019286290485482296}, "factual_density": {"0": 0.007487195728010029, "1": 0.0275435526055306, "2": 0.16996786521815407, "3": 0.41134481642201653, "4": 0.38365657002628867}, "pretraining_utility": {"-2": 0.027440217709937185, "-1": 0.173797813025648, "0": 0.39604004624495853, "1": 0.3405682159108456, "2": 0.062153707108610776}, "math_density": {"0": 0.8672947863036768, "1": 0.12600971388223658, "2": 0.0025498612481066993, "3": 0.0010576039542285044, "4": 0.0030880346117515643}, "code_density": {"0": 0.00028501420060737, "1": 0.0006163376680221878, "2": 0.012535113471694939, "3": 0.09432165629258543, "4": 0.89224187836709}, "reasoning_density": {"0": 0.731964441993927, "1": 0.10952949745271727, "2": 0.10362481573437156, "3": 0.03318510549402392, "4": 0.02169613932496024}, "education_level": {"none": 0.0011875113832462206, "0": 0.0017442839608985514, "1": 0.009218079440889216, "2": 0.475935504837313, "3": 0.3931768371972122, "4": 0.11873778318044076}, "creative_writing_quality": {"not_applicable": 0.9982616826972448, "-2": 0.00017296528520981607, "-1": 0.0004979559610191592, "0": 0.0008248415615592392, "1": 0.00017647497941495667, "2": 6.607951555197234e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 0.0016896451207824895, "Art & Design": 0.00016434709423475142, "Law & Crime": 0.01599697963628713, "Education & Careers": 0.00011867634794730767, "Entertainment & Media": 0.00014147986792658267, "Fashion & Beauty": 9.630052994141635e-05, "Business, Economics & Finance": 0.00015693142938196487, "Food & Dining": 0.0001082131040572536, "Games & Gaming": 0.00018293679506151434, "Electronics & Hardware": 0.0009564027780417338, "Health, Healthcare & Wellness": 0.00011968758183035606, "History & Geography": 0.0001529913850512797, "Home, Pets & Hobbies": 0.00012341070224525642, "Industry & Production": 0.00010744345328770851, "Language, Literature & Philosophy": 0.00012569027593206487, "Politics & Government": 0.00012303489143246149, "Religion & Spirituality": 0.00010493185988415685, "Science, Mathematics & Engineering": 0.00021725317851590105, "Relationships & Community": 7.561281881614157e-05, "Software Usage & Applications": 0.03441200368143232, "Programming & Software Engineering": 0.9395354780155656, "Sports & Fitness": 0.00013361298670538138, "Vehicles & Transportation": 6.570170047218336e-05, "Travel & Tourism": 0.00011778525982394239, "Other / Uncovered Subject": 0.004806229744264369, "Unknown / Insufficient Content": 0.00016721976107837271}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.00384946213940356, "Art & Design": 0.0008190211451926108, "Law & Crime": 0.07397835804612841, "Education & Careers": 0.0005651625713190742, "Entertainment & Media": 0.0008069261123505915, "Fashion & Beauty": 0.0004353201767935708, "Business, Economics & Finance": 0.0007512231293014347, "Food & Dining": 0.00038875370122505484, "Games & Gaming": 0.0006203309184234253, "Electronics & Hardware": 0.0024864177937785376, "Health, Healthcare & Wellness": 0.0005190617160041318, "History & Geography": 0.0004135845050025292, "Home, Pets & Hobbies": 0.00045585565644623257, "Industry & Production": 0.0003748194999632605, "Language, Literature & Philosophy": 0.0003010200071591463, "Politics & Government": 0.0005574279791294768, "Religion & Spirituality": 0.0005167275353080203, "Science, Mathematics & Engineering": 0.0007431210584495961, "Relationships & Community": 0.0003005763728241057, "Software Usage & Applications": 0.16699572687728365, "Programming & Software Engineering": 0.04996135365689116, "Sports & Fitness": 0.000406664491016437, "Vehicles & Transportation": 0.00020889878452639895, "Travel & Tourism": 0.0005613829955570952, "Other / Uncovered Subject": 0.003508556922266862, "NONE": 0.6894742462082557}}, "probabilities": {"primary": {"Academic Writing": 0.00012608088604697246, "Content Listing": 9.90309409340009e-05, "Creative Writing": 0.00013372977361225457, "Customer Support Page": 0.00010636553611857909, "Q&A Forum": 7.908415510681456e-05, "Discussion Thread": 6.2979901041521e-05, "Comment Section": 0.00010126005889993665, "Missing Content": 9.67872301199922e-05, "Knowledge Article": 0.0003045119944499543, "Legal Notices": 0.00011593275531739827, "News Article": 4.144059108716387e-05, "Organizational Announcement": 9.150068962322283e-05, "Nonfiction Writing": 9.0397337826255e-05, "Organizational About Page": 0.00010713671173870164, "Personal About Page": 7.701729121754546e-05, "Personal Blog": 5.405864327285334e-05, "Product Page": 5.1858423320669734e-05, "Spam / Ads": 0.00017991978923158575, "Structured Data": 0.00029872132210272584, "Technical Writing": 0.9666990362267199, "Transcript / Interview": 0.00010803647975955483, "Tutorial / How-To Guide": 0.025929807577646923, "User Reviews": 4.866535504838486e-05, "Other / Unknown": 0.004996640329757103}, "secondary": {"Academic Writing": 0.000320146469808381, "Content Listing": 0.00015275321736848226, "Creative Writing": 0.0003240086166632815, "Customer Support Page": 0.0003272667488803802, "Q&A Forum": 0.00013569409623758404, "Discussion Thread": 0.00010546617973213445, "Comment Section": 0.0002400480377804074, "Missing Content": 0.0002940768232407182, "Knowledge Article": 0.0008864528307652389, "Legal Notices": 0.0002459037792252243, "News Article": 0.00017871898673582572, "Organizational Announcement": 0.00021889372310611232, "Nonfiction Writing": 0.0002017179165581124, "Organizational About Page": 0.00023839017199165508, "Personal About Page": 0.00017192835434374384, "Personal Blog": 0.0002444389411949725, "Product Page": 0.00010745445550520073, "Spam / Ads": 0.0002428382748308231, "Structured Data": 0.0006069396913852917, "Technical Writing": 0.038931441777200364, "Transcript / Interview": 0.00022003292158223367, "Tutorial / How-To Guide": 0.04643053322172191, "User Reviews": 9.307730501465544e-05, "NONE": 0.9090817774591272}, "tertiary": {"Academic Writing": 0.00016935205059650304, "Content Listing": 9.681475671975862e-05, "Creative Writing": 0.00021852734112421423, "Customer Support Page": 0.0003304077584495594, "Q&A Forum": 7.002387552563142e-05, "Discussion Thread": 6.5653803533084e-05, "Comment Section": 0.00016537412131920285, "Missing Content": 0.0003181895817868366, "Knowledge Article": 0.0012828850588257538, "Legal Notices": 0.00036641318199274976, "News Article": 0.00010811297441921811, "Organizational Announcement": 0.0001973843133715053, "Nonfiction Writing": 0.0002984238179027652, "Organizational About Page": 0.0002159056346406825, "Personal About Page": 0.00010850708649620252, "Personal Blog": 0.00025552040807670423, "Product Page": 7.926209674041775e-05, "Spam / Ads": 0.00029052696897962315, "Structured Data": 0.0004728706127697644, "Technical Writing": 0.02256758363541562, "Transcript / Interview": 0.00016875979376917703, "Tutorial / How-To Guide": 0.0385368706057659, "User Reviews": 6.056545627071741e-05, "NONE": 0.9335560650655084}, "structured_records": {"false": 0.996817236479867, "true": 0.0031827635201329774}, "procedural_steps": {"false": 0.6991449064000688, "true": 0.3008550935999312}, "worked_solution": {"false": 0.9965816652604537, "true": 0.003418334739546359}, "contextual_dialogue": {"false": 0.9999904111241525, "true": 9.588875847430474e-06}, "content_quality": {"-2": 0.019598270952051723, "-1": 0.1300911034794628, "0": 0.3281565484759632, "1": 0.3952009325865053, "2": 0.12695314450601705}, "noise_severity": {"0": 0.9239174031815599, "1": 0.06243598433216902, "2": 0.010081530073132483, "3": 0.002417044058992698, "4": 0.0011480383541459516}, "missing_content_severity": {"0": 0.9955768668176163, "1": 0.0010166074192192345, "2": 0.00229546973588809, "3": 0.0009181931224215973, "4": 0.000192862904854823}, "factual_density": {"0": 0.00748719572801003, "1": 0.027543552605530604, "2": 0.1699678652181541, "3": 0.4113448164220166, "4": 0.3836565700262887}, "pretraining_utility": {"-2": 0.027440217709937185, "-1": 0.173797813025648, "0": 0.39604004624495853, "1": 0.3405682159108456, "2": 0.062153707108610776}, "math_density": {"0": 0.8672947863036766, "1": 0.12600971388223656, "2": 0.002549861248106699, "3": 0.0010576039542285042, "4": 0.0030880346117515634}, "code_density": {"0": 0.00028501420060737006, "1": 0.0006163376680221879, "2": 0.01253511347169494, "3": 0.09432165629258545, "4": 0.8922418783670901}, "reasoning_density": {"0": 0.731964441993927, "1": 0.10952949745271727, "2": 0.10362481573437156, "3": 0.03318510549402392, "4": 0.02169613932496024}, "education_level": {"none": 0.0011875113832462206, "0": 0.0017442839608985514, "1": 0.009218079440889216, "2": 0.475935504837313, "3": 0.3931768371972122, "4": 0.11873778318044076}, "creative_writing_quality": {"not_applicable": 0.9982616826972448, "-2": 0.00017296528520981607, "-1": 0.0004979559610191592, "0": 0.0008248415615592392, "1": 0.00017647497941495667, "2": 6.607951555197234e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 0.0016896451207824902, "Art & Design": 0.00016434709423475148, "Law & Crime": 0.015996979636287136, "Education & Careers": 0.00011867634794730771, "Entertainment & Media": 0.00014147986792658273, "Fashion & Beauty": 9.630052994141638e-05, "Business, Economics & Finance": 0.00015693142938196493, "Food & Dining": 0.00010821310405725365, "Games & Gaming": 0.0001829367950615144, "Electronics & Hardware": 0.0009564027780417341, "Health, Healthcare & Wellness": 0.0001196875818303561, "History & Geography": 0.00015299138505127976, "Home, Pets & Hobbies": 0.00012341070224525648, "Industry & Production": 0.00010744345328770855, "Language, Literature & Philosophy": 0.00012569027593206493, "Politics & Government": 0.00012303489143246154, "Religion & Spirituality": 0.0001049318598841569, "Science, Mathematics & Engineering": 0.00021725317851590113, "Relationships & Community": 7.561281881614159e-05, "Software Usage & Applications": 0.03441200368143233, "Programming & Software Engineering": 0.9395354780155659, "Sports & Fitness": 0.00013361298670538143, "Vehicles & Transportation": 6.570170047218339e-05, "Travel & Tourism": 0.00011778525982394243, "Other / Uncovered Subject": 0.004806229744264371, "Unknown / Insufficient Content": 0.00016721976107837277}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.00384946213940356, "Art & Design": 0.0008190211451926108, "Law & Crime": 0.07397835804612841, "Education & Careers": 0.0005651625713190742, "Entertainment & Media": 0.0008069261123505915, "Fashion & Beauty": 0.0004353201767935708, "Business, Economics & Finance": 0.0007512231293014347, "Food & Dining": 0.00038875370122505484, "Games & Gaming": 0.0006203309184234253, "Electronics & Hardware": 0.0024864177937785376, "Health, Healthcare & Wellness": 0.0005190617160041318, "History & Geography": 0.0004135845050025292, "Home, Pets & Hobbies": 0.00045585565644623257, "Industry & Production": 0.0003748194999632605, "Language, Literature & Philosophy": 0.0003010200071591463, "Politics & Government": 0.0005574279791294768, "Religion & Spirituality": 0.0005167275353080203, "Science, Mathematics & Engineering": 0.0007431210584495961, "Relationships & Community": 0.0003005763728241057, "Software Usage & Applications": 0.16699572687728365, "Programming & Software Engineering": 0.04996135365689116, "Sports & Fitness": 0.000406664491016437, "Vehicles & Transportation": 0.00020889878452639895, "Travel & Tourism": 0.0005613829955570952, "Other / Uncovered Subject": 0.003508556922266862, "NONE": 0.6894742462082557}}, "probability_diagnostics": {"primary": {"raw_sum": 0.9999999999999997, "mass_delta": -3.3306690738754696e-16, "missing_mass": 3.3306690738754696e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "tertiary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "structured_records": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "procedural_steps": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "worked_solution": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "contextual_dialogue": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "content_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "noise_severity": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "missing_content_severity": {"raw_sum": 0.9999999999999998, "mass_delta": -2.220446049250313e-16, "missing_mass": 2.220446049250313e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "factual_density": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "pretraining_utility": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "math_density": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "code_density": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "reasoning_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "education_level": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "creative_writing_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "primary_topic": {"raw_sum": 0.9999999999999997, "mass_delta": -3.3306690738754696e-16, "missing_mass": 3.3306690738754696e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}}, "usage": {"input_tokens": 9613, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 9613, "cached_share": null, "cache_discount_reported": null, "reported_cost_usd": null}, "response_metadata": {"model": "decision-models/baseten-mammoth-27b-latest"}, "scored_at_utc": "2026-10-25T18:29:08.524242+00:00", "scoring_key_slot": "primary", "dataset_uid": "86ccc9df-5247-4dbf-aa07-82699f268d63", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "73c2fa044d7e7cc263a06770eacfab67068c6fdc8b726835b651c7adc23c3caf", "source_metadata": {"uuid": "86ccc9df-5247-4dbf-aa07-82699f268d63", "repo_name": "s-t-a-n/chtnpw-autounlock-archlivedisk", "relative_path": "buildLiveDisk.sh", "category": "TOOL", "algo_rel_score": 0.7010013461112976, "quality_score": 3.9879889488220215, "source_meta": {"github_metadata": {"branch": "master", "commit_count": 59, "repo_created_at": "2019-02-01T21:22:04.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 0, "forks": 1, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "f43101a40058d1e1702ce7afe8cc3722a73990ba", "size_bytes": 3196, "file_timestamp": 1558801103, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "c351da43d561ed6dc678df018c9c0a9708d5725a"}}, "parsed_source_meta": {"github_metadata": {"branch": "master", "commit_count": 59, "repo_created_at": "2019-02-01T21:22:04.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 0, "forks": 1, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "f43101a40058d1e1702ce7afe8cc3722a73990ba", "size_bytes": 3196, "file_timestamp": 1558801103, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "c351da43d561ed6dc678df018c9c0a9708d5725a", "url": "https://github.com/s-t-a-n/chtnpw-autounlock-archlivedisk/blob/c351da43d561ed6dc678df018c9c0a9708d5725a/buildLiveDisk.sh"}, "gpt4o_tokens": 1059, "dataset_split": "shell", "probability_weighted_scores": {"content_quality": 0.4798195762149732, "noise_severity": 0.09444233007199589, "missing_content_severity": 0.009133577877679499, "factual_density": 3.1361400124130436, "pretraining_utility": 0.23619738168254475, "math_density": 0.14663438668814172, "code_density": 3.877619046957529, "reasoning_density": 0.5031190027033731, "education_level": 2.6186804462679425, "creative_writing_quality": -0.30791416507880487}, "score_applicability": {"education_level": 0.9988124886167538, "creative_writing_quality": 0.0017383173027551435}} {"source_group": "shell", "source": "openbmb/UltraData-Stack-v3-L2/shell", "domain": "github.com", "language": "shell", "url": "https://github.com/QualiSystems/devops-scripts/blob/cceb60c56bbad623b8dec0d8309ea76b4624a0ac/init.ps1", "id": "shell-0-a2812646025ea05c8ee6ac786c06bdf8", "text": "param (\r\n [string]$UserName = 'buser',\r\n [string]$Password,\r\n [switch]$DebugMode,\r\n [string]$CallingScript = 'init.ps1',\r\n [string]$SetupScriptsFolder = $null\r\n)\r\n\r\n$ErrorActionPreference = if ($DebugMode) { 'Inquire' } else { 'Stop' }\r\n\r\nfunction Log([string]$message) {\r\n Write-Host $message\r\n if ($DebugMode) {\r\n Read-Host 'Press enter to continue'\r\n }\r\n}\r\n\r\nfunction Convert-ToClearText([securestring]$secureString) {\r\n $passwordBSTR = [System.Runtime.InteropServices.Marshal]::SecureStringToBSTR($secureString)\r\n return [System.Runtime.InteropServices.Marshal]::PtrToStringAuto($passwordBSTR)\r\n}\r\n\r\nfunction Set-AutoLogon([string]$userName, [SecureString]$password, [string]$domainName) {\r\n $autoLogonRegistryKey = 'HKLM:\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Winlogon'\r\n $passwordInClearText = Convert-ToClearText $password\r\n\r\n Log \"Setting AutoAdminLogon - user: $userName domain; $domainName\"\r\n\r\n Set-ItemProperty -Path $autoLogonRegistryKey -Name 'AutoAdminLogon' -Value '1'\r\n Set-ItemProperty -Path $autoLogonRegistryKey -Name 'DefaultUserName' -Value $userName\r\n Set-ItemProperty -Path $autoLogonRegistryKey -Name 'DefaultPassword' -Value $passwordInClearText\r\n if (-not [string]::IsNullOrEmpty($domainName)) {\r\n Set-ItemProperty -Path $autoLogonRegistryKey -Name 'DefaultDomainName' -Value $domainName\r\n }\r\n}\r\n\r\nfunction New-ScriptFromUrl([string]$url) {\r\n $guid = (New-Guid).ToString('n')\r\n $setupScriptName = \"TCAgentSetup_$guid.ps1\"\r\n $scriptContent = (New-Object System.Net.WebClient).DownloadString($url)\r\n\r\n return New-Item -Force -Path $SetupScriptsFolder -Name $setupScriptName -ItemType 'file' -Value $scriptContent\r\n}\r\n\r\nfunction Set-ScriptToRunOnBoot([string]$scriptUrl, [string]$scriptArguments) {\r\n $registryKey = 'HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\RunOnce'\r\n $registryEntry = 'SetupTCAgent'\r\n $setupScriptPath = New-ScriptFromUrl $scriptUrl\r\n\r\n $command = \"C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe -ExecutionPolicy Bypass -File $setupScriptPath $scriptArguments\"\r\n\r\n Log \"Setting script to run on boot: $command\"\r\n Set-ItemProperty -Path $registryKey -Name $registryEntry -Value $command\r\n}\r\n\r\nfunction Restart {\r\n Log 'Restarting'\r\n Restart-Computer -Force\r\n exit 0\r\n}\r\n\r\nfunction Set-SetupScriptToRunOnBoot([string]$userName, [SecureString]$password) {\r\n $passwordInClearText = Convert-ToClearText $password\r\n $arguments = \"-UserName $userName -Password $passwordInClearText\"\r\n if ($DebugMode) {\r\n $arguments = \"$arguments -DebugMode\"\r\n }\r\n\r\n Set-ScriptToRunOnBoot 'https://raw.githubusercontent.com/QualiSystems/devops-scripts/master/setup_tc_agent.ps1' $arguments\r\n}\r\n\r\nfunction New-Credentials([string]$userName, [string]$password) {\r\n $secureStringPwd = $password | ConvertTo-SecureString -AsPlainText -Force\r\n return New-Object System.Management.Automation.PSCredential -ArgumentList $userName, $secureStringPwd\r\n}\r\n\r\nif ([String]::IsNullOrEmpty($SetupScriptsFolder)) {\r\n $SetupScriptsFolder = Join-Path -Path $Env:ALLUSERSPROFILE -ChildPath 'TcAgentSetup'\r\n New-Item -ItemType Directory -Path $SetupScriptsFolder -Force\r\n Write-Host \"SetupScriptsFolder created at $SetupScriptsFolder\"\r\n}\r\n\r\n$domain = 'qualisystems'\r\n$fullDomainUserName = \"$domain\\$UserName\"\r\n$firstRun = [string]::IsNullOrEmpty($Password)\r\n\r\nif ($firstRun) {\r\n $localUserCredentials = Get-Credential -UserName $Env:USERNAME -Message \"Please enter $($Env:USERNAME) password\"\r\n $domainUserCredentials = Get-Credential -UserName $fullDomainUserName -Message \"Please enter $UserName password\"\r\n $ServerName = Read-Host 'Server Name'\r\n\r\n Log 'Installing Nuget package provider'\r\n Install-PackageProvider -Name NuGet -Force -Confirm:$False\r\n\r\n @('ComputerManagementDsc',\r\n 'xNetworking',\r\n 'xRemoteDesktopAdmin',\r\n 'DSCR_PowerPlan',\r\n 'SqlServer') | foreach {\r\n if ((Get-Module $_ -list) -eq $null) {\r\n Log \"Installing $_\"; Install-Module $_ -Force -Confirm:$False\r\n }\r\n }\r\n\r\n Log 'Setting the time zone'\r\n Set-TimeZone -Id 'Israel Standard Time'\r\n\r\n Log 'Disabling Firewall'\r\n Set-NetFirewallProfile -All -Enabled False -Verbose\r\n\r\n Log 'Enabling samba version 1.0'\r\n Install-WindowsFeature -Name 'FS-SMB1'\r\n\r\n Log 'Disabling server manager at startup'\r\n Get-ScheduledTask -TaskName ServerManager | Disable-ScheduledTask\r\n\r\n Write-Host 'Renaming computer'\r\n Rename-Computer -NewName $ServerName\r\n\r\n $domainUserTextPassword = Convert-ToClearText $domainUserCredentials.Password\r\n Set-AutoLogon $Env:USERNAME $localUserCredentials.Password\r\n\r\n $arguments = \"-UserName $UserName -Password $domainUserTextPassword\"\r\n if ($DebugMode) {\r\n $arguments = \"$arguments -DebugMode\"\r\n }\r\n\r\n Set-ScriptToRunOnBoot -scriptUrl \"https://raw.githubusercontent.com/QualiSystems/devops-scripts/master/$CallingScript\" -scriptArguments $arguments\r\n\r\n return\r\n}\r\n\r\n$domainUserCredentials = New-Credentials -userName $fullDomainUserName -password $Password\r\n\r\nLog 'Joining Domain'\r\nAdd-Computer -ComputerName 'localhost' -DomainName \"$domain.local\" -DomainCredential $domainUserCredentials -Force\r\n\r\nLog \"Adding $UserName to administrators group\"\r\nInvoke-DscResource -Name Group -ModuleName PSDesiredStateConfiguration -Property @{GroupName = 'Administrators'; ensure = 'present'; MembersToInclude = @($fullDomainUserName) } -Method Set\r\n\r\nLog \"Setting auto logon for $UserName\"\r\nSet-AutoLogon $UserName $domainUserCredentials.Password $domain\r\nSet-SetupScriptToRunOnBoot $UserName $domainUserCredentials.Password", "text_preview": "param ( [string]$UserName = 'buser', [string]$Password, [switch]$DebugMode, [string]$CallingScript = 'init.ps1', [string]$SetupScriptsFolder = $null ) $ErrorActionPreference = if ($DebugMode) { 'Inquire' } else { 'Stop' } function Log([stri", "input_sha256": "caad6b52d4f0c185be45e94ef8f4d07aaba741c21c91a9d62edab0c3fcefeba9", "text_sha256": "a2812646025ea05c8ee6ac786c06bdf858be8335332f56b94a07b80cca1d10e8", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 20007, "input_policy": "text-and-optional-url-v1", "label_policy_version": 12, "requested_model": "decision-models/baseten-mammoth-27b-latest", "backend": "baseten", "endpoint": "https://inference.baseten.co/v1/systemone", "status": "ok", "training_eligible": true, "label": {"primary": {"main_format": "Technical Writing", "sub_format": null}, "secondary": null, "tertiary": null, "content_structure": []}, "candidate_label": null, "topic": {"primary": {"main_topic": "Programming & Software Engineering", "sub_topic": null}, "secondary": null}, "scores": {"content_quality": 1, "noise_severity": 0, "missing_content_severity": 0, "factual_density": 4, "pretraining_utility": 1, "math_density": 0, "code_density": 4, "reasoning_density": 0, "education_level": 3, "creative_writing_quality": null}, "score_expectations": {"content_quality": 0.4308475827174135, "noise_severity": 0.007800482331955275, "missing_content_severity": 0.019621271168171743, "factual_density": 3.4419155994038393, "pretraining_utility": 0.3897022555643713, "math_density": 0.011434553136648725, "code_density": 3.8973936712665593, "reasoning_density": 0.3819444034466372, "education_level": 2.761344458601383, "creative_writing_quality": -0.29210945025976953}, "api_choices": {"primary": "Technical Writing", "secondary": "NONE", "tertiary": "NONE", "education_level": "3", "creative_writing_quality": "not_applicable", "primary_topic": "Programming & Software Engineering", "secondary_topic": "NONE"}, "review_reasons": [], "format_slot_diagnostics": {"comparable": true, "secondary_tertiary_identical": false, "secondary_tertiary_max_abs_gap": 0.013928428081421473, "secondary_choice": "NONE", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.9878218263582369, "secondary": 0.9701724944327991, "tertiary": 0.9847065063438477, "structured_records": 0.013129251120761876, "procedural_steps": 0.17420260950371505, "worked_solution": 0.002503560843778844, "contextual_dialogue": 1.7275373037243185e-05, "content_quality": 0.3144526696471911, "noise_severity": 0.993499598056704, "missing_content_severity": 0.9836489406931902, "factual_density": 0.5349296661698659, "pretraining_utility": 0.36552275404127066, "math_density": 0.9904712057194593, "code_density": 0.914494726055466, "reasoning_density": 0.6817129971278024, "education_level": 0.4310202861054638, "creative_writing_quality": 0.9988180841080636, "primary_topic": 0.9650387355860951, "secondary_topic": 0.7393309236505698}, "probability_margin": {"primary": 0.9809122025945983, "secondary": 0.9561462757145108, "tertiary": 0.9777126370319238, "education_level": 0.18404085962282546, "creative_writing_quality": 0.998622440912919, "primary_topic": 0.9367534099126855, "secondary_topic": 0.5652830196310692}, "raw_probabilities": {"primary": {"Academic Writing": 5.9070812350325376e-05, "Content Listing": 5.073170278501443e-05, "Creative Writing": 4.5498378850977835e-05, "Customer Support Page": 3.74033235766021e-05, "Q&A Forum": 3.3932368820636005e-05, "Discussion Thread": 2.1366993283357906e-05, "Comment Section": 3.785407626181894e-05, "Missing Content": 5.257693702011173e-05, "Knowledge Article": 0.00017580745656166997, "Legal Notices": 6.879064823988512e-05, "News Article": 1.5380508756046543e-05, "Organizational Announcement": 2.7122566032643593e-05, "Nonfiction Writing": 2.7939915848919504e-05, "Organizational About Page": 3.205846914805171e-05, "Personal About Page": 2.4635182983238174e-05, "Personal Blog": 2.1560828659706067e-05, "Product Page": 2.0488763861975176e-05, "Spam / Ads": 4.759852166526708e-05, "Structured Data": 0.0005102063604342585, "Technical Writing": 0.988329250259977, "Transcript / Interview": 5.348864833853091e-05, "Tutorial / How-To Guide": 0.007417047665378635, "User Reviews": 1.7211616676765156e-05, "Other / Unknown": 0.002872977994488583}, "secondary": {"Academic Writing": 0.00012754102986490694, "Content Listing": 0.00010220354143693463, "Creative Writing": 0.0001060716495417238, "Customer Support Page": 0.00010223590623264772, "Q&A Forum": 4.788507315618907e-05, "Discussion Thread": 3.466622012995521e-05, "Comment Section": 7.119290110706346e-05, "Missing Content": 0.00014601469695715115, "Knowledge Article": 0.0003338219486330645, "Legal Notices": 0.00010571798580462584, "News Article": 6.340614500391778e-05, "Organizational Announcement": 5.523150813224785e-05, "Nonfiction Writing": 5.220110832590129e-05, "Organizational About Page": 6.639462457591802e-05, "Personal About Page": 5.126592766566288e-05, "Personal Blog": 5.764079380191526e-05, "Product Page": 4.14522034766785e-05, "Spam / Ads": 7.051754978354145e-05, "Structured Data": 0.0008397658938643033, "Technical Writing": 0.010716796663427524, "Transcript / Interview": 9.151851794994994e-05, "Tutorial / How-To Guide": 0.015269031450254912, "User Reviews": 3.211949610743917e-05, "NONE": 0.9714153071647658}, "tertiary": {"Academic Writing": 7.534608161729908e-05, "Content Listing": 9.152131203883643e-05, "Creative Writing": 8.367488524349347e-05, "Customer Support Page": 7.315081355317217e-05, "Q&A Forum": 3.0546288862573e-05, "Discussion Thread": 2.121240761941019e-05, "Comment Section": 5.158404267506524e-05, "Missing Content": 0.00018686538781463786, "Knowledge Article": 0.0003413708867136651, "Legal Notices": 0.00013425039901137912, "News Article": 4.4803552968281154e-05, "Organizational Announcement": 4.264802863446733e-05, "Nonfiction Writing": 4.543479961007918e-05, "Organizational About Page": 6.605767722922952e-05, "Personal About Page": 3.296956389846621e-05, "Personal Blog": 3.732723365467489e-05, "Product Page": 3.575080405983427e-05, "Spam / Ads": 6.818483594009557e-05, "Structured Data": 0.0005655463536785996, "Technical Writing": 0.004906750428974328, "Transcript / Interview": 6.802771903852529e-05, "Tutorial / How-To Guide": 0.007631098214263525, "User Reviews": 2.2143036713081405e-05, "NONE": 0.9853437352461873}, "structured_records": {"false": 0.9868707488792381, "true": 0.013129251120761876}, "procedural_steps": {"false": 0.825797390496285, "true": 0.17420260950371505}, "worked_solution": {"false": 0.9974964391562211, "true": 0.002503560843778844}, "contextual_dialogue": {"false": 0.9999827246269628, "true": 1.7275373037243185e-05}, "content_quality": {"-2": 0.03054118880158927, "-1": 0.14959519142849587, "0": 0.305090657591219, "1": 0.3880207726083039, "2": 0.126752189570392}, "noise_severity": {"0": 0.9939213254142996, "1": 0.004995939127103264, "2": 0.0006400100346247536, "3": 0.00024637856028659994, "4": 0.00019634686368567568}, "missing_content_severity": {"0": 0.9897948823877556, "1": 0.0033972937097449273, "2": 0.004534753846320929, "3": 0.0019378104589296019, "4": 0.00033525959724903785}, "factual_density": {"0": 0.002967120346532878, "1": 0.007218723586238094, "2": 0.0902321999431314, "3": 0.3440953485650523, "4": 0.5554866075590453}, "pretraining_utility": {"-2": 0.019653685424846815, "-1": 0.12694027330496535, "0": 0.37299361690858074, "1": 0.4048749490041838, "2": 0.07553747535742326}, "math_density": {"0": 0.9914945352999226, "1": 0.007071721359721994, "2": 0.000546459994181091, "3": 0.0002792215961326146, "4": 0.0006080617500416764}, "code_density": {"0": 0.00029390944879223663, "1": 0.0005065296035128923, "2": 0.009483890496593891, "3": 0.08094332113454539, "4": 0.9087723493165555}, "reasoning_density": {"0": 0.7859133447352914, "1": 0.0886684026041932, "2": 0.09266192267309145, "3": 0.023073164453434415, "4": 0.009683165533989447}, "education_level": {"none": 0.0012774876258207415, "0": 0.0017781539637602897, "1": 0.006830520799592144, "2": 0.34180937879839435, "3": 0.5258502384212198, "4": 0.1224542203912126}, "creative_writing_quality": {"not_applicable": 0.999015070090053, "-2": 0.00015593436070374537, "-1": 0.0002331494634293022, "0": 0.0003926291771340314, "1": 0.000149122967062545, "2": 5.409394161758255e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 0.00012231640682920831, "Art & Design": 0.0001152818940526728, "Law & Crime": 0.0005685413068017112, "Education & Careers": 9.423330082814379e-05, "Entertainment & Media": 6.87940578987275e-05, "Fashion & Beauty": 6.676064937742747e-05, "Business, Economics & Finance": 0.00018124932549870267, "Food & Dining": 7.052385720590263e-05, "Games & Gaming": 0.00010749220753429805, "Electronics & Hardware": 0.0007996832170638436, "Health, Healthcare & Wellness": 7.434989239291431e-05, "History & Geography": 9.608757914919044e-05, "Home, Pets & Hobbies": 8.03738084323595e-05, "Industry & Production": 0.00011023152880139287, "Language, Literature & Philosophy": 7.457375859627714e-05, "Politics & Government": 7.814998214877755e-05, "Religion & Spirituality": 7.570569586553393e-05, "Science, Mathematics & Engineering": 0.0002789684999874706, "Relationships & Community": 5.4592117200047236e-05, "Software Usage & Applications": 0.029629989689328975, "Programming & Software Engineering": 0.9663833996020145, "Sports & Fitness": 9.343761888232593e-05, "Vehicles & Transportation": 4.279234473528225e-05, "Travel & Tourism": 7.576094792993559e-05, "Other / Uncovered Subject": 0.0005384889550952076, "Unknown / Insufficient Content": 0.00011822175634900791}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0007342115938144475, "Art & Design": 0.00048806807817127656, "Law & Crime": 0.002760577850152077, "Education & Careers": 0.0004648223947263966, "Entertainment & Media": 0.00048811369518602765, "Fashion & Beauty": 0.0003313149826920499, "Business, Economics & Finance": 0.0011768258455943782, "Food & Dining": 0.00032586641258844124, "Games & Gaming": 0.00041719611125973856, "Electronics & Hardware": 0.00205679119702655, "Health, Healthcare & Wellness": 0.0003462711950916908, "History & Geography": 0.0004360243853324741, "Home, Pets & Hobbies": 0.0003346868000479627, "Industry & Production": 0.00038837438847979264, "Language, Literature & Philosophy": 0.00023383406010907054, "Politics & Government": 0.0004188828967112655, "Religion & Spirituality": 0.0004082506370026195, "Science, Mathematics & Engineering": 0.0008822032602682622, "Relationships & Community": 0.00023353086325493904, "Software Usage & Applications": 0.18407363772524798, "Programming & Software Engineering": 0.051483988935549424, "Sports & Fitness": 0.0002805739770964932, "Vehicles & Transportation": 0.00017018990625720796, "Travel & Tourism": 0.0004886111040507193, "Other / Uncovered Subject": 0.0012204943479716035, "NONE": 0.7493566573563172}}, "probabilities": {"primary": {"Academic Writing": 5.9070812350325376e-05, "Content Listing": 5.073170278501443e-05, "Creative Writing": 4.5498378850977835e-05, "Customer Support Page": 3.74033235766021e-05, "Q&A Forum": 3.3932368820636005e-05, "Discussion Thread": 2.1366993283357906e-05, "Comment Section": 3.785407626181894e-05, "Missing Content": 5.257693702011173e-05, "Knowledge Article": 0.00017580745656166997, "Legal Notices": 6.879064823988512e-05, "News Article": 1.5380508756046543e-05, "Organizational Announcement": 2.7122566032643593e-05, "Nonfiction Writing": 2.7939915848919504e-05, "Organizational About Page": 3.205846914805171e-05, "Personal About Page": 2.4635182983238174e-05, "Personal Blog": 2.1560828659706067e-05, "Product Page": 2.0488763861975176e-05, "Spam / Ads": 4.759852166526708e-05, "Structured Data": 0.0005102063604342585, "Technical Writing": 0.988329250259977, "Transcript / Interview": 5.348864833853091e-05, "Tutorial / How-To Guide": 0.007417047665378635, "User Reviews": 1.7211616676765156e-05, "Other / Unknown": 0.002872977994488583}, "secondary": {"Academic Writing": 0.00012754102986490697, "Content Listing": 0.00010220354143693464, "Creative Writing": 0.00010607164954172381, "Customer Support Page": 0.00010223590623264773, "Q&A Forum": 4.7885073156189073e-05, "Discussion Thread": 3.4666220129955215e-05, "Comment Section": 7.119290110706347e-05, "Missing Content": 0.00014601469695715117, "Knowledge Article": 0.00033382194863306456, "Legal Notices": 0.00010571798580462586, "News Article": 6.340614500391779e-05, "Organizational Announcement": 5.5231508132247854e-05, "Nonfiction Writing": 5.22011083259013e-05, "Organizational About Page": 6.639462457591803e-05, "Personal About Page": 5.1265927665662885e-05, "Personal Blog": 5.764079380191527e-05, "Product Page": 4.145220347667851e-05, "Spam / Ads": 7.051754978354146e-05, "Structured Data": 0.0008397658938643035, "Technical Writing": 0.010716796663427525, "Transcript / Interview": 9.151851794994995e-05, "Tutorial / How-To Guide": 0.015269031450254914, "User Reviews": 3.2119496107439176e-05, "NONE": 0.9714153071647659}, "tertiary": {"Academic Writing": 7.534608161729908e-05, "Content Listing": 9.152131203883643e-05, "Creative Writing": 8.367488524349347e-05, "Customer Support Page": 7.315081355317217e-05, "Q&A Forum": 3.0546288862573e-05, "Discussion Thread": 2.121240761941019e-05, "Comment Section": 5.158404267506524e-05, "Missing Content": 0.00018686538781463786, "Knowledge Article": 0.0003413708867136651, "Legal Notices": 0.00013425039901137912, "News Article": 4.4803552968281154e-05, "Organizational Announcement": 4.264802863446733e-05, "Nonfiction Writing": 4.543479961007918e-05, "Organizational About Page": 6.605767722922952e-05, "Personal About Page": 3.296956389846621e-05, "Personal Blog": 3.732723365467489e-05, "Product Page": 3.575080405983427e-05, "Spam / Ads": 6.818483594009557e-05, "Structured Data": 0.0005655463536785996, "Technical Writing": 0.004906750428974328, "Transcript / Interview": 6.802771903852529e-05, "Tutorial / How-To Guide": 0.007631098214263525, "User Reviews": 2.2143036713081405e-05, "NONE": 0.9853437352461873}, "structured_records": {"false": 0.9868707488792381, "true": 0.013129251120761876}, "procedural_steps": {"false": 0.825797390496285, "true": 0.17420260950371505}, "worked_solution": {"false": 0.9974964391562211, "true": 0.002503560843778844}, "contextual_dialogue": {"false": 0.9999827246269628, "true": 1.7275373037243185e-05}, "content_quality": {"-2": 0.03054118880158927, "-1": 0.14959519142849587, "0": 0.305090657591219, "1": 0.3880207726083039, "2": 0.126752189570392}, "noise_severity": {"0": 0.9939213254142997, "1": 0.004995939127103265, "2": 0.0006400100346247537, "3": 0.0002463785602866, "4": 0.0001963468636856757}, "missing_content_severity": {"0": 0.9897948823877556, "1": 0.0033972937097449273, "2": 0.004534753846320929, "3": 0.0019378104589296019, "4": 0.00033525959724903785}, "factual_density": {"0": 0.002967120346532878, "1": 0.007218723586238094, "2": 0.0902321999431314, "3": 0.3440953485650523, "4": 0.5554866075590453}, "pretraining_utility": {"-2": 0.019653685424846815, "-1": 0.12694027330496535, "0": 0.37299361690858074, "1": 0.4048749490041838, "2": 0.07553747535742326}, "math_density": {"0": 0.9914945352999226, "1": 0.007071721359721994, "2": 0.000546459994181091, "3": 0.0002792215961326146, "4": 0.0006080617500416764}, "code_density": {"0": 0.0002939094487922367, "1": 0.0005065296035128924, "2": 0.009483890496593893, "3": 0.0809433211345454, "4": 0.9087723493165556}, "reasoning_density": {"0": 0.7859133447352915, "1": 0.08866840260419322, "2": 0.09266192267309147, "3": 0.02307316445343442, "4": 0.009683165533989449}, "education_level": {"none": 0.0012774876258207417, "0": 0.0017781539637602899, "1": 0.006830520799592145, "2": 0.3418093787983944, "3": 0.5258502384212199, "4": 0.12245422039121262}, "creative_writing_quality": {"not_applicable": 0.9990150700900527, "-2": 0.00015593436070374534, "-1": 0.00023314946342930214, "0": 0.0003926291771340313, "1": 0.00014912296706254497, "2": 5.4093941617582536e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 0.00012231640682920834, "Art & Design": 0.00011528189405267283, "Law & Crime": 0.0005685413068017113, "Education & Careers": 9.423330082814381e-05, "Entertainment & Media": 6.879405789872751e-05, "Fashion & Beauty": 6.676064937742749e-05, "Business, Economics & Finance": 0.0001812493254987027, "Food & Dining": 7.052385720590264e-05, "Games & Gaming": 0.00010749220753429808, "Electronics & Hardware": 0.0007996832170638438, "Health, Healthcare & Wellness": 7.434989239291433e-05, "History & Geography": 9.608757914919047e-05, "Home, Pets & Hobbies": 8.037380843235952e-05, "Industry & Production": 0.0001102315288013929, "Language, Literature & Philosophy": 7.457375859627715e-05, "Politics & Government": 7.814998214877756e-05, "Religion & Spirituality": 7.570569586553394e-05, "Science, Mathematics & Engineering": 0.00027896849998747063, "Relationships & Community": 5.459211720004725e-05, "Software Usage & Applications": 0.02962998968932898, "Programming & Software Engineering": 0.9663833996020147, "Sports & Fitness": 9.343761888232595e-05, "Vehicles & Transportation": 4.279234473528226e-05, "Travel & Tourism": 7.57609479299356e-05, "Other / Uncovered Subject": 0.0005384889550952077, "Unknown / Insufficient Content": 0.00011822175634900794}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0007342115938144475, "Art & Design": 0.00048806807817127656, "Law & Crime": 0.002760577850152077, "Education & Careers": 0.0004648223947263966, "Entertainment & Media": 0.00048811369518602765, "Fashion & Beauty": 0.0003313149826920499, "Business, Economics & Finance": 0.0011768258455943782, "Food & Dining": 0.00032586641258844124, "Games & Gaming": 0.00041719611125973856, "Electronics & Hardware": 0.00205679119702655, "Health, Healthcare & Wellness": 0.0003462711950916908, "History & Geography": 0.0004360243853324741, "Home, Pets & Hobbies": 0.0003346868000479627, "Industry & Production": 0.00038837438847979264, "Language, Literature & Philosophy": 0.00023383406010907054, "Politics & Government": 0.0004188828967112655, "Religion & Spirituality": 0.0004082506370026195, "Science, Mathematics & Engineering": 0.0008822032602682622, "Relationships & Community": 0.00023353086325493904, "Software Usage & Applications": 0.18407363772524798, "Programming & Software Engineering": 0.051483988935549424, "Sports & Fitness": 0.0002805739770964932, "Vehicles & Transportation": 0.00017018990625720796, "Travel & Tourism": 0.0004886111040507193, "Other / Uncovered Subject": 0.0012204943479716035, "NONE": 0.7493566573563172}}, "probability_diagnostics": {"primary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "tertiary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "structured_records": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "procedural_steps": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "worked_solution": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "contextual_dialogue": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "content_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "noise_severity": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "missing_content_severity": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "factual_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "pretraining_utility": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "math_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "code_density": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "reasoning_density": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "education_level": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "creative_writing_quality": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "primary_topic": {"raw_sum": 0.9999999999999998, "mass_delta": -2.220446049250313e-16, "missing_mass": 2.220446049250313e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}}, "usage": {"input_tokens": 9980, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 9980, "cached_share": null, "cache_discount_reported": null, "reported_cost_usd": null}, "response_metadata": {"model": "decision-models/baseten-mammoth-27b-latest"}, "scored_at_utc": "2026-10-25T18:29:09.344047+00:00", "scoring_key_slot": "assistant_1", "dataset_uid": "b3f2f734-fa8a-4c6e-a6e9-6ed6e00559a5", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "7638f6a11576948d00c0a90533ff57e3574aff61906844731d0012909ac46e57", "source_metadata": {"uuid": "b3f2f734-fa8a-4c6e-a6e9-6ed6e00559a5", "repo_name": "QualiSystems/devops-scripts", "relative_path": "init.ps1", "category": "TOOL", "algo_rel_score": 0.9738561511039734, "quality_score": 3.301651954650879, "source_meta": {"github_metadata": {"branch": "master", "commit_count": 87, "repo_created_at": "2019-12-08T11:48:52.000Z", "is_fork": false, "is_org_owned": true, "forked_from": null, "stars": 0, "forks": 0, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "65d118b6d46d5595efb2e0fc1123ec78ccb3dc27", "size_bytes": 5700, "file_timestamp": 1616415278, "language": "powershell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "cceb60c56bbad623b8dec0d8309ea76b4624a0ac"}}, "parsed_source_meta": {"github_metadata": {"branch": "master", "commit_count": 87, "repo_created_at": "2019-12-08T11:48:52.000Z", "is_fork": false, "is_org_owned": true, "forked_from": null, "stars": 0, "forks": 0, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "65d118b6d46d5595efb2e0fc1123ec78ccb3dc27", "size_bytes": 5700, "file_timestamp": 1616415278, "language": "powershell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "cceb60c56bbad623b8dec0d8309ea76b4624a0ac", "url": "https://github.com/QualiSystems/devops-scripts/blob/cceb60c56bbad623b8dec0d8309ea76b4624a0ac/init.ps1"}, "gpt4o_tokens": 1470, "dataset_split": "shell", "probability_weighted_scores": {"content_quality": 0.4308475827174135, "noise_severity": 0.007800482331955275, "missing_content_severity": 0.019621271168171743, "factual_density": 3.4419155994038393, "pretraining_utility": 0.3897022555643713, "math_density": 0.011434553136648725, "code_density": 3.8973936712665593, "reasoning_density": 0.3819444034466372, "education_level": 2.761344458601383, "creative_writing_quality": -0.29210945025976953}, "score_applicability": {"education_level": 0.9987225123741794, "creative_writing_quality": 0.0009849299099472064}} {"source_group": "shell", "source": "openbmb/UltraData-Stack-v3-L2/shell", "domain": "github.com", "language": "shell", "url": "https://github.com/assaultcube/AC/blob/13f0d8eea4822dee5c976661218d022be74342e3/source/dev_tools/package_assaultcube.sh", "id": "shell-0-65d70f281ec516f2104875a124186fc3", "text": "#!/bin/bash\n\n# Before creating compressed package complete this checklist (main points):\n# * Patch the source code/package with any relevant materials.\n# * Set the makefile to strip symbols.\n# * Compile new 32/64-bit binaries and put them in their appropriate ./bin_unix location.\n# * Delete all unnecessary files/folders.\n\n# ** CHANGE THE BELOW VARIABLES BEFORE EXECUTING THE SCRIPT ** #\n\n#PATHTOACDEV=$(dirname $(cd ../ && pwd))\n# Please ensure this path is NOT inside your \"ACDIR\" folder, as\n# this will be the place the tarball package gets saved.\nSAVETARBALLPATH=~/AssaultCube\n# This will be the directory that gets packaged:\nACDIR=$SAVETARBALLPATH/AC\nACDIRTESTING=$SAVETARBALLPATH/AC_testing\nACDOCSDIR=$ACDIR/docs\nNEWACTAG=$(git describe --tags --abbrev=0)\nNEWACVERSION=$(echo $NEWACTAG |awk '{ print substr($0,2)}')\n\n# KSH won't work, as this script uses echo throughout it, echo's options are shell-specific:\nif [ -z \"$BASH\" ]; then\n echo \"FAILURE: Please run this script with BASH (bash $0), not SH/KSH/ZSH, etc.\"\n exit\nfi\n\n# Set auto-aliases:\nACDIRFOLDERNAME=`basename $ACDIR`\n\n# Create folder for new AC release:\nif [ ! -d \"$ACDIR\" ]; then\n mkdir -p \"$ACDIR\"\nelse\n rm -r \"$ACDIR\"\n mkdir -p \"$ACDIR\"\nfi\n\n# Create folder for compiling binaries for new AC release:\nif [ ! -d \"$ACDIRTESTING\" ]; then\n mkdir \"$ACDIRTESTING\"\nelse\n rm -r \"$ACDIRTESTING\"\n mkdir \"$ACDIRTESTING\"\nfi\n\n# Get AC files from latest local release tag:\ncd ../../\ngit archive --format=tar.gz --output \"$ACDIR/$NEWACTAG.tar.gz\" $NEWACTAG\ncd \"$ACDIR\"\ntar -zxf \"$ACDIR/$NEWACTAG.tar.gz\"\ntar -zxf \"$ACDIR/$NEWACTAG.tar.gz\" -C \"$ACDIRTESTING\"\nrm -r \"$ACDIR/$NEWACTAG.tar.gz\"\n\n# Use new, \"portable\" profile in \"$ACDIRTESTING\":\nsed -i 's/--home=.*\\s/--home=profile /' $ACDIRTESTING/assaultcube.sh\n\n# Get documentation files from latest remote release tag:\nsvn export --force https://github.com/assaultcube/assaultcube.github.io/tags/$NEWACTAG/htdocs/docs/ $ACDOCSDIR\n\n# Start of the script, so remind the user of things we can't check:\necho -e \"\\033[1mIf required, did you patch the source with any relevant materials?\\033[0m\"\necho \" * Press ENTER to continue, otherwise press ctrl+c to exit.\"\nread DUMMY\necho -e \"\\033[1mDid you compile 32- and 64-bit binaries in $ACDIRTESTING and strip symbols when compiling?\\033[0m\"\necho \" * If so, press ENTER to continue, otherwise press ctrl+c to exit.\"\nread DUMMY\necho -e \"\\033[1mDid you renamed filenames of created binaries to linux_* and linux_64_*?\\033[0m\"\necho \" * If so, press ENTER to continue, otherwise press ctrl+c to exit.\"\nread DUMMY\necho -e \"\\033[1mDid you generate fresh config/mapmodelattributes.cfg (/loadallmapmodels)?\\033[0m\"\necho \" * If so, press ENTER to continue, otherwise press ctrl+c to exit.\"\nread DUMMY\necho -e \"\\033[1mIs the save-path in assaultcube.sh correct?\\033[0m\"\necho \" * If so, press ENTER to continue, otherwise press ctrl+c to exit.\"\nread DUMMY\necho -e \"\\033[1mHave you checked all following variables in this script are set correctly?\\033[0m\"\necho -e \" * The packages created by this script will be saved to this folder:\\n $SAVETARBALLPATH\"\necho -e \" * The absolute-path to your AssaultCube directory is set as:\\n $ACDIR\"\necho -e \" * The absolute-path to your AssaultCube \\\"docs\\\" directory is set as:\\n $ACDOCSDIR\"\necho -e \" * Your new AssaultCube version will become:\\n $NEWACVERSION\\n\"\necho -e \"\\033[1mIf these are correct, press ENTER to continue, otherwise press ctrl+c to exit.\\033[0m\"\nread DUMMY\n\n# Still at the start of the script, so find user-errors that we can check:\n# Checking \"$ACDIR\" is set correctly:\nif [ -e $ACDIR/source/src/main.cpp ]; then\n echo \"Stated path to AssaultCube contains \\\"source/src/main.cpp\\\"\"\n echo \"Hopefully this means the path is correct and contained files are good.\"\n echo -e \"Proceeding to the next step...\\n\"\nelse\n echo -e \"\\033[1;31mERROR:\\033[0m \\\"source/src/main.cpp\\\" did NOT exist at the ACDIR alias.\"\n echo \"Open this shell file and modify that alias to fix it.\"\n exit\nfi\n\n# Checking \"$ACDOCSDIR\" is set correctly:\nif [ -e $ACDOCSDIR/reference.xml ]; then\n echo \"Stated path to AssaultCube's documentation contains \\\"reference.xml\\\"\"\n echo \"Hopefully this means the path is correct and contained files are good.\"\n echo -e \"Proceeding to the next step...\\n\"\nelse\n echo -e \"\\033[1;31mERROR:\\033[0m \\\"reference.xml\\\" does NOT exist in %ACDOCSDIR.\"\n echo \"Copy documentation to that folder to fix it.\"\n exit\nfi\n\n# Check that linux binaries have been created today:\ncp -v -i $ACDIRTESTING/bin_unix/linux* $ACDIR/bin_unix\ncheckbinaries() {\n BINARYFILES=`cd $ACDIR/bin_unix && find ./linux_* -mtime 0 | sort | xargs`\n}\ncheckbinaries\nuntil [ \"$BINARYFILES\" = \"./linux_64_client ./linux_64_server ./linux_client ./linux_server\" ]; do\n echo -e \"\\033[1;31mERROR:\\033[0m Timestamps on binary files are older than 24 hours or they're missing.\"\n echo \"Please add new 32/64-bit binaries.\"\n read DUMMY\n checkbinaries\ndone\necho \"All binaries have been compiled in the last 24 hours. Hopefully this means they're up to date!\"\necho -e \"Proceeding to the next step...\\n\"\n\n# Check that config/mapmodelattributes.cfg has been created today:\ncp -v -i $ACDIRTESTING/profile/config/mapmodelattributes.cfg $ACDIR/config\ncheckmapmodelsattr() {\n MAPMODELATTRFILE=`cd $ACDIR/config && find ./mapmodelattributes.cfg -mtime 0 | xargs`\n}\ncheckmapmodelsattr\nuntil [ \"$MAPMODELATTRFILE\" = \"./mapmodelattributes.cfg\" ]; do\n echo -e \"\\033[1;31mERROR:\\033[0m Timestamp on config/mapmodelattributes.cfg is older than 24 hours or it's missing.\"\n echo \"Please add fresh config/mapmodelattributes.cfg file.\"\n read DUMMY\n checkmapmodelsattr\ndone\necho \"config/mapmodelattributes.cfg has been generated in the last 24 hours. Hopefully this means it's up to date!\"\necho -e \"Proceeding to the next step...\\n\"\n\n# Check that shadows.dat files exist. To grab a list of shadows.dat files:\n# cd ./packages/models && find . -name \"shadows.dat\" | sort\necho -e \"\\033[1mDid you copy shadow files (*.dat) from another working AC installation into $ACDIR?\\033[0m\"\necho -e \" * If not, they will be automatically copied from $ACDIRTESTING\"\necho \" * Press ENTER to continue, otherwise press ctrl+c to exit.\"\nread DUMMY\ncd $ACDIR/packages/models/\nACDIRMODELS_SHADOWS=$ACDIRTESTING/profile/packages/models\nif [ ! -e ./misc/gib01/shadows.dat ]; then cp -v $ACDIRMODELS_SHADOWS/misc/gib01/shadows.dat $(pwd)/misc/gib01/shadows.dat; fi\nif [ ! -e ./misc/gib02/shadows.dat ]; then cp -v $ACDIRMODELS_SHADOWS/misc/gib02/shadows.dat $(pwd)/misc/gib02/shadows.dat; fi\nif [ ! -e ./misc/gib03/shadows.dat ]; then cp -v $ACDIRMODELS_SHADOWS/misc/gib03/shadows.dat $(pwd)/misc/gib03/shadows.dat; fi\nif [ ! -e ./pickups/akimbo/shadows.dat ]; then cp -v $ACDIRMODELS_SHADOWS/pickups/akimbo/shadows.dat $(pwd)/pickups/akimbo/shadows.dat; fi\nif [ ! -e ./pickups/ammobox/shadows.dat ]; then cp -v $ACDIRMODELS_SHADOWS/pickups/ammobox/shadows.dat $(pwd)/pickups/ammobox/shadows.dat; fi\nif [ ! -e ./pickups/health/shadows.dat ]; then cp -v $ACDIRMODELS_SHADOWS/pickups/health/shadows.dat $(pwd)/pickups/health/shadows.dat; fi\nif [ ! -e ./pickups/helmet/shadows.dat ]; then cp -v $ACDIRMODELS_SHADOWS/pickups/helmet/shadows.dat $(pwd)/pickups/helmet/shadows.dat; fi\nif [ ! -e ./pickups/kevlar/shadows.dat ]; then cp -v $ACDIRMODELS_SHADOWS/pickups/kevlar/shadows.dat $(pwd)/pickups/kevlar/shadows.dat; fi\nif [ ! -e ./pickups/nade/shadows.dat ]; then cp -v $ACDIRMODELS_SHADOWS/pickups/nade/shadows.dat $(pwd)/pickups/nade/shadows.dat; fi\nif [ ! -e ./pickups/pistolclips/shadows.dat ]; then cp -v $ACDIRMODELS_SHADOWS/pickups/pistolclips/shadows.dat $(pwd)/pickups/pistolclips/shadows.dat; fi\nif [ ! -e ./playermodels/shadows.dat ]; then cp -v $ACDIRMODELS_SHADOWS/playermodels/shadows.dat $(pwd)/playermodels/shadows.dat; fi\nif [ ! -e ./weapons/assault/world/shadows.dat ]; then cp -v $ACDIRMODELS_SHADOWS/weapons/assault/world/shadows.dat $(pwd)/weapons/assault/world/shadows.dat; fi\nif [ ! -e ./weapons/carbine/world/shadows.dat ]; then cp -v $ACDIRMODELS_SHADOWS/weapons/carbine/world/shadows.dat $(pwd)/weapons/carbine/world/shadows.dat; fi\nif [ ! -e ./weapons/grenade/static/shadows.dat ]; then cp -v $ACDIRMODELS_SHADOWS/weapons/grenade/static/shadows.dat $(pwd)/weapons/grenade/static/shadows.dat; fi\nif [ ! -e ./weapons/grenade/world/shadows.dat ]; then cp -v $ACDIRMODELS_SHADOWS/weapons/grenade/world/shadows.dat $(pwd)/weapons/grenade/world/shadows.dat; fi\nif [ ! -e ./weapons/knife/world/shadows.dat ]; then cp -v $ACDIRMODELS_SHADOWS/weapons/knife/world/shadows.dat $(pwd)/weapons/knife/world/shadows.dat; fi\nif [ ! -e ./weapons/pistol/world/shadows.dat ]; then cp -v $ACDIRMODELS_SHADOWS/weapons/pistol/world/shadows.dat $(pwd)/weapons/pistol/world/shadows.dat; fi\nif [ ! -e ./weapons/shotgun/world/shadows.dat ]; then cp -v $ACDIRMODELS_SHADOWS/weapons/shotgun/world/shadows.dat $(pwd)/weapons/shotgun/world/shadows.dat; fi\nif [ ! -e ./weapons/sniper/world/shadows.dat ]; then cp -v $ACDIRMODELS_SHADOWS/weapons/sniper/world/shadows.dat $(pwd)/weapons/sniper/world/shadows.dat; fi\nif [ ! -e ./weapons/subgun/world/shadows.dat ]; then cp -v $ACDIRMODELS_SHADOWS/weapons/subgun/world/shadows.dat $(pwd)/weapons/subgun/world/shadows.dat; fi\n\nuntil [ -f ./misc/gib01/shadows.dat ] \\\n && [ -f ./misc/gib02/shadows.dat ] \\\n && [ -f ./misc/gib03/shadows.dat ] \\\n && [ -f ./pickups/akimbo/shadows.dat ] \\\n && [ -f ./pickups/ammobox/shadows.dat ] \\\n && [ -f ./pickups/health/shadows.dat ] \\\n && [ -f ./pickups/helmet/shadows.dat ] \\\n && [ -f ./pickups/kevlar/shadows.dat ] \\\n && [ -f ./pickups/nade/shadows.dat ] \\\n && [ -f ./pickups/pistolclips/shadows.dat ] \\\n && [ -f ./playermodels/shadows.dat ] \\\n && [ -f ./weapons/assault/world/shadows.dat ] \\\n && [ -f ./weapons/carbine/world/shadows.dat ] \\\n && [ -f ./weapons/grenade/static/shadows.dat ] \\\n && [ -f ./weapons/grenade/world/shadows.dat ] \\\n && [ -f ./weapons/knife/world/shadows.dat ] \\\n && [ -f ./weapons/pistol/world/shadows.dat ] \\\n && [ -f ./weapons/shotgun/world/shadows.dat ] \\\n && [ -f ./weapons/sniper/world/shadows.dat ] \\\n && [ -f ./weapons/subgun/world/shadows.dat ]; do\n echo -e \"\\033[1;31mERROR:\\033[0m Some shadows.dat files are missing.\"\n echo \"Please run AssaultCube to generate these files.\"\n read DUMMY\ndone\necho \"All known shadows.dat files exist.\"\necho -e \"Proceeding to the next step...\\n\"\n\n# Check that map previews are all available:\nMAPSPATH=\"$ACDIR/packages/maps/official\"\nMAPSCGZ=`cd $MAPSPATH && find ./*.cgz | xargs -i basename {} .cgz | sort -u | xargs`\nMAPSJPG=`cd $MAPSPATH/preview && find ./*.jpg | xargs -i basename {} .jpg | sort -u | xargs`\nif [ \"$MAPSCGZ\" = \"$MAPSJPG\" ]; then\n echo \"All map \\\"previews\\\" are available!\"\n echo -e \"Proceeding to the next step...\\n\"\nelse\n echo -e \"\\033[1;31mERROR:\\033[0m Some map previews are missing.\"\n echo \"Please go to $MAPSPATH/preview and create the ones that are missing!\"\n exit\nfi\n\n# Check that bot waypoints are all available:\nMAPSCGZ2=`cd $MAPSPATH && find ./*.cgz | xargs -i basename {} .cgz | sort -u | xargs`\nMAPSBOTS=`cd $ACDIR/bot/waypoints && find ./*.wpt | xargs -i basename {} .wpt | sort -u | xargs`\nif [ \"$MAPSBOTS\" = \"$MAPSCGZ2\" ]; then\n echo \"All bot waypoints are available!\"\n echo -e \"Proceeding to the next step...\\n\"\nelse\n echo -e \"\\033[1;31mERROR:\\033[0m Some bot waypoints are missing.\"\n echo \"Please go generate the ones that are missing!\"\n exit\nfi\n\n# Delete stuff related to git and GitHub:\nrm -rf ./.git\nrm -f ./.gitattributes\nrm -f ./.travis.yml\nfind . -type f -name \".gitignore\" -delete\n# Delete gedit backups:\nfind . -type f -name \"*~\" -delete\n\n# Create config template for release:\ncd $ACDIR/config\nzip configtemplates.zip autoexec.cfg favourites.cfg pcksources.cfg\n\n# Clean out crufty files:\necho \"Please wait: Cleaning out some crufty files...\"\ncd $ACDIR/source/enet && make distclean\ncd ../src && make clean\nrm -f init*.cfg saved*.cfg servervita*.cfg servers.cfg history\nrm -f ./clientlog*.txt\nrm -f ./bin_unix/native_*\nrm -f ./bin_unix/ac_*\nrm -f ./packages/maps/dev_*.cgz\nrm -f ./packages/maps/dev_*.cfg\nrm -f ./packages/maps/servermaps/incoming/*.cgz\nrm -f ./packages/maps/servermaps/incoming/*.cfg\nrm -f ./screenshots/*\n# Leave tutorial code here, just in case of future use:\ncd $ACDIR && rm -f `(find ./demos/* -type f | grep -v \"tutorial_demo.dmo\")`\n\n# Set up ./config/securemaps.cfg - just in-case:\necho \"... Generating ./config/securemaps.cfg\"\necho \"resetsecuremaps\" > ./config/securemaps.cfg\nfind ./packages/maps/official/*.cgz | \\\n xargs -i basename {} .cgz | \\\n xargs -i echo -e \"securemap\" {} | \\\n sort -u >> ./config/securemaps.cfg\n\n# update checksum file:\nsh $ACDIR/source/dev_tools/generate_md5_checksums.sh\n\n# Create the linux tarball:\necho \"\\n... Creating the Linux tarball...\"\ncd $SAVETARBALLPATH\nif [ -d \"AssaultCube_v$NEWACVERSION\" ]; then\n rm -r \"AssaultCube_v$NEWACVERSION\"\nfi\nmv $ACDIRFOLDERNAME AssaultCube_v$NEWACVERSION\ntar cjvf $SAVETARBALLPATH/AssaultCube_v$NEWACVERSION.tar.bz2 \\\n --exclude=\".*\" \\\n --exclude=*.bat \\\n --exclude=*bin_win32* \\\n --exclude=*doxygen* \\\n --exclude=\"*source/lib*\" \\\n --exclude=*vcpp* \\\n --exclude=*xcode* \\\n --exclude=*AssaultCube.cbp \\\n --exclude=*autoexec.cfg \\\n --exclude=*favourites.cfg \\\n --exclude=*pcksources.cfg \\\n --exclude=*new_content.cfg \\\n --exclude=*new_content.cgz \\\n --exclude-vcs \\\n AssaultCube_v$NEWACVERSION/\n", "text_preview": "#!/bin/bash # Before creating compressed package complete this checklist (main points): # * Patch the source code/package with any relevant materials. # * Set the makefile to strip symbols. # * Compile new 32/64-bit binaries and put them in", "input_sha256": "cdfc645444e4e8ebbeb73f9100d8401094820e0cbf5824ae12b7f2c10c3d487c", "text_sha256": "65d70f281ec516f2104875a124186fc30c3080d65a191c40f17c07a2cbcdd94d", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 20006, "input_policy": "text-and-optional-url-v1", "label_policy_version": 12, "requested_model": "decision-models/baseten-mammoth-27b-latest", "backend": "baseten", "endpoint": "https://inference.baseten.co/v1/systemone", "status": "ok", "training_eligible": true, "label": {"primary": {"main_format": "Technical Writing", "sub_format": null}, "secondary": null, "tertiary": null, "content_structure": []}, "candidate_label": null, "topic": {"primary": {"main_topic": "Programming & Software Engineering", "sub_topic": null}, "secondary": null}, "scores": {"content_quality": 1, "noise_severity": 0, "missing_content_severity": 0, "factual_density": 3, "pretraining_utility": 1, "math_density": 0, "code_density": 4, "reasoning_density": 0, "education_level": 2, "creative_writing_quality": null}, "score_expectations": {"content_quality": 0.8955201426325762, "noise_severity": 0.12958085610882394, "missing_content_severity": 0.016742076145364895, "factual_density": 3.2111959620040462, "pretraining_utility": 0.39961947816091636, "math_density": 0.004350524382213519, "code_density": 3.8779682192828746, "reasoning_density": 0.899961994029367, "education_level": 2.3007828815500586, "creative_writing_quality": -0.1664454924158679}, "api_choices": {"primary": "Technical Writing", "secondary": "NONE", "tertiary": "NONE", "education_level": "2", "creative_writing_quality": "not_applicable", "primary_topic": "Programming & Software Engineering", "secondary_topic": "NONE"}, "review_reasons": [], "format_slot_diagnostics": {"comparable": true, "secondary_tertiary_identical": false, "secondary_tertiary_max_abs_gap": 0.09234195216590346, "secondary_choice": "NONE", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.9277205415431622, "secondary": 0.6804254939492005, "tertiary": 0.7767823136005781, "structured_records": 0.08940171678083735, "procedural_steps": 0.6460815220738763, "worked_solution": 0.006883545905473955, "contextual_dialogue": 0.00029400466252228226, "content_quality": 0.5415410319784177, "noise_severity": 0.8920159532426467, "missing_content_severity": 0.9860482698788626, "factual_density": 0.4999715784462392, "pretraining_utility": 0.3922314282766378, "math_density": 0.9963745630148221, "code_density": 0.8983068494023955, "reasoning_density": 0.2500316716421941, "education_level": 0.5976481392452436, "creative_writing_quality": 0.9973488813926051, "primary_topic": 0.9389587169831436, "secondary_topic": 0.6045086325395067}, "probability_margin": {"primary": 0.8701607512509296, "secondary": 0.4907009127772627, "tertiary": 0.637467825584341, "education_level": 0.3998256713270512, "creative_writing_quality": 0.9966207781308426, "primary_topic": 0.8900854254289052, "secondary_topic": 0.35498637395734545}, "raw_probabilities": {"primary": {"Academic Writing": 0.00018293866131593892, "Content Listing": 0.00017953577573951487, "Creative Writing": 0.0001397486157173397, "Customer Support Page": 0.00022474088312736222, "Q&A Forum": 9.590201153927553e-05, "Discussion Thread": 7.696703665174961e-05, "Comment Section": 0.00010836281635342856, "Missing Content": 0.00011318202370319955, "Knowledge Article": 0.00034366798270358016, "Legal Notices": 0.00011456751832307497, "News Article": 6.236387554227548e-05, "Organizational Announcement": 0.00012863451935458216, "Nonfiction Writing": 9.04556403717989e-05, "Organizational About Page": 0.00012259867468122874, "Personal About Page": 7.401011139601197e-05, "Personal Blog": 6.840506163965652e-05, "Product Page": 7.135530596741523e-05, "Spam / Ads": 9.049226737155284e-05, "Structured Data": 0.0002991696564834981, "Technical Writing": 0.9307321856455304, "Transcript / Interview": 0.0001406023716902971, "Tutorial / How-To Guide": 0.0605714343946008, "User Reviews": 5.908748788545905e-05, "Other / Unknown": 0.005909591662310425}, "secondary": {"Academic Writing": 0.0007850454854235535, "Content Listing": 0.0012901176261040856, "Creative Writing": 0.0005278785708724779, "Customer Support Page": 0.001747398641965524, "Q&A Forum": 0.0005101421698954785, "Discussion Thread": 0.0002737570425487428, "Comment Section": 0.000860027138842152, "Missing Content": 0.0006069257576690579, "Knowledge Article": 0.0017494954588890502, "Legal Notices": 0.0005516212438109732, "News Article": 0.0003942684109606315, "Organizational Announcement": 0.0004909848421070495, "Nonfiction Writing": 0.000475661943659557, "Organizational About Page": 0.0005412778070349259, "Personal About Page": 0.0003663123803179807, "Personal Blog": 0.00038346141111808275, "Product Page": 0.0003055380276163334, "Spam / Ads": 0.00036245893061487874, "Structured Data": 0.001167546661925572, "Technical Writing": 0.0887555896696177, "Transcript / Interview": 0.0007957569883307177, "Tutorial / How-To Guide": 0.20304018559072112, "User Reviews": 0.00027744983197046234, "NONE": 0.6937410983679838}, "tertiary": {"Academic Writing": 0.0005703075297644741, "Content Listing": 0.0021161152539525374, "Creative Writing": 0.00042947621046329846, "Customer Support Page": 0.002487054612091538, "Q&A Forum": 0.00038831795967562077, "Discussion Thread": 0.00016266975166872577, "Comment Section": 0.0008767963485855672, "Missing Content": 0.0005866575253578025, "Knowledge Article": 0.002660309205267099, "Legal Notices": 0.0006085554660828389, "News Article": 0.00027333960133213165, "Organizational Announcement": 0.00038978333148286296, "Nonfiction Writing": 0.0003203432374043055, "Organizational About Page": 0.000388959157408323, "Personal About Page": 0.0002560454361662262, "Personal Blog": 0.0002499628501453153, "Product Page": 0.0002402321146659972, "Spam / Ads": 0.00028395470863546546, "Structured Data": 0.0011836705855652835, "Technical Writing": 0.04996945550103274, "Transcript / Interview": 0.0006740207602428878, "Tutorial / How-To Guide": 0.1486152249495464, "User Reviews": 0.00018569736957516297, "NONE": 0.7860830505338874}, "structured_records": {"false": 0.9105982832191627, "true": 0.08940171678083735}, "procedural_steps": {"false": 0.35391847792612374, "true": 0.6460815220738763}, "worked_solution": {"false": 0.9931164540945261, "true": 0.006883545905473955}, "contextual_dialogue": {"false": 0.9997059953374777, "true": 0.00029400466252228226}, "content_quality": {"-2": 0.0071897457329216695, "-1": 0.041096437377550935, "0": 0.22355319754279437, "1": 0.5053251672174957, "2": 0.22283545212923742}, "noise_severity": {"0": 0.8956691287361582, "1": 0.08310793236645482, "2": 0.018265445733109138, "3": 0.0018879403809609963, "4": 0.0010695527833169715}, "missing_content_severity": {"0": 0.9877502845913755, "1": 0.008963966469529162, "2": 0.0022990390406752003, "3": 0.0007668079991965938, "4": 0.00021990189922388851}, "factual_density": {"0": 0.004350580579120493, "1": 0.012914424773641457, "2": 0.15553848064558892, "3": 0.4215814800673695, "4": 0.40561503393427956}, "pretraining_utility": {"-2": 0.011945697452723067, "-1": 0.12276557931656447, "0": 0.38348315296226104, "1": 0.41733468815397584, "2": 0.06447088211447552}, "math_density": {"0": 0.9967293971656255, "1": 0.0026870800155740695, "2": 0.00027539677974205127, "3": 0.00011985334907824848, "4": 0.00018827268998015034}, "code_density": {"0": 0.00030018132058564034, "1": 0.000552857704451239, "2": 0.009087061251265245, "3": 0.10099835981889868, "4": 0.8890615399047992}, "reasoning_density": {"0": 0.46842807920897506, "1": 0.2839867761857351, "2": 0.1630495606825551, "3": 0.04826623921241724, "4": 0.036269344710317494}, "education_level": {"none": 0.0011344348884855184, "0": 0.0023616171690876916, "1": 0.031182773935083678, "2": 0.6647067827043697, "3": 0.26488111137731846, "4": 0.03573327992565495}, "creative_writing_quality": {"not_applicable": 0.9977907344938376, "-2": 0.00017242996976270112, "-1": 0.0004861913456877691, "0": 0.0011699563629950244, "1": 0.0002980466552714431, "2": 8.264117244555986e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 0.00018150523407796252, "Art & Design": 0.0001776469597893862, "Law & Crime": 0.0001403375892138924, "Education & Careers": 9.029360355121615e-05, "Entertainment & Media": 0.000386525648060568, "Fashion & Beauty": 7.661814215925262e-05, "Business, Economics & Finance": 0.00013564580818143437, "Food & Dining": 6.499679406075274e-05, "Games & Gaming": 0.05122103320873289, "Electronics & Hardware": 0.00011304394195929956, "Health, Healthcare & Wellness": 5.861080817837973e-05, "History & Geography": 0.00010349932320606313, "Home, Pets & Hobbies": 8.153155244772295e-05, "Industry & Production": 0.00010138253711491828, "Language, Literature & Philosophy": 7.707133437814504e-05, "Politics & Government": 5.065012113896922e-05, "Religion & Spirituality": 7.405299923265783e-05, "Science, Mathematics & Engineering": 0.00012626577393941069, "Relationships & Community": 6.315474621413276e-05, "Software Usage & Applications": 0.004819249382680786, "Programming & Software Engineering": 0.9413064586376381, "Sports & Fitness": 0.00014149877989913715, "Vehicles & Transportation": 4.420005067521996e-05, "Travel & Tourism": 9.793592861891426e-05, "Other / Uncovered Subject": 0.000173075447829354, "Unknown / Insufficient Content": 9.37156470215503e-05}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.001194087823177108, "Art & Design": 0.0010083931249692925, "Law & Crime": 0.0007328377346856451, "Education & Careers": 0.0004009645904401431, "Entertainment & Media": 0.0015684129984564236, "Fashion & Beauty": 0.00036715448535169234, "Business, Economics & Finance": 0.0007002122450098913, "Food & Dining": 0.00032931122297392545, "Games & Gaming": 0.2647334650229495, "Electronics & Hardware": 0.0006898950989370844, "Health, Healthcare & Wellness": 0.0004030540392102529, "History & Geography": 0.00043539426832489304, "Home, Pets & Hobbies": 0.0004873876173045581, "Industry & Production": 0.00041401443553972195, "Language, Literature & Philosophy": 0.0003301037523876861, "Politics & Government": 0.00030709381958373414, "Religion & Spirituality": 0.00045609567426125073, "Science, Mathematics & Engineering": 0.0005615363764771262, "Relationships & Community": 0.0003111879952237789, "Software Usage & Applications": 0.02954671578374, "Programming & Software Engineering": 0.07332939482586952, "Sports & Fitness": 0.0004647229149384569, "Vehicles & Transportation": 0.00021648825526145396, "Travel & Tourism": 0.0006526188523372769, "Other / Uncovered Subject": 0.0006396180622947468, "NONE": 0.6197198389802949}}, "probabilities": {"primary": {"Academic Writing": 0.00018293866131593894, "Content Listing": 0.0001795357757395149, "Creative Writing": 0.00013974861571733972, "Customer Support Page": 0.00022474088312736225, "Q&A Forum": 9.590201153927555e-05, "Discussion Thread": 7.696703665174963e-05, "Comment Section": 0.00010836281635342857, "Missing Content": 0.00011318202370319956, "Knowledge Article": 0.0003436679827035802, "Legal Notices": 0.00011456751832307499, "News Article": 6.236387554227549e-05, "Organizational Announcement": 0.00012863451935458218, "Nonfiction Writing": 9.045564037179891e-05, "Organizational About Page": 0.00012259867468122877, "Personal About Page": 7.401011139601198e-05, "Personal Blog": 6.840506163965653e-05, "Product Page": 7.135530596741525e-05, "Spam / Ads": 9.049226737155285e-05, "Structured Data": 0.00029916965648349816, "Technical Writing": 0.9307321856455305, "Transcript / Interview": 0.00014060237169029712, "Tutorial / How-To Guide": 0.060571434394600804, "User Reviews": 5.9087487885459055e-05, "Other / Unknown": 0.005909591662310426}, "secondary": {"Academic Writing": 0.0007850454854235536, "Content Listing": 0.0012901176261040858, "Creative Writing": 0.000527878570872478, "Customer Support Page": 0.0017473986419655242, "Q&A Forum": 0.0005101421698954786, "Discussion Thread": 0.00027375704254874286, "Comment Section": 0.0008600271388421522, "Missing Content": 0.000606925757669058, "Knowledge Article": 0.0017494954588890505, "Legal Notices": 0.0005516212438109733, "News Article": 0.00039426841096063155, "Organizational Announcement": 0.0004909848421070496, "Nonfiction Writing": 0.00047566194365955707, "Organizational About Page": 0.000541277807034926, "Personal About Page": 0.00036631238031798076, "Personal Blog": 0.0003834614111180828, "Product Page": 0.00030553802761633343, "Spam / Ads": 0.0003624589306148788, "Structured Data": 0.0011675466619255723, "Technical Writing": 0.08875558966961772, "Transcript / Interview": 0.0007957569883307178, "Tutorial / How-To Guide": 0.20304018559072115, "User Reviews": 0.0002774498319704624, "NONE": 0.6937410983679839}, "tertiary": {"Academic Writing": 0.0005703075297644741, "Content Listing": 0.0021161152539525374, "Creative Writing": 0.00042947621046329846, "Customer Support Page": 0.002487054612091538, "Q&A Forum": 0.00038831795967562077, "Discussion Thread": 0.00016266975166872577, "Comment Section": 0.0008767963485855672, "Missing Content": 0.0005866575253578025, "Knowledge Article": 0.002660309205267099, "Legal Notices": 0.0006085554660828389, "News Article": 0.00027333960133213165, "Organizational Announcement": 0.00038978333148286296, "Nonfiction Writing": 0.0003203432374043055, "Organizational About Page": 0.000388959157408323, "Personal About Page": 0.0002560454361662262, "Personal Blog": 0.0002499628501453153, "Product Page": 0.0002402321146659972, "Spam / Ads": 0.00028395470863546546, "Structured Data": 0.0011836705855652835, "Technical Writing": 0.04996945550103274, "Transcript / Interview": 0.0006740207602428878, "Tutorial / How-To Guide": 0.1486152249495464, "User Reviews": 0.00018569736957516297, "NONE": 0.7860830505338874}, "structured_records": {"false": 0.9105982832191627, "true": 0.08940171678083735}, "procedural_steps": {"false": 0.35391847792612374, "true": 0.6460815220738763}, "worked_solution": {"false": 0.9931164540945261, "true": 0.006883545905473955}, "contextual_dialogue": {"false": 0.9997059953374777, "true": 0.00029400466252228226}, "content_quality": {"-2": 0.0071897457329216695, "-1": 0.041096437377550935, "0": 0.22355319754279437, "1": 0.5053251672174957, "2": 0.22283545212923742}, "noise_severity": {"0": 0.895669128736158, "1": 0.0831079323664548, "2": 0.018265445733109134, "3": 0.0018879403809609959, "4": 0.0010695527833169713}, "missing_content_severity": {"0": 0.9877502845913753, "1": 0.00896396646952916, "2": 0.0022990390406752, "3": 0.0007668079991965936, "4": 0.00021990189922388846}, "factual_density": {"0": 0.0043505805791204935, "1": 0.012914424773641459, "2": 0.15553848064558895, "3": 0.42158148006736956, "4": 0.4056150339342796}, "pretraining_utility": {"-2": 0.011945697452723069, "-1": 0.12276557931656448, "0": 0.3834831529622611, "1": 0.4173346881539759, "2": 0.06447088211447553}, "math_density": {"0": 0.9967293971656255, "1": 0.0026870800155740695, "2": 0.00027539677974205127, "3": 0.00011985334907824848, "4": 0.00018827268998015034}, "code_density": {"0": 0.00030018132058564034, "1": 0.000552857704451239, "2": 0.009087061251265245, "3": 0.10099835981889868, "4": 0.8890615399047992}, "reasoning_density": {"0": 0.46842807920897506, "1": 0.2839867761857351, "2": 0.1630495606825551, "3": 0.04826623921241724, "4": 0.036269344710317494}, "education_level": {"none": 0.0011344348884855184, "0": 0.0023616171690876916, "1": 0.031182773935083678, "2": 0.6647067827043697, "3": 0.26488111137731846, "4": 0.03573327992565495}, "creative_writing_quality": {"not_applicable": 0.9977907344938376, "-2": 0.00017242996976270112, "-1": 0.0004861913456877691, "0": 0.0011699563629950244, "1": 0.0002980466552714431, "2": 8.264117244555986e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 0.00018150523407796252, "Art & Design": 0.0001776469597893862, "Law & Crime": 0.0001403375892138924, "Education & Careers": 9.029360355121615e-05, "Entertainment & Media": 0.000386525648060568, "Fashion & Beauty": 7.661814215925262e-05, "Business, Economics & Finance": 0.00013564580818143437, "Food & Dining": 6.499679406075274e-05, "Games & Gaming": 0.05122103320873289, "Electronics & Hardware": 0.00011304394195929956, "Health, Healthcare & Wellness": 5.861080817837973e-05, "History & Geography": 0.00010349932320606313, "Home, Pets & Hobbies": 8.153155244772295e-05, "Industry & Production": 0.00010138253711491828, "Language, Literature & Philosophy": 7.707133437814504e-05, "Politics & Government": 5.065012113896922e-05, "Religion & Spirituality": 7.405299923265783e-05, "Science, Mathematics & Engineering": 0.00012626577393941069, "Relationships & Community": 6.315474621413276e-05, "Software Usage & Applications": 0.004819249382680786, "Programming & Software Engineering": 0.9413064586376381, "Sports & Fitness": 0.00014149877989913715, "Vehicles & Transportation": 4.420005067521996e-05, "Travel & Tourism": 9.793592861891426e-05, "Other / Uncovered Subject": 0.000173075447829354, "Unknown / Insufficient Content": 9.37156470215503e-05}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.001194087823177108, "Art & Design": 0.0010083931249692925, "Law & Crime": 0.0007328377346856451, "Education & Careers": 0.0004009645904401431, "Entertainment & Media": 0.0015684129984564236, "Fashion & Beauty": 0.00036715448535169234, "Business, Economics & Finance": 0.0007002122450098913, "Food & Dining": 0.00032931122297392545, "Games & Gaming": 0.2647334650229495, "Electronics & Hardware": 0.0006898950989370844, "Health, Healthcare & Wellness": 0.0004030540392102529, "History & Geography": 0.00043539426832489304, "Home, Pets & Hobbies": 0.0004873876173045581, "Industry & Production": 0.00041401443553972195, "Language, Literature & Philosophy": 0.0003301037523876861, "Politics & Government": 0.00030709381958373414, "Religion & Spirituality": 0.00045609567426125073, "Science, Mathematics & Engineering": 0.0005615363764771262, "Relationships & Community": 0.0003111879952237789, "Software Usage & Applications": 0.02954671578374, "Programming & Software Engineering": 0.07332939482586952, "Sports & Fitness": 0.0004647229149384569, "Vehicles & Transportation": 0.00021648825526145396, "Travel & Tourism": 0.0006526188523372769, "Other / Uncovered Subject": 0.0006396180622947468, "NONE": 0.6197198389802949}}, "probability_diagnostics": {"primary": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "tertiary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "structured_records": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "procedural_steps": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "worked_solution": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "contextual_dialogue": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "content_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "noise_severity": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "missing_content_severity": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "factual_density": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "pretraining_utility": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "math_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "code_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "reasoning_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "education_level": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "creative_writing_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "primary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}}, "usage": {"input_tokens": 12779, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 12779, "cached_share": null, "cache_discount_reported": null, "reported_cost_usd": null}, "response_metadata": {"model": "decision-models/baseten-mammoth-27b-latest"}, "scored_at_utc": "2026-10-25T18:29:10.654102+00:00", "scoring_key_slot": "assistant_1", "dataset_uid": "5839d7a8-02e5-4eab-8725-8b5f27a62b2d", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "5318448fc5d64ab931d4bf1c8e7ac5ea42eae1e2197488cd90608cca774b4614", "source_metadata": {"uuid": "5839d7a8-02e5-4eab-8725-8b5f27a62b2d", "repo_name": "assaultcube/AC", "relative_path": "source/dev_tools/package_assaultcube.sh", "category": "TOOL", "algo_rel_score": 0.9952216744422913, "quality_score": 3.939100503921509, "source_meta": {"github_metadata": {"branch": "master", "commit_count": 8278, "repo_created_at": "2013-12-11T09:01:48.000Z", "is_fork": false, "is_org_owned": true, "forked_from": null, "stars": 935, "forks": 231, "issues": 163, "pull_requests": 10}, "file_meta": {"content_id": "931a9e8e5dcdc8c310e47c11085c7635d271c78d", "size_bytes": 13413, "file_timestamp": 1687023557, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "13f0d8eea4822dee5c976661218d022be74342e3"}}, "parsed_source_meta": {"github_metadata": {"branch": "master", "commit_count": 8278, "repo_created_at": "2013-12-11T09:01:48.000Z", "is_fork": false, "is_org_owned": true, "forked_from": null, "stars": 935, "forks": 231, "issues": 163, "pull_requests": 10}, "file_meta": {"content_id": "931a9e8e5dcdc8c310e47c11085c7635d271c78d", "size_bytes": 13413, "file_timestamp": 1687023557, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "13f0d8eea4822dee5c976661218d022be74342e3", "url": "https://github.com/assaultcube/AC/blob/13f0d8eea4822dee5c976661218d022be74342e3/source/dev_tools/package_assaultcube.sh"}, "gpt4o_tokens": 4082, "dataset_split": "shell", "probability_weighted_scores": {"content_quality": 0.8955201426325762, "noise_severity": 0.12958085610882397, "missing_content_severity": 0.016742076145364895, "factual_density": 3.2111959620040462, "pretraining_utility": 0.39961947816091636, "math_density": 0.004350524382213519, "code_density": 3.8779682192828746, "reasoning_density": 0.899961994029367, "education_level": 2.3007828815500586, "creative_writing_quality": -0.1664454924158679}, "score_applicability": {"education_level": 0.9988655651115145, "creative_writing_quality": 0.0022092655061624975}} {"source_group": "shell", "source": "openbmb/UltraData-Stack-v3-L2/shell", "domain": "github.com", "language": "shell", "url": "https://github.com/joe-shenouda/Windows-Security-Checks/blob/bb32dc3efbc66f5405623a0424e6323fd5287ba7/check.ps1", "id": "shell-0-453e49d8867b37f6646c867f3e8af384", "text": "# Security Checks PowerShell Script\r\n\r\n# Check 1 - Windows Defender Status\r\n$defenderStatus = Get-MpComputerStatus\r\nif ($defenderStatus.AntivirusEnabled) {\r\n Write-Host \"Windows Defender is enabled and running.\" -ForegroundColor Green\r\n} else {\r\n Write-Host \"Windows Defender is not enabled or not running.\" -ForegroundColor Red\r\n}\r\n\r\n# Check 2 - Firewall Status\r\n$firewallStatus = Get-NetFirewallProfile | Select-Object Name,Enabled\r\nif ($firewallStatus.Enabled) {\r\n Write-Host \"Windows Firewall is enabled and running.\" -ForegroundColor Green\r\n} else {\r\n Write-Host \"Windows Firewall is not enabled or not running.\" -ForegroundColor Red\r\n}\r\n\r\n# Check 3 - User Account Control (UAC) Status\r\n$uacStatus = (Get-ItemProperty -Path 'HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\System').ConsentPromptBehaviorAdmin\r\nswitch ($uacStatus) {\r\n 0 {Write-Host \"UAC is disabled.\" -ForegroundColor Red}\r\n 2 {Write-Host \"UAC is set to prompt for consent on the secure desktop.\" -ForegroundColor Green}\r\n 5 {Write-Host \"UAC is set to prompt for consent.\" -ForegroundColor Green}\r\n default {Write-Host \"Unknown UAC status.\" -ForegroundColor Yellow}\r\n}\r\n\r\n# Check 4 - Automatic Updates Status\r\n$automaticUpdatesStatus = (Get-ItemProperty 'HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\WindowsUpdate\\Auto Update').AUOptions\r\nswitch ($automaticUpdatesStatus) {\r\n 1 {Write-Host \"Automatic updates are disabled.\" -ForegroundColor Red}\r\n 2 {Write-Host \"Automatic updates are set to notify for download and notify for install.\" -ForegroundColor Green}\r\n 3 {Write-Host \"Automatic updates are set to download and notify for install.\" -ForegroundColor Green}\r\n 4 {Write-Host \"Automatic updates are set to automatic download and scheduled installation.\" -ForegroundColor Green}\r\n default {Write-Host \"Unknown automatic updates status.\" -ForegroundColor Yellow}\r\n}\r\n\r\n# Check 5 - BitLocker Status\r\n$bitlockerStatus = Get-BitLockerVolume | Select-Object -ExpandProperty VolumeStatus\r\nif ($bitlockerStatus -eq 'FullyEncrypted') {\r\n Write-Host \"BitLocker is enabled and the system drive is fully encrypted.\" -ForegroundColor Green\r\n} else {\r\n Write-Host \"BitLocker is not enabled or the system drive is not fully encrypted.\" -ForegroundColor Red\r\n}\r\n\r\n# Check 6 - Guest Account Status\r\n$guestAccountStatus = Get-WmiObject -Class Win32_UserAccount -Filter \"Name='Guest'\"\r\nif ($guestAccountStatus.Disabled) {\r\n Write-Host \"The Guest account is disabled.\" -ForegroundColor Green\r\n} else {\r\n Write-Host \"The Guest account is enabled.\" -ForegroundColor Red\r\n}\r\n\r\n# Check 7 - Network Sharing Status\r\n$networkSharingStatus = Get-NetAdapterBinding | Where-Object {$_.ComponentID -eq 'ms_server'}\r\nif ($networkSharingStatus.Enabled) {\r\n Write-Host \"Network sharing is enabled.\" -ForegroundColor Red\r\n} else {\r\n Write-Host \"Network sharing is disabled.\" -ForegroundColor Green\r\n}\r\n\r\n# Check 8 - PowerShell Execution Policy\r\n$executionPolicy = Get-ExecutionPolicy\r\nif ($executionPolicy -eq 'RemoteSigned' -or $executionPolicy -eq 'AllSigned') {\r\n Write-Host \"PowerShell execution policy is set to $executionPolicy.\" -ForegroundColor Green\r\n} else {\r\n Write-Host \"PowerShell execution policy is set to $executionPolicy, which is not secure.\" -ForegroundColor Red\r\n}\r\n\r\n# Check 9 - Secure Boot Status\r\n$secureBootStatus = Confirm-SecureBootUEFI\r\nif ($secureBootStatus) {\r\nWrite-Host \"Secure Boot is enabled.\" -ForegroundColor Green\r\n} else {\r\nWrite-Host \"Secure Boot is not enabled or not supported.\" -ForegroundColor Red\r\n}\r\n\r\n# Check 10 - SMBv1 Status\r\n$smb1Status = Get-WindowsOptionalFeature -Online -FeatureName SMB1Protocol\r\nif ($smb1Status.State -eq 'Disabled') {\r\nWrite-Host \"SMBv1 is disabled.\" -ForegroundColor Green\r\n} else {\r\nWrite-Host \"SMBv1 is enabled.\" -ForegroundColor Red\r\n}\r\n\r\n#Check 11 - RDP Status\r\n$rdpStatus = Get-ItemProperty -Path 'HKLM:\\System\\CurrentControlSet\\Control\\Terminal Server' -Name 'fDenyTSConnections'\r\nif ($rdpStatus.fDenyTSConnections -eq 1) {\r\nWrite-Host \"Remote Desktop is disabled.\" -ForegroundColor Green\r\n} else {\r\nWrite-Host \"Remote Desktop is enabled.\" -ForegroundColor Red\r\n}\r\n\r\n# Check 12 - Local Administrator Password Solution (LAPS) Status\r\ntry {\r\n$lapsStatus = Get-AdmPwdPassword -ComputerName $env:COMPUTERNAME -ErrorAction Stop\r\nWrite-Host \"LAPS is configured and active.\" -ForegroundColor Green\r\n} catch {\r\nWrite-Host \"LAPS is not configured or not active.\" -ForegroundColor Red\r\n}\r\n\r\n# Check 13 - Audit Policy\r\n$auditPolicy = AuditPol.exe /get /category:*\r\nif ($auditPolicy -match 'Success and Failure') {\r\nWrite-Host \"Audit policy is configured for Success and Failure events.\" -ForegroundColor Green\r\n} else {\r\nWrite-Host \"Audit policy is not optimally configured.\" -ForegroundColor Red\r\n}\r\n\r\n# Output security report\r\n$outputFile = \"SecurityReport_$(Get-Date -Format yyyyMMdd).txt\"\r\n$reportContent = @\"\r\nSecurity Report - $(Get-Date -Format \"yyyy/MM/dd HH:mm\")\r\n\r\nCheck 1: Windows Defender Status\r\n$defenderStatus\r\n\r\nCheck 2: Firewall Status\r\n$firewallStatus\r\n\r\nCheck 3: User Account Control (UAC) Status\r\n$uacStatus\r\n\r\nCheck 4: Automatic Updates Status\r\n$automaticUpdatesStatus\r\n\r\nCheck 5: BitLocker Status\r\n$bitlockerStatus\r\n\r\nCheck 6: Guest Account Status\r\n$guestAccountStatus\r\n\r\nCheck 7: Network Sharing Status\r\n$networkSharingStatus\r\n\r\nCheck 8: PowerShell Execution Policy\r\n$executionPolicy\r\n\r\nCheck 9: Secure Boot Status\r\n$secureBootStatus\r\n\r\nCheck 10: SMBv1 Status\r\n$smb1Status\r\n\r\nCheck 11: RDP Status\r\n$rdpStatus\r\n\r\nCheck 12: Local Administrator Password Solution (LAPS) Status\r\n$lapsStatus\r\n\r\nCheck 13: Audit Policy\r\n$auditPolicy\r\n\"@\r\n\r\nSet-Content -Path $outputFile -Value $reportContent\r\nWrite-Host \"Security report saved to $outputFile\" -ForegroundColor Green\r\n\r\nRead-Host \"Press Enter to exit...\"\r\n", "text_preview": "# Security Checks PowerShell Script # Check 1 - Windows Defender Status $defenderStatus = Get-MpComputerStatus if ($defenderStatus.AntivirusEnabled) { Write-Host \"Windows Defender is enabled and running.\" -ForegroundColor Green } else { Wri", "input_sha256": "bd936fd1e74085a8a525007e580b65cb1c6c624748055bf9cb7b1031d585e955", "text_sha256": "453e49d8867b37f6646c867f3e8af384eb2c8be98e88615572360a7ba067e654", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 20008, "input_policy": "text-and-optional-url-v1", "label_policy_version": 12, "requested_model": "decision-models/baseten-mammoth-27b-latest", "backend": "baseten", "endpoint": "https://inference.baseten.co/v1/systemone", "status": "ok", "training_eligible": true, "label": {"primary": {"main_format": "Technical Writing", "sub_format": null}, "secondary": null, "tertiary": null, "content_structure": []}, "candidate_label": null, "topic": {"primary": {"main_topic": "Programming & Software Engineering", "sub_topic": null}, "secondary": null}, "scores": {"content_quality": 1, "noise_severity": 0, "missing_content_severity": 0, "factual_density": 3, "pretraining_utility": 1, "math_density": 0, "code_density": 4, "reasoning_density": 0, "education_level": 2, "creative_writing_quality": null}, "score_expectations": {"content_quality": 0.724218386950473, "noise_severity": 0.025211046702528536, "missing_content_severity": 0.002925284388026656, "factual_density": 3.133843336887972, "pretraining_utility": 0.6681801668440137, "math_density": 0.020857670606911773, "code_density": 3.8295057584802996, "reasoning_density": 0.8573591201692583, "education_level": 2.3739090744910727, "creative_writing_quality": -0.19707211836307179}, "api_choices": {"primary": "Technical Writing", "secondary": "NONE", "tertiary": "NONE", "education_level": "2", "creative_writing_quality": "not_applicable", "primary_topic": "Programming & Software Engineering", "secondary_topic": "NONE"}, "review_reasons": [], "format_slot_diagnostics": {"comparable": true, "secondary_tertiary_identical": false, "secondary_tertiary_max_abs_gap": 0.012153769228522071, "secondary_choice": "NONE", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.9664971295995594, "secondary": 0.8797729189912828, "tertiary": 0.8924551129688709, "structured_records": 0.18151356955530165, "procedural_steps": 0.1064534151876529, "worked_solution": 0.01458834916772928, "contextual_dialogue": 8.770116587427842e-06, "content_quality": 0.5434734004055719, "noise_severity": 0.9789907944145595, "missing_content_severity": 0.9975622630099777, "factual_density": 0.470026803232109, "pretraining_utility": 0.5789493335574512, "math_density": 0.9826186078275735, "code_density": 0.8579214654002499, "reasoning_density": 0.2855340665256181, "education_level": 0.5591307923238664, "creative_writing_quality": 0.9988641423315063, "primary_topic": 0.9011318930223267, "secondary_topic": 0.5630385977177144}, "probability_margin": {"primary": 0.9433204108149108, "secondary": 0.8374945433134535, "tertiary": 0.8531945965674205, "education_level": 0.3438947903879262, "creative_writing_quality": 0.9985593502098631, "primary_topic": 0.8257145024074194, "secondary_topic": 0.3243991457089206}, "raw_probabilities": {"primary": {"Academic Writing": 0.0001338495031147039, "Content Listing": 0.00014375192106873513, "Creative Writing": 9.11705971697753e-05, "Customer Support Page": 8.851908096509748e-05, "Q&A Forum": 7.213057985032523e-05, "Discussion Thread": 4.543263656113889e-05, "Comment Section": 8.265573703752202e-05, "Missing Content": 7.956140843342576e-05, "Knowledge Article": 0.0008836544920164951, "Legal Notices": 7.565909202255962e-05, "News Article": 3.328990535350723e-05, "Organizational Announcement": 5.4678626344752126e-05, "Nonfiction Writing": 8.229702870243371e-05, "Organizational About Page": 6.952963337510328e-05, "Personal About Page": 6.645237058594831e-05, "Personal Blog": 4.000728576044944e-05, "Product Page": 4.577231292429788e-05, "Spam / Ads": 5.97673927373681e-05, "Structured Data": 0.0010827788563237731, "Technical Writing": 0.9678930825329111, "Transcript / Interview": 8.871493690172519e-05, "Tutorial / How-To Guide": 0.02457267171800023, "User Reviews": 3.968574544082842e-05, "Other / Unknown": 0.004174886606398832}, "secondary": {"Academic Writing": 0.0005358505619722298, "Content Listing": 0.0007779756671877098, "Creative Writing": 0.00038964778715439187, "Customer Support Page": 0.00042010145053830304, "Q&A Forum": 0.00020683353822147335, "Discussion Thread": 0.00012905250799726396, "Comment Section": 0.0003075910347473784, "Missing Content": 0.0004432496958402071, "Knowledge Article": 0.005123599543181224, "Legal Notices": 0.00029387036332561775, "News Article": 0.00023735257088687543, "Organizational Announcement": 0.00021603222893930489, "Nonfiction Writing": 0.00028638172574775453, "Organizational About Page": 0.00023484362888441025, "Personal About Page": 0.00020837306982815506, "Personal Blog": 0.0002245309914685009, "Product Page": 0.00014834479452595687, "Spam / Ads": 0.00023288865211871265, "Structured Data": 0.013094766854992944, "Technical Writing": 0.04394464741167537, "Transcript / Interview": 0.0003427986686101158, "Tutorial / How-To Guide": 0.047287837386525845, "User Reviews": 0.00013104916565091508, "NONE": 0.8847823806999794}, "tertiary": {"Academic Writing": 0.0003471145111231593, "Content Listing": 0.0008352891999489691, "Creative Writing": 0.00024967623556188044, "Customer Support Page": 0.0003046633331024212, "Q&A Forum": 0.00011904936140366576, "Discussion Thread": 9.082950185314066e-05, "Comment Section": 0.00026928040841018316, "Missing Content": 0.0003673105280273687, "Knowledge Article": 0.008589491593029398, "Legal Notices": 0.00029272053443106706, "News Article": 0.0001828440268398287, "Organizational Announcement": 0.00015259280337157934, "Nonfiction Writing": 0.00029990635751615385, "Organizational About Page": 0.00020965750087366188, "Personal About Page": 0.00013775346996382836, "Personal Blog": 0.00013797468068863048, "Product Page": 0.00012246013705504878, "Spam / Ads": 0.00017025368310290794, "Structured Data": 0.014321943982227818, "Technical Writing": 0.031821352203074846, "Transcript / Interview": 0.0002175537325967967, "Tutorial / How-To Guide": 0.043741553361080904, "User Reviews": 8.257892621530757e-05, "NONE": 0.8969361499285013}, "structured_records": {"false": 0.8184864304446984, "true": 0.18151356955530165}, "procedural_steps": {"false": 0.8935465848123471, "true": 0.1064534151876529}, "worked_solution": {"false": 0.9854116508322707, "true": 0.01458834916772928}, "contextual_dialogue": {"false": 0.9999912298834126, "true": 8.770116587427842e-06}, "content_quality": {"-2": 0.012400471014512384, "-1": 0.05047235439904681, "0": 0.2736606444397896, "1": 0.5274413769147578, "2": 0.13602515323189335}, "noise_severity": {"0": 0.9784751549354485, "1": 0.01890904784581418, "2": 0.001862729975252005, "3": 0.00043573006773156206, "4": 0.0003173371757539162}, "missing_content_severity": {"0": 0.9984432233637528, "1": 0.0005878330808830746, "2": 0.0006557564280684397, "3": 0.00022681005817663216, "4": 8.637706911920158e-05}, "factual_density": {"0": 0.00686618060314732, "1": 0.02555152035797105, "2": 0.17936066709136478, "3": 0.40331604544279664, "4": 0.3849055865047203}, "pretraining_utility": {"-2": 0.007601719176788605, "-1": 0.05001522823040394, "0": 0.29570470245234876, "1": 0.5599578668529227, "2": 0.08672048328753607}, "math_density": {"0": 0.9824501330555833, "1": 0.015747626858025505, "2": 0.0008690111471152417, "3": 0.0003608943024472815, "4": 0.0005723346368284839}, "code_density": {"0": 0.000567500795608248, "1": 0.0010460398414257137, "2": 0.02110133623731163, "3": 0.12288344633836673, "4": 0.8544016767872876}, "reasoning_density": {"0": 0.5248537334494151, "1": 0.22898546343825502, "2": 0.15604524951063367, "3": 0.04417905669704888, "4": 0.04593649690464733}, "education_level": {"none": 0.0011626069653387036, "0": 0.002269179906171227, "1": 0.020397170275410662, "2": 0.632608993603222, "3": 0.2887142032152958, "4": 0.05484784603456162}, "creative_writing_quality": {"not_applicable": 0.9990534519429219, "-2": 9.25294216555158e-05, "-1": 0.00019771751015869803, "0": 0.0004941017330588351, "1": 0.00012816066168183944, "2": 3.403873052350109e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 0.00017737603525192673, "Art & Design": 0.00025542538395872987, "Law & Crime": 0.000641654207380401, "Education & Careers": 0.00014712382193996152, "Entertainment & Media": 0.00018789260748486923, "Fashion & Beauty": 0.00014814359226551917, "Business, Economics & Finance": 0.0002832428930590384, "Food & Dining": 0.00014733612098006516, "Games & Gaming": 0.00023534109502077082, "Electronics & Hardware": 0.00105910162799784, "Health, Healthcare & Wellness": 0.0001687836918143953, "History & Geography": 0.00021916556591620892, "Home, Pets & Hobbies": 0.00018579606190722108, "Industry & Production": 0.00017031915449001322, "Language, Literature & Philosophy": 0.00015869859740784352, "Politics & Government": 0.00022447293464362674, "Religion & Spirituality": 0.0001507617146595221, "Science, Mathematics & Engineering": 0.00048332303751971766, "Relationships & Community": 0.0001268211027588089, "Software Usage & Applications": 0.0792200101140486, "Programming & Software Engineering": 0.904934512521468, "Sports & Fitness": 0.00020564523545345747, "Vehicles & Transportation": 0.0001333165829745961, "Travel & Tourism": 0.00023088582932149799, "Other / Uncovered Subject": 0.009916747916022718, "Unknown / Insufficient Content": 0.0001881025542548882}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0008352854457576251, "Art & Design": 0.0006650013623058755, "Law & Crime": 0.0034450434483814497, "Education & Careers": 0.0005066540147199545, "Entertainment & Media": 0.0006114270519127502, "Fashion & Beauty": 0.00037526168153557694, "Business, Economics & Finance": 0.0009203908669907666, "Food & Dining": 0.0003963946405933996, "Games & Gaming": 0.0005276216946603928, "Electronics & Hardware": 0.0029268391670462953, "Health, Healthcare & Wellness": 0.0004773479326984424, "History & Geography": 0.0004951026778619329, "Home, Pets & Hobbies": 0.00044308907944210987, "Industry & Production": 0.000419628948521601, "Language, Literature & Philosophy": 0.00030437213455224334, "Politics & Government": 0.0005874176628347383, "Religion & Spirituality": 0.0004912991866770774, "Science, Mathematics & Engineering": 0.0008024305318555057, "Relationships & Community": 0.000311910610048386, "Software Usage & Applications": 0.2554456597888817, "Programming & Software Engineering": 0.14539954836861746, "Sports & Fitness": 0.00045525624119244044, "Vehicles & Transportation": 0.00024903732175277576, "Travel & Tourism": 0.0006701249986495343, "Other / Uncovered Subject": 0.0023930496447078548, "NONE": 0.5798448054978023}}, "probabilities": {"primary": {"Academic Writing": 0.0001338495031147039, "Content Listing": 0.00014375192106873513, "Creative Writing": 9.11705971697753e-05, "Customer Support Page": 8.851908096509748e-05, "Q&A Forum": 7.213057985032523e-05, "Discussion Thread": 4.543263656113889e-05, "Comment Section": 8.265573703752202e-05, "Missing Content": 7.956140843342576e-05, "Knowledge Article": 0.0008836544920164951, "Legal Notices": 7.565909202255962e-05, "News Article": 3.328990535350723e-05, "Organizational Announcement": 5.4678626344752126e-05, "Nonfiction Writing": 8.229702870243371e-05, "Organizational About Page": 6.952963337510328e-05, "Personal About Page": 6.645237058594831e-05, "Personal Blog": 4.000728576044944e-05, "Product Page": 4.577231292429788e-05, "Spam / Ads": 5.97673927373681e-05, "Structured Data": 0.0010827788563237731, "Technical Writing": 0.9678930825329111, "Transcript / Interview": 8.871493690172519e-05, "Tutorial / How-To Guide": 0.02457267171800023, "User Reviews": 3.968574544082842e-05, "Other / Unknown": 0.004174886606398832}, "secondary": {"Academic Writing": 0.0005358505619722298, "Content Listing": 0.0007779756671877098, "Creative Writing": 0.00038964778715439187, "Customer Support Page": 0.00042010145053830304, "Q&A Forum": 0.00020683353822147335, "Discussion Thread": 0.00012905250799726396, "Comment Section": 0.0003075910347473784, "Missing Content": 0.0004432496958402071, "Knowledge Article": 0.005123599543181224, "Legal Notices": 0.00029387036332561775, "News Article": 0.00023735257088687543, "Organizational Announcement": 0.00021603222893930489, "Nonfiction Writing": 0.00028638172574775453, "Organizational About Page": 0.00023484362888441025, "Personal About Page": 0.00020837306982815506, "Personal Blog": 0.0002245309914685009, "Product Page": 0.00014834479452595687, "Spam / Ads": 0.00023288865211871265, "Structured Data": 0.013094766854992944, "Technical Writing": 0.04394464741167537, "Transcript / Interview": 0.0003427986686101158, "Tutorial / How-To Guide": 0.047287837386525845, "User Reviews": 0.00013104916565091508, "NONE": 0.8847823806999794}, "tertiary": {"Academic Writing": 0.00034711451112315935, "Content Listing": 0.0008352891999489692, "Creative Writing": 0.0002496762355618805, "Customer Support Page": 0.00030466333310242124, "Q&A Forum": 0.00011904936140366577, "Discussion Thread": 9.082950185314068e-05, "Comment Section": 0.0002692804084101832, "Missing Content": 0.00036731052802736877, "Knowledge Article": 0.0085894915930294, "Legal Notices": 0.0002927205344310671, "News Article": 0.00018284402683982874, "Organizational Announcement": 0.00015259280337157936, "Nonfiction Writing": 0.0002999063575161539, "Organizational About Page": 0.0002096575008736619, "Personal About Page": 0.00013775346996382839, "Personal Blog": 0.0001379746806886305, "Product Page": 0.0001224601370550488, "Spam / Ads": 0.00017025368310290796, "Structured Data": 0.01432194398222782, "Technical Writing": 0.03182135220307485, "Transcript / Interview": 0.00021755373259679673, "Tutorial / How-To Guide": 0.04374155336108091, "User Reviews": 8.257892621530758e-05, "NONE": 0.8969361499285015}, "structured_records": {"false": 0.8184864304446984, "true": 0.18151356955530165}, "procedural_steps": {"false": 0.8935465848123471, "true": 0.1064534151876529}, "worked_solution": {"false": 0.9854116508322707, "true": 0.01458834916772928}, "contextual_dialogue": {"false": 0.9999912298834126, "true": 8.770116587427842e-06}, "content_quality": {"-2": 0.012400471014512386, "-1": 0.050472354399046813, "0": 0.27366064443978966, "1": 0.5274413769147579, "2": 0.13602515323189338}, "noise_severity": {"0": 0.9784751549354482, "1": 0.018909047845814177, "2": 0.0018627299752520046, "3": 0.00043573006773156195, "4": 0.00031733717575391614}, "missing_content_severity": {"0": 0.9984432233637526, "1": 0.0005878330808830745, "2": 0.0006557564280684396, "3": 0.0002268100581766321, "4": 8.637706911920156e-05}, "factual_density": {"0": 0.00686618060314732, "1": 0.02555152035797105, "2": 0.17936066709136478, "3": 0.40331604544279664, "4": 0.3849055865047203}, "pretraining_utility": {"-2": 0.007601719176788605, "-1": 0.05001522823040394, "0": 0.29570470245234876, "1": 0.5599578668529227, "2": 0.08672048328753607}, "math_density": {"0": 0.9824501330555835, "1": 0.01574762685802551, "2": 0.0008690111471152419, "3": 0.0003608943024472816, "4": 0.000572334636828484}, "code_density": {"0": 0.000567500795608248, "1": 0.0010460398414257137, "2": 0.02110133623731163, "3": 0.12288344633836673, "4": 0.8544016767872876}, "reasoning_density": {"0": 0.5248537334494151, "1": 0.22898546343825502, "2": 0.15604524951063367, "3": 0.04417905669704888, "4": 0.04593649690464733}, "education_level": {"none": 0.0011626069653387036, "0": 0.002269179906171227, "1": 0.020397170275410662, "2": 0.632608993603222, "3": 0.2887142032152958, "4": 0.05484784603456162}, "creative_writing_quality": {"not_applicable": 0.9990534519429215, "-2": 9.252942165551575e-05, "-1": 0.00019771751015869795, "0": 0.0004941017330588349, "1": 0.00012816066168183939, "2": 3.4038730523501075e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 0.0001773760352519267, "Art & Design": 0.0002554253839587298, "Law & Crime": 0.0006416542073804009, "Education & Careers": 0.0001471238219399615, "Entertainment & Media": 0.00018789260748486918, "Fashion & Beauty": 0.00014814359226551915, "Business, Economics & Finance": 0.00028324289305903835, "Food & Dining": 0.00014733612098006513, "Games & Gaming": 0.00023534109502077076, "Electronics & Hardware": 0.0010591016279978397, "Health, Healthcare & Wellness": 0.00016878369181439528, "History & Geography": 0.00021916556591620887, "Home, Pets & Hobbies": 0.00018579606190722103, "Industry & Production": 0.0001703191544900132, "Language, Literature & Philosophy": 0.0001586985974078435, "Politics & Government": 0.00022447293464362668, "Religion & Spirituality": 0.00015076171465952206, "Science, Mathematics & Engineering": 0.00048332303751971755, "Relationships & Community": 0.00012682110275880887, "Software Usage & Applications": 0.07922001011404858, "Programming & Software Engineering": 0.9049345125214677, "Sports & Fitness": 0.00020564523545345742, "Vehicles & Transportation": 0.00013331658297459608, "Travel & Tourism": 0.00023088582932149793, "Other / Uncovered Subject": 0.009916747916022716, "Unknown / Insufficient Content": 0.00018810255425488816}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0008352854457576249, "Art & Design": 0.0006650013623058754, "Law & Crime": 0.003445043448381449, "Education & Careers": 0.0005066540147199544, "Entertainment & Media": 0.0006114270519127501, "Fashion & Beauty": 0.00037526168153557683, "Business, Economics & Finance": 0.0009203908669907664, "Food & Dining": 0.0003963946405933995, "Games & Gaming": 0.0005276216946603927, "Electronics & Hardware": 0.002926839167046295, "Health, Healthcare & Wellness": 0.0004773479326984423, "History & Geography": 0.0004951026778619328, "Home, Pets & Hobbies": 0.00044308907944210976, "Industry & Production": 0.0004196289485216009, "Language, Literature & Philosophy": 0.0003043721345522433, "Politics & Government": 0.0005874176628347382, "Religion & Spirituality": 0.0004912991866770773, "Science, Mathematics & Engineering": 0.0008024305318555055, "Relationships & Community": 0.0003119106100483859, "Software Usage & Applications": 0.2554456597888816, "Programming & Software Engineering": 0.14539954836861743, "Sports & Fitness": 0.00045525624119244033, "Vehicles & Transportation": 0.0002490373217527757, "Travel & Tourism": 0.0006701249986495342, "Other / Uncovered Subject": 0.0023930496447078543, "NONE": 0.5798448054978022}}, "probability_diagnostics": {"primary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "tertiary": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "structured_records": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "procedural_steps": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "worked_solution": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "contextual_dialogue": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "content_quality": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "noise_severity": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "missing_content_severity": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "factual_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "pretraining_utility": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "math_density": {"raw_sum": 0.9999999999999998, "mass_delta": -2.220446049250313e-16, "missing_mass": 2.220446049250313e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "code_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "reasoning_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "education_level": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "creative_writing_quality": {"raw_sum": 1.0000000000000004, "mass_delta": 4.440892098500626e-16, "missing_mass": 0.0, "excess_mass": 4.440892098500626e-16, "valid": true, "normalized": false}, "primary_topic": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "secondary_topic": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}}, "usage": {"input_tokens": 9961, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 9961, "cached_share": null, "cache_discount_reported": null, "reported_cost_usd": null}, "response_metadata": {"model": "decision-models/baseten-mammoth-27b-latest"}, "scored_at_utc": "2026-10-25T18:29:11.503763+00:00", "scoring_key_slot": "assistant_1", "dataset_uid": "24970311-6922-4d08-8c99-98b5745d1af1", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "e68cb2c6ff70435e69bd763ee04a292729d20c50cfaec2ba7bf750a4848585a7", "source_metadata": {"uuid": "24970311-6922-4d08-8c99-98b5745d1af1", "repo_name": "joe-shenouda/Windows-Security-Checks", "relative_path": "check.ps1", "category": "TOOL", "algo_rel_score": 0.962890088558197, "quality_score": 4.90089750289917, "source_meta": {"github_metadata": {"branch": "main", "commit_count": 9, "repo_created_at": "2023-03-19T19:17:43.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 16, "forks": 3, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "317fcbe94f55c68c048c47b6a56d47f10c698f9b", "size_bytes": 5805, "file_timestamp": 1679256018, "language": "powershell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "bb32dc3efbc66f5405623a0424e6323fd5287ba7"}}, "parsed_source_meta": {"github_metadata": {"branch": "main", "commit_count": 9, "repo_created_at": "2023-03-19T19:17:43.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 16, "forks": 3, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "317fcbe94f55c68c048c47b6a56d47f10c698f9b", "size_bytes": 5805, "file_timestamp": 1679256018, "language": "powershell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "bb32dc3efbc66f5405623a0424e6323fd5287ba7", "url": "https://github.com/joe-shenouda/Windows-Security-Checks/blob/bb32dc3efbc66f5405623a0424e6323fd5287ba7/check.ps1"}, "gpt4o_tokens": 1434, "dataset_split": "shell", "probability_weighted_scores": {"content_quality": 0.7242183869504729, "noise_severity": 0.02521104670252854, "missing_content_severity": 0.0029252843880266566, "factual_density": 3.133843336887972, "pretraining_utility": 0.6681801668440137, "math_density": 0.020857670606911773, "code_density": 3.8295057584802996, "reasoning_density": 0.8573591201692583, "education_level": 2.3739090744910727, "creative_writing_quality": -0.19707211836307179}, "score_applicability": {"education_level": 0.9988373930346612, "creative_writing_quality": 0.0009465480570783891}} {"source_group": "shell", "source": "openbmb/UltraData-Stack-v3-L2/shell", "domain": "github.com", "language": "shell", "url": "https://github.com/Cooolersam/qr-code-generator/blob/1407e4e52a3c7e3fa2affebd356021603ce42dd7/deploy-with-yaml.sh", "id": "shell-0-df2669048797fb2321834fba327575e9", "text": "#!/bin/bash\n\n# QR Code Generator - YAML-based Deployment Script\nset -e\n\necho \"🚀 Starting QR Code Generator deployment using YAML files...\"\n\n# Colors for output\nRED='\\033[0;31m'\nGREEN='\\033[0;32m'\nYELLOW='\\033[1;33m'\nBLUE='\\033[0;34m'\nNC='\\033[0m' # No Color\n\n# Function to print colored output\nprint_status() {\n echo -e \"${BLUE}[INFO]${NC} $1\"\n}\n\nprint_success() {\n echo -e \"${GREEN}[SUCCESS]${NC} $1\"\n}\n\nprint_warning() {\n echo -e \"${YELLOW}[WARNING]${NC} $1\"\n}\n\nprint_error() {\n echo -e \"${RED}[ERROR]${NC} $1\"\n}\n\n# Check if kubectl is installed\nif ! command -v kubectl &> /dev/null; then\n print_error \"kubectl is not installed. Please install kubectl first:\"\n echo \" brew install kubectl\"\n exit 1\nfi\n\n# Check if Docker is running\nif ! docker info &> /dev/null; then\n print_error \"Docker is not running. Please start Docker first.\"\n exit 1\nfi\n\n# Get current context\nCURRENT_CONTEXT=$(kubectl config current-context)\nprint_status \"Current kubectl context: $CURRENT_CONTEXT\"\n\n# Build Docker image using pack\nprint_status \"Building Docker image using pack...\"\nif command -v pack &> /dev/null; then\n pack build qr-generator:latest --builder paketobuildpacks/builder:base\n print_success \"Docker image built successfully with pack\"\nelse\n print_warning \"pack not found, building with Docker...\"\n docker build -t qr-generator:latest .\n print_success \"Docker image built successfully with Docker\"\nfi\n\n# Load image into Kind cluster\nprint_status \"Loading Docker image into Kind cluster...\"\nCLUSTER_NAME=$(kubectl config view --minify -o jsonpath='{.clusters[0].name}' | sed 's/kind-//')\nif [ -n \"$CLUSTER_NAME\" ]; then\n kind load docker-image qr-generator:latest --name \"$CLUSTER_NAME\"\n print_success \"Docker image loaded into Kind cluster: $CLUSTER_NAME\"\nelse\n print_warning \"Could not determine Kind cluster name, skipping image load\"\nfi\n\n# Install NGINX Ingress Controller if not present\nprint_status \"Checking NGINX Ingress Controller...\"\nif ! kubectl get namespace ingress-nginx &> /dev/null; then\n print_status \"Installing NGINX Ingress Controller...\"\n kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/main/deploy/static/provider/kind/deploy.yaml\n print_success \"NGINX Ingress Controller installed\"\n \n # Wait for NGINX Ingress Controller to be ready\n print_status \"Waiting for NGINX Ingress Controller to be ready...\"\n kubectl wait --namespace ingress-nginx \\\n --for=condition=ready pod \\\n --selector=app.kubernetes.io/component=controller \\\n --timeout=120s\n print_success \"NGINX Ingress Controller is ready\"\nelse\n print_status \"NGINX Ingress Controller already exists\"\nfi\n\n# Apply Kubernetes manifests in order\nprint_status \"Applying Kubernetes manifests...\"\n\n# 1. Create namespace\nprint_status \"Creating namespace...\"\nkubectl apply -f namespace.yaml\nprint_success \"Namespace created\"\n\n# 2. Create RBAC\nprint_status \"Creating RBAC resources...\"\nkubectl apply -f rbac.yaml\nprint_success \"RBAC resources created\"\n\n# 3. Create ConfigMap\nprint_status \"Creating ConfigMap...\"\nkubectl apply -f configmap.yaml\nprint_success \"ConfigMap created\"\n\n# 4. Create Deployment\nprint_status \"Creating Deployment...\"\nkubectl apply -f deployment.yaml\nprint_success \"Deployment created\"\n\n# 5. Create Service\nprint_status \"Creating Service...\"\nkubectl apply -f service.yaml\nprint_success \"Service created\"\n\n# 6. Create Ingress\nprint_status \"Creating Ingress...\"\nkubectl apply -f ingress.yaml\nprint_success \"Ingress created\"\n\n# 7. Create HPA (optional - requires metrics server)\nprint_status \"Creating Horizontal Pod Autoscaler...\"\nkubectl apply -f hpa.yaml\nprint_success \"HPA created\"\n\n# Wait for deployment to be ready\nprint_status \"Waiting for deployment to be ready...\"\nkubectl wait --namespace qr-generator \\\n --for=condition=available \\\n --timeout=300s \\\n deployment/qr-generator\nprint_success \"Deployment is ready\"\n\n# Get service information\nprint_status \"Getting service information...\"\nkubectl get svc -n qr-generator\n\n# Add host entry for local access\nprint_status \"Adding host entry for local access...\"\nif ! grep -q \"qr-generator.local\" /etc/hosts; then\n echo \"127.0.0.1 qr-generator.local\" | sudo tee -a /etc/hosts > /dev/null 2>&1 || \\\n print_warning \"Could not add host entry automatically. Please add '127.0.0.1 qr-generator.local' to your /etc/hosts file manually.\"\n print_success \"Host entry added\"\nelse\n print_status \"Host entry already exists\"\nfi\n\n# Display access information\necho \"\"\nprint_success \"🎉 QR Code Generator deployed successfully!\"\necho \"\"\necho \"📱 Access your application:\"\necho \" Web Interface: http://qr-generator.local\"\necho \" Direct Service: http://localhost:30080\"\necho \" API Documentation: http://qr-generator.local/docs\"\necho \"\"\necho \"🔧 Useful commands:\"\necho \" View all resources: kubectl get all -n qr-generator\"\necho \" View pods: kubectl get pods -n qr-generator\"\necho \" View logs: kubectl logs -f deployment/qr-generator -n qr-generator\"\necho \" View service: kubectl get svc -n qr-generator\"\necho \" Scale deployment: kubectl scale deployment qr-generator --replicas=3 -n qr-generator\"\necho \" Port forward: kubectl port-forward svc/qr-generator-service 8080:80 -n qr-generator\"\necho \"\"\necho \"📊 Monitor the deployment:\"\necho \" kubectl get all -n qr-generator\"\necho \" kubectl describe deployment qr-generator -n qr-generator\"\necho \"\" ", "text_preview": "#!/bin/bash # QR Code Generator - YAML-based Deployment Script set -e echo \"🚀 Starting QR Code Generator deployment using YAML files...\" # Colors for output RED='\\033[0;31m' GREEN='\\033[0;32m' YELLOW='\\033[1;33m' BLUE='\\033[0;34m' NC='\\033[", "input_sha256": "d2c5580a70b88e772427065fa1c932c903748875429e5a3b168e80dafa6bf94f", "text_sha256": "df2669048797fb2321834fba327575e99aed98b9b45da7a8a1f9bc8f9a842ee1", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 20009, "input_policy": "text-and-optional-url-v1", "label_policy_version": 12, "requested_model": "decision-models/baseten-mammoth-27b-latest", "backend": "baseten", "endpoint": "https://inference.baseten.co/v1/systemone", "status": "ok", "training_eligible": true, "label": {"primary": {"main_format": "Technical Writing", "sub_format": null}, "secondary": null, "tertiary": null, "content_structure": ["procedural_steps"]}, "candidate_label": null, "topic": {"primary": {"main_topic": "Programming & Software Engineering", "sub_topic": null}, "secondary": null}, "scores": {"content_quality": 1, "noise_severity": 0, "missing_content_severity": 0, "factual_density": 3, "pretraining_utility": 1, "math_density": 0, "code_density": 4, "reasoning_density": 0, "education_level": 2, "creative_writing_quality": null}, "score_expectations": {"content_quality": 0.9257101447009547, "noise_severity": 0.11522575151790701, "missing_content_severity": 0.07143083450568995, "factual_density": 3.00225237804465, "pretraining_utility": 0.6324491177021756, "math_density": 0.0025050652145641116, "code_density": 3.7665976364658142, "reasoning_density": 0.6199254883165618, "education_level": 2.520570531521206, "creative_writing_quality": -0.11629425250165373}, "api_choices": {"primary": "Technical Writing", "secondary": "NONE", "tertiary": "NONE", "education_level": "2", "creative_writing_quality": "not_applicable", "primary_topic": "Programming & Software Engineering", "secondary_topic": "NONE"}, "review_reasons": [], "format_slot_diagnostics": {"comparable": true, "secondary_tertiary_identical": false, "secondary_tertiary_max_abs_gap": 0.07596928531061575, "secondary_choice": "NONE", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.8748082948702889, "secondary": 0.6766712555435163, "tertiary": 0.7559435532589415, "structured_records": 0.013321812872054344, "procedural_steps": 0.7911282106301242, "worked_solution": 0.0031140358078731644, "contextual_dialogue": 5.710853673265913e-06, "content_quality": 0.557427321218428, "noise_severity": 0.9039785404017442, "missing_content_severity": 0.9404743045785917, "factual_density": 0.47931155008552917, "pretraining_utility": 0.5679956292005595, "math_density": 0.9979124456545299, "code_density": 0.8054980303881784, "reasoning_density": 0.48339542640286526, "education_level": 0.4077664931914358, "creative_writing_quality": 0.9988637303265473, "primary_topic": 0.9863417042411028, "secondary_topic": 0.8802704977354585}, "probability_margin": {"primary": 0.767230118569646, "secondary": 0.5046097315858038, "tertiary": 0.6145613111286905, "education_level": 0.06547821020122002, "creative_writing_quality": 0.9985066577764868, "primary_topic": 0.9752908704930501, "secondary_topic": 0.8058201103309115}, "raw_probabilities": {"primary": {"Academic Writing": 0.0003027695048738439, "Content Listing": 0.00038035608078551054, "Creative Writing": 0.00022932785236047103, "Customer Support Page": 0.00029719302174927275, "Q&A Forum": 0.00020155356708866925, "Discussion Thread": 0.00014282627514548794, "Comment Section": 0.00020287436647238027, "Missing Content": 0.00019495469255082743, "Knowledge Article": 0.0005990801512826769, "Legal Notices": 0.0001773755976713545, "News Article": 0.00010412857412752764, "Organizational Announcement": 0.0001866664820167278, "Nonfiction Writing": 0.0001632544995166495, "Organizational About Page": 0.00021843043215575035, "Personal About Page": 0.00014933816630756087, "Personal Blog": 0.00011420883346069304, "Product Page": 0.00013408575800884928, "Spam / Ads": 0.00018136413499774347, "Structured Data": 0.0003942617927215652, "Technical Writing": 0.8800246159173601, "Transcript / Interview": 0.00022773023299420343, "Tutorial / How-To Guide": 0.11279449734771417, "User Reviews": 0.00010518210412133687, "Other / Unknown": 0.0024739246145167116}, "secondary": {"Academic Writing": 0.0006418395527306135, "Content Listing": 0.000933013776197659, "Creative Writing": 0.0005103145831231124, "Customer Support Page": 0.0009217165349910942, "Q&A Forum": 0.00042669925304042916, "Discussion Thread": 0.00024776407256233, "Comment Section": 0.0004882983557644014, "Missing Content": 0.0005407163812036447, "Knowledge Article": 0.0017322555047988835, "Legal Notices": 0.00038103170611721856, "News Article": 0.00036602492414754945, "Organizational Announcement": 0.00043929839790984935, "Nonfiction Writing": 0.00039019001899925486, "Organizational About Page": 0.000474644790025656, "Personal About Page": 0.0003484762352756654, "Personal Blog": 0.0003517404808500333, "Product Page": 0.00029879041343036807, "Spam / Ads": 0.000463579797589004, "Structured Data": 0.0008632637850890583, "Technical Writing": 0.11273878273088704, "Transcript / Interview": 0.0005365292153436019, "Tutorial / How-To Guide": 0.18553355497673263, "User Reviews": 0.0002281879506545522, "NONE": 0.6901432865625364}, "tertiary": {"Academic Writing": 0.00043785422121815447, "Content Listing": 0.001056049166345521, "Creative Writing": 0.0003700777765367777, "Customer Support Page": 0.0011869228746953862, "Q&A Forum": 0.00023943950195052786, "Discussion Thread": 0.00015956446164690647, "Comment Section": 0.00036944938284816993, "Missing Content": 0.00048492674733808784, "Knowledge Article": 0.002490756600951327, "Legal Notices": 0.000397575429684566, "News Article": 0.0002372297692000651, "Organizational Announcement": 0.00028982295908541576, "Nonfiction Writing": 0.0002546316579076364, "Organizational About Page": 0.0003415230740436954, "Personal About Page": 0.00024560341757001584, "Personal Blog": 0.00020609464339280812, "Product Page": 0.00023307714603436843, "Spam / Ads": 0.00038826968967714965, "Structured Data": 0.0007700911663805668, "Technical Writing": 0.07167614431952381, "Transcript / Interview": 0.0003468665443902265, "Tutorial / How-To Guide": 0.1515512607444617, "User Reviews": 0.0001541968319650159, "NONE": 0.7661125718731522}, "structured_records": {"false": 0.9866781871279456, "true": 0.013321812872054344}, "procedural_steps": {"false": 0.20887178936987583, "true": 0.7911282106301242}, "worked_solution": {"false": 0.9968859641921268, "true": 0.0031140358078731644}, "contextual_dialogue": {"false": 0.9999942891463267, "true": 5.710853673265913e-06}, "content_quality": {"-2": 0.006960582956738699, "-1": 0.031308199836261236, "0": 0.2191903863757273, "1": 0.5141421512118521, "2": 0.2283986796194206}, "noise_severity": {"0": 0.9030973018618982, "1": 0.08229442913221958, "2": 0.011969937915996185, "3": 0.0015618778058497358, "4": 0.0010764532840364677}, "missing_content_severity": {"0": 0.9565359559514531, "1": 0.0209515256820509, "2": 0.017857171943998187, "3": 0.0038564207543474818, "4": 0.0007989256681500523}, "factual_density": {"0": 0.006144499278873448, "1": 0.02928601964071942, "2": 0.2342813438082982, "3": 0.4167488783011013, "4": 0.3135392589710076}, "pretraining_utility": {"-2": 0.007718978237634842, "-1": 0.055037804587710994, "0": 0.30974551974025005, "1": 0.552070516103652, "2": 0.07542718133075213}, "math_density": {"0": 0.9980437935660388, "1": 0.0016531268129013079, "2": 0.0001453615059582458, "3": 6.965707066005653e-05, "4": 8.806104444153557e-05}, "code_density": {"0": 0.0005978794366218253, "1": 0.001165566570767119, "2": 0.021874214987907106, "3": 0.18376571609958306, "4": 0.7925966229051208}, "reasoning_density": {"0": 0.6083457063192168, "1": 0.20558363840988858, "2": 0.1544749565539675, "3": 0.0209908580689704, "4": 0.010604840647956755}, "education_level": {"none": 0.0007806034014666475, "0": 0.0017678116566088853, "1": 0.005755117133221528, "2": 0.5064720776595298, "3": 0.4409938674583098, "4": 0.04423052269086322}, "creative_writing_quality": {"not_applicable": 0.999053108605456, "-2": 7.23185155379665e-05, "-1": 0.00016567020965402234, "0": 0.0005464508289692209, "1": 0.00012471446696430156, "2": 3.7737373418457236e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 4.3243556035860034e-05, "Art & Design": 0.00022793893561911036, "Law & Crime": 4.383810492309308e-05, "Education & Careers": 4.4554493674398453e-05, "Entertainment & Media": 3.313009784329849e-05, "Fashion & Beauty": 2.2037329619162174e-05, "Business, Economics & Finance": 6.258512811760513e-05, "Food & Dining": 3.1247488928995e-05, "Games & Gaming": 8.200282366537835e-05, "Electronics & Hardware": 0.00012660357906976255, "Health, Healthcare & Wellness": 3.862905507230267e-05, "History & Geography": 3.973038154476233e-05, "Home, Pets & Hobbies": 2.83815697782557e-05, "Industry & Production": 4.157137745683362e-05, "Language, Literature & Philosophy": 3.512113981426677e-05, "Politics & Government": 2.0409488914702046e-05, "Religion & Spirituality": 5.9175432626691404e-05, "Science, Mathematics & Engineering": 0.00027208915487828613, "Relationships & Community": 1.8381875900523863e-05, "Software Usage & Applications": 0.011576152815702604, "Programming & Software Engineering": 0.9868670233087526, "Sports & Fitness": 4.2003604674775756e-05, "Vehicles & Transportation": 1.7940843211908423e-05, "Travel & Tourism": 4.126445032227014e-05, "Other / Uncovered Subject": 0.00014077465009337703, "Unknown / Insufficient Content": 4.4169313759009974e-05}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0005289736341291363, "Art & Design": 0.002891104602157388, "Law & Crime": 0.0003969735865320482, "Education & Careers": 0.0003019962508319522, "Entertainment & Media": 0.0003024647677486743, "Fashion & Beauty": 0.0001643157148373603, "Business, Economics & Finance": 0.00043595983937611297, "Food & Dining": 0.0001531157125020916, "Games & Gaming": 0.00031673815734102086, "Electronics & Hardware": 0.00048257068600233104, "Health, Healthcare & Wellness": 0.00021842242857819056, "History & Geography": 0.00019985257275737921, "Home, Pets & Hobbies": 0.00016092916216940657, "Industry & Production": 0.00016886451402271213, "Language, Literature & Philosophy": 0.00013843277505405015, "Politics & Government": 0.00017410932747655733, "Religion & Spirituality": 0.0003489097497668983, "Science, Mathematics & Engineering": 0.0007019594504854284, "Relationships & Community": 0.00011489911823967387, "Software Usage & Applications": 0.07905536826087552, "Programming & Software Engineering": 0.026950050713265696, "Sports & Fitness": 0.00016006848756923203, "Vehicles & Transportation": 7.888538152588704e-05, "Travel & Tourism": 0.0002324445046777272, "Other / Uncovered Subject": 0.0004471120102903797, "NONE": 0.8848754785917871}}, "probabilities": {"primary": {"Academic Writing": 0.00030276950487384384, "Content Listing": 0.00038035608078551043, "Creative Writing": 0.00022932785236047098, "Customer Support Page": 0.0002971930217492727, "Q&A Forum": 0.0002015535670886692, "Discussion Thread": 0.00014282627514548791, "Comment Section": 0.00020287436647238022, "Missing Content": 0.00019495469255082737, "Knowledge Article": 0.0005990801512826768, "Legal Notices": 0.00017737559767135448, "News Article": 0.00010412857412752761, "Organizational Announcement": 0.00018666648201672774, "Nonfiction Writing": 0.00016325449951664947, "Organizational About Page": 0.0002184304321557503, "Personal About Page": 0.00014933816630756085, "Personal Blog": 0.00011420883346069301, "Product Page": 0.00013408575800884925, "Spam / Ads": 0.00018136413499774345, "Structured Data": 0.00039426179272156507, "Technical Writing": 0.8800246159173599, "Transcript / Interview": 0.00022773023299420337, "Tutorial / How-To Guide": 0.11279449734771414, "User Reviews": 0.00010518210412133685, "Other / Unknown": 0.002473924614516711}, "secondary": {"Academic Writing": 0.0006418395527306135, "Content Listing": 0.000933013776197659, "Creative Writing": 0.0005103145831231124, "Customer Support Page": 0.0009217165349910942, "Q&A Forum": 0.00042669925304042916, "Discussion Thread": 0.00024776407256233, "Comment Section": 0.0004882983557644014, "Missing Content": 0.0005407163812036447, "Knowledge Article": 0.0017322555047988835, "Legal Notices": 0.00038103170611721856, "News Article": 0.00036602492414754945, "Organizational Announcement": 0.00043929839790984935, "Nonfiction Writing": 0.00039019001899925486, "Organizational About Page": 0.000474644790025656, "Personal About Page": 0.0003484762352756654, "Personal Blog": 0.0003517404808500333, "Product Page": 0.00029879041343036807, "Spam / Ads": 0.000463579797589004, "Structured Data": 0.0008632637850890583, "Technical Writing": 0.11273878273088704, "Transcript / Interview": 0.0005365292153436019, "Tutorial / How-To Guide": 0.18553355497673263, "User Reviews": 0.0002281879506545522, "NONE": 0.6901432865625364}, "tertiary": {"Academic Writing": 0.00043785422121815447, "Content Listing": 0.001056049166345521, "Creative Writing": 0.0003700777765367777, "Customer Support Page": 0.0011869228746953862, "Q&A Forum": 0.00023943950195052786, "Discussion Thread": 0.00015956446164690647, "Comment Section": 0.00036944938284816993, "Missing Content": 0.00048492674733808784, "Knowledge Article": 0.002490756600951327, "Legal Notices": 0.000397575429684566, "News Article": 0.0002372297692000651, "Organizational Announcement": 0.00028982295908541576, "Nonfiction Writing": 0.0002546316579076364, "Organizational About Page": 0.0003415230740436954, "Personal About Page": 0.00024560341757001584, "Personal Blog": 0.00020609464339280812, "Product Page": 0.00023307714603436843, "Spam / Ads": 0.00038826968967714965, "Structured Data": 0.0007700911663805668, "Technical Writing": 0.07167614431952381, "Transcript / Interview": 0.0003468665443902265, "Tutorial / How-To Guide": 0.1515512607444617, "User Reviews": 0.0001541968319650159, "NONE": 0.7661125718731522}, "structured_records": {"false": 0.9866781871279456, "true": 0.013321812872054344}, "procedural_steps": {"false": 0.20887178936987583, "true": 0.7911282106301242}, "worked_solution": {"false": 0.9968859641921268, "true": 0.0031140358078731644}, "contextual_dialogue": {"false": 0.9999942891463267, "true": 5.710853673265913e-06}, "content_quality": {"-2": 0.006960582956738699, "-1": 0.031308199836261236, "0": 0.2191903863757273, "1": 0.5141421512118521, "2": 0.2283986796194206}, "noise_severity": {"0": 0.903097301861898, "1": 0.08229442913221957, "2": 0.011969937915996182, "3": 0.0015618778058497354, "4": 0.0010764532840364675}, "missing_content_severity": {"0": 0.9565359559514534, "1": 0.020951525682050904, "2": 0.01785717194399819, "3": 0.0038564207543474826, "4": 0.0007989256681500526}, "factual_density": {"0": 0.006144499278873448, "1": 0.02928601964071942, "2": 0.2342813438082982, "3": 0.4167488783011013, "4": 0.3135392589710076}, "pretraining_utility": {"-2": 0.007718978237634842, "-1": 0.055037804587710994, "0": 0.30974551974025005, "1": 0.552070516103652, "2": 0.07542718133075213}, "math_density": {"0": 0.9980437935660389, "1": 0.001653126812901308, "2": 0.00014536150595824583, "3": 6.965707066005654e-05, "4": 8.806104444153558e-05}, "code_density": {"0": 0.0005978794366218254, "1": 0.0011655665707671192, "2": 0.02187421498790711, "3": 0.1837657160995831, "4": 0.7925966229051209}, "reasoning_density": {"0": 0.6083457063192168, "1": 0.20558363840988858, "2": 0.1544749565539675, "3": 0.0209908580689704, "4": 0.010604840647956755}, "education_level": {"none": 0.0007806034014666476, "0": 0.0017678116566088855, "1": 0.005755117133221529, "2": 0.50647207765953, "3": 0.4409938674583099, "4": 0.04423052269086323}, "creative_writing_quality": {"not_applicable": 0.999053108605456, "-2": 7.23185155379665e-05, "-1": 0.00016567020965402234, "0": 0.0005464508289692209, "1": 0.00012471446696430156, "2": 3.7737373418457236e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 4.324355603586004e-05, "Art & Design": 0.00022793893561911038, "Law & Crime": 4.3838104923093084e-05, "Education & Careers": 4.455449367439846e-05, "Entertainment & Media": 3.3130097843298496e-05, "Fashion & Beauty": 2.2037329619162178e-05, "Business, Economics & Finance": 6.258512811760515e-05, "Food & Dining": 3.124748892899501e-05, "Games & Gaming": 8.200282366537837e-05, "Electronics & Hardware": 0.00012660357906976258, "Health, Healthcare & Wellness": 3.8629055072302674e-05, "History & Geography": 3.973038154476234e-05, "Home, Pets & Hobbies": 2.8381569778255703e-05, "Industry & Production": 4.1571377456833624e-05, "Language, Literature & Philosophy": 3.512113981426678e-05, "Politics & Government": 2.040948891470205e-05, "Religion & Spirituality": 5.917543262669141e-05, "Science, Mathematics & Engineering": 0.0002720891548782862, "Relationships & Community": 1.8381875900523867e-05, "Software Usage & Applications": 0.011576152815702605, "Programming & Software Engineering": 0.9868670233087528, "Sports & Fitness": 4.200360467477576e-05, "Vehicles & Transportation": 1.7940843211908426e-05, "Travel & Tourism": 4.1264450322270145e-05, "Other / Uncovered Subject": 0.00014077465009337706, "Unknown / Insufficient Content": 4.416931375900998e-05}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0005289736341291364, "Art & Design": 0.0028911046021573884, "Law & Crime": 0.00039697358653204825, "Education & Careers": 0.00030199625083195223, "Entertainment & Media": 0.0003024647677486744, "Fashion & Beauty": 0.00016431571483736034, "Business, Economics & Finance": 0.000435959839376113, "Food & Dining": 0.00015311571250209161, "Games & Gaming": 0.0003167381573410209, "Electronics & Hardware": 0.0004825706860023311, "Health, Healthcare & Wellness": 0.00021842242857819059, "History & Geography": 0.00019985257275737924, "Home, Pets & Hobbies": 0.0001609291621694066, "Industry & Production": 0.00016886451402271216, "Language, Literature & Philosophy": 0.00013843277505405017, "Politics & Government": 0.00017410932747655736, "Religion & Spirituality": 0.00034890974976689836, "Science, Mathematics & Engineering": 0.0007019594504854285, "Relationships & Community": 0.00011489911823967388, "Software Usage & Applications": 0.07905536826087553, "Programming & Software Engineering": 0.0269500507132657, "Sports & Fitness": 0.00016006848756923206, "Vehicles & Transportation": 7.888538152588706e-05, "Travel & Tourism": 0.00023244450467772723, "Other / Uncovered Subject": 0.00044711201029037977, "NONE": 0.8848754785917872}}, "probability_diagnostics": {"primary": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "secondary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "tertiary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "structured_records": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "procedural_steps": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "worked_solution": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "contextual_dialogue": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "content_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "noise_severity": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "missing_content_severity": {"raw_sum": 0.9999999999999998, "mass_delta": -2.220446049250313e-16, "missing_mass": 2.220446049250313e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "factual_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "pretraining_utility": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "math_density": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "code_density": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "reasoning_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "education_level": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "creative_writing_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "primary_topic": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary_topic": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}}, "usage": {"input_tokens": 9956, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 9956, "cached_share": null, "cache_discount_reported": null, "reported_cost_usd": null}, "response_metadata": {"model": "decision-models/baseten-mammoth-27b-latest"}, "scored_at_utc": "2026-10-25T18:29:13.904656+00:00", "scoring_key_slot": "primary", "dataset_uid": "08790afe-b137-49dd-9a9c-3936dc0db4cf", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "5d8d2b955cc1c958b0fcf7027db92f0c39b6abb96794abbd5142a19e30a12358", "source_metadata": {"uuid": "08790afe-b137-49dd-9a9c-3936dc0db4cf", "repo_name": "Cooolersam/qr-code-generator", "relative_path": "deploy-with-yaml.sh", "category": "TOOL", "algo_rel_score": 0.836843729019165, "quality_score": 5.864383697509766, "source_meta": {"github_metadata": {"branch": "main", "commit_count": 1, "repo_created_at": "2025-06-27T22:36:57.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 0, "forks": 0, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "89cb99a5a87036f5e1b4eedb11d940381ec25688", "size_bytes": 5425, "file_timestamp": 1751063813, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "1407e4e52a3c7e3fa2affebd356021603ce42dd7"}}, "parsed_source_meta": {"github_metadata": {"branch": "main", "commit_count": 1, "repo_created_at": "2025-06-27T22:36:57.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 0, "forks": 0, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "89cb99a5a87036f5e1b4eedb11d940381ec25688", "size_bytes": 5425, "file_timestamp": 1751063813, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "1407e4e52a3c7e3fa2affebd356021603ce42dd7", "url": "https://github.com/Cooolersam/qr-code-generator/blob/1407e4e52a3c7e3fa2affebd356021603ce42dd7/deploy-with-yaml.sh"}, "gpt4o_tokens": 1344, "dataset_split": "shell", "probability_weighted_scores": {"content_quality": 0.9257101447009547, "noise_severity": 0.11522575151790702, "missing_content_severity": 0.07143083450568995, "factual_density": 3.00225237804465, "pretraining_utility": 0.6324491177021756, "math_density": 0.0025050652145641116, "code_density": 3.7665976364658142, "reasoning_density": 0.6199254883165618, "education_level": 2.520570531521206, "creative_writing_quality": -0.11629425250165373}, "score_applicability": {"education_level": 0.9992193965985334, "creative_writing_quality": 0.0009468913945439686}} {"source_group": "shell", "source": "openbmb/UltraData-Stack-v3-L2/shell", "domain": "github.com", "language": "shell", "url": "https://github.com/oracle/docker-images/blob/452b93132f5dc832fc92351bf24487a854041547/OracleWebCenterContent/dockerfiles/12.2.1.4/container-scripts/createWCCDomain.sh", "id": "shell-0-f196e81a619a5733f81812e6a56eb44f", "text": "#!/bin/bash\n# Copyright (c) 2021, Oracle and/or its affiliates.\n# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl\n#\n\nfunction validate_parameter {\n name=$1\n value=$2\n if [ -z $value ]\n then\n echo \"ERROR: Please set '$name' in configmap[webcenter.env.list file].\"\n echo \"\" \n exit 1\n fi\n}\n\nif [ -z \"$DB_DROP_AND_CREATE\" ]\nthen\n export DB_DROP_AND_CREATE=\"false\" \nfi\n\nif [ -z ${KEEP_CONTAINER_ALIVE} ]\nthen\n # by default we always keep this flag ON\n export KEEP_CONTAINER_ALIVE=\"true\"\nfi\n\n# validate DB_CONNECTION_STRING\nvalidate_parameter \"DB_CONNECTION_STRING\" $DB_CONNECTION_STRING\n\n# validate DB_RCUPREFIX\nvalidate_parameter \"DB_RCUPREFIX\" $DB_RCUPREFIX\n\n# validate DB_PASSWORD\nvalidate_parameter \"DB_PASSWORD\" $DB_PASSWORD\n\n# validate DB_SCHEMA_PASSWORD\nvalidate_parameter \"DB_SCHEMA_PASSWORD\" $DB_SCHEMA_PASSWORD\n\n# validate HOSTNAME\nvalidate_parameter \"HOSTNAME\" $HOSTNAME\n\n# validate ADMIN_SERVER_CONTAINER_NAME\nvalidate_parameter \"ADMIN_SERVER_CONTAINER_NAME\" $ADMIN_SERVER_CONTAINER_NAME\n\n# validate ADMIN_PORT\nvalidate_parameter \"ADMIN_PORT\" $ADMIN_PORT\n\n# validate ADMIN_USERNAME\nvalidate_parameter \"ADMIN_USERNAME\" $ADMIN_USERNAME\n\n# validate ADMIN_PASSWORD\nvalidate_parameter \"ADMIN_PASSWORD\" $ADMIN_PASSWORD\n\nvalidate_parameter \"DOMAIN_NAME\" $DOMAIN_NAME\nvalidate_parameter \"UCM_PORT\" $UCM_PORT\nvalidate_parameter \"IBR_PORT\" $IBR_PORT\nvalidate_parameter \"UCM_INTRADOC_PORT\" $UCM_INTRADOC_PORT\nvalidate_parameter \"IBR_INTRADOC_PORT\" $IBR_INTRADOC_PORT\n\necho \"Environment variables\"\necho \"=====================\"\necho \"\"\necho \"DB_DROP_AND_CREATE=${DB_DROP_AND_CREATE}\"\necho \"DB_CONNECTION_STRING=${DB_CONNECTION_STRING}\"\necho \"DB_RCUPREFIX=${DB_RCUPREFIX}\"\necho \"DB_PASSWORD=${DB_PASSWORD}\"\necho \"DB_SCHEMA_PASSWORD=${DB_SCHEMA_PASSWORD}\"\necho \"HOSTNAME=${HOSTNAME}\"\necho \"ADMIN_SERVER_CONTAINER_NAME=${ADMIN_SERVER_CONTAINER_NAME}\"\necho \"DOMAIN_NAME=${DOMAIN_NAME}\"\necho \"ADMIN_PORT=${ADMIN_PORT}\"\necho \"UCM_PORT=${UCM_PORT}\"\necho \"IBR_PORT=${IBR_PORT}\"\necho \"UCM_INTRADOC_PORT=${UCM_INTRADOC_PORT}\"\necho \"IBR_INTRADOC_PORT=${IBR_INTRADOC_PORT}\"\necho \"ADMIN_USERNAME=${ADMIN_USERNAME}\"\necho \"ADMIN_PASSWORD=${ADMIN_PASSWORD}\"\necho \"KEEP_CONTAINER_ALIVE=${KEEP_CONTAINER_ALIVE}\"\necho \"\"\necho \"\"\n\nexport DROP_SCHEMA=$DB_DROP_AND_CREATE\nexport CONNECTION_STRING=$DB_CONNECTION_STRING\nexport RCUPREFIX=$DB_RCUPREFIX\nexport ADMIN_PASSWORD=$\nexport HOSTNAME=$HOSTNAME\nexport DOMAIN_NAME=$DOMAIN_NAME\nexport ADMIN_USERNAME=$ADMIN_USERNAME\nexport ADMIN_PORT=$ADMIN_PORT\nexport DB_PASSWORD=$DB_\nexport DB_SCHEMA_PASSWORD=$DB_SCHEMA_PASSWORD\nexport jdbc_url=\"jdbc:oracle:thin:@\"$CONNECTION_STRING\nexport vol_name=u01\n\nexport UCM_PORT=$UCM_PORT\nexport IBR_PORT=$IBR_PORT\nexport UCM_INTRADOC_PORT=$UCM_INTRADOC_PORT\nexport IBR_INTRADOC_PORT=$IBR_INTRADOC_PORT\nexport KEEP_CONTAINER_ALIVE=$KEEP_CONTAINER_ALIVE\necho -e $DB_PASSWORD\"\\n\"$DB_SCHEMA_PASSWORD > /$vol_name/oracle/pwd.txt\n\nCONTAINERCONFIG_DIR_NAME=\"container-data\"\nCONTAINERCONFIG_DIR=\"/$vol_name/oracle/user_projects/$CONTAINERCONFIG_DIR_NAME\"\nexport CONTAINERCONFIG_LOG_DIR=\"$CONTAINERCONFIG_DIR/logs\"\n\n#============================================\n# Creating schemas needed for WCContent domain\n#============================================\n\nRUN_RCU=\"true\"\nexport CONFIGURE_DOMAIN=\"true\"\n\nif [ -d $CONTAINERCONFIG_DIR ] \nthen\n #First load the Env Data from the env file... \n if [ -e $CONTAINERCONFIG_DIR/contenv.sh ] \n then\n sh /$CONTAINERCONFIG_DIR/contenv.sh\n #reset the JDBC URL\n export jdbc_url=\"jdbc:oracle:thin:@\"$CONNECTION_STRING\n fi\nfi\n\nif [ -e $CONTAINERCONFIG_DIR/RCU.$RCUPREFIX.suc ] \nthen\n # RCU has already been executed successfully, no need to rerun\n RUN_RCU=\"false\"\nfi\n\nif [ \"$RUN_RCU\" == \"true\" ] \nthen\n export RCU_LOG_LOCATION=$CONTAINERCONFIG_DIR\n export RCU_TIMESTAMP_LOG_DIR=\"false\"\n export RCU_LOG_LEVEL=\"ERROR\" \n echo \"\" \n echo \"WebCenter Content RCU Creation Phase\"\n echo \"===================================\"\n echo \"\"\n echo \"Deleting ons.jar and simplefan.jar\"\n echo \"\"\n echo \"\"\n rm /$vol_name/oracle//oracle_common/lib/ons.jar\n rm /$vol_name/oracle/oracle_common/modules/oracle.jdbc/simplefan.jar\n \n if [ \"$DROP_SCHEMA\" == \"true\" ]\n then\n export RCU_LOG_NAME=\"RCU_dropRepository.out\"\n /$vol_name/oracle/oracle_common/bin/rcu -silent -dropRepository -databaseType ORACLE -connectString $CONNECTION_STRING -dbUser sys -dbRole SYSDBA -schemaPrefix $RCUPREFIX -component CONTENT -component MDS -component STB -component OPSS -component IAU -component IAU_APPEND -component IAU_VIEWER -component WLS -f < /$vol_name/oracle/pwd.txt\n retval=$?\n if [ $retval -ne 0 ];\n then\n echo \"\" \n echo \"\" \n echo \"RCU drop repository failed. Please check the RCU log : $CONTAINERCONFIG_LOG_DIR/RCU_dropRepository.out\"\n echo \"Ignoring this operation and proceeding with RCU create.\"\n fi\n fi\n\n # Run the RCU.. it hasn't been loaded before.. \t\n export RCU_LOG_NAME=\"RCU_createRepository.out\"\n /$vol_name/oracle/oracle_common/bin/rcu -silent -createRepository -databaseType ORACLE -connectString $CONNECTION_STRING -dbUser sys -dbRole SYSDBA -useSamePasswordForAllSchemaUsers true -selectDependentsForComponents true -schemaPrefix $RCUPREFIX -component CONTENT -component MDS -component STB -component OPSS -component IAU -component IAU_APPEND -component IAU_VIEWER -component WLS -tablespace USERS -tempTablespace TEMP -f < /$vol_name/oracle/pwd.txt \n retval=$?\n if [ $retval -ne 0 ];\n then\n echo \"\" \n echo \"\" \n echo \"RCU create repository failed. Please check the RCU log : $CONTAINERCONFIG_LOG_DIR/RCU_createRepository.out\"\n exit 1\n else\n # Write the rcu suc file... \n touch $CONTAINERCONFIG_DIR/RCU.$RCUPREFIX.suc\n echo \"/$vol_name/oracle/oracle_common/bin/rcu -silent -createRepository -databaseType ORACLE -connectString $CONNECTION_STRING -dbUser sys -dbRole SYSDBA -useSamePasswordForAllSchemaUsers true -selectDependentsForComponents true -schemaPrefix $RCUPREFIX -component CONTENT -component MDS -component STB -component OPSS -component IAU -component IAU_APPEND -component IAU_VIEWER -component WLS -tablespace USERS -tempTablespace TEMP -f < /$vol_name/oracle/pwd.txt\" >> $CONTAINERCONFIG_DIR/RCU.$RCUPREFIX.suc\n fi\nfi\n\n#==============\n# Get Host Name\n#==============\nexport hostname=$HOSTNAME\n\n#=================================\n# Configuration of WCContent domain\n#=================================\nif [ -e $CONTAINERCONFIG_DIR/WCContent.Domain.Configure.suc ] \nthen\n CONFIGURE_DOMAIN=\"false\"\nfi\n\nif [ \"$CONFIGURE_DOMAIN\" == \"true\" ] \nthen\n echo \"\"\n echo \"Domain Configuration Phase\"\n echo \"==========================\"\n\n /$vol_name/oracle/oracle_common/common/bin/wlst.sh -skipWLSModuleScanning /$vol_name/oracle/container-scripts/createWCContentDomain_PS4.py -oh $ORACLE_HOME -jh $JAVA_HOME -parent /$vol_name/oracle/user_projects/domains -name $DOMAIN_NAME -user $ADMIN_USERNAME -password $ -rcuDb $CONNECTION_STRING -rcuPrefix $RCUPREFIX -rcuSchemaPwd $DB_SCHEMA_PASSWORD -adminServerPort $ADMIN_PORT -ucmManagedServerPort $UCM_PORT -ibrManagedServerPort $IBR_PORT\n retval=$?\n if [ $retval -ne 0 ]; \n then\n echo \"Domain configuration failed... please check the logs for errors\"\n exit 1\n else\n # Write the domain suc file... \n touch $CONTAINERCONFIG_DIR/WCContent.Domain.Configure.suc\n touch $CONTAINERCONFIG_DIR/contenv.sh \n chmod 755 $CONTAINERCONFIG_DIR/contenv.sh\n\n echo \"/$vol_name/oracle/oracle_common/common/bin/wlst.sh -skipWLSModuleScanning /$vol_name/oracle/createWCContentDomain_PS4.py -oh $ORACLE_HOME -jh $JAVA_HOME -parent /$vol_name/oracle/user_projects/domains -name $DOMAIN_NAME -password $ -rcuDb $CONNECTION_STRING -rcuPrefix $RCUPREFIX -rcuSchemaPwd $DB_SCHEMA_PASSWORD -adminServerPort $ADMIN_PORT -ucmManagedServerPort $UCM_PORT -ibrManagedServerPort $IBR_PORT\" >> $CONTAINERCONFIG_DIR/WCContent.Domain.Configure.suc\n \n echo \"CONNECTION_STRING=$CONNECTION_STRING\" > $CONTAINERCONFIG_DIR/contenv.sh\n echo \"RCUPREFIX=$RCUPREFIX\" >> $CONTAINERCONFIG_DIR/contenv.sh\n echo \"ADMIN_PASSWORD=$\" >> $CONTAINERCONFIG_DIR/contenv.sh\n echo \"DB_PASSWORD=$\" >> $CONTAINERCONFIG_DIR/contenv.sh\n echo \"KEEP_CONTAINER_ALIVEi=$KEEP_CONTAINER_ALIVE\" >> $CONTAINERCONFIG_DIR/contenv.sh\n echo \"vol_name=$vol_name\" >> $CONTAINERCONFIG_DIR/contenv.sh\n fi\n\n # Creating domain env file\n mkdir -p /$vol_name/oracle/user_projects/domains/$DOMAIN_NAME/servers/AdminServer/security\n mkdir -p /$vol_name/oracle/user_projects/domains/$DOMAIN_NAME/servers/UCM_server1/security\n mkdir -p /$vol_name/oracle/user_projects/domains/$DOMAIN_NAME/servers/IBR_server1/security\n mv /$vol_name/oracle/container-scripts/commEnv.sh /$vol_name/oracle/wlserver/common/bin/commEnv.sh\n\n # Password less Adminserver starting\n echo \"username=\"$ADMIN_USERNAME > /$vol_name/oracle/user_projects/domains/$DOMAIN_NAME/servers/AdminServer/security/boot.properties\n echo \"password=\"$ADMIN_ >> /$vol_name/oracle/user_projects/domains/$DOMAIN_NAME/servers/AdminServer/security/boot.properties\n\n # Password less WCContent server starting\n echo \"username=\"$ADMIN_USERNAME > /$vol_name/oracle/user_projects/domains/$DOMAIN_NAME/servers/UCM_server1/security/boot.properties\n echo \"password=\"$ >> /$vol_name/oracle/user_projects/domains/$DOMAIN_NAME/servers/UCM_server1/security/boot.properties\n echo \"username=\"$ADMIN_USERNAME > /$vol_name/oracle/user_projects/domains/$DOMAIN_NAME/servers/IBR_server1/security/boot.properties\n echo \"password=\"$ >> /$vol_name/oracle/user_projects/domains/$DOMAIN_NAME/servers/IBR_server1/security/boot.properties\nfi \n\n# delete password file\nrm -f /$vol_name/oracle/pwd.txt\n\n# Setting env variables\necho \". /$vol_name/oracle/user_projects/domains/$DOMAIN_NAME/bin/setDomainEnv.sh\" >> /$vol_name/oracle/.bashrc\necho \"export PATH=$PATH:/$vol_name/oracle/common/bin:/$vol_name/oracle/user_projects/domains/$DOMAIN_NAME/bin\" >> /$vol_name/oracle/.bashrc\n\n# setting user override \ncp /$vol_name/oracle/container-scripts/setUserOverrides.sh /$vol_name/oracle/user_projects/domains/$DOMAIN_NAME/bin/\n\necho \"\"\necho \"END Domain Configuration Phase\"\necho \"==============================\"\n", "text_preview": "#!/bin/bash # Copyright (c) 2021, Oracle and/or its affiliates. # Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl # function validate_parameter { name=$1 value=$2 if [ -z $value ] then e", "input_sha256": "851a3f3b6148e3918c720ebbd25479bdddb3066f401737e3f4ee55ba8d0b643f", "text_sha256": "f196e81a619a5733f81812e6a56eb44f6a42e72314d560df13226035f5289ffd", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 20011, "input_policy": "text-and-optional-url-v1", "label_policy_version": 12, "requested_model": "decision-models/baseten-mammoth-27b-latest", "backend": "baseten", "endpoint": "https://inference.baseten.co/v1/systemone", "status": "ok", "training_eligible": true, "label": {"primary": {"main_format": "Technical Writing", "sub_format": null}, "secondary": null, "tertiary": null, "content_structure": []}, "candidate_label": null, "topic": {"primary": {"main_topic": "Programming & Software Engineering", "sub_topic": null}, "secondary": null}, "scores": {"content_quality": 1, "noise_severity": 0, "missing_content_severity": 0, "factual_density": 3, "pretraining_utility": 0, "math_density": 0, "code_density": 4, "reasoning_density": 0, "education_level": 3, "creative_writing_quality": null}, "score_expectations": {"content_quality": 0.34330688249276414, "noise_severity": 0.42865860142133233, "missing_content_severity": 0.11724405064817861, "factual_density": 3.0836920934609755, "pretraining_utility": 0.19730374526598904, "math_density": 0.005599341613978585, "code_density": 3.878644070464667, "reasoning_density": 0.6099726269085011, "education_level": 2.896790817601503, "creative_writing_quality": -0.3941600105403618}, "api_choices": {"primary": "Technical Writing", "secondary": "NONE", "tertiary": "NONE", "education_level": "3", "creative_writing_quality": "not_applicable", "primary_topic": "Programming & Software Engineering", "secondary_topic": "NONE"}, "review_reasons": [], "format_slot_diagnostics": {"comparable": true, "secondary_tertiary_identical": false, "secondary_tertiary_max_abs_gap": 0.10448369805465507, "secondary_choice": "NONE", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.9833292120768492, "secondary": 0.4647700975969504, "tertiary": 0.5737965651322428, "structured_records": 0.026552133683032178, "procedural_steps": 0.23534274120707316, "worked_solution": 0.0025391586915225156, "contextual_dialogue": 8.275556428835175e-06, "content_quality": 0.2841144622297157, "noise_severity": 0.6427844988155564, "missing_content_severity": 0.9022966244598511, "factual_density": 0.5094039581054168, "pretraining_utility": 0.4979973088000982, "math_density": 0.9953338819883512, "code_density": 0.898870058720556, "reasoning_density": 0.49168947757624915, "education_level": 0.5293202437663849, "creative_writing_quality": 0.9994372527314042, "primary_topic": 0.9661695462888866, "secondary_topic": 0.8004564756431408}, "probability_margin": {"primary": 0.9732874677402252, "secondary": 0.028040749564164358, "tertiary": 0.2197255087399661, "education_level": 0.3691301045466859, "creative_writing_quality": 0.9993482843124416, "primary_topic": 0.9371207944751997, "secondary_topic": 0.6858761321241497}, "raw_probabilities": {"primary": {"Academic Writing": 8.464595587760464e-05, "Content Listing": 5.661871455809962e-05, "Creative Writing": 6.012145095800343e-05, "Customer Support Page": 0.00011196034098958712, "Q&A Forum": 4.0092167838801744e-05, "Discussion Thread": 2.925345940105681e-05, "Comment Section": 5.656428595815943e-05, "Missing Content": 6.850361830894677e-05, "Knowledge Article": 0.0002152866659791447, "Legal Notices": 0.0004277523695851734, "News Article": 2.057053669252113e-05, "Organizational Announcement": 6.25766628087912e-05, "Nonfiction Writing": 3.419146459334412e-05, "Organizational About Page": 4.534164687244009e-05, "Personal About Page": 2.8215264249846102e-05, "Personal Blog": 2.5156661827145955e-05, "Product Page": 2.6194587729645866e-05, "Spam / Ads": 3.7066624971414654e-05, "Structured Data": 0.0004733635819701247, "Technical Writing": 0.9840238282403139, "Transcript / Interview": 6.58168023078609e-05, "Tutorial / How-To Guide": 0.010736360500088582, "User Reviews": 2.2642161823981415e-05, "Other / Unknown": 0.0032478762342957237}, "secondary": {"Academic Writing": 0.0006957432900884944, "Content Listing": 0.0005479891956703448, "Creative Writing": 0.0006035497342286584, "Customer Support Page": 0.0005755221804190304, "Q&A Forum": 0.00040877767495496744, "Discussion Thread": 0.0003255832074464071, "Comment Section": 0.0006524817803258324, "Missing Content": 0.0007788868262746957, "Knowledge Article": 0.0011282441092197398, "Legal Notices": 0.4590305939662465, "News Article": 0.0006062055762953007, "Organizational Announcement": 0.0008405814849407637, "Nonfiction Writing": 0.0005246819873570888, "Organizational About Page": 0.0006868079157659001, "Personal About Page": 0.0003539105003521106, "Personal Blog": 0.00037060844622576193, "Product Page": 0.0004374875472776636, "Spam / Ads": 0.0005114520802087099, "Structured Data": 0.0012766679053130847, "Technical Writing": 0.033670125097978926, "Transcript / Interview": 0.0008568605168213457, "Tutorial / How-To Guide": 0.007769657323399761, "User Reviews": 0.0002762381227779229, "NONE": 0.48707134353041087}, "tertiary": {"Academic Writing": 0.0006139433353693032, "Content Listing": 0.00044216399305361257, "Creative Writing": 0.0006273255907516333, "Customer Support Page": 0.0005847866771398747, "Q&A Forum": 0.000320757844884328, "Discussion Thread": 0.0002719609162982217, "Comment Section": 0.000662720269004332, "Missing Content": 0.0006711316563905941, "Knowledge Article": 0.0012280102202126704, "Legal Notices": 0.3718295328450999, "News Article": 0.00047257378798860384, "Organizational Announcement": 0.0006513093149031156, "Nonfiction Writing": 0.0004290521980544283, "Organizational About Page": 0.0006409301627028311, "Personal About Page": 0.00029428205434231785, "Personal Blog": 0.00027201486897450157, "Product Page": 0.0004001315896808188, "Spam / Ads": 0.00043819597060998475, "Structured Data": 0.0013531591969348023, "Technical Writing": 0.015605968152537134, "Transcript / Interview": 0.0007709296680133503, "Tutorial / How-To Guide": 0.009642178487931256, "User Reviews": 0.0002218996140563659, "NONE": 0.591555041585066}, "structured_records": {"false": 0.9734478663169678, "true": 0.026552133683032178}, "procedural_steps": {"false": 0.7646572587929268, "true": 0.23534274120707316}, "worked_solution": {"false": 0.9974608413084775, "true": 0.0025391586915225156}, "contextual_dialogue": {"false": 0.9999917244435712, "true": 8.275556428835175e-06}, "content_quality": {"-2": 0.028875715081425658, "-1": 0.168427909694431, "0": 0.33439491678264954, "1": 0.3671166945329412, "2": 0.10118476390855263}, "noise_severity": {"0": 0.69445075004163, "1": 0.2251702253497597, "2": 0.047047043941387166, "3": 0.023933634480093943, "4": 0.009398346187129116}, "missing_content_severity": {"0": 0.9227634429590559, "1": 0.043542285420688435, "2": 0.028493840340125774, "3": 0.0040876405732809306, "4": 0.00111279070684896}, "factual_density": {"0": 0.0072457765141104675, "1": 0.022245018202503238, "2": 0.18628421245892424, "3": 0.4480213209572244, "4": 0.33620367186723754}, "pretraining_utility": {"-2": 0.022203167082672313, "-1": 0.15814340792160195, "0": 0.4566828008953589, "1": 0.3260877608477981, "2": 0.036882863252568746}, "math_density": {"0": 0.9958509952379436, "1": 0.0034457592832576466, "2": 0.0002558550746622996, "3": 0.0001476894351486869, "4": 0.00029970096898756924}, "code_density": {"0": 0.00032407082454423804, "1": 0.000562932664291654, "2": 0.007881672291667186, "3": 0.10260750366094654, "4": 0.8886238205585504}, "reasoning_density": {"0": 0.6389662351261306, "1": 0.17002340962319942, "2": 0.1470455021895532, "3": 0.030001199338271476, "4": 0.013963653722845188}, "education_level": {"none": 0.0009686255802800713, "0": 0.0014862027837272368, "1": 0.0037184581021755124, "2": 0.2386367652586348, "3": 0.6077668698053207, "4": 0.14742307846986166}, "creative_writing_quality": {"not_applicable": 0.9995310439428368, "-2": 8.804621359449179e-05, "-1": 0.0001156544061231128, "0": 0.00018275963039513177, "1": 5.8088505223338415e-05, "2": 2.440730182716453e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 6.313401139379468e-05, "Art & Design": 9.571197726134894e-05, "Law & Crime": 9.591995174253751e-05, "Education & Careers": 6.699377015541519e-05, "Entertainment & Media": 5.433698819977126e-05, "Fashion & Beauty": 5.199883118134255e-05, "Business, Economics & Finance": 0.00015932307686906448, "Food & Dining": 5.134685319533151e-05, "Games & Gaming": 8.594273857323299e-05, "Electronics & Hardware": 0.00028717715247922635, "Health, Healthcare & Wellness": 4.612608899593987e-05, "History & Geography": 7.959892467876138e-05, "Home, Pets & Hobbies": 5.497739056108657e-05, "Industry & Production": 0.00010336652018706828, "Language, Literature & Philosophy": 5.9670421472798295e-05, "Politics & Government": 3.9905994485480055e-05, "Religion & Spirituality": 4.7989577525059145e-05, "Science, Mathematics & Engineering": 0.00018497714218859024, "Relationships & Community": 3.4320800350816264e-05, "Software Usage & Applications": 0.030349923110268205, "Programming & Software Engineering": 0.9674707175854679, "Sports & Fitness": 7.211770554948547e-05, "Vehicles & Transportation": 3.750797043789486e-05, "Travel & Tourism": 6.491153760628154e-05, "Other / Uncovered Subject": 0.00023839402898184997, "Unknown / Insufficient Content": 0.00010360985019179281}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0005219919057165864, "Art & Design": 0.00048301273476473197, "Law & Crime": 0.01866689265106403, "Education & Careers": 0.00040069998310757145, "Entertainment & Media": 0.0004429508997355542, "Fashion & Beauty": 0.0002731865525122102, "Business, Economics & Finance": 0.00163462822851859, "Food & Dining": 0.0002131331940565885, "Games & Gaming": 0.0003196313564542932, "Electronics & Hardware": 0.0012535041924619833, "Health, Healthcare & Wellness": 0.00030729619559199804, "History & Geography": 0.00031940510458866855, "Home, Pets & Hobbies": 0.00026009473297827036, "Industry & Production": 0.00033943540303470784, "Language, Literature & Philosophy": 0.00021079480876096902, "Politics & Government": 0.0003119635462470236, "Religion & Spirituality": 0.0003513630501074404, "Science, Mathematics & Engineering": 0.0007251239533232445, "Relationships & Community": 0.0001710373137061594, "Software Usage & Applications": 0.12225509445579338, "Programming & Software Engineering": 0.040861577286402065, "Sports & Fitness": 0.0002538940384147411, "Vehicles & Transportation": 0.0001415257985352033, "Travel & Tourism": 0.00036606602386105843, "Other / Uncovered Subject": 0.000784470010319922, "NONE": 0.8081312265799431}}, "probabilities": {"primary": {"Academic Writing": 8.464595587760465e-05, "Content Listing": 5.6618714558099627e-05, "Creative Writing": 6.012145095800344e-05, "Customer Support Page": 0.00011196034098958713, "Q&A Forum": 4.009216783880175e-05, "Discussion Thread": 2.9253459401056814e-05, "Comment Section": 5.656428595815944e-05, "Missing Content": 6.850361830894679e-05, "Knowledge Article": 0.00021528666597914471, "Legal Notices": 0.00042775236958517344, "News Article": 2.0570536692521135e-05, "Organizational Announcement": 6.257666280879122e-05, "Nonfiction Writing": 3.419146459334413e-05, "Organizational About Page": 4.53416468724401e-05, "Personal About Page": 2.8215264249846106e-05, "Personal Blog": 2.5156661827145958e-05, "Product Page": 2.619458772964587e-05, "Spam / Ads": 3.706662497141466e-05, "Structured Data": 0.00047336358197012473, "Technical Writing": 0.984023828240314, "Transcript / Interview": 6.581680230786092e-05, "Tutorial / How-To Guide": 0.010736360500088584, "User Reviews": 2.2642161823981418e-05, "Other / Unknown": 0.003247876234295724}, "secondary": {"Academic Writing": 0.0006957432900884945, "Content Listing": 0.0005479891956703449, "Creative Writing": 0.0006035497342286585, "Customer Support Page": 0.0005755221804190305, "Q&A Forum": 0.0004087776749549675, "Discussion Thread": 0.00032558320744640717, "Comment Section": 0.0006524817803258325, "Missing Content": 0.0007788868262746958, "Knowledge Article": 0.00112824410921974, "Legal Notices": 0.45903059396624657, "News Article": 0.0006062055762953008, "Organizational Announcement": 0.0008405814849407638, "Nonfiction Writing": 0.0005246819873570889, "Organizational About Page": 0.0006868079157659002, "Personal About Page": 0.00035391050035211063, "Personal Blog": 0.000370608446225762, "Product Page": 0.00043748754727766364, "Spam / Ads": 0.00051145208020871, "Structured Data": 0.001276667905313085, "Technical Writing": 0.03367012509797893, "Transcript / Interview": 0.0008568605168213458, "Tutorial / How-To Guide": 0.007769657323399762, "User Reviews": 0.00027623812277792297, "NONE": 0.4870713435304109}, "tertiary": {"Academic Writing": 0.0006139433353693032, "Content Listing": 0.00044216399305361257, "Creative Writing": 0.0006273255907516333, "Customer Support Page": 0.0005847866771398747, "Q&A Forum": 0.000320757844884328, "Discussion Thread": 0.0002719609162982217, "Comment Section": 0.000662720269004332, "Missing Content": 0.0006711316563905941, "Knowledge Article": 0.0012280102202126704, "Legal Notices": 0.3718295328450999, "News Article": 0.00047257378798860384, "Organizational Announcement": 0.0006513093149031156, "Nonfiction Writing": 0.0004290521980544283, "Organizational About Page": 0.0006409301627028311, "Personal About Page": 0.00029428205434231785, "Personal Blog": 0.00027201486897450157, "Product Page": 0.0004001315896808188, "Spam / Ads": 0.00043819597060998475, "Structured Data": 0.0013531591969348023, "Technical Writing": 0.015605968152537134, "Transcript / Interview": 0.0007709296680133503, "Tutorial / How-To Guide": 0.009642178487931256, "User Reviews": 0.0002218996140563659, "NONE": 0.591555041585066}, "structured_records": {"false": 0.9734478663169678, "true": 0.026552133683032178}, "procedural_steps": {"false": 0.7646572587929268, "true": 0.23534274120707316}, "worked_solution": {"false": 0.9974608413084775, "true": 0.0025391586915225156}, "contextual_dialogue": {"false": 0.9999917244435712, "true": 8.275556428835175e-06}, "content_quality": {"-2": 0.028875715081425658, "-1": 0.168427909694431, "0": 0.33439491678264954, "1": 0.3671166945329412, "2": 0.10118476390855263}, "noise_severity": {"0": 0.69445075004163, "1": 0.2251702253497597, "2": 0.047047043941387166, "3": 0.023933634480093943, "4": 0.009398346187129116}, "missing_content_severity": {"0": 0.9227634429590559, "1": 0.043542285420688435, "2": 0.028493840340125774, "3": 0.0040876405732809306, "4": 0.00111279070684896}, "factual_density": {"0": 0.007245776514110468, "1": 0.02224501820250324, "2": 0.18628421245892426, "3": 0.44802132095722447, "4": 0.3362036718672376}, "pretraining_utility": {"-2": 0.022203167082672313, "-1": 0.15814340792160195, "0": 0.4566828008953589, "1": 0.3260877608477981, "2": 0.036882863252568746}, "math_density": {"0": 0.9958509952379438, "1": 0.0034457592832576474, "2": 0.00025585507466229965, "3": 0.00014768943514868691, "4": 0.0002997009689875693}, "code_density": {"0": 0.00032407082454423804, "1": 0.000562932664291654, "2": 0.007881672291667186, "3": 0.10260750366094654, "4": 0.8886238205585504}, "reasoning_density": {"0": 0.6389662351261307, "1": 0.17002340962319945, "2": 0.14704550218955323, "3": 0.03000119933827148, "4": 0.01396365372284519}, "education_level": {"none": 0.0009686255802800713, "0": 0.0014862027837272368, "1": 0.0037184581021755124, "2": 0.2386367652586348, "3": 0.6077668698053207, "4": 0.14742307846986166}, "creative_writing_quality": {"not_applicable": 0.9995310439428368, "-2": 8.804621359449179e-05, "-1": 0.0001156544061231128, "0": 0.00018275963039513177, "1": 5.8088505223338415e-05, "2": 2.440730182716453e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 6.313401139379468e-05, "Art & Design": 9.571197726134894e-05, "Law & Crime": 9.591995174253751e-05, "Education & Careers": 6.699377015541519e-05, "Entertainment & Media": 5.433698819977126e-05, "Fashion & Beauty": 5.199883118134255e-05, "Business, Economics & Finance": 0.00015932307686906448, "Food & Dining": 5.134685319533151e-05, "Games & Gaming": 8.594273857323299e-05, "Electronics & Hardware": 0.00028717715247922635, "Health, Healthcare & Wellness": 4.612608899593987e-05, "History & Geography": 7.959892467876138e-05, "Home, Pets & Hobbies": 5.497739056108657e-05, "Industry & Production": 0.00010336652018706828, "Language, Literature & Philosophy": 5.9670421472798295e-05, "Politics & Government": 3.9905994485480055e-05, "Religion & Spirituality": 4.7989577525059145e-05, "Science, Mathematics & Engineering": 0.00018497714218859024, "Relationships & Community": 3.4320800350816264e-05, "Software Usage & Applications": 0.030349923110268205, "Programming & Software Engineering": 0.9674707175854679, "Sports & Fitness": 7.211770554948547e-05, "Vehicles & Transportation": 3.750797043789486e-05, "Travel & Tourism": 6.491153760628154e-05, "Other / Uncovered Subject": 0.00023839402898184997, "Unknown / Insufficient Content": 0.00010360985019179281}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0005219919057165864, "Art & Design": 0.00048301273476473197, "Law & Crime": 0.01866689265106403, "Education & Careers": 0.00040069998310757145, "Entertainment & Media": 0.0004429508997355542, "Fashion & Beauty": 0.0002731865525122102, "Business, Economics & Finance": 0.00163462822851859, "Food & Dining": 0.0002131331940565885, "Games & Gaming": 0.0003196313564542932, "Electronics & Hardware": 0.0012535041924619833, "Health, Healthcare & Wellness": 0.00030729619559199804, "History & Geography": 0.00031940510458866855, "Home, Pets & Hobbies": 0.00026009473297827036, "Industry & Production": 0.00033943540303470784, "Language, Literature & Philosophy": 0.00021079480876096902, "Politics & Government": 0.0003119635462470236, "Religion & Spirituality": 0.0003513630501074404, "Science, Mathematics & Engineering": 0.0007251239533232445, "Relationships & Community": 0.0001710373137061594, "Software Usage & Applications": 0.12225509445579338, "Programming & Software Engineering": 0.040861577286402065, "Sports & Fitness": 0.0002538940384147411, "Vehicles & Transportation": 0.0001415257985352033, "Travel & Tourism": 0.00036606602386105843, "Other / Uncovered Subject": 0.000784470010319922, "NONE": 0.8081312265799431}}, "probability_diagnostics": {"primary": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "tertiary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "structured_records": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "procedural_steps": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "worked_solution": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "contextual_dialogue": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "content_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "noise_severity": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "missing_content_severity": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "factual_density": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "pretraining_utility": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "math_density": {"raw_sum": 0.9999999999999998, "mass_delta": -2.220446049250313e-16, "missing_mass": 2.220446049250313e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "code_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "reasoning_density": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "education_level": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "creative_writing_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "primary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}}, "usage": {"input_tokens": 11287, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 11287, "cached_share": null, "cache_discount_reported": null, "reported_cost_usd": null}, "response_metadata": {"model": "decision-models/baseten-mammoth-27b-latest"}, "scored_at_utc": "2026-10-25T18:29:15.583604+00:00", "scoring_key_slot": "primary", "dataset_uid": "a918a2ce-e3af-4557-9c66-28f0e89d6e80", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "69b6ea2b1992e55817af8e0e7a1174ce6a55412f6a5e152dd2e646f74b644f70", "source_metadata": {"uuid": "a918a2ce-e3af-4557-9c66-28f0e89d6e80", "repo_name": "oracle/docker-images", "relative_path": "OracleWebCenterContent/dockerfiles/12.2.1.4/container-scripts/createWCCDomain.sh", "category": "TOOL", "algo_rel_score": 0.9943917393684387, "quality_score": 3.160573959350586, "source_meta": {"github_metadata": {"branch": "main", "commit_count": 2286, "repo_created_at": "2014-12-19T18:53:18.000Z", "is_fork": false, "is_org_owned": true, "forked_from": null, "stars": 6799, "forks": 5468, "issues": 154, "pull_requests": 20}, "file_meta": {"content_id": "aad7378c6b3282fc2eee4f4891b4f649d7c2531a", "size_bytes": 10302, "file_timestamp": 1752625949, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "452b93132f5dc832fc92351bf24487a854041547"}}, "parsed_source_meta": {"github_metadata": {"branch": "main", "commit_count": 2286, "repo_created_at": "2014-12-19T18:53:18.000Z", "is_fork": false, "is_org_owned": true, "forked_from": null, "stars": 6799, "forks": 5468, "issues": 154, "pull_requests": 20}, "file_meta": {"content_id": "aad7378c6b3282fc2eee4f4891b4f649d7c2531a", "size_bytes": 10302, "file_timestamp": 1752625949, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "452b93132f5dc832fc92351bf24487a854041547", "url": "https://github.com/oracle/docker-images/blob/452b93132f5dc832fc92351bf24487a854041547/OracleWebCenterContent/dockerfiles/12.2.1.4/container-scripts/createWCCDomain.sh"}, "gpt4o_tokens": 2705, "dataset_split": "shell", "probability_weighted_scores": {"content_quality": 0.34330688249276414, "noise_severity": 0.42865860142133233, "missing_content_severity": 0.11724405064817861, "factual_density": 3.0836920934609755, "pretraining_utility": 0.19730374526598904, "math_density": 0.005599341613978585, "code_density": 3.878644070464667, "reasoning_density": 0.6099726269085011, "education_level": 2.896790817601503, "creative_writing_quality": -0.3941600105403618}, "score_applicability": {"education_level": 0.9990313744197199, "creative_writing_quality": 0.0004689560571632393}} {"source_group": "shell", "source": "openbmb/UltraData-Stack-v3-L2/shell", "domain": "github.com", "language": "shell", "url": "https://github.com/oiahoon/osh.it/blob/c61072aa404eee39ecfda67bef8bc8cb1d689b59/lib/plugin_discovery.zsh", "id": "shell-0-7e270fea1be9fdfc8a8d69d32769d6b6", "text": "#!/usr/bin/env bash\n# OSH.IT Plugin Discovery System - Shell Compatible Version\n# Advanced plugin search, discovery, and metadata management\n# Version: 1.0.0\n\n# Ensure cyberpunk styling is loaded\nif [[ -z \"${OSH_CYBERPUNK_LOADED:-}\" ]] && [[ -f \"${OSH}/lib/cyberpunk.zsh\" ]]; then\n source \"${OSH}/lib/cyberpunk.zsh\"\nfi\n\n# ============================================================================\n# PLUGIN METADATA DATABASE\n# ============================================================================\n\n# Plugin database with enhanced metadata (shell compatible)\ndeclare -A OSH_PLUGIN_DB\n\n# Initialize plugin database\nosh_plugin_init_db() {\n # Stable plugins\n OSH_PLUGIN_DB[sysinfo]=\"stable|1.1.0|System information display with OSH branding|sysinfo,oshinfo,neofetch-osh||system,info,display\"\n OSH_PLUGIN_DB[weather]=\"stable|1.3.0|Beautiful weather forecast with ASCII art|weather,forecast|curl|weather,forecast,utility\"\n OSH_PLUGIN_DB[taskman]=\"stable|2.0.0|Advanced terminal task manager with productivity features|tm,tasks|python3|productivity,tasks,management\"\n \n # Beta plugins\n OSH_PLUGIN_DB[acw]=\"beta|0.9.0|Advanced Code Workflow - Git + JIRA integration|acw,ggco,newb|git,curl|git,jira,workflow,development\"\n OSH_PLUGIN_DB[fzf]=\"beta|0.8.0|Enhanced fuzzy finder with preview capabilities|pp,fcommit|fzf|search,fuzzy,finder\"\n \n # Experimental plugins\n OSH_PLUGIN_DB[greeting]=\"experimental|0.5.0|Friendly welcome message for OSH users|auto-display||greeting,welcome,ui\"\n}\n\n# Parse plugin metadata\nosh_plugin_parse_metadata() {\n local plugin=\"$1\"\n local metadata=\"${OSH_PLUGIN_DB[$plugin]}\"\n \n if [[ -z \"$metadata\" ]]; then\n return 1\n fi\n \n # Split metadata: category|version|description|commands|dependencies|tags\n local IFS='|'\n local parts=($metadata)\n \n echo \"CATEGORY=${parts[0]}\"\n echo \"VERSION=${parts[1]}\"\n echo \"DESCRIPTION=${parts[2]}\"\n echo \"COMMANDS=${parts[3]}\"\n echo \"DEPENDENCIES=${parts[4]}\"\n echo \"TAGS=${parts[5]}\"\n}\n\n# ============================================================================\n# PLUGIN SEARCH FUNCTIONS\n# ============================================================================\n\n# Search plugins by keyword\nosh_plugin_search() {\n local search_term=\"$1\"\n local search_type=\"${2:-all}\" # all, name, description, tags, commands\n \n if [[ -z \"$search_term\" ]]; then\n if command -v osh_cyber_error >/dev/null 2>&1; then\n osh_cyber_error \"Search term required\"\n else\n echo \"Error: Search term required\"\n fi\n return 1\n fi\n \n osh_plugin_init_db\n \n local found_plugins=()\n local search_lower=$(echo \"$search_term\" | tr '[:upper:]' '[:lower:]')\n \n # Shell compatible iteration over associative array keys\n for plugin in \"${!OSH_PLUGIN_DB[@]}\"; do\n local metadata=\"${OSH_PLUGIN_DB[$plugin]}\"\n local IFS='|'\n local parts=($metadata)\n \n local category=\"${parts[0]}\"\n local version=\"${parts[1]}\"\n local description=\"${parts[2]}\"\n local commands=\"${parts[3]}\"\n local dependencies=\"${parts[4]}\"\n local tags=\"${parts[5]}\"\n \n local match=0\n \n # Check name match\n if [[ \"$search_type\" == \"all\" || \"$search_type\" == \"name\" ]]; then\n if [[ \"$plugin\" == *\"$search_lower\"* ]]; then\n match=1\n fi\n fi\n \n # Check description match\n if [[ \"$search_type\" == \"all\" || \"$search_type\" == \"description\" ]]; then\n if [[ \"$(echo \"$description\" | tr '[:upper:]' '[:lower:]')\" == *\"$search_lower\"* ]]; then\n match=1\n fi\n fi\n \n # Check tags match\n if [[ \"$search_type\" == \"all\" || \"$search_type\" == \"tags\" ]]; then\n if [[ \"$(echo \"$tags\" | tr '[:upper:]' '[:lower:]')\" == *\"$search_lower\"* ]]; then\n match=1\n fi\n fi\n \n # Check commands match\n if [[ \"$search_type\" == \"all\" || \"$search_type\" == \"commands\" ]]; then\n if [[ \"$(echo \"$commands\" | tr '[:upper:]' '[:lower:]')\" == *\"$search_lower\"* ]]; then\n match=1\n fi\n fi\n \n if [[ $match -eq 1 ]]; then\n found_plugins+=(\"$plugin:$category:$description\")\n fi\n done\n \n if [[ ${#found_plugins[@]} -eq 0 ]]; then\n if command -v osh_cyber_warning >/dev/null 2>&1; then\n osh_cyber_warning \"No plugins found matching '$search_term'\"\n else\n echo \"Warning: No plugins found matching '$search_term'\"\n fi\n return 1\n fi\n \n # Display results\n if command -v osh_cyber_table_header >/dev/null 2>&1; then\n osh_cyber_table_header\n \n for result in \"${found_plugins[@]}\"; do\n local IFS=':'\n local parts=($result)\n local plugin=\"${parts[0]}\"\n local category=\"${parts[1]}\"\n local description=\"${parts[2]}\"\n \n # Check if installed\n local status=\"AVAILABLE\"\n if osh_plugin_is_installed \"$plugin\"; then\n status=\"INSTALLED\"\n fi\n \n osh_cyber_table_row \"$plugin\" \"$status\" \"$category\" \"$description\"\n done\n \n osh_cyber_table_footer\n else\n # Fallback display\n for result in \"${found_plugins[@]}\"; do\n local IFS=':'\n local parts=($result)\n local plugin=\"${parts[0]}\"\n local category=\"${parts[1]}\"\n local description=\"${parts[2]}\"\n \n echo \" $plugin ($category) - $description\"\n done\n fi\n \n return 0\n}\n\n# List plugins by category\nosh_plugin_list_by_category() {\n local category=\"${1:-all}\"\n \n osh_plugin_init_db\n \n local plugins=()\n \n for plugin in \"${!OSH_PLUGIN_DB[@]}\"; do\n local metadata=\"${OSH_PLUGIN_DB[$plugin]}\"\n local IFS='|'\n local parts=($metadata)\n local plugin_category=\"${parts[0]}\"\n \n if [[ \"$category\" == \"all\" || \"$plugin_category\" == \"$category\" ]]; then\n plugins+=(\"$plugin:$plugin_category:${parts[2]}\")\n fi\n done\n \n # Sort plugins by category, then by name\n IFS=$'\\n' plugins=($(sort <<<\"${plugins[*]}\"))\n \n if command -v osh_cyber_table_header >/dev/null 2>&1; then\n osh_cyber_table_header\n \n for plugin_info in \"${plugins[@]}\"; do\n local IFS=':'\n local parts=($plugin_info)\n local plugin=\"${parts[0]}\"\n local plugin_category=\"${parts[1]}\"\n local description=\"${parts[2]}\"\n \n # Check if installed\n local status=\"AVAILABLE\"\n if osh_plugin_is_installed \"$plugin\"; then\n status=\"INSTALLED\"\n fi\n \n osh_cyber_table_row \"$plugin\" \"$status\" \"$plugin_category\" \"$description\"\n done\n \n osh_cyber_table_footer\n else\n # Fallback display\n local current_category=\"\"\n for plugin_info in \"${plugins[@]}\"; do\n local IFS=':'\n local parts=($plugin_info)\n local plugin=\"${parts[0]}\"\n local plugin_category=\"${parts[1]}\"\n local description=\"${parts[2]}\"\n \n if [[ \"$plugin_category\" != \"$current_category\" ]]; then\n echo \"\"\n echo \"$plugin_category plugins:\"\n current_category=\"$plugin_category\"\n fi\n \n echo \" $plugin - $description\"\n done\n fi\n}\n\n# Get detailed plugin information\nosh_plugin_get_info() {\n local plugin=\"$1\"\n \n if [[ -z \"$plugin\" ]]; then\n if command -v osh_cyber_error >/dev/null 2>&1; then\n osh_cyber_error \"Plugin name required\"\n else\n echo \"Error: Plugin name required\"\n fi\n return 1\n fi\n \n osh_plugin_init_db\n \n local metadata=\"${OSH_PLUGIN_DB[$plugin]}\"\n if [[ -z \"$metadata\" ]]; then\n if command -v osh_cyber_error >/dev/null 2>&1; then\n osh_cyber_error \"Plugin '$plugin' not found\"\n else\n echo \"Error: Plugin '$plugin' not found\"\n fi\n return 1\n fi\n \n local IFS='|'\n local parts=($metadata)\n \n local category=\"${parts[0]}\"\n local version=\"${parts[1]}\"\n local description=\"${parts[2]}\"\n local commands=\"${parts[3]}\"\n local dependencies=\"${parts[4]}\"\n local tags=\"${parts[5]}\"\n \n # Display plugin information\n if command -v osh_cyber_accent >/dev/null 2>&1; then\n osh_cyber_accent \"PLUGIN INFORMATION: $plugin\"\n else\n echo \"Plugin Information: $plugin\"\n fi\n \n echo \"\"\n echo \"Version: $version\"\n echo \"Category: $category\"\n echo \"Description: $description\"\n \n if [[ -n \"$commands\" ]]; then\n echo \"Commands: $commands\"\n fi\n \n if [[ -n \"$dependencies\" ]]; then\n echo \"Dependencies: $dependencies\"\n fi\n \n if [[ -n \"$tags\" ]]; then\n echo \"Tags: $tags\"\n fi\n \n # Check installation status\n if osh_plugin_is_installed \"$plugin\"; then\n if command -v osh_cyber_success >/dev/null 2>&1; then\n osh_cyber_success \"Plugin is installed\"\n else\n echo \"Status: Installed\"\n fi\n else\n if command -v osh_cyber_info >/dev/null 2>&1; then\n osh_cyber_info \"Plugin is available for installation\"\n else\n echo \"Status: Available\"\n fi\n fi\n \n echo \"\"\n}\n\n# ============================================================================\n# PLUGIN UTILITY FUNCTIONS\n# ============================================================================\n\n# Check if plugin is installed\nosh_plugin_is_installed() {\n local plugin=\"$1\"\n local zshrc_file=\"$HOME/.zshrc\"\n \n if [[ -f \"$zshrc_file\" ]]; then\n local current_plugins=$(grep \"^oplugins=(\" \"$zshrc_file\" 2>/dev/null | sed 's/oplugins=(\\(.*\\))/\\1/' | tr -d '()')\n echo \"$current_plugins\" | grep -q \"\\b$plugin\\b\"\n else\n return 1\n fi\n}\n\n# Get all available plugins\nosh_plugin_get_all() {\n osh_plugin_init_db\n echo \"${!OSH_PLUGIN_DB[@]}\"\n}\n\n# Get plugins by category\nosh_plugin_get_by_category() {\n local category=\"$1\"\n \n osh_plugin_init_db\n \n local plugins=()\n for plugin in \"${!OSH_PLUGIN_DB[@]}\"; do\n local metadata=\"${OSH_PLUGIN_DB[$plugin]}\"\n local IFS='|'\n local parts=($metadata)\n local plugin_category=\"${parts[0]}\"\n \n if [[ \"$plugin_category\" == \"$category\" ]]; then\n plugins+=(\"$plugin\")\n fi\n done\n \n echo \"${plugins[@]}\"\n}\n\n# Get plugin dependencies\nosh_plugin_get_dependencies() {\n local plugin=\"$1\"\n \n osh_plugin_init_db\n \n local metadata=\"${OSH_PLUGIN_DB[$plugin]}\"\n if [[ -n \"$metadata\" ]]; then\n local IFS='|'\n local parts=($metadata)\n local dependencies=\"${parts[4]}\"\n \n if [[ -n \"$dependencies\" ]]; then\n echo \"$dependencies\" | tr ',' ' '\n fi\n fi\n}\n\n# Check if plugin exists\nosh_plugin_exists() {\n local plugin=\"$1\"\n \n osh_plugin_init_db\n \n [[ -n \"${OSH_PLUGIN_DB[$plugin]}\" ]]\n}\n\n# Get plugin category\nosh_plugin_get_category() {\n local plugin=\"$1\"\n \n osh_plugin_init_db\n \n local metadata=\"${OSH_PLUGIN_DB[$plugin]}\"\n if [[ -n \"$metadata\" ]]; then\n local IFS='|'\n local parts=($metadata)\n echo \"${parts[0]}\"\n fi\n}\n\n# Enhanced plugin list function with fallback\nosh_plugin_list_all() {\n local manifest_file=\"${OSH_DIR}/PLUGIN_MANIFEST.json\"\n local plugins_dir=\"${OSH_DIR}/plugins\"\n \n # Method 1: Try to read from manifest\n if [[ -f \"$manifest_file\" ]]; then\n if command -v jq >/dev/null 2>&1; then\n # Use jq if available\n jq -r '.categories[] | .plugins[] | \"\\(.name)|\\(.category // \"unknown\")|\\(.description // \"No description\")\"' \"$manifest_file\" 2>/dev/null && return 0\n else\n # Fallback parsing without jq\n grep -E '\"name\":|\"description\":|\"category\":' \"$manifest_file\" 2>/dev/null | \\\n sed -E 's/.*\"name\"[[:space:]]*:[[:space:]]*\"([^\"]+)\".*/NAME:\\1/; s/.*\"description\"[[:space:]]*:[[:space:]]*\"([^\"]+)\".*/DESC:\\1/; s/.*\"category\"[[:space:]]*:[[:space:]]*\"([^\"]+)\".*/CAT:\\1/' | \\\n awk '\n /^NAME:/ { name = substr($0, 6) }\n /^DESC:/ { desc = substr($0, 6) }\n /^CAT:/ { cat = substr($0, 5); if (name && desc) print name \"|\" cat \"|\" desc; name=\"\"; desc=\"\"; cat=\"\" }\n ' 2>/dev/null && return 0\n fi\n fi\n \n # Method 2: Scan plugins directory\n if [[ -d \"$plugins_dir\" ]]; then\n for plugin_dir in \"$plugins_dir\"/*; do\n if [[ -d \"$plugin_dir\" ]]; then\n local plugin_name=$(basename \"$plugin_dir\")\n local plugin_file=\"$plugin_dir/${plugin_name}.plugin.zsh\"\n local description=\"Plugin for $plugin_name\"\n local category=\"unknown\"\n \n # Try to extract description from plugin file\n if [[ -f \"$plugin_file\" ]]; then\n local desc_line=$(grep -E '^#.*[Dd]escription' \"$plugin_file\" 2>/dev/null | head -1)\n if [[ -n \"$desc_line\" ]]; then\n description=$(echo \"$desc_line\" | sed -E 's/^#[[:space:]]*[Dd]escription[[:space:]]*:?[[:space:]]*//')\n fi\n fi\n \n echo \"${plugin_name}|${category}|${description}\"\n fi\n done\n return 0\n fi\n \n # Method 3: Hardcoded fallback list\n cat << 'EOF'\nsysinfo|stable|System information display with OSH branding\nweather|stable|Beautiful weather forecast with ASCII art\ntaskman|stable|Advanced terminal task manager with productivity features\nacw|beta|Advanced Code Workflow - Git + JIRA integration\nfzf|beta|Enhanced fuzzy finder with preview capabilities\ngreeting|experimental|Friendly welcome message for OSH users\nEOF\n}\n\n# Mark as loaded\nexport OSH_PLUGIN_DISCOVERY_LOADED=1\n", "text_preview": "#!/usr/bin/env bash # OSH.IT Plugin Discovery System - Shell Compatible Version # Advanced plugin search, discovery, and metadata management # Version: 1.0.0 # Ensure cyberpunk styling is loaded if [[ -z \"${OSH_CYBERPUNK_LOADED:-}\" ]] && [[", "input_sha256": "811392d88237d17677de04902d902ffca5ed2e04a652b171a805442ff76934e0", "text_sha256": "7e270fea1be9fdfc8a8d69d32769d6b6dd61ef2a1f10b83ede8f79a7e6889ad6", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 20010, "input_policy": "text-and-optional-url-v1", "label_policy_version": 12, "requested_model": "decision-models/baseten-mammoth-27b-latest", "backend": "baseten", "endpoint": "https://inference.baseten.co/v1/systemone", "status": "ok", "training_eligible": true, "label": {"primary": {"main_format": "Technical Writing", "sub_format": null}, "secondary": null, "tertiary": null, "content_structure": ["structured_records"]}, "candidate_label": null, "topic": {"primary": {"main_topic": "Programming & Software Engineering", "sub_topic": null}, "secondary": null}, "scores": {"content_quality": 1, "noise_severity": 0, "missing_content_severity": 0, "factual_density": 3, "pretraining_utility": 0, "math_density": 0, "code_density": 4, "reasoning_density": 0, "education_level": 2, "creative_writing_quality": null}, "score_expectations": {"content_quality": 0.5612217189940135, "noise_severity": 0.27173914346258854, "missing_content_severity": 0.015286442718623724, "factual_density": 2.7055800366212615, "pretraining_utility": 0.35168782643233637, "math_density": 0.005445872632442544, "code_density": 3.78457822444258, "reasoning_density": 0.8976458976759407, "education_level": 2.060515067402055, "creative_writing_quality": -0.3204244052238273}, "api_choices": {"primary": "Technical Writing", "secondary": "NONE", "tertiary": "NONE", "education_level": "2", "creative_writing_quality": "not_applicable", "primary_topic": "Programming & Software Engineering", "secondary_topic": "NONE"}, "review_reasons": [], "format_slot_diagnostics": {"comparable": true, "secondary_tertiary_identical": false, "secondary_tertiary_max_abs_gap": 0.02663921478556161, "secondary_choice": "NONE", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.9934876298010423, "secondary": 0.7955087273542872, "tertiary": 0.8041831534598338, "structured_records": 0.7963198491676858, "procedural_steps": 0.05915486685033894, "worked_solution": 0.0020869710045624055, "contextual_dialogue": 3.9533897562081e-06, "content_quality": 0.4384882038668412, "noise_severity": 0.7735507137811762, "missing_content_severity": 0.9872612977344802, "factual_density": 0.43881456951756326, "pretraining_utility": 0.46403422996989885, "math_density": 0.9954617728062979, "code_density": 0.8204818537021497, "reasoning_density": 0.251961751936716, "education_level": 0.7087573946781829, "creative_writing_quality": 0.9986415820806628, "primary_topic": 0.9807657067891388, "secondary_topic": 0.8949118468029402}, "probability_margin": {"primary": 0.9912528598503728, "secondary": 0.6981678001242214, "tertiary": 0.7331200065942652, "education_level": 0.6329357817488395, "creative_writing_quality": 0.998335813604785, "primary_topic": 0.9650292701316601, "secondary_topic": 0.8328400690907763}, "raw_probabilities": {"primary": {"Academic Writing": 4.7548249892324335e-05, "Content Listing": 0.0009366039018619671, "Creative Writing": 2.530457644806824e-05, "Customer Support Page": 3.0068030929955917e-05, "Q&A Forum": 1.4870842763915798e-05, "Discussion Thread": 1.154632686222994e-05, "Comment Section": 1.9055310624283266e-05, "Missing Content": 3.1460970218268634e-05, "Knowledge Article": 0.00011894717332239132, "Legal Notices": 4.16814584262825e-05, "News Article": 8.323573025126023e-06, "Organizational Announcement": 2.4853865012682774e-05, "Nonfiction Writing": 1.4315798300279448e-05, "Organizational About Page": 2.4833808949162137e-05, "Personal About Page": 3.914975886790551e-05, "Personal Blog": 1.464813351816552e-05, "Product Page": 0.00013388891028505757, "Spam / Ads": 2.770736578858927e-05, "Structured Data": 0.0025061187089594227, "Technical Writing": 0.9937589785593323, "Transcript / Interview": 2.2267921206243932e-05, "Tutorial / How-To Guide": 0.0004231142905580531, "User Reviews": 1.302926396331185e-05, "Other / Unknown": 0.001711683200883912}, "secondary": {"Academic Writing": 0.0008922673036220797, "Content Listing": 0.04214434946707178, "Creative Writing": 0.0006766814838922605, "Customer Support Page": 0.0007127822191358417, "Q&A Forum": 0.00033633616584035676, "Discussion Thread": 0.00027015294638753405, "Comment Section": 0.0005605581437751823, "Missing Content": 0.0009155884169469138, "Knowledge Article": 0.0020136905263872717, "Legal Notices": 0.0005897318661674326, "News Article": 0.00041320117250144003, "Organizational Announcement": 0.0005571269979458994, "Nonfiction Writing": 0.00045749197120864316, "Organizational About Page": 0.000545876203464474, "Personal About Page": 0.0005716918493318651, "Personal Blog": 0.0004111830164635769, "Product Page": 0.0029859249656148607, "Spam / Ads": 0.0008635187624526552, "Structured Data": 0.10586139692363714, "Technical Writing": 0.031352850157671044, "Transcript / Interview": 0.0005315083455285526, "Tutorial / How-To Guide": 0.002057702093807862, "User Reviews": 0.00024919195328666825, "NONE": 0.8040291970478586}, "tertiary": {"Academic Writing": 0.0007739286479724933, "Content Listing": 0.06323520166548159, "Creative Writing": 0.0006398791653781725, "Customer Support Page": 0.0007386766452166125, "Q&A Forum": 0.0002691830718240658, "Discussion Thread": 0.00022709940327780037, "Comment Section": 0.0005468767732571663, "Missing Content": 0.0007251603781808716, "Knowledge Article": 0.005086639974797616, "Legal Notices": 0.0006153593240972419, "News Article": 0.0003362288068487788, "Organizational Announcement": 0.0005047397019189766, "Nonfiction Writing": 0.000434292604137753, "Organizational About Page": 0.0005620062046852591, "Personal About Page": 0.0005440150219657436, "Personal Blog": 0.00036598108580254647, "Product Page": 0.00474164284716645, "Spam / Ads": 0.0008758811164431205, "Structured Data": 0.07922218213807554, "Technical Writing": 0.023635624123085112, "Transcript / Interview": 0.0004394714178876971, "Tutorial / How-To Guide": 0.0029229984607906006, "User Reviews": 0.00021474268936808868, "NONE": 0.8123421887323408}, "structured_records": {"false": 0.20368015083231417, "true": 0.7963198491676858}, "procedural_steps": {"false": 0.940845133149661, "true": 0.05915486685033894}, "worked_solution": {"false": 0.9979130289954375, "true": 0.0020869710045624055}, "contextual_dialogue": {"false": 0.9999960466102438, "true": 3.9533897562081e-06}, "content_quality": {"-2": 0.016854863110364854, "-1": 0.09575791374732498, "0": 0.31421580135714394, "1": 0.4556534846082642, "2": 0.11751793717690201}, "noise_severity": {"0": 0.779187680943529, "1": 0.17771712971291903, "2": 0.03749389473574532, "3": 0.003370954153048655, "4": 0.0022303404547582353}, "missing_content_severity": {"0": 0.9915291272670161, "1": 0.0036552787049520872, "2": 0.00320725365422738, "3": 0.0012167047900015367, "4": 0.00039163558380306756}, "factual_density": {"0": 0.010081204890685697, "1": 0.07766677120634147, "2": 0.29834408289409153, "3": 0.4244066644087887, "4": 0.18950127660009253}, "pretraining_utility": {"-2": 0.010561584202360346, "-1": 0.12461238039717171, "0": 0.41949927539939635, "1": 0.39323014476791457, "2": 0.052096615233157145}, "math_density": {"0": 0.9957749082291695, "1": 0.00354170102762692, "2": 0.0003472547411715315, "3": 0.0001348818856565437, "4": 0.00020125411637573264}, "code_density": {"0": 0.00036743756107923117, "1": 0.0007370340464020666, "2": 0.017264149855559612, "3": 0.17721262346277808, "4": 0.804418755074181}, "reasoning_density": {"0": 0.5663568933598145, "1": 0.1235012617381527, "2": 0.20511969998120752, "3": 0.05618334370792784, "4": 0.04883880121289736}, "education_level": {"none": 0.0015309905174651615, "0": 0.0032599374810553753, "1": 0.09483938156217721, "2": 0.7572978288984857, "3": 0.12436204714964633, "4": 0.018709814391170154}, "creative_writing_quality": {"not_applicable": 0.998867985067219, "-2": 0.00015448313873127773, "-1": 0.00027168258068421987, "0": 0.0005321714624340227, "1": 0.00012943185525660068, "2": 4.424589567469536e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 6.398641106786598e-05, "Art & Design": 0.00012971510442656177, "Law & Crime": 6.934255610301692e-05, "Education & Careers": 6.798157293731989e-05, "Entertainment & Media": 6.661486233489016e-05, "Fashion & Beauty": 3.907604159575002e-05, "Business, Economics & Finance": 0.00010142564273838033, "Food & Dining": 4.6541582851799573e-05, "Games & Gaming": 0.00016967886589563274, "Electronics & Hardware": 0.00023149294364466637, "Health, Healthcare & Wellness": 3.770776173007952e-05, "History & Geography": 5.946512001603957e-05, "Home, Pets & Hobbies": 5.419208940122377e-05, "Industry & Production": 4.928693980403953e-05, "Language, Literature & Philosophy": 9.854154656196682e-05, "Politics & Government": 3.595122524088386e-05, "Religion & Spirituality": 4.7336560533077225e-05, "Science, Mathematics & Engineering": 0.00011361982563536789, "Relationships & Community": 3.732463383814403e-05, "Software Usage & Applications": 0.016476217165588773, "Programming & Software Engineering": 0.9815054872972488, "Sports & Fitness": 7.15663126190432e-05, "Vehicles & Transportation": 3.7151809474044933e-05, "Travel & Tourism": 5.7572971372000756e-05, "Other / Uncovered Subject": 0.00024313246028556174, "Unknown / Insufficient Content": 8.959069705478825e-05}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.000616022878826105, "Art & Design": 0.0018911845191581973, "Law & Crime": 0.00048508485659356647, "Education & Careers": 0.0003237364270295093, "Entertainment & Media": 0.0006729202143723591, "Fashion & Beauty": 0.00019718813634187767, "Business, Economics & Finance": 0.0005664387021902243, "Food & Dining": 0.00021181200498903273, "Games & Gaming": 0.0005297626305850414, "Electronics & Hardware": 0.0008299270831046874, "Health, Healthcare & Wellness": 0.0002094597477579649, "History & Geography": 0.00024132535003340102, "Home, Pets & Hobbies": 0.00023844047852084965, "Industry & Production": 0.00019485532848801686, "Language, Literature & Philosophy": 0.00022979020507671972, "Politics & Government": 0.00019719518846527106, "Religion & Spirituality": 0.0002467705953215775, "Science, Mathematics & Engineering": 0.0005038452152081302, "Relationships & Community": 0.0001707035439572855, "Software Usage & Applications": 0.06611362975820471, "Programming & Software Engineering": 0.025291947439748597, "Sports & Fitness": 0.00019733524884155067, "Vehicles & Transportation": 0.00011942899925481891, "Travel & Tourism": 0.00029351946091531753, "Other / Uncovered Subject": 0.0004739771380341878, "NONE": 0.898953698848981}}, "probabilities": {"primary": {"Academic Writing": 4.754824989232434e-05, "Content Listing": 0.0009366039018619672, "Creative Writing": 2.5304576448068245e-05, "Customer Support Page": 3.006803092995592e-05, "Q&A Forum": 1.48708427639158e-05, "Discussion Thread": 1.1546326862229942e-05, "Comment Section": 1.905531062428327e-05, "Missing Content": 3.146097021826864e-05, "Knowledge Article": 0.00011894717332239134, "Legal Notices": 4.1681458426282506e-05, "News Article": 8.323573025126025e-06, "Organizational Announcement": 2.4853865012682777e-05, "Nonfiction Writing": 1.431579830027945e-05, "Organizational About Page": 2.483380894916214e-05, "Personal About Page": 3.9149758867905514e-05, "Personal Blog": 1.4648133518165522e-05, "Product Page": 0.0001338889102850576, "Spam / Ads": 2.7707365788589272e-05, "Structured Data": 0.002506118708959423, "Technical Writing": 0.9937589785593324, "Transcript / Interview": 2.2267921206243935e-05, "Tutorial / How-To Guide": 0.00042311429055805314, "User Reviews": 1.3029263963311851e-05, "Other / Unknown": 0.0017116832008839122}, "secondary": {"Academic Writing": 0.0008922673036220798, "Content Listing": 0.04214434946707179, "Creative Writing": 0.0006766814838922606, "Customer Support Page": 0.0007127822191358418, "Q&A Forum": 0.0003363361658403568, "Discussion Thread": 0.0002701529463875341, "Comment Section": 0.0005605581437751824, "Missing Content": 0.0009155884169469139, "Knowledge Article": 0.002013690526387272, "Legal Notices": 0.0005897318661674327, "News Article": 0.0004132011725014401, "Organizational Announcement": 0.0005571269979458995, "Nonfiction Writing": 0.0004574919712086432, "Organizational About Page": 0.0005458762034644742, "Personal About Page": 0.0005716918493318652, "Personal Blog": 0.00041118301646357694, "Product Page": 0.002985924965614861, "Spam / Ads": 0.0008635187624526553, "Structured Data": 0.10586139692363715, "Technical Writing": 0.03135285015767105, "Transcript / Interview": 0.0005315083455285527, "Tutorial / How-To Guide": 0.0020577020938078623, "User Reviews": 0.0002491919532866683, "NONE": 0.8040291970478587}, "tertiary": {"Academic Writing": 0.0007739286479724933, "Content Listing": 0.06323520166548159, "Creative Writing": 0.0006398791653781725, "Customer Support Page": 0.0007386766452166125, "Q&A Forum": 0.0002691830718240658, "Discussion Thread": 0.00022709940327780037, "Comment Section": 0.0005468767732571663, "Missing Content": 0.0007251603781808716, "Knowledge Article": 0.005086639974797616, "Legal Notices": 0.0006153593240972419, "News Article": 0.0003362288068487788, "Organizational Announcement": 0.0005047397019189766, "Nonfiction Writing": 0.000434292604137753, "Organizational About Page": 0.0005620062046852591, "Personal About Page": 0.0005440150219657436, "Personal Blog": 0.00036598108580254647, "Product Page": 0.00474164284716645, "Spam / Ads": 0.0008758811164431205, "Structured Data": 0.07922218213807554, "Technical Writing": 0.023635624123085112, "Transcript / Interview": 0.0004394714178876971, "Tutorial / How-To Guide": 0.0029229984607906006, "User Reviews": 0.00021474268936808868, "NONE": 0.8123421887323408}, "structured_records": {"false": 0.20368015083231417, "true": 0.7963198491676858}, "procedural_steps": {"false": 0.940845133149661, "true": 0.05915486685033894}, "worked_solution": {"false": 0.9979130289954375, "true": 0.0020869710045624055}, "contextual_dialogue": {"false": 0.9999960466102438, "true": 3.9533897562081e-06}, "content_quality": {"-2": 0.016854863110364854, "-1": 0.09575791374732498, "0": 0.31421580135714394, "1": 0.4556534846082642, "2": 0.11751793717690201}, "noise_severity": {"0": 0.7791876809435287, "1": 0.177717129712919, "2": 0.03749389473574531, "3": 0.0033709541530486543, "4": 0.002230340454758235}, "missing_content_severity": {"0": 0.9915291272670159, "1": 0.0036552787049520864, "2": 0.003207253654227379, "3": 0.0012167047900015365, "4": 0.00039163558380306745}, "factual_density": {"0": 0.010081204890685699, "1": 0.07766677120634148, "2": 0.2983440828940916, "3": 0.42440666440878877, "4": 0.18950127660009256}, "pretraining_utility": {"-2": 0.010561584202360344, "-1": 0.12461238039717168, "0": 0.41949927539939624, "1": 0.39323014476791446, "2": 0.05209661523315713}, "math_density": {"0": 0.9957749082291693, "1": 0.003541701027626919, "2": 0.00034725474117153145, "3": 0.00013488188565654368, "4": 0.00020125411637573259}, "code_density": {"0": 0.00036743756107923117, "1": 0.0007370340464020666, "2": 0.017264149855559612, "3": 0.17721262346277808, "4": 0.804418755074181}, "reasoning_density": {"0": 0.5663568933598145, "1": 0.1235012617381527, "2": 0.20511969998120752, "3": 0.05618334370792784, "4": 0.04883880121289736}, "education_level": {"none": 0.0015309905174651615, "0": 0.0032599374810553753, "1": 0.09483938156217721, "2": 0.7572978288984857, "3": 0.12436204714964633, "4": 0.018709814391170154}, "creative_writing_quality": {"not_applicable": 0.9988679850672192, "-2": 0.00015448313873127776, "-1": 0.0002716825806842199, "0": 0.0005321714624340228, "1": 0.0001294318552566007, "2": 4.424589567469537e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 6.398641106786599e-05, "Art & Design": 0.0001297151044265618, "Law & Crime": 6.934255610301694e-05, "Education & Careers": 6.79815729373199e-05, "Entertainment & Media": 6.661486233489018e-05, "Fashion & Beauty": 3.907604159575003e-05, "Business, Economics & Finance": 0.00010142564273838035, "Food & Dining": 4.654158285179959e-05, "Games & Gaming": 0.00016967886589563277, "Electronics & Hardware": 0.00023149294364466642, "Health, Healthcare & Wellness": 3.770776173007953e-05, "History & Geography": 5.946512001603958e-05, "Home, Pets & Hobbies": 5.419208940122378e-05, "Industry & Production": 4.9286939804039544e-05, "Language, Literature & Philosophy": 9.854154656196685e-05, "Politics & Government": 3.595122524088387e-05, "Religion & Spirituality": 4.733656053307724e-05, "Science, Mathematics & Engineering": 0.00011361982563536792, "Relationships & Community": 3.7324633838144036e-05, "Software Usage & Applications": 0.016476217165588777, "Programming & Software Engineering": 0.9815054872972491, "Sports & Fitness": 7.156631261904321e-05, "Vehicles & Transportation": 3.715180947404494e-05, "Travel & Tourism": 5.757297137200077e-05, "Other / Uncovered Subject": 0.0002431324602855618, "Unknown / Insufficient Content": 8.959069705478827e-05}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.000616022878826105, "Art & Design": 0.0018911845191581973, "Law & Crime": 0.00048508485659356647, "Education & Careers": 0.0003237364270295093, "Entertainment & Media": 0.0006729202143723591, "Fashion & Beauty": 0.00019718813634187767, "Business, Economics & Finance": 0.0005664387021902243, "Food & Dining": 0.00021181200498903273, "Games & Gaming": 0.0005297626305850414, "Electronics & Hardware": 0.0008299270831046874, "Health, Healthcare & Wellness": 0.0002094597477579649, "History & Geography": 0.00024132535003340102, "Home, Pets & Hobbies": 0.00023844047852084965, "Industry & Production": 0.00019485532848801686, "Language, Literature & Philosophy": 0.00022979020507671972, "Politics & Government": 0.00019719518846527106, "Religion & Spirituality": 0.0002467705953215775, "Science, Mathematics & Engineering": 0.0005038452152081302, "Relationships & Community": 0.0001707035439572855, "Software Usage & Applications": 0.06611362975820471, "Programming & Software Engineering": 0.025291947439748597, "Sports & Fitness": 0.00019733524884155067, "Vehicles & Transportation": 0.00011942899925481891, "Travel & Tourism": 0.00029351946091531753, "Other / Uncovered Subject": 0.0004739771380341878, "NONE": 0.898953698848981}}, "probability_diagnostics": {"primary": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "tertiary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "structured_records": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "procedural_steps": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "worked_solution": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "contextual_dialogue": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "content_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "noise_severity": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "missing_content_severity": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "factual_density": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "pretraining_utility": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "math_density": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "code_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "reasoning_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "education_level": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "creative_writing_quality": {"raw_sum": 0.9999999999999998, "mass_delta": -2.220446049250313e-16, "missing_mass": 2.220446049250313e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "primary_topic": {"raw_sum": 0.9999999999999998, "mass_delta": -2.220446049250313e-16, "missing_mass": 2.220446049250313e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}}, "usage": {"input_tokens": 12150, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 12150, "cached_share": null, "cache_discount_reported": null, "reported_cost_usd": null}, "response_metadata": {"model": "decision-models/baseten-mammoth-27b-latest"}, "scored_at_utc": "2026-10-25T18:29:15.614056+00:00", "scoring_key_slot": "assistant_1", "dataset_uid": "c0600174-4d91-4da9-b102-d447b557fa0b", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "398e26d5ac293afa3c5136c9c18476290634eed2ecec277328ff8d6900d3ea7a", "source_metadata": {"uuid": "c0600174-4d91-4da9-b102-d447b557fa0b", "repo_name": "oiahoon/osh.it", "relative_path": "lib/plugin_discovery.zsh", "category": "TOOL", "algo_rel_score": 0.9966257810592651, "quality_score": 5.003692150115967, "source_meta": {"github_metadata": {"branch": "main", "commit_count": 41, "repo_created_at": "2025-07-03T06:58:56.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 1, "forks": 0, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "45c24df9f10feb96dabdd23c8c3cfd2332ae9ffe", "size_bytes": 13072, "file_timestamp": 1753342373, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "c61072aa404eee39ecfda67bef8bc8cb1d689b59"}}, "parsed_source_meta": {"github_metadata": {"branch": "main", "commit_count": 41, "repo_created_at": "2025-07-03T06:58:56.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 1, "forks": 0, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "45c24df9f10feb96dabdd23c8c3cfd2332ae9ffe", "size_bytes": 13072, "file_timestamp": 1753342373, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "c61072aa404eee39ecfda67bef8bc8cb1d689b59", "url": "https://github.com/oiahoon/osh.it/blob/c61072aa404eee39ecfda67bef8bc8cb1d689b59/lib/plugin_discovery.zsh"}, "gpt4o_tokens": 3462, "dataset_split": "shell", "probability_weighted_scores": {"content_quality": 0.5612217189940135, "noise_severity": 0.27173914346258854, "missing_content_severity": 0.015286442718623724, "factual_density": 2.7055800366212615, "pretraining_utility": 0.3516878264323364, "math_density": 0.005445872632442544, "code_density": 3.78457822444258, "reasoning_density": 0.8976458976759407, "education_level": 2.060515067402055, "creative_writing_quality": -0.3204244052238273}, "score_applicability": {"education_level": 0.9984690094825348, "creative_writing_quality": 0.0011320149327808165}} {"source_group": "shell", "source": "openbmb/UltraData-Stack-v3-L2/shell", "domain": "github.com", "language": "shell", "url": "https://github.com/illumos/illumos-gate/blob/22f4026028f89abe9795f9f703736581104c61df/usr/src/cmd/print/scripts/conv_lpd", "id": "shell-0-84aa20aaf8adeb30d79188626604a4b8", "text": "#!/bin/sh\n#\n# CDDL HEADER START\n#\n# The contents of this file are subject to the terms of the\n# Common Development and Distribution License, Version 1.0 only\n# (the \"License\"). You may not use this file except in compliance\n# with the License.\n#\n# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE\n# or http://www.opensolaris.org/os/licensing.\n# See the License for the specific language governing permissions\n# and limitations under the License.\n#\n# When distributing Covered Code, include this CDDL HEADER in each\n# file and include the License file at usr/src/OPENSOLARIS.LICENSE.\n# If applicable, add the following below this CDDL HEADER, with the\n# fields enclosed by brackets \"[]\" replaced with your own identifying\n# information: Portions Copyright [yyyy] [name of copyright owner]\n#\n# CDDL HEADER END\n#\n#\n# Copyright (c) 1994, 1995, 1996 by Sun Microsystems, Inc.\n# All Rights Reserved\n#\n# ident\t\"%Z%%M%\t%I%\t%E% SMI\"\n#\n# Printcap <-> Printers.conf conversion utility...\n#\n#\tUsage: conv_lpd [ -c (printers|printcap) ] [ -n ] (file)\n#\n\nTEXTDOMAIN=\"SUNW_OST_OSCMD\"\nexport TEXTDOMAIN\n\nUSAGE=`gettext \"Usage: conv_lpd [ -c (printers|printcap) ] [ -n ] (file)\\n\"`\n\nPATH=/usr/bin:/bin:/usr/sbin export PATH\nconversion=\"printers\"\nnamelist=0\n\numask 022\n\nfor i in $*\ndo\n\tcase $1 in\n\t\t-c*)\n\t\t\tconversion=$2;\n\t\t\tshift ; shift ;\n\t\t;;\n\t\t-n*)\n\t\t\tnamelist=1;\n\t\t\tshift ;\n\t\t;;\n\t\t*)\n\t\t\tbreak ;\n\t\t;;\n\tesac\ndone\n\nTMPF1=/tmp/tinput1.$$\nTMPF2=/tmp/tinput2.$$\nFILE=/tmp/input.$$\n\n# Any remaining arg is the \"file\" specification. It is a required arg.\nif [ -z \"$1\" ]; then\n\techo $USAGE\n\texit 1\nelse\n\tcp $1 $TMPF1\nfi\n\necho >>$TMPF1\necho \"_done\" >>$TMPF1\n\n#\n# First, strip all continuation characters, leaving one, single line\n# for each printer entry.\n#\n\tCONV_FIX=/usr/lib/print/conv_fix\n\n\tif [ -f $CONV_FIX ]; then\n\t\t$CONV_FIX -f $TMPF1 -o $TMPF2\n\t\tif [ $? != 0 ]; then\n\t\t\techo \"$0:\"\n\t\t\tgettext \"Fatal Error: $CONV_FIX failed.\\n\"\n\t\t\tgettext \"Please contact your Sun support representative.\\n\"\n\t\t\texit 1\n\t\tfi\n\telse\n\t\tgettext \"$0: Fatal: Cannot locate $CONV_FIX binary.\\n\"\n\t\tgettext \"Please contact your Sun support representative.\\n\"\n\t\texit 1\n\tfi\n\n#\n# Continuation characters are now stripped. Continue processing.\n#\n\t/bin/sed -e \"s/:[ \t]*:/:/g\" $TMPF2 > $FILE\n\n#\n# Empty colons \":[ ]*:\" are now stripped. Continue processing.\n#\n\nnawk '\nBEGIN {\n\t\"uname -n\" | getline ; \n\thost = $0 ;\n\tfound = 0 ;\n\tlocal_pr = 0;\n}\n\n{\n FS=\":\"; OFS=\":\" ;\n if ($0 !~ /^#/)\n {\n if ($0 ~ /^[_a-zA-Z0-9_]/) { # New entry\n\t\t\t\tif ( found != 0 ) {\n\t\t\t\t if ( \"'$namelist'\" == 1 )\n\t\t\t\t\tprinter = names ;\n\t\t\t\t else\n\t\t\t\t\tprinter = name[1] ;\n\n\t\t\t\t if ( \"'$conversion'\" == \"printers\" ) {\n\t\t\t\t\tprintf \"\\n%s:\", names ;\n\t\t\t\t\tfor (key in values) {\n\t\t\t\t\t\tif ((key != \"rp\") &&\n\t\t\t\t\t\t (key != \"rm\")) {\n\t\t\t\t\t\tprintf \"\\\\\\n\\t:%s=%s:\", \n\t\t\t\t\t\t\tkey, values[key] ;\n\t\t\t\t\t\tdelete values[key];\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif (values[\"rm\"] != \"\") {\n\t\t\t\t\t\tprintf \"\\\\\\n\\t:bsdaddr=%s,%s:\", \\\n\t\t\t\t\t\t\tvalues[\"rm\"], \\\n\t\t\t\t\t\t\tvalues[\"rp\"] ;\n\t\t\t\t\t\tif (values[\"rm\"] == host) local_pr++;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tprintf \"\\\\\\n\\t:bsdaddr=%s,%s:\", \\\n\t\t\t\t\t\t\thost, printer ;\n\t\t\t\t\t\tlocal_pr++;\n\t\t\t\t\t}\n\t\t\t\t\tdelete values[\"rp\"];\n\t\t\t\t\tdelete values[\"rm\"];\n\t\t\t\t } else {\n\t\t\t\t\tprintf \"\\n%s:\", names ;\n\t\t\t\t\tfor (key in values) {\n\t\t\t\t\t\tif (key == \"bsdaddr\") {\n\t\t\t\t\t\t\tsplit(values[key],\n\t\t\t\t\t\t\t\tpair, \",\");\n\t\t\t\t\t\t\tprintf \"\\\\\\n\\t:%s=%s:\", \\\n\t\t\t\t\t\t\t\t\"rm\", pair[1] ;\n\t\t\t\t\t\t\tif (pair[2] == \"\")\n\t\t\t\t\t\t\t\tpair[2] = printer;\n\t\t\t\t\t\t\tprintf \"\\\\\\n\\t:%s=%s:\", \\\n\t\t\t\t\t\t\t\t\"rp\", pair[2] ;\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t} else if ((key == \"br\") || \\\n\t\t\t\t\t\t\t (key == \"fc\") || \\\n\t\t\t\t\t\t\t (key == \"fs\") || \\\n\t\t\t\t\t\t\t (key == \"mc\") || \\\n\t\t\t\t\t\t\t (key == \"mx\") || \\\n\t\t\t\t\t\t\t (key == \"pc\") || \\\n\t\t\t\t\t\t\t (key == \"pl\") || \\\n\t\t\t\t\t\t\t (key == \"pw\") || \\\n\t\t\t\t\t\t\t (key == \"px\") || \\\n\t\t\t\t\t\t\t (key == \"py\") || \\\n\t\t\t\t\t\t\t (key == \"xc\") || \\\n\t\t\t\t\t\t\t (key == \"xs\"))\n\t\t\t\t\t\t \tprintf \"\\\\\\n\\t:%s#%s:\", \\\n\t\t\t\t\t\t\t\tkey, \\\n\t\t\t\t\t\t\t\tvalues[key] ;\n\t\t\t\t\t\telse if (values[key] == \"true\")\n\t\t\t\t\t\t\tprintf \"\\\\\\n\\t:%s:\", \\\n\t\t\t\t\t\t\t\tkey ;\n\t\t\t\t\t\telse if (values[key] != \"false\")\n\t\t\t\t\t\t \tprintf \"\\\\\\n\\t:%s=%s:\", \\\n\t\t\t\t\t\t\t\tkey, \\\n\t\t\t\t\t\t\t\tvalues[key] ;\n\t\t\t\t\t\tdelete values[key];\n\t\t\t\t\t}\n\t\t\t\t }\n\t\t\t\t}\n\t\t\t\tsplit( $1, name, \"|\");\n\t\t\t\tnames = $1 ;\n\t\t\t\tfound++;\n\t\t\t}\n\n\t\t\tfor ( i = 1 ; i <= NF ; i++ ) {\n\t\t\t\tif (($i == names) || ($i == \"\") || \\\n\t\t\t \t ($i == \"\\t\"))\n\t\t\t\t\tcontinue ;\n\t\t\t\tif ((split( $i, pair, \"=\" ) != 2) && \\\n\t\t\t\t (split( $i, pair, \"\\#\") != 2))\n\t\t\t\t\tpair[2] = \"true\";\n\t\t\t\t\n\t\t\t\tif (pair[1] != \"\" && pair[1] != \"\t\")\n\t\t\t\t\tvalues[pair[1]] = pair[2] ;\n\t\t\t}\n }\n}\nEND {\n\t printf \"\\n\" ;\n\t if (local_pr != 0)\n\t\t printf \"One or more printers are local, you may want to run lpadmin to configure LP server side operation\\n\" | \"cat 1>&2\" ;\n\n}' ${FILE}\n\n/bin/rm -f ${TMPF1} ${TMP2} ${FILE}\n\nexit 0\n", "text_preview": "#!/bin/sh # # CDDL HEADER START # # The contents of this file are subject to the terms of the # Common Development and Distribution License, Version 1.0 only # (the \"License\"). You may not use this file except in compliance # with the Licen", "input_sha256": "1558d173b5510b9dece1b0682bb81b8ba4cf998740ad19258a8e72df6ec8d872", "text_sha256": "84aa20aaf8adeb30d79188626604a4b8b7d66ae9489afda2c9a74c7edba1a53c", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 20012, "input_policy": "text-and-optional-url-v1", "label_policy_version": 12, "requested_model": "decision-models/baseten-mammoth-27b-latest", "backend": "baseten", "endpoint": "https://inference.baseten.co/v1/systemone", "status": "ok", "training_eligible": true, "label": {"primary": {"main_format": "Technical Writing", "sub_format": null}, "secondary": {"main_format": "Legal Notices", "sub_format": null}, "tertiary": null, "content_structure": []}, "candidate_label": null, "topic": {"primary": {"main_topic": "Programming & Software Engineering", "sub_topic": null}, "secondary": null}, "scores": {"content_quality": 1, "noise_severity": 0, "missing_content_severity": 0, "factual_density": 4, "pretraining_utility": 0, "math_density": 0, "code_density": 4, "reasoning_density": 0, "education_level": 3, "creative_writing_quality": null}, "score_expectations": {"content_quality": 0.5255962084652873, "noise_severity": 0.6809277851983373, "missing_content_severity": 0.03264333309568598, "factual_density": 2.934450469846557, "pretraining_utility": 0.058251231933325105, "math_density": 0.022590807148652622, "code_density": 3.582748139464395, "reasoning_density": 0.7385152345686821, "education_level": 2.6876704016097714, "creative_writing_quality": -0.2887072542437189}, "api_choices": {"primary": "Technical Writing", "secondary": "Legal Notices", "tertiary": "NONE", "education_level": "3", "creative_writing_quality": "not_applicable", "primary_topic": "Programming & Software Engineering", "secondary_topic": "NONE"}, "review_reasons": [], "format_slot_diagnostics": {"comparable": true, "secondary_tertiary_identical": false, "secondary_tertiary_max_abs_gap": 0.6502337923762029, "secondary_choice": "Legal Notices", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.9805951856267424, "secondary": 0.844490618722228, "tertiary": 0.7192272314911071, "structured_records": 0.019784456216957638, "procedural_steps": 0.026263982034947727, "worked_solution": 0.005643053555499656, "contextual_dialogue": 6.692831359151488e-06, "content_quality": 0.3624492619165851, "noise_severity": 0.43256017900138566, "missing_content_severity": 0.9727972224202617, "factual_density": 0.11204205820546409, "pretraining_utility": 0.5141355579739726, "math_density": 0.9811743273761229, "code_density": 0.6522901162203293, "reasoning_density": 0.3845706378594316, "education_level": 0.3858219043441381, "creative_writing_quality": 0.9986726785627345, "primary_topic": 0.9664235223590324, "secondary_topic": 0.6452417435749741}, "probability_margin": {"primary": 0.9664582122506397, "secondary": 0.770277871806027, "tertiary": 0.5105264112562387, "education_level": 0.09042452810538038, "creative_writing_quality": 0.9983723798325544, "primary_topic": 0.9469984935438146, "secondary_topic": 0.47433121509306075}, "raw_probabilities": {"primary": {"Academic Writing": 4.264984824121836e-05, "Content Listing": 3.292283419401387e-05, "Creative Writing": 4.288596157268652e-05, "Customer Support Page": 7.554421317177123e-05, "Q&A Forum": 2.129688759016323e-05, "Discussion Thread": 1.778053467200066e-05, "Comment Section": 3.282730438440706e-05, "Missing Content": 5.522591192892772e-05, "Knowledge Article": 8.858466952393597e-05, "Legal Notices": 0.014945507308321728, "News Article": 1.4459629355192445e-05, "Organizational Announcement": 3.3584363564903954e-05, "Nonfiction Writing": 2.461411644719869e-05, "Organizational About Page": 3.522315832437447e-05, "Personal About Page": 1.447996977977809e-05, "Personal Blog": 1.5116307841732595e-05, "Product Page": 1.3314928846935022e-05, "Spam / Ads": 1.6274562802695968e-05, "Structured Data": 0.0004664023667785405, "Technical Writing": 0.9814037195589614, "Transcript / Interview": 3.607972671635415e-05, "Tutorial / How-To Guide": 0.0003439940716683942, "User Reviews": 1.3289807151986915e-05, "Other / Unknown": 0.002214221958159632}, "secondary": {"Academic Writing": 0.00037041914051124547, "Content Listing": 0.0002967238616688667, "Creative Writing": 0.0004509236702056552, "Customer Support Page": 0.0014739301310829752, "Q&A Forum": 0.0001911129006063984, "Discussion Thread": 0.00017347673961274913, "Comment Section": 0.00034439811552210717, "Missing Content": 0.00039628602853209567, "Knowledge Article": 0.0007080021046308077, "Legal Notices": 0.8509701762754684, "News Article": 0.00027551769691858276, "Organizational Announcement": 0.0003746004245634001, "Nonfiction Writing": 0.00024339917991676523, "Organizational About Page": 0.00036144659631854697, "Personal About Page": 0.0001587545728536876, "Personal Blog": 0.0001769223879396536, "Product Page": 0.0002273725726116342, "Spam / Ads": 0.00022070831720580455, "Structured Data": 0.0006976796233248609, "Technical Writing": 0.05942273122592943, "Transcript / Interview": 0.00034797707709725, "Tutorial / How-To Guide": 0.0012886835488826482, "User Reviews": 0.0001364533391549243, "NONE": 0.08069230446944144}, "tertiary": {"Academic Writing": 0.000570484047693277, "Content Listing": 0.0003417434335080032, "Creative Writing": 0.0006362155291094777, "Customer Support Page": 0.0039200850531755016, "Q&A Forum": 0.00024411844878465544, "Discussion Thread": 0.00020033113040699696, "Comment Section": 0.0004434070570932563, "Missing Content": 0.0006677481539263924, "Knowledge Article": 0.001820965454253361, "Legal Notices": 0.22039968558940568, "News Article": 0.0004057508417853194, "Organizational Announcement": 0.0005207944463362056, "Nonfiction Writing": 0.00039411478556989173, "Organizational About Page": 0.0005706195337192954, "Personal About Page": 0.00023570886936987332, "Personal Blog": 0.0002910678486351783, "Product Page": 0.00025212426410789907, "Spam / Ads": 0.0003642517819776299, "Structured Data": 0.00103608846466843, "Technical Writing": 0.026427929326675263, "Transcript / Interview": 0.0004781838954013281, "Tutorial / How-To Guide": 0.008675029410625841, "User Reviews": 0.00017745578812686428, "NONE": 0.7309260968456444}, "structured_records": {"false": 0.9802155437830423, "true": 0.019784456216957638}, "procedural_steps": {"false": 0.9737360179650523, "true": 0.026263982034947727}, "worked_solution": {"false": 0.9943569464445003, "true": 0.005643053555499656}, "contextual_dialogue": {"false": 0.9999933071686409, "true": 6.692831359151488e-06}, "content_quality": {"-2": 0.02612433463400198, "-1": 0.10884522204119004, "0": 0.32366889063301924, "1": 0.39603300560909627, "2": 0.1453285470826926}, "noise_severity": {"0": 0.44360952826723615, "1": 0.4430197533413274, "2": 0.1054364595136936, "3": 0.004701922681348462, "4": 0.0032323361963943037}, "missing_content_severity": {"0": 0.9799932203931866, "1": 0.01049985389979533, "2": 0.006953567441265834, "3": 0.0019770887496498575, "4": 0.0005762695161023524}, "factual_density": {"0": 0.012994486438952632, "1": 0.0928216326208345, "2": 0.19430558260936975, "3": 0.34649552131638933, "4": 0.3533827770144538}, "pretraining_utility": {"-2": 0.01600080857925951, "-1": 0.23039143209043486, "0": 0.46909171483144013, "1": 0.24838780781545206, "2": 0.036128236683413466}, "math_density": {"0": 0.9853018228394906, "1": 0.011230725280804706, "2": 0.0009353632879204813, "3": 0.000638999075129303, "4": 0.0018930895166547604}, "code_density": {"0": 0.0005457351938278932, "1": 0.0010790537911536191, "2": 0.029459080690637164, "3": 0.3529135970055581, "4": 0.6160025333188233}, "reasoning_density": {"0": 0.6726495593004934, "1": 0.09491303796615082, "2": 0.1094506107380363, "3": 0.0672461928548192, "4": 0.055740599140500266}, "education_level": {"none": 0.0012149843213501012, "0": 0.0017636013746079205, "1": 0.006658342785241479, "2": 0.39776039218140136, "3": 0.48818492028678173, "4": 0.10441775905061725}, "creative_writing_quality": {"not_applicable": 0.9988938988022787, "-2": 0.00013415651680909806, "-1": 0.00027390487693274484, "0": 0.0005215189697243169, "1": 0.0001301631976690746, "2": 4.635763658603491e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 7.267821268335831e-05, "Art & Design": 0.00010287133508007679, "Law & Crime": 0.004177614709032136, "Education & Careers": 8.004074755845474e-05, "Entertainment & Media": 6.871159196549908e-05, "Fashion & Beauty": 5.449156049416637e-05, "Business, Economics & Finance": 0.00010769211635149128, "Food & Dining": 6.927543916486008e-05, "Games & Gaming": 9.74845310271647e-05, "Electronics & Hardware": 0.0036021602288663504, "Health, Healthcare & Wellness": 7.339714226139157e-05, "History & Geography": 0.00012543730824876055, "Home, Pets & Hobbies": 8.112113705517988e-05, "Industry & Production": 0.00012231708105832584, "Language, Literature & Philosophy": 8.63140568823093e-05, "Politics & Government": 0.00020361067369397076, "Religion & Spirituality": 6.701790244824051e-05, "Science, Mathematics & Engineering": 0.0004034247194691302, "Relationships & Community": 4.2189050145764405e-05, "Software Usage & Applications": 0.020716431801408846, "Programming & Software Engineering": 0.9677149253452234, "Sports & Fitness": 8.578393340964358e-05, "Vehicles & Transportation": 4.997868877603556e-05, "Travel & Tourism": 8.65056527515068e-05, "Other / Uncovered Subject": 0.0015436007012828035, "Unknown / Insufficient Content": 0.00016492433366105833}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0007813062765075194, "Art & Design": 0.0007879133931123311, "Law & Crime": 0.18455507680595284, "Education & Careers": 0.0005857419812248869, "Entertainment & Media": 0.000683940886822623, "Fashion & Beauty": 0.0004224863938852234, "Business, Economics & Finance": 0.0011436630513731456, "Food & Dining": 0.0003599095306436799, "Games & Gaming": 0.0005041854425794638, "Electronics & Hardware": 0.005866658259484126, "Health, Healthcare & Wellness": 0.0005625380944829706, "History & Geography": 0.0006497890269175381, "Home, Pets & Hobbies": 0.0004884897039255512, "Industry & Production": 0.0005418219776715014, "Language, Literature & Philosophy": 0.00036938655087753866, "Politics & Government": 0.0017769225481131395, "Religion & Spirituality": 0.0006441358784991282, "Science, Mathematics & Engineering": 0.0009799486462267035, "Relationships & Community": 0.0002503380611155796, "Software Usage & Applications": 0.09828829132599479, "Programming & Software Engineering": 0.03781333422755908, "Sports & Fitness": 0.000371566845970578, "Vehicles & Transportation": 0.0002504422932463562, "Travel & Tourism": 0.0005751620403079539, "Other / Uncovered Subject": 0.0018606588584921338, "NONE": 0.6588862918990136}}, "probabilities": {"primary": {"Academic Writing": 4.264984824121836e-05, "Content Listing": 3.292283419401387e-05, "Creative Writing": 4.288596157268652e-05, "Customer Support Page": 7.554421317177123e-05, "Q&A Forum": 2.129688759016323e-05, "Discussion Thread": 1.778053467200066e-05, "Comment Section": 3.282730438440706e-05, "Missing Content": 5.522591192892772e-05, "Knowledge Article": 8.858466952393597e-05, "Legal Notices": 0.014945507308321728, "News Article": 1.4459629355192445e-05, "Organizational Announcement": 3.3584363564903954e-05, "Nonfiction Writing": 2.461411644719869e-05, "Organizational About Page": 3.522315832437447e-05, "Personal About Page": 1.447996977977809e-05, "Personal Blog": 1.5116307841732595e-05, "Product Page": 1.3314928846935022e-05, "Spam / Ads": 1.6274562802695968e-05, "Structured Data": 0.0004664023667785405, "Technical Writing": 0.9814037195589614, "Transcript / Interview": 3.607972671635415e-05, "Tutorial / How-To Guide": 0.0003439940716683942, "User Reviews": 1.3289807151986915e-05, "Other / Unknown": 0.002214221958159632}, "secondary": {"Academic Writing": 0.00037041914051124547, "Content Listing": 0.0002967238616688667, "Creative Writing": 0.0004509236702056552, "Customer Support Page": 0.0014739301310829752, "Q&A Forum": 0.0001911129006063984, "Discussion Thread": 0.00017347673961274913, "Comment Section": 0.00034439811552210717, "Missing Content": 0.00039628602853209567, "Knowledge Article": 0.0007080021046308077, "Legal Notices": 0.8509701762754684, "News Article": 0.00027551769691858276, "Organizational Announcement": 0.0003746004245634001, "Nonfiction Writing": 0.00024339917991676523, "Organizational About Page": 0.00036144659631854697, "Personal About Page": 0.0001587545728536876, "Personal Blog": 0.0001769223879396536, "Product Page": 0.0002273725726116342, "Spam / Ads": 0.00022070831720580455, "Structured Data": 0.0006976796233248609, "Technical Writing": 0.05942273122592943, "Transcript / Interview": 0.00034797707709725, "Tutorial / How-To Guide": 0.0012886835488826482, "User Reviews": 0.0001364533391549243, "NONE": 0.08069230446944144}, "tertiary": {"Academic Writing": 0.000570484047693277, "Content Listing": 0.0003417434335080032, "Creative Writing": 0.0006362155291094777, "Customer Support Page": 0.0039200850531755016, "Q&A Forum": 0.00024411844878465544, "Discussion Thread": 0.00020033113040699696, "Comment Section": 0.0004434070570932563, "Missing Content": 0.0006677481539263924, "Knowledge Article": 0.001820965454253361, "Legal Notices": 0.22039968558940568, "News Article": 0.0004057508417853194, "Organizational Announcement": 0.0005207944463362056, "Nonfiction Writing": 0.00039411478556989173, "Organizational About Page": 0.0005706195337192954, "Personal About Page": 0.00023570886936987332, "Personal Blog": 0.0002910678486351783, "Product Page": 0.00025212426410789907, "Spam / Ads": 0.0003642517819776299, "Structured Data": 0.00103608846466843, "Technical Writing": 0.026427929326675263, "Transcript / Interview": 0.0004781838954013281, "Tutorial / How-To Guide": 0.008675029410625841, "User Reviews": 0.00017745578812686428, "NONE": 0.7309260968456444}, "structured_records": {"false": 0.9802155437830423, "true": 0.019784456216957638}, "procedural_steps": {"false": 0.9737360179650523, "true": 0.026263982034947727}, "worked_solution": {"false": 0.9943569464445003, "true": 0.005643053555499656}, "contextual_dialogue": {"false": 0.9999933071686409, "true": 6.692831359151488e-06}, "content_quality": {"-2": 0.02612433463400197, "-1": 0.10884522204119002, "0": 0.3236688906330192, "1": 0.39603300560909616, "2": 0.14532854708269258}, "noise_severity": {"0": 0.4436095282672362, "1": 0.4430197533413275, "2": 0.10543645951369361, "3": 0.004701922681348463, "4": 0.003232336196394304}, "missing_content_severity": {"0": 0.9799932203931866, "1": 0.01049985389979533, "2": 0.006953567441265834, "3": 0.0019770887496498575, "4": 0.0005762695161023524}, "factual_density": {"0": 0.012994486438952632, "1": 0.0928216326208345, "2": 0.19430558260936975, "3": 0.34649552131638933, "4": 0.3533827770144538}, "pretraining_utility": {"-2": 0.01600080857925951, "-1": 0.23039143209043486, "0": 0.46909171483144013, "1": 0.24838780781545206, "2": 0.036128236683413466}, "math_density": {"0": 0.9853018228394907, "1": 0.011230725280804708, "2": 0.0009353632879204814, "3": 0.0006389990751293031, "4": 0.0018930895166547606}, "code_density": {"0": 0.0005457351938278932, "1": 0.0010790537911536191, "2": 0.029459080690637164, "3": 0.3529135970055581, "4": 0.6160025333188233}, "reasoning_density": {"0": 0.6726495593004934, "1": 0.09491303796615082, "2": 0.1094506107380363, "3": 0.0672461928548192, "4": 0.055740599140500266}, "education_level": {"none": 0.0012149843213501014, "0": 0.0017636013746079207, "1": 0.00665834278524148, "2": 0.3977603921814014, "3": 0.4881849202867818, "4": 0.10441775905061726}, "creative_writing_quality": {"not_applicable": 0.9988938988022787, "-2": 0.00013415651680909806, "-1": 0.00027390487693274484, "0": 0.0005215189697243169, "1": 0.0001301631976690746, "2": 4.635763658603491e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 7.267821268335832e-05, "Art & Design": 0.0001028713350800768, "Law & Crime": 0.0041776147090321365, "Education & Careers": 8.004074755845475e-05, "Entertainment & Media": 6.87115919654991e-05, "Fashion & Beauty": 5.4491560494166376e-05, "Business, Economics & Finance": 0.00010769211635149129, "Food & Dining": 6.92754391648601e-05, "Games & Gaming": 9.748453102716471e-05, "Electronics & Hardware": 0.003602160228866351, "Health, Healthcare & Wellness": 7.339714226139158e-05, "History & Geography": 0.00012543730824876058, "Home, Pets & Hobbies": 8.112113705517989e-05, "Industry & Production": 0.00012231708105832586, "Language, Literature & Philosophy": 8.631405688230932e-05, "Politics & Government": 0.0002036106736939708, "Religion & Spirituality": 6.701790244824052e-05, "Science, Mathematics & Engineering": 0.00040342471946913026, "Relationships & Community": 4.218905014576441e-05, "Software Usage & Applications": 0.02071643180140885, "Programming & Software Engineering": 0.9677149253452235, "Sports & Fitness": 8.578393340964359e-05, "Vehicles & Transportation": 4.9978688776035564e-05, "Travel & Tourism": 8.650565275150682e-05, "Other / Uncovered Subject": 0.0015436007012828038, "Unknown / Insufficient Content": 0.00016492433366105836}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0007813062765075194, "Art & Design": 0.0007879133931123311, "Law & Crime": 0.18455507680595284, "Education & Careers": 0.0005857419812248869, "Entertainment & Media": 0.000683940886822623, "Fashion & Beauty": 0.0004224863938852234, "Business, Economics & Finance": 0.0011436630513731456, "Food & Dining": 0.0003599095306436799, "Games & Gaming": 0.0005041854425794638, "Electronics & Hardware": 0.005866658259484126, "Health, Healthcare & Wellness": 0.0005625380944829706, "History & Geography": 0.0006497890269175381, "Home, Pets & Hobbies": 0.0004884897039255512, "Industry & Production": 0.0005418219776715014, "Language, Literature & Philosophy": 0.00036938655087753866, "Politics & Government": 0.0017769225481131395, "Religion & Spirituality": 0.0006441358784991282, "Science, Mathematics & Engineering": 0.0009799486462267035, "Relationships & Community": 0.0002503380611155796, "Software Usage & Applications": 0.09828829132599479, "Programming & Software Engineering": 0.03781333422755908, "Sports & Fitness": 0.000371566845970578, "Vehicles & Transportation": 0.0002504422932463562, "Travel & Tourism": 0.0005751620403079539, "Other / Uncovered Subject": 0.0018606588584921338, "NONE": 0.6588862918990136}}, "probability_diagnostics": {"primary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "tertiary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "structured_records": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "procedural_steps": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "worked_solution": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "contextual_dialogue": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "content_quality": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "noise_severity": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "missing_content_severity": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "factual_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "pretraining_utility": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "math_density": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "code_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "reasoning_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "education_level": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "creative_writing_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "primary_topic": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}}, "usage": {"input_tokens": 10198, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 10198, "cached_share": null, "cache_discount_reported": null, "reported_cost_usd": null}, "response_metadata": {"model": "decision-models/baseten-mammoth-27b-latest"}, "scored_at_utc": "2026-10-25T18:29:17.311817+00:00", "scoring_key_slot": "assistant_1", "dataset_uid": "141cae1d-9d83-4886-a531-6ee6f5c9956d", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "7fd33d516334099ed288bf9daa3feea8fde4c67caa6b1b7d72d92f592b947d85", "source_metadata": {"uuid": "141cae1d-9d83-4886-a531-6ee6f5c9956d", "repo_name": "illumos/illumos-gate", "relative_path": "usr/src/cmd/print/scripts/conv_lpd", "category": "TOOL", "algo_rel_score": 0.892522394657135, "quality_score": 3.672356605529785, "source_meta": {"github_metadata": {"branch": "master", "commit_count": 22723, "repo_created_at": "2010-09-07T16:59:23.000Z", "is_fork": false, "is_org_owned": true, "forked_from": null, "stars": 1744, "forks": 787, "issues": 0, "pull_requests": 9}, "file_meta": {"content_id": "22b22a44f31213288196370738c1349398e256f4", "size_bytes": 4845, "file_timestamp": 1752783099, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "22f4026028f89abe9795f9f703736581104c61df"}}, "parsed_source_meta": {"github_metadata": {"branch": "master", "commit_count": 22723, "repo_created_at": "2010-09-07T16:59:23.000Z", "is_fork": false, "is_org_owned": true, "forked_from": null, "stars": 1744, "forks": 787, "issues": 0, "pull_requests": 9}, "file_meta": {"content_id": "22b22a44f31213288196370738c1349398e256f4", "size_bytes": 4845, "file_timestamp": 1752783099, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "22f4026028f89abe9795f9f703736581104c61df", "url": "https://github.com/illumos/illumos-gate/blob/22f4026028f89abe9795f9f703736581104c61df/usr/src/cmd/print/scripts/conv_lpd"}, "gpt4o_tokens": 1546, "dataset_split": "shell", "probability_weighted_scores": {"content_quality": 0.5255962084652874, "noise_severity": 0.6809277851983373, "missing_content_severity": 0.03264333309568598, "factual_density": 2.934450469846557, "pretraining_utility": 0.058251231933325105, "math_density": 0.022590807148652622, "code_density": 3.582748139464395, "reasoning_density": 0.7385152345686821, "education_level": 2.6876704016097714, "creative_writing_quality": -0.2887072542437189}, "score_applicability": {"education_level": 0.9987850156786499, "creative_writing_quality": 0.0011061011977212694}} {"source_group": "shell", "source": "openbmb/UltraData-Stack-v3-L2/shell", "domain": "github.com", "language": "shell", "url": "https://github.com/markomarkovic/ai-helpers/blob/0a71a27c374ce49e695824f3ffa279fea66c1320/hooks/prepare-commit-msg", "id": "shell-0-9efbaa6a8206280897c7518ad240dc19", "text": "#!/usr/bin/env bash\n\n# Run only if MAI_USE_LLM_COMMIT is set to \"YES\"\nif [ \"$MAI_USE_LLM_COMMIT\" != \"YES\" ]; then\n # Variable is not set to YES — skip the hook\n exit 0\nfi\n\n# Set PATH and get script paths\nexport PATH=\"$HOME/.local/bin:$PATH\"\nSCRIPT_DIR=\"$(dirname \"$(readlink -f \"$0\")\")\"\nPARENT_DIR=\"$(dirname \"$SCRIPT_DIR\")\"\nSYSTEM_PROMPT_FILE=\"$PARENT_DIR/prompts/commit.txt\"\n\n# Load shared functions\n. \"$PARENT_DIR/lib/utils.sh\"\n\n# Configuration\nMAI_LLM_MODEL=\"${MAI_LLM_MODEL:-qwen3:32b}\"\n\n\n# Exit for merge commits\nif [ -n \"$2\" ]; then\n exit 0\nfi\n\n# Check dependencies\nif ! command -v llm &> /dev/null; then\n printf \"${RED}Error: 'llm' command not installed${NC}\\n\"\n exit 1\nfi\n\nif [ ! -f \"$SYSTEM_PROMPT_FILE\" ]; then\n printf \"${RED}Error: System prompt file not found${NC}\\n\"\n exit 1\nfi\n\n# Check for staged changes\nif git diff --cached --quiet; then\n printf \"${RED}Error: No staged changes found${NC}\\n\"\n exit 1\nfi\n\n# Function to generate commit message\ngenerate_commit_message() {\n spin_animation \"Generating commit message...\" &\n spin_pid=$!\n\n if ! raw_commit_msg=$(git diff --cached | llm -m \"$MAI_LLM_MODEL\" -s \"$(cat \"$SYSTEM_PROMPT_FILE\")\" 2>&1); then\n kill $spin_pid\n wait $spin_pid 2>/dev/null\n tput cnorm\n echo\n printf \"${RED}Error: Failed to generate commit message:\\n%s${NC}\\n\" \"$raw_commit_msg\"\n exit 1\n fi\n\n # Stop spinner and clean up output\n kill $spin_pid\n wait $spin_pid 2>/dev/null\n tput cnorm\n echo\n\n # Clean and validate commit message\n commit_msg=$(clean_llm_output \"$raw_commit_msg\")\n\n if [ -z \"$(echo \"$commit_msg\" | tr -d '[:space:]')\" ]; then\n printf \"${RED}Error: Empty commit message${NC}\\n\"\n exit 1\n fi\n}\n\n# Generate initial commit message\ngenerate_commit_message\nmessage_was_edited=false\n\n# Main interaction loop\nwhile true; do\n # Display generated message\n printf \"${BLUE}=== Generated Commit Message ===${NC}\\n\"\n printf \"%s\\n\" \"$commit_msg\"\n printf \"${BLUE}=================================${NC}\\n\\n\"\n\n # Ask for action\n printf \"${YELLOW}[N]o (use as-is), [y]es (edit), [r]egenerate? [N/y/r]: ${NC}\"\n\n # Read single character input with proper terminal handling\n if [ -t 0 ]; then\n read -n 1 -r user_choice\n else\n exec < /dev/tty\n read -n 1 -r user_choice\n fi\n echo # Add newline after single character input\n\n # Clean input, default to 'n' if empty\n user_choice=$(printf \"%s\" \"${user_choice:-n}\" | tr '[:upper:]' '[:lower:]' | sed 's/^[[:space:]]*//;s/[[:space:]]*$//')\n\n # Handle user choice\n case \"$user_choice\" in\n \"y\"|\"yes\")\n printf \"${BLUE}Opening editor...${NC}\\n\"\n temp_file=$(mktemp)\n echo \"$commit_msg\" > \"$temp_file\"\n\n \"${EDITOR:-nano}\" \"$temp_file\" < /dev/tty > /dev/tty\n\n if [ -f \"$temp_file\" ]; then\n edited_msg=$(cat \"$temp_file\")\n rm \"$temp_file\"\n\n if [ -z \"$(echo \"$edited_msg\" | tr -d '[:space:]')\" ]; then\n printf \"${RED}Error: Empty commit message${NC}\\n\"\n exit 1\n fi\n\n commit_msg=\"$edited_msg\"\n message_was_edited=true\n printf \"${GREEN}Using edited commit message.${NC}\\n\"\n else\n printf \"${RED}Error: Could not read edited message. Using original.${NC}\\n\"\n fi\n break\n ;;\n \"r\"|\"regenerate\")\n printf \"${BLUE}Regenerating commit message...${NC}\\n\\n\"\n generate_commit_message\n ;;\n *)\n printf \"${GREEN}Using generated commit message without editing.${NC}\\n\"\n break\n ;;\n esac\ndone\n\n# Write final commit message\nprintf \"%s\\n\" \"$commit_msg\" > \"$1\"\n\n# Display final message only if it was edited\nif [ \"$message_was_edited\" = true ]; then\n printf \"${BLUE}=== Final Commit Message ===${NC}\\n\"\n printf \"${NC}%s${NC}\\n\" \"$commit_msg\"\n printf \"${BLUE}============================${NC}\\n\\n\"\nfi\nprintf \"${GREEN}Commit message prepared successfully!${NC}\\n\"\n", "text_preview": "#!/usr/bin/env bash # Run only if MAI_USE_LLM_COMMIT is set to \"YES\" if [ \"$MAI_USE_LLM_COMMIT\" != \"YES\" ]; then # Variable is not set to YES — skip the hook exit 0 fi # Set PATH and get script paths export PATH=\"$HOME/.local/bin:$PATH\" SCR", "input_sha256": "810c609119a49ffb521eca5500a9b7acca7de9e40c44ba6e20333b809ecd7c8b", "text_sha256": "9efbaa6a8206280897c7518ad240dc19fa2914a4f1d78c8f97572f9baf6f88d9", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 20013, "input_policy": "text-and-optional-url-v1", "label_policy_version": 12, "requested_model": "decision-models/baseten-mammoth-27b-latest", "backend": "baseten", "endpoint": "https://inference.baseten.co/v1/systemone", "status": "ok", "training_eligible": true, "label": {"primary": {"main_format": "Technical Writing", "sub_format": null}, "secondary": null, "tertiary": null, "content_structure": []}, "candidate_label": null, "topic": {"primary": {"main_topic": "Programming & Software Engineering", "sub_topic": null}, "secondary": null}, "scores": {"content_quality": 1, "noise_severity": 0, "missing_content_severity": 0, "factual_density": 4, "pretraining_utility": 1, "math_density": 0, "code_density": 4, "reasoning_density": 0, "education_level": 2, "creative_writing_quality": null}, "score_expectations": {"content_quality": 0.995087156910243, "noise_severity": 0.010368331606455788, "missing_content_severity": 0.02132076392678344, "factual_density": 3.1771210983015368, "pretraining_utility": 0.5997601847149086, "math_density": 0.0010707140640488486, "code_density": 3.8395750226759753, "reasoning_density": 0.652061282994362, "education_level": 2.20166938039072, "creative_writing_quality": -0.14454569628560043}, "api_choices": {"primary": "Technical Writing", "secondary": "NONE", "tertiary": "NONE", "education_level": "2", "creative_writing_quality": "not_applicable", "primary_topic": "Programming & Software Engineering", "secondary_topic": "NONE"}, "review_reasons": [], "format_slot_diagnostics": {"comparable": true, "secondary_tertiary_identical": false, "secondary_tertiary_max_abs_gap": 0.015122705161292771, "secondary_choice": "NONE", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.9961401485943424, "secondary": 0.9724708372132653, "tertiary": 0.9882510512946141, "structured_records": 0.00013215616518263824, "procedural_steps": 0.08279520480460434, "worked_solution": 0.0028232033780328423, "contextual_dialogue": 4.676715943300163e-05, "content_quality": 0.5739827378908151, "noise_severity": 0.9913597236612869, "missing_content_severity": 0.9822326967276804, "factual_density": 0.3142675819179471, "pretraining_utility": 0.5446296981973608, "math_density": 0.9991077382799592, "code_density": 0.8663125188966456, "reasoning_density": 0.45661559750469827, "education_level": 0.7155629119804713, "creative_writing_quality": 0.9994135003629615, "primary_topic": 0.9933628268431356, "secondary_topic": 0.8059548932511126}, "probability_margin": {"primary": 0.9945630953754585, "secondary": 0.9564070629592469, "tertiary": 0.9825661728488126, "education_level": 0.5672222728033404, "creative_writing_quality": 0.9992140086528942, "primary_topic": 0.9897875977453943, "secondary_topic": 0.7430521261802191}, "raw_probabilities": {"primary": {"Academic Writing": 2.8075248790422696e-05, "Content Listing": 1.762225273713101e-05, "Creative Writing": 1.8210101896482886e-05, "Customer Support Page": 1.1313467422057933e-05, "Q&A Forum": 1.2339139442216696e-05, "Discussion Thread": 9.343888733912625e-06, "Comment Section": 1.4718797845209003e-05, "Missing Content": 1.97907208456445e-05, "Knowledge Article": 0.000121180673304904, "Legal Notices": 4.284109011472782e-05, "News Article": 5.7646869476286215e-06, "Organizational Announcement": 1.2143379378775718e-05, "Nonfiction Writing": 1.1207144692997368e-05, "Organizational About Page": 1.3245478050877214e-05, "Personal About Page": 1.5263614782443018e-05, "Personal Blog": 8.648696520036403e-06, "Product Page": 8.636881033336549e-06, "Spam / Ads": 1.2518019065762125e-05, "Structured Data": 9.590537473776017e-05, "Technical Writing": 0.9963009757362448, "Transcript / Interview": 1.7894079249221364e-05, "Tutorial / How-To Guide": 0.0017378803607863067, "User Reviews": 8.350791449680874e-06, "Other / Unknown": 0.0014561303759274974}, "secondary": {"Academic Writing": 0.0001297149637642885, "Content Listing": 7.117042064507217e-05, "Creative Writing": 0.00010696342565160218, "Customer Support Page": 6.928996040944615e-05, "Q&A Forum": 4.7094236104410064e-05, "Discussion Thread": 3.53391920855787e-05, "Comment Section": 9.661446581233358e-05, "Missing Content": 0.00018238871732689202, "Knowledge Article": 0.0005921681730421328, "Legal Notices": 0.00016483671436360654, "News Article": 6.182184546468575e-05, "Organizational Announcement": 6.258704034887775e-05, "Nonfiction Writing": 6.130045141114948e-05, "Organizational About Page": 7.354311017552553e-05, "Personal About Page": 6.274349785819563e-05, "Personal Blog": 5.3403453187704394e-05, "Product Page": 4.46055555796865e-05, "Spam / Ads": 6.430787918224848e-05, "Structured Data": 0.00028502519441646817, "Technical Writing": 0.01721082270346569, "Transcript / Interview": 0.00012873135393289033, "Tutorial / How-To Guide": 0.0067417321387394785, "User Reviews": 3.590984431956565e-05, "NONE": 0.9736178856627126}, "tertiary": {"Academic Writing": 5.26855208312404e-05, "Content Listing": 2.778641618291915e-05, "Creative Writing": 4.950016943584146e-05, "Customer Support Page": 3.517432969808621e-05, "Q&A Forum": 1.7825040726322305e-05, "Discussion Thread": 1.3253205753695228e-05, "Comment Section": 5.37624236908243e-05, "Missing Content": 0.00010241694179470711, "Knowledge Article": 0.0003268812706991393, "Legal Notices": 0.0001402748870490971, "News Article": 3.0232655744893154e-05, "Organizational Announcement": 2.6779757303096096e-05, "Nonfiction Writing": 2.997233344133022e-05, "Organizational About Page": 4.263278430871553e-05, "Personal About Page": 2.6979885664742625e-05, "Personal Blog": 2.2338055639123583e-05, "Product Page": 2.3182701489617942e-05, "Spam / Ads": 3.124346127338209e-05, "Structured Data": 0.00014057030877984917, "Technical Writing": 0.006174417975192604, "Transcript / Interview": 6.116522324359839e-05, "Tutorial / How-To Guide": 0.0038141488760813176, "User Reviews": 1.618495197057254e-05, "NONE": 0.9887405908240052}, "structured_records": {"false": 0.9998678438348174, "true": 0.00013215616518263824}, "procedural_steps": {"false": 0.9172047951953957, "true": 0.08279520480460434}, "worked_solution": {"false": 0.9971767966219671, "true": 0.0028232033780328423}, "contextual_dialogue": {"false": 0.999953232840567, "true": 4.676715943300163e-05}, "content_quality": {"-2": 0.006337723786637124, "-1": 0.026986711071403026, "0": 0.18508018530767198, "1": 0.5284414441136557, "2": 0.2531539357206324}, "noise_severity": {"0": 0.9911803057023132, "1": 0.007818927591702225, "2": 0.0006138065353087765, "3": 0.00022604973856736536, "4": 0.00016091043210847842}, "missing_content_severity": {"0": 0.9877487382357263, "1": 0.0045856669640251015, "2": 0.006455649225857757, "3": 0.0010159837865202238, "4": 0.00019396178787053743}, "factual_density": {"0": 0.008005520570922887, "1": 0.028597696280307346, "2": 0.1713435970682311, "3": 0.3623765364373876, "4": 0.42967664964315117}, "pretraining_utility": {"-2": 0.006120506599991183, "-1": 0.04697974273959468, "0": 0.3610210834449663, "1": 0.5127763937764102, "2": 0.07310227343903773}, "math_density": {"0": 0.9992284793855907, "1": 0.0006300699286657229, "2": 4.7639385606765766e-05, "3": 2.987983637647349e-05, "4": 6.393146376004334e-05}, "code_density": {"0": 0.0003049875960647097, "1": 0.0005812721785486122, "2": 0.015336990914093374, "3": 0.12678722857593377, "4": 0.8569895207353596}, "reasoning_density": {"0": 0.6586990987659964, "1": 0.12729304141388958, "2": 0.14175627637600222, "3": 0.04775064494797934, "4": 0.02450093849613249}, "education_level": {"none": 0.0008358333269674459, "0": 0.0018954671665484405, "1": 0.02252021304349099, "2": 0.7629690933170594, "3": 0.19574682051371906, "4": 0.016032572632214716}, "creative_writing_quality": {"not_applicable": 0.9995112503024679, "-2": 4.443835032395717e-05, "-1": 7.283278666092265e-05, "0": 0.0002972416495737098, "1": 5.741099997658075e-05, "2": 1.6825910996576626e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 3.277548145022011e-05, "Art & Design": 3.358821854966414e-05, "Law & Crime": 2.2931381017204425e-05, "Education & Careers": 2.5660200852905652e-05, "Entertainment & Media": 1.728926324842653e-05, "Fashion & Beauty": 1.3227030065230596e-05, "Business, Economics & Finance": 3.195257910734585e-05, "Food & Dining": 1.4731086001384537e-05, "Games & Gaming": 3.479644406030029e-05, "Electronics & Hardware": 4.657237999961949e-05, "Health, Healthcare & Wellness": 1.8152883383232976e-05, "History & Geography": 3.069459322947078e-05, "Home, Pets & Hobbies": 2.2906190761011165e-05, "Industry & Production": 2.2256028690621112e-05, "Language, Literature & Philosophy": 0.00013431757983921197, "Politics & Government": 1.4986845095353665e-05, "Religion & Spirituality": 2.643462871714658e-05, "Science, Mathematics & Engineering": 0.001783566901672672, "Relationships & Community": 1.3421987444051948e-05, "Software Usage & Applications": 0.003830504988389988, "Programming & Software Engineering": 0.9936181027337843, "Sports & Fitness": 3.351118943886593e-05, "Vehicles & Transportation": 1.3329499687017132e-05, "Travel & Tourism": 3.0186400252674678e-05, "Other / Uncovered Subject": 0.00010302199237326574, "Unknown / Insufficient Content": 3.108149288869966e-05}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0008306823936854484, "Art & Design": 0.0004930706760262965, "Law & Crime": 0.000639972818759001, "Education & Careers": 0.00035016286016412087, "Entertainment & Media": 0.00042704930335283535, "Fashion & Beauty": 0.00026372647106480705, "Business, Economics & Finance": 0.0007438608590209948, "Food & Dining": 0.00022634414317628134, "Games & Gaming": 0.0004141358330322655, "Electronics & Hardware": 0.0004813272782179762, "Health, Healthcare & Wellness": 0.000356120054589707, "History & Geography": 0.00040695619046346204, "Home, Pets & Hobbies": 0.00030697184073773666, "Industry & Production": 0.00026454955901050525, "Language, Literature & Philosophy": 0.0007456215445405023, "Politics & Government": 0.000267326272207313, "Religion & Spirituality": 0.00040928895028814267, "Science, Mathematics & Engineering": 0.04602231453580625, "Relationships & Community": 0.0001735816066474554, "Software Usage & Applications": 0.0703660404073891, "Programming & Software Engineering": 0.06059305941664367, "Sports & Fitness": 0.00031012933546591527, "Vehicles & Transportation": 0.0001373610456467948, "Travel & Tourism": 0.00046859716704760786, "Other / Uncovered Subject": 0.0008835828494076036, "NONE": 0.8134181665876082}}, "probabilities": {"primary": {"Academic Writing": 2.8075248790422703e-05, "Content Listing": 1.7622252737131013e-05, "Creative Writing": 1.821010189648289e-05, "Customer Support Page": 1.1313467422057934e-05, "Q&A Forum": 1.23391394422167e-05, "Discussion Thread": 9.343888733912626e-06, "Comment Section": 1.4718797845209006e-05, "Missing Content": 1.9790720845644503e-05, "Knowledge Article": 0.00012118067330490403, "Legal Notices": 4.2841090114727826e-05, "News Article": 5.764686947628623e-06, "Organizational Announcement": 1.2143379378775721e-05, "Nonfiction Writing": 1.120714469299737e-05, "Organizational About Page": 1.3245478050877217e-05, "Personal About Page": 1.526361478244302e-05, "Personal Blog": 8.648696520036405e-06, "Product Page": 8.63688103333655e-06, "Spam / Ads": 1.2518019065762128e-05, "Structured Data": 9.59053747377602e-05, "Technical Writing": 0.996300975736245, "Transcript / Interview": 1.7894079249221367e-05, "Tutorial / How-To Guide": 0.001737880360786307, "User Reviews": 8.350791449680876e-06, "Other / Unknown": 0.0014561303759274976}, "secondary": {"Academic Writing": 0.0001297149637642885, "Content Listing": 7.117042064507217e-05, "Creative Writing": 0.00010696342565160218, "Customer Support Page": 6.928996040944615e-05, "Q&A Forum": 4.7094236104410064e-05, "Discussion Thread": 3.53391920855787e-05, "Comment Section": 9.661446581233358e-05, "Missing Content": 0.00018238871732689202, "Knowledge Article": 0.0005921681730421328, "Legal Notices": 0.00016483671436360654, "News Article": 6.182184546468575e-05, "Organizational Announcement": 6.258704034887775e-05, "Nonfiction Writing": 6.130045141114948e-05, "Organizational About Page": 7.354311017552553e-05, "Personal About Page": 6.274349785819563e-05, "Personal Blog": 5.3403453187704394e-05, "Product Page": 4.46055555796865e-05, "Spam / Ads": 6.430787918224848e-05, "Structured Data": 0.00028502519441646817, "Technical Writing": 0.01721082270346569, "Transcript / Interview": 0.00012873135393289033, "Tutorial / How-To Guide": 0.0067417321387394785, "User Reviews": 3.590984431956565e-05, "NONE": 0.9736178856627126}, "tertiary": {"Academic Writing": 5.268552083124041e-05, "Content Listing": 2.7786416182919153e-05, "Creative Writing": 4.9500169435841466e-05, "Customer Support Page": 3.5174329698086214e-05, "Q&A Forum": 1.7825040726322308e-05, "Discussion Thread": 1.325320575369523e-05, "Comment Section": 5.3762423690824305e-05, "Missing Content": 0.00010241694179470713, "Knowledge Article": 0.0003268812706991394, "Legal Notices": 0.00014027488704909712, "News Article": 3.0232655744893157e-05, "Organizational Announcement": 2.67797573030961e-05, "Nonfiction Writing": 2.9972333441330225e-05, "Organizational About Page": 4.2632784308715536e-05, "Personal About Page": 2.697988566474263e-05, "Personal Blog": 2.2338055639123587e-05, "Product Page": 2.3182701489617946e-05, "Spam / Ads": 3.12434612733821e-05, "Structured Data": 0.0001405703087798492, "Technical Writing": 0.006174417975192605, "Transcript / Interview": 6.11652232435984e-05, "Tutorial / How-To Guide": 0.003814148876081318, "User Reviews": 1.6184951970572544e-05, "NONE": 0.9887405908240053}, "structured_records": {"false": 0.9998678438348174, "true": 0.00013215616518263824}, "procedural_steps": {"false": 0.9172047951953957, "true": 0.08279520480460434}, "worked_solution": {"false": 0.9971767966219671, "true": 0.0028232033780328423}, "contextual_dialogue": {"false": 0.999953232840567, "true": 4.676715943300163e-05}, "content_quality": {"-2": 0.006337723786637123, "-1": 0.02698671107140302, "0": 0.18508018530767195, "1": 0.5284414441136556, "2": 0.25315393572063233}, "noise_severity": {"0": 0.9911803057023132, "1": 0.007818927591702225, "2": 0.0006138065353087765, "3": 0.00022604973856736536, "4": 0.00016091043210847842}, "missing_content_severity": {"0": 0.9877487382357264, "1": 0.004585666964025102, "2": 0.006455649225857758, "3": 0.001015983786520224, "4": 0.00019396178787053746}, "factual_density": {"0": 0.008005520570922887, "1": 0.028597696280307346, "2": 0.1713435970682311, "3": 0.3623765364373876, "4": 0.42967664964315117}, "pretraining_utility": {"-2": 0.006120506599991183, "-1": 0.04697974273959468, "0": 0.3610210834449663, "1": 0.5127763937764102, "2": 0.07310227343903773}, "math_density": {"0": 0.999228479385591, "1": 0.0006300699286657231, "2": 4.763938560676578e-05, "3": 2.98798363764735e-05, "4": 6.393146376004337e-05}, "code_density": {"0": 0.0003049875960647097, "1": 0.0005812721785486122, "2": 0.015336990914093374, "3": 0.12678722857593377, "4": 0.8569895207353596}, "reasoning_density": {"0": 0.6586990987659964, "1": 0.12729304141388958, "2": 0.14175627637600222, "3": 0.04775064494797934, "4": 0.02450093849613249}, "education_level": {"none": 0.0008358333269674459, "0": 0.0018954671665484405, "1": 0.02252021304349099, "2": 0.7629690933170594, "3": 0.19574682051371906, "4": 0.016032572632214716}, "creative_writing_quality": {"not_applicable": 0.9995112503024682, "-2": 4.4438350323957184e-05, "-1": 7.283278666092268e-05, "0": 0.00029724164957370993, "1": 5.741099997658077e-05, "2": 1.6825910996576633e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 3.2775481450220115e-05, "Art & Design": 3.358821854966415e-05, "Law & Crime": 2.293138101720443e-05, "Education & Careers": 2.5660200852905656e-05, "Entertainment & Media": 1.7289263248426533e-05, "Fashion & Beauty": 1.3227030065230598e-05, "Business, Economics & Finance": 3.195257910734586e-05, "Food & Dining": 1.4731086001384538e-05, "Games & Gaming": 3.4796444060300294e-05, "Electronics & Hardware": 4.65723799996195e-05, "Health, Healthcare & Wellness": 1.815288338323298e-05, "History & Geography": 3.069459322947079e-05, "Home, Pets & Hobbies": 2.2906190761011168e-05, "Industry & Production": 2.2256028690621115e-05, "Language, Literature & Philosophy": 0.000134317579839212, "Politics & Government": 1.4986845095353667e-05, "Religion & Spirituality": 2.6434628717146583e-05, "Science, Mathematics & Engineering": 0.0017835669016726722, "Relationships & Community": 1.342198744405195e-05, "Software Usage & Applications": 0.0038305049883899885, "Programming & Software Engineering": 0.9936181027337844, "Sports & Fitness": 3.351118943886594e-05, "Vehicles & Transportation": 1.3329499687017133e-05, "Travel & Tourism": 3.018640025267468e-05, "Other / Uncovered Subject": 0.00010302199237326576, "Unknown / Insufficient Content": 3.1081492888699665e-05}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0008306823936854484, "Art & Design": 0.0004930706760262965, "Law & Crime": 0.000639972818759001, "Education & Careers": 0.00035016286016412087, "Entertainment & Media": 0.00042704930335283535, "Fashion & Beauty": 0.00026372647106480705, "Business, Economics & Finance": 0.0007438608590209948, "Food & Dining": 0.00022634414317628134, "Games & Gaming": 0.0004141358330322655, "Electronics & Hardware": 0.0004813272782179762, "Health, Healthcare & Wellness": 0.000356120054589707, "History & Geography": 0.00040695619046346204, "Home, Pets & Hobbies": 0.00030697184073773666, "Industry & Production": 0.00026454955901050525, "Language, Literature & Philosophy": 0.0007456215445405023, "Politics & Government": 0.000267326272207313, "Religion & Spirituality": 0.00040928895028814267, "Science, Mathematics & Engineering": 0.04602231453580625, "Relationships & Community": 0.0001735816066474554, "Software Usage & Applications": 0.0703660404073891, "Programming & Software Engineering": 0.06059305941664367, "Sports & Fitness": 0.00031012933546591527, "Vehicles & Transportation": 0.0001373610456467948, "Travel & Tourism": 0.00046859716704760786, "Other / Uncovered Subject": 0.0008835828494076036, "NONE": 0.8134181665876082}}, "probability_diagnostics": {"primary": {"raw_sum": 0.9999999999999998, "mass_delta": -2.220446049250313e-16, "missing_mass": 2.220446049250313e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "tertiary": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "structured_records": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "procedural_steps": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "worked_solution": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "contextual_dialogue": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "content_quality": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "noise_severity": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "missing_content_severity": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "factual_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "pretraining_utility": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "math_density": {"raw_sum": 0.9999999999999997, "mass_delta": -3.3306690738754696e-16, "missing_mass": 3.3306690738754696e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "code_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "reasoning_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "education_level": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "creative_writing_quality": {"raw_sum": 0.9999999999999997, "mass_delta": -3.3306690738754696e-16, "missing_mass": 3.3306690738754696e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "primary_topic": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}}, "usage": {"input_tokens": 9669, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 9669, "cached_share": null, "cache_discount_reported": null, "reported_cost_usd": null}, "response_metadata": {"model": "decision-models/baseten-mammoth-27b-latest"}, "scored_at_utc": "2026-10-25T18:29:18.814000+00:00", "scoring_key_slot": "primary", "dataset_uid": "e4657dc6-c0ea-4f16-ae90-40c17ba78281", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "ae3a51afe629abc4717ca837c09d8c05edea734d2989349cb2252348110b0231", "source_metadata": {"uuid": "e4657dc6-c0ea-4f16-ae90-40c17ba78281", "repo_name": "markomarkovic/ai-helpers", "relative_path": "hooks/prepare-commit-msg", "category": "TOOL", "algo_rel_score": 0.9512407779693604, "quality_score": 5.183299541473389, "source_meta": {"github_metadata": {"branch": "main", "commit_count": 3, "repo_created_at": "2025-06-27T13:06:47.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 0, "forks": 0, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "9350576d5aaa2868f02b88399184931be13ab6f0", "size_bytes": 3833, "file_timestamp": 1751029535, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "0a71a27c374ce49e695824f3ffa279fea66c1320"}}, "parsed_source_meta": {"github_metadata": {"branch": "main", "commit_count": 3, "repo_created_at": "2025-06-27T13:06:47.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 0, "forks": 0, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "9350576d5aaa2868f02b88399184931be13ab6f0", "size_bytes": 3833, "file_timestamp": 1751029535, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "0a71a27c374ce49e695824f3ffa279fea66c1320", "url": "https://github.com/markomarkovic/ai-helpers/blob/0a71a27c374ce49e695824f3ffa279fea66c1320/hooks/prepare-commit-msg"}, "gpt4o_tokens": 1137, "dataset_split": "shell", "probability_weighted_scores": {"content_quality": 0.995087156910243, "noise_severity": 0.010368331606455788, "missing_content_severity": 0.02132076392678344, "factual_density": 3.1771210983015368, "pretraining_utility": 0.5997601847149086, "math_density": 0.0010707140640488486, "code_density": 3.8395750226759753, "reasoning_density": 0.652061282994362, "education_level": 2.20166938039072, "creative_writing_quality": -0.14454569628560043}, "score_applicability": {"education_level": 0.9991641666730326, "creative_writing_quality": 0.0004887496975317472}} {"source_group": "shell", "source": "openbmb/UltraData-Stack-v3-L2/shell", "domain": "github.com", "language": "shell", "url": "https://github.com/happybigmtn/pinocchio_template/blob/ebd3c0c99004a873bf424d8e6560c55c3d067df9/scripts/quick-deploy.sh", "id": "shell-0-8d653a2c5e5305b235d90927c458a2f7", "text": "#!/bin/bash\n\n# Quick deployment script that creates, builds, and deploys a new program\n# Usage: ./quick-deploy.sh [program_name] [--category=basics] [--network=devnet]\n\nset -e\n\n# Default values\nPROGRAM_NAME=\"$1\"\nCATEGORY=\"basics\"\nNETWORK=\"devnet\"\n\n# Color codes for output\nRED='\\033[0;31m'\nGREEN='\\033[0;32m'\nYELLOW='\\033[1;33m'\nBLUE='\\033[0;34m'\nNC='\\033[0m' # No Color\n\n# Parse command line arguments\nfor arg in \"$@\"; do\n case $arg in\n --category=*)\n CATEGORY=\"${arg#*=}\"\n ;;\n --network=*)\n NETWORK=\"${arg#*=}\"\n ;;\n --help|-h)\n show_help\n exit 0\n ;;\n esac\ndone\n\n# Help function\nshow_help() {\n echo \"Usage: $0 [program_name] [--category=basics] [--network=devnet]\"\n echo \"\"\n echo \"Creates and deploys a new Pinocchio program in one command\"\n echo \"\"\n echo \"Arguments:\"\n echo \" program_name Name of the new program (required)\"\n echo \" --category=CATEGORY Category for the program (default: basics)\"\n echo \" --network=NETWORK Target network (default: devnet)\"\n echo \"\"\n echo \"Examples:\"\n echo \" $0 my_counter # Create and deploy basics/my_counter to devnet\"\n echo \" $0 token_mint --category=tokens # Create and deploy tokens/token_mint\"\n echo \" $0 my_program --network=testnet # Deploy to testnet\"\n echo \"\"\n echo \"This script will:\"\n echo \" 1. Create the program from template\"\n echo \" 2. Build the program\"\n echo \" 3. Deploy to the specified network\"\n echo \" 4. Update program IDs\"\n echo \" 5. Generate TypeScript client\"\n echo \" 6. Run tests\"\n}\n\n# Validate inputs\nvalidate_inputs() {\n if [ -z \"$PROGRAM_NAME\" ]; then\n echo -e \"${RED}Error: Program name is required${NC}\"\n show_help\n exit 1\n fi\n\n # Check if program already exists\n if [ -d \"$CATEGORY/$PROGRAM_NAME\" ]; then\n echo -e \"${RED}Error: Program $CATEGORY/$PROGRAM_NAME already exists${NC}\"\n exit 1\n fi\n}\n\n# Main execution\nmain() {\n echo -e \"${GREEN}🚀 Quick Deploy: Creating and deploying $PROGRAM_NAME${NC}\"\n echo \"\"\n \n validate_inputs\n \n # Step 1: Create the program\n echo -e \"${BLUE}Step 1: Creating program from template...${NC}\"\n ./scripts/create-program.sh \"$PROGRAM_NAME\" --category=\"$CATEGORY\"\n \n if [ $? -ne 0 ]; then\n echo -e \"${RED}Error: Failed to create program${NC}\"\n exit 1\n fi\n \n echo -e \"${GREEN}✓ Program created successfully${NC}\"\n echo \"\"\n \n # Step 2: Deploy the program\n echo -e \"${BLUE}Step 2: Deploying program...${NC}\"\n ./scripts/deploy.sh \"$PROGRAM_NAME\" --network=\"$NETWORK\" --category=\"$CATEGORY\"\n \n if [ $? -ne 0 ]; then\n echo -e \"${RED}Error: Failed to deploy program${NC}\"\n exit 1\n fi\n \n echo \"\"\n echo -e \"${GREEN}🎉 Quick Deploy Summary${NC}\"\n echo -e \"${GREEN}======================${NC}\"\n echo -e \"${GREEN}Program: $PROGRAM_NAME${NC}\"\n echo -e \"${GREEN}Category: $CATEGORY${NC}\"\n echo -e \"${GREEN}Network: $NETWORK${NC}\"\n echo -e \"${GREEN}Location: $CATEGORY/$PROGRAM_NAME${NC}\"\n echo \"\"\n echo -e \"${YELLOW}Your program is now ready for development!${NC}\"\n echo -e \"${YELLOW}Next steps:${NC}\"\n echo -e \"${YELLOW}- Edit the code in $CATEGORY/$PROGRAM_NAME/src/${NC}\"\n echo -e \"${YELLOW}- Test with: npm run test:client:$(echo $PROGRAM_NAME | tr '_' '-')${NC}\"\n echo -e \"${YELLOW}- Redeploy after changes: ./deploy.sh $PROGRAM_NAME${NC}\"\n}\n\n# Check for help flag\nif [[ \"$1\" == \"--help\" || \"$1\" == \"-h\" ]]; then\n show_help\n exit 0\nfi\n\n# Run main function\nmain\n", "text_preview": "#!/bin/bash # Quick deployment script that creates, builds, and deploys a new program # Usage: ./quick-deploy.sh [program_name] [--category=basics] [--network=devnet] set -e # Default values PROGRAM_NAME=\"$1\" CATEGORY=\"basics\" NETWORK=\"devn", "input_sha256": "48d6d32fe4d3ba755df56a16922d552953706bbfa77c5dd8dea7966f04f46c7e", "text_sha256": "8d653a2c5e5305b235d90927c458a2f7ca5b950947ec3a135a139392d0162bf6", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 20016, "input_policy": "text-and-optional-url-v1", "label_policy_version": 12, "requested_model": "decision-models/baseten-mammoth-27b-latest", "backend": "baseten", "endpoint": "https://inference.baseten.co/v1/systemone", "status": "ok", "training_eligible": true, "label": {"primary": {"main_format": "Technical Writing", "sub_format": null}, "secondary": null, "tertiary": null, "content_structure": []}, "candidate_label": null, "topic": {"primary": {"main_topic": "Programming & Software Engineering", "sub_topic": null}, "secondary": null}, "scores": {"content_quality": 1, "noise_severity": 0, "missing_content_severity": 0, "factual_density": 3, "pretraining_utility": 1, "math_density": 0, "code_density": 4, "reasoning_density": 0, "education_level": 2, "creative_writing_quality": null}, "score_expectations": {"content_quality": 0.76969043166601, "noise_severity": 0.059523700100009055, "missing_content_severity": 0.004596058359549687, "factual_density": 2.803207265998017, "pretraining_utility": 0.4775280128685112, "math_density": 0.004172121558909747, "code_density": 3.6526099528804052, "reasoning_density": 0.3155257751394064, "education_level": 2.009752658113997, "creative_writing_quality": -0.027053430282339704}, "api_choices": {"primary": "Technical Writing", "secondary": "NONE", "tertiary": "NONE", "education_level": "2", "creative_writing_quality": "not_applicable", "primary_topic": "Programming & Software Engineering", "secondary_topic": "NONE"}, "review_reasons": [], "format_slot_diagnostics": {"comparable": true, "secondary_tertiary_identical": false, "secondary_tertiary_max_abs_gap": 0.06649291177991079, "secondary_choice": "NONE", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.9582332953393655, "secondary": 0.6979040039307803, "tertiary": 0.7672879118750353, "structured_records": 0.004994240596617381, "procedural_steps": 0.5276913717764812, "worked_solution": 0.003698833299421799, "contextual_dialogue": 5.619281615732001e-06, "content_quality": 0.5213703965902452, "noise_severity": 0.9503969165833258, "missing_content_severity": 0.9961699513670419, "factual_density": 0.4867844872585215, "pretraining_utility": 0.47616641912645075, "math_density": 0.9965232320342419, "code_density": 0.7105082940670046, "reasoning_density": 0.7370618540504947, "education_level": 0.7098458352715163, "creative_writing_quality": 0.997613996827108, "primary_topic": 0.9949026560363325, "secondary_topic": 0.9757034957934004}, "probability_margin": {"primary": 0.9252085712573905, "secondary": 0.5149395605846785, "tertiary": 0.6081511251606218, "education_level": 0.6445156140922736, "creative_writing_quality": 0.9966973569119894, "primary_topic": 0.9921554479570588, "secondary_topic": 0.9661285577688871}, "raw_probabilities": {"primary": {"Academic Writing": 0.0001099105605876227, "Content Listing": 0.00011593982200762029, "Creative Writing": 9.056658883480053e-05, "Customer Support Page": 0.0001369557224477405, "Q&A Forum": 6.613392379143554e-05, "Discussion Thread": 5.004565587842703e-05, "Comment Section": 7.851055403133369e-05, "Missing Content": 8.730897878882797e-05, "Knowledge Article": 0.00027132677574480304, "Legal Notices": 8.016798547592225e-05, "News Article": 3.365136598479149e-05, "Organizational Announcement": 7.26428073939277e-05, "Nonfiction Writing": 5.6156472602821124e-05, "Organizational About Page": 7.286876051512846e-05, "Personal About Page": 5.515377167648565e-05, "Personal Blog": 4.1731310116121026e-05, "Product Page": 4.395009568258967e-05, "Spam / Ads": 6.39358221906464e-05, "Structured Data": 0.0002231762499834216, "Technical Writing": 0.9599735747002253, "Transcript / Interview": 8.786515834698484e-05, "Tutorial / How-To Guide": 0.034765003442834695, "User Reviews": 3.763463957905367e-05, "Other / Unknown": 0.00338578883527934}, "secondary": {"Academic Writing": 0.0007506756392442462, "Content Listing": 0.0010511256035279429, "Creative Writing": 0.0005734926927149362, "Customer Support Page": 0.0032713812539336665, "Q&A Forum": 0.0004989856856575319, "Discussion Thread": 0.0002646187344151214, "Comment Section": 0.00044906827649633657, "Missing Content": 0.0006368960493283526, "Knowledge Article": 0.0014109251105647593, "Legal Notices": 0.0004411631064018543, "News Article": 0.0004123179859791799, "Organizational Announcement": 0.0004777381030344104, "Nonfiction Writing": 0.00042009631980956204, "Organizational About Page": 0.0005231065865206146, "Personal About Page": 0.00040675196325135087, "Personal Blog": 0.0003969599073850264, "Product Page": 0.00031477821588185833, "Spam / Ads": 0.0005154712294859786, "Structured Data": 0.0010651135644023535, "Technical Writing": 0.07912542942149321, "Transcript / Interview": 0.0007066240571844714, "Tutorial / How-To Guide": 0.19555177651565273, "User Reviews": 0.0002441668773032702, "NONE": 0.7104913371003312}, "tertiary": {"Academic Writing": 0.0004092316711890341, "Content Listing": 0.0007369353131655546, "Creative Writing": 0.0003762110119841315, "Customer Support Page": 0.002389354940266195, "Q&A Forum": 0.00022762710412118224, "Discussion Thread": 0.00014882726163522865, "Comment Section": 0.00025875573725087, "Missing Content": 0.00036541808651660893, "Knowledge Article": 0.000982671769571277, "Legal Notices": 0.0002854769049350964, "News Article": 0.0002077500792168429, "Organizational Announcement": 0.0002781325198440667, "Nonfiction Writing": 0.00023419587558214447, "Organizational About Page": 0.00034116806175962935, "Personal About Page": 0.00024039359263132556, "Personal Blog": 0.00021032800788558473, "Product Page": 0.0002011002620630284, "Spam / Ads": 0.0003936084899119818, "Structured Data": 0.0009887750838775504, "Technical Writing": 0.044384669953882634, "Transcript / Interview": 0.00039418529938850435, "Tutorial / How-To Guide": 0.1688331237196204, "User Reviews": 0.0001278103734590697, "NONE": 0.7769842488802422}, "structured_records": {"false": 0.9950057594033827, "true": 0.004994240596617381}, "procedural_steps": {"false": 0.4723086282235188, "true": 0.5276913717764812}, "worked_solution": {"false": 0.9963011667005782, "true": 0.003698833299421799}, "contextual_dialogue": {"false": 0.9999943807183843, "true": 5.619281615732001e-06}, "content_quality": {"-2": 0.0074589020629487355, "-1": 0.05848892356473855, "0": 0.26297799289452456, "1": 0.49905120359893046, "2": 0.1720229778788579}, "noise_severity": {"0": 0.9478839388623911, "1": 0.046524516245466815, "2": 0.004276234278785481, "3": 0.0008145271564554227, "4": 0.0005007834569012523}, "missing_content_severity": {"0": 0.9976600857370578, "1": 0.0006703605425284252, "2": 0.0011992471436936668, "3": 0.0003540227772470062, "4": 0.00011628379947322735}, "factual_density": {"0": 0.009667964640418462, "1": 0.043574875033005625, "2": 0.2901720306586119, "3": 0.4470521890240683, "4": 0.2095329406438956}, "pretraining_utility": {"-2": 0.008111006499942883, "-1": 0.07803653252405726, "0": 0.3951300575419308, "1": 0.46565824847568404, "2": 0.0530641549583851}, "math_density": {"0": 0.9967781260388511, "1": 0.002737539807844777, "2": 0.00019699048103396594, "3": 0.00010877390008340158, "4": 0.000178569772186708}, "code_density": {"0": 0.000677162424430091, "1": 0.0014158681240049116, "2": 0.04006096150566081, "3": 0.26031187003853784, "4": 0.6975341379073663}, "reasoning_density": {"0": 0.79885202791444, "1": 0.09757919708384236, "2": 0.09469216051903873, "3": 0.006944200913229388, "4": 0.0019324135694495992}, "education_level": {"none": 0.0012596943611608829, "0": 0.005409034450070492, "1": 0.11368924863399005, "2": 0.7582048627262636, "3": 0.10862662937733422, "4": 0.012810530451180548}, "creative_writing_quality": {"not_applicable": 0.99801166402259, "-2": 9.016037806828976e-05, "-1": 0.00026002467272629, "0": 0.001314307110600698, "1": 0.00026113351190957363, "2": 6.271030410528155e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 5.039548778867249e-05, "Art & Design": 5.671006688722597e-05, "Law & Crime": 4.687150855019294e-05, "Education & Careers": 4.7882513131177814e-05, "Entertainment & Media": 3.965630544580482e-05, "Fashion & Beauty": 2.0048893912035e-05, "Business, Economics & Finance": 0.0001853037003499598, "Food & Dining": 2.9833788663771632e-05, "Games & Gaming": 0.000552203148703835, "Electronics & Hardware": 0.00010050364559972582, "Health, Healthcare & Wellness": 2.769253750422323e-05, "History & Geography": 3.4867243241112084e-05, "Home, Pets & Hobbies": 3.185133806834525e-05, "Industry & Production": 4.919452151271669e-05, "Language, Literature & Philosophy": 4.1592102848508346e-05, "Politics & Government": 3.305653525837773e-05, "Religion & Spirituality": 4.8097296080983465e-05, "Science, Mathematics & Engineering": 0.00013970472965968734, "Relationships & Community": 2.355431857036332e-05, "Software Usage & Applications": 0.0029432597701840946, "Programming & Software Engineering": 0.9950987077272428, "Sports & Fitness": 5.821860428467321e-05, "Vehicles & Transportation": 2.4334945408831978e-05, "Travel & Tourism": 5.267415678218349e-05, "Other / Uncovered Subject": 0.00020261549841964785, "Unknown / Insufficient Content": 6.11696159007497e-05}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.00017969373109231654, "Art & Design": 0.00013589968162681273, "Law & Crime": 0.00014481546810191613, "Education & Careers": 0.00010221362138677653, "Entertainment & Media": 0.00013660493116706158, "Fashion & Beauty": 4.903884322437461e-05, "Business, Economics & Finance": 0.0003938974817663117, "Food & Dining": 5.7297124775784435e-05, "Games & Gaming": 0.0020946119374051584, "Electronics & Hardware": 0.0001640680051434611, "Health, Healthcare & Wellness": 5.5016464843208145e-05, "History & Geography": 6.075320726626911e-05, "Home, Pets & Hobbies": 4.650708299241505e-05, "Industry & Production": 5.9151966858476985e-05, "Language, Literature & Philosophy": 5.028312541178078e-05, "Politics & Government": 7.611200596522889e-05, "Religion & Spirituality": 8.939204958732959e-05, "Science, Mathematics & Engineering": 0.00014533180095001726, "Relationships & Community": 4.336656931191521e-05, "Software Usage & Applications": 0.010509418955536422, "Programming & Software Engineering": 0.008187850922636165, "Sports & Fitness": 7.136310695250646e-05, "Vehicles & Transportation": 3.100676172622472e-05, "Travel & Tourism": 8.668550793632682e-05, "Other / Uncovered Subject": 0.0003916429219121765, "NONE": 0.9766379767244235}}, "probabilities": {"primary": {"Academic Writing": 0.00010991056058762273, "Content Listing": 0.00011593982200762031, "Creative Writing": 9.056658883480054e-05, "Customer Support Page": 0.00013695572244774054, "Q&A Forum": 6.613392379143556e-05, "Discussion Thread": 5.004565587842704e-05, "Comment Section": 7.85105540313337e-05, "Missing Content": 8.730897878882798e-05, "Knowledge Article": 0.0002713267757448031, "Legal Notices": 8.016798547592227e-05, "News Article": 3.36513659847915e-05, "Organizational Announcement": 7.264280739392772e-05, "Nonfiction Writing": 5.615647260282114e-05, "Organizational About Page": 7.286876051512847e-05, "Personal About Page": 5.515377167648566e-05, "Personal Blog": 4.173131011612103e-05, "Product Page": 4.395009568258968e-05, "Spam / Ads": 6.393582219064641e-05, "Structured Data": 0.00022317624998342166, "Technical Writing": 0.9599735747002255, "Transcript / Interview": 8.786515834698486e-05, "Tutorial / How-To Guide": 0.0347650034428347, "User Reviews": 3.763463957905368e-05, "Other / Unknown": 0.0033857888352793407}, "secondary": {"Academic Writing": 0.0007506756392442462, "Content Listing": 0.0010511256035279429, "Creative Writing": 0.0005734926927149362, "Customer Support Page": 0.0032713812539336665, "Q&A Forum": 0.0004989856856575319, "Discussion Thread": 0.0002646187344151214, "Comment Section": 0.00044906827649633657, "Missing Content": 0.0006368960493283526, "Knowledge Article": 0.0014109251105647593, "Legal Notices": 0.0004411631064018543, "News Article": 0.0004123179859791799, "Organizational Announcement": 0.0004777381030344104, "Nonfiction Writing": 0.00042009631980956204, "Organizational About Page": 0.0005231065865206146, "Personal About Page": 0.00040675196325135087, "Personal Blog": 0.0003969599073850264, "Product Page": 0.00031477821588185833, "Spam / Ads": 0.0005154712294859786, "Structured Data": 0.0010651135644023535, "Technical Writing": 0.07912542942149321, "Transcript / Interview": 0.0007066240571844714, "Tutorial / How-To Guide": 0.19555177651565273, "User Reviews": 0.0002441668773032702, "NONE": 0.7104913371003312}, "tertiary": {"Academic Writing": 0.000409231671189034, "Content Listing": 0.0007369353131655543, "Creative Writing": 0.0003762110119841314, "Customer Support Page": 0.0023893549402661945, "Q&A Forum": 0.00022762710412118218, "Discussion Thread": 0.00014882726163522862, "Comment Section": 0.00025875573725086994, "Missing Content": 0.0003654180865166089, "Knowledge Article": 0.0009826717695712768, "Legal Notices": 0.00028547690493509637, "News Article": 0.00020775007921684284, "Organizational Announcement": 0.00027813251984406666, "Nonfiction Writing": 0.00023419587558214442, "Organizational About Page": 0.0003411680617596293, "Personal About Page": 0.0002403935926313255, "Personal Blog": 0.00021032800788558468, "Product Page": 0.00020110026206302835, "Spam / Ads": 0.0003936084899119817, "Structured Data": 0.0009887750838775502, "Technical Writing": 0.04438466995388263, "Transcript / Interview": 0.00039418529938850424, "Tutorial / How-To Guide": 0.16883312371962036, "User Reviews": 0.00012781037345906967, "NONE": 0.776984248880242}, "structured_records": {"false": 0.9950057594033827, "true": 0.004994240596617381}, "procedural_steps": {"false": 0.4723086282235188, "true": 0.5276913717764812}, "worked_solution": {"false": 0.9963011667005782, "true": 0.003698833299421799}, "contextual_dialogue": {"false": 0.9999943807183843, "true": 5.619281615732001e-06}, "content_quality": {"-2": 0.007458902062948734, "-1": 0.05848892356473854, "0": 0.2629779928945245, "1": 0.49905120359893035, "2": 0.17202297787885787}, "noise_severity": {"0": 0.9478839388623911, "1": 0.046524516245466815, "2": 0.004276234278785481, "3": 0.0008145271564554227, "4": 0.0005007834569012523}, "missing_content_severity": {"0": 0.9976600857370578, "1": 0.0006703605425284252, "2": 0.0011992471436936668, "3": 0.0003540227772470062, "4": 0.00011628379947322735}, "factual_density": {"0": 0.009667964640418464, "1": 0.04357487503300563, "2": 0.29017203065861197, "3": 0.44705218902406835, "4": 0.20953294064389563}, "pretraining_utility": {"-2": 0.008111006499942883, "-1": 0.07803653252405726, "0": 0.3951300575419308, "1": 0.46565824847568404, "2": 0.0530641549583851}, "math_density": {"0": 0.9967781260388512, "1": 0.0027375398078447774, "2": 0.00019699048103396597, "3": 0.0001087739000834016, "4": 0.00017856977218670803}, "code_density": {"0": 0.000677162424430091, "1": 0.0014158681240049116, "2": 0.04006096150566081, "3": 0.26031187003853784, "4": 0.6975341379073663}, "reasoning_density": {"0": 0.79885202791444, "1": 0.09757919708384236, "2": 0.09469216051903873, "3": 0.006944200913229388, "4": 0.0019324135694495992}, "education_level": {"none": 0.001259694361160883, "0": 0.005409034450070493, "1": 0.11368924863399008, "2": 0.7582048627262639, "3": 0.10862662937733425, "4": 0.012810530451180552}, "creative_writing_quality": {"not_applicable": 0.9980116640225898, "-2": 9.016037806828975e-05, "-1": 0.00026002467272628996, "0": 0.0013143071106006979, "1": 0.0002611335119095736, "2": 6.271030410528154e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 5.0395487788672506e-05, "Art & Design": 5.671006688722599e-05, "Law & Crime": 4.6871508550192957e-05, "Education & Careers": 4.788251313117783e-05, "Entertainment & Media": 3.9656305445804826e-05, "Fashion & Beauty": 2.0048893912035002e-05, "Business, Economics & Finance": 0.00018530370034995985, "Food & Dining": 2.983378866377164e-05, "Games & Gaming": 0.0005522031487038351, "Electronics & Hardware": 0.00010050364559972584, "Health, Healthcare & Wellness": 2.7692537504223237e-05, "History & Geography": 3.486724324111209e-05, "Home, Pets & Hobbies": 3.1851338068345254e-05, "Industry & Production": 4.91945215127167e-05, "Language, Literature & Philosophy": 4.159210284850835e-05, "Politics & Government": 3.305653525837774e-05, "Religion & Spirituality": 4.809729608098348e-05, "Science, Mathematics & Engineering": 0.00013970472965968737, "Relationships & Community": 2.3554318570363328e-05, "Software Usage & Applications": 0.0029432597701840955, "Programming & Software Engineering": 0.9950987077272431, "Sports & Fitness": 5.821860428467322e-05, "Vehicles & Transportation": 2.4334945408831985e-05, "Travel & Tourism": 5.2674156782183506e-05, "Other / Uncovered Subject": 0.0002026154984196479, "Unknown / Insufficient Content": 6.116961590074971e-05}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.00017969373109231654, "Art & Design": 0.00013589968162681273, "Law & Crime": 0.00014481546810191613, "Education & Careers": 0.00010221362138677653, "Entertainment & Media": 0.00013660493116706158, "Fashion & Beauty": 4.903884322437461e-05, "Business, Economics & Finance": 0.0003938974817663117, "Food & Dining": 5.7297124775784435e-05, "Games & Gaming": 0.0020946119374051584, "Electronics & Hardware": 0.0001640680051434611, "Health, Healthcare & Wellness": 5.5016464843208145e-05, "History & Geography": 6.075320726626911e-05, "Home, Pets & Hobbies": 4.650708299241505e-05, "Industry & Production": 5.9151966858476985e-05, "Language, Literature & Philosophy": 5.028312541178078e-05, "Politics & Government": 7.611200596522889e-05, "Religion & Spirituality": 8.939204958732959e-05, "Science, Mathematics & Engineering": 0.00014533180095001726, "Relationships & Community": 4.336656931191521e-05, "Software Usage & Applications": 0.010509418955536422, "Programming & Software Engineering": 0.008187850922636165, "Sports & Fitness": 7.136310695250646e-05, "Vehicles & Transportation": 3.100676172622472e-05, "Travel & Tourism": 8.668550793632682e-05, "Other / Uncovered Subject": 0.0003916429219121765, "NONE": 0.9766379767244235}}, "probability_diagnostics": {"primary": {"raw_sum": 0.9999999999999998, "mass_delta": -2.220446049250313e-16, "missing_mass": 2.220446049250313e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "tertiary": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "structured_records": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "procedural_steps": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "worked_solution": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "contextual_dialogue": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "content_quality": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "noise_severity": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "missing_content_severity": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "factual_density": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "pretraining_utility": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "math_density": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "code_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "reasoning_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "education_level": {"raw_sum": 0.9999999999999998, "mass_delta": -2.220446049250313e-16, "missing_mass": 2.220446049250313e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "creative_writing_quality": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "primary_topic": {"raw_sum": 0.9999999999999998, "mass_delta": -2.220446049250313e-16, "missing_mass": 2.220446049250313e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}}, "usage": {"input_tokens": 9590, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 9590, "cached_share": null, "cache_discount_reported": null, "reported_cost_usd": null}, "response_metadata": {"model": "decision-models/baseten-mammoth-27b-latest"}, "scored_at_utc": "2026-10-25T18:30:01.685349+00:00", "scoring_key_slot": "primary", "dataset_uid": "b1b0cf35-fc74-4763-b76e-f1efb5aea4cf", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "fee6842e12dad67ad4ccf15d246db9dd15d95f3f6e5cd688fc582b186f317471", "source_metadata": {"uuid": "b1b0cf35-fc74-4763-b76e-f1efb5aea4cf", "repo_name": "happybigmtn/pinocchio_template", "relative_path": "scripts/quick-deploy.sh", "category": "TOOL", "algo_rel_score": 0.8085663318634033, "quality_score": 6.230203151702881, "source_meta": {"github_metadata": {"branch": "master", "commit_count": 20, "repo_created_at": "2025-07-04T15:42:37.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 0, "forks": 0, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "3bc483e89a7999841b8ad1b6ff55b9de8b6ef71e", "size_bytes": 3677, "file_timestamp": 1753284149, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "ebd3c0c99004a873bf424d8e6560c55c3d067df9"}}, "parsed_source_meta": {"github_metadata": {"branch": "master", "commit_count": 20, "repo_created_at": "2025-07-04T15:42:37.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 0, "forks": 0, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "3bc483e89a7999841b8ad1b6ff55b9de8b6ef71e", "size_bytes": 3677, "file_timestamp": 1753284149, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "ebd3c0c99004a873bf424d8e6560c55c3d067df9", "url": "https://github.com/happybigmtn/pinocchio_template/blob/ebd3c0c99004a873bf424d8e6560c55c3d067df9/scripts/quick-deploy.sh"}, "gpt4o_tokens": 1015, "dataset_split": "shell", "probability_weighted_scores": {"content_quality": 0.76969043166601, "noise_severity": 0.059523700100009055, "missing_content_severity": 0.004596058359549687, "factual_density": 2.803207265998017, "pretraining_utility": 0.4775280128685112, "math_density": 0.004172121558909747, "code_density": 3.6526099528804052, "reasoning_density": 0.3155257751394064, "education_level": 2.009752658113997, "creative_writing_quality": -0.027053430282339704}, "score_applicability": {"education_level": 0.9987403056388392, "creative_writing_quality": 0.001988335977410133}} {"source_group": "shell", "source": "openbmb/UltraData-Stack-v3-L2/shell", "domain": "github.com", "language": "shell", "url": "https://github.com/OPAE/intel-fpga-bbb/blob/26241a7ecb314f843ed63a819e1a0a781dcd2d0f/platform-ifc-mgr-compat/a10_gx_pac_ias_1_0/files/run.sh", "id": "shell-0-8425ee77a829c4efee57c3cef3225520", "text": "#!/bin/sh\n# Copyright(c) 2017, Intel Corporation\n#\n# Redistribution and use in source and binary forms, with or without\n# modification, are permitted provided that the following conditions are met:\n#\n# * Redistributions of source code must retain the above copyright notice,\n# this list of conditions and the following disclaimer.\n# * Redistributions in binary form must reproduce the above copyright notice,\n# this list of conditions and the following disclaimer in the documentation\n# and/or other materials provided with the distribution.\n# * Neither the name of Intel Corporation nor the names of its contributors\n# may be used to endorse or promote products derived from this software\n# without specific prior written permission.\n#\n# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\n# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\n# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE\n# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR\n# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF\n# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS\n# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN\n# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE\n# POSSIBILITY OF SUCH DAMAGE.\n\nSCRIPTNAME=\"$(basename -- \"$0\")\"\nSCRIPT_DIR=\"$(cd \"$(dirname -- \"$0\")\" 2>/dev/null && pwd -P)\"\n\nwhile [ $# -gt 0 ]; do\n case \"$1\" in\n -l|--bbs-lib)\n BBS_LIB_PATH=\"$2\"\n shift 2\n ;;\n -p|--packager)\n PACKAGER=\"$2\"\n shift 2\n ;;\n -o|--gbs)\n GBS_FILE=\"$2\"\n shift 2\n ;;\n --) shift; break;;\n -*) echo \"usage: $SCRIPTNAME [-l/--bbs-lib ] [-l/--packager ] [--] [afu_metadata.json]\" 1>&2\n exit 1\n ;;\n *) break;;\n esac\ndone\n\nif [ $# -eq 0 ]; then\n set -- hw/rtl/*.json hw/*.json *.json\n while [ $# -gt 0 ] && [ ! -e \"$1\" ]; do shift; done\n\n if [ -z \"$1\" ]; then\n echo \"ERROR: JSON metadata definition not found.\" 1>&2\n exit 1\n fi\nfi\nAFU_JSON=\"$1\"\n\nOPAE_PLATFORM_ROOT=${OPAE_PLATFORM_ROOT:-\"$(dirname -- \"${SCRIPT_DIR}\")\"}\nBBS_LIB_PATH=${BBS_LIB_PATH:-\"${OPAE_PLATFORM_ROOT}/hw/lib\"}\nPACKAGER=${PACKAGER:-packager}\nGBS_FILE=${GBS_FILE:-$(basename \"${AFU_JSON}\" .json).gbs}\n\nif [ ! -f \"${BBS_LIB_PATH}/fme-ifc-id.txt\" ]; then\n echo \"ERROR: Release hw/lib directory not found!\" 1>&2\n echo \" Please set OPAE_PLATFORM_ROOT, BBS_LIB_PATH or --bbs-lib\" 1>&2\n exit 1\nfi\n\nINTERFACE_UUID=\"$(cat \"${BBS_LIB_PATH}/fme-ifc-id.txt\")\"\nPLATFORM_CLASS=\"$(cat \"${BBS_LIB_PATH}/fme-platform-class.txt\")\"\n\nif ! \"${PACKAGER}\" >/dev/null; then\n echo \"ERROR: Packager tool '${PACKAGER}' failed to run. Please check \\$PATH and installation.\" 1>&2\n exit 1\nfi\n\necho \"Restoring blue bitstream lib files\"\necho \"==================================\"\n\n# Restore the base revision files needed for PR compilation:\nif [ -d ./build ]; then\n # There is already a build directory. Restore all non-user\n # configurable files.\n rm -rf \"./build/output_files\" \\\n \"./build/a10_partial_reconfig\"\n cp -rLf \"${BBS_LIB_PATH}/build/dcp.qdb\" \\\n \"${BBS_LIB_PATH}/build/output_files\" \\\n \"${BBS_LIB_PATH}/build/a10_partial_reconfig\" \\\n ./build/\nelse\n cp -rLf \"${BBS_LIB_PATH}/build\" .\n\n # Configure the platform interface\n afu_platform_config --qsf --src \"${AFU_JSON}\" --default-ifc ccip_std_afu_avalon_mm_legacy_wires --tgt ./build/platform \"${PLATFORM_CLASS}\"\nfi\ntar -xz <\"${BBS_LIB_PATH}/pr_design_artifacts.tar.gz\"\n\nif [ -f ./hw/rtl/components.ipx ] && [ ! -e ./build/components.ipx ]; then\n ln -s ../hw/rtl/components.ipx build/\nfi\n\n# Run the actual build process:\n(cd ./build && quartus_sh -t ./a10_partial_reconfig/flow.tcl -nobasecheck -setup_script ./a10_partial_reconfig/setup.tcl -impl afu_fit \\\n && quartus_sh -t ./a10_partial_reconfig/compute_user_clock_freqs.tcl --project=dcp --revision=afu_fit \\\n && quartus_sta -t ./a10_partial_reconfig/report_timing.tcl --project=dcp --revision=afu_fit)\nQUARTUS_RETCODE=$?\n\nif [ $QUARTUS_RETCODE -ne 0 ]; then\n echo \"Quartus build failed\"\n exit $QUARTUS_RETCODE\nfi\n\n# Load any user clock frequency updates\nUCLK_CFG=\"\"\nif [ -f ./build/output_files/user_clock_freq.txt ]; then\n UCLK_CFG=\"$(grep -v '^#' ./build/output_files/user_clock_freq.txt)\"\nfi\n\n\"${PACKAGER}\" create-gbs \\\n --gbs=\"${GBS_FILE}\" \\\n --afu-json=\"${AFU_JSON}\" \\\n --rbf=./build/output_files/afu_fit.green_region.rbf \\\n --set-value interface-uuid:\"${INTERFACE_UUID}\" ${UCLK_CFG}\nPACKAGER_RETCODE=$?\n\nif [ $PACKAGER_RETCODE -ne 0 ]; then\n echo \"Package build failed\"\n exit $PACKAGER_RETCODE\nfi\n\necho \"\"\necho \"===========================================================================\"\necho \" PR AFU compilation complete\"\necho \" AFU gbs file is '${GBS_FILE}'\"\n\nTIMING_SUMMARY_FILE=\"build/output_files/timing_report/clocks.sta.fail.summary\"\nif [ -s \"${TIMING_SUMMARY_FILE}\" ]; then\n echo\n echo \" *** Design does not meet timing. See build/output_files/timing_report. ***\"\n echo\nelif [ -f \"${TIMING_SUMMARY_FILE}\" ]; then\n echo \" Design meets timing\"\nfi\n\necho \"===========================================================================\"\necho \"\"\n", "text_preview": "#!/bin/sh # Copyright(c) 2017, Intel Corporation # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # * Redistributions of source code must ", "input_sha256": "806dd8809938d5605a8f0d1a7f5f61886707ad37a369a99ac7095e63b80f6cbf", "text_sha256": "8425ee77a829c4efee57c3cef322552099f9bdd0dea974b8e41f95566dafcd62", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 20015, "input_policy": "text-and-optional-url-v1", "label_policy_version": 12, "requested_model": "decision-models/baseten-mammoth-27b-latest", "backend": "baseten", "endpoint": "https://inference.baseten.co/v1/systemone", "status": "ok", "training_eligible": true, "label": {"primary": {"main_format": "Technical Writing", "sub_format": null}, "secondary": {"main_format": "Legal Notices", "sub_format": null}, "tertiary": null, "content_structure": []}, "candidate_label": null, "topic": {"primary": {"main_topic": "Programming & Software Engineering", "sub_topic": null}, "secondary": null}, "scores": {"content_quality": 1, "noise_severity": 1, "missing_content_severity": 0, "factual_density": 4, "pretraining_utility": 0, "math_density": 0, "code_density": 4, "reasoning_density": 0, "education_level": 3, "creative_writing_quality": null}, "score_expectations": {"content_quality": 1.0731767811307806, "noise_severity": 0.7733006680844079, "missing_content_severity": 0.001810043493794953, "factual_density": 3.0575477680098224, "pretraining_utility": 0.21610234571159767, "math_density": 0.0020187456623517565, "code_density": 3.529751562412614, "reasoning_density": 0.547048810773466, "education_level": 3.0360045951584853, "creative_writing_quality": -0.21912452601021373}, "api_choices": {"primary": "Technical Writing", "secondary": "Legal Notices", "tertiary": "NONE", "education_level": "3", "creative_writing_quality": "not_applicable", "primary_topic": "Programming & Software Engineering", "secondary_topic": "NONE"}, "review_reasons": [], "format_slot_diagnostics": {"comparable": true, "secondary_tertiary_identical": false, "secondary_tertiary_max_abs_gap": 0.6811671426806254, "secondary_choice": "Legal Notices", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.9573318854231168, "secondary": 0.8660150446109378, "tertiary": 0.7470253737016397, "structured_records": 0.0014465027736878715, "procedural_steps": 0.30456195821100934, "worked_solution": 0.0017925859100439876, "contextual_dialogue": 5.002714343429891e-06, "content_quality": 0.5618701474972043, "noise_severity": 0.6157676100938548, "missing_content_severity": 0.9984916304218375, "factual_density": 0.21462314000818516, "pretraining_utility": 0.5081490163802629, "math_density": 0.9983177119480402, "code_density": 0.6081263020105112, "reasoning_density": 0.5441259910221117, "education_level": 0.4474705101326655, "creative_writing_quality": 0.9992454736357366, "primary_topic": 0.9044241361775559, "secondary_topic": 0.38056832863592954}, "probability_margin": {"primary": 0.9297809464099682, "secondary": 0.7951989106353695, "tertiary": 0.5435138881383321, "education_level": 0.28753914447784296, "creative_writing_quality": 0.9990361524513329, "primary_topic": 0.8257598006966959, "secondary_topic": 0.026173907664820917}, "raw_probabilities": {"primary": {"Academic Writing": 8.552694944634524e-05, "Content Listing": 8.109290857483463e-05, "Creative Writing": 6.59702068392218e-05, "Customer Support Page": 4.832028503245226e-05, "Q&A Forum": 3.59223559299972e-05, "Discussion Thread": 2.6764820583383598e-05, "Comment Section": 5.593857917178831e-05, "Missing Content": 7.721368104412334e-05, "Knowledge Article": 0.00014211998719263145, "Legal Notices": 0.02932877712051862, "News Article": 2.8226908658313072e-05, "Organizational Announcement": 8.091469002929478e-05, "Nonfiction Writing": 4.230254560048409e-05, "Organizational About Page": 6.57548894811969e-05, "Personal About Page": 2.591746617285839e-05, "Personal Blog": 2.7108364242210777e-05, "Product Page": 2.7685293735780856e-05, "Spam / Ads": 3.5761378575871686e-05, "Structured Data": 0.0003259588882358928, "Technical Writing": 0.9591097235304868, "Transcript / Interview": 6.665751284006184e-05, "Tutorial / How-To Guide": 0.0065375787591189565, "User Reviews": 2.6340298017420988e-05, "Other / Unknown": 0.0036524225804714333}, "secondary": {"Academic Writing": 0.0003307019240338995, "Content Listing": 0.0002913620429693572, "Creative Writing": 0.00029914904322684785, "Customer Support Page": 0.00023003036525931085, "Q&A Forum": 0.00015506872779185658, "Discussion Thread": 0.00013489652403369945, "Comment Section": 0.00028475423330215154, "Missing Content": 0.0003094118947891037, "Knowledge Article": 0.0005799102999173646, "Legal Notices": 0.8715977510854821, "News Article": 0.00028245204759960876, "Organizational Announcement": 0.00038160748843281173, "Nonfiction Writing": 0.0002255295497188794, "Organizational About Page": 0.00034476448591893037, "Personal About Page": 0.00015233461819470616, "Personal Blog": 0.0001693750092269092, "Product Page": 0.0002079386246113716, "Spam / Ads": 0.0002155620786389902, "Structured Data": 0.00040758888577409574, "Technical Writing": 0.04242032934859691, "Transcript / Interview": 0.0003012823150287237, "Tutorial / How-To Guide": 0.0041617601900359145, "User Reviews": 0.0001175987673039267, "NONE": 0.0763988404501126}, "tertiary": {"Academic Writing": 0.0003660752770498079, "Content Listing": 0.000290278008316713, "Creative Writing": 0.0003615225418316796, "Customer Support Page": 0.00028869595701536317, "Q&A Forum": 0.00013862765332922473, "Discussion Thread": 0.00010897541816094491, "Comment Section": 0.0002778764429497403, "Missing Content": 0.0003359072925586533, "Knowledge Article": 0.0007328351438696173, "Legal Notices": 0.21405209499240585, "News Article": 0.00030136749531347565, "Organizational Announcement": 0.0003861219283871734, "Nonfiction Writing": 0.0002247318100049254, "Organizational About Page": 0.00041955209914051916, "Personal About Page": 0.00016552828836905668, "Personal Blog": 0.00019180963301265673, "Product Page": 0.00019172751775440976, "Spam / Ads": 0.0002566741796017074, "Structured Data": 0.00047195179177920315, "Technical Writing": 0.01222276951777442, "Transcript / Interview": 0.00031209611729741667, "Tutorial / How-To Guide": 0.010217026272581172, "User Reviews": 0.00011977149075836841, "NONE": 0.757565983130738}, "structured_records": {"false": 0.9985534972263121, "true": 0.0014465027736878715}, "procedural_steps": {"false": 0.6954380417889907, "true": 0.30456195821100934}, "worked_solution": {"false": 0.9982074140899561, "true": 0.0017925859100439876}, "contextual_dialogue": {"false": 0.9999949972856566, "true": 5.002714343429891e-06}, "content_quality": {"-2": 0.004362792927271998, "-1": 0.020065632069408597, "0": 0.17306987801565393, "1": 0.5030353949205977, "2": 0.29946630206706776}, "noise_severity": {"0": 0.34388909990148314, "1": 0.5509726385076614, "2": 0.09669469496861759, "3": 0.004835626849440278, "4": 0.003607939772797625}, "missing_content_severity": {"0": 0.9990793969082995, "1": 0.00036076147388207965, "2": 0.000302886441836672, "3": 0.00018431156768769174, "4": 7.26436082941135e-05}, "factual_density": {"0": 0.010163843550675376, "1": 0.0433838902434161, "2": 0.20752262044528083, "3": 0.3565999461666663, "4": 0.38232969959396146}, "pretraining_utility": {"-2": 0.010996797393821752, "-1": 0.1650658225283999, "0": 0.4602646733973657, "1": 0.32418365033318414, "2": 0.03948905634722848}, "math_density": {"0": 0.998743152043199, "1": 0.0008983832689953299, "2": 0.00011272065850768767, "3": 8.80550408513989e-05, "4": 0.00015768898844671362}, "code_density": {"0": 0.0006293232553041993, "1": 0.0012237171427047213, "2": 0.03402946136332414, "3": 0.3960010704114072, "4": 0.5681164278272597}, "reasoning_density": {"0": 0.6909270986509446, "1": 0.13211195458797523, "2": 0.127982958401971, "3": 0.03694101405488821, "4": 0.012036974304221036}, "education_level": {"none": 0.0010414851684441935, "0": 0.0016874079492878518, "1": 0.005297558739214402, "2": 0.20039517573312077, "3": 0.5395587584438879, "4": 0.25201961396604494}, "creative_writing_quality": {"not_applicable": 0.9993712280297805, "-2": 6.688196059035682e-05, "-1": 0.0001263266819635508, "0": 0.00033507557844756117, "1": 7.866425523527637e-05, "2": 2.182349398303523e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 0.00010051626248957077, "Art & Design": 0.0001279829632561359, "Law & Crime": 0.0006630326138749603, "Education & Careers": 8.017685009781767e-05, "Entertainment & Media": 0.00010621104204227995, "Fashion & Beauty": 8.236380492184794e-05, "Business, Economics & Finance": 0.00016057429377750468, "Food & Dining": 8.118858712520568e-05, "Games & Gaming": 0.000147692281703173, "Electronics & Hardware": 0.0823403302432617, "Health, Healthcare & Wellness": 0.00010720052324603738, "History & Geography": 0.00016295557893540575, "Home, Pets & Hobbies": 0.00011348744680441071, "Industry & Production": 0.00021590103862942936, "Language, Literature & Philosophy": 8.219729408576166e-05, "Politics & Government": 7.757859661352751e-05, "Religion & Spirituality": 0.00010666320139521725, "Science, Mathematics & Engineering": 0.00476801782477675, "Relationships & Community": 5.506752153153297e-05, "Software Usage & Applications": 0.001418506586256253, "Programming & Software Engineering": 0.9081001309399576, "Sports & Fitness": 0.00011310387973779054, "Vehicles & Transportation": 7.395195984567889e-05, "Travel & Tourism": 0.00011580963848917551, "Other / Uncovered Subject": 0.0004270073537327562, "Unknown / Insufficient Content": 0.00017235167341261943}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0006539549617250892, "Art & Design": 0.000851569687421761, "Law & Crime": 0.048505528506231035, "Education & Careers": 0.0005079877655292886, "Entertainment & Media": 0.0005045364176581392, "Fashion & Beauty": 0.0004825333446605652, "Business, Economics & Finance": 0.0017748337926419963, "Food & Dining": 0.0004037084270462856, "Games & Gaming": 0.0005431402807876847, "Electronics & Hardware": 0.37821871602357293, "Health, Healthcare & Wellness": 0.0005938279226626969, "History & Geography": 0.0005559372363928989, "Home, Pets & Hobbies": 0.0005139696375293059, "Industry & Production": 0.0005342525076956123, "Language, Literature & Philosophy": 0.00028339659315495635, "Politics & Government": 0.0005105738057558457, "Religion & Spirituality": 0.0005796248240897452, "Science, Mathematics & Engineering": 0.010715163731637634, "Relationships & Community": 0.00022109480162760232, "Software Usage & Applications": 0.006580938482255199, "Programming & Software Engineering": 0.13987302083198447, "Sports & Fitness": 0.000360519182660071, "Vehicles & Transportation": 0.0002715849674283822, "Travel & Tourism": 0.0006057330407103965, "Other / Uncovered Subject": 0.0009612295387464631, "NONE": 0.40439262368839385}}, "probabilities": {"primary": {"Academic Writing": 8.552694944634524e-05, "Content Listing": 8.109290857483463e-05, "Creative Writing": 6.59702068392218e-05, "Customer Support Page": 4.832028503245226e-05, "Q&A Forum": 3.59223559299972e-05, "Discussion Thread": 2.6764820583383598e-05, "Comment Section": 5.593857917178831e-05, "Missing Content": 7.721368104412334e-05, "Knowledge Article": 0.00014211998719263145, "Legal Notices": 0.02932877712051862, "News Article": 2.8226908658313072e-05, "Organizational Announcement": 8.091469002929478e-05, "Nonfiction Writing": 4.230254560048409e-05, "Organizational About Page": 6.57548894811969e-05, "Personal About Page": 2.591746617285839e-05, "Personal Blog": 2.7108364242210777e-05, "Product Page": 2.7685293735780856e-05, "Spam / Ads": 3.5761378575871686e-05, "Structured Data": 0.0003259588882358928, "Technical Writing": 0.9591097235304868, "Transcript / Interview": 6.665751284006184e-05, "Tutorial / How-To Guide": 0.0065375787591189565, "User Reviews": 2.6340298017420988e-05, "Other / Unknown": 0.0036524225804714333}, "secondary": {"Academic Writing": 0.0003307019240338995, "Content Listing": 0.0002913620429693572, "Creative Writing": 0.00029914904322684785, "Customer Support Page": 0.00023003036525931085, "Q&A Forum": 0.00015506872779185658, "Discussion Thread": 0.00013489652403369945, "Comment Section": 0.00028475423330215154, "Missing Content": 0.0003094118947891037, "Knowledge Article": 0.0005799102999173646, "Legal Notices": 0.8715977510854821, "News Article": 0.00028245204759960876, "Organizational Announcement": 0.00038160748843281173, "Nonfiction Writing": 0.0002255295497188794, "Organizational About Page": 0.00034476448591893037, "Personal About Page": 0.00015233461819470616, "Personal Blog": 0.0001693750092269092, "Product Page": 0.0002079386246113716, "Spam / Ads": 0.0002155620786389902, "Structured Data": 0.00040758888577409574, "Technical Writing": 0.04242032934859691, "Transcript / Interview": 0.0003012823150287237, "Tutorial / How-To Guide": 0.0041617601900359145, "User Reviews": 0.0001175987673039267, "NONE": 0.0763988404501126}, "tertiary": {"Academic Writing": 0.0003660752770498079, "Content Listing": 0.000290278008316713, "Creative Writing": 0.0003615225418316796, "Customer Support Page": 0.00028869595701536317, "Q&A Forum": 0.00013862765332922473, "Discussion Thread": 0.00010897541816094491, "Comment Section": 0.0002778764429497403, "Missing Content": 0.0003359072925586533, "Knowledge Article": 0.0007328351438696173, "Legal Notices": 0.21405209499240585, "News Article": 0.00030136749531347565, "Organizational Announcement": 0.0003861219283871734, "Nonfiction Writing": 0.0002247318100049254, "Organizational About Page": 0.00041955209914051916, "Personal About Page": 0.00016552828836905668, "Personal Blog": 0.00019180963301265673, "Product Page": 0.00019172751775440976, "Spam / Ads": 0.0002566741796017074, "Structured Data": 0.00047195179177920315, "Technical Writing": 0.01222276951777442, "Transcript / Interview": 0.00031209611729741667, "Tutorial / How-To Guide": 0.010217026272581172, "User Reviews": 0.00011977149075836841, "NONE": 0.757565983130738}, "structured_records": {"false": 0.9985534972263121, "true": 0.0014465027736878715}, "procedural_steps": {"false": 0.6954380417889907, "true": 0.30456195821100934}, "worked_solution": {"false": 0.9982074140899561, "true": 0.0017925859100439876}, "contextual_dialogue": {"false": 0.9999949972856566, "true": 5.002714343429891e-06}, "content_quality": {"-2": 0.004362792927271998, "-1": 0.020065632069408597, "0": 0.17306987801565393, "1": 0.5030353949205977, "2": 0.29946630206706776}, "noise_severity": {"0": 0.34388909990148314, "1": 0.5509726385076614, "2": 0.09669469496861759, "3": 0.004835626849440278, "4": 0.003607939772797625}, "missing_content_severity": {"0": 0.9990793969082995, "1": 0.00036076147388207965, "2": 0.000302886441836672, "3": 0.00018431156768769174, "4": 7.26436082941135e-05}, "factual_density": {"0": 0.010163843550675376, "1": 0.0433838902434161, "2": 0.20752262044528083, "3": 0.3565999461666663, "4": 0.38232969959396146}, "pretraining_utility": {"-2": 0.010996797393821752, "-1": 0.1650658225283999, "0": 0.4602646733973657, "1": 0.32418365033318414, "2": 0.03948905634722848}, "math_density": {"0": 0.998743152043199, "1": 0.0008983832689953299, "2": 0.00011272065850768767, "3": 8.80550408513989e-05, "4": 0.00015768898844671362}, "code_density": {"0": 0.0006293232553041994, "1": 0.0012237171427047216, "2": 0.034029461363324146, "3": 0.39600107041140725, "4": 0.5681164278272598}, "reasoning_density": {"0": 0.6909270986509446, "1": 0.13211195458797523, "2": 0.127982958401971, "3": 0.03694101405488821, "4": 0.012036974304221036}, "education_level": {"none": 0.0010414851684441935, "0": 0.0016874079492878518, "1": 0.005297558739214402, "2": 0.20039517573312077, "3": 0.5395587584438879, "4": 0.25201961396604494}, "creative_writing_quality": {"not_applicable": 0.9993712280297803, "-2": 6.688196059035681e-05, "-1": 0.00012632668196355077, "0": 0.0003350755784475611, "1": 7.866425523527636e-05, "2": 2.1823493983035227e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 0.00010051626248957077, "Art & Design": 0.0001279829632561359, "Law & Crime": 0.0006630326138749603, "Education & Careers": 8.017685009781767e-05, "Entertainment & Media": 0.00010621104204227995, "Fashion & Beauty": 8.236380492184794e-05, "Business, Economics & Finance": 0.00016057429377750468, "Food & Dining": 8.118858712520568e-05, "Games & Gaming": 0.000147692281703173, "Electronics & Hardware": 0.0823403302432617, "Health, Healthcare & Wellness": 0.00010720052324603738, "History & Geography": 0.00016295557893540575, "Home, Pets & Hobbies": 0.00011348744680441071, "Industry & Production": 0.00021590103862942936, "Language, Literature & Philosophy": 8.219729408576166e-05, "Politics & Government": 7.757859661352751e-05, "Religion & Spirituality": 0.00010666320139521725, "Science, Mathematics & Engineering": 0.00476801782477675, "Relationships & Community": 5.506752153153297e-05, "Software Usage & Applications": 0.001418506586256253, "Programming & Software Engineering": 0.9081001309399576, "Sports & Fitness": 0.00011310387973779054, "Vehicles & Transportation": 7.395195984567889e-05, "Travel & Tourism": 0.00011580963848917551, "Other / Uncovered Subject": 0.0004270073537327562, "Unknown / Insufficient Content": 0.00017235167341261943}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0006539549617250893, "Art & Design": 0.0008515696874217612, "Law & Crime": 0.04850552850623104, "Education & Careers": 0.0005079877655292887, "Entertainment & Media": 0.0005045364176581393, "Fashion & Beauty": 0.0004825333446605653, "Business, Economics & Finance": 0.0017748337926419965, "Food & Dining": 0.00040370842704628567, "Games & Gaming": 0.0005431402807876848, "Electronics & Hardware": 0.378218716023573, "Health, Healthcare & Wellness": 0.000593827922662697, "History & Geography": 0.000555937236392899, "Home, Pets & Hobbies": 0.000513969637529306, "Industry & Production": 0.0005342525076956124, "Language, Literature & Philosophy": 0.0002833965931549564, "Politics & Government": 0.0005105738057558458, "Religion & Spirituality": 0.0005796248240897453, "Science, Mathematics & Engineering": 0.010715163731637636, "Relationships & Community": 0.00022109480162760235, "Software Usage & Applications": 0.0065809384822552, "Programming & Software Engineering": 0.1398730208319845, "Sports & Fitness": 0.00036051918266007105, "Vehicles & Transportation": 0.00027158496742838226, "Travel & Tourism": 0.0006057330407103967, "Other / Uncovered Subject": 0.0009612295387464632, "NONE": 0.4043926236883939}}, "probability_diagnostics": {"primary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "tertiary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "structured_records": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "procedural_steps": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "worked_solution": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "contextual_dialogue": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "content_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "noise_severity": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "missing_content_severity": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "factual_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "pretraining_utility": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "math_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "code_density": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "reasoning_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "education_level": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "creative_writing_quality": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "primary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary_topic": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}}, "usage": {"input_tokens": 10114, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 10114, "cached_share": null, "cache_discount_reported": null, "reported_cost_usd": null}, "response_metadata": {"model": "decision-models/baseten-mammoth-27b-latest"}, "scored_at_utc": "2026-10-25T18:30:03.941023+00:00", "scoring_key_slot": "assistant_1", "dataset_uid": "b76563a3-73b2-40da-9af1-434f870ffca9", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "d7e4b37ab9f51665f813a324472d81ff66b034f2ca0ef143184ca9ce6dabb437", "source_metadata": {"uuid": "b76563a3-73b2-40da-9af1-434f870ffca9", "repo_name": "OPAE/intel-fpga-bbb", "relative_path": "platform-ifc-mgr-compat/a10_gx_pac_ias_1_0/files/run.sh", "category": "TOOL", "algo_rel_score": 0.9954386353492737, "quality_score": 5.53977632522583, "source_meta": {"github_metadata": {"branch": "master", "commit_count": 204, "repo_created_at": "2017-09-05T18:26:24.000Z", "is_fork": false, "is_org_owned": true, "forked_from": null, "stars": 104, "forks": 34, "issues": 4, "pull_requests": 0}, "file_meta": {"content_id": "237d61d64e308566d2a568fbdce0069bd8cc45c5", "size_bytes": 5656, "file_timestamp": 1738080287, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "26241a7ecb314f843ed63a819e1a0a781dcd2d0f"}}, "parsed_source_meta": {"github_metadata": {"branch": "master", "commit_count": 204, "repo_created_at": "2017-09-05T18:26:24.000Z", "is_fork": false, "is_org_owned": true, "forked_from": null, "stars": 104, "forks": 34, "issues": 4, "pull_requests": 0}, "file_meta": {"content_id": "237d61d64e308566d2a568fbdce0069bd8cc45c5", "size_bytes": 5656, "file_timestamp": 1738080287, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "26241a7ecb314f843ed63a819e1a0a781dcd2d0f", "url": "https://github.com/OPAE/intel-fpga-bbb/blob/26241a7ecb314f843ed63a819e1a0a781dcd2d0f/platform-ifc-mgr-compat/a10_gx_pac_ias_1_0/files/run.sh"}, "gpt4o_tokens": 1523, "dataset_split": "shell", "probability_weighted_scores": {"content_quality": 1.0731767811307806, "noise_severity": 0.7733006680844079, "missing_content_severity": 0.001810043493794953, "factual_density": 3.0575477680098224, "pretraining_utility": 0.21610234571159767, "math_density": 0.0020187456623517565, "code_density": 3.529751562412613, "reasoning_density": 0.547048810773466, "education_level": 3.0360045951584853, "creative_writing_quality": -0.21912452601021373}, "score_applicability": {"education_level": 0.9989585148315558, "creative_writing_quality": 0.0006287719702197802}} {"source_group": "shell", "source": "openbmb/UltraData-Stack-v3-L2/shell", "domain": "github.com", "language": "shell", "url": "https://github.com/Hzj-jie/koreader-202411/blob/7007ab5b59679d3c768f4be874f728f9f4549f19/kobo/nickel.sh", "id": "shell-0-79f45592393823808225c965bbe6b660", "text": "#!/bin/sh\nPATH=\"/sbin:/bin:/usr/sbin:/usr/bin:/usr/lib:\"\n\n# We don't need to duplicate any of the env setup from rcS, since we will only ever run this to *restart* nickel, and not bootstrap it.\n# Meaning we've already got most of the necessary env from nickel itself via both our launcher (fmon/KFMon) and our own startup script.\n# NOTE: LD_LIBRARY_PATH is the only late export from rcS we don't siphon in koreader.sh, for obvious reasons ;).\nexport LD_LIBRARY_PATH=\"/usr/local/Kobo\"\n# Ditto, 4.28+\nexport QT_GSTREAMER_PLAYBIN_AUDIOSINK=alsasink\nexport QT_GSTREAMER_PLAYBIN_AUDIOSINK_DEVICE_PARAMETER=bluealsa:DEV=00:00:00:00:00:00\n\n# Reset PWD, and clear up our own custom stuff from the env while we're there, otherwise, USBMS may become very wonky on newer FW...\n# shellcheck disable=SC2164\ncd /\nunset OLDPWD\nunset LC_ALL STARDICT_DATA_DIR EXT_FONT_DIR\nunset KO_DONT_GRAB_INPUT\nunset FBINK_FORCE_ROTA\n\n# Ensures fmon will restart. Note that we don't have to worry about reaping this, nickel kills on-animator.sh on start.\n(\n if [ \"${PLATFORM}\" = \"freescale\" ] || [ \"${PLATFORM}\" = \"mx50-ntx\" ] || [ \"${PLATFORM}\" = \"mx6sl-ntx\" ]; then\n usleep 400000\n fi\n /etc/init.d/on-animator.sh\n) &\n\n# Make sure we kill the Wi-Fi first, because nickel apparently doesn't like it if it's up... (cf. #1520)\nif grep -q \"^${WIFI_MODULE} \" \"/proc/modules\"; then\n killall -q -TERM restore-wifi-async.sh enable-wifi.sh obtain-ip.sh\n\n cp -a \"/etc/resolv.conf\" \"/tmp/resolv.ko\"\n old_hash=\"$(md5sum \"/etc/resolv.conf\" | cut -f1 -d' ')\"\n\n if [ -x \"/sbin/dhcpcd\" ]; then\n dhcpcd -d -k \"${INTERFACE}\"\n killall -q -TERM udhcpc default.script\n else\n killall -q -TERM udhcpc default.script dhcpcd\n fi\n\n kill_timeout=0\n while pkill -0 udhcpc; do\n if [ ${kill_timeout} -ge 20 ]; then\n break\n fi\n usleep 250000\n kill_timeout=$((kill_timeout + 1))\n done\n\n new_hash=\"$(md5sum \"/etc/resolv.conf\" | cut -f1 -d' ')\"\n # Restore our network-specific resolv.conf if the DHCP client wiped it when releasing the lease...\n if [ \"${new_hash}\" != \"${old_hash}\" ]; then\n mv -f \"/tmp/resolv.ko\" \"/etc/resolv.conf\"\n else\n rm -f \"/tmp/resolv.ko\"\n fi\n\n wpa_cli -i \"${INTERFACE}\" terminate\n\n [ \"${WIFI_MODULE}\" = \"dhd\" ] && wlarm_le -i \"${INTERFACE}\" down\n ifconfig \"${INTERFACE}\" down\n\n WIFI_DEP_MOD=\"\"\n POWER_TOGGLE=\"module\"\n SKIP_UNLOAD=\"\"\n case \"${WIFI_MODULE}\" in\n \"moal\")\n WIFI_DEP_MOD=\"mlan\"\n POWER_TOGGLE=\"ntx_io\"\n ;;\n \"wlan_drv_gen4m\")\n POWER_TOGGLE=\"wmt\"\n SKIP_UNLOAD=\"true\"\n ;;\n esac\n\n if [ -z \"${SKIP_UNLOAD}\" ]; then\n usleep 250000\n rmmod \"${WIFI_MODULE}\"\n\n if [ -n \"${WIFI_DEP_MOD}\" ]; then\n if grep -q \"^${WIFI_DEP_MOD} \" \"/proc/modules\"; then\n usleep 250000\n rmmod \"${WIFI_DEP_MOD}\"\n fi\n fi\n fi\n\n case \"${POWER_TOGGLE}\" in\n \"ntx_io\")\n usleep 250000\n \"${KOREADER_DIR}\"/luajit \"${KOREADER_DIR}\"/frontend/device/kobo/ntx_io.lua 208 0\n ;;\n \"wmt\")\n echo 0 >/dev/wmtWifi\n ;;\n *)\n if grep -q \"^sdio_wifi_pwr \" \"/proc/modules\"; then\n if [ -n \"${CPUFREQ_DVFS}\" ]; then\n echo \"0\" >\"/sys/devices/platform/mxc_dvfs_core.0/enable\"\n # Leave Nickel in its usual state, don't try to use conservative\n echo \"userspace\" >\"/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor\"\n cat \"/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq\" >\"/sys/devices/system/cpu/cpu0/cpufreq/scaling_setspeed\"\n fi\n usleep 250000\n rmmod sdio_wifi_pwr\n fi\n\n if [ ! -e \"/drivers/${PLATFORM}/wifi/sdio_wifi_pwr.ko\" ]; then\n usleep 250000\n \"${KOREADER_DIR}\"/luajit \"${KOREADER_DIR}\"/frontend/device/kobo/ntx_io.lua 208 0\n fi\n ;;\n esac\nfi\n\nunset KOREADER_DIR\nunset CPUFREQ_DVFS CPUFREQ_CONSERVATIVE\n\n# Recreate Nickel's FIFO ourselves, like rcS does, because udev *will* write to it!\n# Plus, we actually *do* want the stuff udev writes in there to be processed by Nickel, anyway.\nrm -f \"/tmp/nickel-hardware-status\"\nmkfifo \"/tmp/nickel-hardware-status\"\n\n# Flush buffers to disk, who knows.\nsync\n\n# Handle the sdcard:\n# We need to unmount it ourselves, or Nickel wigs out and shows an \"unrecognized FS\" popup until the next fake sd add event.\n# The following udev trigger should then ensure there's a single sd add event enqueued in the FIFO for it to process,\n# ensuring it gets sanely detected and remounted RO.\nif [ -e \"/dev/mmcblk1p1\" ]; then\n umount /mnt/sd\nfi\n\n# And finally, simply restart nickel.\n# We don't care about horribly legacy stuff, because if people switch between nickel and KOReader in the first place, I assume they're using a decently recent enough FW version.\n# Last tested on an H2O & a Forma running FW 4.7.x - 4.25.x\n/usr/local/Kobo/hindenburg &\nLIBC_FATAL_STDERR_=1 /usr/local/Kobo/nickel -platform kobo -skipFontLoad &\n[ \"${PLATFORM}\" != \"freescale\" ] && udevadm trigger &\n\nreturn 0\n", "text_preview": "#!/bin/sh PATH=\"/sbin:/bin:/usr/sbin:/usr/bin:/usr/lib:\" # We don't need to duplicate any of the env setup from rcS, since we will only ever run this to *restart* nickel, and not bootstrap it. # Meaning we've already got most of the necessa", "input_sha256": "9ef79341e52f491b7acb74969594ba9fc6eac2905db6248429010f939b9ac154", "text_sha256": "79f45592393823808225c965bbe6b66095bb8232a9f0021bbc0e4d3febf1b5bd", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 20017, "input_policy": "text-and-optional-url-v1", "label_policy_version": 12, "requested_model": "decision-models/baseten-mammoth-27b-latest", "backend": "baseten", "endpoint": "https://inference.baseten.co/v1/systemone", "status": "ok", "training_eligible": true, "label": {"primary": {"main_format": "Technical Writing", "sub_format": null}, "secondary": null, "tertiary": null, "content_structure": []}, "candidate_label": null, "topic": {"primary": {"main_topic": "Programming & Software Engineering", "sub_topic": null}, "secondary": null}, "scores": {"content_quality": 1, "noise_severity": 0, "missing_content_severity": 0, "factual_density": 4, "pretraining_utility": 0, "math_density": 0, "code_density": 4, "reasoning_density": 1, "education_level": 3, "creative_writing_quality": null}, "score_expectations": {"content_quality": 1.25794138643031, "noise_severity": 0.008225174438775724, "missing_content_severity": 0.0016180163875364828, "factual_density": 3.357528057884612, "pretraining_utility": 0.3792828296509089, "math_density": 0.05299398542050581, "code_density": 3.8167938023655195, "reasoning_density": 1.270601077181453, "education_level": 2.98568683622429, "creative_writing_quality": -0.10361931966015245}, "api_choices": {"primary": "Technical Writing", "secondary": "NONE", "tertiary": "NONE", "education_level": "3", "creative_writing_quality": "not_applicable", "primary_topic": "Programming & Software Engineering", "secondary_topic": "NONE"}, "review_reasons": [], "format_slot_diagnostics": {"comparable": true, "secondary_tertiary_identical": false, "secondary_tertiary_max_abs_gap": 0.0157654002879013, "secondary_choice": "NONE", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.9936405675484562, "secondary": 0.968357061302839, "tertiary": 0.9848079137771708, "structured_records": 0.003883911998921835, "procedural_steps": 0.2006185435286354, "worked_solution": 0.0042003785942736445, "contextual_dialogue": 6.019879830832353e-06, "content_quality": 0.5698072700818875, "noise_severity": 0.9931456879676869, "missing_content_severity": 0.9986516530103863, "factual_density": 0.4646067149038433, "pretraining_utility": 0.42605223694078087, "math_density": 0.9558383454829118, "code_density": 0.8473281686379329, "reasoning_density": 0.3027084358176977, "education_level": 0.4182663905295173, "creative_writing_quality": 0.9993441520079956, "primary_topic": 0.9448526617049472, "secondary_topic": 0.5641168492675905}, "probability_margin": {"primary": 0.990153082990845, "secondary": 0.9535903794623699, "tertiary": 0.9787962734514801, "education_level": 0.2751109572734931, "creative_writing_quality": 0.9991569338641302, "primary_topic": 0.9142909841444734, "secondary_topic": 0.33325071877233226}, "raw_probabilities": {"primary": {"Academic Writing": 4.218196279944875e-05, "Content Listing": 2.2666703704043526e-05, "Creative Writing": 2.4643503282270088e-05, "Customer Support Page": 2.139918461274643e-05, "Q&A Forum": 1.7864876457475346e-05, "Discussion Thread": 1.2684880252261394e-05, "Comment Section": 2.4691152338651454e-05, "Missing Content": 2.589055811931243e-05, "Knowledge Article": 0.00011070889277958248, "Legal Notices": 3.394246958605606e-05, "News Article": 8.506128315850083e-06, "Organizational Announcement": 1.8328111996095816e-05, "Nonfiction Writing": 1.6219312550836847e-05, "Organizational About Page": 1.7184260850224847e-05, "Personal About Page": 1.8275549353814175e-05, "Personal Blog": 1.2365967283983541e-05, "Product Page": 1.0476300448797127e-05, "Spam / Ads": 1.6011581851311205e-05, "Structured Data": 0.00016691398250861058, "Technical Writing": 0.9939055439006038, "Transcript / Interview": 2.809321620876658e-05, "Tutorial / How-To Guide": 0.003752460909758773, "User Reviews": 1.230620319397634e-05, "Other / Unknown": 0.0016806403911433078}, "secondary": {"Academic Writing": 0.00013326617704515563, "Content Listing": 6.461562453942296e-05, "Creative Writing": 0.00012286419896868908, "Customer Support Page": 0.00011067864105403969, "Q&A Forum": 5.634321841038334e-05, "Discussion Thread": 4.543212708085151e-05, "Comment Section": 0.00020244782419482816, "Missing Content": 0.00013734670324237367, "Knowledge Article": 0.0011588048832001242, "Legal Notices": 0.00010289706822334482, "News Article": 8.09389789416477e-05, "Organizational Announcement": 8.563200530151222e-05, "Nonfiction Writing": 0.00010017952279018616, "Organizational About Page": 7.01810811593103e-05, "Personal About Page": 6.806726092626384e-05, "Personal Blog": 8.091979964215496e-05, "Product Page": 4.361259445158882e-05, "Spam / Ads": 6.737181165269775e-05, "Structured Data": 0.0003858737754455241, "Technical Writing": 0.01608513761951742, "Transcript / Interview": 7.792028817309927e-05, "Tutorial / How-To Guide": 0.011004158612224315, "User Reviews": 3.9793101927696104e-05, "NONE": 0.9696755170818874}, "tertiary": {"Academic Writing": 7.807274362029588e-05, "Content Listing": 3.435510332200814e-05, "Creative Writing": 7.898019707633571e-05, "Customer Support Page": 6.282957746920659e-05, "Q&A Forum": 3.439824726078353e-05, "Discussion Thread": 2.737520853648807e-05, "Comment Section": 0.0003004649499387472, "Missing Content": 0.0001320710010077157, "Knowledge Article": 0.0008964060658916846, "Legal Notices": 0.00011720660233514945, "News Article": 4.859480202581512e-05, "Organizational Announcement": 5.154673797930005e-05, "Nonfiction Writing": 9.49835356321074e-05, "Organizational About Page": 6.0083303716591726e-05, "Personal About Page": 3.860053793075345e-05, "Personal Blog": 6.91662426290713e-05, "Product Page": 3.027621748979018e-05, "Spam / Ads": 4.2288601670867065e-05, "Structured Data": 0.0002655527744516538, "Technical Writing": 0.006644643918308582, "Transcript / Interview": 5.0114396919680745e-05, "Tutorial / How-To Guide": 0.005374426913152816, "User Reviews": 2.6644951845829055e-05, "NONE": 0.9854409173697887}, "structured_records": {"false": 0.9961160880010782, "true": 0.003883911998921835}, "procedural_steps": {"false": 0.7993814564713646, "true": 0.2006185435286354}, "worked_solution": {"false": 0.9957996214057263, "true": 0.0042003785942736445}, "contextual_dialogue": {"false": 0.9999939801201692, "true": 6.019879830832353e-06}, "content_quality": {"-2": 0.003344063609587065, "-1": 0.007647089676167046, "0": 0.10381857455461722, "1": 0.49810394099360616, "2": 0.38708633116602253}, "noise_severity": {"0": 0.9927180992542016, "1": 0.0066714835148865325, "2": 0.0003726439951804498, "3": 0.00014269000939645018, "4": 9.508322633473493e-05}, "missing_content_severity": {"0": 0.9990863630071356, "1": 0.0004102387136996635, "2": 0.00034553866414008526, "3": 0.00011473811454145137, "4": 4.312150048307359e-05}, "factual_density": {"0": 0.003366758117068828, "1": 0.01040472494918213, "2": 0.11341373753401289, "3": 0.37096325973154043, "4": 0.5018515196681957}, "pretraining_utility": {"-2": 0.012232265167205778, "-1": 0.13026271267566533, "0": 0.396130429547529, "1": 0.3887391125582143, "2": 0.0726354800513858}, "math_density": {"0": 0.9528003352666906, "1": 0.04414923387297135, "2": 0.0014133312438249126, "3": 0.0005303094061680208, "4": 0.0011067902103451424}, "code_density": {"0": 0.0003390026275940398, "1": 0.0006492452556920107, "2": 0.01292346268845458, "3": 0.1540555259801191, "4": 0.8320327634481403}, "reasoning_density": {"0": 0.28307439991865485, "1": 0.3870781133745119, "2": 0.17220394517449197, "3": 0.09145909267140767, "4": 0.06618444886093355}, "education_level": {"none": 0.0010575545063843006, "0": 0.0013439547526198662, "1": 0.0041401971770625105, "2": 0.24011103483443796, "3": 0.5152219921079311, "4": 0.23812526662156425}, "creative_writing_quality": {"not_applicable": 0.999453460006663, "-2": 4.7776382289822375e-05, "-1": 9.445458331306586e-05, "0": 0.00029652614253278416, "1": 8.219052478641303e-05, "2": 2.5592360414831025e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 9.880780466702177e-05, "Art & Design": 0.00015283255077968582, "Law & Crime": 0.00012924623234269585, "Education & Careers": 7.988699563613673e-05, "Entertainment & Media": 0.00012332585224971676, "Fashion & Beauty": 9.540395219392907e-05, "Business, Economics & Finance": 0.0001080947789680038, "Food & Dining": 0.0001000943447119869, "Games & Gaming": 0.00022229149172002958, "Electronics & Hardware": 0.03268272903336045, "Health, Healthcare & Wellness": 0.0001269562147051923, "History & Geography": 0.00012476589422702545, "Home, Pets & Hobbies": 0.00014506482511854823, "Industry & Production": 0.00010161331369052717, "Language, Literature & Philosophy": 8.714084463722583e-05, "Politics & Government": 6.442909038855579e-05, "Religion & Spirituality": 8.648217130882475e-05, "Science, Mathematics & Engineering": 0.0002932601410971239, "Relationships & Community": 5.7939444548418485e-05, "Software Usage & Applications": 0.01722876474393034, "Programming & Software Engineering": 0.9469737131778339, "Sports & Fitness": 0.00011003560420968489, "Vehicles & Transportation": 6.41624222182699e-05, "Travel & Tourism": 8.781764042042141e-05, "Other / Uncovered Subject": 0.0005189301545826951, "Unknown / Insufficient Content": 0.00013621128045362632}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0009028632773836593, "Art & Design": 0.0009433472260684821, "Law & Crime": 0.0008033667669527352, "Education & Careers": 0.00048731769413027433, "Entertainment & Media": 0.000917906420997627, "Fashion & Beauty": 0.0005081353012282031, "Business, Economics & Finance": 0.0009113079737346342, "Food & Dining": 0.00042533049936168766, "Games & Gaming": 0.0009420786792245056, "Electronics & Hardware": 0.2476308670618894, "Health, Healthcare & Wellness": 0.000618860192474697, "History & Geography": 0.0005560016549222706, "Home, Pets & Hobbies": 0.0006737341224464772, "Industry & Production": 0.0004480653253490018, "Language, Literature & Philosophy": 0.0003242304785727075, "Politics & Government": 0.00041496215707913724, "Religion & Spirituality": 0.0005921116286153449, "Science, Mathematics & Engineering": 0.0010530018093154799, "Relationships & Community": 0.0003157311221496962, "Software Usage & Applications": 0.09126613415612346, "Programming & Software Engineering": 0.06586065072323447, "Sports & Fitness": 0.0004309462398596302, "Vehicles & Transportation": 0.00028206628903037714, "Travel & Tourism": 0.00059235957576039, "Other / Uncovered Subject": 0.0012170377898741457, "NONE": 0.5808815858342217}}, "probabilities": {"primary": {"Academic Writing": 4.218196279944875e-05, "Content Listing": 2.2666703704043526e-05, "Creative Writing": 2.4643503282270088e-05, "Customer Support Page": 2.139918461274643e-05, "Q&A Forum": 1.7864876457475346e-05, "Discussion Thread": 1.2684880252261394e-05, "Comment Section": 2.4691152338651454e-05, "Missing Content": 2.589055811931243e-05, "Knowledge Article": 0.00011070889277958248, "Legal Notices": 3.394246958605606e-05, "News Article": 8.506128315850083e-06, "Organizational Announcement": 1.8328111996095816e-05, "Nonfiction Writing": 1.6219312550836847e-05, "Organizational About Page": 1.7184260850224847e-05, "Personal About Page": 1.8275549353814175e-05, "Personal Blog": 1.2365967283983541e-05, "Product Page": 1.0476300448797127e-05, "Spam / Ads": 1.6011581851311205e-05, "Structured Data": 0.00016691398250861058, "Technical Writing": 0.9939055439006038, "Transcript / Interview": 2.809321620876658e-05, "Tutorial / How-To Guide": 0.003752460909758773, "User Reviews": 1.230620319397634e-05, "Other / Unknown": 0.0016806403911433078}, "secondary": {"Academic Writing": 0.00013326617704515563, "Content Listing": 6.461562453942296e-05, "Creative Writing": 0.00012286419896868908, "Customer Support Page": 0.00011067864105403969, "Q&A Forum": 5.634321841038334e-05, "Discussion Thread": 4.543212708085151e-05, "Comment Section": 0.00020244782419482816, "Missing Content": 0.00013734670324237367, "Knowledge Article": 0.0011588048832001242, "Legal Notices": 0.00010289706822334482, "News Article": 8.09389789416477e-05, "Organizational Announcement": 8.563200530151222e-05, "Nonfiction Writing": 0.00010017952279018616, "Organizational About Page": 7.01810811593103e-05, "Personal About Page": 6.806726092626384e-05, "Personal Blog": 8.091979964215496e-05, "Product Page": 4.361259445158882e-05, "Spam / Ads": 6.737181165269775e-05, "Structured Data": 0.0003858737754455241, "Technical Writing": 0.01608513761951742, "Transcript / Interview": 7.792028817309927e-05, "Tutorial / How-To Guide": 0.011004158612224315, "User Reviews": 3.9793101927696104e-05, "NONE": 0.9696755170818874}, "tertiary": {"Academic Writing": 7.807274362029588e-05, "Content Listing": 3.435510332200814e-05, "Creative Writing": 7.898019707633571e-05, "Customer Support Page": 6.282957746920659e-05, "Q&A Forum": 3.439824726078353e-05, "Discussion Thread": 2.737520853648807e-05, "Comment Section": 0.0003004649499387472, "Missing Content": 0.0001320710010077157, "Knowledge Article": 0.0008964060658916846, "Legal Notices": 0.00011720660233514945, "News Article": 4.859480202581512e-05, "Organizational Announcement": 5.154673797930005e-05, "Nonfiction Writing": 9.49835356321074e-05, "Organizational About Page": 6.0083303716591726e-05, "Personal About Page": 3.860053793075345e-05, "Personal Blog": 6.91662426290713e-05, "Product Page": 3.027621748979018e-05, "Spam / Ads": 4.2288601670867065e-05, "Structured Data": 0.0002655527744516538, "Technical Writing": 0.006644643918308582, "Transcript / Interview": 5.0114396919680745e-05, "Tutorial / How-To Guide": 0.005374426913152816, "User Reviews": 2.6644951845829055e-05, "NONE": 0.9854409173697887}, "structured_records": {"false": 0.9961160880010782, "true": 0.003883911998921835}, "procedural_steps": {"false": 0.7993814564713646, "true": 0.2006185435286354}, "worked_solution": {"false": 0.9957996214057263, "true": 0.0042003785942736445}, "contextual_dialogue": {"false": 0.9999939801201692, "true": 6.019879830832353e-06}, "content_quality": {"-2": 0.003344063609587065, "-1": 0.007647089676167046, "0": 0.10381857455461722, "1": 0.49810394099360616, "2": 0.38708633116602253}, "noise_severity": {"0": 0.9927180992542018, "1": 0.006671483514886534, "2": 0.0003726439951804499, "3": 0.0001426900093964502, "4": 9.508322633473495e-05}, "missing_content_severity": {"0": 0.9990863630071357, "1": 0.00041023871369966355, "2": 0.0003455386641400853, "3": 0.00011473811454145138, "4": 4.31215004830736e-05}, "factual_density": {"0": 0.003366758117068828, "1": 0.01040472494918213, "2": 0.11341373753401289, "3": 0.37096325973154043, "4": 0.5018515196681957}, "pretraining_utility": {"-2": 0.012232265167205774, "-1": 0.1302627126756653, "0": 0.39613042954752886, "1": 0.3887391125582142, "2": 0.07263548005138579}, "math_density": {"0": 0.9528003352666906, "1": 0.04414923387297135, "2": 0.0014133312438249126, "3": 0.0005303094061680208, "4": 0.0011067902103451424}, "code_density": {"0": 0.0003390026275940398, "1": 0.0006492452556920107, "2": 0.01292346268845458, "3": 0.1540555259801191, "4": 0.8320327634481403}, "reasoning_density": {"0": 0.28307439991865485, "1": 0.3870781133745119, "2": 0.17220394517449197, "3": 0.09145909267140767, "4": 0.06618444886093355}, "education_level": {"none": 0.0010575545063843006, "0": 0.0013439547526198662, "1": 0.0041401971770625105, "2": 0.24011103483443796, "3": 0.5152219921079311, "4": 0.23812526662156425}, "creative_writing_quality": {"not_applicable": 0.9994534600066631, "-2": 4.777638228982238e-05, "-1": 9.445458331306587e-05, "0": 0.0002965261425327842, "1": 8.219052478641304e-05, "2": 2.5592360414831028e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 9.880780466702177e-05, "Art & Design": 0.00015283255077968582, "Law & Crime": 0.00012924623234269585, "Education & Careers": 7.988699563613673e-05, "Entertainment & Media": 0.00012332585224971676, "Fashion & Beauty": 9.540395219392907e-05, "Business, Economics & Finance": 0.0001080947789680038, "Food & Dining": 0.0001000943447119869, "Games & Gaming": 0.00022229149172002958, "Electronics & Hardware": 0.03268272903336045, "Health, Healthcare & Wellness": 0.0001269562147051923, "History & Geography": 0.00012476589422702545, "Home, Pets & Hobbies": 0.00014506482511854823, "Industry & Production": 0.00010161331369052717, "Language, Literature & Philosophy": 8.714084463722583e-05, "Politics & Government": 6.442909038855579e-05, "Religion & Spirituality": 8.648217130882475e-05, "Science, Mathematics & Engineering": 0.0002932601410971239, "Relationships & Community": 5.7939444548418485e-05, "Software Usage & Applications": 0.01722876474393034, "Programming & Software Engineering": 0.9469737131778339, "Sports & Fitness": 0.00011003560420968489, "Vehicles & Transportation": 6.41624222182699e-05, "Travel & Tourism": 8.781764042042141e-05, "Other / Uncovered Subject": 0.0005189301545826951, "Unknown / Insufficient Content": 0.00013621128045362632}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0009028632773836591, "Art & Design": 0.0009433472260684818, "Law & Crime": 0.000803366766952735, "Education & Careers": 0.0004873176941302742, "Entertainment & Media": 0.0009179064209976268, "Fashion & Beauty": 0.000508135301228203, "Business, Economics & Finance": 0.000911307973734634, "Food & Dining": 0.00042533049936168755, "Games & Gaming": 0.0009420786792245054, "Electronics & Hardware": 0.24763086706188933, "Health, Healthcare & Wellness": 0.0006188601924746969, "History & Geography": 0.0005560016549222705, "Home, Pets & Hobbies": 0.0006737341224464771, "Industry & Production": 0.0004480653253490017, "Language, Literature & Philosophy": 0.00032423047857270745, "Politics & Government": 0.00041496215707913713, "Religion & Spirituality": 0.0005921116286153448, "Science, Mathematics & Engineering": 0.0010530018093154797, "Relationships & Community": 0.00031573112214969615, "Software Usage & Applications": 0.09126613415612345, "Programming & Software Engineering": 0.06586065072323445, "Sports & Fitness": 0.00043094623985963007, "Vehicles & Transportation": 0.0002820662890303771, "Travel & Tourism": 0.0005923595757603899, "Other / Uncovered Subject": 0.0012170377898741455, "NONE": 0.5808815858342216}}, "probability_diagnostics": {"primary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "tertiary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "structured_records": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "procedural_steps": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "worked_solution": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "contextual_dialogue": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "content_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "noise_severity": {"raw_sum": 0.9999999999999998, "mass_delta": -2.220446049250313e-16, "missing_mass": 2.220446049250313e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "missing_content_severity": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "factual_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "pretraining_utility": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "math_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "code_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "reasoning_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "education_level": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "creative_writing_quality": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "primary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary_topic": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}}, "usage": {"input_tokens": 10107, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 10107, "cached_share": null, "cache_discount_reported": null, "reported_cost_usd": null}, "response_metadata": {"model": "decision-models/baseten-mammoth-27b-latest"}, "scored_at_utc": "2026-10-25T18:30:06.013288+00:00", "scoring_key_slot": "assistant_1", "dataset_uid": "950a9643-ea47-43a9-af56-8d59b6018785", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "a11b3ce278063f9ead3e08160b6d194887eb98276408a80783eec34a898fcee4", "source_metadata": {"uuid": "950a9643-ea47-43a9-af56-8d59b6018785", "repo_name": "Hzj-jie/koreader-202411", "relative_path": "kobo/nickel.sh", "category": "TOOL", "algo_rel_score": 0.9280446767807007, "quality_score": 4.059726238250732, "source_meta": {"github_metadata": {"branch": "master", "commit_count": 423, "repo_created_at": "2024-12-28T22:07:43.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 0, "forks": 0, "issues": 37, "pull_requests": 0}, "file_meta": {"content_id": "205427cdb59b50216fb18dc905630108f3a7155f", "size_bytes": 5267, "file_timestamp": 1753339330, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "7007ab5b59679d3c768f4be874f728f9f4549f19"}}, "parsed_source_meta": {"github_metadata": {"branch": "master", "commit_count": 423, "repo_created_at": "2024-12-28T22:07:43.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 0, "forks": 0, "issues": 37, "pull_requests": 0}, "file_meta": {"content_id": "205427cdb59b50216fb18dc905630108f3a7155f", "size_bytes": 5267, "file_timestamp": 1753339330, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "7007ab5b59679d3c768f4be874f728f9f4549f19", "url": "https://github.com/Hzj-jie/koreader-202411/blob/7007ab5b59679d3c768f4be874f728f9f4549f19/kobo/nickel.sh"}, "gpt4o_tokens": 1528, "dataset_split": "shell", "probability_weighted_scores": {"content_quality": 1.25794138643031, "noise_severity": 0.008225174438775724, "missing_content_severity": 0.0016180163875364828, "factual_density": 3.357528057884612, "pretraining_utility": 0.379282829650909, "math_density": 0.05299398542050581, "code_density": 3.8167938023655195, "reasoning_density": 1.270601077181453, "education_level": 2.98568683622429, "creative_writing_quality": -0.10361931966015245}, "score_applicability": {"education_level": 0.9989424454936157, "creative_writing_quality": 0.0005465399933369165}} {"source_group": "shell", "source": "openbmb/UltraData-Stack-v3-L2/shell", "domain": "github.com", "language": "shell", "url": "https://github.com/WolozinLab/Dart-seq_data_processing_code/blob/58f8f35f3ed9cb545e7e9468be89519095e4d634/code/DRACH_filter.sh", "id": "shell-0-26655fb003843b2c3cdccce2a1fd83ce", "text": "#!/bin/bash -l\n#\n# DRACH Filter Script\n# This script filters Bullseye sites by the DRACH motif (where D=A/G/U, R=A/G, A=A, C=C, H=A/C/U)\n#\n\n# Check if input arguments are provided\nif [ $# -lt 2 ]; then\n echo \"Usage: $0 \"\n echo \"Example: $0 unfilter_raw_bullseye.bed /path/to/output\"\n exit 1\nfi\n\nINPUT_BED=$1\nOUTPUT_DIR=$2\n\n# Make sure the output directory exists\nmkdir -p \"$OUTPUT_DIR\"\n\n# Determine the genome path (use default or from environment if available)\nif [ -z \"$GENOME\" ]; then\n # Check if a genome path is set in environment\n if [ -z \"$GENOME_PATH\" ]; then\n # Use a default path - update this with your default genome path\n GENOME=\"/restricted/projectnb/benwol/jmh/script/ref/human/hg38_111/Homo_sapiens.GRCh38.dna_sm.primary_assembly.fa\"\n echo \"Using default genome: $GENOME\"\n else\n GENOME=\"$GENOME_PATH\"\n echo \"Using genome from environment: $GENOME\"\n fi\nelse\n echo \"Using specified genome: $GENOME\"\nfi\n\n# Check if the genome file exists\nif [ ! -f \"$GENOME\" ]; then\n echo \"Error: Genome file not found at $GENOME\"\n echo \"Please set a valid genome path with GENOME_PATH environment variable.\"\n exit 1\nfi\n\n# Set output filenames\nRAC_OUT=\"$OUTPUT_DIR/RAC.bed\"\nDRACH_OUT=\"$OUTPUT_DIR/DRACH.bed\"\nTEMP_FASTA=\"$OUTPUT_DIR/temp.fa\"\nTEMP_EXTEND=\"$OUTPUT_DIR/temp_extend.bed\"\n\necho \"Input BED file: $INPUT_BED\"\necho \"Output directory: $OUTPUT_DIR\"\necho \"Genome file: $GENOME\"\necho \"RAC output: $RAC_OUT\"\necho \"DRACH output: $DRACH_OUT\"\n\n# Function to extract sequence context\nextract_sequence_context() {\n local input_bed=$1\n local genome=$2\n local output_fasta=$3\n local extend_bed=$4\n \n echo \"Extending coordinates to get sequence context...\"\n # Extend BED coordinates by 2 bases on each side (for DRACH/RRACH motifs)\n awk 'BEGIN{OFS=\"\\t\"} {\n # Handle strand-specific extension\n if($6 == \"+\") {\n start = $2 - 2;\n end = $3 + 2;\n if(start < 0) start = 0;\n print $1, start, end, $4, $5, $6;\n } else {\n start = $2 - 2;\n end = $3 + 2;\n if(start < 0) start = 0;\n print $1, start, end, $4, $5, $6;\n }\n }' \"$input_bed\" > \"$extend_bed\"\n \n echo \"Extracting sequences...\"\n # Extract DNA sequences for the extended regions\n bedtools getfasta -fi \"$genome\" -bed \"$extend_bed\" -fo \"$output_fasta\" -s -name\n}\n\n# Function to filter for RAC and DRACH motifs\nfilter_for_motifs() {\n local input_bed=$1\n local fasta=$2\n local rac_out=$3\n local drach_out=$4\n \n echo \"Filtering for RAC and DRACH motifs...\"\n \n # Get the total number of sites\n local total_sites=$(wc -l < \"$input_bed\")\n echo \"Total sites before filtering: $total_sites\"\n \n # Extract sequences and match motifs\n paste \"$input_bed\" \"$fasta\" | \\\n awk '\n BEGIN {OFS=\"\\t\"; count_rac=0; count_drach=0;}\n {\n # Extract the sequence from the FASTA part of the pasted file\n seq = toupper($NF);\n \n # For + strand, we look for motifs directly\n if($6 == \"+\") {\n # Get the center base (should be the A in RAC/DRACH)\n center_pos = length(seq)/2;\n center_base = substr(seq, center_pos, 1);\n \n # Check for RAC motif (R=A/G, A=A, C=C)\n if (center_base == \"A\" && \n (substr(seq, center_pos+1, 1) == \"A\" || substr(seq, center_pos+1, 1) == \"G\") && \n substr(seq, center_pos+2, 1) == \"C\") {\n count_rac++;\n print $0, seq >> \"'$rac_out'\";\n \n # Further check for DRACH motif (D=A/G/T not C, R=A/G, A=A, C=C, H=A/C/T not G)\n if ((substr(seq, center_pos-2, 1) == \"A\" || \n substr(seq, center_pos-2, 1) == \"G\" || \n substr(seq, center_pos-2, 1) == \"T\") && \n (substr(seq, center_pos+3, 1) == \"A\" || \n substr(seq, center_pos+3, 1) == \"C\" || \n substr(seq, center_pos+3, 1) == \"T\")) {\n count_drach++;\n print $0, seq >> \"'$drach_out'\";\n }\n }\n }\n # For - strand, we need to reverse complement for proper motif checking\n else {\n # Reverse complement logic can be complex - for simplicity we just check \n # if the center base is T (complement of A), followed by proper RAC/DRACH pattern\n center_pos = length(seq)/2;\n center_base = substr(seq, center_pos, 1);\n \n # Check for RAC motif on - strand (complement is: GYT where Y=C/T)\n if (center_base == \"T\" && \n (substr(seq, center_pos-1, 1) == \"C\" || substr(seq, center_pos-1, 1) == \"T\") && \n substr(seq, center_pos-2, 1) == \"G\") {\n count_rac++;\n print $0, seq >> \"'$rac_out'\";\n \n # Further check for DRACH motif (complement is: HYTGD where D=A/G/T not C, H=A/C/T not G)\n if ((substr(seq, center_pos+2, 1) == \"A\" || \n substr(seq, center_pos+2, 1) == \"C\" || \n substr(seq, center_pos+2, 1) == \"T\") && \n (substr(seq, center_pos-3, 1) == \"A\" || \n substr(seq, center_pos-3, 1) == \"G\" || \n substr(seq, center_pos-3, 1) == \"T\")) {\n count_drach++;\n print $0, seq >> \"'$drach_out'\";\n }\n }\n }\n }\n END {\n print \"RAC motifs found: \" count_rac > \"/dev/stderr\";\n print \"DRACH motifs found: \" count_drach > \"/dev/stderr\";\n }'\n \n # Count the filtered sites\n local rac_count=$(wc -l < \"$rac_out\")\n local drach_count=$(wc -l < \"$drach_out\")\n \n echo \"Sites with RAC motif: $rac_count ($(echo \"scale=1; 100*$rac_count/$total_sites\" | bc)%)\"\n echo \"Sites with DRACH motif: $drach_count ($(echo \"scale=1; 100*$drach_count/$total_sites\" | bc)%)\"\n}\n\n# Main execution\nextract_sequence_context \"$INPUT_BED\" \"$GENOME\" \"$TEMP_FASTA\" \"$TEMP_EXTEND\"\nfilter_for_motifs \"$INPUT_BED\" \"$TEMP_FASTA\" \"$RAC_OUT\" \"$DRACH_OUT\"\n\n# Clean up temporary files\necho \"Cleaning up temporary files...\"\nrm -f \"$TEMP_FASTA\" \"$TEMP_EXTEND\"\n\necho \"DRACH filtering completed successfully!\"\necho \"Results are in: $RAC_OUT (RAC motifs) and $DRACH_OUT (DRACH motifs)\" ", "text_preview": "#!/bin/bash -l # # DRACH Filter Script # This script filters Bullseye sites by the DRACH motif (where D=A/G/U, R=A/G, A=A, C=C, H=A/C/U) # # Check if input arguments are provided if [ $# -lt 2 ]; then echo \"Usage: $0 /dev/null 2>&1; then\n # Skipping text check\n return 0\n fi\n # Verify if $file2check is a script\n if ! file -b --mime-type \"$file2check\" | grep -q '^text/'; then\n return 1\n fi\n return 0\n}\n\ncheck_install_applet() {\n # Usage: check_install_applet \n # => install to $chrootdir/\n # e.g. check_install_applet sbin/init => install sbin/init to $chrootdir/sbin/init\n local applet_path=\"$1\"\n local target_path=\"$chrootdir/$applet_path\"\n # Check if target_path exists and is a text file\n if [ -f \"$target_path\" ] || [ -L \"$target_path\" ]; then\n check_text \"$target_path\" && return 0\n install_applet \"$applet_path\"\n fi\n # Install applet\n return 0\n}\n\ncheck_uninstall_applet() {\n local applet_path=\"$1\"\n local target_path\n if [ -z \"$2\" ]; then\n target_path=\"$chrootdir/$applet_path\"\n else\n target_path=\"$chrootdir/$2\"\n fi\n # Check if target_path exists and is a text file\n if [ -f \"$target_path\" ] || [ -L \"$target_path\" ]; then\n check_text \"$target_path\" &&\n rm -vf \"$target_path\"\n fi\n return 0\n}\n\ninstall_applet() {\n local applet_path=\"$1\"\n local source_path=\"$SYSTEMCTL_ROOT/$applet_path\"\n local target_path\n if [ -z \"$2\" ]; then\n target_path=\"$chrootdir/$applet_path\"\n else\n target_path=\"$chrootdir/$2\"\n fi\n\n if [ -x \"$source_path\" ]; then\n install -vDm755 \"$source_path\" \"$target_path\"\n else\n install -vDm644 \"$source_path\" \"$target_path\"\n fi\n}\n\n### Main functions ###\n# This function handles the main installation logic in three stages:\n# 1. Conditionally replace files in CHECK_PATH.\n# 2. Forcibly install core applets.\n# 3. Forcibly install all files from the 'local' directory.\ninstall_systemctl() {\n for path in $CHECK_PATH; do\n if [ ! -d \"$SYSTEMCTL_ROOT/$path\" ]; then\n continue\n fi\n # Install everything in the specified path\n find \"$SYSTEMCTL_ROOT/$path\" \\( -type f -o -type l \\) | \\\n sed \"s|^$SYSTEMCTL_ROOT/||\" | \\\n while IFS= read -r relative_path; do\n if [ -n \"$relative_path\" ]; then\n check_install_applet \"$relative_path\"\n fi\n done\n done\n # Enforce the installation of systemctl applet\n install_applet \"bin/systemctl3.py\"\n [ ! -e \"$chrootdir/sbin/init\" ] && install_applet \"sbin/init\"\n find \"$SYSTEMCTL_ROOT/local\" \\( -type f -o -type l \\) | \\\n sed \"s|^$SYSTEMCTL_ROOT/||\" | \\\n while IFS= read -r relative_path; do\n if [ -n \"$relative_path\" ]; then\n install_applet \"$relative_path\" \"/usr/$relative_path\"\n fi\n done\n \n}\n\nuninstall_systemctl() {\n if [ \"$chrootdir\" = \"/\" ]; then\n cat <&2\n exit 1\n fi\n chrootdir=\"$1\"\n shift\nfi\n\ncase \"$1\" in\n help)\n usage\n ;;\n install|\"\")\n # Default action is to install\n install_systemctl\n ;;\n uninstall)\n uninstall_systemctl\n ;;\n *)\n echo \"Unknown command: $1\" 1>&2\n usage\n exit 1\n ;;\nesac\n", "text_preview": "#!/bin/sh # This script is used to install chroot-systemctl related files to the container. CHECK_PATH=\"bin lib sbin etc\" SYSTEMCTL_ROOT=\"${0%/*}/..\" usage() { cat < \"$OUTPUT_FILE\"\n> \"$LOG_FILE\"\n\n# Function to get the current timestamp\ntimestamp() {\n date +\"%Y-%m-%d %H:%M:%S\"\n}\n\n# Main processing loop\nwhile read -r email; do\n # Skip empty lines\n if [[ -z \"$email\" ]]; then\n continue\n fi\n\n echo -e \"\\033[1;34mProcessing user: $email...\\033[0m\"\n echo \"$(timestamp) | Processing user: $email\" >> \"$LOG_FILE\"\n\n # Execute the dsearch command to get the user details\n result=$(dsearch -b \"dc=web, dc=optus, dc=com, dc=au\" \\\n -D \"cn=srauser, ou=system accounts, dc=web, dc=optus, dc=com, dc=au\" \\\n -w \"Prd@001\" -h localhost -p 1389 -LLL -s sub \\\n \"(&(mail=*$email*))\" \\\n dn mail smLogin accountDisabled idmRole idmAdmin 2>>\"$LOG_FILE\")\n\n # Check if the user exists in the directory\n if [[ -z \"$result\" ]]; then\n echo \"$(timestamp) | Error: User $email not found in directory.\" >> \"$LOG_FILE\"\n echo \"$email - failed - $(timestamp)\" >> \"$OUTPUT_FILE\"\n echo -e \"\\033[1;31mFailed: User $email not found.\\033[0m\"\n continue\n fi\n\n # Count the number of dn entries in the result\n dn_count=$(echo \"$result\" | grep -c \"^dn:\")\n if [[ \"$dn_count\" -ne 1 ]]; then\n echo \"$(timestamp) | Error: Multiple dn entries ($dn_count) found for $email. Skipping update.\" >> \"$LOG_FILE\"\n echo \"$email - failed (multiple dn) - $(timestamp)\" >> \"$OUTPUT_FILE\"\n echo -e \"\\033[1;33mSkipped: Multiple dn entries found for $email.\\033[0m\"\n continue\n fi\n\n echo \"$(timestamp) | Fetched details for $email:\" >> \"$LOG_FILE\"\n echo \"$result\" >> \"$LOG_FILE\"\n echo \"----------------------------------------\" >> \"$LOG_FILE\"\n\n # Create LDIF file for dxmodify command\n echo \"$result\" | while read -r line; do\n if [[ \"$line\" =~ ^dn: ]]; then\n echo \"$line\" > \"$TEMP_FILE\"\n echo \"$(timestamp) | Original: $line | Updated: $line\" >> \"$LOG_FILE\"\n elif [[ \"$line\" =~ ^accountDisabled: ]]; then\n updated_line=\"accountDisabled: 2\"\n echo \"$updated_line\" >> \"$TEMP_FILE\"\n echo \"$(timestamp) | Original: $line | Updated: $updated_line\" >> \"$LOG_FILE\"\n elif [[ \"$line\" =~ ^dc ]]; then\n echo \"$line\" >> \"$TEMP_FILE\"\n echo \"$(timestamp) | Original: $line | Updated: $line\" >> \"$LOG_FILE\"\n else\n attribute=$(echo \"$line\" | cut -d':' -f1)\n value=$(echo \"$line\" | cut -d':' -f2- | sed 's/^ //')\n\n # Skip if the value already has \"to_be_deleted\"\n if [[ \"$value\" =~ ^to_be_deleted ]]; then\n echo \"$(timestamp) | Skipped: $line already has 'to_be_deleted'.\" >> \"$LOG_FILE\"\n echo \"$line\" >> \"$TEMP_FILE\"\n else\n updated_value=\"to_be_deleted$value\"\n updated_line=\"$attribute: $updated_value\"\n echo \"$updated_line\" >> \"$TEMP_FILE\"\n echo \"$(timestamp) | Original: $line | Updated: $updated_line\" >> \"$LOG_FILE\"\n fi\n fi\n done\n\n # Execute the dxmodify command\n dxmodify -f \"$TEMP_FILE\" 2>>\"$LOG_FILE\"\n if [[ $? -eq 0 ]]; then\n echo \"$(timestamp) | Successfully updated user $email.\" >> \"$LOG_FILE\"\n echo \"$email - successful - $(timestamp)\" >> \"$OUTPUT_FILE\"\n echo -e \"\\033[1;32mSuccess: User $email updated.\\033[0m\"\n else\n echo \"$(timestamp) | Error: Failed to update user $email.\" >> \"$LOG_FILE\"\n echo \"$email - failed - $(timestamp)\" >> \"$OUTPUT_FILE\"\n echo -e \"\\033[1;31mFailed: Could not update $email.\\033[0m\"\n fi\n\n echo \"----------------------------------------\" >> \"$LOG_FILE\"\n\n # Clean up temporary files\n rm -f \"$TEMP_FILE\"\ndone < \"$INPUT_FILE\"\n\necho -e \"\\033[1;36mAll tasks completed. Check $OUTPUT_FILE and $LOG_FILE for details.\\033[0m\"", "text_preview": "#!/bin/bash # Input and output files INPUT_FILE=\"input.txt\" OUTPUT_FILE=\"output.txt\" LOG_FILE=\"script.log\" TEMP_FILE=\"temp.ldif\" # Ensure output and log files are clean before running > \"$OUTPUT_FILE\" > \"$LOG_FILE\" # Function to get the cur", "input_sha256": "7c6500248201aef4be2f87791a711e7ef71bf2b4783258cfdc2dafb193cc6d08", "text_sha256": "8eee06a90d1b654cf33c773914e10ebcbc922e413db48d408048445f4ea0585d", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 20019, "input_policy": "text-and-optional-url-v1", "label_policy_version": 12, "requested_model": "decision-models/baseten-mammoth-27b-latest", "backend": "baseten", "endpoint": "https://inference.baseten.co/v1/systemone", "status": "ok", "training_eligible": true, "label": {"primary": {"main_format": "Technical Writing", "sub_format": null}, "secondary": null, "tertiary": null, "content_structure": []}, "candidate_label": null, "topic": {"primary": {"main_topic": "Programming & Software Engineering", "sub_topic": null}, "secondary": null}, "scores": {"content_quality": 1, "noise_severity": 0, "missing_content_severity": 0, "factual_density": 3, "pretraining_utility": 1, "math_density": 0, "code_density": 4, "reasoning_density": 0, "education_level": 2, "creative_writing_quality": null}, "score_expectations": {"content_quality": 0.8743265735183459, "noise_severity": 0.024001521623711726, "missing_content_severity": 0.005452724200498524, "factual_density": 2.895778786574597, "pretraining_utility": 0.461071734075604, "math_density": 0.01059246222549841, "code_density": 3.7717031387003677, "reasoning_density": 0.8942827242592895, "education_level": 2.5151315830152368, "creative_writing_quality": -0.3445475057332485}, "api_choices": {"primary": "Technical Writing", "secondary": "NONE", "tertiary": "NONE", "education_level": "2", "creative_writing_quality": "not_applicable", "primary_topic": "Programming & Software Engineering", "secondary_topic": "NONE"}, "review_reasons": [], "format_slot_diagnostics": {"comparable": true, "secondary_tertiary_identical": false, "secondary_tertiary_max_abs_gap": 0.02286444379183994, "secondary_choice": "NONE", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.9792153520349214, "secondary": 0.9574888063722877, "tertiary": 0.9813473564159467, "structured_records": 0.009967869258459923, "procedural_steps": 0.11143511301569375, "worked_solution": 0.011368781027605362, "contextual_dialogue": 1.1028274394568138e-05, "content_quality": 0.5029372534002132, "noise_severity": 0.9799987319802402, "missing_content_severity": 0.9954560631662512, "factual_density": 0.4162700984845735, "pretraining_utility": 0.419973721866471, "math_density": 0.991172948145418, "code_density": 0.80975261558364, "reasoning_density": 0.2547643964505921, "education_level": 0.43854584454755796, "creative_writing_quality": 0.9994069195806238, "primary_topic": 0.9844806285159116, "secondary_topic": 0.8437417426635037}, "probability_margin": {"primary": 0.967457459249107, "secondary": 0.9410769359931247, "tertiary": 0.9740413058531012, "education_level": 0.14234353145416972, "creative_writing_quality": 0.9993240355116306, "primary_topic": 0.9754960797797938, "secondary_topic": 0.7572661208954464}, "raw_probabilities": {"primary": {"Academic Writing": 7.888230405096725e-05, "Content Listing": 5.8078082968174284e-05, "Creative Writing": 5.910375659827703e-05, "Customer Support Page": 4.094659405628245e-05, "Q&A Forum": 4.634103730106156e-05, "Discussion Thread": 3.668233129310281e-05, "Comment Section": 5.91097316681554e-05, "Missing Content": 6.718555710247373e-05, "Knowledge Article": 0.0003001154308926065, "Legal Notices": 8.287535223600768e-05, "News Article": 2.4577675625847164e-05, "Organizational Announcement": 4.531873428585164e-05, "Nonfiction Writing": 4.6770483904250466e-05, "Organizational About Page": 5.053084091795791e-05, "Personal About Page": 4.80701496390586e-05, "Personal Blog": 2.8460841017962742e-05, "Product Page": 2.9977087642488174e-05, "Spam / Ads": 5.974649829029952e-05, "Structured Data": 0.0010140634801232404, "Technical Writing": 0.9800813790334664, "Transcript / Interview": 7.209467111151597e-05, "Tutorial / How-To Guide": 0.012623919784359375, "User Reviews": 2.5907033576013702e-05, "Other / Unknown": 0.005019863507872637}, "secondary": {"Academic Writing": 0.0001795937828181828, "Content Listing": 9.59958704063147e-05, "Creative Writing": 0.00014296026450185708, "Customer Support Page": 9.487508689192793e-05, "Q&A Forum": 6.701716432863188e-05, "Discussion Thread": 5.03069690745222e-05, "Comment Section": 0.00010679327625182229, "Missing Content": 0.00016350188420440097, "Knowledge Article": 0.0004948900209605598, "Legal Notices": 0.00014505481201197224, "News Article": 8.422409842663414e-05, "Organizational Announcement": 9.498644250868111e-05, "Nonfiction Writing": 7.190667054874336e-05, "Organizational About Page": 9.497530106808303e-05, "Personal About Page": 8.26318107114326e-05, "Personal Blog": 7.829389938192572e-05, "Product Page": 5.653748511933756e-05, "Spam / Ads": 9.097109187582743e-05, "Structured Data": 0.0027593852988184106, "Technical Writing": 0.01818317011365099, "Transcript / Interview": 0.00011476115242805177, "Tutorial / How-To Guide": 0.01744638966250034, "User Reviews": 4.06717347356322e-05, "NONE": 0.9592601061067757}, "tertiary": {"Academic Writing": 7.026266940515022e-05, "Content Listing": 4.441444604967812e-05, "Creative Writing": 5.88066796541066e-05, "Customer Support Page": 4.2667621830254914e-05, "Q&A Forum": 2.3462403854349905e-05, "Discussion Thread": 2.0096879550039848e-05, "Comment Section": 5.7168979191981986e-05, "Missing Content": 0.00012427529885413005, "Knowledge Article": 0.00038589817539768116, "Legal Notices": 0.0001221734017100177, "News Article": 3.946945483114005e-05, "Organizational Announcement": 4.199382499863975e-05, "Nonfiction Writing": 4.532477181649945e-05, "Organizational About Page": 5.405954153782077e-05, "Personal About Page": 3.6216979845055564e-05, "Personal Blog": 3.104077808746912e-05, "Product Page": 3.0263579495514703e-05, "Spam / Ads": 4.4046688273219456e-05, "Structured Data": 0.001740306093311805, "Technical Writing": 0.0067005161709286125, "Transcript / Interview": 5.887645951097989e-05, "Tutorial / How-To Guide": 0.008083244045514427, "User Reviews": 2.0865157735798982e-05, "NONE": 0.9821245498986156}, "structured_records": {"false": 0.9900321307415401, "true": 0.009967869258459923}, "procedural_steps": {"false": 0.8885648869843062, "true": 0.11143511301569375}, "worked_solution": {"false": 0.9886312189723946, "true": 0.011368781027605362}, "contextual_dialogue": {"false": 0.9999889717256054, "true": 1.1028274394568138e-05}, "content_quality": {"-2": 0.011793940074942395, "-1": 0.04688545758257055, "0": 0.23192162581073078, "1": 0.4739980418127113, "2": 0.23540093471904494}, "noise_severity": {"0": 0.9802638021277722, "1": 0.016641470478778266, "2": 0.0022366535586645277, "3": 0.0005455513115353666, "4": 0.00031252252324957466}, "missing_content_severity": {"0": 0.9970491158830525, "1": 0.0010467924561238136, "2": 0.0014056535521948658, "3": 0.00039912779453026703, "4": 9.931031409854418e-05}, "factual_density": {"0": 0.019289664079108673, "1": 0.055226536600450064, "2": 0.2340264821837314, "3": 0.39332998294015564, "4": 0.29812733419655424}, "pretraining_utility": {"-2": 0.018803040727385652, "-1": 0.10576640479399949, "0": 0.34953796807215953, "1": 0.44734095248853595, "2": 0.0785516339179194}, "math_density": {"0": 0.9910366986860248, "1": 0.008132701961691458, "2": 0.00034731191798259467, "3": 0.0001680133093631762, "4": 0.00031527412493805897}, "code_density": {"0": 0.00033934310760918847, "1": 0.0007578855553463285, "2": 0.02749972016606891, "3": 0.16966639187101845, "4": 0.8017366592999571}, "reasoning_density": {"0": 0.5895083307127104, "1": 0.11395208274387464, "2": 0.16318991000112482, "3": 0.07944788465599578, "4": 0.053901791886294445}, "education_level": {"none": 0.0009766205485638945, "0": 0.0017520749786710903, "1": 0.007462961382471034, "2": 0.532121537122965, "3": 0.3897780056687952, "4": 0.06790880029853386}, "creative_writing_quality": {"not_applicable": 0.9995057663171865, "-2": 8.817574301123414e-05, "-1": 0.00012516396344011235, "0": 0.00018173080555584475, "1": 6.709787481317903e-05, "2": 3.206529599329746e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 9.784121580470137e-05, "Art & Design": 8.837379744912647e-05, "Law & Crime": 0.00039110853650481, "Education & Careers": 0.00016601722848167696, "Entertainment & Media": 5.09707546714424e-05, "Fashion & Beauty": 5.330280159848298e-05, "Business, Economics & Finance": 0.0005241207598900542, "Food & Dining": 6.051587806686595e-05, "Games & Gaming": 8.469317047978372e-05, "Electronics & Hardware": 0.0004637540081004261, "Health, Healthcare & Wellness": 7.237792772784291e-05, "History & Geography": 9.228981998299472e-05, "Home, Pets & Hobbies": 6.580241256509848e-05, "Industry & Production": 0.0001235921541643081, "Language, Literature & Philosophy": 6.780217315883181e-05, "Politics & Government": 8.04066520402554e-05, "Religion & Spirituality": 7.528234898015947e-05, "Science, Mathematics & Engineering": 0.00027258168137621693, "Relationships & Community": 8.95206382363141e-05, "Software Usage & Applications": 0.009581447639351976, "Programming & Software Engineering": 0.9850775274191458, "Sports & Fitness": 9.02554596172551e-05, "Vehicles & Transportation": 4.212920815822137e-05, "Travel & Tourism": 8.0839531408051e-05, "Other / Uncovered Subject": 0.002009714050404993, "Unknown / Insufficient Content": 0.00019773273263428394}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0006139434177928119, "Art & Design": 0.00035778692145174717, "Law & Crime": 0.0024732507504126454, "Education & Careers": 0.00049826331419651, "Entertainment & Media": 0.00039055166303931594, "Fashion & Beauty": 0.0002362569568443457, "Business, Economics & Finance": 0.0023942107015390447, "Food & Dining": 0.00023364737748693745, "Games & Gaming": 0.00031911043398555116, "Electronics & Hardware": 0.0008700169504939908, "Health, Healthcare & Wellness": 0.0003022703451956209, "History & Geography": 0.0003293773277997393, "Home, Pets & Hobbies": 0.00023217549324580061, "Industry & Production": 0.0002820129411366796, "Language, Literature & Philosophy": 0.0001954536681768734, "Politics & Government": 0.0002918338469993309, "Religion & Spirituality": 0.00032138467389597296, "Science, Mathematics & Engineering": 0.0005585840445415425, "Relationships & Community": 0.00020581666668488367, "Software Usage & Applications": 0.09248555474253785, "Programming & Software Engineering": 0.04400701396777635, "Sports & Fitness": 0.00021919718263493403, "Vehicles & Transportation": 0.0001261145169149106, "Travel & Tourism": 0.0003341857496881335, "Other / Uncovered Subject": 0.0019703107075441815, "NONE": 0.8497516756379843}}, "probabilities": {"primary": {"Academic Writing": 7.888230405096725e-05, "Content Listing": 5.8078082968174284e-05, "Creative Writing": 5.910375659827703e-05, "Customer Support Page": 4.094659405628245e-05, "Q&A Forum": 4.634103730106156e-05, "Discussion Thread": 3.668233129310281e-05, "Comment Section": 5.91097316681554e-05, "Missing Content": 6.718555710247373e-05, "Knowledge Article": 0.0003001154308926065, "Legal Notices": 8.287535223600768e-05, "News Article": 2.4577675625847164e-05, "Organizational Announcement": 4.531873428585164e-05, "Nonfiction Writing": 4.6770483904250466e-05, "Organizational About Page": 5.053084091795791e-05, "Personal About Page": 4.80701496390586e-05, "Personal Blog": 2.8460841017962742e-05, "Product Page": 2.9977087642488174e-05, "Spam / Ads": 5.974649829029952e-05, "Structured Data": 0.0010140634801232404, "Technical Writing": 0.9800813790334664, "Transcript / Interview": 7.209467111151597e-05, "Tutorial / How-To Guide": 0.012623919784359375, "User Reviews": 2.5907033576013702e-05, "Other / Unknown": 0.005019863507872637}, "secondary": {"Academic Writing": 0.0001795937828181828, "Content Listing": 9.59958704063147e-05, "Creative Writing": 0.00014296026450185708, "Customer Support Page": 9.487508689192793e-05, "Q&A Forum": 6.701716432863188e-05, "Discussion Thread": 5.03069690745222e-05, "Comment Section": 0.00010679327625182229, "Missing Content": 0.00016350188420440097, "Knowledge Article": 0.0004948900209605598, "Legal Notices": 0.00014505481201197224, "News Article": 8.422409842663414e-05, "Organizational Announcement": 9.498644250868111e-05, "Nonfiction Writing": 7.190667054874336e-05, "Organizational About Page": 9.497530106808303e-05, "Personal About Page": 8.26318107114326e-05, "Personal Blog": 7.829389938192572e-05, "Product Page": 5.653748511933756e-05, "Spam / Ads": 9.097109187582743e-05, "Structured Data": 0.0027593852988184106, "Technical Writing": 0.01818317011365099, "Transcript / Interview": 0.00011476115242805177, "Tutorial / How-To Guide": 0.01744638966250034, "User Reviews": 4.06717347356322e-05, "NONE": 0.9592601061067757}, "tertiary": {"Academic Writing": 7.026266940515022e-05, "Content Listing": 4.441444604967812e-05, "Creative Writing": 5.88066796541066e-05, "Customer Support Page": 4.2667621830254914e-05, "Q&A Forum": 2.3462403854349905e-05, "Discussion Thread": 2.0096879550039848e-05, "Comment Section": 5.7168979191981986e-05, "Missing Content": 0.00012427529885413005, "Knowledge Article": 0.00038589817539768116, "Legal Notices": 0.0001221734017100177, "News Article": 3.946945483114005e-05, "Organizational Announcement": 4.199382499863975e-05, "Nonfiction Writing": 4.532477181649945e-05, "Organizational About Page": 5.405954153782077e-05, "Personal About Page": 3.6216979845055564e-05, "Personal Blog": 3.104077808746912e-05, "Product Page": 3.0263579495514703e-05, "Spam / Ads": 4.4046688273219456e-05, "Structured Data": 0.001740306093311805, "Technical Writing": 0.0067005161709286125, "Transcript / Interview": 5.887645951097989e-05, "Tutorial / How-To Guide": 0.008083244045514427, "User Reviews": 2.0865157735798982e-05, "NONE": 0.9821245498986156}, "structured_records": {"false": 0.9900321307415401, "true": 0.009967869258459923}, "procedural_steps": {"false": 0.8885648869843062, "true": 0.11143511301569375}, "worked_solution": {"false": 0.9886312189723946, "true": 0.011368781027605362}, "contextual_dialogue": {"false": 0.9999889717256054, "true": 1.1028274394568138e-05}, "content_quality": {"-2": 0.011793940074942395, "-1": 0.04688545758257055, "0": 0.23192162581073078, "1": 0.4739980418127113, "2": 0.23540093471904494}, "noise_severity": {"0": 0.9802638021277723, "1": 0.01664147047877827, "2": 0.002236653558664528, "3": 0.0005455513115353668, "4": 0.0003125225232495747}, "missing_content_severity": {"0": 0.9970491158830526, "1": 0.0010467924561238138, "2": 0.001405653552194866, "3": 0.0003991277945302671, "4": 9.93103140985442e-05}, "factual_density": {"0": 0.019289664079108673, "1": 0.055226536600450064, "2": 0.2340264821837314, "3": 0.39332998294015564, "4": 0.29812733419655424}, "pretraining_utility": {"-2": 0.018803040727385652, "-1": 0.10576640479399949, "0": 0.34953796807215953, "1": 0.44734095248853595, "2": 0.0785516339179194}, "math_density": {"0": 0.9910366986860246, "1": 0.008132701961691456, "2": 0.0003473119179825946, "3": 0.00016801330936317617, "4": 0.0003152741249380589}, "code_density": {"0": 0.00033934310760918847, "1": 0.0007578855553463285, "2": 0.02749972016606891, "3": 0.16966639187101845, "4": 0.8017366592999571}, "reasoning_density": {"0": 0.5895083307127104, "1": 0.11395208274387464, "2": 0.16318991000112482, "3": 0.07944788465599578, "4": 0.053901791886294445}, "education_level": {"none": 0.0009766205485638945, "0": 0.0017520749786710903, "1": 0.007462961382471034, "2": 0.532121537122965, "3": 0.3897780056687952, "4": 0.06790880029853386}, "creative_writing_quality": {"not_applicable": 0.9995057663171862, "-2": 8.817574301123412e-05, "-1": 0.00012516396344011232, "0": 0.00018173080555584472, "1": 6.709787481317902e-05, "2": 3.206529599329745e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 9.784121580470137e-05, "Art & Design": 8.837379744912647e-05, "Law & Crime": 0.00039110853650481, "Education & Careers": 0.00016601722848167696, "Entertainment & Media": 5.09707546714424e-05, "Fashion & Beauty": 5.330280159848298e-05, "Business, Economics & Finance": 0.0005241207598900542, "Food & Dining": 6.051587806686595e-05, "Games & Gaming": 8.469317047978372e-05, "Electronics & Hardware": 0.0004637540081004261, "Health, Healthcare & Wellness": 7.237792772784291e-05, "History & Geography": 9.228981998299472e-05, "Home, Pets & Hobbies": 6.580241256509848e-05, "Industry & Production": 0.0001235921541643081, "Language, Literature & Philosophy": 6.780217315883181e-05, "Politics & Government": 8.04066520402554e-05, "Religion & Spirituality": 7.528234898015947e-05, "Science, Mathematics & Engineering": 0.00027258168137621693, "Relationships & Community": 8.95206382363141e-05, "Software Usage & Applications": 0.009581447639351976, "Programming & Software Engineering": 0.9850775274191458, "Sports & Fitness": 9.02554596172551e-05, "Vehicles & Transportation": 4.212920815822137e-05, "Travel & Tourism": 8.0839531408051e-05, "Other / Uncovered Subject": 0.002009714050404993, "Unknown / Insufficient Content": 0.00019773273263428394}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0006139434177928119, "Art & Design": 0.00035778692145174717, "Law & Crime": 0.0024732507504126454, "Education & Careers": 0.00049826331419651, "Entertainment & Media": 0.00039055166303931594, "Fashion & Beauty": 0.0002362569568443457, "Business, Economics & Finance": 0.0023942107015390447, "Food & Dining": 0.00023364737748693745, "Games & Gaming": 0.00031911043398555116, "Electronics & Hardware": 0.0008700169504939908, "Health, Healthcare & Wellness": 0.0003022703451956209, "History & Geography": 0.0003293773277997393, "Home, Pets & Hobbies": 0.00023217549324580061, "Industry & Production": 0.0002820129411366796, "Language, Literature & Philosophy": 0.0001954536681768734, "Politics & Government": 0.0002918338469993309, "Religion & Spirituality": 0.00032138467389597296, "Science, Mathematics & Engineering": 0.0005585840445415425, "Relationships & Community": 0.00020581666668488367, "Software Usage & Applications": 0.09248555474253785, "Programming & Software Engineering": 0.04400701396777635, "Sports & Fitness": 0.00021919718263493403, "Vehicles & Transportation": 0.0001261145169149106, "Travel & Tourism": 0.0003341857496881335, "Other / Uncovered Subject": 0.0019703107075441815, "NONE": 0.8497516756379843}}, "probability_diagnostics": {"primary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "tertiary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "structured_records": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "procedural_steps": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "worked_solution": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "contextual_dialogue": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "content_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "noise_severity": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "missing_content_severity": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "factual_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "pretraining_utility": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "math_density": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "code_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "reasoning_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "education_level": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "creative_writing_quality": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "primary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}}, "usage": {"input_tokens": 9666, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 9666, "cached_share": null, "cache_discount_reported": null, "reported_cost_usd": null}, "response_metadata": {"model": "decision-models/baseten-mammoth-27b-latest"}, "scored_at_utc": "2026-10-25T18:30:09.603102+00:00", "scoring_key_slot": "assistant_1", "dataset_uid": "27eba1ad-aa32-4742-a43c-bee9560f316b", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "c60aba5016bd546d41790b902bf4269b20769c29320740c8e19f56e3d6318418", "source_metadata": {"uuid": "27eba1ad-aa32-4742-a43c-bee9560f316b", "repo_name": "udhayakumarth/resources", "relative_path": "script.sh", "category": "TOOL", "algo_rel_score": 0.990247905254364, "quality_score": 4.901373386383057, "source_meta": {"github_metadata": {"branch": "main", "commit_count": 69, "repo_created_at": "2024-12-12T08:51:20.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 0, "forks": 0, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "3768ecf877eed0a907cc46ea657c4b5ee1215dbd", "size_bytes": 3705, "file_timestamp": 1745316534, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "8d67d7de25eff287595931907112587227627275"}}, "parsed_source_meta": {"github_metadata": {"branch": "main", "commit_count": 69, "repo_created_at": "2024-12-12T08:51:20.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 0, "forks": 0, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "3768ecf877eed0a907cc46ea657c4b5ee1215dbd", "size_bytes": 3705, "file_timestamp": 1745316534, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "8d67d7de25eff287595931907112587227627275", "url": "https://github.com/udhayakumarth/resources/blob/8d67d7de25eff287595931907112587227627275/script.sh"}, "gpt4o_tokens": 1083, "dataset_split": "shell", "probability_weighted_scores": {"content_quality": 0.8743265735183459, "noise_severity": 0.024001521623711726, "missing_content_severity": 0.005452724200498524, "factual_density": 2.895778786574597, "pretraining_utility": 0.461071734075604, "math_density": 0.010592462225498412, "code_density": 3.7717031387003677, "reasoning_density": 0.8942827242592895, "education_level": 2.5151315830152368, "creative_writing_quality": -0.3445475057332485}, "score_applicability": {"education_level": 0.9990233794514362, "creative_writing_quality": 0.0004942336828136677}} {"source_group": "shell", "source": "openbmb/UltraData-Stack-v3-L2/shell", "domain": "github.com", "language": "shell", "url": "https://github.com/jjmpal/cad_causality/blob/1d299b567778dfcd2b62ef29a15164ea55d83c56/bin/xgboost.sh", "id": "shell-0-2e87b078e4aff31f868602ea9273768f", "text": "#!/bin/bash\n\nsource \"${0%%/bin/*}/definitions.sh\" || exit 1\n\n###' ##################################################\n###' # Default parameters\n###' ##################################################\n\nJOB_NAME=\"boost\"\nPARTITION=\"small\"\nPROJECT=\"project_2007737\"\nR_SCRIPT=\"${project}/workflows/cad_xgboost.R\"\nTIME_LIMIT=\"24:00:00\"\nSEED=20250501\nMEMORY_CORES=5\nINNER=5\nOUTER=5\nBURN=20\nSTEP=50\nN_NORM=2\nN_BINOM=0\nREPEATS=100\nSTART=1\nDATA=\"\"\nEXTRA_ARGS=\"\"\n\n###' ##################################################\n###' # Usage\n###' ##################################################\n\nusage() {\n \"Usage: $0 [options] --data \"\n echo \" --data Which dataset to use\"\n echo \" --exclude Perform basic model\"\n echo \" --repeats Number of repeats (default: $REPEATS)\"\n echo \" --seed Random seed (default: $SEED)\"\n echo \" --inner Inner loops (default: $INNER)\"\n echo \" --outer Outer loops (default: $OUTER)\"\n echo \" --burn Optimization burn steps (default: $BURN)\"\n echo \" --step Optimization steps (default: $STEP)\"\n echo \" --n_norm N:o normal random variables (default: $N_NORM)\"\n echo \" --n_binom N:o binomial random variables (default: $N_BINOM)\"\n echo \" --burn N:o initial optimization steps (default: $BURN)\"\n echo \" --step N:o optimization steps (default: $STEP)\"\n echo \" --start Start iteration at (default: $START)\"\n echo \" --memory Memory cores (default: $MEMORY_CORES)\"\n echo \" --time Time limit (default: $TIME_LIMIT)\"\n echo \" --partition SLURM partition (default: $PARTITION)\"\n echo \" --project SLURM project (default: $PROJECT)\"\n echo \" --debug Debug mode (default: $PROJECT)\"\n exit 1\n}\n\n###' ##################################################\n###' # Arguments\n###' ##################################################\n\nwhile [[ $# -gt 0 ]]; do\n case \"$1\" in\n --exclude) EXTRA_ARGS=\"${EXTRA_ARGS} --exclude\"; shift 1 ;;\n --data) DATA=\"$2\"; shift 2 ;;\n --start) START=\"$2\"; shift 2 ;;\n --repeats) REPEATS=\"$2\"; shift 2 ;;\n --seed) SEED=\"$2\"; shift 2 ;;\n --n_norm) N_NORM=\"$2\"; shift 2 ;;\n --n_binom) N_BINOM=\"$2\"; shift 2 ;;\n --inner) INNER=\"$2\"; shift 2 ;;\n --outer) OUTER=\"$2\"; shift 2 ;;\n --burn) BURN=\"$2\"; shift 2 ;;\n --step) STEP=\"$2\"; shift 2 ;;\n --memory) MEMORY_CORES=\"$2\"; shift 2 ;;\n --time) TIME_LIMIT=\"$2\"; shift 2 ;;\n --partition) PARTITION=\"$2\"; shift 2 ;;\n --project) PROJECT=\"$2\"; shift 2 ;;\n --debug) DEBUG_MODE=1; shift 1 ;;\n *) usage ;;\n esac\ndone\n\n\n##' ##################################################\n###' # SLURM SCRIPT\n###' ##################################################\n\ncat < ${slurm_script}\n#!/bin/bash\n#SBATCH --job-name=${JOB_NAME}\n#SBATCH --account=${PROJECT}\n#SBATCH --partition=${PARTITION}\n#SBATCH --time=${TIME_LIMIT}\n#SBATCH --output=logs/%A_%a.out\n#SBATCH --error=logs/%A_%a.err\n#SBATCH --nodes=1\n#SBATCH --ntasks=1\n#SBATCH --cpus-per-task=$MEMORY_CORES\n#SBATCH --mem=$((3420 * $MEMORY_CORES))\n\ncd \\${SLURM_SUBMIT_DIR:-.} || exit 1\nID=\"\\${SLURM_ARRAY_TASK_ID:-1}\"\n\nmodule load r-env/442\n\napptainer_wrapper exec Rscript --no-save \"$R_SCRIPT\" ${EXTRA_ARGS} \\\\\n --data=${DATA} \\\\\n --iteration=\\${ID} \\\\\n --seed=${SEED} \\\\\n --inner=${INNER} \\\\\n --outer=${OUTER} \\\\\n --burn=${BURN} \\\\\n --step=${STEP} \\\\\n --package ${project} \\\\\n --cpu=${MEMORY_CORES} \\\\\n --n_norm=${N_NORM} \\\\\n --n_binom=${N_BINOM}\nEOF\n\n###' ##################################################\n###' # Main\n###' ##################################################\n\nif [[ $DEBUG_MODE -eq 1 ]]; then\n SLURM_ARRAY_TASK_ID=1 bash \"$slurm_script\"\nelse\n sbatch --array \"${START}-$(($REPEATS + ${START}))\" $slurm_script\nfi\n", "text_preview": "#!/bin/bash source \"${0%%/bin/*}/definitions.sh\" || exit 1 ###' ################################################## ###' # Default parameters ###' ################################################## JOB_NAME=\"boost\" PARTITION=\"small\" PROJECT=", "input_sha256": "5ef581f505170ea947bdb52afdcc34a730c65774d065108df32765393b473a90", "text_sha256": "2e87b078e4aff31f868602ea9273768f667bbe0743d7de679734c2fccb60daab", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 20020, "input_policy": "text-and-optional-url-v1", "label_policy_version": 12, "requested_model": "decision-models/baseten-mammoth-27b-latest", "backend": "baseten", "endpoint": "https://inference.baseten.co/v1/systemone", "status": "ok", "training_eligible": true, "label": {"primary": {"main_format": "Technical Writing", "sub_format": null}, "secondary": null, "tertiary": null, "content_structure": []}, "candidate_label": null, "topic": {"primary": {"main_topic": "Programming & Software Engineering", "sub_topic": null}, "secondary": null}, "scores": {"content_quality": 1, "noise_severity": 0, "missing_content_severity": 0, "factual_density": 3, "pretraining_utility": 0, "math_density": 0, "code_density": 4, "reasoning_density": 0, "education_level": 3, "creative_writing_quality": null}, "score_expectations": {"content_quality": 0.4359649959638572, "noise_severity": 0.1364021567668841, "missing_content_severity": 0.018043172905500112, "factual_density": 3.142749091129545, "pretraining_utility": 0.36844178239455605, "math_density": 0.28054874844230276, "code_density": 3.6931690335147116, "reasoning_density": 0.11589202660330043, "education_level": 2.66749481037512, "creative_writing_quality": -0.38064646374454664}, "api_choices": {"primary": "Technical Writing", "secondary": "NONE", "tertiary": "NONE", "education_level": "3", "creative_writing_quality": "not_applicable", "primary_topic": "Programming & Software Engineering", "secondary_topic": "NONE"}, "review_reasons": [], "format_slot_diagnostics": {"comparable": true, "secondary_tertiary_identical": false, "secondary_tertiary_max_abs_gap": 0.011199164538880368, "secondary_choice": "NONE", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.9903605890682279, "secondary": 0.9100437381465641, "tertiary": 0.9172625581491115, "structured_records": 0.041567920502899675, "procedural_steps": 0.0984999092366395, "worked_solution": 0.0005693964302955791, "contextual_dialogue": 5.166522749602902e-06, "content_quality": 0.3594401216257873, "noise_severity": 0.8863315360275966, "missing_content_severity": 0.9849640225787499, "factual_density": 0.534873096993405, "pretraining_utility": 0.4668112035645826, "math_density": 0.7662093762980811, "code_density": 0.744307527928926, "reasoning_density": 0.9034233111639163, "education_level": 0.33914205550828275, "creative_writing_quality": 0.9993287240997235, "primary_topic": 0.9112887370331536, "secondary_topic": 0.38958242842034857}, "probability_margin": {"primary": 0.9852003809897687, "secondary": 0.8710872783545327, "tertiary": 0.8892044787291876, "education_level": 0.02607248939106438, "creative_writing_quality": 0.9992265218890561, "primary_topic": 0.840478163416181, "secondary_topic": 0.03253855654117488}, "raw_probabilities": {"primary": {"Academic Writing": 0.00012254118151797198, "Content Listing": 3.453559547841036e-05, "Creative Writing": 2.620375665371381e-05, "Customer Support Page": 2.0843197249524708e-05, "Q&A Forum": 1.8222251710164396e-05, "Discussion Thread": 1.272247398965453e-05, "Comment Section": 2.0409355185961698e-05, "Missing Content": 3.2334647508289024e-05, "Knowledge Article": 0.00011721152128563067, "Legal Notices": 3.682467210861359e-05, "News Article": 8.095650794739814e-06, "Organizational Announcement": 1.805882679384213e-05, "Nonfiction Writing": 1.9089963928901088e-05, "Organizational About Page": 2.0772453854063994e-05, "Personal About Page": 1.96841519164415e-05, "Personal Blog": 1.1980581402426087e-05, "Product Page": 1.3507795739946083e-05, "Spam / Ads": 1.729001064998853e-05, "Structured Data": 0.0005382518258414569, "Technical Writing": 0.9907622311903851, "Transcript / Interview": 2.543531617245377e-05, "Tutorial / How-To Guide": 0.005561850200616382, "User Reviews": 1.0678842668582472e-05, "Other / Unknown": 0.0025312245365477774}, "secondary": {"Academic Writing": 0.001945882234775831, "Content Listing": 0.00027252128256800644, "Creative Writing": 0.00023368942623496828, "Customer Support Page": 0.00032600045101027834, "Q&A Forum": 0.00016394270720016563, "Discussion Thread": 8.816548283928667e-05, "Comment Section": 0.0001957941786291787, "Missing Content": 0.0003996508140795248, "Knowledge Article": 0.0013464869625990999, "Legal Notices": 0.0002522239689267124, "News Article": 0.0001352007035836044, "Organizational Announcement": 0.00016206609795734099, "Nonfiction Writing": 0.0001554395905452434, "Organizational About Page": 0.0001898470661784327, "Personal About Page": 0.00015254698514246883, "Personal Blog": 0.00014149966683395221, "Product Page": 0.00012105000989631853, "Spam / Ads": 0.000150565291298365, "Structured Data": 0.005511224773032448, "Technical Writing": 0.042704637369257885, "Transcript / Interview": 0.00027741488968719736, "Tutorial / How-To Guide": 0.031201009163642827, "User Reviews": 8.122516029024842e-05, "NONE": 0.9137919157237906}, "tertiary": {"Academic Writing": 0.001717906700806602, "Content Listing": 0.0002606247047587458, "Creative Writing": 0.0002034058786443162, "Customer Support Page": 0.0003148528640004386, "Q&A Forum": 9.869394212274504e-05, "Discussion Thread": 7.678683276704982e-05, "Comment Section": 0.00017752842721844295, "Missing Content": 0.00041240180289837985, "Knowledge Article": 0.0020588847345791046, "Legal Notices": 0.00033192734354921103, "News Article": 0.0001077874973153611, "Organizational Announcement": 0.00011914694414331675, "Nonfiction Writing": 0.00013544391053702868, "Organizational About Page": 0.00018372737683465003, "Personal About Page": 0.00011255154319545944, "Personal Blog": 0.00010741725330150175, "Product Page": 0.00010154162487666924, "Spam / Ads": 0.00012623400222124727, "Structured Data": 0.010596214473146896, "Technical Writing": 0.031505472830377516, "Transcript / Interview": 0.00020416732557627826, "Tutorial / How-To Guide": 0.030278643937186652, "User Reviews": 5.868649037729617e-05, "NONE": 0.9207099515595651}, "structured_records": {"false": 0.9584320794971003, "true": 0.041567920502899675}, "procedural_steps": {"false": 0.9015000907633605, "true": 0.0984999092366395}, "worked_solution": {"false": 0.9994306035697044, "true": 0.0005693964302955791}, "contextual_dialogue": {"false": 0.9999948334772504, "true": 5.166522749602902e-06}, "content_quality": {"-2": 0.017635239286982487, "-1": 0.12659086645084905, "0": 0.36026597827995344, "1": 0.3931894909757588, "2": 0.10231842500645619}, "noise_severity": {"0": 0.8861934262719717, "1": 0.09584525771282612, "2": 0.014581807245216587, "3": 0.002124750516317208, "4": 0.0012547582536682914}, "missing_content_severity": {"0": 0.9898573416173782, "1": 0.003995850818327968, "2": 0.004698368034875569, "3": 0.0011431721002520276, "4": 0.00030526742916623084}, "factual_density": {"0": 0.004290491626062001, "1": 0.012783378181067229, "2": 0.16926336499886402, "3": 0.4632120778252773, "4": 0.3504506873687295}, "pretraining_utility": {"-2": 0.010342854773821296, "-1": 0.11500667711632982, "0": 0.4282399372206465, "1": 0.3886868927198763, "2": 0.057723638169326096}, "math_density": {"0": 0.7754181399864418, "1": 0.1954670199928393, "2": 0.013438037552184333, "3": 0.004501556529042625, "4": 0.011175245939491707}, "code_density": {"0": 0.000570658922496666, "1": 0.0011364162481869514, "2": 0.03473265904616391, "3": 0.2316737639584134, "4": 0.7318865018247391}, "reasoning_density": {"0": 0.92151666377369, "1": 0.0450192182762041, "2": 0.030392088528400297, "3": 0.002199486416526967, "4": 0.0008725430051787098}, "education_level": {"none": 0.001377877598965342, "0": 0.0022566835501993377, "1": 0.008644088794738608, "2": 0.4232125568658379, "3": 0.4492850462569023, "4": 0.11522374693335666}, "creative_writing_quality": {"not_applicable": 0.9994406034164363, "-2": 9.274368172028076e-05, "-1": 0.00015292350147674786, "0": 0.00021408152738007068, "1": 7.381721242001101e-05, "2": 2.583066056651231e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 0.00012818910374670078, "Art & Design": 0.000208039905045922, "Law & Crime": 0.00021105514022273035, "Education & Careers": 0.0001357673197184603, "Entertainment & Media": 0.00013555262123783629, "Fashion & Beauty": 0.0001246327293244336, "Business, Economics & Finance": 0.00021226475094415927, "Food & Dining": 0.00013333359158419577, "Games & Gaming": 0.0001879293929751472, "Electronics & Hardware": 0.000419181430136095, "Health, Healthcare & Wellness": 0.0004620715539451489, "History & Geography": 0.00021066090362799458, "Home, Pets & Hobbies": 0.00010984758348463185, "Industry & Production": 0.00018727011374345746, "Language, Literature & Philosophy": 0.00012696302391306314, "Politics & Government": 0.00010256487547786356, "Religion & Spirituality": 0.00012900514607241443, "Science, Mathematics & Engineering": 0.07422254526954361, "Relationships & Community": 7.513688628275126e-05, "Software Usage & Applications": 0.004625042846767062, "Programming & Software Engineering": 0.9147007086857246, "Sports & Fitness": 0.00016847488537038549, "Vehicles & Transportation": 8.437657716775685e-05, "Travel & Tourism": 0.0002534883535574024, "Other / Uncovered Subject": 0.0023513140624777046, "Unknown / Insufficient Content": 0.0002945832479083317}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0007947324979934817, "Art & Design": 0.0006828733239985059, "Law & Crime": 0.0007946529208007775, "Education & Careers": 0.00044249747813215765, "Entertainment & Media": 0.0005188280360263348, "Fashion & Beauty": 0.0004130976092261012, "Business, Economics & Finance": 0.0006494690372115434, "Food & Dining": 0.00039678175687991185, "Games & Gaming": 0.0005004257464205609, "Electronics & Hardware": 0.001779314397011581, "Health, Healthcare & Wellness": 0.001273004323602578, "History & Geography": 0.0005737942956803052, "Home, Pets & Hobbies": 0.00037345572974702986, "Industry & Production": 0.0005560023551013283, "Language, Literature & Philosophy": 0.00031244874438317934, "Politics & Government": 0.00036158825585927385, "Religion & Spirituality": 0.0005499370652632721, "Science, Mathematics & Engineering": 0.38052147078608334, "Relationships & Community": 0.00025136681499866593, "Software Usage & Applications": 0.014923257347129971, "Programming & Software Engineering": 0.17572101703175239, "Sports & Fitness": 0.00046411231788809, "Vehicles & Transportation": 0.0002567365047951857, "Travel & Tourism": 0.0006688799694277825, "Other / Uncovered Subject": 0.0031602283273283547, "NONE": 0.4130600273272582}}, "probabilities": {"primary": {"Academic Writing": 0.00012254118151797198, "Content Listing": 3.453559547841036e-05, "Creative Writing": 2.620375665371381e-05, "Customer Support Page": 2.0843197249524708e-05, "Q&A Forum": 1.8222251710164396e-05, "Discussion Thread": 1.272247398965453e-05, "Comment Section": 2.0409355185961698e-05, "Missing Content": 3.2334647508289024e-05, "Knowledge Article": 0.00011721152128563067, "Legal Notices": 3.682467210861359e-05, "News Article": 8.095650794739814e-06, "Organizational Announcement": 1.805882679384213e-05, "Nonfiction Writing": 1.9089963928901088e-05, "Organizational About Page": 2.0772453854063994e-05, "Personal About Page": 1.96841519164415e-05, "Personal Blog": 1.1980581402426087e-05, "Product Page": 1.3507795739946083e-05, "Spam / Ads": 1.729001064998853e-05, "Structured Data": 0.0005382518258414569, "Technical Writing": 0.9907622311903851, "Transcript / Interview": 2.543531617245377e-05, "Tutorial / How-To Guide": 0.005561850200616382, "User Reviews": 1.0678842668582472e-05, "Other / Unknown": 0.0025312245365477774}, "secondary": {"Academic Writing": 0.001945882234775831, "Content Listing": 0.00027252128256800644, "Creative Writing": 0.00023368942623496828, "Customer Support Page": 0.00032600045101027834, "Q&A Forum": 0.00016394270720016563, "Discussion Thread": 8.816548283928667e-05, "Comment Section": 0.0001957941786291787, "Missing Content": 0.0003996508140795248, "Knowledge Article": 0.0013464869625990999, "Legal Notices": 0.0002522239689267124, "News Article": 0.0001352007035836044, "Organizational Announcement": 0.00016206609795734099, "Nonfiction Writing": 0.0001554395905452434, "Organizational About Page": 0.0001898470661784327, "Personal About Page": 0.00015254698514246883, "Personal Blog": 0.00014149966683395221, "Product Page": 0.00012105000989631853, "Spam / Ads": 0.000150565291298365, "Structured Data": 0.005511224773032448, "Technical Writing": 0.042704637369257885, "Transcript / Interview": 0.00027741488968719736, "Tutorial / How-To Guide": 0.031201009163642827, "User Reviews": 8.122516029024842e-05, "NONE": 0.9137919157237906}, "tertiary": {"Academic Writing": 0.001717906700806602, "Content Listing": 0.0002606247047587458, "Creative Writing": 0.0002034058786443162, "Customer Support Page": 0.0003148528640004386, "Q&A Forum": 9.869394212274504e-05, "Discussion Thread": 7.678683276704982e-05, "Comment Section": 0.00017752842721844295, "Missing Content": 0.00041240180289837985, "Knowledge Article": 0.0020588847345791046, "Legal Notices": 0.00033192734354921103, "News Article": 0.0001077874973153611, "Organizational Announcement": 0.00011914694414331675, "Nonfiction Writing": 0.00013544391053702868, "Organizational About Page": 0.00018372737683465003, "Personal About Page": 0.00011255154319545944, "Personal Blog": 0.00010741725330150175, "Product Page": 0.00010154162487666924, "Spam / Ads": 0.00012623400222124727, "Structured Data": 0.010596214473146896, "Technical Writing": 0.031505472830377516, "Transcript / Interview": 0.00020416732557627826, "Tutorial / How-To Guide": 0.030278643937186652, "User Reviews": 5.868649037729617e-05, "NONE": 0.9207099515595651}, "structured_records": {"false": 0.9584320794971003, "true": 0.041567920502899675}, "procedural_steps": {"false": 0.9015000907633605, "true": 0.0984999092366395}, "worked_solution": {"false": 0.9994306035697044, "true": 0.0005693964302955791}, "contextual_dialogue": {"false": 0.9999948334772504, "true": 5.166522749602902e-06}, "content_quality": {"-2": 0.01763523928698249, "-1": 0.12659086645084908, "0": 0.3602659782799535, "1": 0.39318949097575884, "2": 0.1023184250064562}, "noise_severity": {"0": 0.8861934262719718, "1": 0.09584525771282613, "2": 0.014581807245216589, "3": 0.0021247505163172085, "4": 0.0012547582536682916}, "missing_content_severity": {"0": 0.9898573416173782, "1": 0.003995850818327968, "2": 0.004698368034875569, "3": 0.0011431721002520276, "4": 0.00030526742916623084}, "factual_density": {"0": 0.004290491626062001, "1": 0.012783378181067229, "2": 0.16926336499886402, "3": 0.4632120778252773, "4": 0.3504506873687295}, "pretraining_utility": {"-2": 0.010342854773821296, "-1": 0.11500667711632982, "0": 0.4282399372206465, "1": 0.3886868927198763, "2": 0.057723638169326096}, "math_density": {"0": 0.775418139986442, "1": 0.19546701999283936, "2": 0.013438037552184336, "3": 0.004501556529042626, "4": 0.011175245939491709}, "code_density": {"0": 0.000570658922496666, "1": 0.0011364162481869514, "2": 0.03473265904616391, "3": 0.2316737639584134, "4": 0.7318865018247391}, "reasoning_density": {"0": 0.92151666377369, "1": 0.0450192182762041, "2": 0.030392088528400297, "3": 0.002199486416526967, "4": 0.0008725430051787098}, "education_level": {"none": 0.0013778775989653417, "0": 0.0022566835501993373, "1": 0.008644088794738606, "2": 0.4232125568658378, "3": 0.4492850462569022, "4": 0.11522374693335663}, "creative_writing_quality": {"not_applicable": 0.9994406034164364, "-2": 9.274368172028077e-05, "-1": 0.0001529235014767479, "0": 0.0002140815273800707, "1": 7.381721242001103e-05, "2": 2.5830660566512312e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 0.0001281891037467008, "Art & Design": 0.00020803990504592203, "Law & Crime": 0.00021105514022273038, "Education & Careers": 0.00013576731971846033, "Entertainment & Media": 0.0001355526212378363, "Fashion & Beauty": 0.00012463272932443362, "Business, Economics & Finance": 0.0002122647509441593, "Food & Dining": 0.0001333335915841958, "Games & Gaming": 0.00018792939297514722, "Electronics & Hardware": 0.00041918143013609506, "Health, Healthcare & Wellness": 0.00046207155394514896, "History & Geography": 0.0002106609036279946, "Home, Pets & Hobbies": 0.00010984758348463186, "Industry & Production": 0.00018727011374345748, "Language, Literature & Philosophy": 0.00012696302391306316, "Politics & Government": 0.00010256487547786357, "Religion & Spirituality": 0.00012900514607241446, "Science, Mathematics & Engineering": 0.07422254526954362, "Relationships & Community": 7.513688628275127e-05, "Software Usage & Applications": 0.004625042846767063, "Programming & Software Engineering": 0.9147007086857247, "Sports & Fitness": 0.0001684748853703855, "Vehicles & Transportation": 8.437657716775686e-05, "Travel & Tourism": 0.00025348835355740244, "Other / Uncovered Subject": 0.002351314062477705, "Unknown / Insufficient Content": 0.00029458324790833173}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0007947324979934818, "Art & Design": 0.000682873323998506, "Law & Crime": 0.0007946529208007776, "Education & Careers": 0.0004424974781321577, "Entertainment & Media": 0.000518828036026335, "Fashion & Beauty": 0.0004130976092261013, "Business, Economics & Finance": 0.0006494690372115435, "Food & Dining": 0.0003967817568799119, "Games & Gaming": 0.000500425746420561, "Electronics & Hardware": 0.0017793143970115813, "Health, Healthcare & Wellness": 0.0012730043236025782, "History & Geography": 0.0005737942956803053, "Home, Pets & Hobbies": 0.0003734557297470299, "Industry & Production": 0.0005560023551013284, "Language, Literature & Philosophy": 0.0003124487443831794, "Politics & Government": 0.0003615882558592739, "Religion & Spirituality": 0.0005499370652632722, "Science, Mathematics & Engineering": 0.3805214707860834, "Relationships & Community": 0.000251366814998666, "Software Usage & Applications": 0.014923257347129973, "Programming & Software Engineering": 0.1757210170317524, "Sports & Fitness": 0.00046411231788809007, "Vehicles & Transportation": 0.00025673650479518577, "Travel & Tourism": 0.0006688799694277826, "Other / Uncovered Subject": 0.003160228327328355, "NONE": 0.4130600273272583}}, "probability_diagnostics": {"primary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "tertiary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "structured_records": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "procedural_steps": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "worked_solution": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "contextual_dialogue": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "content_quality": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "noise_severity": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "missing_content_severity": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "factual_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "pretraining_utility": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "math_density": {"raw_sum": 0.9999999999999998, "mass_delta": -2.220446049250313e-16, "missing_mass": 2.220446049250313e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "code_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "reasoning_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "education_level": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "creative_writing_quality": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "primary_topic": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary_topic": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}}, "usage": {"input_tokens": 9647, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 9647, "cached_share": null, "cache_discount_reported": null, "reported_cost_usd": null}, "response_metadata": {"model": "decision-models/baseten-mammoth-27b-latest"}, "scored_at_utc": "2026-10-25T18:30:09.883123+00:00", "scoring_key_slot": "assistant_1", "dataset_uid": "148f960a-3864-49b0-9a4d-8d4f31b78b92", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "82bbe64d2c7fb30c79ea15485360ac1f8b5602e488378036b9cf3072f463b46d", "source_metadata": {"uuid": "148f960a-3864-49b0-9a4d-8d4f31b78b92", "repo_name": "jjmpal/cad_causality", "relative_path": "bin/xgboost.sh", "category": "DATA", "algo_rel_score": 0.7253518104553223, "quality_score": 4.284610748291016, "source_meta": {"github_metadata": {"branch": "main", "commit_count": 1, "repo_created_at": "2025-06-14T07:15:03.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 0, "forks": 0, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "d01bc3d67a1781e362b452ff9111c44ce22c52ec", "size_bytes": 3866, "file_timestamp": 1749885942, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "1d299b567778dfcd2b62ef29a15164ea55d83c56"}}, "parsed_source_meta": {"github_metadata": {"branch": "main", "commit_count": 1, "repo_created_at": "2025-06-14T07:15:03.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 0, "forks": 0, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "d01bc3d67a1781e362b452ff9111c44ce22c52ec", "size_bytes": 3866, "file_timestamp": 1749885942, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "1d299b567778dfcd2b62ef29a15164ea55d83c56", "url": "https://github.com/jjmpal/cad_causality/blob/1d299b567778dfcd2b62ef29a15164ea55d83c56/bin/xgboost.sh"}, "gpt4o_tokens": 1073, "dataset_split": "shell", "probability_weighted_scores": {"content_quality": 0.4359649959638572, "noise_severity": 0.1364021567668841, "missing_content_severity": 0.018043172905500112, "factual_density": 3.142749091129545, "pretraining_utility": 0.36844178239455605, "math_density": 0.28054874844230276, "code_density": 3.6931690335147116, "reasoning_density": 0.11589202660330043, "education_level": 2.66749481037512, "creative_writing_quality": -0.38064646374454664}, "score_applicability": {"education_level": 0.9986221224010345, "creative_writing_quality": 0.0005593965835636228}} {"source_group": "shell", "source": "openbmb/UltraData-Stack-v3-L2/shell", "domain": "github.com", "language": "shell", "url": "https://github.com/oilshell/wild-corpus/blob/a6fe3886095ae03afd528aefe296a169738984bc/perf-tools/kernel/funccount", "id": "shell-0-10f1342ee9b51d6f9584f2a536a05529", "text": "#!/bin/bash\n#\n# funccount - count kernel function calls matching specified wildcards.\n# Uses Linux ftrace.\n#\n# This is a proof of concept using Linux ftrace capabilities on older kernels,\n# and works by using function profiling: in-kernel counters.\n#\n# USAGE: funccount [-hT] [-i secs] [-d secs] [-t top] funcstring\n# eg,\n# funccount 'ext3*'\t# count all ext3* kernel function calls\n#\n# Run \"funccount -h\" for full usage.\n#\n# WARNING: This uses dynamic tracing of kernel functions, and could cause\n# kernel panics or freezes. Test, and know what you are doing, before use.\n#\n# REQUIREMENTS: CONFIG_FUNCTION_PROFILER, awk.\n#\n# From perf-tools: https://github.com/brendangregg/perf-tools\n#\n# COPYRIGHT: Copyright (c) 2014 .\n#\n# This program is free software; you can redistribute it and/or\n# modify it under the terms of the GNU General Public License\n# as published by the Free Software Foundation; either version 2\n# of the License, or (at your option) any later version.\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU General Public License for more details.\n#\n# You should have received a copy of the GNU General Public License\n# along with this program; if not, write to the Free Software Foundation,\n# Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n#\n# (http://www.gnu.org/copyleft/gpl.html)\n#\n# 12-Jul-2014\t\tCreated this.\n\n### default variables\ntracing=/sys/kernel/debug/tracing\nopt_duration=0; duration=; opt_interval=0; interval=999999; opt_timestamp=0\nopt_tail=0; tcmd=cat; ttext=\ntrap 'quit=1' INT QUIT TERM PIPE HUP\t# sends execution to end tracing section\n\nfunction usage {\n\tcat <<-END >&2\n\tUSAGE: funccount [-hT] [-i secs] [-d secs] [-t top] funcstring\n\t -d seconds # total duration of trace\n\t -h # this usage message\n\t -i seconds # interval summary\n\t -t top # show top num entries only\n\t -T # include timestamp (for -i)\n\t eg,\n\t funccount 'vfs*' # trace all funcs that match \"vfs*\"\n\t funccount -d 5 'tcp*' # trace \"tcp*\" funcs for 5 seconds\n\t funccount -t 10 'ext3*' # show top 10 \"ext3*\" funcs\n\t funccount -i 1 'ext3*' # summary every 1 second\n\t funccount -i 1 -d 5 'ext3*' # 5 x 1 second summaries\n\n\tSee the man page and example file for more info.\nEND\n\texit\n}\n\nfunction warn {\n\tif ! eval \"$@\"; then\n\t\techo >&2 \"WARNING: command failed \\\"$@\\\"\"\n\tfi\n}\n\nfunction die {\n\techo >&2 \"$@\"\n\texit 1\n}\n\n### process options\nwhile getopts d:hi:t:T opt\ndo\n\tcase $opt in\n\td)\topt_duration=1; duration=$OPTARG ;;\n\ti)\topt_interval=1; interval=$OPTARG ;;\n\tt)\topt_tail=1; tnum=$OPTARG ;;\n\tT)\topt_timestamp=1 ;;\n\th|?)\tusage ;;\n\tesac\ndone\nshift $(( $OPTIND - 1 ))\n\n### option logic\n(( $# == 0 )) && usage\nfuncs=\"$1\"\nif (( opt_tail )); then\n\ttcmd=\"tail -$tnum\"\n\tttext=\" Top $tnum only.\"\nfi\nif (( opt_duration )); then\n\techo \"Tracing \\\"$funcs\\\" for $duration seconds.$ttext..\"\nelse\n\techo \"Tracing \\\"$funcs\\\".$ttext.. Ctrl-C to end.\"\nfi\n(( opt_duration && !opt_interval )) && interval=$duration\n\n### check permissions\ncd $tracing || die \"ERROR: accessing tracing. Root user? Kernel has FTRACE?\n debugfs mounted? (mount -t debugfs debugfs /sys/kernel/debug)\"\n\n### enable tracing\nsysctl -q kernel.ftrace_enabled=1\t# doesn't set exit status\necho \"$funcs\" > set_ftrace_filter || die \"ERROR: enabling \\\"$funcs\\\". Exiting.\"\nwarn \"echo nop > current_tracer\"\nif ! echo 1 > function_profile_enabled; then\n\techo > set_ftrace_filter\n\tdie \"ERROR: enabling function profiling.\"\\\n\t \"Have CONFIG_FUNCTION_PROFILER? Exiting.\"\nfi\n\n### summarize\nquit=0; secs=0\nwhile (( !quit && (!opt_duration || secs < duration) )); do\n\t(( secs += interval ))\n\techo 0 > function_profile_enabled\n\techo 1 > function_profile_enabled\n\tsleep $interval\n\n\techo\n\t(( opt_timestamp )) && date\n\tprintf \"%-30s %8s\\n\" \"FUNC\" \"COUNT\"\n\n\tcat trace_stat/function* | awk '\n\t# skip headers by matching on the numeric hit column\n\t$2 ~ /[0-9]/ { a[$1] += $2 }\n\tEND {\n\t\tfor (k in a) {\n\t\t\tprintf \"%-30s %8d\\n\", k, a[k]\n\t\t}\n\t}' | sort -n -k2 | $tcmd\ndone\n\n### end tracing\necho 2>/dev/null\necho \"Ending tracing...\" 2>/dev/null\nwarn \"echo 0 > function_profile_enabled\"\nwarn \"echo > set_ftrace_filter\"\n", "text_preview": "#!/bin/bash # # funccount - count kernel function calls matching specified wildcards. # Uses Linux ftrace. # # This is a proof of concept using Linux ftrace capabilities on older kernels, # and works by using function profiling: in-kernel c", "input_sha256": "d6b6531aeaf4c41565a17cd4d0f5b34cca3d5ff0bdfdd0c918fbf3f200aec002", "text_sha256": "10f1342ee9b51d6f9584f2a536a0552997de1002b2e0fc43744e51a6e6840f39", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 20022, "input_policy": "text-and-optional-url-v1", "label_policy_version": 12, "requested_model": "decision-models/baseten-mammoth-27b-latest", "backend": "baseten", "endpoint": "https://inference.baseten.co/v1/systemone", "status": "needs_review", "training_eligible": false, "label": null, "candidate_label": {"primary": {"main_format": "Technical Writing", "sub_format": null}, "secondary": {"main_format": "Legal Notices", "sub_format": null}, "tertiary": {"main_format": "Legal Notices", "sub_format": null}, "content_structure": []}, "topic": {"primary": {"main_topic": "Programming & Software Engineering", "sub_topic": null}, "secondary": null}, "scores": {"content_quality": 1, "noise_severity": 0, "missing_content_severity": 0, "factual_density": 3, "pretraining_utility": 1, "math_density": 0, "code_density": 4, "reasoning_density": 0, "education_level": 3, "creative_writing_quality": null}, "score_expectations": {"content_quality": 1.1063590917460104, "noise_severity": 0.5400336773073099, "missing_content_severity": 0.03497921621529752, "factual_density": 3.093303018755583, "pretraining_utility": 0.6275995004671449, "math_density": 0.1341008798219743, "code_density": 3.5769931657009555, "reasoning_density": 0.43747917865664454, "education_level": 2.891034233104207, "creative_writing_quality": -0.18718035102450606}, "api_choices": {"primary": "Technical Writing", "secondary": "Legal Notices", "tertiary": "Legal Notices", "education_level": "3", "creative_writing_quality": "not_applicable", "primary_topic": "Programming & Software Engineering", "secondary_topic": "NONE"}, "review_reasons": ["Duplicate Document Type slots", "tertiary probability 0.5928 below 0.70"], "format_slot_diagnostics": {"comparable": true, "secondary_tertiary_identical": false, "secondary_tertiary_max_abs_gap": 0.19752512450262383, "secondary_choice": "Legal Notices", "tertiary_choice": "Legal Notices"}, "confidence": {"primary": 0.9843190018054048, "secondary": 0.7812547704166867, "tertiary": 0.5751415970226443, "structured_records": 0.013426953479813467, "procedural_steps": 0.2170511736715805, "worked_solution": 0.0028356182559273356, "contextual_dialogue": 5.397766304937381e-06, "content_quality": 0.5951472728534752, "noise_severity": 0.5499719355772417, "missing_content_severity": 0.9708506531539187, "factual_density": 0.4765635980702728, "pretraining_utility": 0.5202160424696867, "math_density": 0.8882492668150214, "code_density": 0.6474943047507961, "reasoning_density": 0.6354340177861295, "education_level": 0.41859617907558044, "creative_writing_quality": 0.9992423294344276, "primary_topic": 0.9738152713578053, "secondary_topic": 0.8028371834570884}, "probability_margin": {"primary": 0.9774893930346986, "secondary": 0.6981426433619089, "tertiary": 0.3232778472871826, "education_level": 0.2298181138165269, "creative_writing_quality": 0.9990652280891621, "primary_topic": 0.95739032707973, "secondary_topic": 0.7212579310934027}, "raw_probabilities": {"primary": {"Academic Writing": 8.269832680816358e-05, "Content Listing": 4.6453019191672066e-05, "Creative Writing": 4.965913947398912e-05, "Customer Support Page": 6.569832731147543e-05, "Q&A Forum": 3.4221877667490154e-05, "Discussion Thread": 2.6292992482228185e-05, "Comment Section": 4.7824477424909267e-05, "Missing Content": 6.595244416188427e-05, "Knowledge Article": 0.0004588479735879202, "Legal Notices": 0.002478189143733687, "News Article": 1.9656488216293113e-05, "Organizational Announcement": 4.8221385581020486e-05, "Nonfiction Writing": 4.563054024677322e-05, "Organizational About Page": 4.509600378644498e-05, "Personal About Page": 2.9764243062481283e-05, "Personal Blog": 2.5188825543019497e-05, "Product Page": 2.739662003649868e-05, "Spam / Ads": 3.093228484405561e-05, "Structured Data": 0.00023469378150542814, "Technical Writing": 0.9849723767301796, "Transcript / Interview": 5.547069845030889e-05, "Tutorial / How-To Guide": 0.007482983695480955, "User Reviews": 2.3303376962821235e-05, "Other / Unknown": 0.003603447604260902}, "secondary": {"Academic Writing": 0.0005473215302832367, "Content Listing": 0.0004150068108553247, "Creative Writing": 0.0003769104708057449, "Customer Support Page": 0.0008287658719791599, "Q&A Forum": 0.0002673729221860242, "Discussion Thread": 0.0002395384342287779, "Comment Section": 0.0004429074326395357, "Missing Content": 0.00046781797921359106, "Knowledge Article": 0.0017850319063475453, "Legal Notices": 0.790369154982658, "News Article": 0.0003613305851615471, "Organizational Announcement": 0.0004921355576753, "Nonfiction Writing": 0.0004080271980535533, "Organizational About Page": 0.00042508935384897873, "Personal About Page": 0.0002589701996758281, "Personal Blog": 0.00022337873214901453, "Product Page": 0.0002796652776024278, "Spam / Ads": 0.00033801473569867996, "Structured Data": 0.0003977281320915827, "Technical Writing": 0.06998927561360235, "Transcript / Interview": 0.0004863581711058888, "Tutorial / How-To Guide": 0.038183085245772456, "User Reviews": 0.00019060123561630694, "NONE": 0.09222651162074914}, "tertiary": {"Academic Writing": 0.0010017814002543546, "Content Listing": 0.0006030284346149657, "Creative Writing": 0.0006817731583849013, "Customer Support Page": 0.0010422954946931145, "Q&A Forum": 0.00036679398433867266, "Discussion Thread": 0.00036178108680338673, "Comment Section": 0.0005719748551858983, "Missing Content": 0.0007826574328138843, "Knowledge Article": 0.004370136175871185, "Legal Notices": 0.5928440304800341, "News Article": 0.0005330057389881721, "Organizational Announcement": 0.000716295328145261, "Nonfiction Writing": 0.0008766170879124808, "Organizational About Page": 0.000632981103900961, "Personal About Page": 0.00042126583667598553, "Personal Blog": 0.00034327950847139134, "Product Page": 0.00046387814437826166, "Spam / Ads": 0.00055609106939323, "Structured Data": 0.0006019344515822847, "Technical Writing": 0.036622366223077504, "Transcript / Interview": 0.0007424350906852103, "Tutorial / How-To Guide": 0.08497514083692567, "User Reviews": 0.00032227388401759175, "NONE": 0.26956618319285147}, "structured_records": {"false": 0.9865730465201865, "true": 0.013426953479813467}, "procedural_steps": {"false": 0.7829488263284194, "true": 0.2170511736715805}, "worked_solution": {"false": 0.9971643817440726, "true": 0.0028356182559273356}, "contextual_dialogue": {"false": 0.9999946022336951, "true": 5.397766304937381e-06}, "content_quality": {"-2": 0.00415581433016723, "-1": 0.010907476463834482, "0": 0.15544969449673895, "1": 0.5333958325483392, "2": 0.2960911821609201}, "noise_severity": {"0": 0.5301444546238759, "1": 0.4067767774266944, "2": 0.05800204365730477, "3": 0.003054084602493459, "4": 0.002022639689631409}, "missing_content_severity": {"0": 0.9749242880160656, "1": 0.017432857468986727, "2": 0.005825003833133918, "3": 0.0013750516472119053, "4": 0.00044279903460180933}, "factual_density": {"0": 0.0031819241869783877, "1": 0.03581934158338414, "2": 0.18622587605234142, "3": 0.4140595076416683, "4": 0.36071335053562775}, "pretraining_utility": {"-2": 0.006873793182369224, "-1": 0.0650393451771326, "0": 0.3233705543832427, "1": 0.503046182505495, "2": 0.10167012475176045}, "math_density": {"0": 0.8876902404261451, "1": 0.09975330929484238, "2": 0.0068562548974298275, "3": 0.002165720794058041, "4": 0.0035344745875245326}, "code_density": {"0": 0.0005258978863945414, "1": 0.0011701865093426927, "2": 0.03672343161677167, "3": 0.34394581999189516, "4": 0.6176346639955959}, "reasoning_density": {"0": 0.7135395194672848, "1": 0.1718862859476873, "2": 0.08709967247792455, "3": 0.01850454067530501, "4": 0.008969981431798262}, "education_level": {"none": 0.0009359359337946057, "0": 0.0016332214982820966, "1": 0.004846913312060586, "2": 0.2856787020797901, "3": 0.515496815896317, "4": 0.19140841127975558}, "creative_writing_quality": {"not_applicable": 0.999368607862023, "-2": 7.082955403185198e-05, "-1": 0.00013405390867552095, "0": 0.0003033797728608513, "1": 8.87289900989714e-05, "2": 3.4399912309802784e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 6.283415161075383e-05, "Art & Design": 0.00010157551433519725, "Law & Crime": 0.00010499814548525487, "Education & Careers": 5.822084310726338e-05, "Entertainment & Media": 4.9907420763954334e-05, "Fashion & Beauty": 4.431316463961213e-05, "Business, Economics & Finance": 7.835587843894382e-05, "Food & Dining": 4.571109595117262e-05, "Games & Gaming": 7.595319752965531e-05, "Electronics & Hardware": 0.0015859146950111226, "Health, Healthcare & Wellness": 6.117421426524715e-05, "History & Geography": 7.83782994427832e-05, "Home, Pets & Hobbies": 5.2092310034883375e-05, "Industry & Production": 6.693127275478245e-05, "Language, Literature & Philosophy": 5.6588231343879886e-05, "Politics & Government": 7.756041302382536e-05, "Religion & Spirituality": 5.441159996837153e-05, "Science, Mathematics & Engineering": 0.0042968230648085465, "Relationships & Community": 3.2547527461970984e-05, "Software Usage & Applications": 0.017432049225851964, "Programming & Software Engineering": 0.974822376305582, "Sports & Fitness": 7.986238103862157e-05, "Vehicles & Transportation": 4.10125557537559e-05, "Travel & Tourism": 6.531515664571411e-05, "Other / Uncovered Subject": 0.0005008581873476111, "Unknown / Insufficient Content": 7.423514780314656e-05}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0007893859948505189, "Art & Design": 0.0005711687460660583, "Law & Crime": 0.03829386983592768, "Education & Careers": 0.0005158480519262076, "Entertainment & Media": 0.0005707696139174196, "Fashion & Beauty": 0.0003569511980793001, "Business, Economics & Finance": 0.0009170386861311729, "Food & Dining": 0.0003153679788011822, "Games & Gaming": 0.0004130609522150348, "Electronics & Hardware": 0.0031078067758795705, "Health, Healthcare & Wellness": 0.00042985124296000886, "History & Geography": 0.00046560607490421307, "Home, Pets & Hobbies": 0.00033032854886559486, "Industry & Production": 0.00031008450264392927, "Language, Literature & Philosophy": 0.0002690481681994841, "Politics & Government": 0.001368567402473406, "Religion & Spirituality": 0.000557866340703364, "Science, Mathematics & Engineering": 0.006774124851076685, "Relationships & Community": 0.0002071209263018714, "Software Usage & Applications": 0.08916243761533614, "Programming & Software Engineering": 0.04120457032866999, "Sports & Fitness": 0.00033327402156418804, "Vehicles & Transportation": 0.00018225190245219408, "Travel & Tourism": 0.0004965543446598024, "Other / Uncovered Subject": 0.0016366771866560756, "NONE": 0.8104203687087389}}, "probabilities": {"primary": {"Academic Writing": 8.269832680816358e-05, "Content Listing": 4.6453019191672066e-05, "Creative Writing": 4.965913947398912e-05, "Customer Support Page": 6.569832731147543e-05, "Q&A Forum": 3.4221877667490154e-05, "Discussion Thread": 2.6292992482228185e-05, "Comment Section": 4.7824477424909267e-05, "Missing Content": 6.595244416188427e-05, "Knowledge Article": 0.0004588479735879202, "Legal Notices": 0.002478189143733687, "News Article": 1.9656488216293113e-05, "Organizational Announcement": 4.8221385581020486e-05, "Nonfiction Writing": 4.563054024677322e-05, "Organizational About Page": 4.509600378644498e-05, "Personal About Page": 2.9764243062481283e-05, "Personal Blog": 2.5188825543019497e-05, "Product Page": 2.739662003649868e-05, "Spam / Ads": 3.093228484405561e-05, "Structured Data": 0.00023469378150542814, "Technical Writing": 0.9849723767301796, "Transcript / Interview": 5.547069845030889e-05, "Tutorial / How-To Guide": 0.007482983695480955, "User Reviews": 2.3303376962821235e-05, "Other / Unknown": 0.003603447604260902}, "secondary": {"Academic Writing": 0.0005473215302832367, "Content Listing": 0.0004150068108553247, "Creative Writing": 0.0003769104708057449, "Customer Support Page": 0.0008287658719791599, "Q&A Forum": 0.0002673729221860242, "Discussion Thread": 0.0002395384342287779, "Comment Section": 0.0004429074326395357, "Missing Content": 0.00046781797921359106, "Knowledge Article": 0.0017850319063475453, "Legal Notices": 0.790369154982658, "News Article": 0.0003613305851615471, "Organizational Announcement": 0.0004921355576753, "Nonfiction Writing": 0.0004080271980535533, "Organizational About Page": 0.00042508935384897873, "Personal About Page": 0.0002589701996758281, "Personal Blog": 0.00022337873214901453, "Product Page": 0.0002796652776024278, "Spam / Ads": 0.00033801473569867996, "Structured Data": 0.0003977281320915827, "Technical Writing": 0.06998927561360235, "Transcript / Interview": 0.0004863581711058888, "Tutorial / How-To Guide": 0.038183085245772456, "User Reviews": 0.00019060123561630694, "NONE": 0.09222651162074914}, "tertiary": {"Academic Writing": 0.0010017814002543548, "Content Listing": 0.0006030284346149658, "Creative Writing": 0.0006817731583849014, "Customer Support Page": 0.0010422954946931148, "Q&A Forum": 0.0003667939843386727, "Discussion Thread": 0.0003617810868033868, "Comment Section": 0.0005719748551858984, "Missing Content": 0.0007826574328138844, "Knowledge Article": 0.004370136175871186, "Legal Notices": 0.5928440304800342, "News Article": 0.0005330057389881722, "Organizational Announcement": 0.0007162953281452611, "Nonfiction Writing": 0.0008766170879124809, "Organizational About Page": 0.0006329811039009611, "Personal About Page": 0.0004212658366759856, "Personal Blog": 0.0003432795084713914, "Product Page": 0.0004638781443782617, "Spam / Ads": 0.0005560910693932301, "Structured Data": 0.0006019344515822848, "Technical Writing": 0.03662236622307751, "Transcript / Interview": 0.0007424350906852104, "Tutorial / How-To Guide": 0.08497514083692569, "User Reviews": 0.0003222738840175918, "NONE": 0.2695661831928515}, "structured_records": {"false": 0.9865730465201865, "true": 0.013426953479813467}, "procedural_steps": {"false": 0.7829488263284194, "true": 0.2170511736715805}, "worked_solution": {"false": 0.9971643817440726, "true": 0.0028356182559273356}, "contextual_dialogue": {"false": 0.9999946022336951, "true": 5.397766304937381e-06}, "content_quality": {"-2": 0.00415581433016723, "-1": 0.010907476463834482, "0": 0.15544969449673895, "1": 0.5333958325483392, "2": 0.2960911821609201}, "noise_severity": {"0": 0.5301444546238759, "1": 0.4067767774266944, "2": 0.05800204365730477, "3": 0.003054084602493459, "4": 0.002022639689631409}, "missing_content_severity": {"0": 0.9749242880160657, "1": 0.01743285746898673, "2": 0.005825003833133919, "3": 0.0013750516472119056, "4": 0.0004427990346018094}, "factual_density": {"0": 0.0031819241869783877, "1": 0.03581934158338414, "2": 0.18622587605234142, "3": 0.4140595076416683, "4": 0.36071335053562775}, "pretraining_utility": {"-2": 0.006873793182369224, "-1": 0.0650393451771326, "0": 0.3233705543832427, "1": 0.503046182505495, "2": 0.10167012475176045}, "math_density": {"0": 0.8876902404261452, "1": 0.0997533092948424, "2": 0.006856254897429828, "3": 0.0021657207940580414, "4": 0.003534474587524533}, "code_density": {"0": 0.0005258978863945415, "1": 0.001170186509342693, "2": 0.036723431616771676, "3": 0.3439458199918952, "4": 0.617634663995596}, "reasoning_density": {"0": 0.7135395194672849, "1": 0.17188628594768732, "2": 0.08709967247792456, "3": 0.018504540675305013, "4": 0.008969981431798264}, "education_level": {"none": 0.0009359359337946057, "0": 0.0016332214982820966, "1": 0.004846913312060586, "2": 0.2856787020797901, "3": 0.515496815896317, "4": 0.19140841127975558}, "creative_writing_quality": {"not_applicable": 0.999368607862023, "-2": 7.082955403185198e-05, "-1": 0.00013405390867552095, "0": 0.0003033797728608513, "1": 8.87289900989714e-05, "2": 3.4399912309802784e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 6.283415161075383e-05, "Art & Design": 0.00010157551433519725, "Law & Crime": 0.00010499814548525487, "Education & Careers": 5.822084310726338e-05, "Entertainment & Media": 4.9907420763954334e-05, "Fashion & Beauty": 4.431316463961213e-05, "Business, Economics & Finance": 7.835587843894382e-05, "Food & Dining": 4.571109595117262e-05, "Games & Gaming": 7.595319752965531e-05, "Electronics & Hardware": 0.0015859146950111226, "Health, Healthcare & Wellness": 6.117421426524715e-05, "History & Geography": 7.83782994427832e-05, "Home, Pets & Hobbies": 5.2092310034883375e-05, "Industry & Production": 6.693127275478245e-05, "Language, Literature & Philosophy": 5.6588231343879886e-05, "Politics & Government": 7.756041302382536e-05, "Religion & Spirituality": 5.441159996837153e-05, "Science, Mathematics & Engineering": 0.0042968230648085465, "Relationships & Community": 3.2547527461970984e-05, "Software Usage & Applications": 0.017432049225851964, "Programming & Software Engineering": 0.974822376305582, "Sports & Fitness": 7.986238103862157e-05, "Vehicles & Transportation": 4.10125557537559e-05, "Travel & Tourism": 6.531515664571411e-05, "Other / Uncovered Subject": 0.0005008581873476111, "Unknown / Insufficient Content": 7.423514780314656e-05}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0007893859948505189, "Art & Design": 0.0005711687460660583, "Law & Crime": 0.03829386983592768, "Education & Careers": 0.0005158480519262076, "Entertainment & Media": 0.0005707696139174196, "Fashion & Beauty": 0.0003569511980793001, "Business, Economics & Finance": 0.0009170386861311729, "Food & Dining": 0.0003153679788011822, "Games & Gaming": 0.0004130609522150348, "Electronics & Hardware": 0.0031078067758795705, "Health, Healthcare & Wellness": 0.00042985124296000886, "History & Geography": 0.00046560607490421307, "Home, Pets & Hobbies": 0.00033032854886559486, "Industry & Production": 0.00031008450264392927, "Language, Literature & Philosophy": 0.0002690481681994841, "Politics & Government": 0.001368567402473406, "Religion & Spirituality": 0.000557866340703364, "Science, Mathematics & Engineering": 0.006774124851076685, "Relationships & Community": 0.0002071209263018714, "Software Usage & Applications": 0.08916243761533614, "Programming & Software Engineering": 0.04120457032866999, "Sports & Fitness": 0.00033327402156418804, "Vehicles & Transportation": 0.00018225190245219408, "Travel & Tourism": 0.0004965543446598024, "Other / Uncovered Subject": 0.0016366771866560756, "NONE": 0.8104203687087389}}, "probability_diagnostics": {"primary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "tertiary": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "structured_records": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "procedural_steps": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "worked_solution": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "contextual_dialogue": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "content_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "noise_severity": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "missing_content_severity": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "factual_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "pretraining_utility": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "math_density": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "code_density": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "reasoning_density": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "education_level": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "creative_writing_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "primary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}}, "usage": {"input_tokens": 9823, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 9823, "cached_share": null, "cache_discount_reported": null, "reported_cost_usd": null}, "response_metadata": {"model": "decision-models/baseten-mammoth-27b-latest"}, "scored_at_utc": "2026-10-25T18:30:10.763125+00:00", "scoring_key_slot": "assistant_1", "dataset_uid": "bf8242f6-aa3f-44da-b0d8-ee62ab93eeda", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "b51debd72f643d2ea17ccf4d82daa0ce84258647a6a6e0e0e399a908f8212dcb", "source_metadata": {"uuid": "bf8242f6-aa3f-44da-b0d8-ee62ab93eeda", "repo_name": "oilshell/wild-corpus", "relative_path": "perf-tools/kernel/funccount", "category": "TOOL", "algo_rel_score": 0.9240325689315796, "quality_score": 4.633645534515381, "source_meta": {"github_metadata": {"branch": "main", "commit_count": 1, "repo_created_at": "2023-08-24T17:53:38.000Z", "is_fork": false, "is_org_owned": true, "forked_from": null, "stars": 8, "forks": 0, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "8a9e3b7e85db30e8ae4df574df9d188ab36c4356", "size_bytes": 4430, "file_timestamp": 1692899672, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "a6fe3886095ae03afd528aefe296a169738984bc"}}, "parsed_source_meta": {"github_metadata": {"branch": "main", "commit_count": 1, "repo_created_at": "2023-08-24T17:53:38.000Z", "is_fork": false, "is_org_owned": true, "forked_from": null, "stars": 8, "forks": 0, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "8a9e3b7e85db30e8ae4df574df9d188ab36c4356", "size_bytes": 4430, "file_timestamp": 1692899672, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "a6fe3886095ae03afd528aefe296a169738984bc", "url": "https://github.com/oilshell/wild-corpus/blob/a6fe3886095ae03afd528aefe296a169738984bc/perf-tools/kernel/funccount"}, "gpt4o_tokens": 1280, "dataset_split": "shell", "probability_weighted_scores": {"content_quality": 1.1063590917460104, "noise_severity": 0.5400336773073099, "missing_content_severity": 0.03497921621529752, "factual_density": 3.093303018755583, "pretraining_utility": 0.6275995004671449, "math_density": 0.1341008798219743, "code_density": 3.5769931657009555, "reasoning_density": 0.43747917865664454, "education_level": 2.891034233104207, "creative_writing_quality": -0.18718035102450606}, "score_applicability": {"education_level": 0.9990640640662054, "creative_writing_quality": 0.0006313921379769985}} {"source_group": "shell", "source": "openbmb/UltraData-Stack-v3-L2/shell", "domain": "github.com", "language": "shell", "url": "https://github.com/jhindmarsh/Photomaton/blob/4f32a2d18aff07c424a1a02e427fd45b65e9f37d/photo.sh", "id": "shell-0-d2e184c77190ff1f8f01525397978cb2", "text": "#!/bin/bash\n\n###################################################\n### VARIABLES\n###################################################\n\n date=$(date +\"%y-%m-%d_%H-%M-%S\")\n res1=$(date +%s.%N)\n\n#### Couleurs\n White='\\e[1;37m'\n Blue='\\e[0;34m'\n Green='\\e[0;32m'\n Cyan='\\e[0;36m'\n Red='\\e[0;31m'\n Purple='\\e[0;35m'\n Yellow='\\e[1;33m'\n Grey='\\e[0;30m'\n NC='\\e[39m'\n\n#### Chemins\n RACINE='/var/www/html' # Chemin racine du script et web\n IMG_WEB='/var/www/html/img/bg-img' # Chemin pour images site web\n IMG_RESET='/var/www/html/img/reset' # Images de remise à zéro\n LOG='/var/www/html/photomaton.log' # Fichier log pour debug\n CAPTURE='/var/www/html/capture' # Répertoire de capture photo\n PHOTOS='/var/www/html/photos' # Répertoire pour envoie gdrive\n WATERMARKED='/var/www/html/watermarked' # Répertoire pour images avec logo\n IMG_TMP='/var/www/html/tmp' # Répertoire pour optimisation\n\n\n whoami=$(whoami)\n\n###################################################\n### UTILITAIRES et DIVERS\n###################################################\n# Fonctions utilitaires pour debug et\n# analyse de logs\n\nphotomaton_timings()\n{\n res2=$(date +%s.%N)\n dt=$(echo \"$res2 - $res1\" | bc)\n dd=$(echo \"$dt/86400\" | bc)\n dt2=$(echo \"$dt-86400*$dd\" | bc)\n dh=$(echo \"$dt2/3600\" | bc)\n dt3=$(echo \"$dt2-3600*$dh\" | bc)\n dm=$(echo \"$dt3/60\" | bc)\n ds=$(echo \"$dt3-60*$dm\" | bc)\n\n printf \"Temps écoulé: %02.4f s \\n\" $ds\n\n}\n\nphotomaton_start(){\n echo -e \"${Green}--------------------------------------------------------------------------------${NC}\"\n echo -e \"${Green}------------------------ DEBUT DU SCRIPT ----------------------------------${NC}\"\n echo -e \"${Green}--------------------------------------------------------------------------------${NC}\"\n photomaton_timings\n\n}\n\nphotomaton_end(){\n\n\n photomaton_timings\n echo -e \"${Red}--------------------------------------------------------------------------------${NC}\"\n echo -e \"${Red}-------------------------- FIN DU SCRIPT --------------------------------${NC}\"\n echo -e \"${Red}--------------------------------------------------------------------------------${NC}\"\n\n}\n\n###################################################\n### PURGE DU DOSSIER PHOTOS\n###################################################\n# Supprimer toutes les photos dans le dossier photo\n# pour qu'il n'y ait qu'une seule photo lors de\n# l'éxécution des autres fonctions\n\nphotomaton_purge()\n{\n echo -e \"${Purple}++++++++++++++++++++++++++++++++++++++++${NC}\"\n echo -e \"${Yellow} Purge des photos !${NC}\"\n\n rm -v $CAPTURE/*.jpg\n\n cd $PHOTOS\n rm -vf $(ls -1t . | tail -n +5)\n\nphotomaton_timings\n}\n\n\n###################################################\n### EFFECTUER CAPTURE\n###################################################\n# Utiliser le programme gphoto2 pour prendre une photo\n# et transférer l'image dans le dossier $WEB/photos.\n# Le nom de l'image comporte la date de capture.\n\nphotomaton_capture()\n{\n echo -e \"${Purple}++++++++++++++++++++++++++++++++++++++++${NC}\"\n echo -e \"${Cyan} Capture de la photo ... ${NC}\"\n\n cd $CAPTURE\n sudo -u root sh -c \"gphoto2 --capture-image-and-download --filename=image_%Y-%m-%d_%H-%M-%S.jpg\"\n\n if [[ $? -ne 0 ]]; then\n echo -e \"${Red} Erreur de capture. ${NC}\"\n# exit 1\n fi\n\n photomaton_timings\n}\n\n###################################################\n### RENOMMER POUR AJOUT WATERMARK\n###################################################\nphotomaton_watermark()\n{\n echo -e \"${Purple}++++++++++++++++++++++++++++++++++++++++${NC}\"\n echo -e \"${Cyan} Ajout du logo Efficom ${NC}\"\n\n cp -v $CAPTURE/*.jpg $WATERMARKED\n cd -v $WATERMARKED\n mv -v *.jpg capture0000.jpg\n\n sleep 4\n\n mv -v capture0000.jpg $PHOTOS/image_$date.jpg\n\n photomaton_timings\n}\n\n###################################################\n### COPIE SUR CLE USB\n###################################################\nphotomaton_usb()\n{\n echo -e \"${Purple}++++++++++++++++++++++++++++++++++++++++${NC}\"\n echo -e \"${Cyan} Copie sur /media/usb${NC}\"\n\n if [ ! -d \"/media/usb/photos\" ]; then\n echo -e \"${Yellow} Création dossier photos sur clé USB... ${NC}\"\n mkdir /media/usb/photos/\n fi\n\n sudo -u root cp -v $PHOTOS/*.jpg /media/usb/photos\n\n photomaton_timings\n}\n\n###################################################\n### ENVOYER PHOTOS SUR CLOUD\n###################################################\nphotomaton_cloud()\n{\n echo -e \"${Purple}++++++++++++++++++++++++++++++++++++++++${NC}\"\n echo -e \"${Cyan} Transfert des photos sur Google Drive ...${NC}\"\n\n cd $RACINE\n cp -v $CAPTURE/*.jpg $PHOTOS/\n sudo -u www-data sh -c \"cd /var/www/html && gdrive sync upload photos 1NjbbyfiUYrF7x2yPxk7HbgdEqAqZFvhw\"\n echo -e \"${Cyan} Lien : ${Blue} https://drive.google.com/open?id=1NjbbyfiUYrF7x2yPxk7HbgdEqAqZFvhw ${NC}\"\n\n photomaton_timings\n}\n\n\n###################################################\n### OPTIMISER\n###################################################\n# Purge dossier tmp\n# Copie images haute qualité pour traitement dans tmp\n# Optimisation des images par compression jpg\n\nphotomaton_optim()\n{\n echo -e \"${Purple}++++++++++++++++++++++++++++++++++++++++${NC}\"\n echo -e \"${Cyan} Optimisation des photos JPEG ...${NC}\"\n\n rm -v $IMG_TMP/*.jpg\n cp -v $CAPTURE/*.jpg $IMG_TMP\n cd -v $IMG_TMP\n jpegoptim -m40 --strip-all *.jpg\n\n photomaton_timings\n}\n\n\n###################################################\n### AFFICHAGE DES PHOTOS LES PLUS RECENTES\n###################################################\n# Copie les images optimisées dans le dossier d'affichage\n\nphotomaton_web()\n{\n echo -e \"${Purple}++++++++++++++++++++++++++++++++++++++++${NC}\"\n echo -e \"${Cyan} Déplacement des photos pour affichage ...${NC}\"\n\n mv -v $IMG_TMP/*.jpg $IMG_WEB\n\n photomaton_timings\n}\n\n###################################################\n### ROTATIONS\n###################################################\n# Supprimer les fichiers les plus anciens en ignorant les 4 plus récents\n# La photo la plus ancienne est supprimée\n# Il ne reste que les 3 plus récentes et la photo qui vient d'être prise\n# Renommer les images en 5-9.jpg pour éviter les conflits\n# Renommer les images en 1-4.jpg pour être affichés sur le site web\n\nphotomaton_rotate()\n{\n echo -e \"${Purple}++++++++++++++++++++++++++++++++++++++++${NC}\"\n echo -e \"${Cyan} Suppression de la plus ancienne photo ...${NC}\"\n\n cd $IMG_WEB\n rm -f $(ls -1t . | tail -n +5)\n\n mv -v 3.jpg 4.jpg\n mv -v 2.jpg 3.jpg\n mv -v 1.jpg 2.jpg\n mv -v image_*.jpg 1.jpg\n\n # a=5\n # for i in *.jpg; do\n # mv \"$i\" \"$a\".jpg\n # let a=a+1\n # done\n #\n # a=1\n # for i in *.jpg; do\n # mv \"$i\" \"$a\".jpg\n # let a=a+1\n # done\n\n photomaton_timings\n}\n\n\n######################################################################################################\n######################################################################################################\n##### #####\n##### LE SCRIPT PRINCIPAL COMMENCE ICI #####\n##### #####\n######################################################################################################\n######################################################################################################\n\nphotomaton_start >> $RACINE/photomaton.log\nphotomaton_timings >> $RACINE/photomaton.log\n\n## Phase de capture de photo avec gphoto2\nphotomaton_purge >> $RACINE/photomaton.log\nphotomaton_capture >> $RACINE/photomaton.log\n\n## Ajout du logo Efficom par php\n# photomaton_watermark >> $RACINE/photomaton.log # Fonction désactivée, géré par php\n\n## Optimisation et affichage avec jpegoptim et site web\nphotomaton_optim >> $RACINE/photomaton.log\nphotomaton_web >> $RACINE/photomaton.log\nphotomaton_rotate >> $RACINE/photomaton.log\n\n## Stockage des photos sur clé USB et sur Google Drive avec gdrive\nphotomaton_usb >> $RACINE/photomaton.log\nphotomaton_cloud >> $RACINE/photomaton.log\nphotomaton_purge >> $RACINE/photomaton.log\n\nphotomaton_end >> $RACINE/photomaton.log\n", "text_preview": "#!/bin/bash ################################################### ### VARIABLES ################################################### date=$(date +\"%y-%m-%d_%H-%M-%S\") res1=$(date +%s.%N) #### Couleurs White='\\e[1;37m' Blue='\\e[0;34m' Green='\\e", "input_sha256": "f48d15145855f07c5a0c3746315fa09551c9f798d455b7339be9d10e49ca8d65", "text_sha256": "d2e184c77190ff1f8f01525397978cb2ad68a91b956491a3e18608052c53f857", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 20021, "input_policy": "text-and-optional-url-v1", "label_policy_version": 12, "requested_model": "decision-models/baseten-mammoth-27b-latest", "backend": "baseten", "endpoint": "https://inference.baseten.co/v1/systemone", "status": "ok", "training_eligible": true, "label": {"primary": {"main_format": "Technical Writing", "sub_format": null}, "secondary": null, "tertiary": null, "content_structure": []}, "candidate_label": null, "topic": {"primary": {"main_topic": "Programming & Software Engineering", "sub_topic": null}, "secondary": null}, "scores": {"content_quality": 1, "noise_severity": 0, "missing_content_severity": 0, "factual_density": 3, "pretraining_utility": 0, "math_density": 0, "code_density": 4, "reasoning_density": 0, "education_level": 2, "creative_writing_quality": null}, "score_expectations": {"content_quality": 0.5894209281586434, "noise_severity": 0.30871096805667747, "missing_content_severity": 0.047965338207141675, "factual_density": 3.0968949015820035, "pretraining_utility": 0.3490807044999694, "math_density": 0.5447660563720536, "code_density": 3.7397218200274165, "reasoning_density": 0.3707694018369411, "education_level": 1.953866282025997, "creative_writing_quality": -0.3953624076114957}, "api_choices": {"primary": "Technical Writing", "secondary": "NONE", "tertiary": "NONE", "education_level": "2", "creative_writing_quality": "not_applicable", "primary_topic": "Programming & Software Engineering", "secondary_topic": "NONE"}, "review_reasons": [], "format_slot_diagnostics": {"comparable": true, "secondary_tertiary_identical": false, "secondary_tertiary_max_abs_gap": 0.00980865703871625, "secondary_choice": "NONE", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.9897149481837815, "secondary": 0.9480554908090172, "tertiary": 0.958290611197243, "structured_records": 0.012512156232715541, "procedural_steps": 0.17177259186461943, "worked_solution": 0.0033993751542370633, "contextual_dialogue": 5.302560161268714e-06, "content_quality": 0.47303124779148253, "noise_severity": 0.7427408599527687, "missing_content_severity": 0.9600288848273819, "factual_density": 0.5025056751980641, "pretraining_utility": 0.47711145999907134, "math_density": 0.5460282863566219, "code_density": 0.7831015166895137, "reasoning_density": 0.6910254984692157, "education_level": 0.7471855877853059, "creative_writing_quality": 0.9993127064505722, "primary_topic": 0.9732325993682271, "secondary_topic": 0.7747945398360274}, "probability_margin": {"primary": 0.984654334201807, "secondary": 0.9264520338875483, "tertiary": 0.9447831281324943, "education_level": 0.6667664516957402, "creative_writing_quality": 0.9992066587831263, "primary_topic": 0.9656620599806854, "secondary_topic": 0.6929886324955324}, "raw_probabilities": {"primary": {"Academic Writing": 7.03725640152704e-05, "Content Listing": 4.62666048126669e-05, "Creative Writing": 5.232321310306729e-05, "Customer Support Page": 3.0238487478732098e-05, "Q&A Forum": 3.0467862760109582e-05, "Discussion Thread": 2.2321131221431648e-05, "Comment Section": 4.256229104833249e-05, "Missing Content": 4.896500553411283e-05, "Knowledge Article": 0.00017959555840271537, "Legal Notices": 5.4214880902768576e-05, "News Article": 1.4304404573453251e-05, "Organizational Announcement": 2.8977030285379558e-05, "Nonfiction Writing": 3.2946567861058895e-05, "Organizational About Page": 3.7062486527443264e-05, "Personal About Page": 4.879546395054852e-05, "Personal Blog": 2.6111953972394496e-05, "Product Page": 2.2343152928045305e-05, "Spam / Ads": 4.273341894859353e-05, "Structured Data": 0.0005248674030730551, "Technical Writing": 0.9901434920094573, "Transcript / Interview": 4.750220665754616e-05, "Tutorial / How-To Guide": 0.005489157807650208, "User Reviews": 1.871939969232999e-05, "Other / Unknown": 0.002945659095143533}, "secondary": {"Academic Writing": 0.00027492661364835044, "Content Listing": 0.00019309276660034328, "Creative Writing": 0.00025148499801591634, "Customer Support Page": 0.00016112808114193445, "Q&A Forum": 0.00011304851567225065, "Discussion Thread": 8.665651663276721e-05, "Comment Section": 0.0003494628153577403, "Missing Content": 0.0008695031311074288, "Knowledge Article": 0.0015501751891380702, "Legal Notices": 0.0002745230058094653, "News Article": 0.00012291404633028107, "Organizational Announcement": 0.00014847495474150079, "Nonfiction Writing": 0.0001480377824625671, "Organizational About Page": 0.0001644472117482523, "Personal About Page": 0.0001637796941702336, "Personal Blog": 0.00014506064276702512, "Product Page": 9.124532171545156e-05, "Spam / Ads": 0.0003128984530284848, "Structured Data": 0.0019972469476076692, "Technical Writing": 0.02376781147109322, "Transcript / Interview": 0.00018496624873382746, "Tutorial / How-To Guide": 0.018331308593298276, "User Reviews": 7.796164053751402e-05, "NONE": 0.9502198453586415}, "tertiary": {"Academic Writing": 0.00024199621548295526, "Content Listing": 0.00019180609766746386, "Creative Writing": 0.00022468555850782725, "Customer Support Page": 0.00014721536722092578, "Q&A Forum": 8.935895357978669e-05, "Discussion Thread": 7.505355963476068e-05, "Comment Section": 0.0003921989753855412, "Missing Content": 0.0012863542385213593, "Knowledge Article": 0.0024222030431106543, "Legal Notices": 0.0005342091539556279, "News Article": 0.0001026714483411598, "Organizational Announcement": 0.00013968703500840502, "Nonfiction Writing": 0.00017286873441878974, "Organizational About Page": 0.00014227404003263334, "Personal About Page": 0.00013789679375714566, "Personal Blog": 0.00012007464156439813, "Product Page": 8.901414136485579e-05, "Spam / Ads": 0.0008217265124914704, "Structured Data": 0.0025717836689011634, "Technical Writing": 0.014607405594096188, "Transcript / Interview": 0.0001560960111838584, "Tutorial / How-To Guide": 0.015245374264863554, "User Reviews": 5.954355355169639e-05, "NONE": 0.9600285023973579}, "structured_records": {"false": 0.9874878437672845, "true": 0.012512156232715541}, "procedural_steps": {"false": 0.8282274081353805, "true": 0.17177259186461943}, "worked_solution": {"false": 0.996600624845763, "true": 0.0033993751542370633}, "contextual_dialogue": {"false": 0.9999946974398387, "true": 5.302560161268714e-06}, "content_quality": {"-2": 0.014131709992091089, "-1": 0.08177515752893641, "0": 0.3155253422116427, "1": 0.47767607486289776, "2": 0.11089171540443216}, "noise_severity": {"0": 0.7530520619205362, "1": 0.19639516549859287, "2": 0.041966074000234145, "3": 0.0059631397649309555, "4": 0.0026235588157058573}, "missing_content_severity": {"0": 0.956818034734729, "1": 0.03974688448052426, "2": 0.002371280552081196, "3": 0.000779308308207873, "4": 0.0002844919244578525}, "factual_density": {"0": 0.006300067951368803, "1": 0.02176055851824397, "2": 0.18762782319956545, "3": 0.43736750465865865, "4": 0.3469440456721632}, "pretraining_utility": {"-2": 0.011396213836944988, "-1": 0.1164003440766825, "0": 0.4316482310268927, "1": 0.3928369458684177, "2": 0.047718265191062086}, "math_density": {"0": 0.5275329778160637, "1": 0.4249528098463905, "2": 0.03230381743618775, "3": 0.005635967952144698, "4": 0.009574426949213372}, "code_density": {"0": 0.00034825613184758376, "1": 0.0006656467801149292, "2": 0.017560193055720485, "3": 0.22176782899340752, "4": 0.7596580750389095}, "reasoning_density": {"0": 0.7618141612516398, "1": 0.1312944971363356, "2": 0.08550212226545478, "3": 0.01708621721658354, "4": 0.0043030021299863405}, "education_level": {"none": 0.0017725903898890406, "0": 0.0049495467764151336, "1": 0.12255487145868123, "2": 0.7893213231544215, "3": 0.07640131321854689, "4": 0.0050003550020461295}, "creative_writing_quality": {"not_applicable": 0.9994272553754768, "-2": 8.852706929475779e-05, "-1": 0.0001668203805270553, "0": 0.00022059659235048332, "1": 7.6168339282901e-05, "2": 2.0632243067848213e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 6.88553723420854e-05, "Art & Design": 0.001383057795594067, "Law & Crime": 0.00010697164766969042, "Education & Careers": 7.198426601646438e-05, "Entertainment & Media": 0.0021355843631916302, "Fashion & Beauty": 0.00013967488861041177, "Business, Economics & Finance": 0.0002710746855774187, "Food & Dining": 0.00010595512305322097, "Games & Gaming": 0.00011468920658190889, "Electronics & Hardware": 0.008600054796456114, "Health, Healthcare & Wellness": 8.277779931839477e-05, "History & Geography": 0.00010379568276854669, "Home, Pets & Hobbies": 0.0009533729087929624, "Industry & Production": 0.00017771951877117569, "Language, Literature & Philosophy": 7.69260276967915e-05, "Politics & Government": 5.904876866559648e-05, "Religion & Spirituality": 7.595922263806529e-05, "Science, Mathematics & Engineering": 0.0004615581570028685, "Relationships & Community": 6.108581547298793e-05, "Software Usage & Applications": 0.007878175498505198, "Programming & Software Engineering": 0.9742621147771415, "Sports & Fitness": 0.00010932944694478797, "Vehicles & Transportation": 6.032315225056081e-05, "Travel & Tourism": 0.00010895863427059457, "Other / Uncovered Subject": 0.0023892834391389295, "Unknown / Insufficient Content": 0.00014166900552806282}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0011430948661000828, "Art & Design": 0.023260131970555258, "Law & Crime": 0.0009077735138470802, "Education & Careers": 0.0005577471682999437, "Entertainment & Media": 0.018269278758824337, "Fashion & Beauty": 0.0008277133028290672, "Business, Economics & Finance": 0.0018903924649433565, "Food & Dining": 0.0005860584760779081, "Games & Gaming": 0.0006510099805602413, "Electronics & Hardware": 0.033261581482414274, "Health, Healthcare & Wellness": 0.0005896014468400133, "History & Geography": 0.0005864266331876823, "Home, Pets & Hobbies": 0.002123672778957258, "Industry & Production": 0.0006169148858727416, "Language, Literature & Philosophy": 0.00037516022207207544, "Politics & Government": 0.0004504742105963921, "Religion & Spirituality": 0.00047343220257171545, "Science, Mathematics & Engineering": 0.0013887894485473794, "Relationships & Community": 0.00029908626473826083, "Software Usage & Applications": 0.09046765580834003, "Programming & Software Engineering": 0.0305211748169348, "Sports & Fitness": 0.0005067114965891734, "Vehicles & Transportation": 0.00030980368954347786, "Travel & Tourism": 0.0006686130169260829, "Other / Uncovered Subject": 0.005811412789958818, "NONE": 0.7834562883038725}}, "probabilities": {"primary": {"Academic Writing": 7.03725640152704e-05, "Content Listing": 4.62666048126669e-05, "Creative Writing": 5.232321310306729e-05, "Customer Support Page": 3.0238487478732098e-05, "Q&A Forum": 3.0467862760109582e-05, "Discussion Thread": 2.2321131221431648e-05, "Comment Section": 4.256229104833249e-05, "Missing Content": 4.896500553411283e-05, "Knowledge Article": 0.00017959555840271537, "Legal Notices": 5.4214880902768576e-05, "News Article": 1.4304404573453251e-05, "Organizational Announcement": 2.8977030285379558e-05, "Nonfiction Writing": 3.2946567861058895e-05, "Organizational About Page": 3.7062486527443264e-05, "Personal About Page": 4.879546395054852e-05, "Personal Blog": 2.6111953972394496e-05, "Product Page": 2.2343152928045305e-05, "Spam / Ads": 4.273341894859353e-05, "Structured Data": 0.0005248674030730551, "Technical Writing": 0.9901434920094573, "Transcript / Interview": 4.750220665754616e-05, "Tutorial / How-To Guide": 0.005489157807650208, "User Reviews": 1.871939969232999e-05, "Other / Unknown": 0.002945659095143533}, "secondary": {"Academic Writing": 0.00027492661364835044, "Content Listing": 0.00019309276660034328, "Creative Writing": 0.00025148499801591634, "Customer Support Page": 0.00016112808114193445, "Q&A Forum": 0.00011304851567225065, "Discussion Thread": 8.665651663276721e-05, "Comment Section": 0.0003494628153577403, "Missing Content": 0.0008695031311074288, "Knowledge Article": 0.0015501751891380702, "Legal Notices": 0.0002745230058094653, "News Article": 0.00012291404633028107, "Organizational Announcement": 0.00014847495474150079, "Nonfiction Writing": 0.0001480377824625671, "Organizational About Page": 0.0001644472117482523, "Personal About Page": 0.0001637796941702336, "Personal Blog": 0.00014506064276702512, "Product Page": 9.124532171545156e-05, "Spam / Ads": 0.0003128984530284848, "Structured Data": 0.0019972469476076692, "Technical Writing": 0.02376781147109322, "Transcript / Interview": 0.00018496624873382746, "Tutorial / How-To Guide": 0.018331308593298276, "User Reviews": 7.796164053751402e-05, "NONE": 0.9502198453586415}, "tertiary": {"Academic Writing": 0.0002419962154829552, "Content Listing": 0.0001918060976674638, "Creative Writing": 0.0002246855585078272, "Customer Support Page": 0.00014721536722092575, "Q&A Forum": 8.935895357978667e-05, "Discussion Thread": 7.505355963476067e-05, "Comment Section": 0.00039219897538554107, "Missing Content": 0.001286354238521359, "Knowledge Article": 0.002422203043110654, "Legal Notices": 0.0005342091539556278, "News Article": 0.00010267144834115978, "Organizational Announcement": 0.000139687035008405, "Nonfiction Writing": 0.0001728687344187897, "Organizational About Page": 0.0001422740400326333, "Personal About Page": 0.00013789679375714563, "Personal Blog": 0.0001200746415643981, "Product Page": 8.901414136485577e-05, "Spam / Ads": 0.0008217265124914702, "Structured Data": 0.002571783668901163, "Technical Writing": 0.014607405594096184, "Transcript / Interview": 0.00015609601118385838, "Tutorial / How-To Guide": 0.01524537426486355, "User Reviews": 5.954355355169638e-05, "NONE": 0.9600285023973577}, "structured_records": {"false": 0.9874878437672845, "true": 0.012512156232715541}, "procedural_steps": {"false": 0.8282274081353805, "true": 0.17177259186461943}, "worked_solution": {"false": 0.996600624845763, "true": 0.0033993751542370633}, "contextual_dialogue": {"false": 0.9999946974398387, "true": 5.302560161268714e-06}, "content_quality": {"-2": 0.014131709992091089, "-1": 0.08177515752893641, "0": 0.3155253422116427, "1": 0.47767607486289776, "2": 0.11089171540443216}, "noise_severity": {"0": 0.7530520619205362, "1": 0.19639516549859287, "2": 0.041966074000234145, "3": 0.0059631397649309555, "4": 0.0026235588157058573}, "missing_content_severity": {"0": 0.9568180347347288, "1": 0.039746884480524255, "2": 0.0023712805520811958, "3": 0.0007793083082078728, "4": 0.00028449192445785244}, "factual_density": {"0": 0.006300067951368803, "1": 0.02176055851824397, "2": 0.18762782319956545, "3": 0.43736750465865865, "4": 0.3469440456721632}, "pretraining_utility": {"-2": 0.011396213836944988, "-1": 0.1164003440766825, "0": 0.4316482310268927, "1": 0.3928369458684177, "2": 0.047718265191062086}, "math_density": {"0": 0.5275329778160637, "1": 0.4249528098463905, "2": 0.03230381743618775, "3": 0.005635967952144698, "4": 0.009574426949213372}, "code_density": {"0": 0.00034825613184758376, "1": 0.0006656467801149292, "2": 0.017560193055720485, "3": 0.22176782899340752, "4": 0.7596580750389095}, "reasoning_density": {"0": 0.7618141612516398, "1": 0.1312944971363356, "2": 0.08550212226545478, "3": 0.01708621721658354, "4": 0.0043030021299863405}, "education_level": {"none": 0.0017725903898890409, "0": 0.004949546776415134, "1": 0.12255487145868124, "2": 0.7893213231544216, "3": 0.0764013132185469, "4": 0.00500035500204613}, "creative_writing_quality": {"not_applicable": 0.9994272553754769, "-2": 8.85270692947578e-05, "-1": 0.00016682038052705532, "0": 0.00022059659235048335, "1": 7.616833928290102e-05, "2": 2.0632243067848216e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 6.88553723420854e-05, "Art & Design": 0.001383057795594067, "Law & Crime": 0.00010697164766969042, "Education & Careers": 7.198426601646438e-05, "Entertainment & Media": 0.0021355843631916302, "Fashion & Beauty": 0.00013967488861041177, "Business, Economics & Finance": 0.0002710746855774187, "Food & Dining": 0.00010595512305322097, "Games & Gaming": 0.00011468920658190889, "Electronics & Hardware": 0.008600054796456114, "Health, Healthcare & Wellness": 8.277779931839477e-05, "History & Geography": 0.00010379568276854669, "Home, Pets & Hobbies": 0.0009533729087929624, "Industry & Production": 0.00017771951877117569, "Language, Literature & Philosophy": 7.69260276967915e-05, "Politics & Government": 5.904876866559648e-05, "Religion & Spirituality": 7.595922263806529e-05, "Science, Mathematics & Engineering": 0.0004615581570028685, "Relationships & Community": 6.108581547298793e-05, "Software Usage & Applications": 0.007878175498505198, "Programming & Software Engineering": 0.9742621147771415, "Sports & Fitness": 0.00010932944694478797, "Vehicles & Transportation": 6.032315225056081e-05, "Travel & Tourism": 0.00010895863427059457, "Other / Uncovered Subject": 0.0023892834391389295, "Unknown / Insufficient Content": 0.00014166900552806282}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.001143094866100083, "Art & Design": 0.02326013197055526, "Law & Crime": 0.0009077735138470803, "Education & Careers": 0.0005577471682999438, "Entertainment & Media": 0.01826927875882434, "Fashion & Beauty": 0.0008277133028290673, "Business, Economics & Finance": 0.0018903924649433567, "Food & Dining": 0.0005860584760779082, "Games & Gaming": 0.0006510099805602414, "Electronics & Hardware": 0.03326158148241428, "Health, Healthcare & Wellness": 0.0005896014468400134, "History & Geography": 0.0005864266331876824, "Home, Pets & Hobbies": 0.0021236727789572586, "Industry & Production": 0.0006169148858727417, "Language, Literature & Philosophy": 0.0003751602220720755, "Politics & Government": 0.00045047421059639213, "Religion & Spirituality": 0.0004734322025717155, "Science, Mathematics & Engineering": 0.0013887894485473797, "Relationships & Community": 0.0002990862647382609, "Software Usage & Applications": 0.09046765580834004, "Programming & Software Engineering": 0.030521174816934803, "Sports & Fitness": 0.0005067114965891735, "Vehicles & Transportation": 0.0003098036895434779, "Travel & Tourism": 0.000668613016926083, "Other / Uncovered Subject": 0.005811412789958819, "NONE": 0.7834562883038726}}, "probability_diagnostics": {"primary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "tertiary": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "structured_records": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "procedural_steps": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "worked_solution": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "contextual_dialogue": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "content_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "noise_severity": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "missing_content_severity": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "factual_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "pretraining_utility": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "math_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "code_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "reasoning_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "education_level": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "creative_writing_quality": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "primary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary_topic": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}}, "usage": {"input_tokens": 10690, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 10690, "cached_share": null, "cache_discount_reported": null, "reported_cost_usd": null}, "response_metadata": {"model": "decision-models/baseten-mammoth-27b-latest"}, "scored_at_utc": "2026-10-25T18:30:11.145745+00:00", "scoring_key_slot": "primary", "dataset_uid": "e13489fa-8626-4971-b159-5f260baf0db9", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "633fb3408a3a48185c93238c1a1a94877f4531ca622438ef1b278e019071a425", "source_metadata": {"uuid": "e13489fa-8626-4971-b159-5f260baf0db9", "repo_name": "jhindmarsh/Photomaton", "relative_path": "photo.sh", "category": "TOOL", "algo_rel_score": 0.9629372954368591, "quality_score": 3.166327714920044, "source_meta": {"github_metadata": {"branch": "master", "commit_count": 3, "repo_created_at": "2018-09-10T17:48:41.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 0, "forks": 0, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "e66c1d7ba4bf98ac0903f8ef5e886c0a96e666e3", "size_bytes": 8221, "file_timestamp": 1536602070, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "4f32a2d18aff07c424a1a02e427fd45b65e9f37d"}}, "parsed_source_meta": {"github_metadata": {"branch": "master", "commit_count": 3, "repo_created_at": "2018-09-10T17:48:41.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 0, "forks": 0, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "e66c1d7ba4bf98ac0903f8ef5e886c0a96e666e3", "size_bytes": 8221, "file_timestamp": 1536602070, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "4f32a2d18aff07c424a1a02e427fd45b65e9f37d", "url": "https://github.com/jhindmarsh/Photomaton/blob/4f32a2d18aff07c424a1a02e427fd45b65e9f37d/photo.sh"}, "gpt4o_tokens": 2054, "dataset_split": "shell", "probability_weighted_scores": {"content_quality": 0.5894209281586434, "noise_severity": 0.30871096805667747, "missing_content_severity": 0.047965338207141675, "factual_density": 3.0968949015820035, "pretraining_utility": 0.3490807044999694, "math_density": 0.5447660563720536, "code_density": 3.7397218200274165, "reasoning_density": 0.3707694018369411, "education_level": 1.953866282025997, "creative_writing_quality": -0.3953624076114957}, "score_applicability": {"education_level": 0.998227409610111, "creative_writing_quality": 0.0005727446245230457}} {"source_group": "shell", "source": "openbmb/UltraData-Stack-v3-L2/shell", "domain": "github.com", "language": "shell", "url": "https://github.com/nuxeo/richfaces-3.3/blob/485749c5f49ac6169d9187cc448110d477acab3b/docs/release.sh", "id": "shell-0-b18ae5a514e85b263f2553a49138f26c", "text": "#!/bin/bash\n# This script is used for the documentation release build\n# Author: <>\n\n#REQUIREMENTS:\n# If you use cygwin, please, check whether 'cpio' package is installed\n\n#NOTE:\n# If some docs were added you should add the pathes to the DOCS array:\n# 1. proceed to the $TRUNK/ui/assembly directory \n# 2. open pom.xml file in your favorite text editor\n# 3. find release profile with maven-dependency-plugin inside\n# 4. add necessary artifactItem, e.g.\n#\t\n#\t\torg.richfaces.docs.userguide\n#\t\ten\n#\t\t${project.version}\n#\t\tjar\n#\t\t${project.build.directory}/docs/userguide/en\n#\t\n# 5. finally you should add necessary docs formats to the DOCS array as follows:\n# [n]=\"SRC=$TRUNK/ui/assembly/target/docs/userguide/en/html TARGET=$FREEZONE/devguide/en/html\"\n# where'n' is the next array index\n\n\n# If you run this script for the first time or some docs were already added you could check all the pathes in the DOCS array. In order to check them take the following steps:\n# 1. run the following command from the trunk root: mvn clean install -P release,docs,release_docs -Dmaven.test.skip=true \n# 2. proceed to the $TRUNK/ui/assembly/target directory and check all pathes that have been defined in the DOCS array, SRC field. If some of them have been changed rewrite them manually \n# 3. finnally proceed to the $FREEZONE directory and check all pathes that have been defined in the DOCS array, TARGET field. If some of them have been changed rewrite them manually\n\n## Array of DOCs\n##############################################################################################################\nDOCS=(\n\t[0]=\"SRC=$TRUNK/ui/assembly/target/apidocs TARGET=$FREEZONE/apidoc\"\n\t[1]=\"SRC=$TRUNK/ui/assembly/target/tlddoc TARGET=$FREEZONE/tlddoc\"\n\t[2]=\"SRC=$TRUNK/framework/api/target/site/apidocs TARGET=$FREEZONE/apidoc_framework\"\n\t[3]=\"SRC=$TRUNK/ui/assembly/target/docs/migration/en TARGET=$FREEZONE/migrationguide/en\"\n\t[4]=\"SRC=$TRUNK/ui/assembly/target/docs/cdkguide/en/ TARGET=$FREEZONE/cdkguide/en\"\n\t[5]=\"SRC=$TRUNK/ui/assembly/target/docs/faq/en/html_single TARGET=$FREEZONE/devguide/en/faq\"\n\t[6]=\"SRC=$TRUNK/ui/assembly/target/docs/userguide/en/html TARGET=$FREEZONE/devguide/en/html\"\n\t[7]=\"SRC=$TRUNK/ui/assembly/target/docs/userguide/en/html_single TARGET=$FREEZONE/devguide/en/html_single\"\n\t[8]=\"SRC=$TRUNK/ui/assembly/target/docs/userguide/en/pdf TARGET=$FREEZONE/devguide/en/pdf\"\n\t[9]=\"SRC=$TRUNK/ui/assembly/target/docs/photo_album_app_guide/en/pdf TARGET=$FREEZONE/photo_album_app_guide/en/pdf\"\n\t[10]=\"SRC=$TRUNK/ui/assembly/target/docs/photo_album_app_guide/en/html TARGET=$FREEZONE/photo_album_app_guide/en/html\"\n\t[11]=\"SRC=$TRUNK/ui/assembly/target/docs/photo_album_app_guide/en/html_single TARGET=$FREEZONE/photo_album_app_guide/en/html_single\"\n)\n\n##############################################################################################################\n\n\nfunction die(){\n\tprintLog \"$@\"\n\texit 1\n}\n\nfunction cleanAndCopy () {\n\tfor (( i=0;i<${#DOCS[@]};i++)); do\n\t\tdoc=\"DOCS[i]\"\n\t\tlocal ${!doc}\n\t\tcd $TARGET\n\t\tprintLog \"Deleting old files\"\n\t\tfind -name .svn -prune -o \\( -name \\* -type f -print0 \\)| xargs -0 /bin/rm -f || die \"Something wrong with deleting old files. Please, see the log\";\n\t\tcd $SRC\n\t\tprintLog \"Copying new files\"\n\t\tfind -name .svn -prune -o \\( -name \\* -print0 \\) | cpio -pmd0 $TARGET >> $LOG 2>&1 || die \"Something wrong with copying. Please, see the log\"; \n\tdone\n}\n\nfunction delAddCi(){\n\tfor (( i=0;i<${#DOCS[@]};i++)); do\n\t\tdoc=\"DOCS[i]\"\n\t\tlocal ${!doc}\n\t\tcd $TARGET\n\t\t#Try to add new files\n\t\tprintLog \"Try to add new files...\"\n\t\tsvn status | grep '^\\?' | grep -o -P [^\\?^\" \"\"\\n\\r?\"]+ | while read -r;do svn add $REPLY >> $LOG 2>&1; done || die \"Something wrong with svn add. See the log file\"\n\n\t\t#Try to delete missing files\n\t\tprintLog \"Try to delete unnecessary files...\"\n\t\tsvn status | grep '^\\!' | grep -o -P [^\\!^\" \"\"\\n\\r?\"]+ | while read -r;do svn rm $REPLY >> $LOG 2>&1; done || die \"Something wrong with svn remove. See the log file\"\n\t\t\n\t\t#Try to commit files\n\t\t#printLog \"Try to commit files...\"\n\t\t#svn commit --username $USER --password $ --message $MESSAGE >> $LOG 2>&1 || die \"Something wrong with svn commit. See the log file\"\n\tdone\n}\n\nfunction printLog () {\n\techo \"$@\"\n\techo \"/*-------------------------------------------------*/\" >> $LOG\n\techo >> $LOG\n\techo \"$@\" >> $LOG\n\techo >> $LOG\n\techo \"/*-------------------------------------------------*/\" >> $LOG\n\techo >> $LOG\n}\n\nfunction validateInput () {\n\tif [ -d $@ ]\n\tthen\n\techo \"\"\n\telse\n\tdie $@ \": No such directory\"\n\tfi\n}\n\necho -e \"\\n\\r Attention! \n\\r If you use cygwin, please, check whether 'cpio' package is installed!\n\\r If you run this script for the first time or some new docs were added to the build \\r \n\\r you should check all the pathes in the DOCS array! \n\\r In order to check them, please, open this shell script in your favorite text editor and read NOTE section at the beginnig of the file.\"\nwhile true\ndo\n echo -n \"Are you sure to begin build process? [Y or N] :\"\n read CONFIRM\n case $CONFIRM in\n y|Y|YES|yes|Yes) break ;;\n n|N|no|NO|No)\n echo \"Thank you for you patience\"\n exit\n ;;\n *) echo Please enter only y or n\n esac\ndone\n\n\necho -n \"Define the ABSOLUTE path to the 'trunk' directory:\"\nread -e TRUNK \nvalidateInput $TRUNK\necho -n \"Define the ABSOLUTE path to the 'freezone/doc':\"\nread -e FREEZONE \nvalidateInput $FREEZONE\necho -n \"Define the ABSOLUTE path to the log file (e.g. /home/user/RFDocRelease.txt:\"\nread -e LOG \necho -n \"Specify your user name for commit:\"\nread -e USER \nread -s -p \"Specify your password for commit: \" PASS\necho \"\"\necho -n \"Enter a message for commit:\"\nread -e MESSAGE\n\n#Remove old log\nif [ -e $LOG ]\nthen\n\trm $LOG\nfi\n\n#Update the FREEZONE\ncd $FREEZONE\nprintLog \"Svn update $FREEZONE is in progress...\"\nsvn up >> $LOG 2>&1 || printLog \"Svn cleanup $FREEZONE will be performed and then I will try to update again.\"; svn cleanup; svn up >> $LOG 2>&1 || die \"Something wrong with svn update in \"$FREEZONE\n\n#Update the trunk\ncd $TRUNK\nprintLog \"Svn update $TRUNK is in progress...\"\nsvn up >> $LOG 2>&1 || printLog \"Svn cleanup $TRUNK will be performed and then I will try to update again.\"; svn cleanup; svn up >> $LOG 2>&1 || die \"Something wrong with svn update in \"$TRUNK\n\n#Docs, TLD and API docs\nprintLog \"Docs, TLD and API building is in progress...\"\nmvn clean install -P release,docs,release_docs -Dmaven.test.skip=true >> $LOG 2>&1 || die \"Something wrong with building trunk. Please, see the maven log\"\n\n# Framework API building\ncd $TRUNK/framework/api\nprintLog \"Framework API building is in progress...\"\nmvn javadoc:javadoc >> $LOG 2>&1 || die \"Something wrong with building API docs. Please, see the maven log\"\n\n#Copying all docs\nprintLog \"Copying all docs...\"\ncleanAndCopy;\n\ncd $FREEZONE/devguide/en/pdf\nprintLog \"Renaming richfaces_reference.pdf to richfaces-usersguide.pdf\"\nmv richfaces_reference.pdf richfaces-usersguide.pdf\n\ndelAddCi;\n", "text_preview": "#!/bin/bash # This script is used for the documentation release build # Author: <> #REQUIREMENTS: # If you use cygwin, please, check whether 'cpio' package is installed #NOTE: # If some docs were added you should add the pathe", "input_sha256": "f846e8cbdc083ed2818eb89b430a0fb779544430683ace514d41703d1e3b8e3e", "text_sha256": "b18ae5a514e85b263f2553a49138f26c054867fbad9516e47c250c66f7e4f0df", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 20023, "input_policy": "text-and-optional-url-v1", "label_policy_version": 12, "requested_model": "decision-models/baseten-mammoth-27b-latest", "backend": "baseten", "endpoint": "https://inference.baseten.co/v1/systemone", "status": "needs_review", "training_eligible": false, "label": null, "candidate_label": {"primary": {"main_format": "Technical Writing", "sub_format": null}, "secondary": {"main_format": "Tutorial / How-To Guide", "sub_format": null}, "tertiary": null, "content_structure": ["procedural_steps"]}, "topic": {"primary": {"main_topic": "Programming & Software Engineering", "sub_topic": null}, "secondary": null}, "scores": {"content_quality": 0, "noise_severity": 0, "missing_content_severity": 0, "factual_density": 3, "pretraining_utility": 0, "math_density": 0, "code_density": 4, "reasoning_density": 0, "education_level": 2, "creative_writing_quality": null}, "score_expectations": {"content_quality": 0.3080409970062037, "noise_severity": 0.13357727616570217, "missing_content_severity": 0.07841379311342404, "factual_density": 3.106909220458195, "pretraining_utility": 0.2314045708949631, "math_density": 0.007535484100240835, "code_density": 3.591062402901888, "reasoning_density": 0.3029869643131067, "education_level": 2.5993709205787927, "creative_writing_quality": -0.353591978097518}, "api_choices": {"primary": "Technical Writing", "secondary": "Tutorial / How-To Guide", "tertiary": "NONE", "education_level": "2", "creative_writing_quality": "not_applicable", "primary_topic": "Programming & Software Engineering", "secondary_topic": "NONE"}, "review_reasons": ["secondary probability 0.4485 below 0.70", "secondary vs NONE margin 0.0968 below 0.10"], "format_slot_diagnostics": {"comparable": true, "secondary_tertiary_identical": false, "secondary_tertiary_max_abs_gap": 0.24622988668688206, "secondary_choice": "Tutorial / How-To Guide", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.9278819844170747, "secondary": 0.42449401180691676, "tertiary": 0.5804728344884473, "structured_records": 0.6600780222798414, "procedural_steps": 0.9101756571242766, "worked_solution": 0.0015555974606011737, "contextual_dialogue": 7.040261970682176e-05, "content_quality": 0.36534223427120693, "noise_severity": 0.8886856031952481, "missing_content_severity": 0.93465517240548, "factual_density": 0.515841344144744, "pretraining_utility": 0.47872424476003406, "math_density": 0.9937204299164659, "code_density": 0.6592186690849063, "reasoning_density": 0.7475108630724111, "education_level": 0.3530096937182163, "creative_writing_quality": 0.9920701405509308, "primary_topic": 0.9822364197795492, "secondary_topic": 0.8702348082236245}, "probability_margin": {"primary": 0.8827370001433641, "secondary": 0.09675018161708193, "tertiary": 0.39191864141366656, "education_level": 0.026109252988543108, "creative_writing_quality": 0.990217282359138, "primary_topic": 0.9697733760947337, "secondary_topic": 0.7955904558324073}, "raw_probabilities": {"primary": {"Academic Writing": 0.00017403142323845755, "Content Listing": 0.0002855095102151064, "Creative Writing": 0.00014187879585097674, "Customer Support Page": 0.00044066014144680224, "Q&A Forum": 0.00010168530890883304, "Discussion Thread": 7.512935828510153e-05, "Comment Section": 0.0001209243883662964, "Missing Content": 0.00014211083249872133, "Knowledge Article": 0.0006188636522942797, "Legal Notices": 0.00013621266723128498, "News Article": 5.83867791388756e-05, "Organizational Announcement": 0.0001404992671246836, "Nonfiction Writing": 9.179535429406782e-05, "Organizational About Page": 0.0001303883331557032, "Personal About Page": 9.439945892548105e-05, "Personal Blog": 6.81189027146346e-05, "Product Page": 6.842543732584392e-05, "Spam / Ads": 9.279175228714501e-05, "Structured Data": 0.005353536020840967, "Technical Writing": 0.9308869017330299, "Transcript / Interview": 0.00013769014502534575, "Tutorial / How-To Guide": 0.04814990158966583, "User Reviews": 5.4347957178109654e-05, "Other / Unknown": 0.012435811190957567}, "secondary": {"Academic Writing": 0.0009077118528511176, "Content Listing": 0.0035638920133899635, "Creative Writing": 0.0005513432078687764, "Customer Support Page": 0.0019676341649044944, "Q&A Forum": 0.0005529281451982216, "Discussion Thread": 0.00035719552952632566, "Comment Section": 0.0006688995520024956, "Missing Content": 0.0007052425922445568, "Knowledge Article": 0.0021320532672011953, "Legal Notices": 0.0005580628246606524, "News Article": 0.0004074354525365232, "Organizational Announcement": 0.0005707888017566539, "Nonfiction Writing": 0.0004875020080828379, "Organizational About Page": 0.000755333001170079, "Personal About Page": 0.0005163649822875756, "Personal Blog": 0.0004691458902517433, "Product Page": 0.0003722927206560859, "Spam / Ads": 0.00042630614260701056, "Structured Data": 0.06406211431341459, "Technical Writing": 0.11867450826807147, "Transcript / Interview": 0.0007734384363521241, "Tutorial / How-To Guide": 0.4484734279816286, "User Reviews": 0.0003231324867902619, "NONE": 0.35172324636454666}, "tertiary": {"Academic Writing": 0.0010416777647192226, "Content Listing": 0.01345295718947526, "Creative Writing": 0.0007667489971814655, "Customer Support Page": 0.002498713263996507, "Q&A Forum": 0.000556010923023386, "Discussion Thread": 0.00037701370036446894, "Comment Section": 0.0007415165252209585, "Missing Content": 0.0010023905054265452, "Knowledge Article": 0.0033144775647542166, "Legal Notices": 0.0010179807050596187, "News Article": 0.0004965582324487228, "Organizational Announcement": 0.0006201741578251457, "Nonfiction Writing": 0.0005552801842805097, "Organizational About Page": 0.0007257934894892638, "Personal About Page": 0.0005860577676246606, "Personal Blog": 0.0005126867652201497, "Product Page": 0.000451779837328341, "Spam / Ads": 0.0004635985786611236, "Structured Data": 0.11379867962244646, "Technical Writing": 0.05185417414155293, "Transcript / Interview": 0.00086058283717341, "Tutorial / How-To Guide": 0.20603449163776216, "User Reviews": 0.0003175225575367175, "NONE": 0.5979531330514287}, "structured_records": {"false": 0.33992197772015864, "true": 0.6600780222798414}, "procedural_steps": {"false": 0.08982434287572338, "true": 0.9101756571242766}, "worked_solution": {"false": 0.9984444025393988, "true": 0.0015555974606011737}, "contextual_dialogue": {"false": 0.9999295973802932, "true": 7.040261970682176e-05}, "content_quality": {"-2": 0.035405635830828376, "-1": 0.15596288927251722, "0": 0.3610080024354099, "1": 0.36043178698211153, "2": 0.08719168547913307}, "noise_severity": {"0": 0.8901686109051451, "1": 0.09084803335436223, "2": 0.015404286513783179, "3": 0.002395607123064417, "4": 0.0011834621036450846}, "missing_content_severity": {"0": 0.9335943714362936, "1": 0.057628180167497184, "2": 0.006344189091443621, "3": 0.001635802456021514, "4": 0.0007974568487437631}, "factual_density": {"0": 0.005203471445908021, "1": 0.022292676165067856, "2": 0.1768448166161962, "3": 0.4517092320305768, "4": 0.3439498037422511}, "pretraining_utility": {"-2": 0.016737302723822584, "-1": 0.16358856224885276, "0": 0.43569815264597156, "1": 0.33948422617124535, "2": 0.04449175621010786}, "math_density": {"0": 0.9941736733489456, "1": 0.004898772516901804, "2": 0.00043767798490938097, "3": 0.00019814898345243135, "4": 0.00029172716579074336}, "code_density": {"0": 0.0005958987766898156, "1": 0.0013156459352630576, "2": 0.03890164302856865, "3": 0.32480377812842665, "4": 0.6343830341310519}, "reasoning_density": {"0": 0.7968935522449375, "1": 0.12191912369460818, "2": 0.06733392333885511, "3": 0.0090136089456083, "4": 0.004839791775990841}, "education_level": {"none": 0.0015774728312394942, "0": 0.0023604597171555802, "1": 0.010854268308718829, "2": 0.4608414114318469, "3": 0.4347321584433038, "4": 0.08963422926773551}, "creative_writing_quality": {"not_applicable": 0.9933917837924423, "-2": 0.00037386881635554194, "-1": 0.0023931312152881195, "0": 0.003174501433304301, "1": 0.0005291728777462799, "2": 0.0001375418648632887}, "primary_topic": {"Adult & Explicit Sexual Content": 5.270482012264939e-05, "Art & Design": 0.0001109738220609835, "Law & Crime": 8.369221605342412e-05, "Education & Careers": 8.633357666845636e-05, "Entertainment & Media": 5.425262656171809e-05, "Fashion & Beauty": 4.155724104416224e-05, "Business, Economics & Finance": 0.00020990677258882602, "Food & Dining": 5.1113257270196374e-05, "Games & Gaming": 0.00010638998152201137, "Electronics & Hardware": 0.00022356950392576032, "Health, Healthcare & Wellness": 4.2876164141084426e-05, "History & Geography": 7.282506572495901e-05, "Home, Pets & Hobbies": 6.732706556235959e-05, "Industry & Production": 0.0001586494637154195, "Language, Literature & Philosophy": 8.564505961497952e-05, "Politics & Government": 3.743490034132333e-05, "Religion & Spirituality": 5.340535450350349e-05, "Science, Mathematics & Engineering": 0.00021335246720725472, "Relationships & Community": 3.1599693728300696e-05, "Software Usage & Applications": 0.013146258308678972, "Programming & Software Engineering": 0.9829196344034127, "Sports & Fitness": 7.924515007088202e-05, "Vehicles & Transportation": 3.931149274372863e-05, "Travel & Tourism": 7.519506039561039e-05, "Other / Uncovered Subject": 0.0017922244949813045, "Unknown / Insufficient Content": 0.00016452203735961614}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0005083684255549555, "Art & Design": 0.0006743489499912174, "Law & Crime": 0.0005536583974268173, "Education & Careers": 0.00048100840234642007, "Entertainment & Media": 0.0004348496333572708, "Fashion & Beauty": 0.0002118958439824871, "Business, Economics & Finance": 0.000725857158658923, "Food & Dining": 0.00022866447620183256, "Games & Gaming": 0.0004494000670255042, "Electronics & Hardware": 0.0009231583367063809, "Health, Healthcare & Wellness": 0.0002513778158575416, "History & Geography": 0.00028066391789647606, "Home, Pets & Hobbies": 0.0002949266215572655, "Industry & Production": 0.00031476574178482584, "Language, Literature & Philosophy": 0.0002516290611940233, "Politics & Government": 0.00023089206170731863, "Religion & Spirituality": 0.00029106297517803064, "Science, Mathematics & Engineering": 0.0006788997648986967, "Relationships & Community": 0.0001527511366162615, "Software Usage & Applications": 0.07963532130569317, "Programming & Software Engineering": 0.03503284215722872, "Sports & Fitness": 0.0002310136418037779, "Vehicles & Transportation": 0.00013443035938724243, "Travel & Tourism": 0.0003619557422885418, "Other / Uncovered Subject": 0.001440480867555825, "NONE": 0.8752257771381005}}, "probabilities": {"primary": {"Academic Writing": 0.00017403142323845755, "Content Listing": 0.0002855095102151064, "Creative Writing": 0.00014187879585097674, "Customer Support Page": 0.00044066014144680224, "Q&A Forum": 0.00010168530890883304, "Discussion Thread": 7.512935828510153e-05, "Comment Section": 0.0001209243883662964, "Missing Content": 0.00014211083249872133, "Knowledge Article": 0.0006188636522942797, "Legal Notices": 0.00013621266723128498, "News Article": 5.83867791388756e-05, "Organizational Announcement": 0.0001404992671246836, "Nonfiction Writing": 9.179535429406782e-05, "Organizational About Page": 0.0001303883331557032, "Personal About Page": 9.439945892548105e-05, "Personal Blog": 6.81189027146346e-05, "Product Page": 6.842543732584392e-05, "Spam / Ads": 9.279175228714501e-05, "Structured Data": 0.005353536020840967, "Technical Writing": 0.9308869017330299, "Transcript / Interview": 0.00013769014502534575, "Tutorial / How-To Guide": 0.04814990158966583, "User Reviews": 5.4347957178109654e-05, "Other / Unknown": 0.012435811190957567}, "secondary": {"Academic Writing": 0.0009077118528511176, "Content Listing": 0.0035638920133899635, "Creative Writing": 0.0005513432078687764, "Customer Support Page": 0.0019676341649044944, "Q&A Forum": 0.0005529281451982216, "Discussion Thread": 0.00035719552952632566, "Comment Section": 0.0006688995520024956, "Missing Content": 0.0007052425922445568, "Knowledge Article": 0.0021320532672011953, "Legal Notices": 0.0005580628246606524, "News Article": 0.0004074354525365232, "Organizational Announcement": 0.0005707888017566539, "Nonfiction Writing": 0.0004875020080828379, "Organizational About Page": 0.000755333001170079, "Personal About Page": 0.0005163649822875756, "Personal Blog": 0.0004691458902517433, "Product Page": 0.0003722927206560859, "Spam / Ads": 0.00042630614260701056, "Structured Data": 0.06406211431341459, "Technical Writing": 0.11867450826807147, "Transcript / Interview": 0.0007734384363521241, "Tutorial / How-To Guide": 0.4484734279816286, "User Reviews": 0.0003231324867902619, "NONE": 0.35172324636454666}, "tertiary": {"Academic Writing": 0.0010416777647192226, "Content Listing": 0.01345295718947526, "Creative Writing": 0.0007667489971814655, "Customer Support Page": 0.002498713263996507, "Q&A Forum": 0.000556010923023386, "Discussion Thread": 0.00037701370036446894, "Comment Section": 0.0007415165252209585, "Missing Content": 0.0010023905054265452, "Knowledge Article": 0.0033144775647542166, "Legal Notices": 0.0010179807050596187, "News Article": 0.0004965582324487228, "Organizational Announcement": 0.0006201741578251457, "Nonfiction Writing": 0.0005552801842805097, "Organizational About Page": 0.0007257934894892638, "Personal About Page": 0.0005860577676246606, "Personal Blog": 0.0005126867652201497, "Product Page": 0.000451779837328341, "Spam / Ads": 0.0004635985786611236, "Structured Data": 0.11379867962244646, "Technical Writing": 0.05185417414155293, "Transcript / Interview": 0.00086058283717341, "Tutorial / How-To Guide": 0.20603449163776216, "User Reviews": 0.0003175225575367175, "NONE": 0.5979531330514287}, "structured_records": {"false": 0.33992197772015864, "true": 0.6600780222798414}, "procedural_steps": {"false": 0.08982434287572338, "true": 0.9101756571242766}, "worked_solution": {"false": 0.9984444025393988, "true": 0.0015555974606011737}, "contextual_dialogue": {"false": 0.9999295973802932, "true": 7.040261970682176e-05}, "content_quality": {"-2": 0.03540563583082837, "-1": 0.1559628892725172, "0": 0.36100800243540987, "1": 0.3604317869821115, "2": 0.08719168547913306}, "noise_severity": {"0": 0.8901686109051451, "1": 0.09084803335436223, "2": 0.015404286513783179, "3": 0.002395607123064417, "4": 0.0011834621036450846}, "missing_content_severity": {"0": 0.9335943714362939, "1": 0.0576281801674972, "2": 0.006344189091443623, "3": 0.0016358024560215144, "4": 0.0007974568487437633}, "factual_density": {"0": 0.005203471445908022, "1": 0.02229267616506786, "2": 0.17684481661619622, "3": 0.45170923203057683, "4": 0.34394980374225115}, "pretraining_utility": {"-2": 0.01673730272382258, "-1": 0.16358856224885274, "0": 0.43569815264597145, "1": 0.3394842261712453, "2": 0.044491756210107855}, "math_density": {"0": 0.9941736733489457, "1": 0.004898772516901805, "2": 0.000437677984909381, "3": 0.00019814898345243138, "4": 0.0002917271657907434}, "code_density": {"0": 0.0005958987766898156, "1": 0.0013156459352630576, "2": 0.03890164302856865, "3": 0.32480377812842665, "4": 0.6343830341310519}, "reasoning_density": {"0": 0.7968935522449375, "1": 0.12191912369460818, "2": 0.06733392333885511, "3": 0.0090136089456083, "4": 0.004839791775990841}, "education_level": {"none": 0.0015774728312394938, "0": 0.00236045971715558, "1": 0.010854268308718827, "2": 0.4608414114318468, "3": 0.4347321584433037, "4": 0.0896342292677355}, "creative_writing_quality": {"not_applicable": 0.9933917837924424, "-2": 0.000373868816355542, "-1": 0.00239313121528812, "0": 0.0031745014333043014, "1": 0.00052917287774628, "2": 0.00013754186486328874}, "primary_topic": {"Adult & Explicit Sexual Content": 5.270482012264937e-05, "Art & Design": 0.00011097382206098348, "Law & Crime": 8.36922160534241e-05, "Education & Careers": 8.633357666845634e-05, "Entertainment & Media": 5.425262656171808e-05, "Fashion & Beauty": 4.155724104416223e-05, "Business, Economics & Finance": 0.00020990677258882597, "Food & Dining": 5.111325727019636e-05, "Games & Gaming": 0.00010638998152201135, "Electronics & Hardware": 0.00022356950392576026, "Health, Healthcare & Wellness": 4.287616414108442e-05, "History & Geography": 7.2825065724959e-05, "Home, Pets & Hobbies": 6.732706556235958e-05, "Industry & Production": 0.00015864946371541946, "Language, Literature & Philosophy": 8.564505961497951e-05, "Politics & Government": 3.743490034132332e-05, "Religion & Spirituality": 5.340535450350348e-05, "Science, Mathematics & Engineering": 0.00021335246720725467, "Relationships & Community": 3.159969372830069e-05, "Software Usage & Applications": 0.013146258308678969, "Programming & Software Engineering": 0.9829196344034125, "Sports & Fitness": 7.924515007088201e-05, "Vehicles & Transportation": 3.931149274372862e-05, "Travel & Tourism": 7.519506039561038e-05, "Other / Uncovered Subject": 0.001792224494981304, "Unknown / Insufficient Content": 0.00016452203735961611}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0005083684255549555, "Art & Design": 0.0006743489499912174, "Law & Crime": 0.0005536583974268173, "Education & Careers": 0.00048100840234642007, "Entertainment & Media": 0.0004348496333572708, "Fashion & Beauty": 0.0002118958439824871, "Business, Economics & Finance": 0.000725857158658923, "Food & Dining": 0.00022866447620183256, "Games & Gaming": 0.0004494000670255042, "Electronics & Hardware": 0.0009231583367063809, "Health, Healthcare & Wellness": 0.0002513778158575416, "History & Geography": 0.00028066391789647606, "Home, Pets & Hobbies": 0.0002949266215572655, "Industry & Production": 0.00031476574178482584, "Language, Literature & Philosophy": 0.0002516290611940233, "Politics & Government": 0.00023089206170731863, "Religion & Spirituality": 0.00029106297517803064, "Science, Mathematics & Engineering": 0.0006788997648986967, "Relationships & Community": 0.0001527511366162615, "Software Usage & Applications": 0.07963532130569317, "Programming & Software Engineering": 0.03503284215722872, "Sports & Fitness": 0.0002310136418037779, "Vehicles & Transportation": 0.00013443035938724243, "Travel & Tourism": 0.0003619557422885418, "Other / Uncovered Subject": 0.001440480867555825, "NONE": 0.8752257771381005}}, "probability_diagnostics": {"primary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "tertiary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "structured_records": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "procedural_steps": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "worked_solution": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "contextual_dialogue": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "content_quality": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "noise_severity": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "missing_content_severity": {"raw_sum": 0.9999999999999998, "mass_delta": -2.220446049250313e-16, "missing_mass": 2.220446049250313e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "factual_density": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "pretraining_utility": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "math_density": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "code_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "reasoning_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "education_level": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "creative_writing_quality": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "primary_topic": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "secondary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}}, "usage": {"input_tokens": 10558, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 10558, "cached_share": null, "cache_discount_reported": null, "reported_cost_usd": null}, "response_metadata": {"model": "decision-models/baseten-mammoth-27b-latest"}, "scored_at_utc": "2026-10-25T18:30:13.363321+00:00", "scoring_key_slot": "assistant_1", "dataset_uid": "93478c8c-11c9-4003-aeb5-828c9194555e", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "6bf23416fd7def73d4eaf592ebb46b678d0e207344a6b01213a26a516c52253d", "source_metadata": {"uuid": "93478c8c-11c9-4003-aeb5-828c9194555e", "repo_name": "nuxeo/richfaces-3.3", "relative_path": "docs/release.sh", "category": "TOOL", "algo_rel_score": 0.9828155636787415, "quality_score": 3.9444687366485596, "source_meta": {"github_metadata": {"branch": "master", "commit_count": 67, "repo_created_at": "2013-06-11T17:41:07.000Z", "is_fork": false, "is_org_owned": true, "forked_from": null, "stars": 4, "forks": 6, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "de4281bbb3e8c5f8938fa1f91b8abcc86fe2c2fb", "size_bytes": 7082, "file_timestamp": 1420454531, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "485749c5f49ac6169d9187cc448110d477acab3b"}}, "parsed_source_meta": {"github_metadata": {"branch": "master", "commit_count": 67, "repo_created_at": "2013-06-11T17:41:07.000Z", "is_fork": false, "is_org_owned": true, "forked_from": null, "stars": 4, "forks": 6, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "de4281bbb3e8c5f8938fa1f91b8abcc86fe2c2fb", "size_bytes": 7082, "file_timestamp": 1420454531, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "485749c5f49ac6169d9187cc448110d477acab3b", "url": "https://github.com/nuxeo/richfaces-3.3/blob/485749c5f49ac6169d9187cc448110d477acab3b/docs/release.sh"}, "gpt4o_tokens": 2003, "dataset_split": "shell", "probability_weighted_scores": {"content_quality": 0.3080409970062037, "noise_severity": 0.13357727616570217, "missing_content_severity": 0.07841379311342404, "factual_density": 3.106909220458195, "pretraining_utility": 0.23140457089496314, "math_density": 0.007535484100240835, "code_density": 3.591062402901888, "reasoning_density": 0.3029869643131067, "education_level": 2.5993709205787927, "creative_writing_quality": -0.353591978097518}, "score_applicability": {"education_level": 0.9984225271687605, "creative_writing_quality": 0.006608216207557532}} {"source_group": "shell", "source": "openbmb/UltraData-Stack-v3-L2/shell", "domain": "github.com", "language": "shell", "url": "https://github.com/OreosLab/checkinpanel/blob/911402e4b2e559ffd62c4949a971ddd6834edd7d/ins_pkg.sh", "id": "shell-0-44ae9af3580b15c0e424c3eb362216c0", "text": "#!/usr/bin/env sh\n\n# shellcheck disable=SC2005,2188\n<<'COMMENT'\ncron: 16 */2 * * *\nnew Env('签到依赖');\nCOMMENT\n\n. utils_env.sh\nget_some_path\n\nalpine_pkgs=\"bash curl gcc git jq libffi-dev make musl-dev openssl-dev perl perl-app-cpanminus perl-dev py3-pip python3 python3-dev wget\"\npy_reqs=\"bs4 cryptography dateparser feedparser peewee pyaes pyppeteer requests rsa schedule tomli\"\njs_pkgs=\"@iarna/toml axios cron-parser crypto-js got\"\npl_mods=\"File::Slurp JSON5 TOML::Dumper\"\n\ninstall() {\n count=0\n flag=$1\n while true; do\n echo \".......... $2 begin ..........\"\n result=$3\n if [ \"$result\" -gt 0 ]; then\n flag=0\n else\n flag=1\n fi\n if [ $flag -eq \"$1\" ]; then\n echo \"---------- $2 succeed ----------\"\n break\n else\n count=$((count + 1))\n if [ $count -eq 6 ]; then\n echo \"!! 自动安装失败,请尝试进入容器后执行 $2 !!\"\n break\n fi\n echo \".......... retry in 5 seconds ..........\"\n sleep 5\n fi\n done\n}\n\ninstall_alpine_pkgs() {\n apk update\n apk_info=\" $(apk info) \"\n for i in $alpine_pkgs; do\n if expr \"$apk_info\" : \".*\\s${i}\\s.*\" >/dev/null; then\n echo \"$i 已安装\"\n else\n install 0 \"apk add $i\" \"$(apk add --no-cache \"$i\" | grep -c 'OK')\"\n fi\n done\n}\n\ninstall_py_reqs() {\n pip3 install --upgrade pip\n pip3_freeze=\"$(pip3 freeze)\"\n for i in $py_reqs; do\n if expr \"$pip3_freeze\" : \".*${i}\" >/dev/null; then\n echo \"$i 已安装\"\n else\n install 0 \"pip3 install $i\" \"$(pip3 install \"$i\" | grep -c 'Successfully')\"\n fi\n done\n}\n\ninstall_js_pkgs_initial() {\n if [ -d \"${SCR_PATH}/OreosLab_checkinpanel_master\" ]; then\n cd \"${SCR_PATH}/OreosLab_checkinpanel_master\" &&\n cp \"${REPO_PATH}/OreosLab_checkinpanel_master/package.json\" \"${SCR_PATH}/OreosLab_checkinpanel_master/package.json\"\n elif [ -d \"/ql/scripts\" ] && [ ! -f \"/ql/scripts/package.bak.json\" ]; then\n cd /ql/scripts || exit\n rm -rf node_modules\n rm -rf .pnpm-store\n mv package-lock.json package-lock.bak.json\n mv package.json package.bak.json\n mv pnpm-lock.yaml pnpm-lock.bak.yaml\n install 1 \"npm install -g package-merge\" \"$(echo \"$(npm install -g package-merge && npm ls -g package-merge)\" | grep -cE '(empty)|ERR')\" &&\n export NODE_PATH=\"/usr/local/lib/node_modules\" &&\n node -e \\\n \"const merge = require('package-merge');\n const fs = require('fs');\n const dst = fs.readFileSync('/ql/repo/OreosLab_checkinpanel_master/package.json');\n const src = fs.readFileSync('/ql/scripts/package.bak.json');\n fs.writeFile('/ql/scripts/package.json', merge(dst, src), function (err) {\n if (err) {\n console.log(err);\n }\n console.log('package.json merged successfully!');\n });\"\n fi\n npm install\n}\ninstall_js_pkgs_each() {\n is_empty=$(npm ls \"$1\" | grep empty)\n has_err=$(npm ls \"$1\" | grep ERR)\n if [ \"$is_empty\" = \"\" ] && [ \"$has_err\" = \"\" ]; then\n echo \"$1 已正确安装\"\n elif [ \"$has_err\" != \"\" ]; then\n uninstall_js_pkgs \"$1\"\n else\n install 1 \"npm install $1\" \"$(echo \"$(npm install --force \"$1\" && npm ls --force \"$1\")\" | grep -cE '(empty)|ERR')\"\n fi\n}\nuninstall_js_pkgs() {\n npm uninstall \"$1\"\n rm -rf \"$(pwd)\"/node_modules/\"$1\"\n rm -rf /usr/local/lib/node_modules/lodash/*\n npm cache clear --force\n}\ninstall_js_pkgs_all() {\n install_js_pkgs_initial\n for i in $js_pkgs; do\n install_js_pkgs_each \"$i\"\n done\n npm ls --depth 0\n}\n\ninstall_pl_mods() {\n if command -v cpm >/dev/null 2>&1; then\n echo \"App::cpm 已安装\"\n else\n install 1 \"cpanm -fn App::cpm\" \"$(cpanm -fn App::cpm | grep -c \"FAIL\")\"\n if ! command -v cpm >/dev/null 2>&1; then\n if [ -f ./cpm ]; then\n chmod +x cpm && ./cpm --version\n else\n cp -f /ql/repo/OreosLab_checkinpanel_master/cpm ./ && chmod +x cpm && ./cpm --version\n if [ ! -f ./cpm ]; then\n curl -fsSL https://cdn.jsdelivr.net/gh/Oreomeow/checkinpanel/cpm >cpm && chmod +x cpm && ./cpm --version\n fi\n fi\n fi\n fi\n for i in $pl_mods; do\n if [ -f \"$(perldoc -l \"$i\")\" ]; then\n echo \"$i 已安装\"\n else\n install 1 \"cpm install -g $i\" \"$(cpm install -g \"$i\" | grep -c \"FAIL\")\"\n fi\n done\n}\n\ninstall_alpine_pkgs\ninstall_py_reqs\ninstall_js_pkgs_all\ninstall_pl_mods\n", "text_preview": "#!/usr/bin/env sh # shellcheck disable=SC2005,2188 <<'COMMENT' cron: 16 */2 * * * new Env('签到依赖'); COMMENT . utils_env.sh get_some_path alpine_pkgs=\"bash curl gcc git jq libffi-dev make musl-dev openssl-dev perl perl-app-cpanminus perl-dev ", "input_sha256": "f06018d6c9b948fcb9c8b80744cb4c45913e74b06e7c4c5c80c2ac15e2e61878", "text_sha256": "44ae9af3580b15c0e424c3eb362216c0defcbe2d21847bea4cb2066f712f6dfd", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 20025, "input_policy": "text-and-optional-url-v1", "label_policy_version": 12, "requested_model": "decision-models/baseten-mammoth-27b-latest", "backend": "baseten", "endpoint": "https://inference.baseten.co/v1/systemone", "status": "ok", "training_eligible": true, "label": {"primary": {"main_format": "Technical Writing", "sub_format": null}, "secondary": null, "tertiary": null, "content_structure": []}, "candidate_label": null, "topic": {"primary": {"main_topic": "Programming & Software Engineering", "sub_topic": null}, "secondary": null}, "scores": {"content_quality": 1, "noise_severity": 0, "missing_content_severity": 0, "factual_density": 3, "pretraining_utility": 1, "math_density": 0, "code_density": 4, "reasoning_density": 0, "education_level": 2, "creative_writing_quality": null}, "score_expectations": {"content_quality": 0.8346218709893868, "noise_severity": 0.02202768211212967, "missing_content_severity": 0.016571316971337714, "factual_density": 3.183289843566251, "pretraining_utility": 0.3901829041839437, "math_density": 0.09404880843112334, "code_density": 3.906851521763553, "reasoning_density": 0.8831989824724007, "education_level": 2.3315396691682766, "creative_writing_quality": -0.3318405708053177}, "api_choices": {"primary": "Technical Writing", "secondary": "NONE", "tertiary": "NONE", "education_level": "2", "creative_writing_quality": "not_applicable", "primary_topic": "Programming & Software Engineering", "secondary_topic": "NONE"}, "review_reasons": [], "format_slot_diagnostics": {"comparable": true, "secondary_tertiary_identical": false, "secondary_tertiary_max_abs_gap": 0.009017846532693552, "secondary_choice": "NONE", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.9828296533289003, "secondary": 0.9417533793035212, "tertiary": 0.9505507759110243, "structured_records": 0.006762787399417062, "procedural_steps": 0.47235925590092287, "worked_solution": 0.0005992844874382591, "contextual_dialogue": 5.730384617604151e-06, "content_quality": 0.5289220615168884, "noise_severity": 0.9816435982398919, "missing_content_severity": 0.9861905691905519, "factual_density": 0.5032695673356591, "pretraining_utility": 0.40182105820282965, "math_density": 0.9216259929740639, "code_density": 0.9223762681362938, "reasoning_density": 0.26400084793966605, "education_level": 0.5912270284989928, "creative_writing_quality": 0.9993207976049988, "primary_topic": 0.9456360791221524, "secondary_topic": 0.83852659855758}, "probability_margin": {"primary": 0.9716178515097506, "secondary": 0.9180967673104068, "tertiary": 0.9355454522586242, "education_level": 0.368308292980416, "creative_writing_quality": 0.9991907664433478, "primary_topic": 0.8984046624829432, "secondary_topic": 0.7191692899616834}, "raw_probabilities": {"primary": {"Academic Writing": 5.535628280155678e-05, "Content Listing": 4.7103122796897914e-05, "Creative Writing": 4.31740966905245e-05, "Customer Support Page": 3.5012214866077976e-05, "Q&A Forum": 3.064932968775477e-05, "Discussion Thread": 2.1892455848143337e-05, "Comment Section": 3.589770085070713e-05, "Missing Content": 4.90978649397573e-05, "Knowledge Article": 0.00011645928058213908, "Legal Notices": 5.835480505977412e-05, "News Article": 1.5963071278490884e-05, "Organizational Announcement": 3.086804134330051e-05, "Nonfiction Writing": 3.064601232148315e-05, "Organizational About Page": 3.18045557158074e-05, "Personal About Page": 3.0934215332754366e-05, "Personal Blog": 2.153026179480544e-05, "Product Page": 2.2795814236690412e-05, "Spam / Ads": 3.840562304383806e-05, "Structured Data": 0.00035996828291067867, "Technical Writing": 0.9835450844401961, "Transcript / Interview": 4.389342513840804e-05, "Tutorial / How-To Guide": 0.01192723293044556, "User Reviews": 1.848495086094345e-05, "Other / Unknown": 0.0033893912212578365}, "secondary": {"Academic Writing": 0.00022647048875398714, "Content Listing": 0.00027454436006645706, "Creative Writing": 0.00023743977895514343, "Customer Support Page": 0.00014191474512893822, "Q&A Forum": 8.719952169668686e-05, "Discussion Thread": 6.266198642527947e-05, "Comment Section": 0.00015950282094137535, "Missing Content": 0.0003226705719376698, "Knowledge Article": 0.0005759509077515904, "Legal Notices": 0.0005023494776380817, "News Article": 0.00011892414400478543, "Organizational Announcement": 0.0001235948702947902, "Nonfiction Writing": 0.00010966949053666726, "Organizational About Page": 0.0001412476683905896, "Personal About Page": 9.558958862053592e-05, "Personal Blog": 0.00010812110346476638, "Product Page": 7.134506151660251e-05, "Spam / Ads": 0.00013967692508976977, "Structured Data": 0.007243984273607895, "Technical Writing": 0.026083554522134355, "Transcript / Interview": 0.00015851449430635768, "Tutorial / How-To Guide": 0.01877223533552818, "User Reviews": 6.251603066833607e-05, "NONE": 0.9441803218325412}, "tertiary": {"Academic Writing": 0.00014810881609479467, "Content Listing": 0.0004878719713296017, "Creative Writing": 0.00019723693854566726, "Customer Support Page": 0.00012921970858548269, "Q&A Forum": 6.289514867978836e-05, "Discussion Thread": 4.673323173974473e-05, "Comment Section": 0.0002032353088720375, "Missing Content": 0.00031228867083373955, "Knowledge Article": 0.000738413276446288, "Legal Notices": 0.0005267565283348381, "News Article": 7.765047802381914e-05, "Organizational Announcement": 9.109481919767853e-05, "Nonfiction Writing": 0.00010515942744706379, "Organizational About Page": 0.00012010316603729273, "Personal About Page": 7.485641533623156e-05, "Personal Blog": 8.398897595725572e-05, "Product Page": 5.968919030366581e-05, "Spam / Ads": 0.00013646421055310274, "Structured Data": 0.011225604468508451, "Technical Writing": 0.017065707989440803, "Transcript / Interview": 0.00012250779266979455, "Tutorial / How-To Guide": 0.01532955567905926, "User Reviews": 4.3697539938537306e-05, "NONE": 0.952611160248065}, "structured_records": {"false": 0.993237212600583, "true": 0.006762787399417062}, "procedural_steps": {"false": 0.5276407440990771, "true": 0.47235925590092287}, "worked_solution": {"false": 0.9994007155125617, "true": 0.0005992844874382591}, "contextual_dialogue": {"false": 0.9999942696153824, "true": 5.730384617604151e-06}, "content_quality": {"-2": 0.012062407864177963, "-1": 0.04440433006550452, "0": 0.24033994387163063, "1": 0.5032356196141267, "2": 0.19995769858456036}, "noise_severity": {"0": 0.9802563888514199, "1": 0.0182641173561217, "2": 0.0009098060874109885, "3": 0.00033479823900476246, "4": 0.00023488946604292732}, "missing_content_severity": {"0": 0.9911014380421578, "1": 0.0033088690757088917, "2": 0.0038524265033865234, "3": 0.0013914706261311906, "4": 0.0003457957526155506}, "factual_density": {"0": 0.005210361221449532, "1": 0.01419817563759109, "2": 0.16236590287594838, "3": 0.42854237888328106, "4": 0.38968318138172997}, "pretraining_utility": {"-2": 0.009970555829211492, "-1": 0.11230539397624892, "0": 0.4092934575461981, "1": 0.41443177547806753, "2": 0.05399881717027403}, "math_density": {"0": 0.9153390077409737, "1": 0.08015759413246193, "2": 0.0017261989400629504, "3": 0.0006699803274700266, "4": 0.0021072188590313527}, "code_density": {"0": 0.0002550542532837836, "1": 0.00046796797340183994, "2": 0.007667241585366764, "3": 0.07538987413237327, "4": 0.9162198620555744}, "reasoning_density": {"0": 0.5779343146803738, "1": 0.1314438129666386, "2": 0.18013865904916274, "3": 0.05045500180786259, "4": 0.06002821149596222}, "education_level": {"none": 0.0010779332823682652, "0": 0.001853035487512176, "1": 0.01649680723123134, "2": 0.659355857082494, "3": 0.291047564102078, "4": 0.03016880281431615}, "creative_writing_quality": {"not_applicable": 0.9994339980041657, "-2": 9.073353910085266e-05, "-1": 0.000132404233477434, "0": 0.00024323156081782282, "1": 7.321643857176321e-05, "2": 2.641622386639228e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 9.89898629582318e-05, "Art & Design": 0.00013241874067255224, "Law & Crime": 0.00012802625173800525, "Education & Careers": 9.289500150823657e-05, "Entertainment & Media": 9.855439351282545e-05, "Fashion & Beauty": 6.899325915551605e-05, "Business, Economics & Finance": 0.00019235620482819181, "Food & Dining": 7.443164799665173e-05, "Games & Gaming": 0.0002478834172678741, "Electronics & Hardware": 0.0002179675123279241, "Health, Healthcare & Wellness": 6.304260492136626e-05, "History & Geography": 8.94104879006524e-05, "Home, Pets & Hobbies": 8.660835030024928e-05, "Industry & Production": 0.00010186968895295942, "Language, Literature & Philosophy": 9.218997669501147e-05, "Politics & Government": 6.960208550658459e-05, "Religion & Spirituality": 7.888096676751795e-05, "Science, Mathematics & Engineering": 0.0001894688376164276, "Relationships & Community": 6.545336149443508e-05, "Software Usage & Applications": 0.04932233667297259, "Programming & Software Engineering": 0.9477269991559157, "Sports & Fitness": 0.00010371644733981816, "Vehicles & Transportation": 4.810872954372498e-05, "Travel & Tourism": 9.291489244653456e-05, "Other / Uncovered Subject": 0.00035436467433432246, "Unknown / Insufficient Content": 0.00016251677532601907}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.000478676526234992, "Art & Design": 0.00030595485813342987, "Law & Crime": 0.0003742098992004976, "Education & Careers": 0.00023231930664699058, "Entertainment & Media": 0.00032320805635262814, "Fashion & Beauty": 0.0001734078932048048, "Business, Economics & Finance": 0.0004785576223622984, "Food & Dining": 0.00017578677035766813, "Games & Gaming": 0.0005540493980874763, "Electronics & Hardware": 0.00042288945826739823, "Health, Healthcare & Wellness": 0.00018261612576190065, "History & Geography": 0.00017512657644883106, "Home, Pets & Hobbies": 0.00019528175417822386, "Industry & Production": 0.00018560861279526934, "Language, Literature & Philosophy": 0.00014672358544250835, "Politics & Government": 0.00019817443671926, "Religion & Spirituality": 0.00020978694822850236, "Science, Mathematics & Engineering": 0.00041828643559501706, "Relationships & Community": 0.00014626025227078588, "Software Usage & Applications": 0.12556782403598976, "Programming & Software Engineering": 0.023310217977915906, "Sports & Fitness": 0.00017759066884230892, "Vehicles & Transportation": 9.402011878795812e-05, "Travel & Tourism": 0.00028831419445155476, "Other / Uncovered Subject": 0.00044799449005083493, "NONE": 0.8447371139976732}}, "probabilities": {"primary": {"Academic Writing": 5.535628280155678e-05, "Content Listing": 4.7103122796897914e-05, "Creative Writing": 4.31740966905245e-05, "Customer Support Page": 3.5012214866077976e-05, "Q&A Forum": 3.064932968775477e-05, "Discussion Thread": 2.1892455848143337e-05, "Comment Section": 3.589770085070713e-05, "Missing Content": 4.90978649397573e-05, "Knowledge Article": 0.00011645928058213908, "Legal Notices": 5.835480505977412e-05, "News Article": 1.5963071278490884e-05, "Organizational Announcement": 3.086804134330051e-05, "Nonfiction Writing": 3.064601232148315e-05, "Organizational About Page": 3.18045557158074e-05, "Personal About Page": 3.0934215332754366e-05, "Personal Blog": 2.153026179480544e-05, "Product Page": 2.2795814236690412e-05, "Spam / Ads": 3.840562304383806e-05, "Structured Data": 0.00035996828291067867, "Technical Writing": 0.9835450844401961, "Transcript / Interview": 4.389342513840804e-05, "Tutorial / How-To Guide": 0.01192723293044556, "User Reviews": 1.848495086094345e-05, "Other / Unknown": 0.0033893912212578365}, "secondary": {"Academic Writing": 0.00022647048875398714, "Content Listing": 0.00027454436006645706, "Creative Writing": 0.00023743977895514343, "Customer Support Page": 0.00014191474512893822, "Q&A Forum": 8.719952169668686e-05, "Discussion Thread": 6.266198642527947e-05, "Comment Section": 0.00015950282094137535, "Missing Content": 0.0003226705719376698, "Knowledge Article": 0.0005759509077515904, "Legal Notices": 0.0005023494776380817, "News Article": 0.00011892414400478543, "Organizational Announcement": 0.0001235948702947902, "Nonfiction Writing": 0.00010966949053666726, "Organizational About Page": 0.0001412476683905896, "Personal About Page": 9.558958862053592e-05, "Personal Blog": 0.00010812110346476638, "Product Page": 7.134506151660251e-05, "Spam / Ads": 0.00013967692508976977, "Structured Data": 0.007243984273607895, "Technical Writing": 0.026083554522134355, "Transcript / Interview": 0.00015851449430635768, "Tutorial / How-To Guide": 0.01877223533552818, "User Reviews": 6.251603066833607e-05, "NONE": 0.9441803218325412}, "tertiary": {"Academic Writing": 0.00014810881609479467, "Content Listing": 0.0004878719713296017, "Creative Writing": 0.00019723693854566726, "Customer Support Page": 0.00012921970858548269, "Q&A Forum": 6.289514867978836e-05, "Discussion Thread": 4.673323173974473e-05, "Comment Section": 0.0002032353088720375, "Missing Content": 0.00031228867083373955, "Knowledge Article": 0.000738413276446288, "Legal Notices": 0.0005267565283348381, "News Article": 7.765047802381914e-05, "Organizational Announcement": 9.109481919767853e-05, "Nonfiction Writing": 0.00010515942744706379, "Organizational About Page": 0.00012010316603729273, "Personal About Page": 7.485641533623156e-05, "Personal Blog": 8.398897595725572e-05, "Product Page": 5.968919030366581e-05, "Spam / Ads": 0.00013646421055310274, "Structured Data": 0.011225604468508451, "Technical Writing": 0.017065707989440803, "Transcript / Interview": 0.00012250779266979455, "Tutorial / How-To Guide": 0.01532955567905926, "User Reviews": 4.3697539938537306e-05, "NONE": 0.952611160248065}, "structured_records": {"false": 0.993237212600583, "true": 0.006762787399417062}, "procedural_steps": {"false": 0.5276407440990771, "true": 0.47235925590092287}, "worked_solution": {"false": 0.9994007155125617, "true": 0.0005992844874382591}, "contextual_dialogue": {"false": 0.9999942696153824, "true": 5.730384617604151e-06}, "content_quality": {"-2": 0.012062407864177959, "-1": 0.04440433006550451, "0": 0.24033994387163057, "1": 0.5032356196141266, "2": 0.1999576985845603}, "noise_severity": {"0": 0.9802563888514196, "1": 0.018264117356121698, "2": 0.0009098060874109883, "3": 0.0003347982390047624, "4": 0.00023488946604292727}, "missing_content_severity": {"0": 0.9911014380421579, "1": 0.003308869075708892, "2": 0.003852426503386524, "3": 0.0013914706261311909, "4": 0.00034579575261555064}, "factual_density": {"0": 0.005210361221449532, "1": 0.01419817563759109, "2": 0.16236590287594838, "3": 0.42854237888328106, "4": 0.38968318138172997}, "pretraining_utility": {"-2": 0.009970555829211492, "-1": 0.11230539397624892, "0": 0.4092934575461981, "1": 0.41443177547806753, "2": 0.05399881717027403}, "math_density": {"0": 0.9153390077409738, "1": 0.08015759413246194, "2": 0.0017261989400629506, "3": 0.0006699803274700267, "4": 0.002107218859031353}, "code_density": {"0": 0.0002550542532837836, "1": 0.00046796797340183994, "2": 0.007667241585366764, "3": 0.07538987413237327, "4": 0.9162198620555744}, "reasoning_density": {"0": 0.5779343146803738, "1": 0.1314438129666386, "2": 0.18013865904916274, "3": 0.05045500180786259, "4": 0.06002821149596222}, "education_level": {"none": 0.0010779332823682654, "0": 0.0018530354875121763, "1": 0.016496807231231342, "2": 0.6593558570824941, "3": 0.29104756410207805, "4": 0.030168802814316154}, "creative_writing_quality": {"not_applicable": 0.9994339980041658, "-2": 9.073353910085268e-05, "-1": 0.00013240423347743403, "0": 0.00024323156081782285, "1": 7.321643857176323e-05, "2": 2.6416223866392284e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 9.89898629582318e-05, "Art & Design": 0.00013241874067255224, "Law & Crime": 0.00012802625173800525, "Education & Careers": 9.289500150823657e-05, "Entertainment & Media": 9.855439351282545e-05, "Fashion & Beauty": 6.899325915551605e-05, "Business, Economics & Finance": 0.00019235620482819181, "Food & Dining": 7.443164799665173e-05, "Games & Gaming": 0.0002478834172678741, "Electronics & Hardware": 0.0002179675123279241, "Health, Healthcare & Wellness": 6.304260492136626e-05, "History & Geography": 8.94104879006524e-05, "Home, Pets & Hobbies": 8.660835030024928e-05, "Industry & Production": 0.00010186968895295942, "Language, Literature & Philosophy": 9.218997669501147e-05, "Politics & Government": 6.960208550658459e-05, "Religion & Spirituality": 7.888096676751795e-05, "Science, Mathematics & Engineering": 0.0001894688376164276, "Relationships & Community": 6.545336149443508e-05, "Software Usage & Applications": 0.04932233667297259, "Programming & Software Engineering": 0.9477269991559157, "Sports & Fitness": 0.00010371644733981816, "Vehicles & Transportation": 4.810872954372498e-05, "Travel & Tourism": 9.291489244653456e-05, "Other / Uncovered Subject": 0.00035436467433432246, "Unknown / Insufficient Content": 0.00016251677532601907}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.000478676526234992, "Art & Design": 0.00030595485813342987, "Law & Crime": 0.0003742098992004976, "Education & Careers": 0.00023231930664699058, "Entertainment & Media": 0.00032320805635262814, "Fashion & Beauty": 0.0001734078932048048, "Business, Economics & Finance": 0.0004785576223622984, "Food & Dining": 0.00017578677035766813, "Games & Gaming": 0.0005540493980874763, "Electronics & Hardware": 0.00042288945826739823, "Health, Healthcare & Wellness": 0.00018261612576190065, "History & Geography": 0.00017512657644883106, "Home, Pets & Hobbies": 0.00019528175417822386, "Industry & Production": 0.00018560861279526934, "Language, Literature & Philosophy": 0.00014672358544250835, "Politics & Government": 0.00019817443671926, "Religion & Spirituality": 0.00020978694822850236, "Science, Mathematics & Engineering": 0.00041828643559501706, "Relationships & Community": 0.00014626025227078588, "Software Usage & Applications": 0.12556782403598976, "Programming & Software Engineering": 0.023310217977915906, "Sports & Fitness": 0.00017759066884230892, "Vehicles & Transportation": 9.402011878795812e-05, "Travel & Tourism": 0.00028831419445155476, "Other / Uncovered Subject": 0.00044799449005083493, "NONE": 0.8447371139976732}}, "probability_diagnostics": {"primary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "tertiary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "structured_records": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "procedural_steps": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "worked_solution": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "contextual_dialogue": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "content_quality": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "noise_severity": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "missing_content_severity": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "factual_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "pretraining_utility": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "math_density": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "code_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "reasoning_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "education_level": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "creative_writing_quality": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "primary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}}, "usage": {"input_tokens": 9922, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 9922, "cached_share": null, "cache_discount_reported": null, "reported_cost_usd": null}, "response_metadata": {"model": "decision-models/baseten-mammoth-27b-latest"}, "scored_at_utc": "2026-10-25T18:30:15.063156+00:00", "scoring_key_slot": "primary", "dataset_uid": "81c1ab97-30c4-4c32-9973-a12fef6388cb", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "b615ec23baf586d6f7abca863506a6ad84b7ba29ca01df97a000147326dc4b6d", "source_metadata": {"uuid": "81c1ab97-30c4-4c32-9973-a12fef6388cb", "repo_name": "OreosLab/checkinpanel", "relative_path": "ins_pkg.sh", "category": "TOOL", "algo_rel_score": 0.9947612881660461, "quality_score": 3.1445040702819824, "source_meta": {"github_metadata": {"branch": "master", "commit_count": 334, "repo_created_at": "2021-08-22T05:01:36.000Z", "is_fork": false, "is_org_owned": true, "forked_from": null, "stars": 1426, "forks": 348, "issues": 31, "pull_requests": 5}, "file_meta": {"content_id": "bdd0c9a732688ea804b92898158e240c0446c9db", "size_bytes": 4800, "file_timestamp": 1672807823, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "911402e4b2e559ffd62c4949a971ddd6834edd7d"}}, "parsed_source_meta": {"github_metadata": {"branch": "master", "commit_count": 334, "repo_created_at": "2021-08-22T05:01:36.000Z", "is_fork": false, "is_org_owned": true, "forked_from": null, "stars": 1426, "forks": 348, "issues": 31, "pull_requests": 5}, "file_meta": {"content_id": "bdd0c9a732688ea804b92898158e240c0446c9db", "size_bytes": 4800, "file_timestamp": 1672807823, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "911402e4b2e559ffd62c4949a971ddd6834edd7d", "url": "https://github.com/OreosLab/checkinpanel/blob/911402e4b2e559ffd62c4949a971ddd6834edd7d/ins_pkg.sh"}, "gpt4o_tokens": 1360, "dataset_split": "shell", "probability_weighted_scores": {"content_quality": 0.8346218709893869, "noise_severity": 0.02202768211212967, "missing_content_severity": 0.016571316971337714, "factual_density": 3.183289843566251, "pretraining_utility": 0.3901829041839437, "math_density": 0.09404880843112334, "code_density": 3.906851521763553, "reasoning_density": 0.8831989824724007, "education_level": 2.3315396691682766, "creative_writing_quality": -0.3318405708053177}, "score_applicability": {"education_level": 0.9989220667176318, "creative_writing_quality": 0.0005660019958342651}} {"source_group": "shell", "source": "openbmb/UltraData-Stack-v3-L2/shell", "domain": "github.com", "language": "shell", "url": "https://github.com/jac002020/DCASE2020-Task1A-PKU/blob/b070e2e1e08b45ef40fd5fb18ddfe7f31d0347c7/runme.sh", "id": "shell-0-ee31740bba7d041462f25f98df3595c0", "text": "#!/bin/bash\r\n# You need to modify this path to your downloaded dataset directory\r\nDATASET_DIR='/home/cdd/code2/dcase2020/task1a'\r\n\r\n# You need to modify this path to your workspace to store features and models\r\nWORKSPACE='/home/cdd/code2/dcase2020_task1/workspace'\r\n\r\n# Hyper-parameters\r\nGPU_ID=2\r\n#MODEL_TYPE='Logmel_Cnn'\r\n#MODEL_TYPE='Cqt_Cnn'\r\n#MODEL_TYPE='Gamm_Cnn'\r\nMODEL_TYPE='Mfcc_Cnn'\r\n#MODEL_TYPE='Ensemble_CNN'\r\n#MODEL_TYPE='Logmel_Res38'\r\n#MODEL_TYPE='Logmel_Wavegram_Logmel_Cnn14'\r\n#MODEL_TYPE='Logmel_Cnn14'\r\n#MODEL_TYPE='Logmel_Cnn10'\r\n#MODEL_TYPE='Logmel_MobileNetV2'\r\n#MODEL_TYPE='Logmel_MobileNetV1'\r\n#MODEL_TYPE='Logmel_Wavegram_Cnn14'\r\n#MODEL_TYPE='Ensemble_CNN2'\r\n#MODEL_TYPE='Logmel_MultiFrebands_CNN'\r\n#MODEL_TYPE='Logmel_SubFrebands_CNN'\r\n#MODEL_TYPE='Cqt_SubFrebands_CNN'\r\n#MODEL_TYPE='Gamm_SubFrebands_CNN'\r\n#MODEL_TYPE='Mfcc_SubFrebands_CNN'\r\n#MODEL_TYPE='Logmel_MultiFrames_CNN'\r\n#MODEL_TYPE='Cqt_MultiFrames_CNN'\r\n#MODEL_TYPE='Gamm_MultiFrames_CNN'\r\n#MODEL_TYPE='Mfcc_MultiFrames_CNN'\r\n#MODEL_TYPE='Ensemble_CNN3'\r\n#MODEL_TYPE='Ensemble_CNN5'\r\n#MODEL_TYPE='Ensemble_CNN6'\r\n#MODEL_TYPE='Ensemble_CNN4'\r\n#MODEL_TYPE='Ensemble_Models'\r\n\r\n\r\n#### Origanl Train (Other Models)\r\nBATCH_SIZE=64\r\nITE_TRAIN=24000\r\nITE_EVA=23800\r\nITE_STORE=23800\r\nFIXED=False\r\nFINETUNE=False\r\n\r\n```\r\n#### Train last layer (PANNS Models)\r\nBATCH_SIZE=32\r\nITE_TRAIN=2000\r\nITE_EVA=1800\r\nITE_STORE=1800\r\nFIXED=True\r\nFINETUNE=False\r\n```\r\n```\r\n#### Finetune (PANNS Models)\r\nBATCH_SIZE=24\r\nITE_TRAIN=12000\r\nITE_EVA=10000\r\nITE_STORE=10000\r\nFIXED=False\r\nFINETUNE=True\r\n```\r\n############ Train and validate on development dataset ############\r\n# Calculate feature\r\n#python utils/features.py calculate_feature_for_all_audio_files --dataset_dir=$DATASET_DIR --subtask='a' --data_type='development' --workspace=$WORKSPACE\r\n\r\n# Calculate scalar\r\n#python utils/features.py calculate_scalar --subtask='a' --data_type='development' --workspace=$WORKSPACE\r\n\r\n# Subtask A\r\n#CUDA_VISIBLE_DEVICES=$GPU_ID python pytorch/main.py train --dataset_dir=$DATASET_DIR --workspace=$WORKSPACE --subtask='a' --data_type='development' --holdout_fold=1 --model_type=$MODEL_TYPE --batch_size=$BATCH_SIZE --ite_train=$ITE_TRAIN --ite_eva=$ITE_EVA --ite_store=$ITE_STORE --fixed=$FIXED --finetune=$FINETUNE --cuda\r\n\r\n#CUDA_VISIBLE_DEVICES=$GPU_ID python pytorch/main.py inference_validation --dataset_dir=$DATASET_DIR --workspace=$WORKSPACE --subtask='a' --data_type='development' --holdout_fold=1 --model_type=$MODEL_TYPE --iteration=8000 --batch_size=$BATCH_SIZE --cuda\r\n\r\n# Train on full data\r\nCUDA_VISIBLE_DEVICES=$GPU_ID python pytorch/main_eva.py train --dataset_dir=$DATASET_DIR --workspace=$WORKSPACE --subtask='a' --data_type='development' --holdout_fold=1 --model_type=$MODEL_TYPE --batch_size=$BATCH_SIZE --ite_train=$ITE_TRAIN --ite_eva=$ITE_EVA --ite_store=$ITE_STORE --fixed=$FIXED --finetune=$FINETUNE --cuda\r\n\r\n# # Plot statistics\r\n# python utils/plot_results.py --workspace=$WORKSPACE --subtask=a\r\n\r\n# ############ Train on full data without validation, inference on leaderboard and evaluation data ############\r\n\r\n# # Extract features for leaderboard data\r\n# python utils/features.py calculate_feature_for_all_audio_files --dataset_dir=$DATASET_DIR --subtask='a' --data_type='leaderboard' --workspace=$WORKSPACE\r\n# python utils/features.py calculate_feature_for_all_audio_files --dataset_dir=$DATASET_DIR --subtask='b' --data_type='leaderboard' --workspace=$WORKSPACE\r\n# python utils/features.py calculate_feature_for_all_audio_files --dataset_dir=$DATASET_DIR --subtask='c' --data_type='leaderboard' --workspace=$WORKSPACE\r\n\r\n# # Train on full data\r\n# CUDA_VISIBLE_DEVICES=$GPU_ID python pytorch/main.py train --dataset_dir=$DATASET_DIR --workspace=$WORKSPACE --subtask='a' --data_type='development' --holdout_fold='none' --model_type=$MODEL_TYPE --batch_size=$BATCH_SIZE --cuda\r\n\r\n# CUDA_VISIBLE_DEVICES=$GPU_ID python pytorch/main.py train --dataset_dir=$DATASET_DIR --workspace=$WORKSPACE --subtask='b' --data_type='development' --holdout_fold='none' --model_type=$MODEL_TYPE --batch_size=$BATCH_SIZE --cuda\r\n\r\n# CUDA_VISIBLE_DEVICES=$GPU_ID python pytorch/main.py train --dataset_dir=$DATASET_DIR --workspace=$WORKSPACE --subtask='c' --data_type='development' --holdout_fold='none' --model_type=$MODEL_TYPE --batch_size=$BATCH_SIZE --cuda\r\n\r\n# # Inference on leaderboard data\r\n# CUDA_VISIBLE_DEVICES=$GPU_ID python pytorch/main.py inference_evaluation --workspace=$WORKSPACE --subtask='a' --data_type='leaderboard' --model_type=$MODEL_TYPE --iteration=5000 --batch_size=$BATCH_SIZE --cuda\r\n\r\n# CUDA_VISIBLE_DEVICES=$GPU_ID python pytorch/main.py inference_evaluation --workspace=$WORKSPACE --subtask='b' --data_type='leaderboard' --model_type=$MODEL_TYPE --iteration=5000 --batch_size=$BATCH_SIZE --cuda\r\n\r\n# CUDA_VISIBLE_DEVICES=$GPU_ID python pytorch/main.py inference_evaluation --workspace=$WORKSPACE --subtask='c' --data_type='leaderboard' --model_type=$MODEL_TYPE --iteration=5000 --batch_size=$BATCH_SIZE --cuda", "text_preview": "#!/bin/bash # You need to modify this path to your downloaded dataset directory DATASET_DIR='/home/cdd/code2/dcase2020/task1a' # You need to modify this path to your workspace to store features and models WORKSPACE='/home/cdd/code2/dcase202", "input_sha256": "0c4be2485f1c3704650d7834e48d5128c8e052c294aa2fd9090429c166157e57", "text_sha256": "ee31740bba7d041462f25f98df3595c0ad402e9e250086e08083b52cfab788dc", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 20024, "input_policy": "text-and-optional-url-v1", "label_policy_version": 12, "requested_model": "decision-models/baseten-mammoth-27b-latest", "backend": "baseten", "endpoint": "https://inference.baseten.co/v1/systemone", "status": "ok", "training_eligible": true, "label": {"primary": {"main_format": "Technical Writing", "sub_format": null}, "secondary": null, "tertiary": null, "content_structure": []}, "candidate_label": null, "topic": {"primary": {"main_topic": "Programming & Software Engineering", "sub_topic": null}, "secondary": null}, "scores": {"content_quality": 1, "noise_severity": 0, "missing_content_severity": 0, "factual_density": 3, "pretraining_utility": 0, "math_density": 0, "code_density": 4, "reasoning_density": 0, "education_level": 3, "creative_writing_quality": null}, "score_expectations": {"content_quality": 0.4182611608483293, "noise_severity": 0.20614980081125156, "missing_content_severity": 0.04320030121181858, "factual_density": 2.772749609682996, "pretraining_utility": 0.014085279388560266, "math_density": 0.10164726084561146, "code_density": 3.698105860869006, "reasoning_density": 0.011773479300253763, "education_level": 2.736831870471751, "creative_writing_quality": -0.3973287284662776}, "api_choices": {"primary": "Technical Writing", "secondary": "NONE", "tertiary": "NONE", "education_level": "3", "creative_writing_quality": "not_applicable", "primary_topic": "Programming & Software Engineering", "secondary_topic": "NONE"}, "review_reasons": [], "format_slot_diagnostics": {"comparable": true, "secondary_tertiary_identical": false, "secondary_tertiary_max_abs_gap": 0.07630345412336648, "secondary_choice": "NONE", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.9182926498754661, "secondary": 0.7966440447640458, "tertiary": 0.8762650403710369, "structured_records": 0.057358342698410045, "procedural_steps": 0.30324294605773916, "worked_solution": 0.0003794469631914928, "contextual_dialogue": 9.128964064634662e-06, "content_quality": 0.3355831672830416, "noise_severity": 0.828208499323957, "missing_content_severity": 0.9639997489901512, "factual_density": 0.41505763347852354, "pretraining_utility": 0.501380380924662, "math_density": 0.9152939492953238, "code_density": 0.7484215507241716, "reasoning_density": 0.9901887672497885, "education_level": 0.3318263877321453, "creative_writing_quality": 0.999608719731027, "primary_topic": 0.9238364924436422, "secondary_topic": 0.5398942316001376}, "probability_margin": {"primary": 0.8527904671738055, "secondary": 0.7027803949539818, "tertiary": 0.8227289884742128, "education_level": 0.04591539688679952, "creative_writing_quality": 0.9995530067120039, "primary_topic": 0.8662336954582092, "secondary_topic": 0.3042627357448304}, "raw_probabilities": {"primary": {"Academic Writing": 0.0003217323987320516, "Content Listing": 0.00022726729429933592, "Creative Writing": 0.00013715686732087328, "Customer Support Page": 0.00016342620009403684, "Q&A Forum": 0.00011972170854141868, "Discussion Thread": 8.409363619194657e-05, "Comment Section": 0.00012892149989785165, "Missing Content": 0.00014369030197950323, "Knowledge Article": 0.00036329854120360414, "Legal Notices": 0.0001274931185529695, "News Article": 5.4820852111955595e-05, "Organizational Announcement": 0.00011242545633315327, "Nonfiction Writing": 9.949790937592236e-05, "Organizational About Page": 0.00012935056705820318, "Personal About Page": 9.881050225216629e-05, "Personal Blog": 7.733855231496804e-05, "Product Page": 6.738200847845982e-05, "Spam / Ads": 0.00010699746954233721, "Structured Data": 0.0020164032896265276, "Technical Writing": 0.9216971227973216, "Transcript / Interview": 0.00013595945676022885, "Tutorial / How-To Guide": 0.06890665562351612, "User Reviews": 6.26372388924619e-05, "Other / Unknown": 0.004617796709602078}, "secondary": {"Academic Writing": 0.0017829142764360908, "Content Listing": 0.0004380375615025379, "Creative Writing": 0.00039224413390225043, "Customer Support Page": 0.0005140986315323979, "Q&A Forum": 0.0002815830127554109, "Discussion Thread": 0.00019029652293941053, "Comment Section": 0.00037581710668903854, "Missing Content": 0.000530340990883119, "Knowledge Article": 0.0013949443928525241, "Legal Notices": 0.00032365065290642275, "News Article": 0.00023800249695392592, "Organizational Announcement": 0.000271642053758291, "Nonfiction Writing": 0.00027061747336582827, "Organizational About Page": 0.00028527715041217394, "Personal About Page": 0.0002612094523721808, "Personal Blog": 0.00026430476415234257, "Product Page": 0.00017977745374547378, "Spam / Ads": 0.00025477702987317357, "Structured Data": 0.009995774485054565, "Technical Writing": 0.07381800303167914, "Transcript / Interview": 0.00033006934337830306, "Tutorial / How-To Guide": 0.1023368146115621, "User Reviews": 0.00015259380574938615, "NONE": 0.8051172095655439}, "tertiary": {"Academic Writing": 0.0011452039822417359, "Content Listing": 0.00022234301154384106, "Creative Writing": 0.00021261276434777335, "Customer Support Page": 0.000322553863634103, "Q&A Forum": 0.00012283532656795701, "Discussion Thread": 0.00010671573621926249, "Comment Section": 0.0002543616506931027, "Missing Content": 0.00045418290186216836, "Knowledge Article": 0.0013349069635993681, "Legal Notices": 0.00022579605641095184, "News Article": 0.00012758000618729142, "Organizational Announcement": 0.00014181715314119975, "Nonfiction Writing": 0.00015054771407208904, "Organizational About Page": 0.00018048169293809853, "Personal About Page": 0.00013804544870429727, "Personal Blog": 0.0001440810180145334, "Product Page": 0.00011190317100952493, "Spam / Ads": 0.0001522650262725414, "Structured Data": 0.014899691723413806, "Technical Writing": 0.039205550121073976, "Transcript / Interview": 0.00016439942173069778, "Tutorial / How-To Guide": 0.0586916752146975, "User Reviews": 6.978634271381371e-05, "NONE": 0.8814206636889104}, "structured_records": {"false": 0.94264165730159, "true": 0.057358342698410045}, "procedural_steps": {"false": 0.6967570539422608, "true": 0.30324294605773916}, "worked_solution": {"false": 0.9996205530368085, "true": 0.0003794469631914928}, "contextual_dialogue": {"false": 0.9999908710359353, "true": 9.128964064634662e-06}, "content_quality": {"-2": 0.02178231593653455, "-1": 0.1324667203534892, "0": 0.3592391306894283, "1": 0.37873115296620835, "2": 0.10778068005433962}, "noise_severity": {"0": 0.845125143041562, "1": 0.11077407380989057, "2": 0.03852895476789177, "3": 0.0039694960570452725, "4": 0.0016023323236104073}, "missing_content_severity": {"0": 0.9737114364314208, "1": 0.013542011922842814, "2": 0.008965058325971524, "3": 0.00339780064202653, "4": 0.0003836926777382803}, "factual_density": {"0": 0.015134284304339808, "1": 0.07840754784990844, "2": 0.2623726664585515, "3": 0.40674527663281634, "4": 0.2373402247543839}, "pretraining_utility": {"-2": 0.023656902747586823, "-1": 0.244815326255749, "0": 0.46303945973298305, "1": 0.2307622113878794, "2": 0.037726099875801763}, "math_density": {"0": 0.9448099344942329, "1": 0.03455381010387899, "2": 0.005902215816654748, "3": 0.0036471392325110514, "4": 0.01108690035272246}, "code_density": {"0": 0.0005709972951673917, "1": 0.0017464328593803718, "2": 0.03574765940890944, "3": 0.22287553255436449, "4": 0.7390593778821783}, "reasoning_density": {"0": 0.9917213074560282, "1": 0.00542103139361244, "2": 0.0023627574728601907, "3": 0.0003526817490763493, "4": 0.00014222192842297326}, "education_level": {"none": 0.0011655415324344268, "0": 0.0018924101106993982, "1": 0.005463679537091346, "2": 0.39727325955665493, "3": 0.44318865644345445, "4": 0.1510164528196654}, "creative_writing_quality": {"not_applicable": 0.9996739331091892, "-2": 5.8255290727733985e-05, "-1": 8.798958653364121e-05, "0": 0.0001209263971852856, "1": 4.28468078597884e-05, "2": 1.604880850427214e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 0.00012262094174846173, "Art & Design": 0.0002304256176729526, "Law & Crime": 0.000181651901466933, "Education & Careers": 0.00014984374716477822, "Entertainment & Media": 0.00042551956441161067, "Fashion & Beauty": 0.00012172635225710712, "Business, Economics & Finance": 0.00014803122446771112, "Food & Dining": 0.00011691559376966296, "Games & Gaming": 0.00023165575942415598, "Electronics & Hardware": 0.0020614906850154454, "Health, Healthcare & Wellness": 0.00016623539174493956, "History & Geography": 0.00016008563995655882, "Home, Pets & Hobbies": 0.000125386494987498, "Industry & Production": 0.00013342594928171677, "Language, Literature & Philosophy": 0.00012657350785597485, "Politics & Government": 8.312895242039664e-05, "Religion & Spirituality": 0.00010943300720152468, "Science, Mathematics & Engineering": 0.06053216266067751, "Relationships & Community": 5.5783585657935245e-05, "Software Usage & Applications": 0.0060484871137845495, "Programming & Software Engineering": 0.9267658581188867, "Sports & Fitness": 0.00014611871408778002, "Vehicles & Transportation": 8.133557256787211e-05, "Travel & Tourism": 0.00013354070988486543, "Other / Uncovered Subject": 0.001282308727396009, "Unknown / Insufficient Content": 0.0002602544662094083}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0007871581690988129, "Art & Design": 0.0007910352539063262, "Law & Crime": 0.0010669966928993737, "Education & Careers": 0.0006134692594812995, "Entertainment & Media": 0.0027178928037404223, "Fashion & Beauty": 0.00041979725329457923, "Business, Economics & Finance": 0.0007003273264297372, "Food & Dining": 0.00040268839684686234, "Games & Gaming": 0.0006153844784020882, "Electronics & Hardware": 0.007217268780020546, "Health, Healthcare & Wellness": 0.0007246995001182091, "History & Geography": 0.0005091482743474163, "Home, Pets & Hobbies": 0.000443584167651363, "Industry & Production": 0.0004495073567560758, "Language, Literature & Philosophy": 0.00031081193698952365, "Politics & Government": 0.00034892875674538313, "Religion & Spirituality": 0.0005042464855060606, "Science, Mathematics & Engineering": 0.2533278715629942, "Relationships & Community": 0.00022141547947231377, "Software Usage & Applications": 0.013502697286953904, "Programming & Software Engineering": 0.15355092508638796, "Sports & Fitness": 0.00048362117375803275, "Vehicles & Transportation": 0.0002763187030496528, "Travel & Tourism": 0.0006009812239083755, "Other / Uncovered Subject": 0.0018226172834169075, "NONE": 0.5575906073078246}}, "probabilities": {"primary": {"Academic Writing": 0.00032173239873205164, "Content Listing": 0.00022726729429933598, "Creative Writing": 0.0001371568673208733, "Customer Support Page": 0.00016342620009403687, "Q&A Forum": 0.00011972170854141871, "Discussion Thread": 8.409363619194659e-05, "Comment Section": 0.00012892149989785168, "Missing Content": 0.00014369030197950325, "Knowledge Article": 0.0003632985412036042, "Legal Notices": 0.00012749311855296953, "News Article": 5.482085211195561e-05, "Organizational Announcement": 0.0001124254563331533, "Nonfiction Writing": 9.949790937592238e-05, "Organizational About Page": 0.0001293505670582032, "Personal About Page": 9.881050225216631e-05, "Personal Blog": 7.733855231496805e-05, "Product Page": 6.738200847845984e-05, "Spam / Ads": 0.00010699746954233724, "Structured Data": 0.002016403289626528, "Technical Writing": 0.9216971227973219, "Transcript / Interview": 0.00013595945676022887, "Tutorial / How-To Guide": 0.06890665562351614, "User Reviews": 6.263723889246191e-05, "Other / Unknown": 0.004617796709602079}, "secondary": {"Academic Writing": 0.0017829142764360908, "Content Listing": 0.0004380375615025379, "Creative Writing": 0.00039224413390225043, "Customer Support Page": 0.0005140986315323979, "Q&A Forum": 0.0002815830127554109, "Discussion Thread": 0.00019029652293941053, "Comment Section": 0.00037581710668903854, "Missing Content": 0.000530340990883119, "Knowledge Article": 0.0013949443928525241, "Legal Notices": 0.00032365065290642275, "News Article": 0.00023800249695392592, "Organizational Announcement": 0.000271642053758291, "Nonfiction Writing": 0.00027061747336582827, "Organizational About Page": 0.00028527715041217394, "Personal About Page": 0.0002612094523721808, "Personal Blog": 0.00026430476415234257, "Product Page": 0.00017977745374547378, "Spam / Ads": 0.00025477702987317357, "Structured Data": 0.009995774485054565, "Technical Writing": 0.07381800303167914, "Transcript / Interview": 0.00033006934337830306, "Tutorial / How-To Guide": 0.1023368146115621, "User Reviews": 0.00015259380574938615, "NONE": 0.8051172095655439}, "tertiary": {"Academic Writing": 0.0011452039822417359, "Content Listing": 0.00022234301154384106, "Creative Writing": 0.00021261276434777335, "Customer Support Page": 0.000322553863634103, "Q&A Forum": 0.00012283532656795701, "Discussion Thread": 0.00010671573621926249, "Comment Section": 0.0002543616506931027, "Missing Content": 0.00045418290186216836, "Knowledge Article": 0.0013349069635993681, "Legal Notices": 0.00022579605641095184, "News Article": 0.00012758000618729142, "Organizational Announcement": 0.00014181715314119975, "Nonfiction Writing": 0.00015054771407208904, "Organizational About Page": 0.00018048169293809853, "Personal About Page": 0.00013804544870429727, "Personal Blog": 0.0001440810180145334, "Product Page": 0.00011190317100952493, "Spam / Ads": 0.0001522650262725414, "Structured Data": 0.014899691723413806, "Technical Writing": 0.039205550121073976, "Transcript / Interview": 0.00016439942173069778, "Tutorial / How-To Guide": 0.0586916752146975, "User Reviews": 6.978634271381371e-05, "NONE": 0.8814206636889104}, "structured_records": {"false": 0.94264165730159, "true": 0.057358342698410045}, "procedural_steps": {"false": 0.6967570539422608, "true": 0.30324294605773916}, "worked_solution": {"false": 0.9996205530368085, "true": 0.0003794469631914928}, "contextual_dialogue": {"false": 0.9999908710359353, "true": 9.128964064634662e-06}, "content_quality": {"-2": 0.02178231593653455, "-1": 0.1324667203534892, "0": 0.3592391306894283, "1": 0.37873115296620835, "2": 0.10778068005433962}, "noise_severity": {"0": 0.845125143041562, "1": 0.11077407380989057, "2": 0.03852895476789177, "3": 0.0039694960570452725, "4": 0.0016023323236104073}, "missing_content_severity": {"0": 0.9737114364314209, "1": 0.013542011922842816, "2": 0.008965058325971526, "3": 0.0033978006420265303, "4": 0.00038369267773828036}, "factual_density": {"0": 0.015134284304339808, "1": 0.07840754784990844, "2": 0.2623726664585515, "3": 0.40674527663281634, "4": 0.2373402247543839}, "pretraining_utility": {"-2": 0.023656902747586823, "-1": 0.244815326255749, "0": 0.46303945973298305, "1": 0.2307622113878794, "2": 0.037726099875801763}, "math_density": {"0": 0.9448099344942327, "1": 0.034553810103878986, "2": 0.005902215816654746, "3": 0.0036471392325110505, "4": 0.011086900352722459}, "code_density": {"0": 0.0005709972951673917, "1": 0.0017464328593803718, "2": 0.03574765940890944, "3": 0.22287553255436449, "4": 0.7390593778821783}, "reasoning_density": {"0": 0.9917213074560282, "1": 0.00542103139361244, "2": 0.0023627574728601907, "3": 0.0003526817490763493, "4": 0.00014222192842297326}, "education_level": {"none": 0.0011655415324344268, "0": 0.0018924101106993982, "1": 0.005463679537091346, "2": 0.39727325955665493, "3": 0.44318865644345445, "4": 0.1510164528196654}, "creative_writing_quality": {"not_applicable": 0.9996739331091893, "-2": 5.825529072773399e-05, "-1": 8.798958653364122e-05, "0": 0.00012092639718528561, "1": 4.2846807859788407e-05, "2": 1.6048808504272144e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 0.00012262094174846173, "Art & Design": 0.0002304256176729526, "Law & Crime": 0.000181651901466933, "Education & Careers": 0.00014984374716477822, "Entertainment & Media": 0.00042551956441161067, "Fashion & Beauty": 0.00012172635225710712, "Business, Economics & Finance": 0.00014803122446771112, "Food & Dining": 0.00011691559376966296, "Games & Gaming": 0.00023165575942415598, "Electronics & Hardware": 0.0020614906850154454, "Health, Healthcare & Wellness": 0.00016623539174493956, "History & Geography": 0.00016008563995655882, "Home, Pets & Hobbies": 0.000125386494987498, "Industry & Production": 0.00013342594928171677, "Language, Literature & Philosophy": 0.00012657350785597485, "Politics & Government": 8.312895242039664e-05, "Religion & Spirituality": 0.00010943300720152468, "Science, Mathematics & Engineering": 0.06053216266067751, "Relationships & Community": 5.5783585657935245e-05, "Software Usage & Applications": 0.0060484871137845495, "Programming & Software Engineering": 0.9267658581188867, "Sports & Fitness": 0.00014611871408778002, "Vehicles & Transportation": 8.133557256787211e-05, "Travel & Tourism": 0.00013354070988486543, "Other / Uncovered Subject": 0.001282308727396009, "Unknown / Insufficient Content": 0.0002602544662094083}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0007871581690988129, "Art & Design": 0.0007910352539063262, "Law & Crime": 0.0010669966928993737, "Education & Careers": 0.0006134692594812995, "Entertainment & Media": 0.0027178928037404223, "Fashion & Beauty": 0.00041979725329457923, "Business, Economics & Finance": 0.0007003273264297372, "Food & Dining": 0.00040268839684686234, "Games & Gaming": 0.0006153844784020882, "Electronics & Hardware": 0.007217268780020546, "Health, Healthcare & Wellness": 0.0007246995001182091, "History & Geography": 0.0005091482743474163, "Home, Pets & Hobbies": 0.000443584167651363, "Industry & Production": 0.0004495073567560758, "Language, Literature & Philosophy": 0.00031081193698952365, "Politics & Government": 0.00034892875674538313, "Religion & Spirituality": 0.0005042464855060606, "Science, Mathematics & Engineering": 0.2533278715629942, "Relationships & Community": 0.00022141547947231377, "Software Usage & Applications": 0.013502697286953904, "Programming & Software Engineering": 0.15355092508638796, "Sports & Fitness": 0.00048362117375803275, "Vehicles & Transportation": 0.0002763187030496528, "Travel & Tourism": 0.0006009812239083755, "Other / Uncovered Subject": 0.0018226172834169075, "NONE": 0.5575906073078246}}, "probability_diagnostics": {"primary": {"raw_sum": 0.9999999999999998, "mass_delta": -2.220446049250313e-16, "missing_mass": 2.220446049250313e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "tertiary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "structured_records": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "procedural_steps": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "worked_solution": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "contextual_dialogue": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "content_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "noise_severity": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "missing_content_severity": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "factual_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "pretraining_utility": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "math_density": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "code_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "reasoning_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "education_level": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "creative_writing_quality": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "primary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}}, "usage": {"input_tokens": 9947, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 9947, "cached_share": null, "cache_discount_reported": null, "reported_cost_usd": null}, "response_metadata": {"model": "decision-models/baseten-mammoth-27b-latest"}, "scored_at_utc": "2026-10-25T18:30:15.621711+00:00", "scoring_key_slot": "primary", "dataset_uid": "804d42f4-3168-4ccf-88cd-9e9e08df6a66", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "7c4ff9409484adaf5d19b744270252b69f04fba4d28f879c200e3bbb19dab438", "source_metadata": {"uuid": "804d42f4-3168-4ccf-88cd-9e9e08df6a66", "repo_name": "jac002020/DCASE2020-Task1A-PKU", "relative_path": "runme.sh", "category": "DATA", "algo_rel_score": 0.8828813433647156, "quality_score": 4.145375728607178, "source_meta": {"github_metadata": {"branch": "master", "commit_count": 9, "repo_created_at": "2020-05-30T19:39:56.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 2, "forks": 1, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "1163ae624e994690277ca85a1637134b4f0367a9", "size_bytes": 5004, "file_timestamp": 1590564311, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "b070e2e1e08b45ef40fd5fb18ddfe7f31d0347c7"}}, "parsed_source_meta": {"github_metadata": {"branch": "master", "commit_count": 9, "repo_created_at": "2020-05-30T19:39:56.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 2, "forks": 1, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "1163ae624e994690277ca85a1637134b4f0367a9", "size_bytes": 5004, "file_timestamp": 1590564311, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "b070e2e1e08b45ef40fd5fb18ddfe7f31d0347c7", "url": "https://github.com/jac002020/DCASE2020-Task1A-PKU/blob/b070e2e1e08b45ef40fd5fb18ddfe7f31d0347c7/runme.sh"}, "gpt4o_tokens": 1384, "dataset_split": "shell", "probability_weighted_scores": {"content_quality": 0.4182611608483293, "noise_severity": 0.20614980081125156, "missing_content_severity": 0.04320030121181858, "factual_density": 2.772749609682996, "pretraining_utility": 0.014085279388560266, "math_density": 0.10164726084561147, "code_density": 3.698105860869006, "reasoning_density": 0.011773479300253763, "education_level": 2.736831870471751, "creative_writing_quality": -0.3973287284662776}, "score_applicability": {"education_level": 0.9988344584675655, "creative_writing_quality": 0.0003260668908107214}} {"source_group": "shell", "source": "openbmb/UltraData-Stack-v3-L2/shell", "domain": "github.com", "language": "shell", "url": "https://github.com/Universe1609/Bash-Scripts/blob/3f1554edcd715d9b04f6341a03894c58ae92c7f2/desafio_2/install_wordpress.sh", "id": "shell-0-e2b3aa5caf2dcbaf1778b8cfecd95995", "text": "#!/bin/bash\n\nDB_NAME=\"wordpress\"\nDB_USER=\"wordpress\"\nWP_DIR=\"/srv/www/wordpress\"\nAPACHE_CONF=\"/etc/apache2/sites-available/wordpress.conf\"\n\n\nSQL1=\"CREATE DATABASE IF NOT EXISTS $DB_NAME\"\nSQL2=\"CREATE USER IF NOT EXITS '$DB_USER'@'%' IDENTIFIED BY '$DB_PASS':\"\nSQL3=\"GRANT ALL PRIVILEGES ON $DB_NAME.* TO '$DB_USER'@'%';\"\nSQL4=\"FLUSH PRIVILEGES;\"\n\nread -sp \"Please enter database password: \" DB_PASS\n#Install Dependencies:\nsudo apt update\nsudo apt install apache2 \\\n ghostscript \\\n libapache2-mod-php \\\n mysql-server \\\n php \\\n php-bcmath \\\n php-curl \\\n php-imagick \\\n php-intl \\\n php-json \\\n php-mbstring \\\n php-mysql \\\n php-xml \\\n php-zip -y\n\n#Installing WordPress:\n\nif [ -f \"$WP_DIR/wp-config.php\" ]; then\n\techo \"Wordpress is already installed\"\nelse\n\techo \"WordPress is not installed.\"\n\techo \"INSTALLING\"\n\tsudo mkdir -p /srv/www\n\tsudo chown www-data: /srv/www\n\tcurl https://wordpress.org/latest.tar.gz | sudo -u www-data tar zx -C /srv/www\nfi\n\n#Creating MYSQL DB and WordPress user\nif dpkg -l | grep -qw sql-server; then\n\t\n\techo \"SQL installed, configuration DB and user\"\n\tread -sp \"Enter mysql password: \" DB_ROOT_PASS\n\tmysql -u root -p \"$DB_ROOT_PASS\" -e \"$SQL1$SQL2$SQL3$SQL4\"\n\techo \"DB and user already configurated\"\n\tsudo service mysql reload\nelse\n\tsudo apt install mysql-server\n\texit\nfi\n\n\n#Configure Apache for WordPress\n\nif [ -f \"$APACHE_CONF\" ]; then\n\techo \"Apache configuration already exist\"\nelse\n\techo \"Configuration Apache for wordPress\"\n\n\tsudo bash -c \"cat > $APACHE_CONF\" <\n DocumentRoot /srv/www/wordpress\n \n Options FollowSymLinks\n AllowOverride Limit Options FileInfo\n DirectoryIndex index.php\n Require all granted\n \n \n Options FollowSymLinks\n Require all granted\n \n\nEOF\n\n\techo \"Apache configurations has been created\"\n\n\t#Enable the site with:\n\tsudo a2ensite wordpress\n\t#Enable URL rewriting with:\n\tsudo a2enmod rewrite\n\t#Disable the default “It Works” site with:\n\tsudo a2dissite 000-default\n\t#Finally, reload apache2 to apply all these changes:\n\tsudo service apache2 reload\nfi\n\n#Configure WordPress to connect to the database (wp-config.php)\n\nsudo -u www-data cp /srv/www/wordpress/wp-config-sample.php /srv/www/wordpress/wp-config.php\n\n#Set database credentials\n\nsudo -u www-data sed -i 's/database_name_here/'$DB_NAME'/' /srv/www/wordpress/wp-config.php\nsudo -u www-data sed -i 's/username_here/'$DB_USER'/' /srv/www/wordpress/wp-config.php\nsudo -u www-data sed -i 's/password_here/'$DB_PASS'/' /srv/www/wordpress/wp-config.php\n\n#Save api content\n\nAPI_WP=$(curl https://api.wordpress.org/secret-key/1.1/salt/)\n\nKEYS=$(echo \"$API_WP\" | sed 's/[&]/\\\\&/g')\n\nWP_CONFIG=\"/srv/www/wordpress/wp-config.php\"\n\nsudo -u www-data sed -i '/AUTH_KEY/d' $WP_CONFIG\nsudo -u www-data sed -i '/SECURE_AUTH_KEY/d' $WP_CONFIG\nsudo -u www-data sed -i '/LOGGED_IN_KEY/d' $WP_CONFIG\nsudo -u www-data sed -i '/NONCE_KEY/d' $WP_CONFIG\nsudo -u www-data sed -i '/AUTH_SALT/d' $WP_CONFIG\nsudo -u www-data sed -i '/SECURE_AUTH_SALT/d' $WP_CONFIG\nsudo -u www-data sed -i '/LOGGED_IN_SALT/d' $WP_CONFIG\nsudo -u www-data sed -i '/NONCE_SALT/d' $WP_CONFIG\n\necho \"$KEYS\" | sudo -u www-data tee -a $WP_CONFIG > /dev/null\n\n#Validate .htaccess\n\nif [ -f $WP_DIR/.htaccess ]; then\n\techo \".htaccess already exist\"\nelse\n\techo \"creating .htaccess\"\n\tsudo bash -c \"cat $WP_DIR/.htaccess\"<\n\tRewriteEngine On\n\tRewriteBase /\n\tRewriteRule ^index\\.php$ - [L]\n\tRewriteCond %{REQUEST_FILENAME} !-f\n\tRewriteCond %{REQUEST_FILENAME} !-d\n\tRewriteRule . /index.php [L]\n\t\n\t\n\t\n\torder allow,deny\n\tdeny from all\n\t\n\t# END WordPress\nEOF\n\n", "text_preview": "#!/bin/bash DB_NAME=\"wordpress\" DB_USER=\"wordpress\" WP_DIR=\"/srv/www/wordpress\" APACHE_CONF=\"/etc/apache2/sites-available/wordpress.conf\" SQL1=\"CREATE DATABASE IF NOT EXISTS $DB_NAME\" SQL2=\"CREATE USER IF NOT EXITS '$DB_USER'@'%' IDENTIFIED", "input_sha256": "6180f0e50f90df7f1b2e0a7a0ffd8d45d68ad44f6ba5569fa48cd921d2e2504a", "text_sha256": "e2b3aa5caf2dcbaf1778b8cfecd95995d142c30c5361bb6fd8851dd8945072b2", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 20026, "input_policy": "text-and-optional-url-v1", "label_policy_version": 12, "requested_model": "decision-models/baseten-mammoth-27b-latest", "backend": "baseten", "endpoint": "https://inference.baseten.co/v1/systemone", "status": "ok", "training_eligible": true, "label": {"primary": {"main_format": "Technical Writing", "sub_format": null}, "secondary": null, "tertiary": null, "content_structure": []}, "candidate_label": null, "topic": {"primary": {"main_topic": "Programming & Software Engineering", "sub_topic": null}, "secondary": null}, "scores": {"content_quality": -1, "noise_severity": 0, "missing_content_severity": 0, "factual_density": 4, "pretraining_utility": 1, "math_density": 0, "code_density": 4, "reasoning_density": 0, "education_level": 2, "creative_writing_quality": null}, "score_expectations": {"content_quality": -0.28174257722678586, "noise_severity": 0.05576513515495306, "missing_content_severity": 0.25959886957355466, "factual_density": 3.4075568129040756, "pretraining_utility": 0.5088412031267304, "math_density": 0.0038924373767478693, "code_density": 3.848420962329381, "reasoning_density": 0.45746245870457525, "education_level": 2.2642092873377777, "creative_writing_quality": -0.5589356434554119}, "api_choices": {"primary": "Technical Writing", "secondary": "NONE", "tertiary": "NONE", "education_level": "2", "creative_writing_quality": "not_applicable", "primary_topic": "Programming & Software Engineering", "secondary_topic": "NONE"}, "review_reasons": [], "format_slot_diagnostics": {"comparable": true, "secondary_tertiary_identical": false, "secondary_tertiary_max_abs_gap": 0.13064676727971736, "secondary_choice": "NONE", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.8793891434637915, "secondary": 0.6863938539771062, "tertiary": 0.8227209154863766, "structured_records": 0.022261408352302833, "procedural_steps": 0.5735473205276522, "worked_solution": 0.00462846579448179, "contextual_dialogue": 1.2500599064681983e-05, "content_quality": 0.25909264254294373, "noise_severity": 0.9535290540375392, "missing_content_severity": 0.7836676086887044, "factual_density": 0.5062973440867297, "pretraining_utility": 0.47313328905892427, "math_density": 0.9967563021860435, "code_density": 0.8736841352744839, "reasoning_density": 0.6187812844128538, "education_level": 0.6147306831530321, "creative_writing_quality": 0.9984332911771763, "primary_topic": 0.8626713220360424, "secondary_topic": 0.5724373419747152}, "probability_margin": {"primary": 0.7757174272266886, "secondary": 0.5226999431498084, "tertiary": 0.734628929158576, "education_level": 0.4139690665418974, "creative_writing_quality": 0.9982214759410745, "primary_topic": 0.7397843558623411, "secondary_topic": 0.30661588117039806}, "raw_probabilities": {"primary": {"Academic Writing": 0.00021801842496741835, "Content Listing": 0.00023443715857819833, "Creative Writing": 0.00020275924035071709, "Customer Support Page": 0.00021274128928954142, "Q&A Forum": 0.00015464053305203903, "Discussion Thread": 0.00011024354355677628, "Comment Section": 0.00017152246930456376, "Missing Content": 0.00016565661851421643, "Knowledge Article": 0.0004583875611578255, "Legal Notices": 0.00014648704067082334, "News Article": 8.887085113656395e-05, "Organizational Announcement": 0.00013485877629282702, "Nonfiction Writing": 0.00014611611616189172, "Organizational About Page": 0.00017035297616389407, "Personal About Page": 0.00011709729560177045, "Personal Blog": 8.938202527181691e-05, "Product Page": 9.885711574552149e-05, "Spam / Ads": 0.00013978897546709993, "Structured Data": 0.0005178310168603248, "Technical Writing": 0.8844145958194668, "Transcript / Interview": 0.00018515242490134428, "Tutorial / How-To Guide": 0.10869716859277825, "User Reviews": 8.736298772067025e-05, "Other / Unknown": 0.0030376711469892285}, "secondary": {"Academic Writing": 0.0008425017791494353, "Content Listing": 0.0005099717922806098, "Creative Writing": 0.0005691542358432202, "Customer Support Page": 0.0008121190275133282, "Q&A Forum": 0.0004078616889460618, "Discussion Thread": 0.0002526018517005494, "Comment Section": 0.000518414597022253, "Missing Content": 0.0007020269072337573, "Knowledge Article": 0.001791593818903362, "Legal Notices": 0.0005329182106614045, "News Article": 0.00041248489874263534, "Organizational Announcement": 0.000380911594869301, "Nonfiction Writing": 0.0004215259669437537, "Organizational About Page": 0.00047439788895797135, "Personal About Page": 0.0003907381218660859, "Personal Blog": 0.0003700935675601271, "Product Page": 0.0002908524930175162, "Spam / Ads": 0.0003932574088306008, "Structured Data": 0.0035234041439745796, "Technical Writing": 0.10938714968280841, "Transcript / Interview": 0.0005506371870154094, "Tutorial / How-To Guide": 0.17676083357825165, "User Reviews": 0.00024377282984777585, "NONE": 0.6994607767280601}, "tertiary": {"Academic Writing": 0.00040741188956301764, "Content Listing": 0.000307142419056671, "Creative Writing": 0.00034665215750330264, "Customer Support Page": 0.0004351159205347878, "Q&A Forum": 0.00017817103517978083, "Discussion Thread": 0.0001258786991821551, "Comment Section": 0.00034107445712461656, "Missing Content": 0.0005132833191802973, "Knowledge Article": 0.0024457142517368626, "Legal Notices": 0.0005088735734339652, "News Article": 0.00019601814601538225, "Organizational Announcement": 0.00019650188181438187, "Nonfiction Writing": 0.00023210076810422967, "Organizational About Page": 0.00027599722921523755, "Personal About Page": 0.00020856204989539118, "Personal Blog": 0.00019537063827716015, "Product Page": 0.0001712057533580382, "Spam / Ads": 0.00024468491566051313, "Structured Data": 0.010056253379192812, "Technical Writing": 0.05661254448182495, "Transcript / Interview": 0.00029900217026613754, "Tutorial / How-To Guide": 0.09547861484920148, "User Reviews": 0.0001162820069013164, "NONE": 0.8301075440077775}, "structured_records": {"false": 0.9777385916476972, "true": 0.022261408352302833}, "procedural_steps": {"false": 0.4264526794723478, "true": 0.5735473205276522}, "worked_solution": {"false": 0.9953715342055182, "true": 0.00462846579448179}, "contextual_dialogue": {"false": 0.9999874994009353, "true": 1.2500599064681983e-05}, "content_quality": {"-2": 0.08541570308762673, "-1": 0.3600126191482942, "0": 0.3395255319453186, "1": 0.18099084354075903, "2": 0.03405530227800139}, "noise_severity": {"0": 0.9570991346752086, "1": 0.033601391840036784, "2": 0.0066695323428262055, "3": 0.0016950859384489577, "4": 0.0009348552034792444}, "missing_content_severity": {"0": 0.8554014881264211, "1": 0.04580614726206175, "2": 0.08500411492917972, "3": 0.011368506276215891, "4": 0.002419743406121429}, "factual_density": {"0": 0.003961526128352214, "1": 0.009988695980246272, "2": 0.09471625774395731, "3": 0.35719847915386205, "4": 0.5341350409935821}, "pretraining_utility": {"-2": 0.014355484697708702, "-1": 0.08097791336721569, "0": 0.35667714417372276, "1": 0.4774488296333423, "2": 0.0705406281280106}, "math_density": {"0": 0.9968946580455654, "1": 0.0026286988173789536, "2": 0.00026668843619022094, "3": 0.00010945711647276095, "4": 0.00010049758439254757}, "code_density": {"0": 0.00029376583940157725, "1": 0.0006095343264747777, "2": 0.013159872452947028, "3": 0.12225562642769469, "4": 0.863681200953482}, "reasoning_density": {"0": 0.74442358958293, "1": 0.10415340256978443, "2": 0.11352787313387529, "3": 0.02532722898660137, "4": 0.01256790572680906}, "education_level": {"none": 0.0015510439697971417, "0": 0.002710052204436871, "1": 0.0331335249286957, "2": 0.6789422359608601, "3": 0.2649731694189627, "4": 0.018689973517247556}, "creative_writing_quality": {"not_applicable": 0.9986944093143135, "-2": 0.0002254798749652277, "-1": 0.00046401916487127703, "0": 0.0004729333732390108, "1": 0.00010107880041384818, "2": 4.207947219715012e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 0.00014437789565531682, "Art & Design": 0.0002703044483843008, "Law & Crime": 0.00020233721028948995, "Education & Careers": 0.00015022908292168725, "Entertainment & Media": 0.0001579275315803432, "Fashion & Beauty": 0.00012252059412404083, "Business, Economics & Finance": 0.00018019273727995554, "Food & Dining": 0.00012227698165722734, "Games & Gaming": 0.00020919095755099105, "Electronics & Hardware": 0.0003438909136268911, "Health, Healthcare & Wellness": 0.000105925703719268, "History & Geography": 0.00016541850222073914, "Home, Pets & Hobbies": 0.00014822221988197075, "Industry & Production": 0.00016348196351534042, "Language, Literature & Philosophy": 0.00013507471810721887, "Politics & Government": 9.790091134670098e-05, "Religion & Spirituality": 0.00010593287628433458, "Science, Mathematics & Engineering": 0.00022435017254051758, "Relationships & Community": 8.498647293518747e-05, "Software Usage & Applications": 0.12816883840308427, "Programming & Software Engineering": 0.8679531942654254, "Sports & Fitness": 0.00018493954186470335, "Vehicles & Transportation": 9.566241098054115e-05, "Travel & Tourism": 0.00012465931112053176, "Other / Uncovered Subject": 0.00020708710735599104, "Unknown / Insufficient Content": 0.0001310770665471863}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0008015029513305862, "Art & Design": 0.0007303124868216007, "Law & Crime": 0.000836180641885575, "Education & Careers": 0.0004394222029181463, "Entertainment & Media": 0.0005651851975252539, "Fashion & Beauty": 0.00029197486394751967, "Business, Economics & Finance": 0.0007327752051534129, "Food & Dining": 0.0002919396422826387, "Games & Gaming": 0.0004161123685739514, "Electronics & Hardware": 0.0013838424756084852, "Health, Healthcare & Wellness": 0.0003514658487904454, "History & Geography": 0.00039123667891027294, "Home, Pets & Hobbies": 0.00041323754830652215, "Industry & Production": 0.0003675857771331942, "Language, Literature & Philosophy": 0.00027630775530631537, "Politics & Government": 0.00030349813009558743, "Religion & Spirituality": 0.00034939933795896216, "Science, Mathematics & Engineering": 0.0007576383295716366, "Relationships & Community": 0.0002583197841840728, "Software Usage & Applications": 0.28226617842067425, "Programming & Software Engineering": 0.11720530079194263, "Sports & Fitness": 0.0003390021462293632, "Vehicles & Transportation": 0.0002269523541820268, "Travel & Tourism": 0.0004757480502359259, "Other / Uncovered Subject": 0.0006468214193591459, "NONE": 0.5888820595910723}}, "probabilities": {"primary": {"Academic Writing": 0.0002180184249674183, "Content Listing": 0.00023443715857819828, "Creative Writing": 0.00020275924035071703, "Customer Support Page": 0.00021274128928954137, "Q&A Forum": 0.000154640533052039, "Discussion Thread": 0.00011024354355677626, "Comment Section": 0.00017152246930456373, "Missing Content": 0.0001656566185142164, "Knowledge Article": 0.0004583875611578254, "Legal Notices": 0.0001464870406708233, "News Article": 8.887085113656393e-05, "Organizational Announcement": 0.000134858776292827, "Nonfiction Writing": 0.0001461161161618917, "Organizational About Page": 0.00017035297616389405, "Personal About Page": 0.00011709729560177042, "Personal Blog": 8.93820252718169e-05, "Product Page": 9.885711574552146e-05, "Spam / Ads": 0.0001397889754670999, "Structured Data": 0.0005178310168603247, "Technical Writing": 0.8844145958194666, "Transcript / Interview": 0.00018515242490134423, "Tutorial / How-To Guide": 0.10869716859277823, "User Reviews": 8.736298772067024e-05, "Other / Unknown": 0.0030376711469892277}, "secondary": {"Academic Writing": 0.0008425017791494355, "Content Listing": 0.00050997179228061, "Creative Writing": 0.0005691542358432203, "Customer Support Page": 0.0008121190275133283, "Q&A Forum": 0.00040786168894606185, "Discussion Thread": 0.00025260185170054947, "Comment Section": 0.0005184145970222531, "Missing Content": 0.0007020269072337574, "Knowledge Article": 0.0017915938189033622, "Legal Notices": 0.0005329182106614046, "News Article": 0.0004124848987426354, "Organizational Announcement": 0.00038091159486930106, "Nonfiction Writing": 0.00042152596694375376, "Organizational About Page": 0.0004743978889579714, "Personal About Page": 0.000390738121866086, "Personal Blog": 0.00037009356756012715, "Product Page": 0.00029085249301751627, "Spam / Ads": 0.0003932574088306009, "Structured Data": 0.00352340414397458, "Technical Writing": 0.10938714968280842, "Transcript / Interview": 0.0005506371870154095, "Tutorial / How-To Guide": 0.17676083357825167, "User Reviews": 0.00024377282984777587, "NONE": 0.6994607767280602}, "tertiary": {"Academic Writing": 0.00040741188956301764, "Content Listing": 0.000307142419056671, "Creative Writing": 0.00034665215750330264, "Customer Support Page": 0.0004351159205347878, "Q&A Forum": 0.00017817103517978083, "Discussion Thread": 0.0001258786991821551, "Comment Section": 0.00034107445712461656, "Missing Content": 0.0005132833191802973, "Knowledge Article": 0.0024457142517368626, "Legal Notices": 0.0005088735734339652, "News Article": 0.00019601814601538225, "Organizational Announcement": 0.00019650188181438187, "Nonfiction Writing": 0.00023210076810422967, "Organizational About Page": 0.00027599722921523755, "Personal About Page": 0.00020856204989539118, "Personal Blog": 0.00019537063827716015, "Product Page": 0.0001712057533580382, "Spam / Ads": 0.00024468491566051313, "Structured Data": 0.010056253379192812, "Technical Writing": 0.05661254448182495, "Transcript / Interview": 0.00029900217026613754, "Tutorial / How-To Guide": 0.09547861484920148, "User Reviews": 0.0001162820069013164, "NONE": 0.8301075440077775}, "structured_records": {"false": 0.9777385916476972, "true": 0.022261408352302833}, "procedural_steps": {"false": 0.4264526794723478, "true": 0.5735473205276522}, "worked_solution": {"false": 0.9953715342055182, "true": 0.00462846579448179}, "contextual_dialogue": {"false": 0.9999874994009353, "true": 1.2500599064681983e-05}, "content_quality": {"-2": 0.08541570308762675, "-1": 0.36001261914829424, "0": 0.33952553194531865, "1": 0.18099084354075906, "2": 0.034055302278001395}, "noise_severity": {"0": 0.9570991346752088, "1": 0.03360139184003679, "2": 0.006669532342826207, "3": 0.0016950859384489581, "4": 0.0009348552034792446}, "missing_content_severity": {"0": 0.8554014881264212, "1": 0.04580614726206176, "2": 0.08500411492917974, "3": 0.011368506276215893, "4": 0.0024197434061214293}, "factual_density": {"0": 0.003961526128352214, "1": 0.009988695980246272, "2": 0.09471625774395731, "3": 0.35719847915386205, "4": 0.5341350409935821}, "pretraining_utility": {"-2": 0.014355484697708702, "-1": 0.08097791336721569, "0": 0.35667714417372276, "1": 0.4774488296333423, "2": 0.0705406281280106}, "math_density": {"0": 0.9968946580455655, "1": 0.002628698817378954, "2": 0.000266688436190221, "3": 0.00010945711647276097, "4": 0.00010049758439254759}, "code_density": {"0": 0.00029376583940157725, "1": 0.0006095343264747777, "2": 0.013159872452947028, "3": 0.12225562642769469, "4": 0.863681200953482}, "reasoning_density": {"0": 0.7444235895829299, "1": 0.1041534025697844, "2": 0.11352787313387526, "3": 0.025327228986601363, "4": 0.012567905726809056}, "education_level": {"none": 0.0015510439697971417, "0": 0.002710052204436871, "1": 0.0331335249286957, "2": 0.6789422359608601, "3": 0.2649731694189627, "4": 0.018689973517247556}, "creative_writing_quality": {"not_applicable": 0.9986944093143135, "-2": 0.0002254798749652277, "-1": 0.00046401916487127703, "0": 0.0004729333732390108, "1": 0.00010107880041384818, "2": 4.207947219715012e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 0.0001443778956553168, "Art & Design": 0.00027030444838430074, "Law & Crime": 0.0002023372102894899, "Education & Careers": 0.00015022908292168722, "Entertainment & Media": 0.00015792753158034317, "Fashion & Beauty": 0.0001225205941240408, "Business, Economics & Finance": 0.0001801927372799555, "Food & Dining": 0.00012227698165722731, "Games & Gaming": 0.000209190957550991, "Electronics & Hardware": 0.00034389091362689106, "Health, Healthcare & Wellness": 0.00010592570371926797, "History & Geography": 0.0001654185022207391, "Home, Pets & Hobbies": 0.00014822221988197072, "Industry & Production": 0.0001634819635153404, "Language, Literature & Philosophy": 0.00013507471810721885, "Politics & Government": 9.790091134670095e-05, "Religion & Spirituality": 0.00010593287628433455, "Science, Mathematics & Engineering": 0.00022435017254051752, "Relationships & Community": 8.498647293518746e-05, "Software Usage & Applications": 0.12816883840308424, "Programming & Software Engineering": 0.8679531942654252, "Sports & Fitness": 0.0001849395418647033, "Vehicles & Transportation": 9.566241098054112e-05, "Travel & Tourism": 0.00012465931112053174, "Other / Uncovered Subject": 0.000207087107355991, "Unknown / Insufficient Content": 0.00013107706654718628}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0008015029513305863, "Art & Design": 0.0007303124868216008, "Law & Crime": 0.0008361806418855751, "Education & Careers": 0.00043942220291814634, "Entertainment & Media": 0.000565185197525254, "Fashion & Beauty": 0.0002919748639475197, "Business, Economics & Finance": 0.000732775205153413, "Food & Dining": 0.00029193964228263876, "Games & Gaming": 0.0004161123685739515, "Electronics & Hardware": 0.0013838424756084855, "Health, Healthcare & Wellness": 0.00035146584879044545, "History & Geography": 0.000391236678910273, "Home, Pets & Hobbies": 0.0004132375483065222, "Industry & Production": 0.00036758577713319425, "Language, Literature & Philosophy": 0.0002763077553063154, "Politics & Government": 0.0003034981300955875, "Religion & Spirituality": 0.0003493993379589622, "Science, Mathematics & Engineering": 0.0007576383295716367, "Relationships & Community": 0.00025831978418407284, "Software Usage & Applications": 0.2822661784206743, "Programming & Software Engineering": 0.11720530079194265, "Sports & Fitness": 0.00033900214622936323, "Vehicles & Transportation": 0.00022695235418202682, "Travel & Tourism": 0.00047574805023592595, "Other / Uncovered Subject": 0.000646821419359146, "NONE": 0.5888820595910724}}, "probability_diagnostics": {"primary": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "secondary": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "tertiary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "structured_records": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "procedural_steps": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "worked_solution": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "contextual_dialogue": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "content_quality": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "noise_severity": {"raw_sum": 0.9999999999999998, "mass_delta": -2.220446049250313e-16, "missing_mass": 2.220446049250313e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "missing_content_severity": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "factual_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "pretraining_utility": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "math_density": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "code_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "reasoning_density": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "education_level": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "creative_writing_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "primary_topic": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "secondary_topic": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}}, "usage": {"input_tokens": 9672, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 9672, "cached_share": null, "cache_discount_reported": null, "reported_cost_usd": null}, "response_metadata": {"model": "decision-models/baseten-mammoth-27b-latest"}, "scored_at_utc": "2026-10-25T18:30:16.823009+00:00", "scoring_key_slot": "assistant_1", "dataset_uid": "84ca1c6d-e67b-43bc-8e4a-9e24c0add3cb", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "55cb820ec3bc8775872037f825739a8da89912572fe3e496917c9cd2a8db3804", "source_metadata": {"uuid": "84ca1c6d-e67b-43bc-8e4a-9e24c0add3cb", "repo_name": "Universe1609/Bash-Scripts", "relative_path": "desafio_2/install_wordpress.sh", "category": "TOOL", "algo_rel_score": 0.8007768392562866, "quality_score": 3.1752500534057617, "source_meta": {"github_metadata": {"branch": "main", "commit_count": 3, "repo_created_at": "2024-04-02T20:02:17.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 0, "forks": 0, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "536f05a5e538e15e4a4e770b05e71f30e2aea12f", "size_bytes": 3989, "file_timestamp": 1712266078, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "3f1554edcd715d9b04f6341a03894c58ae92c7f2"}}, "parsed_source_meta": {"github_metadata": {"branch": "main", "commit_count": 3, "repo_created_at": "2024-04-02T20:02:17.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 0, "forks": 0, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "536f05a5e538e15e4a4e770b05e71f30e2aea12f", "size_bytes": 3989, "file_timestamp": 1712266078, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "3f1554edcd715d9b04f6341a03894c58ae92c7f2", "url": "https://github.com/Universe1609/Bash-Scripts/blob/3f1554edcd715d9b04f6341a03894c58ae92c7f2/desafio_2/install_wordpress.sh"}, "gpt4o_tokens": 1117, "dataset_split": "shell", "probability_weighted_scores": {"content_quality": -0.28174257722678586, "noise_severity": 0.05576513515495306, "missing_content_severity": 0.25959886957355466, "factual_density": 3.4075568129040756, "pretraining_utility": 0.5088412031267304, "math_density": 0.0038924373767478693, "code_density": 3.848420962329381, "reasoning_density": 0.45746245870457525, "education_level": 2.2642092873377777, "creative_writing_quality": -0.5589356434554119}, "score_applicability": {"education_level": 0.998448956030203, "creative_writing_quality": 0.0013055906856865138}} {"source_group": "shell", "source": "openbmb/UltraData-Stack-v3-L2/shell", "domain": "github.com", "language": "shell", "url": "https://github.com/sbip-sg/BlockchainView/blob/93fcec1fdb74b580b639d40a8c2e7466eaaa882c/gcp-network/scripts/envVar.sh", "id": "shell-0-a8435d6d033f1fe3ae6ab88097adea64", "text": "#!/bin/bash\n#\n# Copyright IBM Corp All Rights Reserved\n#\n# SPDX-License-Identifier: Apache-2.0\n#\n\n# This is a collection of bash functions used by different scripts\n\n# imports\n. scripts/utils.sh\n. env.sh\n\nexport CORE_PEER_TLS_ENABLED=true\n\nfunction setPeerGlobals() {\n local org_id=$1\n echo \"Using organization ${org_id}\"\n export CORE_PEER_LOCALMSPID=\"Org${org_id}MSP\"\n\n local org_domain=\"${ORG_DNS_NAMES[$((org_id-1))]}\"\n # local org_peer_ip=\"$(sed -n ${org_id}p ${PEER_EXTERNAL_IP_PATH})\" # idx starts from 1 in sed. \n local peer_domain=\"${PEER_DNS_NAMES[$((org_id-1))]}\"\n\n export ORG_PEER_DOMAIN=\"${PEER_DNS_NAMES[$((org_id-1))]}\"\n export CORE_PEER_MSPCONFIGPATH=${PWD}/organizations/peerOrganizations/${org_domain}/users/Admin@${org_domain}/msp\n export CORE_PEER_ADDRESS=${peer_domain}:7051\n export CORE_PEER_TLS_ROOTCERT_FILE=${PWD}/organizations/peerOrganizations/${org_domain}/peers/${ORG_PEER_DOMAIN}/tls/ca.crt\n\n # echo \"CORE_PEER_LOCALMSPID: ${CORE_PEER_LOCALMSPID}\"\n # echo \"CORE_PEER_MSPCONFIGPATH: ${CORE_PEER_MSPCONFIGPATH}\"\n # echo \"CORE_PEER_ADDRESS: ${CORE_PEER_ADDRESS}\"\n # echo \"CORE_PEER_TLS_ROOTCERT_FILE: ${CORE_PEER_TLS_ROOTCERT_FILE}\"\n}\n\nsetOrdererGlobals() {\n local orderer_id=$1\n echo \"Using orderer ${orderer_id}\"\n\n export ORDERER_DOMAIN=${ORDERER_DNS_NAMES[$((orderer_id-1))]}\n\n\texport ORDERER_CA=${PWD}/organizations/ordererOrganizations/${DNS_SUFFIX}/orderers/${ORDERER_DOMAIN}/msp/tlscacerts/tlsca.${DNS_SUFFIX}-cert.pem\n export ORDERER_ADDR=${ORDERER_DOMAIN}:7050\n\n # echo \"ORDERER_CA : ${ORDERER_CA}\"\n # echo \"ORDERER_ADDR : ${ORDERER_ADDR}\"\n}\n\n\n\n\n# export ORDERER_CA=${PWD}/organizations/ordererOrganizations/example.com/orderers/orderer.example.com/msp/tlscacerts/tlsca.example.com-cert.pem\n# export PEER0_ORG1_CA=${PWD}/organizations/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt\n# export PEER0_ORG2_CA=${PWD}/organizations/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/tls/ca.crt\n# export PEER0_ORG3_CA=${PWD}/organizations/peerOrganizations/org3.example.com/peers/peer0.org3.example.com/tls/ca.crt\n\n# # Set environment variables for the peer org\n# setGlobals() {\n# local USING_ORG=\"\"\n# if [ -z \"$OVERRIDE_ORG\" ]; then\n# USING_ORG=$1\n# else\n# USING_ORG=\"${OVERRIDE_ORG}\"\n# fi\n# infoln \"Using organization ${USING_ORG}\"\n# if [ $USING_ORG -eq 1 ]; then\n# export CORE_PEER_LOCALMSPID=\"Org1MSP\"\n# export CORE_PEER_TLS_ROOTCERT_FILE=$PEER0_ORG1_CA\n# export CORE_PEER_MSPCONFIGPATH=${PWD}/organizations/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp\n# export CORE_PEER_ADDRESS=localhost:7051\n# elif [ $USING_ORG -eq 2 ]; then\n# export CORE_PEER_LOCALMSPID=\"Org2MSP\"\n# export CORE_PEER_TLS_ROOTCERT_FILE=$PEER0_ORG2_CA\n# export CORE_PEER_MSPCONFIGPATH=${PWD}/organizations/peerOrganizations/org2.example.com/users/Admin@org2.example.com/msp\n# export CORE_PEER_ADDRESS=localhost:9051\n\n# elif [ $USING_ORG -eq 3 ]; then\n# export CORE_PEER_LOCALMSPID=\"Org3MSP\"\n# export CORE_PEER_TLS_ROOTCERT_FILE=$PEER0_ORG3_CA\n# export CORE_PEER_MSPCONFIGPATH=${PWD}/organizations/peerOrganizations/org3.example.com/users/@org3..com/msp\n# export CORE_PEER_ADDRESS=localhost:11051\n# else\n# errorln \"ORG Unknown\"\n# fi\n\n# if [ \"$VERBOSE\" == \"true\" ]; then\n# env | grep CORE\n# fi\n# }\n\n# # Set environment variables for use in the CLI container \n# setGlobalsCLI() {\n# setGlobals $1\n\n# local USING_ORG=\"\"\n# if [ -z \"$OVERRIDE_ORG\" ]; then\n# USING_ORG=$1\n# else\n# USING_ORG=\"${OVERRIDE_ORG}\"\n# fi\n# if [ $USING_ORG -eq 1 ]; then\n# export CORE_PEER_ADDRESS=peer0.org1.example.com:7051\n# elif [ $USING_ORG -eq 2 ]; then\n# export CORE_PEER_ADDRESS=peer0.org2.example.com:9051\n# elif [ $USING_ORG -eq 3 ]; then\n# export CORE_PEER_ADDRESS=peer0.org3.example.com:11051\n# else\n# errorln \"ORG Unknown\"\n# fi\n# }\n\n# parsePeerConnectionParameters $@\n# Helper function that sets the peer connection parameters for a chaincode\n# operation\nparsePeerConnectionParameters() {\n export PEER_CONN_PARMS=\"\"\n export PEERS=\"\"\n while [ \"$#\" -gt 0 ]; do\n setPeerGlobals $1\n PEER=\"peer0.org$1\"\n ## Set peer adresses\n PEERS=\"$PEERS $PEER\"\n PEER_CONN_PARMS=\"$PEER_CONN_PARMS --peerAddresses $CORE_PEER_ADDRESS\"\n ## Set path to TLS certificate\n PEER_CONN_PARMS=\"$PEER_CONN_PARMS --tlsRootCertFiles $CORE_PEER_TLS_ROOTCERT_FILE\"\n # shift by one to get to the next organization\n shift\n done\n # remove leading space for output\n PEERS=\"$(echo -e \"$PEERS\" | sed -e 's/^[[:space:]]*//')\"\n}\n\nverifyResult() {\n if [ $1 -ne 0 ]; then\n fatalln \"$2\"\n fi\n}\n", "text_preview": "#!/bin/bash # # Copyright IBM Corp All Rights Reserved # # SPDX-License-Identifier: Apache-2.0 # # This is a collection of bash functions used by different scripts # imports . scripts/utils.sh . env.sh export CORE_PEER_TLS_ENABLED=true func", "input_sha256": "d5e5162554d10941d08aa5b06c48853aa96ef58e7532b3b9559b9305ee1d2e5c", "text_sha256": "a8435d6d033f1fe3ae6ab88097adea64518e4d8bc44705c201263416bdcdf176", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 20027, "input_policy": "text-and-optional-url-v1", "label_policy_version": 12, "requested_model": "decision-models/baseten-mammoth-27b-latest", "backend": "baseten", "endpoint": "https://inference.baseten.co/v1/systemone", "status": "needs_review", "training_eligible": false, "label": null, "candidate_label": {"primary": {"main_format": "Technical Writing", "sub_format": null}, "secondary": {"main_format": "Legal Notices", "sub_format": null}, "tertiary": null, "content_structure": []}, "topic": {"primary": {"main_topic": "Programming & Software Engineering", "sub_topic": null}, "secondary": null}, "scores": {"content_quality": 1, "noise_severity": 0, "missing_content_severity": 0, "factual_density": 3, "pretraining_utility": 0, "math_density": 0, "code_density": 4, "reasoning_density": 0, "education_level": 2, "creative_writing_quality": null}, "score_expectations": {"content_quality": 0.5792346195725981, "noise_severity": 0.6397233856641585, "missing_content_severity": 0.10773913023182535, "factual_density": 3.096691380802733, "pretraining_utility": 0.08363907042748081, "math_density": 0.14820579787507898, "code_density": 3.6518461897015047, "reasoning_density": 0.2618026570717295, "education_level": 2.581211058360038, "creative_writing_quality": -0.37366139114751173}, "api_choices": {"primary": "Technical Writing", "secondary": "Legal Notices", "tertiary": "NONE", "education_level": "2", "creative_writing_quality": "not_applicable", "primary_topic": "Programming & Software Engineering", "secondary_topic": "NONE"}, "review_reasons": ["secondary probability 0.5176 below 0.70", "secondary vs NONE margin 0.0764 below 0.10"], "format_slot_diagnostics": {"comparable": true, "secondary_tertiary_identical": false, "secondary_tertiary_max_abs_gap": 0.15448888777622033, "secondary_choice": "Legal Notices", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.991850830148188, "secondary": 0.4965996000222169, "tertiary": 0.5781052420075743, "structured_records": 0.014914221886202762, "procedural_steps": 0.01865017017758373, "worked_solution": 0.0005537832534254749, "contextual_dialogue": 8.773412528665606e-06, "content_quality": 0.4350199633715416, "noise_severity": 0.46689717861320124, "missing_content_severity": 0.9102173914734789, "factual_density": 0.5245302275966424, "pretraining_utility": 0.5134711181864031, "math_density": 0.8764951684374341, "code_density": 0.7098718247512537, "reasoning_density": 0.7818311191068921, "education_level": 0.36861080955032394, "creative_writing_quality": 0.9993621551633711, "primary_topic": 0.9843233048159644, "secondary_topic": 0.8351326426043995}, "probability_margin": {"primary": 0.9891376214555079, "secondary": 0.0763793142069194, "tertiary": 0.22274529240962165, "education_level": 0.04789616468571878, "creative_writing_quality": 0.9992548849576534, "primary_topic": 0.9746337764153341, "secondary_topic": 0.7777008516089161}, "raw_probabilities": {"primary": {"Academic Writing": 5.865330911937871e-05, "Content Listing": 3.878068965934637e-05, "Creative Writing": 3.4862252088313385e-05, "Customer Support Page": 2.0714370530086216e-05, "Q&A Forum": 2.2793415151565692e-05, "Discussion Thread": 1.625739173748823e-05, "Comment Section": 2.9522945198700693e-05, "Missing Content": 5.112801247753473e-05, "Knowledge Article": 0.00018474335716543039, "Legal Notices": 0.001174057269860963, "News Article": 1.1241436208444082e-05, "Organizational Announcement": 2.4147029050632987e-05, "Nonfiction Writing": 1.975001918047465e-05, "Organizational About Page": 2.674349558493356e-05, "Personal About Page": 1.8254601835249156e-05, "Personal Blog": 1.3785165072301115e-05, "Product Page": 1.4606647870137963e-05, "Spam / Ads": 2.499757389263316e-05, "Structured Data": 0.0007135027590178768, "Technical Writing": 0.9921903788920134, "Transcript / Interview": 3.3057382930599805e-05, "Tutorial / How-To Guide": 0.0022122591619344375, "User Reviews": 1.3005385914396363e-05, "Other / Unknown": 0.003052757436505597}, "secondary": {"Academic Writing": 0.00071772501825546, "Content Listing": 0.0006374055031026073, "Creative Writing": 0.0006545486002746273, "Customer Support Page": 0.0003956953885911974, "Q&A Forum": 0.0003503247995021696, "Discussion Thread": 0.0003610051287800182, "Comment Section": 0.0005988224619363607, "Missing Content": 0.0009154694726805736, "Knowledge Article": 0.0013387562105772013, "Legal Notices": 0.5175746166879579, "News Article": 0.0005742755603121497, "Organizational Announcement": 0.0006653455953408308, "Nonfiction Writing": 0.0005276408898750969, "Organizational About Page": 0.0006818735030412927, "Personal About Page": 0.00033838285854617347, "Personal Blog": 0.0003022539933077061, "Product Page": 0.00039812009013341025, "Spam / Ads": 0.0004488203460579276, "Structured Data": 0.0017141186338456784, "Technical Writing": 0.026732184605585338, "Transcript / Interview": 0.0006930769450083002, "Tutorial / How-To Guide": 0.001910021243836233, "User Reviews": 0.000274213982413269, "NONE": 0.4411953024810385}, "tertiary": {"Academic Writing": 0.000648587791659629, "Content Listing": 0.000491805134183988, "Creative Writing": 0.0006912854831146346, "Customer Support Page": 0.0003264212025397302, "Q&A Forum": 0.000267484436270224, "Discussion Thread": 0.0002634012712882101, "Comment Section": 0.0005088127674705949, "Missing Content": 0.000786965869390547, "Knowledge Article": 0.0013159724900608893, "Legal Notices": 0.37293889784763706, "News Article": 0.0004605094611679069, "Organizational Announcement": 0.0005192112718149015, "Nonfiction Writing": 0.0004320270678257756, "Organizational About Page": 0.0006552538167833687, "Personal About Page": 0.00029598144666847316, "Personal Blog": 0.00023632887859617637, "Product Page": 0.00032042712553370244, "Spam / Ads": 0.00040507367888103834, "Structured Data": 0.001347167673062405, "Technical Writing": 0.016979871398599095, "Transcript / Interview": 0.0005897194411684468, "Tutorial / How-To Guide": 0.003627659913131397, "User Reviews": 0.00020694427589299934, "NONE": 0.5956841902572587}, "structured_records": {"false": 0.9850857781137973, "true": 0.014914221886202762}, "procedural_steps": {"false": 0.9813498298224163, "true": 0.01865017017758373}, "worked_solution": {"false": 0.9994462167465745, "true": 0.0005537832534254749}, "contextual_dialogue": {"false": 0.9999912265874713, "true": 8.773412528665606e-06}, "content_quality": {"-2": 0.015508791931111116, "-1": 0.07352105486860602, "0": 0.35580222666023054, "1": 0.42656259477667835, "2": 0.1286053317633741}, "noise_severity": {"0": 0.5058472753007127, "1": 0.3736591501635559, "2": 0.10035515233758807, "3": 0.015199757967146264, "4": 0.004938664230996908}, "missing_content_severity": {"0": 0.9279848867863861, "1": 0.04430420201425626, "2": 0.02104920110606837, "3": 0.005310314367724192, "4": 0.001351395725564941}, "factual_density": {"0": 0.0078808105561248, "1": 0.025523053667771724, "2": 0.1622476340367301, "3": 0.47072094789599217, "4": 0.33362755384338116}, "pretraining_utility": {"-2": 0.016878592540302682, "-1": 0.21634060879381237, "0": 0.4691304754388731, "1": 0.26156378215212506, "2": 0.03608654107488674}, "math_density": {"0": 0.8736012921206494, "1": 0.11564305981934733, "2": 0.004530839495471055, "3": 0.001398175193339146, "4": 0.004826633371193026}, "code_density": {"0": 0.0004154959260860004, "1": 0.001092470285873849, "2": 0.039267300094305214, "3": 0.26467981554791964, "4": 0.6945449181458152}, "reasoning_density": {"0": 0.8296133476824757, "1": 0.09027203540670403, "2": 0.0720040262102563, "3": 0.0049197935577422105, "4": 0.003190797142821547}, "education_level": {"none": 0.0016216180920480521, "0": 0.0025090161145103814, "1": 0.010940428058422816, "2": 0.47384234129193664, "3": 0.42594617660621786, "4": 0.08514041983686436}, "creative_writing_quality": {"not_applicable": 0.9994684626361426, "-2": 9.843981969243091e-05, "-1": 0.0001252486060863235, "0": 0.00021357767848925507, "1": 6.502926453317864e-05, "2": 2.924199505610476e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 5.0276567458232114e-05, "Art & Design": 7.976429690772333e-05, "Law & Crime": 0.00017759129901892564, "Education & Careers": 5.604663293397118e-05, "Entertainment & Media": 4.389093280896909e-05, "Fashion & Beauty": 3.740340683056587e-05, "Business, Economics & Finance": 0.0006050448077628289, "Food & Dining": 3.82809646912268e-05, "Games & Gaming": 7.351515265813906e-05, "Electronics & Hardware": 0.00040542899286360594, "Health, Healthcare & Wellness": 3.796004682056297e-05, "History & Geography": 5.6421498144025216e-05, "Home, Pets & Hobbies": 4.500920911305434e-05, "Industry & Production": 7.327356749399054e-05, "Language, Literature & Philosophy": 5.317368676203471e-05, "Politics & Government": 4.50317069763704e-05, "Religion & Spirituality": 5.216040915178696e-05, "Science, Mathematics & Engineering": 0.0011316927674389107, "Relationships & Community": 2.769432569481144e-05, "Software Usage & Applications": 0.010292478215400898, "Programming & Software Engineering": 0.984926254630735, "Sports & Fitness": 6.286657158509272e-05, "Vehicles & Transportation": 3.299340994948541e-05, "Travel & Tourism": 5.5741331280506364e-05, "Other / Uncovered Subject": 0.0013262740139160594, "Unknown / Insufficient Content": 0.00021373155560366642}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0006574580354138818, "Art & Design": 0.0005252353385117494, "Law & Crime": 0.012871814612091777, "Education & Careers": 0.0004450586502636207, "Entertainment & Media": 0.0005225294395487291, "Fashion & Beauty": 0.00032577104866087414, "Business, Economics & Finance": 0.003251519977765678, "Food & Dining": 0.0002767888122028551, "Games & Gaming": 0.0005369243606599482, "Electronics & Hardware": 0.0012516797829189893, "Health, Healthcare & Wellness": 0.0003531302797425036, "History & Geography": 0.00033526728634840553, "Home, Pets & Hobbies": 0.00030395361419447055, "Industry & Production": 0.00038282719675823625, "Language, Literature & Philosophy": 0.000227769091087456, "Politics & Government": 0.0003371590447362066, "Religion & Spirituality": 0.0004325374007777544, "Science, Mathematics & Engineering": 0.0030820537322399123, "Relationships & Community": 0.0001787463837846518, "Software Usage & Applications": 0.05970832540460072, "Programming & Software Engineering": 0.06377284320300645, "Sports & Fitness": 0.0003252034662448738, "Vehicles & Transportation": 0.00016388336368675587, "Travel & Tourism": 0.0004565700471386864, "Other / Uncovered Subject": 0.0078012556156922125, "NONE": 0.8414736948119226}}, "probabilities": {"primary": {"Academic Writing": 5.865330911937871e-05, "Content Listing": 3.878068965934637e-05, "Creative Writing": 3.4862252088313385e-05, "Customer Support Page": 2.0714370530086216e-05, "Q&A Forum": 2.2793415151565692e-05, "Discussion Thread": 1.625739173748823e-05, "Comment Section": 2.9522945198700693e-05, "Missing Content": 5.112801247753473e-05, "Knowledge Article": 0.00018474335716543039, "Legal Notices": 0.001174057269860963, "News Article": 1.1241436208444082e-05, "Organizational Announcement": 2.4147029050632987e-05, "Nonfiction Writing": 1.975001918047465e-05, "Organizational About Page": 2.674349558493356e-05, "Personal About Page": 1.8254601835249156e-05, "Personal Blog": 1.3785165072301115e-05, "Product Page": 1.4606647870137963e-05, "Spam / Ads": 2.499757389263316e-05, "Structured Data": 0.0007135027590178768, "Technical Writing": 0.9921903788920134, "Transcript / Interview": 3.3057382930599805e-05, "Tutorial / How-To Guide": 0.0022122591619344375, "User Reviews": 1.3005385914396363e-05, "Other / Unknown": 0.003052757436505597}, "secondary": {"Academic Writing": 0.00071772501825546, "Content Listing": 0.0006374055031026073, "Creative Writing": 0.0006545486002746273, "Customer Support Page": 0.0003956953885911974, "Q&A Forum": 0.0003503247995021696, "Discussion Thread": 0.0003610051287800182, "Comment Section": 0.0005988224619363607, "Missing Content": 0.0009154694726805736, "Knowledge Article": 0.0013387562105772013, "Legal Notices": 0.5175746166879579, "News Article": 0.0005742755603121497, "Organizational Announcement": 0.0006653455953408308, "Nonfiction Writing": 0.0005276408898750969, "Organizational About Page": 0.0006818735030412927, "Personal About Page": 0.00033838285854617347, "Personal Blog": 0.0003022539933077061, "Product Page": 0.00039812009013341025, "Spam / Ads": 0.0004488203460579276, "Structured Data": 0.0017141186338456784, "Technical Writing": 0.026732184605585338, "Transcript / Interview": 0.0006930769450083002, "Tutorial / How-To Guide": 0.001910021243836233, "User Reviews": 0.000274213982413269, "NONE": 0.4411953024810385}, "tertiary": {"Academic Writing": 0.0006485877916596291, "Content Listing": 0.0004918051341839881, "Creative Writing": 0.0006912854831146347, "Customer Support Page": 0.00032642120253973024, "Q&A Forum": 0.00026748443627022406, "Discussion Thread": 0.0002634012712882102, "Comment Section": 0.000508812767470595, "Missing Content": 0.0007869658693905471, "Knowledge Article": 0.0013159724900608895, "Legal Notices": 0.3729388978476371, "News Article": 0.00046050946116790693, "Organizational Announcement": 0.0005192112718149016, "Nonfiction Writing": 0.0004320270678257757, "Organizational About Page": 0.0006552538167833688, "Personal About Page": 0.0002959814466684732, "Personal Blog": 0.0002363288785961764, "Product Page": 0.0003204271255337025, "Spam / Ads": 0.0004050736788810384, "Structured Data": 0.0013471676730624053, "Technical Writing": 0.0169798713985991, "Transcript / Interview": 0.0005897194411684469, "Tutorial / How-To Guide": 0.0036276599131313974, "User Reviews": 0.00020694427589299937, "NONE": 0.5956841902572588}, "structured_records": {"false": 0.9850857781137973, "true": 0.014914221886202762}, "procedural_steps": {"false": 0.9813498298224163, "true": 0.01865017017758373}, "worked_solution": {"false": 0.9994462167465745, "true": 0.0005537832534254749}, "contextual_dialogue": {"false": 0.9999912265874713, "true": 8.773412528665606e-06}, "content_quality": {"-2": 0.015508791931111113, "-1": 0.07352105486860601, "0": 0.3558022266602305, "1": 0.42656259477667824, "2": 0.12860533176337408}, "noise_severity": {"0": 0.5058472753007128, "1": 0.37365915016355594, "2": 0.10035515233758809, "3": 0.015199757967146265, "4": 0.004938664230996909}, "missing_content_severity": {"0": 0.9279848867863862, "1": 0.044304202014256264, "2": 0.021049201106068373, "3": 0.005310314367724193, "4": 0.0013513957255649413}, "factual_density": {"0": 0.0078808105561248, "1": 0.025523053667771724, "2": 0.1622476340367301, "3": 0.47072094789599217, "4": 0.33362755384338116}, "pretraining_utility": {"-2": 0.016878592540302682, "-1": 0.21634060879381237, "0": 0.4691304754388731, "1": 0.26156378215212506, "2": 0.03608654107488674}, "math_density": {"0": 0.8736012921206494, "1": 0.11564305981934733, "2": 0.004530839495471055, "3": 0.001398175193339146, "4": 0.004826633371193026}, "code_density": {"0": 0.00041549592608600047, "1": 0.0010924702858738492, "2": 0.03926730009430522, "3": 0.2646798155479197, "4": 0.6945449181458153}, "reasoning_density": {"0": 0.829613347682476, "1": 0.09027203540670405, "2": 0.07200402621025631, "3": 0.004919793557742211, "4": 0.003190797142821548}, "education_level": {"none": 0.0016216180920480517, "0": 0.002509016114510381, "1": 0.010940428058422814, "2": 0.47384234129193653, "3": 0.42594617660621775, "4": 0.08514041983686435}, "creative_writing_quality": {"not_applicable": 0.9994684626361428, "-2": 9.843981969243093e-05, "-1": 0.00012524860608632352, "0": 0.0002135776784892551, "1": 6.502926453317865e-05, "2": 2.9241995056104764e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 5.0276567458232094e-05, "Art & Design": 7.976429690772329e-05, "Law & Crime": 0.00017759129901892556, "Education & Careers": 5.6046632933971156e-05, "Entertainment & Media": 4.3890932808969066e-05, "Fashion & Beauty": 3.740340683056586e-05, "Business, Economics & Finance": 0.0006050448077628286, "Food & Dining": 3.828096469122678e-05, "Games & Gaming": 7.351515265813904e-05, "Electronics & Hardware": 0.0004054289928636058, "Health, Healthcare & Wellness": 3.796004682056296e-05, "History & Geography": 5.642149814402519e-05, "Home, Pets & Hobbies": 4.500920911305432e-05, "Industry & Production": 7.327356749399051e-05, "Language, Literature & Philosophy": 5.317368676203469e-05, "Politics & Government": 4.503170697637038e-05, "Religion & Spirituality": 5.216040915178694e-05, "Science, Mathematics & Engineering": 0.0011316927674389103, "Relationships & Community": 2.7694325694811425e-05, "Software Usage & Applications": 0.010292478215400892, "Programming & Software Engineering": 0.9849262546307346, "Sports & Fitness": 6.28665715850927e-05, "Vehicles & Transportation": 3.29934099494854e-05, "Travel & Tourism": 5.574133128050634e-05, "Other / Uncovered Subject": 0.0013262740139160587, "Unknown / Insufficient Content": 0.0002137315556036663}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0006574580354138818, "Art & Design": 0.0005252353385117494, "Law & Crime": 0.012871814612091777, "Education & Careers": 0.0004450586502636207, "Entertainment & Media": 0.0005225294395487291, "Fashion & Beauty": 0.00032577104866087414, "Business, Economics & Finance": 0.003251519977765678, "Food & Dining": 0.0002767888122028551, "Games & Gaming": 0.0005369243606599482, "Electronics & Hardware": 0.0012516797829189893, "Health, Healthcare & Wellness": 0.0003531302797425036, "History & Geography": 0.00033526728634840553, "Home, Pets & Hobbies": 0.00030395361419447055, "Industry & Production": 0.00038282719675823625, "Language, Literature & Philosophy": 0.000227769091087456, "Politics & Government": 0.0003371590447362066, "Religion & Spirituality": 0.0004325374007777544, "Science, Mathematics & Engineering": 0.0030820537322399123, "Relationships & Community": 0.0001787463837846518, "Software Usage & Applications": 0.05970832540460072, "Programming & Software Engineering": 0.06377284320300645, "Sports & Fitness": 0.0003252034662448738, "Vehicles & Transportation": 0.00016388336368675587, "Travel & Tourism": 0.0004565700471386864, "Other / Uncovered Subject": 0.0078012556156922125, "NONE": 0.8414736948119226}}, "probability_diagnostics": {"primary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "tertiary": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "structured_records": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "procedural_steps": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "worked_solution": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "contextual_dialogue": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "content_quality": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "noise_severity": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "missing_content_severity": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "factual_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "pretraining_utility": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "math_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "code_density": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "reasoning_density": {"raw_sum": 0.9999999999999998, "mass_delta": -2.220446049250313e-16, "missing_mass": 2.220446049250313e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "education_level": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "creative_writing_quality": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "primary_topic": {"raw_sum": 1.0000000000000004, "mass_delta": 4.440892098500626e-16, "missing_mass": 0.0, "excess_mass": 4.440892098500626e-16, "valid": true, "normalized": false}, "secondary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}}, "usage": {"input_tokens": 9972, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 9972, "cached_share": null, "cache_discount_reported": null, "reported_cost_usd": null}, "response_metadata": {"model": "decision-models/baseten-mammoth-27b-latest"}, "scored_at_utc": "2026-10-25T18:30:17.433166+00:00", "scoring_key_slot": "assistant_1", "dataset_uid": "6d79c1dd-06f2-43c8-ad95-70aea11acfa5", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "9184ce478b99072e53bbbf122f6071efb5655b726456ff1a4eeedf111f9a2448", "source_metadata": {"uuid": "6d79c1dd-06f2-43c8-ad95-70aea11acfa5", "repo_name": "sbip-sg/BlockchainView", "relative_path": "gcp-network/scripts/envVar.sh", "category": "CONFIG", "algo_rel_score": 0.9385117888450623, "quality_score": 4.500205993652344, "source_meta": {"github_metadata": {"branch": "main", "commit_count": 1, "repo_created_at": "2022-03-09T02:41:49.000Z", "is_fork": false, "is_org_owned": true, "forked_from": null, "stars": 7, "forks": 4, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "043f05e172bcd72b47b8075cc486dfba6d89399f", "size_bytes": 4696, "file_timestamp": 1646794199, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "93fcec1fdb74b580b639d40a8c2e7466eaaa882c"}}, "parsed_source_meta": {"github_metadata": {"branch": "main", "commit_count": 1, "repo_created_at": "2022-03-09T02:41:49.000Z", "is_fork": false, "is_org_owned": true, "forked_from": null, "stars": 7, "forks": 4, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "043f05e172bcd72b47b8075cc486dfba6d89399f", "size_bytes": 4696, "file_timestamp": 1646794199, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "93fcec1fdb74b580b639d40a8c2e7466eaaa882c", "url": "https://github.com/sbip-sg/BlockchainView/blob/93fcec1fdb74b580b639d40a8c2e7466eaaa882c/gcp-network/scripts/envVar.sh"}, "gpt4o_tokens": 1440, "dataset_split": "shell", "probability_weighted_scores": {"content_quality": 0.5792346195725983, "noise_severity": 0.6397233856641585, "missing_content_severity": 0.10773913023182535, "factual_density": 3.096691380802733, "pretraining_utility": 0.08363907042748081, "math_density": 0.14820579787507898, "code_density": 3.6518461897015047, "reasoning_density": 0.2618026570717295, "education_level": 2.581211058360038, "creative_writing_quality": -0.37366139114751173}, "score_applicability": {"education_level": 0.9983783819079518, "creative_writing_quality": 0.0005315373638572929}} {"source_group": "shell", "source": "openbmb/UltraData-Stack-v3-L2/shell", "domain": "github.com", "language": "shell", "url": "https://github.com/minaibrahim89/tradingview-signal-generator/blob/746a0f4de0ebdc6ddad133b3e340f47fc3ed151f/deploy.sh", "id": "shell-0-aa7691e614fb63a1fc23526a1dfa96ec", "text": "#!/bin/bash\n# Simple deployment script for Azure\n\n# Check for and remove any tar.gz files in wwwroot\necho \"Checking for tar.gz files...\"\nfind . -name \"*.tar.gz\" -delete\n\necho \"Deployment started at $(date)\"\n\n# Ensure scripts are executable \nchmod +x *.sh\n\n# Ensure static directory exists\nif [ ! -d \"static\" ]; then\n echo \"Creating static directory\"\n mkdir -p static\n echo '

API Server Running

Access the API at /docs

' > static/index.html\nfi\n\n# Install dependencies\necho \"Installing dependencies\"\npip install -r requirements.txt\n\necho \"Deployment completed at $(date)\"\n\n# Create marker file for Azure\necho \"Creating marker file for Azure deployment\"\ntouch deployment_complete.txt\n\n# Debug information\necho \"Directory contents:\"\nls -la\n\n# Use the deployment-specific web.config if available\nif [ -f \"web.config.deploy\" ]; then\n echo \"Using deployment-specific web.config\"\n cp web.config.deploy web.config\nfi\n\n# Verify static directory\necho \"Checking static directory...\"\nif [ -d \"static\" ]; then\n echo \"Static directory exists with contents:\"\n ls -la static/\n \n # Create a verification file\n echo \"Static files verified during deployment at $(date)\" > static/deployment_verified.txt\n \n # Make sure index.html exists\n if [ ! -f \"static/index.html\" ]; then\n echo \"WARNING: index.html missing, creating placeholder\"\n cat > static/index.html << 'EOL'\n\n\n\n \n \n API Server\n \n\n\n

API Server Running

\n
\n

Placeholder Page

\n

This is a placeholder page created by deploy.sh script.

\n

You can access the API at:

\n \n
\n

Deployment time:

\n\n\nEOL\n fi\nelse\n echo \"ERROR: Static directory is missing! Creating it now.\"\n mkdir -p static\n \n # Create a simple placeholder index.html for emergency\n cat > static/index.html << 'EOL'\n\n\n\n \n \n Emergency Static Page\n \n\n\n

API Server Running - Emergency Page

\n
\n

Static Directory Missing

\n

The deploy.sh script had to create an emergency static directory!

\n

This indicates a problem with the deployment process.

\n
\n
\n

You can access the API at:

\n \n
\n

Emergency page created at:

\n\n\nEOL\n\n echo \"Created emergency index.html\"\n echo \"Emergency static directory created during deployment at $(date)\" > static/emergency_creation.txt\nfi\n\n# Create simple test app for diagnostics\necho \"Creating diagnostic test app...\"\ncat > app_test.py << 'EOL'\nfrom fastapi import FastAPI\nimport uvicorn\nimport os\nimport platform\nimport sys\n\napp = FastAPI()\n\n@app.get(\"/\")\nasync def root():\n return {\n \"message\": \"Application is running!\",\n \"status\": \"active\",\n \"python_version\": sys.version,\n \"platform\": platform.platform(),\n \"directory\": os.getcwd(),\n \"files\": os.listdir(\".\")\n }\n\n@app.get(\"/test\")\nasync def test():\n return {\"status\": \"ok\"}\n\nif __name__ == \"__main__\":\n port = int(os.environ.get(\"PORT\", 8000))\n uvicorn.run(app, host=\"0.0.0.0\", port=port)\nEOL\n\n# Create .env file with debug setting\necho \"Creating .env file with debug settings...\"\necho \"DEBUG=True\" > .env\necho \"CORS_ORIGIN=*\" >> .env\n\n# Create a startup_command.txt file\necho \"Creating startup command file...\"\necho \"gunicorn main:app --bind=0.0.0.0:\\$PORT --worker-class=uvicorn.workers.UvicornWorker --timeout 600 --workers 4\" > startup_command.txt\n\n# Create a deployment verification file\necho \"Deployment completed at $(date)\" > deployment_verification.txt\necho \"Files deployed:\" >> deployment_verification.txt\nls -la >> deployment_verification.txt\n\n# Final check for any tar.gz files\necho \"Final check for any tar.gz files:\"\nfind . -name \"*.tar.gz\" > /tmp/final_check.txt\nif [ -s /tmp/final_check.txt ]; then\n echo \"!!! WARNING: Still found tar.gz files after deployment:\"\n cat /tmp/final_check.txt\n echo \"Attempting final removal of all tar.gz files...\"\n find . -name \"*.tar.gz\" -delete\n echo \"Removed all tar.gz files\"\nelse\n echo \"✓ No tar.gz files found in final check\"\nfi\n\necho \"Deployment script completed\"\nls -la\nexit 0 ", "text_preview": "#!/bin/bash # Simple deployment script for Azure # Check for and remove any tar.gz files in wwwroot echo \"Checking for tar.gz files...\" find . -name \"*.tar.gz\" -delete echo \"Deployment started at $(date)\" # Ensure scripts are executable chm", "input_sha256": "d116eb77c800559e402a52ad23ba897d2e02c170167abfbc016741de23ee560f", "text_sha256": "aa7691e614fb63a1fc23526a1dfa96ec434797653991d26cdb15e71bd431329f", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 20029, "input_policy": "text-and-optional-url-v1", "label_policy_version": 12, "requested_model": "decision-models/baseten-mammoth-27b-latest", "backend": "baseten", "endpoint": "https://inference.baseten.co/v1/systemone", "status": "ok", "training_eligible": true, "label": {"primary": {"main_format": "Technical Writing", "sub_format": null}, "secondary": null, "tertiary": null, "content_structure": []}, "candidate_label": null, "topic": {"primary": {"main_topic": "Programming & Software Engineering", "sub_topic": null}, "secondary": null}, "scores": {"content_quality": 0, "noise_severity": 0, "missing_content_severity": 0, "factual_density": 3, "pretraining_utility": 0, "math_density": 0, "code_density": 4, "reasoning_density": 0, "education_level": 2, "creative_writing_quality": null}, "score_expectations": {"content_quality": 0.21681131201824538, "noise_severity": 0.5363572516039072, "missing_content_severity": 0.0050367776225664395, "factual_density": 2.6722942065030004, "pretraining_utility": 0.15618934401368245, "math_density": 0.0030805155924921064, "code_density": 3.6294408140093024, "reasoning_density": 0.5099389521560767, "education_level": 2.186302368291553, "creative_writing_quality": -0.3705925297246424}, "api_choices": {"primary": "Technical Writing", "secondary": "NONE", "tertiary": "NONE", "education_level": "2", "creative_writing_quality": "not_applicable", "primary_topic": "Programming & Software Engineering", "secondary_topic": "NONE"}, "review_reasons": [], "format_slot_diagnostics": {"comparable": true, "secondary_tertiary_identical": false, "secondary_tertiary_max_abs_gap": 0.07549210934772438, "secondary_choice": "NONE", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.9502834513680327, "secondary": 0.5471884759169467, "tertiary": 0.6194288994999885, "structured_records": 0.02402198437588868, "procedural_steps": 0.4408284297207415, "worked_solution": 0.0030066519982777044, "contextual_dialogue": 6.475450359294488e-06, "content_quality": 0.3750767927964469, "noise_severity": 0.5530356236634109, "missing_content_severity": 0.995802685314528, "factual_density": 0.42444715499385854, "pretraining_utility": 0.5043091985035655, "math_density": 0.9974329036729233, "code_density": 0.6912006783410849, "reasoning_density": 0.5750508732032694, "education_level": 0.7265194204462947, "creative_writing_quality": 0.9946423872817337, "primary_topic": 0.9919743989219069, "secondary_topic": 0.8634916724773378}, "probability_margin": {"primary": 0.9165779334844071, "secondary": 0.2408148955326862, "tertiary": 0.3855374108141588, "education_level": 0.5818599542723975, "creative_writing_quality": 0.9928919597414754, "primary_topic": 0.988616282352647, "secondary_topic": 0.7930818705068797}, "raw_probabilities": {"primary": {"Academic Writing": 0.00015602636312999203, "Content Listing": 0.00020454225014790816, "Creative Writing": 0.00012619299290501725, "Customer Support Page": 9.385373479306627e-05, "Q&A Forum": 8.504885547976036e-05, "Discussion Thread": 5.9700716725916377e-05, "Comment Section": 9.774734310389134e-05, "Missing Content": 0.00013367206949882414, "Knowledge Article": 0.00036550359417671503, "Legal Notices": 0.00010692276420809285, "News Article": 4.988412316033459e-05, "Organizational Announcement": 0.00010469127275659015, "Nonfiction Writing": 8.321477089373358e-05, "Organizational About Page": 9.997950461062898e-05, "Personal About Page": 9.425301722419541e-05, "Personal Blog": 5.4263492046074463e-05, "Product Page": 5.8324898224590585e-05, "Spam / Ads": 0.00010420289316872381, "Structured Data": 0.0006239069894801405, "Technical Writing": 0.952354974227698, "Transcript / Interview": 0.0001143666422662594, "Tutorial / How-To Guide": 0.03577704074329096, "User Reviews": 4.710527757761924e-05, "Other / Unknown": 0.009004581463433125}, "secondary": {"Academic Writing": 0.0009195816901557802, "Content Listing": 0.04874697242535701, "Creative Writing": 0.001060806280383376, "Customer Support Page": 0.0006580458201600392, "Q&A Forum": 0.0005066048395268666, "Discussion Thread": 0.00034206623649879833, "Comment Section": 0.0005862945303454487, "Missing Content": 0.0011335977337231609, "Knowledge Article": 0.0016499948354666218, "Legal Notices": 0.0007483004660401298, "News Article": 0.0006222565907526904, "Organizational Announcement": 0.0008420713100139084, "Nonfiction Writing": 0.0006718496791498644, "Organizational About Page": 0.0012709847944037832, "Personal About Page": 0.0009317182604853856, "Personal Blog": 0.000507909050161034, "Product Page": 0.0004483192225754447, "Spam / Ads": 0.001022277413021047, "Structured Data": 0.009848262298085546, "Technical Writing": 0.32524072722105446, "Transcript / Interview": 0.0006967338385767747, "Tutorial / How-To Guide": 0.035163670189925625, "User Reviews": 0.00032533252039648443, "NONE": 0.5660556227537407}, "tertiary": {"Academic Writing": 0.0010182543821720806, "Content Listing": 0.06056212170650695, "Creative Writing": 0.001157292649982393, "Customer Support Page": 0.0008767686090316448, "Q&A Forum": 0.0005421938982257038, "Discussion Thread": 0.0003647000276644444, "Comment Section": 0.0006213157271635907, "Missing Content": 0.00120300668000424, "Knowledge Article": 0.0019428342368265584, "Legal Notices": 0.0009247443014863675, "News Article": 0.0006333317620742999, "Organizational Announcement": 0.0008531396118481082, "Nonfiction Writing": 0.000638610790207136, "Organizational About Page": 0.001872160880913627, "Personal About Page": 0.0010540405282540562, "Personal Blog": 0.0006067655488020772, "Product Page": 0.0005261720454334619, "Spam / Ads": 0.0014665785721718761, "Structured Data": 0.010610621277914387, "Technical Writing": 0.24974861787333014, "Transcript / Interview": 0.0006386010458541389, "Tutorial / How-To Guide": 0.026524555499456242, "User Reviews": 0.0003275436571874994, "NONE": 0.635286028687489}, "structured_records": {"false": 0.9759780156241114, "true": 0.02402198437588868}, "procedural_steps": {"false": 0.5591715702792586, "true": 0.4408284297207415}, "worked_solution": {"false": 0.9969933480017223, "true": 0.0030066519982777044}, "contextual_dialogue": {"false": 0.9999935245496407, "true": 6.475450359294488e-06}, "content_quality": {"-2": 0.03273429205308695, "-1": 0.2010796842068352, "0": 0.36517516447624376, "1": 0.31866213819641387, "2": 0.0823487210674203}, "noise_severity": {"0": 0.6330752682236017, "1": 0.22133521726566036, "2": 0.12719076021390538, "3": 0.012954503276893901, "4": 0.0054442510199385705}, "missing_content_severity": {"0": 0.9970561661419197, "1": 0.001451712101197052, "2": 0.0010213368993958998, "3": 0.0003407477073726478, "4": 0.00013003715011491133}, "factual_density": {"0": 0.013913248459944308, "1": 0.07210966998403637, "2": 0.3232255184042789, "3": 0.40927275289655535, "4": 0.18147881025518522}, "pretraining_utility": {"-2": 0.013834627046211632, "-1": 0.1916505547985962, "0": 0.44945183241722697, "1": 0.3146168185712284, "2": 0.030446167166736732}, "math_density": {"0": 0.9974565067579065, "1": 0.0022285847972528484, "2": 0.00016474370446803305, "3": 7.821557518735164e-05, "4": 7.194916518528425e-05}, "code_density": {"0": 0.0005393883520467352, "1": 0.0012945412958394837, "2": 0.03757179838401667, "3": 0.2893744119269593, "4": 0.6712198600411379}, "reasoning_density": {"0": 0.6651712244715805, "1": 0.18939578559252704, "2": 0.1231254158408903, "3": 0.014937961498239621, "4": 0.0073696125967625285}, "education_level": {"none": 0.0010085332351151062, "0": 0.0024208548845585176, "1": 0.022582146995615223, "2": 0.7720995170385789, "3": 0.19023956276618148, "4": 0.011649385079950631}, "creative_writing_quality": {"not_applicable": 0.9955353227347781, "-2": 0.0004409678040149908, "-1": 0.0011085966374964676, "0": 0.002643362993302676, "1": 0.0002075434574119533, "2": 6.420637299589204e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 5.92373441564825e-05, "Art & Design": 7.012263928879893e-05, "Law & Crime": 5.461771236945112e-05, "Education & Careers": 4.816919686432213e-05, "Entertainment & Media": 4.3600719656363774e-05, "Fashion & Beauty": 2.6289997190922547e-05, "Business, Economics & Finance": 0.0013637875127053634, "Food & Dining": 3.734600834250197e-05, "Games & Gaming": 0.0011493292367302987, "Electronics & Hardware": 0.00015160421313465417, "Health, Healthcare & Wellness": 3.6195525384278334e-05, "History & Geography": 4.431453922247382e-05, "Home, Pets & Hobbies": 3.683242911619288e-05, "Industry & Production": 6.0677405579974236e-05, "Language, Literature & Philosophy": 4.161822466142586e-05, "Politics & Government": 3.198255309783312e-05, "Religion & Spirituality": 4.240225609149438e-05, "Science, Mathematics & Engineering": 0.00020105912289765344, "Relationships & Community": 2.5104123750444485e-05, "Software Usage & Applications": 0.00366679353380198, "Programming & Software Engineering": 0.9922830758864489, "Sports & Fitness": 6.225495381353776e-05, "Vehicles & Transportation": 2.6126610723848192e-05, "Travel & Tourism": 5.557543744736968e-05, "Other / Uncovered Subject": 0.00028315428620555343, "Unknown / Insufficient Content": 9.872853131795175e-05}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0007139550205708588, "Art & Design": 0.0028983758794754663, "Law & Crime": 0.001127472223027744, "Education & Careers": 0.0003549721825191727, "Entertainment & Media": 0.0004979137735857457, "Fashion & Beauty": 0.00024928296382604467, "Business, Economics & Finance": 0.01459227977417763, "Food & Dining": 0.00031967855451335423, "Games & Gaming": 0.004511013751950337, "Electronics & Hardware": 0.0006847228924081207, "Health, Healthcare & Wellness": 0.00030746983184314227, "History & Geography": 0.0002524028627181768, "Home, Pets & Hobbies": 0.0002551580356931454, "Industry & Production": 0.0002654632255097322, "Language, Literature & Philosophy": 0.00022450235104112308, "Politics & Government": 0.0002472462166955054, "Religion & Spirituality": 0.00030667124320115985, "Science, Mathematics & Engineering": 0.0006204492875574191, "Relationships & Community": 0.00012768174743625773, "Software Usage & Applications": 0.0756601222597912, "Programming & Software Engineering": 0.024997169611328217, "Sports & Fitness": 0.0003099621844930431, "Vehicles & Transportation": 0.0001245481166178227, "Travel & Tourism": 0.00036016987965336683, "Other / Uncovered Subject": 0.0012493233636953, "NONE": 0.868741992766671}}, "probabilities": {"primary": {"Academic Writing": 0.000156026363129992, "Content Listing": 0.0002045422501479081, "Creative Writing": 0.00012619299290501723, "Customer Support Page": 9.385373479306625e-05, "Q&A Forum": 8.504885547976034e-05, "Discussion Thread": 5.970071672591636e-05, "Comment Section": 9.774734310389131e-05, "Missing Content": 0.0001336720694988241, "Knowledge Article": 0.000365503594176715, "Legal Notices": 0.00010692276420809282, "News Article": 4.988412316033458e-05, "Organizational Announcement": 0.00010469127275659012, "Nonfiction Writing": 8.321477089373357e-05, "Organizational About Page": 9.997950461062896e-05, "Personal About Page": 9.425301722419538e-05, "Personal Blog": 5.426349204607445e-05, "Product Page": 5.832489822459057e-05, "Spam / Ads": 0.00010420289316872378, "Structured Data": 0.0006239069894801404, "Technical Writing": 0.9523549742276978, "Transcript / Interview": 0.00011436664226625938, "Tutorial / How-To Guide": 0.03577704074329095, "User Reviews": 4.7105277577619226e-05, "Other / Unknown": 0.009004581463433123}, "secondary": {"Academic Writing": 0.0009195816901557803, "Content Listing": 0.04874697242535702, "Creative Writing": 0.0010608062803833763, "Customer Support Page": 0.0006580458201600393, "Q&A Forum": 0.0005066048395268667, "Discussion Thread": 0.0003420662364987984, "Comment Section": 0.0005862945303454488, "Missing Content": 0.001133597733723161, "Knowledge Article": 0.001649994835466622, "Legal Notices": 0.0007483004660401299, "News Article": 0.0006222565907526905, "Organizational Announcement": 0.0008420713100139085, "Nonfiction Writing": 0.0006718496791498645, "Organizational About Page": 0.0012709847944037834, "Personal About Page": 0.0009317182604853858, "Personal Blog": 0.0005079090501610341, "Product Page": 0.00044831922257544476, "Spam / Ads": 0.0010222774130210473, "Structured Data": 0.009848262298085548, "Technical Writing": 0.3252407272210545, "Transcript / Interview": 0.0006967338385767748, "Tutorial / How-To Guide": 0.03516367018992563, "User Reviews": 0.0003253325203964845, "NONE": 0.5660556227537408}, "tertiary": {"Academic Writing": 0.0010182543821720806, "Content Listing": 0.06056212170650695, "Creative Writing": 0.001157292649982393, "Customer Support Page": 0.0008767686090316448, "Q&A Forum": 0.0005421938982257038, "Discussion Thread": 0.0003647000276644444, "Comment Section": 0.0006213157271635907, "Missing Content": 0.00120300668000424, "Knowledge Article": 0.0019428342368265584, "Legal Notices": 0.0009247443014863675, "News Article": 0.0006333317620742999, "Organizational Announcement": 0.0008531396118481082, "Nonfiction Writing": 0.000638610790207136, "Organizational About Page": 0.001872160880913627, "Personal About Page": 0.0010540405282540562, "Personal Blog": 0.0006067655488020772, "Product Page": 0.0005261720454334619, "Spam / Ads": 0.0014665785721718761, "Structured Data": 0.010610621277914387, "Technical Writing": 0.24974861787333014, "Transcript / Interview": 0.0006386010458541389, "Tutorial / How-To Guide": 0.026524555499456242, "User Reviews": 0.0003275436571874994, "NONE": 0.635286028687489}, "structured_records": {"false": 0.9759780156241114, "true": 0.02402198437588868}, "procedural_steps": {"false": 0.5591715702792586, "true": 0.4408284297207415}, "worked_solution": {"false": 0.9969933480017223, "true": 0.0030066519982777044}, "contextual_dialogue": {"false": 0.9999935245496407, "true": 6.475450359294488e-06}, "content_quality": {"-2": 0.03273429205308695, "-1": 0.2010796842068352, "0": 0.36517516447624376, "1": 0.31866213819641387, "2": 0.0823487210674203}, "noise_severity": {"0": 0.6330752682236018, "1": 0.22133521726566038, "2": 0.1271907602139054, "3": 0.012954503276893903, "4": 0.005444251019938571}, "missing_content_severity": {"0": 0.9970561661419195, "1": 0.0014517121011970518, "2": 0.0010213368993958996, "3": 0.00034074770737264773, "4": 0.0001300371501149113}, "factual_density": {"0": 0.013913248459944304, "1": 0.07210966998403635, "2": 0.3232255184042788, "3": 0.40927275289655524, "4": 0.1814788102551852}, "pretraining_utility": {"-2": 0.013834627046211634, "-1": 0.19165055479859622, "0": 0.449451832417227, "1": 0.3146168185712285, "2": 0.030446167166736735}, "math_density": {"0": 0.9974565067579065, "1": 0.0022285847972528484, "2": 0.00016474370446803305, "3": 7.821557518735164e-05, "4": 7.194916518528425e-05}, "code_density": {"0": 0.0005393883520467352, "1": 0.0012945412958394837, "2": 0.03757179838401667, "3": 0.2893744119269593, "4": 0.6712198600411379}, "reasoning_density": {"0": 0.6651712244715805, "1": 0.18939578559252704, "2": 0.1231254158408903, "3": 0.014937961498239621, "4": 0.0073696125967625285}, "education_level": {"none": 0.0010085332351151065, "0": 0.002420854884558518, "1": 0.022582146995615227, "2": 0.772099517038579, "3": 0.1902395627661815, "4": 0.011649385079950633}, "creative_writing_quality": {"not_applicable": 0.9955353227347781, "-2": 0.0004409678040149908, "-1": 0.0011085966374964676, "0": 0.002643362993302676, "1": 0.0002075434574119533, "2": 6.420637299589204e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 5.92373441564825e-05, "Art & Design": 7.012263928879893e-05, "Law & Crime": 5.461771236945112e-05, "Education & Careers": 4.816919686432213e-05, "Entertainment & Media": 4.3600719656363774e-05, "Fashion & Beauty": 2.6289997190922547e-05, "Business, Economics & Finance": 0.0013637875127053634, "Food & Dining": 3.734600834250197e-05, "Games & Gaming": 0.0011493292367302987, "Electronics & Hardware": 0.00015160421313465417, "Health, Healthcare & Wellness": 3.6195525384278334e-05, "History & Geography": 4.431453922247382e-05, "Home, Pets & Hobbies": 3.683242911619288e-05, "Industry & Production": 6.0677405579974236e-05, "Language, Literature & Philosophy": 4.161822466142586e-05, "Politics & Government": 3.198255309783312e-05, "Religion & Spirituality": 4.240225609149438e-05, "Science, Mathematics & Engineering": 0.00020105912289765344, "Relationships & Community": 2.5104123750444485e-05, "Software Usage & Applications": 0.00366679353380198, "Programming & Software Engineering": 0.9922830758864489, "Sports & Fitness": 6.225495381353776e-05, "Vehicles & Transportation": 2.6126610723848192e-05, "Travel & Tourism": 5.557543744736968e-05, "Other / Uncovered Subject": 0.00028315428620555343, "Unknown / Insufficient Content": 9.872853131795175e-05}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0007139550205708588, "Art & Design": 0.0028983758794754663, "Law & Crime": 0.001127472223027744, "Education & Careers": 0.0003549721825191727, "Entertainment & Media": 0.0004979137735857457, "Fashion & Beauty": 0.00024928296382604467, "Business, Economics & Finance": 0.01459227977417763, "Food & Dining": 0.00031967855451335423, "Games & Gaming": 0.004511013751950337, "Electronics & Hardware": 0.0006847228924081207, "Health, Healthcare & Wellness": 0.00030746983184314227, "History & Geography": 0.0002524028627181768, "Home, Pets & Hobbies": 0.0002551580356931454, "Industry & Production": 0.0002654632255097322, "Language, Literature & Philosophy": 0.00022450235104112308, "Politics & Government": 0.0002472462166955054, "Religion & Spirituality": 0.00030667124320115985, "Science, Mathematics & Engineering": 0.0006204492875574191, "Relationships & Community": 0.00012768174743625773, "Software Usage & Applications": 0.0756601222597912, "Programming & Software Engineering": 0.024997169611328217, "Sports & Fitness": 0.0003099621844930431, "Vehicles & Transportation": 0.0001245481166178227, "Travel & Tourism": 0.00036016987965336683, "Other / Uncovered Subject": 0.0012493233636953, "NONE": 0.868741992766671}}, "probability_diagnostics": {"primary": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "secondary": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "tertiary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "structured_records": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "procedural_steps": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "worked_solution": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "contextual_dialogue": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "content_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "noise_severity": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "missing_content_severity": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "factual_density": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "pretraining_utility": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "math_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "code_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "reasoning_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "education_level": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "creative_writing_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "primary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}}, "usage": {"input_tokens": 10181, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 10181, "cached_share": null, "cache_discount_reported": null, "reported_cost_usd": null}, "response_metadata": {"model": "decision-models/baseten-mammoth-27b-latest"}, "scored_at_utc": "2026-10-25T18:31:01.092287+00:00", "scoring_key_slot": "assistant_1", "dataset_uid": "15bd2cfe-892f-4ed7-b3ed-986e47fd048d", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "5193151314b9262dcd7ed820929a79483b642b9ab53510a5595fc1f91a93d437", "source_metadata": {"uuid": "15bd2cfe-892f-4ed7-b3ed-986e47fd048d", "repo_name": "minaibrahim89/tradingview-signal-generator", "relative_path": "deploy.sh", "category": "TOOL", "algo_rel_score": 0.9888723492622375, "quality_score": 5.913079738616943, "source_meta": {"github_metadata": {"branch": "main", "commit_count": 48, "repo_created_at": "2025-03-16T23:35:59.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 0, "forks": 0, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "581fb0fed7bd829ea52be89f55bed411c676292b", "size_bytes": 5584, "file_timestamp": 1742780100, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "746a0f4de0ebdc6ddad133b3e340f47fc3ed151f"}}, "parsed_source_meta": {"github_metadata": {"branch": "main", "commit_count": 48, "repo_created_at": "2025-03-16T23:35:59.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 0, "forks": 0, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "581fb0fed7bd829ea52be89f55bed411c676292b", "size_bytes": 5584, "file_timestamp": 1742780100, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "746a0f4de0ebdc6ddad133b3e340f47fc3ed151f", "url": "https://github.com/minaibrahim89/tradingview-signal-generator/blob/746a0f4de0ebdc6ddad133b3e340f47fc3ed151f/deploy.sh"}, "gpt4o_tokens": 1574, "dataset_split": "shell", "probability_weighted_scores": {"content_quality": 0.21681131201824538, "noise_severity": 0.5363572516039072, "missing_content_severity": 0.0050367776225664395, "factual_density": 2.672294206503001, "pretraining_utility": 0.15618934401368245, "math_density": 0.0030805155924921064, "code_density": 3.6294408140093024, "reasoning_density": 0.5099389521560767, "education_level": 2.186302368291553, "creative_writing_quality": -0.3705925297246424}, "score_applicability": {"education_level": 0.9989914667648849, "creative_writing_quality": 0.00446467726522198}} {"source_group": "shell", "source": "openbmb/UltraData-Stack-v3-L2/shell", "domain": "github.com", "language": "shell", "url": "https://github.com/xmarlon30x2/offline-install-python-linux/blob/518956eeca9808c1a36407cb576c1af16eccb247/install_python.sh", "id": "shell-0-16570064c12ef04c11e419e1cf1b26d8", "text": "#!/bin/bash\n\n# Colores\nRED='\\033[0;31m'\nGREEN='\\033[0;32m'\nYELLOW='\\033[1;33m'\nBLUE='\\033[0;34m'\nNC='\\033[0m'\n\n# Configuración\nDEPS_DIR=\"$(pwd)/deps\" # Usar rutas absolutas\nPYTHON_DIR=\"$(pwd)/python_versions\" # Evitar problemas con rutas relativas\nINSTALL_DIR=\"/usr/local\"\n\n# Crear directorios si no existen\nmkdir -p \"$DEPS_DIR\" \"$PYTHON_DIR\"\n\ncheck_dependencies() {\n local required_deps=(\"build-essential\" \"zlib1g-dev\" \"libncurses5-dev\" \n \"libgdbm-dev\" \"libnss3-dev\" \"libssl-dev\" \n \"libsqlite3-dev\" \"libreadline-dev\" \"libffi-dev\" \n \"libbz2-dev\" \"curl\" \"wget\" \"tar\" \"make\")\n \n echo -e \"${BLUE}Verificando dependencias...${NC}\"\n \n for dep in \"${required_deps[@]}\"; do\n if ! dpkg-query -W -f='${Status}' \"$dep\" 2>/dev/null | grep -q \"ok installed\"; then\n echo -e \"${RED}Falta: $dep${NC}\"\n return 1\n fi\n done\n echo -e \"${GREEN}Todas las dependencias están instaladas!${NC}\"\n return 0\n}\n\ndownload_dependencies() {\n echo -e \"${BLUE}Descargando dependencias...${NC}\"\n mkdir -p \"$DEPS_DIR\"\n cd \"$DEPS_DIR\" || { echo -e \"${RED}Error al acceder a $DEPS_DIR${NC}\"; return 1; }\n \n # Verificar conexión a internet\n if ! curl -Is https://archive.ubuntu.com >/dev/null 2>&1; then\n echo -e \"${RED}No hay conexión a internet!${NC}\"\n return 1\n fi\n \n sudo apt-get download \\\n build-essential \\\n zlib1g-dev \\\n libncurses5-dev \\\n libgdbm-dev \\\n libnss3-dev \\\n libssl-dev \\\n libsqlite3-dev \\\n libreadline-dev \\\n libffi-dev \\\n libbz2-dev \\\n curl \\\n wget \\\n tar \\\n make 2>/dev/null\n \n cd ..\n echo -e \"${GREEN}Dependencias descargadas en $DEPS_DIR/${NC}\"\n}\n\ninstall_dependencies() {\n echo -e \"${BLUE}Instalando dependencias...${NC}\"\n if [ -z \"$(ls -A \"$DEPS_DIR\"/*.deb 2>/dev/null)\" ]; then\n echo -e \"${RED}No hay paquetes .deb en $DEPS_DIR/${NC}\"\n return 1\n fi\n \n sudo dpkg -i \"$DEPS_DIR\"/*.deb\n sudo apt-get install -f -y # Corregir dependencias rotas\n return $?\n}\n\ndownload_python() {\n # Verificar conexión a internet\n if ! curl -Is https://www.python.org >/dev/null 2>&1; then\n echo -e \"${RED}No hay conexión a internet!${NC}\"\n return 1\n fi\n \n echo -e \"\\n${BLUE}Versiones disponibles de Python:${NC}\"\n versions=$(curl -s https://www.python.org/downloads/source/ | grep -Eo 'Python-3\\.[0-9]+\\.[0-9]+' | sort -V | uniq)\n echo \"$versions\"\n \n while true; do\n read -p \"Versión a descargar (ej: 3.12.0): \" version\n if [[ \"$version\" =~ ^3\\.[0-9]+\\.[0-9]+$ ]]; then\n break\n else\n echo -e \"${RED}Formato de versión inválido! Use X.X.X${NC}\"\n fi\n done\n \n if ! wget \"https://www.python.org/ftp/python/$version/Python-$version.tgz\" -P \"$PYTHON_DIR/\"; then\n echo -e \"${RED}Error al descargar Python $version!${NC}\"\n return 1\n fi\n}\n\ninstall_python() {\n local versions=()\n while IFS= read -r -d $'\\0' file; do\n versions+=(\"$file\")\n done < <(find \"$PYTHON_DIR\" -name 'Python-*.tgz' -print0 2>/dev/null)\n \n if [ ${#versions[@]} -eq 0 ]; then\n echo -e \"${RED}No hay versiones de Python descargadas!${NC}\"\n return 1\n fi\n \n echo -e \"\\n${BLUE}Versiones disponibles para instalar:${NC}\"\n for i in \"${!versions[@]}\"; do\n version=$(basename \"${versions[$i]}\" | grep -Eo '[0-9]+\\.[0-9]+\\.[0-9]+')\n echo \"$((i+1)). Python $version\"\n done\n \n while true; do\n read -p \"Seleccione una versión (1-${#versions[@]}): \" num\n if [[ \"$num\" =~ ^[0-9]+$ ]] && [ \"$num\" -ge 1 ] && [ \"$num\" -le ${#versions[@]} ]; then\n break\n else\n echo -e \"${RED}Selección inválida!${NC}\"\n fi\n done\n \n selected_file=\"${versions[$((num-1))]}\"\n selected_version=$(basename \"$selected_file\" | grep -Eo '[0-9]+\\.[0-9]+\\.[0-9]+')\n \n echo -e \"${YELLOW}Instalando Python $selected_version...${NC}\"\n temp_dir=$(mktemp -d)\n tar -xf \"$selected_file\" -C \"$temp_dir\" || { echo -e \"${RED}Error al extraer archivo!${NC}\"; rm -rf \"$temp_dir\"; return 1; }\n \n cd \"$temp_dir/Python-$selected_version\" || { echo -e \"${RED}Error al acceder al directorio!${NC}\"; rm -rf \"$temp_dir\"; return 1; }\n \n ./configure --enable-optimizations\n make -j$(nproc)\n sudo make altinstall\n cd ..\n rm -rf \"$temp_dir\"\n \n echo -e \"${GREEN}Python $selected_version instalado!${NC}\"\n echo -e \"Usa: ${YELLOW}python${selected_version%.*}${NC} o ${YELLOW}python$selected_version${NC}\"\n}\n\nset_default_python() {\n local versions=()\n while IFS= read -r -d $'\\0' file; do\n versions+=(\"$file\")\n done < <(find /usr/local/bin -regex '.*/python3\\.[0-9]+\\.[0-9]+' -print0 2>/dev/null)\n \n if [ ${#versions[@]} -eq 0 ]; then\n echo -e \"${RED}No hay versiones de Python instaladas!${NC}\"\n return 1\n fi\n \n echo -e \"\\n${BLUE}Versiones instaladas:${NC}\"\n for i in \"${!versions[@]}\"; do\n version=$(basename \"${versions[$i]}\" | grep -Eo '[0-9]+\\.[0-9]+\\.[0-9]+')\n echo \"$((i+1)). Python $version\"\n done\n \n while true; do\n read -p \"Seleccione versión por defecto (1-${#versions[@]}): \" num\n if [[ \"$num\" =~ ^[0-9]+$ ]] && [ \"$num\" -ge 1 ] && [ \"$num\" -le ${#versions[@]} ]; then\n break\n else\n echo -e \"${RED}Selección inválida!${NC}\"\n fi\n done\n \n selected_version=$(basename \"${versions[$((num-1))]}\" | grep -Eo '[0-9]+\\.[0-9]+\\.[0-9]+')\n sudo update-alternatives --install /usr/bin/python3 python3 \"/usr/local/bin/python$selected_version\" 1\n sudo update-alternatives --config python3\n \n echo -e \"${GREEN}Versión por defecto actualizada!${NC}\"\n}\n\nshow_menu() {\n clear\n echo -e \"${YELLOW}=== Instalador Offline de Python ===\"\n echo -e \"1. Descargar dependencias (requiere internet)\"\n echo -e \"2. Instalar dependencias locales\"\n echo -e \"3. Descargar Python (requiere internet)\"\n echo -e \"4. Instalar Python desde archivos locales\"\n echo -e \"5. Establecer versión por defecto\"\n echo -e \"6. Verificar dependencias del sistema\"\n echo -e \"7. Salir${NC}\"\n}\n\nwhile true; do\n show_menu\n read -p \"Seleccione una opción: \" choice\n \n case $choice in\n 1) download_dependencies ;;\n 2) install_dependencies ;;\n 3) download_python ;;\n 4) install_python ;;\n 5) set_default_python ;;\n 6) check_dependencies ;;\n 7) echo -e \"${GREEN}Saliendo...${NC}\"; exit 0 ;;\n *) echo -e \"${RED}Opción inválida!${NC}\"; sleep 1 ;;\n esac\n read -p \"Presione enter para continuar...\" -r\ndone\n", "text_preview": "#!/bin/bash # Colores RED='\\033[0;31m' GREEN='\\033[0;32m' YELLOW='\\033[1;33m' BLUE='\\033[0;34m' NC='\\033[0m' # Configuración DEPS_DIR=\"$(pwd)/deps\" # Usar rutas absolutas PYTHON_DIR=\"$(pwd)/python_versions\" # Evitar problemas con rutas rela", "input_sha256": "ec81abef54d38932a4db1e7d4c116c3b5f7692b28cf10f89f7077387a8aa1be5", "text_sha256": "16570064c12ef04c11e419e1cf1b26d80723552f94faec768b87e8d87504bd2c", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 20028, "input_policy": "text-and-optional-url-v1", "label_policy_version": 12, "requested_model": "decision-models/baseten-mammoth-27b-latest", "backend": "baseten", "endpoint": "https://inference.baseten.co/v1/systemone", "status": "ok", "training_eligible": true, "label": {"primary": {"main_format": "Technical Writing", "sub_format": null}, "secondary": null, "tertiary": null, "content_structure": []}, "candidate_label": null, "topic": {"primary": {"main_topic": "Programming & Software Engineering", "sub_topic": null}, "secondary": null}, "scores": {"content_quality": 1, "noise_severity": 0, "missing_content_severity": 0, "factual_density": 3, "pretraining_utility": 1, "math_density": 0, "code_density": 4, "reasoning_density": 0, "education_level": 2, "creative_writing_quality": null}, "score_expectations": {"content_quality": 0.575030230384905, "noise_severity": 0.03355720292668188, "missing_content_severity": 0.00992411927289016, "factual_density": 3.037520093766673, "pretraining_utility": 0.5970324625276962, "math_density": 0.022106296386952124, "code_density": 3.824434927359883, "reasoning_density": 0.6971878045111439, "education_level": 2.0827408809216856, "creative_writing_quality": -0.24575770434633448}, "api_choices": {"primary": "Technical Writing", "secondary": "NONE", "tertiary": "NONE", "education_level": "2", "creative_writing_quality": "not_applicable", "primary_topic": "Programming & Software Engineering", "secondary_topic": "NONE"}, "review_reasons": [], "format_slot_diagnostics": {"comparable": true, "secondary_tertiary_identical": false, "secondary_tertiary_max_abs_gap": 0.02515765555438454, "secondary_choice": "NONE", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.9256042731828118, "secondary": 0.8893892636566622, "tertiary": 0.9156407303221067, "structured_records": 0.016892947472449953, "procedural_steps": 0.3993883508016656, "worked_solution": 0.00359003586897738, "contextual_dialogue": 2.4022375292618588e-05, "content_quality": 0.4467557527649535, "noise_severity": 0.9720356642277651, "missing_content_severity": 0.9917299006059249, "factual_density": 0.46857054400564147, "pretraining_utility": 0.5424692090150841, "math_density": 0.9815780863442065, "code_density": 0.8536957727999026, "reasoning_density": 0.41901016290738, "education_level": 0.7690195690383266, "creative_writing_quality": 0.9986169022819378, "primary_topic": 0.8199937340696054, "secondary_topic": 0.5996252700941745}, "probability_margin": {"primary": 0.8644456786119749, "secondary": 0.8279582354068622, "tertiary": 0.8695140273479, "education_level": 0.682927461781017, "creative_writing_quality": 0.9981603824870343, "primary_topic": 0.6592135213341895, "secondary_topic": 0.35289033446352835}, "raw_probabilities": {"primary": {"Academic Writing": 0.00018394539678443487, "Content Listing": 0.00022672314932264845, "Creative Writing": 0.00019567771619595633, "Customer Support Page": 0.00014069473985323555, "Q&A Forum": 0.0001097923662366764, "Discussion Thread": 8.563454355227604e-05, "Comment Section": 0.0001347781410242674, "Missing Content": 0.00012403615553849637, "Knowledge Article": 0.00035552886872590054, "Legal Notices": 0.00011604527384147936, "News Article": 6.077954622411414e-05, "Organizational Announcement": 9.400980675944403e-05, "Nonfiction Writing": 0.00010949101740082412, "Organizational About Page": 0.00012182392795821402, "Personal About Page": 9.250264007073139e-05, "Personal Blog": 6.895739200330086e-05, "Product Page": 6.995692895960463e-05, "Spam / Ads": 0.00011479441716862331, "Structured Data": 0.00029483220045820323, "Technical Writing": 0.9287040951335279, "Transcript / Interview": 0.0001435970655940857, "Tutorial / How-To Guide": 0.06425841652155309, "User Reviews": 6.273400382431299e-05, "Other / Unknown": 0.00413115304742205}, "secondary": {"Academic Writing": 0.00041237048969916746, "Content Listing": 0.0013076761041769646, "Creative Writing": 0.00028066005529643796, "Customer Support Page": 0.000335325500757199, "Q&A Forum": 0.00015398494294640525, "Discussion Thread": 0.00010799697717845924, "Comment Section": 0.0002923298394601283, "Missing Content": 0.00031344772009531997, "Knowledge Article": 0.000765666117850714, "Legal Notices": 0.00021789270574462213, "News Article": 0.0001539873660149753, "Organizational Announcement": 0.00014871764775801008, "Nonfiction Writing": 0.00016473077926257504, "Organizational About Page": 0.0001835171292580611, "Personal About Page": 0.0001763161978252364, "Personal Blog": 0.0001716737084305008, "Product Page": 0.00012406866894340205, "Spam / Ads": 0.0001714279758171163, "Structured Data": 0.0006573474132719202, "Technical Writing": 0.03349790475116656, "Transcript / Interview": 0.0002250346974079068, "Tutorial / How-To Guide": 0.06603980893077233, "User Reviews": 0.00010006994323143052, "NONE": 0.8939980443376345}, "tertiary": {"Academic Writing": 0.00023238286551982869, "Content Listing": 0.003992867964969736, "Creative Writing": 0.00019671819811563948, "Customer Support Page": 0.00027541303855460657, "Q&A Forum": 8.653590977271677e-05, "Discussion Thread": 6.522042087575802e-05, "Comment Section": 0.00031760109326485004, "Missing Content": 0.00025867800269206335, "Knowledge Article": 0.0014382675234603625, "Legal Notices": 0.0002717201480775987, "News Article": 0.00010534432739047122, "Organizational Announcement": 9.578935228749146e-05, "Nonfiction Writing": 0.0001302305301741997, "Organizational About Page": 0.00014654980658344472, "Personal About Page": 0.00012354856031296163, "Personal Blog": 0.00010479516982213297, "Product Page": 9.842107496974378e-05, "Spam / Ads": 0.00012910239100456542, "Structured Data": 0.001139273571754483, "Technical Writing": 0.021734731302664484, "Transcript / Interview": 0.00019715335971965376, "Tutorial / How-To Guide": 0.04964167254411903, "User Reviews": 6.228295187513627e-05, "NONE": 0.919155699892019}, "structured_records": {"false": 0.98310705252755, "true": 0.016892947472449953}, "procedural_steps": {"false": 0.6006116491983344, "true": 0.3993883508016656}, "worked_solution": {"false": 0.9964099641310227, "true": 0.00359003586897738}, "contextual_dialogue": {"false": 0.9999759776247074, "true": 2.4022375292618588e-05}, "content_quality": {"-2": 0.017538881664932216, "-1": 0.089935510864599, "0": 0.3119437664245807, "1": 0.4611201775124077, "2": 0.11946166353348037}, "noise_severity": {"0": 0.9716385464807409, "1": 0.024780277973261725, "2": 0.002433766250303935, "3": 0.0006802447299621212, "4": 0.0004671645657314813}, "missing_content_severity": {"0": 0.9946465823529165, "1": 0.0018820915495952688, "2": 0.0025641483858897577, "3": 0.0007149798948785898, "4": 0.00019219781671990177}, "factual_density": {"0": 0.009970081267763017, "1": 0.03356684729877253, "2": 0.20305368831244475, "3": 0.41579166264106854, "4": 0.33761772047995126}, "pretraining_utility": {"-2": 0.00780883356489485, "-1": 0.05536186124015609, "0": 0.3418520201521047, "1": 0.5219425791880465, "2": 0.07303470585479764}, "math_density": {"0": 0.9809371887058914, "1": 0.01732681764641654, "2": 0.0009217920984973203, "3": 0.00032091165323755016, "4": 0.0004932898959570725}, "code_density": {"0": 0.00036601210985301224, "1": 0.0006780109645274398, "2": 0.01919421370901279, "3": 0.13367856388909682, "4": 0.84608319932751}, "reasoning_density": {"0": 0.6117916443543218, "1": 0.17537654858250687, "2": 0.14714567090811978, "3": 0.035224630507808725, "4": 0.0304615056472428}, "education_level": {"none": 0.0012423603538060173, "0": 0.0028195180885917095, "1": 0.05465921973054402, "2": 0.8075163075319388, "3": 0.12458884575092177, "4": 0.009173748544197594}, "creative_writing_quality": {"not_applicable": 0.9988474185682815, "-2": 8.734771039905187e-05, "-1": 0.0002574754387903374, "0": 0.0006870360812472058, "1": 9.252930970702025e-05, "2": 2.819289157501894e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 0.00021279041018783143, "Art & Design": 0.00034523123450372676, "Law & Crime": 0.0003160988168642775, "Education & Careers": 0.00019603208580000074, "Entertainment & Media": 0.00020230053114605353, "Fashion & Beauty": 0.00020172603468260705, "Business, Economics & Finance": 0.00025957007798912745, "Food & Dining": 0.00018353864228742064, "Games & Gaming": 0.0003052684044811461, "Electronics & Hardware": 0.00034569214609529166, "Health, Healthcare & Wellness": 0.00016137913056465524, "History & Geography": 0.00026344055415345857, "Home, Pets & Hobbies": 0.0002289929055272646, "Industry & Production": 0.0002445505586610943, "Language, Literature & Philosophy": 0.00020704907351998532, "Politics & Government": 0.00011803462008687094, "Religion & Spirituality": 0.00015774891709955337, "Science, Mathematics & Engineering": 0.0003037238227289534, "Relationships & Community": 0.00011933631738954712, "Software Usage & Applications": 0.16770353065581567, "Programming & Software Engineering": 0.8269170519900052, "Sports & Fitness": 0.00022482167218370087, "Vehicles & Transportation": 0.0001437139598241885, "Travel & Tourism": 0.00019113914830817458, "Other / Uncovered Subject": 0.0002680350771811632, "Unknown / Insufficient Content": 0.00017920321291304037}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0006438134179434205, "Art & Design": 0.0005362216664079283, "Law & Crime": 0.0005829455547802872, "Education & Careers": 0.0003761864915957028, "Entertainment & Media": 0.0004098464837173326, "Fashion & Beauty": 0.0002963729851049244, "Business, Economics & Finance": 0.00047294010473230246, "Food & Dining": 0.0002403513338144265, "Games & Gaming": 0.0004012477799966979, "Electronics & Hardware": 0.0010636668181521136, "Health, Healthcare & Wellness": 0.00031597051944462273, "History & Geography": 0.00037010128116813105, "Home, Pets & Hobbies": 0.0003497920139035016, "Industry & Production": 0.00033298412123261415, "Language, Literature & Philosophy": 0.000262378167891773, "Politics & Government": 0.0002441314272694857, "Religion & Spirituality": 0.0003559312399851722, "Science, Mathematics & Engineering": 0.0005812202508086132, "Relationships & Community": 0.00020131909255251477, "Software Usage & Applications": 0.26213396370394715, "Programming & Software Engineering": 0.11318831577749218, "Sports & Fitness": 0.0003094511254978793, "Vehicles & Transportation": 0.00019477595233682654, "Travel & Tourism": 0.0005288720517421142, "Other / Uncovered Subject": 0.0005829024710066945, "NONE": 0.6150242981674755}}, "probabilities": {"primary": {"Academic Writing": 0.0001839453967844349, "Content Listing": 0.00022672314932264848, "Creative Writing": 0.00019567771619595636, "Customer Support Page": 0.00014069473985323558, "Q&A Forum": 0.00010979236623667641, "Discussion Thread": 8.563454355227605e-05, "Comment Section": 0.00013477814102426743, "Missing Content": 0.0001240361555384964, "Knowledge Article": 0.0003555288687259006, "Legal Notices": 0.00011604527384147938, "News Article": 6.0779546224114146e-05, "Organizational Announcement": 9.400980675944404e-05, "Nonfiction Writing": 0.00010949101740082413, "Organizational About Page": 0.00012182392795821403, "Personal About Page": 9.25026400707314e-05, "Personal Blog": 6.895739200330087e-05, "Product Page": 6.995692895960464e-05, "Spam / Ads": 0.00011479441716862332, "Structured Data": 0.0002948322004582033, "Technical Writing": 0.928704095133528, "Transcript / Interview": 0.00014359706559408572, "Tutorial / How-To Guide": 0.0642584165215531, "User Reviews": 6.2734003824313e-05, "Other / Unknown": 0.004131153047422051}, "secondary": {"Academic Writing": 0.00041237048969916746, "Content Listing": 0.0013076761041769646, "Creative Writing": 0.00028066005529643796, "Customer Support Page": 0.000335325500757199, "Q&A Forum": 0.00015398494294640525, "Discussion Thread": 0.00010799697717845924, "Comment Section": 0.0002923298394601283, "Missing Content": 0.00031344772009531997, "Knowledge Article": 0.000765666117850714, "Legal Notices": 0.00021789270574462213, "News Article": 0.0001539873660149753, "Organizational Announcement": 0.00014871764775801008, "Nonfiction Writing": 0.00016473077926257504, "Organizational About Page": 0.0001835171292580611, "Personal About Page": 0.0001763161978252364, "Personal Blog": 0.0001716737084305008, "Product Page": 0.00012406866894340205, "Spam / Ads": 0.0001714279758171163, "Structured Data": 0.0006573474132719202, "Technical Writing": 0.03349790475116656, "Transcript / Interview": 0.0002250346974079068, "Tutorial / How-To Guide": 0.06603980893077233, "User Reviews": 0.00010006994323143052, "NONE": 0.8939980443376345}, "tertiary": {"Academic Writing": 0.0002323828655198287, "Content Listing": 0.003992867964969737, "Creative Writing": 0.0001967181981156395, "Customer Support Page": 0.0002754130385546066, "Q&A Forum": 8.653590977271678e-05, "Discussion Thread": 6.522042087575803e-05, "Comment Section": 0.0003176010932648501, "Missing Content": 0.0002586780026920634, "Knowledge Article": 0.0014382675234603627, "Legal Notices": 0.0002717201480775988, "News Article": 0.00010534432739047123, "Organizational Announcement": 9.578935228749147e-05, "Nonfiction Writing": 0.00013023053017419974, "Organizational About Page": 0.00014654980658344475, "Personal About Page": 0.00012354856031296165, "Personal Blog": 0.00010479516982213299, "Product Page": 9.842107496974379e-05, "Spam / Ads": 0.00012910239100456545, "Structured Data": 0.0011392735717544833, "Technical Writing": 0.021734731302664487, "Transcript / Interview": 0.0001971533597196538, "Tutorial / How-To Guide": 0.04964167254411904, "User Reviews": 6.228295187513629e-05, "NONE": 0.9191556998920191}, "structured_records": {"false": 0.98310705252755, "true": 0.016892947472449953}, "procedural_steps": {"false": 0.6006116491983344, "true": 0.3993883508016656}, "worked_solution": {"false": 0.9964099641310227, "true": 0.00359003586897738}, "contextual_dialogue": {"false": 0.9999759776247074, "true": 2.4022375292618588e-05}, "content_quality": {"-2": 0.017538881664932216, "-1": 0.089935510864599, "0": 0.3119437664245807, "1": 0.4611201775124077, "2": 0.11946166353348037}, "noise_severity": {"0": 0.9716385464807407, "1": 0.024780277973261718, "2": 0.0024337662503039347, "3": 0.0006802447299621211, "4": 0.0004671645657314812}, "missing_content_severity": {"0": 0.9946465823529165, "1": 0.0018820915495952688, "2": 0.0025641483858897577, "3": 0.0007149798948785898, "4": 0.00019219781671990177}, "factual_density": {"0": 0.009970081267763017, "1": 0.03356684729877253, "2": 0.20305368831244475, "3": 0.41579166264106854, "4": 0.33761772047995126}, "pretraining_utility": {"-2": 0.007808833564894852, "-1": 0.0553618612401561, "0": 0.34185202015210475, "1": 0.5219425791880467, "2": 0.07303470585479765}, "math_density": {"0": 0.9809371887058915, "1": 0.017326817646416543, "2": 0.0009217920984973204, "3": 0.0003209116532375502, "4": 0.0004932898959570726}, "code_density": {"0": 0.00036601210985301224, "1": 0.0006780109645274398, "2": 0.01919421370901279, "3": 0.13367856388909682, "4": 0.84608319932751}, "reasoning_density": {"0": 0.6117916443543219, "1": 0.1753765485825069, "2": 0.1471456709081198, "3": 0.03522463050780873, "4": 0.030461505647242804}, "education_level": {"none": 0.0012423603538060175, "0": 0.00281951808859171, "1": 0.05465921973054403, "2": 0.8075163075319389, "3": 0.12458884575092179, "4": 0.009173748544197596}, "creative_writing_quality": {"not_applicable": 0.9988474185682813, "-2": 8.734771039905186e-05, "-1": 0.00025747543879033735, "0": 0.0006870360812472057, "1": 9.252930970702022e-05, "2": 2.8192891575018932e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 0.00021279041018783143, "Art & Design": 0.00034523123450372676, "Law & Crime": 0.0003160988168642775, "Education & Careers": 0.00019603208580000074, "Entertainment & Media": 0.00020230053114605353, "Fashion & Beauty": 0.00020172603468260705, "Business, Economics & Finance": 0.00025957007798912745, "Food & Dining": 0.00018353864228742064, "Games & Gaming": 0.0003052684044811461, "Electronics & Hardware": 0.00034569214609529166, "Health, Healthcare & Wellness": 0.00016137913056465524, "History & Geography": 0.00026344055415345857, "Home, Pets & Hobbies": 0.0002289929055272646, "Industry & Production": 0.0002445505586610943, "Language, Literature & Philosophy": 0.00020704907351998532, "Politics & Government": 0.00011803462008687094, "Religion & Spirituality": 0.00015774891709955337, "Science, Mathematics & Engineering": 0.0003037238227289534, "Relationships & Community": 0.00011933631738954712, "Software Usage & Applications": 0.16770353065581567, "Programming & Software Engineering": 0.8269170519900052, "Sports & Fitness": 0.00022482167218370087, "Vehicles & Transportation": 0.0001437139598241885, "Travel & Tourism": 0.00019113914830817458, "Other / Uncovered Subject": 0.0002680350771811632, "Unknown / Insufficient Content": 0.00017920321291304037}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0006438134179434206, "Art & Design": 0.0005362216664079284, "Law & Crime": 0.0005829455547802873, "Education & Careers": 0.00037618649159570287, "Entertainment & Media": 0.00040984648371733263, "Fashion & Beauty": 0.00029637298510492443, "Business, Economics & Finance": 0.0004729401047323025, "Food & Dining": 0.00024035133381442652, "Games & Gaming": 0.00040124777999669796, "Electronics & Hardware": 0.0010636668181521138, "Health, Healthcare & Wellness": 0.0003159705194446228, "History & Geography": 0.0003701012811681311, "Home, Pets & Hobbies": 0.00034979201390350164, "Industry & Production": 0.0003329841212326142, "Language, Literature & Philosophy": 0.00026237816789177304, "Politics & Government": 0.00024413142726948574, "Religion & Spirituality": 0.00035593123998517223, "Science, Mathematics & Engineering": 0.0005812202508086133, "Relationships & Community": 0.0002013190925525148, "Software Usage & Applications": 0.2621339637039472, "Programming & Software Engineering": 0.1131883157774922, "Sports & Fitness": 0.00030945112549787937, "Vehicles & Transportation": 0.00019477595233682656, "Travel & Tourism": 0.0005288720517421143, "Other / Uncovered Subject": 0.0005829024710066946, "NONE": 0.6150242981674756}}, "probability_diagnostics": {"primary": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "tertiary": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "structured_records": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "procedural_steps": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "worked_solution": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "contextual_dialogue": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "content_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "noise_severity": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "missing_content_severity": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "factual_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "pretraining_utility": {"raw_sum": 0.9999999999999998, "mass_delta": -2.220446049250313e-16, "missing_mass": 2.220446049250313e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "math_density": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "code_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "reasoning_density": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "education_level": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "creative_writing_quality": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "primary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary_topic": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}}, "usage": {"input_tokens": 10659, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 10659, "cached_share": null, "cache_discount_reported": null, "reported_cost_usd": null}, "response_metadata": {"model": "decision-models/baseten-mammoth-27b-latest"}, "scored_at_utc": "2026-10-25T18:31:05.072369+00:00", "scoring_key_slot": "assistant_1", "dataset_uid": "a6ddc512-9d6f-47b4-9bba-3c0a6e189f96", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "faa74c1c425fc4d0fe680a1c614cdd3a2107cb3448eb1e7f1cff7daaa94cf649", "source_metadata": {"uuid": "a6ddc512-9d6f-47b4-9bba-3c0a6e189f96", "repo_name": "xmarlon30x2/offline-install-python-linux", "relative_path": "install_python.sh", "category": "TOOL", "algo_rel_score": 0.989726722240448, "quality_score": 4.091172695159912, "source_meta": {"github_metadata": {"branch": "main", "commit_count": 2, "repo_created_at": "2025-05-07T15:06:15.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 1, "forks": 0, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "b9b1f22a12c3e2168ca317e5ad33b66254cb6a1c", "size_bytes": 6808, "file_timestamp": 1746630512, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "518956eeca9808c1a36407cb576c1af16eccb247"}}, "parsed_source_meta": {"github_metadata": {"branch": "main", "commit_count": 2, "repo_created_at": "2025-05-07T15:06:15.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 1, "forks": 0, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "b9b1f22a12c3e2168ca317e5ad33b66254cb6a1c", "size_bytes": 6808, "file_timestamp": 1746630512, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "518956eeca9808c1a36407cb576c1af16eccb247", "url": "https://github.com/xmarlon30x2/offline-install-python-linux/blob/518956eeca9808c1a36407cb576c1af16eccb247/install_python.sh"}, "gpt4o_tokens": 2050, "dataset_split": "shell", "probability_weighted_scores": {"content_quality": 0.575030230384905, "noise_severity": 0.033557202926681885, "missing_content_severity": 0.00992411927289016, "factual_density": 3.037520093766673, "pretraining_utility": 0.5970324625276962, "math_density": 0.022106296386952124, "code_density": 3.824434927359883, "reasoning_density": 0.6971878045111438, "education_level": 2.0827408809216856, "creative_writing_quality": -0.24575770434633448}, "score_applicability": {"education_level": 0.998757639646194, "creative_writing_quality": 0.0011525814317186341}} {"source_group": "shell", "source": "openbmb/UltraData-Stack-v3-L2/shell", "domain": "github.com", "language": "shell", "url": "https://github.com/radanalyticsio/oshinko-webui/blob/cd9d5b9abcb01fd6fbd9909d12d9c8b6e5fd2402/test/e2e.sh", "id": "shell-0-dd9786bd6cf938374b9bb460205e7c56", "text": "#!/bin/bash\n\nTOP_DIR=$(readlink -f `dirname \"${BASH_SOURCE[0]}\"` | grep -o '.*/oshinko-webui')\nPROJECT=$(oc project -q)\n\nWEBUI_START_XVFB=${WEBUI_START_XVFB:-true}\nWEBUI_TEST_IMAGE=${WEBUI_TEST_IMAGE:-}\nWEBUI_TEST_SECURE=${WEBUI_TEST_SECURE:-false}\nWEBUI_TEST_LOCAL_IMAGE=${WEBUI_TEST_LOCAL_IMAGE:-true}\n\n# If you're doing a test of the secure webui, default user/pass is \"developer/developerpass\"\n# If you need to change it you can set these\nWEBUI_TEST_SECURE_USER=${WEBUI_TEST_SECURE_USER:-}\nWEBUI_TEST_SECURE_PASSWORD=${WEBUI_TEST_SECURE_PASSWORD:-}\n\n# This is all for dealing with registries. External registry requires creds other than the current login\nWEBUI_TEST_INTEGRATED_REGISTRY=${WEBUI_TEST_INTEGRATED_REGISTRY:-}\nWEBUI_TEST_EXTERNAL_REGISTRY=${WEBUI_TEST_EXTERNAL_REGISTRY:-}\nWEBUI_TEST_EXTERNAL_USER=${WEBUI_TEST_EXTERNAL_USER:-}\nWEBUI_TEST_EXTERNAL_PASSWORD=${WEBUI_TEST_EXTERNAL_PASSWORD:-}\n\nWEBUI_TEST_RESOURCES=${WEBUI_TEST_RESOURCES:-$TOP_DIR/tools/resources.yaml}\nif [ -z \"$WEBUI_TEST_IMAGE\" ]; then\n if [ \"$WEBUI_TEST_LOCAL_IMAGE\" == true ]; then\n WEBUI_TEST_IMAGE=oshinko-webui:latest\n else\n WEBUI_TEST_IMAGE=docker.io/radanalyticsio/oshinko-webui\n fi\nfi\n\nfunction print_test_env {\n echo Using image $WEBUI_TEST_IMAGE\n echo Using resources.yaml from $WEBUI_TEST_RESOURCES\n\n if [ \"$WEBUI_TEST_LOCAL_IMAGE\" != true ]; then\n\techo WEBUI_TEST_LOCAL_IMAGE = $WEBUI_TEST_LOCAL_IMAGE, webui image is external, ignoring registry env vars\n elif [ -n \"$WEBUI_TEST_EXTERNAL_REGISTRY\" ]; then\n echo Using external registry $WEBUI_TEST_EXTERNAL_REGISTRY\n if [ -z \"$WEBUI_TEST_EXTERNAL_USER\" ]; then\n echo \"Error: WEBUI_TEST_EXTERNAL_USER not set!\"\n\t exit 1\n else\n\t echo Using external registry user $WEBUI_TEST_EXTERNAL_USER\n fi\n if [ -z \"$WEBUI_TEST_EXTERNAL_PASSWORD\" ]; then\n echo \"WEBUI_TEST_EXTERNAL_PASSWORD not set, assuming current docker login\"\n else\n echo External registry password set\n fi\n elif [ -n \"$WEBUI_TEST_INTEGRATED_REGISTRY\" ]; then\n echo Using integrated registry $WEBUI_TEST_INTEGRATED_REGISTRY\n else\n echo Not using external or integrated registry\n fi\n echo Start xvfb = $WEBUI_START_XVFB\n echo Using secure oshinko webui $WEBUI_TEST_SECURE\n if [ \"$WEBUI_TEST_SECURE\" == true ]; then\n if [ -n \"$WEBUI_TEST_SECURE_USER\" ]; then\n echo Using oshinko webui secure user $WEBUI_TEST_SECURE_USER\n else\n echo Using default oshinko webui secure user set in conf.js\n fi\n if [ -n \"$WEBUI_TEST_SECURE_PASSWORD\" ]; then\n echo Oshinko webui secure password has been set\n else\n echo Using default oshinko webui secure password set in conf.js\n fi\n fi\n}\n\nfunction push_image {\n # The ip address of an internal/external registry may be set to support running against\n # an openshift that is not \"oc cluster up\" when using images that have been built locally.\n # In the case of \"oc cluster up\", the docker on the host is available from openshift so\n # no special pushes of images have to be done.\n # In the case of a \"normal\" openshift cluster, a local image we'll use for build has to be\n # available from the designated registry.\n # If we're using an image already in an external registry, openshift can pull it from\n # there and we don't have to do anything.\n local user=\n local password=\n local pushproj=\n local pushimage=\n local registry=\n if [ \"$WEBUI_TEST_LOCAL_IMAGE\" == true ]; then\n\tif [ -n \"$WEBUI_TEST_EXTERNAL_REGISTRY\" ]; then\n\t user=$WEBUI_TEST_EXTERNAL_USER\n\t password=$WEBUI_TEST_EXTERNAL_PASSWORD\n\t pushproj=$user\n\t pushimage=scratch-oshinko-webui\n\t registry=$WEBUI_TEST_EXTERNAL_REGISTRY\n\telif [ -n \"$WEBUI_TEST_INTEGRATED_REGISTRY\" ]; then\n\t user=$(oc whoami)\n\t password=$(oc whoami -t)\n\t pushproj=$PROJECT\n\t pushimage=oshinko-webui\n\t registry=$WEBUI_TEST_INTEGRATED_REGISTRY\n\tfi\n fi\n if [ -n \"$registry\" ]; then\n\tset +e\n\tdocker login --help | grep email &> /dev/null\n\tres=$?\n\tset -e\n\tif [ -n \"$password\" ] && [ -n \"$user\" ]; then\n\t if [ \"$res\" -eq 0 ]; then\n\t\tdocker login -u ${user} -e -p ${password} ${registry}\n\t else\n\t\tdocker login -u ${user} -p ${password} ${registry}\n\t fi\n\tfi\n\tdocker tag ${WEBUI_TEST_IMAGE} ${registry}/${pushproj}/${pushimage}\n\tdocker push ${registry}/${pushproj}/${pushimage}\n\tOSHINKO_WEB_IMAGE=${registry}/${pushproj}/${pushimage}\n else\n\tOSHINKO_WEB_IMAGE=$WEBUI_TEST_IMAGE\n fi\n}\n\nfunction tweak_template {\n if [ \"$WEBUI_TEST_LOCAL_IMAGE\" == true ] && [ -z \"$WEBUI_TEST_INTEGRATED_REGISTRY\" ] && [ -z \"$WEBUI_TEST_EXTERNAL_REGISTRY\" ]; then\n\techo Updating $WEBUI_TEST_RESOURCES to pull local webui image\n\tmkdir -p `pwd`/test/scratch/\n if [ -f \"$WEBUI_TEST_RESOURCES\" ]; then\n cp \"$WEBUI_TEST_RESOURCES\" `pwd`/test/scratch/resources_mod.yaml\n else\n wget \"$WEBUI_TEST_RESOURCES\" -O `pwd`/test/scratch/resources_mod.yaml\n fi\n # This sed command finds the line with image: ${OSHINKO_WEB_IMAGE}\n # The next line sets the pull policy in the standard template (this should be maintained)\n # !b;n;s throws away the current processing, reads the next line, and starts a new substitution\n # Ultimately, this sets the pull policy for the web image to IfNotPresent so that an 'oc cluster up'\n # case can just reference the image from the host\n sed -i -r '/image.*OSHINKO_WEB_IMAGE/!b;n;s/(.*imagePullPolicy: *)Always/\\1IfNotPresent/' `pwd`/test/scratch/resources_mod.yaml\n WEBUI_TEST_RESOURCES=`pwd`/test/scratch/resources_mod.yaml\n fi\n}\n\nfunction try_until_success {\n # This is a really simple case that just tests for success.\n # If more complicated waits are needed, we can use the oc commandline testsuite\n echo $1\n while true; do\n set +e\n eval $1\n res=$?\n set -e\n if [ \"$res\" = 0 ]; then\n break\n fi\n sleep 20s\n done\n}\n\nfunction create_resources {\n set +e\n oc create -f $WEBUI_TEST_RESOURCES\n if [ \"$WEBUI_TEST_SECURE\" == true ]; then\n oc new-app --template=oshinko-webui-secure -p OSHINKO_WEB_IMAGE=$OSHINKO_WEB_IMAGE\n else\n oc new-app --template=oshinko-webui -p OSHINKO_WEB_IMAGE=$OSHINKO_WEB_IMAGE\n fi\n oc create configmap storedconfig --from-literal=mastercount=1 --from-literal=workercount=4\n set -e\n}\n\nfunction wait_for_webui {\n local command=\n\n try_until_success \"oc get pods -l app=oshinko-webui\"\n IMAGETESTED=$(oc get pods -l app=oshinko-webui --template=\"{{range .items}}{{range .spec.containers}}{{.image}}{{end}}{{end}}\")\n echo \"Testing image $IMAGETESTED\"\n\n if [ \"$WEBUI_TEST_SECURE\" == true ]; then\n TESTROUTE=$(oc get route oshinko-web-oaproxy --template='{{.spec.host}}')\n command=\"wget --no-check-certificate https://$TESTROUTE/proxy/api\"\n else\n TESTROUTE=$(oc get route oshinko-web --template='{{.spec.host}}')\n command=\"wget http://$TESTROUTE/proxy/api\"\n fi\n echo \"Waiting for proxy to come up\"\n try_until_success \"$command\"\n cat api && rm api\n\n echo \"Make sure that webui is up\"\n if [ \"$WEBUI_TEST_SECURE\" == true ]; then\n command=\"curl --insecure https://$TESTROUTE/webui\"\n else\n command=\"curl http://$TESTROUTE/webui\"\n fi\n try_until_success \"$command\"\n}\n\nfunction dump_env {\n echo \"Other environment details\"\n echo \"ENVIRONMENT IS:\"\n env\n echo \"ROUTES\"\n oc get routes\n echo \"SERVICES\"\n oc get services\n}\n\nfunction check_for_xvfb {\n if [ \"$WEBUI_START_XVFB\" == true ]; then\n if ! [ -f /tmp/.X99-lock ]; then\n echo Starting xvfb\n Xvfb -ac :99 -screen 0 1280x1024x16 &\n else\n echo xvfb is already running\n fi\n export DISPLAY=:99\n fi\n}\n\norig_project=$(oc project -q)\n\n# Create the project here\nproj_name_prefix=\"webui\"\nset +e # For some reason the result here from head is not 0 even though we get the desired result\nnamespace=${proj_name_prefix}-$(date -Ins | md5sum | tr -dc 'a-z0-9' | fold -w 6 | head -n 1)\nset -e\noc new-project $namespace &> /dev/null\necho Using project $namespace\n\n\n# Modify the template if we're using a local image with no registry, i.e. we're in an oc cluster up case\n# In this case we don't need a push at all, but we need to have a pullpolicy of IfNotPresent\nprint_test_env\ncheck_for_xvfb\ntweak_template\npush_image\ncreate_resources\nwait_for_webui\ndump_env\n\necho \"Running integration tests via protracor\"\necho \"Protractor version is:\"\nprotractor --version\nif [ \"$WEBUI_TEST_SECURE\" == true ]; then\n user=\"\"\n password=\"\"\n if [ -n \"$WEBUI_TEST_SECURE_USER\" ]; then\n name=\"--params.securelogin.name=$WEBUI_TEST_SECURE_USER \"\n fi\n if [ -n \"$WEBUI_TEST_SECURE_PASSWORD\" ]; then\n passw=\"--params.securelogin.password=$WETEST_SECURE_PASSWORD \"\n fi\n protractor test/conf.js $name$passw --baseUrl=\"https://$TESTROUTE/webui\" --specs=test/spec/all-functionality.js\nelse\n protractor test/conf.js --baseUrl=\"http://$TESTROUTE/webui\" --specs=test/spec/all-functionality-insecure.js\nfi\n\n# Cleanup\noc project $orig_project\noc delete project $namespace", "text_preview": "#!/bin/bash TOP_DIR=$(readlink -f `dirname \"${BASH_SOURCE[0]}\"` | grep -o '.*/oshinko-webui') PROJECT=$(oc project -q) WEBUI_START_XVFB=${WEBUI_START_XVFB:-true} WEBUI_TEST_IMAGE=${WEBUI_TEST_IMAGE:-} WEBUI_TEST_SECURE=${WEBUI_TEST_SECURE:-", "input_sha256": "0b142e532012c72f4bd5d00fdcdb02eb1dbe970afb34f6fa2413cfc089def7a1", "text_sha256": "dd9786bd6cf938374b9bb460205e7c56e09bda17f11cfa2958a6768d943e39b6", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 20031, "input_policy": "text-and-optional-url-v1", "label_policy_version": 12, "requested_model": "decision-models/baseten-mammoth-27b-latest", "backend": "baseten", "endpoint": "https://inference.baseten.co/v1/systemone", "status": "ok", "training_eligible": true, "label": {"primary": {"main_format": "Technical Writing", "sub_format": null}, "secondary": null, "tertiary": null, "content_structure": []}, "candidate_label": null, "topic": {"primary": {"main_topic": "Programming & Software Engineering", "sub_topic": null}, "secondary": null}, "scores": {"content_quality": 1, "noise_severity": 0, "missing_content_severity": 0, "factual_density": 3, "pretraining_utility": 1, "math_density": 0, "code_density": 4, "reasoning_density": 0, "education_level": 3, "creative_writing_quality": null}, "score_expectations": {"content_quality": 0.8460023169566069, "noise_severity": 0.13764531527608306, "missing_content_severity": 0.05748708506005073, "factual_density": 3.2643046742847366, "pretraining_utility": 0.4013530765465913, "math_density": 0.005831763425284279, "code_density": 3.8785082742803505, "reasoning_density": 0.9442693664460861, "education_level": 2.805966210078157, "creative_writing_quality": -0.24716488770945474}, "api_choices": {"primary": "Technical Writing", "secondary": "NONE", "tertiary": "NONE", "education_level": "3", "creative_writing_quality": "not_applicable", "primary_topic": "Programming & Software Engineering", "secondary_topic": "NONE"}, "review_reasons": [], "format_slot_diagnostics": {"comparable": true, "secondary_tertiary_identical": false, "secondary_tertiary_max_abs_gap": 0.029142678484254336, "secondary_choice": "NONE", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.9800353351707132, "secondary": 0.915143074992802, "tertiary": 0.9455528264546326, "structured_records": 0.00312976905465498, "procedural_steps": 0.33482898693650687, "worked_solution": 0.0019346394836003327, "contextual_dialogue": 1.0590470020150234e-05, "content_quality": 0.5291930476736051, "noise_severity": 0.8852955706032641, "missing_content_severity": 0.9520940957832911, "factual_density": 0.5103667717556695, "pretraining_utility": 0.4042639568136245, "math_density": 0.9951401971455964, "code_density": 0.8987568952336251, "reasoning_density": 0.21310886129492834, "education_level": 0.4924548044737024, "creative_writing_quality": 0.9990940329470586, "primary_topic": 0.9897769709789057, "secondary_topic": 0.9118704345429375}, "probability_margin": {"primary": 0.967697093327198, "secondary": 0.8808074318728651, "tertiary": 0.9205245282308252, "education_level": 0.27910241707885575, "creative_writing_quality": 0.9989013464526997, "primary_topic": 0.9827481118855793, "secondary_topic": 0.860163506510095}, "raw_probabilities": {"primary": {"Academic Writing": 9.054527687072445e-05, "Content Listing": 6.465917626525142e-05, "Creative Writing": 6.735157666763801e-05, "Customer Support Page": 8.027882283069764e-05, "Q&A Forum": 4.4590180615362346e-05, "Discussion Thread": 3.233279474744044e-05, "Comment Section": 5.1660391469159847e-05, "Missing Content": 6.991333917178912e-05, "Knowledge Article": 0.0002553536515992117, "Legal Notices": 8.806491896822486e-05, "News Article": 2.3700113669014437e-05, "Organizational Announcement": 4.779988221804655e-05, "Nonfiction Writing": 4.199293243076677e-05, "Organizational About Page": 5.1974311220954716e-05, "Personal About Page": 3.687218029669845e-05, "Personal Blog": 3.06363591953468e-05, "Product Page": 3.2007773868693994e-05, "Spam / Ads": 3.693901733378014e-05, "Structured Data": 0.00036394730116284135, "Technical Writing": 0.9808671962052667, "Transcript / Interview": 6.889306870833223e-05, "Tutorial / How-To Guide": 0.013170102878068782, "User Reviews": 2.8876737493220775e-05, "Other / Unknown": 0.0043543111098609715}, "secondary": {"Academic Writing": 0.0003593062896177296, "Content Listing": 0.00022894658988118722, "Creative Writing": 0.0002732553686282962, "Customer Support Page": 0.0005151111779309703, "Q&A Forum": 0.00016821598985603865, "Discussion Thread": 0.00011302290072691496, "Comment Section": 0.00046929325471312713, "Missing Content": 0.0004361035888640976, "Knowledge Article": 0.0020731322842387433, "Legal Notices": 0.00029320914715280454, "News Article": 0.0001606437530119207, "Organizational Announcement": 0.0002045148241386595, "Nonfiction Writing": 0.00019129714407037184, "Organizational About Page": 0.00020253215810378105, "Personal About Page": 0.0001585825088353065, "Personal Blog": 0.00016863328625212477, "Product Page": 0.0001194695351552296, "Spam / Ads": 0.00018851392566719314, "Structured Data": 0.0008935554148897635, "Technical Writing": 0.03787134832857009, "Transcript / Interview": 0.0002373565361775515, "Tutorial / How-To Guide": 0.035888097932833374, "User Reviews": 0.00010707785924955948, "NONE": 0.9186787802014352}, "tertiary": {"Academic Writing": 0.0001826443851821608, "Content Listing": 0.0001223882135145623, "Creative Writing": 0.0001499141380997935, "Customer Support Page": 0.0005384506426073046, "Q&A Forum": 7.264960057734011e-05, "Discussion Thread": 5.48213568577813e-05, "Comment Section": 0.0007119264392406541, "Missing Content": 0.00035297388215152476, "Knowledge Article": 0.002107518468131001, "Legal Notices": 0.00029565049985021683, "News Article": 8.183699387944949e-05, "Organizational Announcement": 0.00011544735276325663, "Nonfiction Writing": 0.0001237703784876081, "Organizational About Page": 0.00011988390809286824, "Personal About Page": 7.271801613668119e-05, "Personal Blog": 8.605979842969997e-05, "Product Page": 6.584914924946618e-05, "Spam / Ads": 0.0001073082416263921, "Structured Data": 0.0007293724935485287, "Technical Writing": 0.018626591861610246, "Transcript / Interview": 0.00011206008174459965, "Tutorial / How-To Guide": 0.02729693045486435, "User Reviews": 5.1774957664956345e-05, "NONE": 0.9478214586856896}, "structured_records": {"false": 0.996870230945345, "true": 0.00312976905465498}, "procedural_steps": {"false": 0.6651710130634931, "true": 0.33482898693650687}, "worked_solution": {"false": 0.9980653605163997, "true": 0.0019346394836003327}, "contextual_dialogue": {"false": 0.9999894095299798, "true": 1.0590470020150234e-05}, "content_quality": {"-2": 0.009359680312963997, "-1": 0.03741919620983982, "0": 0.25656557955896186, "1": 0.491170214044094, "2": 0.20548532987414034}, "noise_severity": {"0": 0.8967104894928072, "1": 0.08049962745344186, "2": 0.013528661866741596, "3": 0.006956520658878582, "4": 0.0023047005281305573}, "missing_content_severity": {"0": 0.9557347699136955, "1": 0.03454271062390135, "2": 0.007097119071593255, "3": 0.0017514652702761383, "4": 0.0008739351205336109}, "factual_density": {"0": 0.0038988889149597222, "1": 0.010923546739636409, "2": 0.12808383958007816, "3": 0.4311614506763591, "4": 0.42593227408896656}, "pretraining_utility": {"-2": 0.01169243583125061, "-1": 0.11231109499138367, "0": 0.3970655901620105, "1": 0.4208127148302343, "2": 0.05811816418512095}, "math_density": {"0": 0.9951604225257619, "1": 0.004302127648677873, "2": 0.0002566301274212764, "3": 0.00010690327079215604, "4": 0.00017391642734684634}, "code_density": {"0": 0.0002741785344213953, "1": 0.0005219175594135977, "2": 0.009083322163171325, "3": 0.10066261457738089, "4": 0.8894579671656129}, "reasoning_density": {"0": 0.47872575430288544, "1": 0.25559251704979136, "2": 0.15645438768795092, "3": 0.06114128981709616, "4": 0.04808605114227606}, "education_level": {"none": 0.0009994563679591548, "0": 0.0016042021025357393, "1": 0.004497139936753439, "2": 0.2979432533158962, "3": 0.577045670394752, "4": 0.11791027788210348}, "creative_writing_quality": {"not_applicable": 0.9992450274558822, "-2": 0.00010130514707142231, "-1": 0.00016551274932942903, "0": 0.0003436810031824492, "1": 0.00010742694968768437, "2": 3.704669484697604e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 5.5011282183179e-05, "Art & Design": 9.713657409277892e-05, "Law & Crime": 6.650753119019259e-05, "Education & Careers": 6.695977071200343e-05, "Entertainment & Media": 5.040982108798821e-05, "Fashion & Beauty": 3.092838765823545e-05, "Business, Economics & Finance": 9.785721450315926e-05, "Food & Dining": 3.851868803530932e-05, "Games & Gaming": 0.00011244755655200904, "Electronics & Hardware": 0.00022197356603904803, "Health, Healthcare & Wellness": 4.2197804661450206e-05, "History & Geography": 5.544242377179183e-05, "Home, Pets & Hobbies": 4.438749381422244e-05, "Industry & Production": 8.169351163218893e-05, "Language, Literature & Philosophy": 5.7274600930475175e-05, "Politics & Government": 3.953432568136915e-05, "Religion & Spirituality": 4.688419124019891e-05, "Science, Mathematics & Engineering": 0.0006079756114975736, "Relationships & Community": 2.879485042851109e-05, "Software Usage & Applications": 0.007422052517214575, "Programming & Software Engineering": 0.9901701644027939, "Sports & Fitness": 6.266980950911699e-05, "Vehicles & Transportation": 3.49202602433282e-05, "Travel & Tourism": 6.725971012978812e-05, "Other / Uncovered Subject": 0.00030076172940623526, "Unknown / Insufficient Content": 0.00010023636499128892}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0004063345557458309, "Art & Design": 0.000752782191885394, "Law & Crime": 0.0004411222567810886, "Education & Careers": 0.0003341193078316114, "Entertainment & Media": 0.0003504167649586303, "Fashion & Beauty": 0.00017775489196340612, "Business, Economics & Finance": 0.00046804806214845515, "Food & Dining": 0.00015839721358287093, "Games & Gaming": 0.00027464083339623737, "Electronics & Hardware": 0.0007665519103439847, "Health, Healthcare & Wellness": 0.00020472959418958226, "History & Geography": 0.00020176960864252885, "Home, Pets & Hobbies": 0.00016175146232070938, "Industry & Production": 0.00025894478377988316, "Language, Literature & Philosophy": 0.00015676846411407508, "Politics & Government": 0.00022373106091552573, "Religion & Spirituality": 0.00022895588661355092, "Science, Mathematics & Engineering": 0.0014464138531758424, "Relationships & Community": 0.00011394472416309081, "Software Usage & Applications": 0.055096526704268026, "Programming & Software Engineering": 0.021361826538889028, "Sports & Fitness": 0.0001844854788285006, "Vehicles & Transportation": 0.00010470579775442527, "Travel & Tourism": 0.00027167062339025154, "Other / Uncovered Subject": 0.0005935742159543422, "NONE": 0.915260033214363}}, "probabilities": {"primary": {"Academic Writing": 9.054527687072448e-05, "Content Listing": 6.465917626525145e-05, "Creative Writing": 6.735157666763804e-05, "Customer Support Page": 8.027882283069767e-05, "Q&A Forum": 4.459018061536236e-05, "Discussion Thread": 3.233279474744045e-05, "Comment Section": 5.166039146915987e-05, "Missing Content": 6.991333917178914e-05, "Knowledge Article": 0.0002553536515992118, "Legal Notices": 8.806491896822488e-05, "News Article": 2.3700113669014444e-05, "Organizational Announcement": 4.779988221804656e-05, "Nonfiction Writing": 4.199293243076678e-05, "Organizational About Page": 5.1974311220954736e-05, "Personal About Page": 3.6872180296698465e-05, "Personal Blog": 3.0636359195346816e-05, "Product Page": 3.200777386869401e-05, "Spam / Ads": 3.6939017333780156e-05, "Structured Data": 0.00036394730116284145, "Technical Writing": 0.9808671962052671, "Transcript / Interview": 6.889306870833226e-05, "Tutorial / How-To Guide": 0.013170102878068787, "User Reviews": 2.8876737493220785e-05, "Other / Unknown": 0.004354311109860973}, "secondary": {"Academic Writing": 0.0003593062896177296, "Content Listing": 0.00022894658988118722, "Creative Writing": 0.0002732553686282962, "Customer Support Page": 0.0005151111779309703, "Q&A Forum": 0.00016821598985603865, "Discussion Thread": 0.00011302290072691496, "Comment Section": 0.00046929325471312713, "Missing Content": 0.0004361035888640976, "Knowledge Article": 0.0020731322842387433, "Legal Notices": 0.00029320914715280454, "News Article": 0.0001606437530119207, "Organizational Announcement": 0.0002045148241386595, "Nonfiction Writing": 0.00019129714407037184, "Organizational About Page": 0.00020253215810378105, "Personal About Page": 0.0001585825088353065, "Personal Blog": 0.00016863328625212477, "Product Page": 0.0001194695351552296, "Spam / Ads": 0.00018851392566719314, "Structured Data": 0.0008935554148897635, "Technical Writing": 0.03787134832857009, "Transcript / Interview": 0.0002373565361775515, "Tutorial / How-To Guide": 0.035888097932833374, "User Reviews": 0.00010707785924955948, "NONE": 0.9186787802014352}, "tertiary": {"Academic Writing": 0.0001826443851821608, "Content Listing": 0.0001223882135145623, "Creative Writing": 0.0001499141380997935, "Customer Support Page": 0.0005384506426073046, "Q&A Forum": 7.264960057734011e-05, "Discussion Thread": 5.48213568577813e-05, "Comment Section": 0.0007119264392406541, "Missing Content": 0.00035297388215152476, "Knowledge Article": 0.002107518468131001, "Legal Notices": 0.00029565049985021683, "News Article": 8.183699387944949e-05, "Organizational Announcement": 0.00011544735276325663, "Nonfiction Writing": 0.0001237703784876081, "Organizational About Page": 0.00011988390809286824, "Personal About Page": 7.271801613668119e-05, "Personal Blog": 8.605979842969997e-05, "Product Page": 6.584914924946618e-05, "Spam / Ads": 0.0001073082416263921, "Structured Data": 0.0007293724935485287, "Technical Writing": 0.018626591861610246, "Transcript / Interview": 0.00011206008174459965, "Tutorial / How-To Guide": 0.02729693045486435, "User Reviews": 5.1774957664956345e-05, "NONE": 0.9478214586856896}, "structured_records": {"false": 0.996870230945345, "true": 0.00312976905465498}, "procedural_steps": {"false": 0.6651710130634931, "true": 0.33482898693650687}, "worked_solution": {"false": 0.9980653605163997, "true": 0.0019346394836003327}, "contextual_dialogue": {"false": 0.9999894095299798, "true": 1.0590470020150234e-05}, "content_quality": {"-2": 0.009359680312963997, "-1": 0.03741919620983982, "0": 0.25656557955896186, "1": 0.491170214044094, "2": 0.20548532987414034}, "noise_severity": {"0": 0.8967104894928074, "1": 0.08049962745344187, "2": 0.0135286618667416, "3": 0.0069565206588785835, "4": 0.0023047005281305578}, "missing_content_severity": {"0": 0.9557347699136957, "1": 0.03454271062390136, "2": 0.0070971190715932555, "3": 0.0017514652702761385, "4": 0.000873935120533611}, "factual_density": {"0": 0.0038988889149597227, "1": 0.01092354673963641, "2": 0.12808383958007818, "3": 0.43116145067635914, "4": 0.4259322740889666}, "pretraining_utility": {"-2": 0.01169243583125061, "-1": 0.11231109499138367, "0": 0.3970655901620105, "1": 0.4208127148302343, "2": 0.05811816418512095}, "math_density": {"0": 0.9951604225257619, "1": 0.004302127648677873, "2": 0.0002566301274212764, "3": 0.00010690327079215604, "4": 0.00017391642734684634}, "code_density": {"0": 0.0002741785344213953, "1": 0.0005219175594135977, "2": 0.009083322163171325, "3": 0.10066261457738089, "4": 0.8894579671656129}, "reasoning_density": {"0": 0.4787257543028855, "1": 0.2555925170497914, "2": 0.15645438768795095, "3": 0.06114128981709617, "4": 0.048086051142276064}, "education_level": {"none": 0.0009994563679591548, "0": 0.0016042021025357393, "1": 0.004497139936753439, "2": 0.2979432533158962, "3": 0.577045670394752, "4": 0.11791027788210348}, "creative_writing_quality": {"not_applicable": 0.999245027455882, "-2": 0.00010130514707142228, "-1": 0.000165512749329429, "0": 0.00034368100318244913, "1": 0.00010742694968768434, "2": 3.7046694846976036e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 5.5011282183179e-05, "Art & Design": 9.713657409277892e-05, "Law & Crime": 6.650753119019259e-05, "Education & Careers": 6.695977071200343e-05, "Entertainment & Media": 5.040982108798821e-05, "Fashion & Beauty": 3.092838765823545e-05, "Business, Economics & Finance": 9.785721450315926e-05, "Food & Dining": 3.851868803530932e-05, "Games & Gaming": 0.00011244755655200904, "Electronics & Hardware": 0.00022197356603904803, "Health, Healthcare & Wellness": 4.2197804661450206e-05, "History & Geography": 5.544242377179183e-05, "Home, Pets & Hobbies": 4.438749381422244e-05, "Industry & Production": 8.169351163218893e-05, "Language, Literature & Philosophy": 5.7274600930475175e-05, "Politics & Government": 3.953432568136915e-05, "Religion & Spirituality": 4.688419124019891e-05, "Science, Mathematics & Engineering": 0.0006079756114975736, "Relationships & Community": 2.879485042851109e-05, "Software Usage & Applications": 0.007422052517214575, "Programming & Software Engineering": 0.9901701644027939, "Sports & Fitness": 6.266980950911699e-05, "Vehicles & Transportation": 3.49202602433282e-05, "Travel & Tourism": 6.725971012978812e-05, "Other / Uncovered Subject": 0.00030076172940623526, "Unknown / Insufficient Content": 0.00010023636499128892}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.000406334555745831, "Art & Design": 0.0007527821918853941, "Law & Crime": 0.00044112225678108864, "Education & Careers": 0.00033411930783161146, "Entertainment & Media": 0.00035041676495863033, "Fashion & Beauty": 0.00017775489196340615, "Business, Economics & Finance": 0.0004680480621484552, "Food & Dining": 0.00015839721358287096, "Games & Gaming": 0.0002746408333962374, "Electronics & Hardware": 0.0007665519103439848, "Health, Healthcare & Wellness": 0.0002047295941895823, "History & Geography": 0.00020176960864252887, "Home, Pets & Hobbies": 0.0001617514623207094, "Industry & Production": 0.0002589447837798832, "Language, Literature & Philosophy": 0.0001567684641140751, "Politics & Government": 0.00022373106091552576, "Religion & Spirituality": 0.00022895588661355095, "Science, Mathematics & Engineering": 0.0014464138531758426, "Relationships & Community": 0.00011394472416309083, "Software Usage & Applications": 0.05509652670426803, "Programming & Software Engineering": 0.02136182653888903, "Sports & Fitness": 0.00018448547882850063, "Vehicles & Transportation": 0.00010470579775442528, "Travel & Tourism": 0.0002716706233902516, "Other / Uncovered Subject": 0.0005935742159543423, "NONE": 0.9152600332143631}}, "probability_diagnostics": {"primary": {"raw_sum": 0.9999999999999997, "mass_delta": -3.3306690738754696e-16, "missing_mass": 3.3306690738754696e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "tertiary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "structured_records": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "procedural_steps": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "worked_solution": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "contextual_dialogue": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "content_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "noise_severity": {"raw_sum": 0.9999999999999998, "mass_delta": -2.220446049250313e-16, "missing_mass": 2.220446049250313e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "missing_content_severity": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "factual_density": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "pretraining_utility": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "math_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "code_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "reasoning_density": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "education_level": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "creative_writing_quality": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "primary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary_topic": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}}, "usage": {"input_tokens": 11072, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 11072, "cached_share": null, "cache_discount_reported": null, "reported_cost_usd": null}, "response_metadata": {"model": "decision-models/baseten-mammoth-27b-latest"}, "scored_at_utc": "2026-10-25T18:31:06.354601+00:00", "scoring_key_slot": "primary", "dataset_uid": "3036e6b8-7ce3-4255-baf1-c710d754937d", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "49eaf631a53ce371a8826a89e8cfae24bb93ff3246fc9416b64e47109b1a38e4", "source_metadata": {"uuid": "3036e6b8-7ce3-4255-baf1-c710d754937d", "repo_name": "radanalyticsio/oshinko-webui", "relative_path": "test/e2e.sh", "category": "TEST", "algo_rel_score": 0.9756976962089539, "quality_score": 4.434029579162598, "source_meta": {"github_metadata": {"branch": "master", "commit_count": 241, "repo_created_at": "2016-04-20T20:24:42.000Z", "is_fork": false, "is_org_owned": true, "forked_from": null, "stars": 28, "forks": 17, "issues": 6, "pull_requests": 7}, "file_meta": {"content_id": "cea9841b0b976e8c808149991a704e6b5f14d494", "size_bytes": 9312, "file_timestamp": 1558701775, "language": "shell", "is_vendor": false, "license_type": "permissive", "detected_licenses": ["Apache-2.0"]}, "commit_id": "cd9d5b9abcb01fd6fbd9909d12d9c8b6e5fd2402"}}, "parsed_source_meta": {"github_metadata": {"branch": "master", "commit_count": 241, "repo_created_at": "2016-04-20T20:24:42.000Z", "is_fork": false, "is_org_owned": true, "forked_from": null, "stars": 28, "forks": 17, "issues": 6, "pull_requests": 7}, "file_meta": {"content_id": "cea9841b0b976e8c808149991a704e6b5f14d494", "size_bytes": 9312, "file_timestamp": 1558701775, "language": "shell", "is_vendor": false, "license_type": "permissive", "detected_licenses": ["Apache-2.0"]}, "commit_id": "cd9d5b9abcb01fd6fbd9909d12d9c8b6e5fd2402", "url": "https://github.com/radanalyticsio/oshinko-webui/blob/cd9d5b9abcb01fd6fbd9909d12d9c8b6e5fd2402/test/e2e.sh"}, "gpt4o_tokens": 2508, "dataset_split": "shell", "probability_weighted_scores": {"content_quality": 0.8460023169566069, "noise_severity": 0.13764531527608306, "missing_content_severity": 0.05748708506005073, "factual_density": 3.2643046742847366, "pretraining_utility": 0.4013530765465913, "math_density": 0.005831763425284279, "code_density": 3.8785082742803505, "reasoning_density": 0.9442693664460861, "education_level": 2.805966210078157, "creative_writing_quality": -0.24716488770945474}, "score_applicability": {"education_level": 0.9990005436320408, "creative_writing_quality": 0.0007549725441179608}} {"source_group": "shell", "source": "openbmb/UltraData-Stack-v3-L2/shell", "domain": "github.com", "language": "shell", "url": "https://github.com/Cloudbox/cloudbox.github.io-backup/blob/c1816aa4cbe5dbb35b7bd8bb514b56736759c402/scripts/restore.sh", "id": "shell-0-82d86aa546a16d34891864be47024a1a", "text": "#!/usr/bin/env bash\n######################################################################################\n# Title: Cloudbox Restore Service: Restore Script #\n# Author(s): l3uddz, desimaniac #\n# URL: https://github.com/Cloudbox/Cloudbox #\n# Description: Restores encrypted config files from Cloudbox Restore Service. #\n# -- #\n# Part of the Cloudbox project: https://cloudbox.works #\n######################################################################################\n# GNU General Public License v3.0 #\n######################################################################################\n# Usage: #\n# ====== #\n# Simple: #\n# curl -s https://cloudbox.works/scripts/restore.sh | bash -s 'USER' 'PASS' #\n# wget -qO- https://cloudbox.works/scripts/restore.sh | bash -s 'USER' 'PASS' #\n# #\n# Custom Cloudbox Path: #\n# curl -s https://cloudbox.works/scripts/restore.sh | bash -s 'USER' 'PASS' 'PATH' #\n# wget -qO- https://cloudbox.works/scripts/restore.sh | bash -s 'USER' 'PASS' 'PATH' #\n######################################################################################\n\n# vars\nfiles=( \"ansible_vault\" \"ansible.cfg\" \"accounts.yml\" \"settings.yml\" \"adv_settings.yml\" \"backup_config.yml\" \"rclone.conf\")\nrestore=\"restore.cloudbox.works\"\nfolder=\"$HOME/.restore_service_tmp\"\ngreen=\"\\e[1;32m\"\nred=\"\\e[1;31m\"\nnc=\"\\e[0m\"\ndone=\"[ ${green}DONE${nc} ]\"\nfail=\"[ ${red}FAIL${nc} ]\"\nignore=\"[ ${red}IGNORE${nc} ]\"\n\n# Print banner\n\necho -e \"\n$green┌─────────────────────────────────────────────────────────────────────┐\n$green│ Title: Cloudbox Restore Service: Restore Script │\n\u001b$green│ Author(s): l3uddz, desimaniac │\n\u001b$green│ URL: https://github.com/cloudbox/cloudbox │\n\u001b$green│ Description: Restores encrypted config files from the │\n\u001b$green│ Cloudbox Restore Service. │\n\u001b$green├─────────────────────────────────────────────────────────────────────┤\n\u001b$green│ Part of the Cloudbox project: https://cloudbox.works │\n\u001b$green├─────────────────────────────────────────────────────────────────────┤\n\u001b$green│ GNU General Public License v3.0 │\n\u001b$green└─────────────────────────────────────────────────────────────────────┘\n$nc\"\n\n## Functions\n\n# validate url\n# https://gist.github.com/hrwgc/7455343\nfunction validate_url(){\n if [[ `wget -S --spider $1 2>&1 | grep 'HTTP/1.1 200 OK'` ]]; then\n return 0\n else\n return 1\n fi\n}\n\n## Main\n\n# inputs\nUSER=$1\nPASS=$2\nDIR=${3:-$HOME/cloudbox}\n\n# validate inputs\nif [ -z \"$USER\" ] || [ -z \"$PASS\" ]\nthen\n echo \"You must provide the USER & PASS as arguments\"\n exit 1\nfi\n\n# validate folders exist\nTMP_FOLDER_RESULT=$(mkdir -p $folder)\nif [ ! -z \"$TMP_FOLDER_RESULT\" ]\nthen\n echo \"Failed to ensure $folder was created...\"\n exit 1\nelse\n rm -rf $folder/*\nfi\n\n\nRESTORE_FOLDER_RESULT=$(mkdir -p $DIR)\nif [ ! -z \"$RESTORE_FOLDER_RESULT\" ]\nthen\n echo \"Failed to ensure $DIR was created...\"\n exit 1\nfi\n\n# SHA1 username\nUSER_HASH=$(echo -n \"$USER\" | openssl dgst -sha1 | sed 's/^.*= //')\necho \"User Hash: $USER_HASH\"\necho ''\n\n# Fetch files\necho \"Fetching files from $restore...\"\necho ''\nfor file in \"${files[@]}\"\ndo\n :\n # wget file\n if [ \"$file\" == \"ansible_vault\" ]; then\n printf '%-20.20s' .\"$file\"\n else\n printf '%-20.20s' \"$file\"\n fi\n URL=http://$restore/load/$USER_HASH/$file\n if validate_url $URL; then\n wget -qO $folder/$file.enc $URL\n # is the file encrypted?\n file_header=$(head -c 10 $folder/$file.enc | tr -d '\\0')\n if [[ $file_header == Salted* ]]; then\n echo -e $done\n else\n echo -e $fail\n exit 1\n fi\n else\n echo -e $ignore\n fi\ndone\n\necho ''\n\n# Decrypt files\necho 'Decrypting fetched files...'\necho ''\nfor file in $folder/*\ndo\n :\n filename=\"$(basename -- $file .enc)\"\n # wget file\n if [ \"$filename\" == \"ansible_vault\" ]; then\n printf '%-20.20s' .\"$filename\"\n else\n printf '%-20.20s' \"$filename\"\n fi\n DECRYPT_RESULT=$(openssl enc -aes-256-cbc -d -salt -md md5 -in $folder/${filename}.enc -out $folder/$filename -k \"$PASS\" >/dev/null 2>&1)\n # was the file decryption successful?\n if [ -z \"$DECRYPT_RESULT\" ]; then\n echo -e $done\n rm $folder/${filename}.enc\n elif [ \"$filename\" == \"ansible_vault\" ]; then\n echo -e $ignore\n else\n echo -e $fail\n exit 1\n fi\ndone\n\necho ''\n\n# Move decrypted files\necho 'Moving decrypted files...'\necho ''\nfor file in $folder/*\ndo\n :\n # move file\n filename=\"$(basename -- $file)\"\n if [ \"$filename\" == \"ansible_vault\" ]; then\n printf '%-20.20s' .\"$filename\"\n if [ -f \"$folder/$filename\" ]; then\n mv $folder/$filename $HOME/.$filename 2>&1\n echo -e $done\n else\n echo -e $ignore\n fi\n else\n printf '%-20.20s' \"$filename\"\n MOVE_RESULT=$(mv $folder/$filename $DIR/$filename 2>&1)\n # was the decrypted file moved successfully?\n if [ -z \"$MOVE_RESULT\" ]; then\n echo -e $done\n else\n echo -e $fail\n exit 1\n fi\n fi\ndone\n\necho ''\n\n# finish\nexit 0\n", "text_preview": "#!/usr/bin/env bash ###################################################################################### # Title: Cloudbox Restore Service: Restore Script # # Author(s): l3uddz, desimaniac # # URL: https://github.com/Cloudbox/Cloudbox # #", "input_sha256": "0c618ea5a628d7f2a2e2866173d9fd4d94cce2ecf9369b9333bf7c34e712b8c4", "text_sha256": "82d86aa546a16d34891864be47024a1a972e74ed8312945e6a6aa2ea4e603956", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 20030, "input_policy": "text-and-optional-url-v1", "label_policy_version": 12, "requested_model": "decision-models/baseten-mammoth-27b-latest", "backend": "baseten", "endpoint": "https://inference.baseten.co/v1/systemone", "status": "needs_review", "training_eligible": false, "label": null, "candidate_label": {"primary": {"main_format": "Technical Writing", "sub_format": null}, "secondary": {"main_format": "Legal Notices", "sub_format": null}, "tertiary": null, "content_structure": []}, "topic": {"primary": {"main_topic": "Programming & Software Engineering", "sub_topic": null}, "secondary": null}, "scores": {"content_quality": 1, "noise_severity": 0, "missing_content_severity": 0, "factual_density": 3, "pretraining_utility": 0, "math_density": 0, "code_density": 4, "reasoning_density": 0, "education_level": 2, "creative_writing_quality": null}, "score_expectations": {"content_quality": 0.6612092747938579, "noise_severity": 0.5609207248061693, "missing_content_severity": 0.004836926470139062, "factual_density": 2.946344211143432, "pretraining_utility": 0.26661203682021356, "math_density": 0.0531424417936282, "code_density": 3.575578088394095, "reasoning_density": 0.5962720931971739, "education_level": 2.310056121289142, "creative_writing_quality": -0.2854903081092934}, "api_choices": {"primary": "Technical Writing", "secondary": "Legal Notices", "tertiary": "NONE", "education_level": "2", "creative_writing_quality": "not_applicable", "primary_topic": "Programming & Software Engineering", "secondary_topic": "NONE"}, "review_reasons": ["secondary probability 0.4217 below 0.70", "secondary vs NONE margin 0.0471 below 0.10"], "format_slot_diagnostics": {"comparable": true, "secondary_tertiary_identical": false, "secondary_tertiary_max_abs_gap": 0.06138580628958468, "secondary_choice": "Legal Notices", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.9746981533096479, "secondary": 0.39659300158238026, "tertiary": 0.4115005108419196, "structured_records": 0.019214479498845395, "procedural_steps": 0.34817640462546423, "worked_solution": 0.002356696845728228, "contextual_dialogue": 7.606977485867422e-06, "content_quality": 0.46076989900870213, "noise_severity": 0.5325660626615256, "missing_content_severity": 0.9959692279415507, "factual_density": 0.4449468915407855, "pretraining_utility": 0.4475492334011437, "math_density": 0.9557146318386431, "code_density": 0.6463150736617456, "reasoning_density": 0.503106589002355, "education_level": 0.5992419492003126, "creative_writing_quality": 0.9983443962426783, "primary_topic": 0.953865889566518, "secondary_topic": 0.7649444719634351}, "probability_margin": {"primary": 0.960207119620601, "secondary": 0.04709944324919291, "tertiary": 0.028397569862408212, "education_level": 0.4098172453186463, "creative_writing_quality": 0.9979566439565535, "primary_topic": 0.9153849446596298, "secondary_topic": 0.6607753802163256}, "raw_probabilities": {"primary": {"Academic Writing": 9.743964732032687e-05, "Content Listing": 0.0001072611248692945, "Creative Writing": 9.542249414745808e-05, "Customer Support Page": 0.0012856840470692149, "Q&A Forum": 6.380307018269476e-05, "Discussion Thread": 5.089099968444876e-05, "Comment Section": 9.534790169225384e-05, "Missing Content": 0.00012026706699377417, "Knowledge Article": 0.00022771652740431102, "Legal Notices": 0.0009762535331415951, "News Article": 3.131981847944746e-05, "Organizational Announcement": 0.00010568866824343202, "Nonfiction Writing": 6.66345714240153e-05, "Organizational About Page": 9.534794715768717e-05, "Personal About Page": 6.660029626916966e-05, "Personal Blog": 5.0100168330327085e-05, "Product Page": 5.890785711865359e-05, "Spam / Ads": 0.0001589496234080646, "Structured Data": 0.00022357419417753601, "Technical Writing": 0.975752396921746, "Transcript / Interview": 9.827386079363331e-05, "Tutorial / How-To Guide": 0.015545277301144954, "User Reviews": 4.1989020863898703e-05, "Other / Unknown": 0.004584853338337915}, "secondary": {"Academic Writing": 0.0010381507300484913, "Content Listing": 0.0011161810496649945, "Creative Writing": 0.0007424304514588163, "Customer Support Page": 0.005437871510014126, "Q&A Forum": 0.0004896245706145709, "Discussion Thread": 0.0004079697020875578, "Comment Section": 0.0008708044149687228, "Missing Content": 0.0008622937452920052, "Knowledge Article": 0.0017294008189447795, "Legal Notices": 0.4217349598497811, "News Article": 0.0005901678393856411, "Organizational Announcement": 0.0009039609601421744, "Nonfiction Writing": 0.0006075337499255622, "Organizational About Page": 0.0011374573268833094, "Personal About Page": 0.0006189558479913217, "Personal Blog": 0.00048011533883764537, "Product Page": 0.000551150558362836, "Spam / Ads": 0.0010585956265998448, "Structured Data": 0.0010489676314278129, "Technical Writing": 0.0488750799436486, "Transcript / Interview": 0.0009373992114723222, "Tutorial / How-To Guide": 0.13372367279902733, "User Reviews": 0.0004017397228322492, "NONE": 0.3746355166005882}, "tertiary": {"Academic Writing": 0.0008777399800352901, "Content Listing": 0.0010515004824641714, "Creative Writing": 0.0008578664096021712, "Customer Support Page": 0.0028205894545220347, "Q&A Forum": 0.0004691999844825067, "Discussion Thread": 0.0003605017899840745, "Comment Section": 0.0007268844341814836, "Missing Content": 0.0008221697958475729, "Knowledge Article": 0.0016889645217315786, "Legal Notices": 0.40762375302776477, "News Article": 0.0006461536744257432, "Organizational Announcement": 0.0009420157157773019, "Nonfiction Writing": 0.0006158618819578142, "Organizational About Page": 0.0018080328834642631, "Personal About Page": 0.0007305621795758091, "Personal Blog": 0.0004703464431631605, "Product Page": 0.0005754797720872995, "Spam / Ads": 0.0013527071497684063, "Structured Data": 0.0009414817825036366, "Technical Writing": 0.016631110618655954, "Transcript / Interview": 0.0008668780192043641, "Tutorial / How-To Guide": 0.1207132623004624, "User Reviews": 0.00038561480816533245, "NONE": 0.436021322890173}, "structured_records": {"false": 0.9807855205011546, "true": 0.019214479498845395}, "procedural_steps": {"false": 0.6518235953745357, "true": 0.34817640462546423}, "worked_solution": {"false": 0.9976433031542717, "true": 0.002356696845728228}, "contextual_dialogue": {"false": 0.9999923930225141, "true": 7.606977485867422e-06}, "content_quality": {"-2": 0.01779541522782417, "-1": 0.07998922977693046, "0": 0.27956871796051624, "1": 0.4685039390430214, "2": 0.15414269799170768}, "noise_severity": {"0": 0.5688107145215946, "1": 0.32295297443474014, "2": 0.09129448973232457, "3": 0.012388514338583036, "4": 0.004553306972757716}, "missing_content_severity": {"0": 0.9972297080332964, "1": 0.0014111455801786399, "2": 0.0008093386618572042, "3": 0.0003921273324252467, "4": 0.00015768039224256844}, "factual_density": {"0": 0.008030297821596012, "1": 0.058685873860603116, "2": 0.21839711831781852, "3": 0.4086827393527377, "4": 0.3062039706472446}, "pretraining_utility": {"-2": 0.022637260176871326, "-1": 0.1528899211954643, "0": 0.4135980086253892, "1": 0.35697314163512983, "2": 0.05390166836714534}, "math_density": {"0": 0.9568616435356975, "1": 0.037512661448629324, "2": 0.003000112780620657, "3": 0.000872774156452345, "4": 0.0017528080786001305}, "code_density": {"0": 0.0005510590217282119, "1": 0.0012991797544440597, "2": 0.048516673150684524, "3": 0.32128678995429116, "4": 0.6283462981188521}, "reasoning_density": {"0": 0.6770581838134228, "1": 0.1213749104514334, "2": 0.14365884486812971, "3": 0.04405275045857565, "4": 0.013855310408438518}, "education_level": {"none": 0.0013824504955090367, "0": 0.002590784957138966, "1": 0.029652282482553558, "2": 0.6660349576669271, "3": 0.25621771234828083, "4": 0.04412181204959037}, "creative_writing_quality": {"not_applicable": 0.998620330202232, "-2": 0.00012513557937544886, "-1": 0.0003929511762639131, "0": 0.0006636862456784283, "1": 0.00014645361353981151, "2": 5.1443182910542644e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 0.00010695387040184679, "Art & Design": 0.0001620887193717972, "Law & Crime": 0.0005392006203665827, "Education & Careers": 0.00010564372381964383, "Entertainment & Media": 8.927122449257219e-05, "Fashion & Beauty": 8.149722514250472e-05, "Business, Economics & Finance": 0.00017148306754184614, "Food & Dining": 7.794071381749015e-05, "Games & Gaming": 0.00012577679981985192, "Electronics & Hardware": 0.0004305405672478958, "Health, Healthcare & Wellness": 7.778451726438889e-05, "History & Geography": 0.00012509243391507042, "Home, Pets & Hobbies": 0.0001559156978547113, "Industry & Production": 0.00010565853506461087, "Language, Literature & Philosophy": 8.066709938186488e-05, "Politics & Government": 7.790236894354591e-05, "Religion & Spirituality": 7.838154375285735e-05, "Science, Mathematics & Engineering": 0.0004108070489338747, "Relationships & Community": 6.511230939429291e-05, "Software Usage & Applications": 0.040255333769714394, "Programming & Software Engineering": 0.9556402784293442, "Sports & Fitness": 0.00011585466438121155, "Vehicles & Transportation": 5.2553067767037705e-05, "Travel & Tourism": 9.408454142157065e-05, "Other / Uncovered Subject": 0.000633515469655111, "Unknown / Insufficient Content": 0.0001406619711890595}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0007148575435718158, "Art & Design": 0.0005743707587388621, "Law & Crime": 0.03985237493717241, "Education & Careers": 0.0004896806917542295, "Entertainment & Media": 0.0006102296339280483, "Fashion & Beauty": 0.000312399410934579, "Business, Economics & Finance": 0.0008587105801986239, "Food & Dining": 0.00028912867591883245, "Games & Gaming": 0.00040843497681124696, "Electronics & Hardware": 0.0007349369115860854, "Health, Healthcare & Wellness": 0.0004193528913487432, "History & Geography": 0.00039483830798835254, "Home, Pets & Hobbies": 0.0003775292009902128, "Industry & Production": 0.00029503796265797764, "Language, Literature & Philosophy": 0.00023998028514821872, "Politics & Government": 0.00046968834476407255, "Religion & Spirituality": 0.0004530847256443722, "Science, Mathematics & Engineering": 0.0020985259338591805, "Relationships & Community": 0.00024047112548270804, "Software Usage & Applications": 0.1132096889792849, "Programming & Software Engineering": 0.06095509029898875, "Sports & Fitness": 0.00031853071021352815, "Vehicles & Transportation": 0.00016185235223696064, "Travel & Tourism": 0.0004160964055575387, "Other / Uncovered Subject": 0.0011200391596091776, "NONE": 0.7739850691956106}}, "probabilities": {"primary": {"Academic Writing": 9.743964732032687e-05, "Content Listing": 0.0001072611248692945, "Creative Writing": 9.542249414745808e-05, "Customer Support Page": 0.0012856840470692149, "Q&A Forum": 6.380307018269476e-05, "Discussion Thread": 5.089099968444876e-05, "Comment Section": 9.534790169225384e-05, "Missing Content": 0.00012026706699377417, "Knowledge Article": 0.00022771652740431102, "Legal Notices": 0.0009762535331415951, "News Article": 3.131981847944746e-05, "Organizational Announcement": 0.00010568866824343202, "Nonfiction Writing": 6.66345714240153e-05, "Organizational About Page": 9.534794715768717e-05, "Personal About Page": 6.660029626916966e-05, "Personal Blog": 5.0100168330327085e-05, "Product Page": 5.890785711865359e-05, "Spam / Ads": 0.0001589496234080646, "Structured Data": 0.00022357419417753601, "Technical Writing": 0.975752396921746, "Transcript / Interview": 9.827386079363331e-05, "Tutorial / How-To Guide": 0.015545277301144954, "User Reviews": 4.1989020863898703e-05, "Other / Unknown": 0.004584853338337915}, "secondary": {"Academic Writing": 0.0010381507300484913, "Content Listing": 0.0011161810496649945, "Creative Writing": 0.0007424304514588163, "Customer Support Page": 0.005437871510014126, "Q&A Forum": 0.0004896245706145709, "Discussion Thread": 0.0004079697020875578, "Comment Section": 0.0008708044149687228, "Missing Content": 0.0008622937452920052, "Knowledge Article": 0.0017294008189447795, "Legal Notices": 0.4217349598497811, "News Article": 0.0005901678393856411, "Organizational Announcement": 0.0009039609601421744, "Nonfiction Writing": 0.0006075337499255622, "Organizational About Page": 0.0011374573268833094, "Personal About Page": 0.0006189558479913217, "Personal Blog": 0.00048011533883764537, "Product Page": 0.000551150558362836, "Spam / Ads": 0.0010585956265998448, "Structured Data": 0.0010489676314278129, "Technical Writing": 0.0488750799436486, "Transcript / Interview": 0.0009373992114723222, "Tutorial / How-To Guide": 0.13372367279902733, "User Reviews": 0.0004017397228322492, "NONE": 0.3746355166005882}, "tertiary": {"Academic Writing": 0.0008777399800352899, "Content Listing": 0.0010515004824641712, "Creative Writing": 0.000857866409602171, "Customer Support Page": 0.0028205894545220342, "Q&A Forum": 0.0004691999844825066, "Discussion Thread": 0.00036050178998407446, "Comment Section": 0.0007268844341814835, "Missing Content": 0.0008221697958475727, "Knowledge Article": 0.0016889645217315781, "Legal Notices": 0.40762375302776466, "News Article": 0.0006461536744257431, "Organizational Announcement": 0.0009420157157773017, "Nonfiction Writing": 0.0006158618819578141, "Organizational About Page": 0.0018080328834642627, "Personal About Page": 0.000730562179575809, "Personal Blog": 0.00047034644316316037, "Product Page": 0.0005754797720872994, "Spam / Ads": 0.001352707149768406, "Structured Data": 0.0009414817825036364, "Technical Writing": 0.01663111061865595, "Transcript / Interview": 0.0008668780192043639, "Tutorial / How-To Guide": 0.12071326230046238, "User Reviews": 0.00038561480816533234, "NONE": 0.43602132289017287}, "structured_records": {"false": 0.9807855205011546, "true": 0.019214479498845395}, "procedural_steps": {"false": 0.6518235953745357, "true": 0.34817640462546423}, "worked_solution": {"false": 0.9976433031542717, "true": 0.002356696845728228}, "contextual_dialogue": {"false": 0.9999923930225141, "true": 7.606977485867422e-06}, "content_quality": {"-2": 0.01779541522782417, "-1": 0.07998922977693046, "0": 0.27956871796051624, "1": 0.4685039390430214, "2": 0.15414269799170768}, "noise_severity": {"0": 0.5688107145215946, "1": 0.32295297443474014, "2": 0.09129448973232457, "3": 0.012388514338583036, "4": 0.004553306972757716}, "missing_content_severity": {"0": 0.9972297080332964, "1": 0.0014111455801786399, "2": 0.0008093386618572042, "3": 0.0003921273324252467, "4": 0.00015768039224256844}, "factual_density": {"0": 0.008030297821596014, "1": 0.05868587386060312, "2": 0.21839711831781855, "3": 0.40868273935273774, "4": 0.30620397064724464}, "pretraining_utility": {"-2": 0.022637260176871326, "-1": 0.1528899211954643, "0": 0.4135980086253892, "1": 0.35697314163512983, "2": 0.05390166836714534}, "math_density": {"0": 0.9568616435356976, "1": 0.03751266144862933, "2": 0.0030001127806206576, "3": 0.0008727741564523451, "4": 0.0017528080786001308}, "code_density": {"0": 0.0005510590217282119, "1": 0.0012991797544440597, "2": 0.048516673150684524, "3": 0.32128678995429116, "4": 0.6283462981188521}, "reasoning_density": {"0": 0.6770581838134228, "1": 0.1213749104514334, "2": 0.14365884486812971, "3": 0.04405275045857565, "4": 0.013855310408438518}, "education_level": {"none": 0.001382450495509037, "0": 0.0025907849571389662, "1": 0.02965228248255356, "2": 0.6660349576669272, "3": 0.2562177123482809, "4": 0.04412181204959038}, "creative_writing_quality": {"not_applicable": 0.998620330202232, "-2": 0.00012513557937544886, "-1": 0.0003929511762639131, "0": 0.0006636862456784283, "1": 0.00014645361353981151, "2": 5.1443182910542644e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 0.00010695387040184682, "Art & Design": 0.00016208871937179722, "Law & Crime": 0.0005392006203665829, "Education & Careers": 0.00010564372381964386, "Entertainment & Media": 8.92712244925722e-05, "Fashion & Beauty": 8.149722514250473e-05, "Business, Economics & Finance": 0.00017148306754184616, "Food & Dining": 7.794071381749016e-05, "Games & Gaming": 0.00012577679981985195, "Electronics & Hardware": 0.00043054056724789593, "Health, Healthcare & Wellness": 7.77845172643889e-05, "History & Geography": 0.00012509243391507045, "Home, Pets & Hobbies": 0.00015591569785471131, "Industry & Production": 0.0001056585350646109, "Language, Literature & Philosophy": 8.06670993818649e-05, "Politics & Government": 7.790236894354592e-05, "Religion & Spirituality": 7.838154375285736e-05, "Science, Mathematics & Engineering": 0.0004108070489338748, "Relationships & Community": 6.511230939429292e-05, "Software Usage & Applications": 0.0402553337697144, "Programming & Software Engineering": 0.9556402784293444, "Sports & Fitness": 0.00011585466438121158, "Vehicles & Transportation": 5.255306776703772e-05, "Travel & Tourism": 9.408454142157068e-05, "Other / Uncovered Subject": 0.0006335154696551111, "Unknown / Insufficient Content": 0.00014066197118905953}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0007148575435718158, "Art & Design": 0.0005743707587388621, "Law & Crime": 0.03985237493717241, "Education & Careers": 0.0004896806917542295, "Entertainment & Media": 0.0006102296339280483, "Fashion & Beauty": 0.000312399410934579, "Business, Economics & Finance": 0.0008587105801986239, "Food & Dining": 0.00028912867591883245, "Games & Gaming": 0.00040843497681124696, "Electronics & Hardware": 0.0007349369115860854, "Health, Healthcare & Wellness": 0.0004193528913487432, "History & Geography": 0.00039483830798835254, "Home, Pets & Hobbies": 0.0003775292009902128, "Industry & Production": 0.00029503796265797764, "Language, Literature & Philosophy": 0.00023998028514821872, "Politics & Government": 0.00046968834476407255, "Religion & Spirituality": 0.0004530847256443722, "Science, Mathematics & Engineering": 0.0020985259338591805, "Relationships & Community": 0.00024047112548270804, "Software Usage & Applications": 0.1132096889792849, "Programming & Software Engineering": 0.06095509029898875, "Sports & Fitness": 0.00031853071021352815, "Vehicles & Transportation": 0.00016185235223696064, "Travel & Tourism": 0.0004160964055575387, "Other / Uncovered Subject": 0.0011200391596091776, "NONE": 0.7739850691956106}}, "probability_diagnostics": {"primary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "tertiary": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "structured_records": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "procedural_steps": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "worked_solution": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "contextual_dialogue": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "content_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "noise_severity": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "missing_content_severity": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "factual_density": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "pretraining_utility": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "math_density": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "code_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "reasoning_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "education_level": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "creative_writing_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "primary_topic": {"raw_sum": 0.9999999999999998, "mass_delta": -2.220446049250313e-16, "missing_mass": 2.220446049250313e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}}, "usage": {"input_tokens": 10053, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 10053, "cached_share": null, "cache_discount_reported": null, "reported_cost_usd": null}, "response_metadata": {"model": "decision-models/baseten-mammoth-27b-latest"}, "scored_at_utc": "2026-10-25T18:31:06.622301+00:00", "scoring_key_slot": "assistant_1", "dataset_uid": "5c520e2e-8645-49d6-b406-70ea79c3086e", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "efefe049b2a857094308e8759eacbce22653866e36891183b098de83cfedc71a", "source_metadata": {"uuid": "5c520e2e-8645-49d6-b406-70ea79c3086e", "repo_name": "Cloudbox/cloudbox.github.io-backup", "relative_path": "scripts/restore.sh", "category": "TOOL", "algo_rel_score": 0.9892016649246216, "quality_score": 3.41776967048645, "source_meta": {"github_metadata": {"branch": "master", "commit_count": 135, "repo_created_at": "2019-09-24T03:17:19.000Z", "is_fork": false, "is_org_owned": true, "forked_from": null, "stars": 0, "forks": 0, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "c360cf16125616fa5a57ff72606a3994aa0165e7", "size_bytes": 6938, "file_timestamp": 1568358173, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "c1816aa4cbe5dbb35b7bd8bb514b56736759c402"}}, "parsed_source_meta": {"github_metadata": {"branch": "master", "commit_count": 135, "repo_created_at": "2019-09-24T03:17:19.000Z", "is_fork": false, "is_org_owned": true, "forked_from": null, "stars": 0, "forks": 0, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "c360cf16125616fa5a57ff72606a3994aa0165e7", "size_bytes": 6938, "file_timestamp": 1568358173, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "c1816aa4cbe5dbb35b7bd8bb514b56736759c402", "url": "https://github.com/Cloudbox/cloudbox.github.io-backup/blob/c1816aa4cbe5dbb35b7bd8bb514b56736759c402/scripts/restore.sh"}, "gpt4o_tokens": 1453, "dataset_split": "shell", "probability_weighted_scores": {"content_quality": 0.6612092747938579, "noise_severity": 0.5609207248061693, "missing_content_severity": 0.004836926470139062, "factual_density": 2.946344211143432, "pretraining_utility": 0.26661203682021356, "math_density": 0.0531424417936282, "code_density": 3.575578088394095, "reasoning_density": 0.5962720931971739, "education_level": 2.310056121289142, "creative_writing_quality": -0.2854903081092934}, "score_applicability": {"education_level": 0.998617549504491, "creative_writing_quality": 0.0013796697977681443}} {"source_group": "shell", "source": "openbmb/UltraData-Stack-v3-L2/shell", "domain": "github.com", "language": "shell", "url": "https://github.com/michaelmackenzie/Multilepton_Analysis/blob/6bcd12071852423b8627cf3d48ea4f5508ae6763/Roostats/tests/test_bemu_toy_fit.sh", "id": "shell-0-cf708810199dfb1c7a8c764d4f535734", "text": "#! /bin/bash\n\n# Create and inspect a single toy dataset\n\nCARD=$1\nSEED=$2\nTAG=$3\n\nif [[ \"${SEED}\" == \"\" ]]; then\n SEED=90\nfi\n\nCAT=`echo ${CARD} | sed 's/combine_bemu_zemu_//' | sed 's/.txt//' | sed 's/_workspace.root//'`\necho ${CAT}\n\n######################################\n# Generate a toy dataset\n######################################\n\ncombine -M GenerateOnly -d ${CARD} -t 1 -m 125 -s ${SEED} -n _toy_test${TAG} --saveToys\nTOYDATA=higgsCombine_toy_test${TAG}.GenerateOnly.mH125.${SEED}.root\n\nif [ ! -f ${TOYDATA} ]; then\n echo \"Failed to generate toy data ${TOYDATA}\"\n exit\nfi\nls -l ${TOYDATA}\n\nRMIN=-100\nRMAX=100\n\n######################################\n# Fit the data using FitDiagnostics\n######################################\n\nARGUMENTS=\"--setParameterRanges r=${RMIN},${RMAX} --cminDefaultMinimizerStrategy=0 -m 125 --X-rtd REMOVE_CONSTANT_ZERO_POINT=1\"\nARGUMENTS=\"${ARGUMENTS} --X-rtd MINIMIZER_freezeDisassociatedParams --X-rtd MINIMIZER_multiMin_hideConstant --X-rtd MINIMIZER_multiMin_maskConstraints\"\nARGUMENTS=\"${ARGUMENTS} --saveShapes --saveNLL --cminApproxPreFitTolerance 0.1 --cminPreScan --cminPreFit 1\"\n\ncombine -M FitDiagnostics -d ${CARD} -n \"_toy_test${TAG}\" --toysFile=${TOYDATA} -t 1 ${ARGUMENTS}\n\nFITFILE=fitDiagnostics_toy_test${TAG}.root\nif [ ! -f ${FITFILE} ]; then\n echo \"Failed to generate fit file ${FITFILE}\"\n exit\nfi\nls -l ${FITFILE}\n\n#Print the fit results\nroot.exe -q -b -l \"${CMSSW_BASE}/src/CLFVAnalysis/Roostats/tools/plot_fit.C(\\\"${FITFILE}\\\", \\\"figures/test_toy${TAG}\\\")\"\n\n\n######################################\n# Fit the data using MultiDimFit\n######################################\n\nARGUMENTS=\"--algo singles --setParameterRanges r=${RMIN},${RMAX} -m 125\"\n# ARGUMENTS=\"--algo cross --cl=0.68 --setParameterRanges r=${RMIN},${RMAX} -m 125\"\nARGUMENTS=\"${ARGUMENTS} --cminDefaultMinimizerStrategy=0\"\nARGUMENTS=\"${ARGUMENTS} --X-rtd MINIMIZER_freezeDisassociatedParams --X-rtd MINIMIZER_multiMin_hideConstant --X-rtd MINIMIZER_multiMin_maskConstraints\"\nARGUMENTS=\"${ARGUMENTS} --X-rtd REMOVE_CONSTANT_ZERO_POINT=1\"\nARGUMENTS=\"${ARGUMENTS} --saveNLL --cminApproxPreFitTolerance 0.1 --cminPreScan --cminPreFit 1 --saveWorkspace --saveFitResult\"\ncombine -M MultiDimFit -d ${CARD} -n \"_toy_test${TAG}\" --toysFile=${TOYDATA} -t 1 ${ARGUMENTS}\n\nFITFILE=higgsCombine_toy_test${TAG}.MultiDimFit.mH125.123456.root\nif [ ! -f ${FITFILE} ]; then\n echo \"Failed to generate fit file ${FITFILE}\"\n exit\nfi\nls -l ${FITFILE}\n\nARGUMENTS=\"--algo grid --setParameterRanges r=-10,10 --points 100 --cminDefaultMinimizerStrategy=0 -m 125 --X-rtd REMOVE_CONSTANT_ZERO_POINT=1\"\nARGUMENTS=\"${ARGUMENTS} --X-rtd MINIMIZER_freezeDisassociatedParams --X-rtd MINIMIZER_multiMin_hideConstant --X-rtd MINIMIZER_multiMin_maskConstraints\"\nARGUMENTS=\"${ARGUMENTS} --saveNLL --cminApproxPreFitTolerance 0.1 --cminPreScan --cminPreFit 1 --saveWorkspace --saveFitResult\"\ncombine -M MultiDimFit -d ${CARD} -n \"_toy_test_grid${TAG}\" --toysFile=${TOYDATA} -t 1 ${ARGUMENTS}\n\nFITFILE=higgsCombine_toy_test_grid${TAG}.MultiDimFit.mH125.123456.root\nif [ ! -f ${FITFILE} ]; then\n echo \"Failed to generate fit file ${FITFILE}\"\n exit\nfi\nls -l ${FITFILE}\n\n#plot the envelope\nroot.exe -q -b -l \"${CMSSW_BASE}/src/CLFVAnalysis/Roostats/tools/plot_envelope.C(0, \\\"${FITFILE}\\\", \\\"_toy_test${TAG}\\\", 0)\"\n", "text_preview": "#! /bin/bash # Create and inspect a single toy dataset CARD=$1 SEED=$2 TAG=$3 if [[ \"${SEED}\" == \"\" ]]; then SEED=90 fi CAT=`echo ${CARD} | sed 's/combine_bemu_zemu_//' | sed 's/.txt//' | sed 's/_workspace.root//'` echo ${CAT} #############", "input_sha256": "e265c2e75c3213b2dcfbbf87a5538532b0c383e31dbfd2ce1d81aaf800859268", "text_sha256": "cf708810199dfb1c7a8c764d4f535734fa64d2f592ba7b115d790261cbda4df7", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 20033, "input_policy": "text-and-optional-url-v1", "label_policy_version": 12, "requested_model": "decision-models/baseten-mammoth-27b-latest", "backend": "baseten", "endpoint": "https://inference.baseten.co/v1/systemone", "status": "needs_review", "training_eligible": false, "label": null, "candidate_label": {"primary": {"main_format": "Technical Writing", "sub_format": null}, "secondary": null, "tertiary": null, "content_structure": []}, "topic": {"primary": {"main_topic": "Programming & Software Engineering", "sub_topic": null}, "secondary": {"main_topic": "Science, Mathematics & Engineering", "sub_topic": null}}, "scores": {"content_quality": 1, "noise_severity": 0, "missing_content_severity": 0, "factual_density": 3, "pretraining_utility": 0, "math_density": 0, "code_density": 4, "reasoning_density": 0, "education_level": 3, "creative_writing_quality": null}, "score_expectations": {"content_quality": 1.072204711033386, "noise_severity": 0.034304129850251545, "missing_content_severity": 0.003861977198704003, "factual_density": 3.0342096372486242, "pretraining_utility": 0.18764432505405457, "math_density": 0.7569216668564415, "code_density": 3.7920494475406357, "reasoning_density": 0.16429297035210821, "education_level": 3.2581356497286236, "creative_writing_quality": -0.2998649340691589}, "api_choices": {"primary": "Technical Writing", "secondary": "NONE", "tertiary": "NONE", "education_level": "3", "creative_writing_quality": "not_applicable", "primary_topic": "Programming & Software Engineering", "secondary_topic": "Science, Mathematics & Engineering"}, "review_reasons": ["secondary_topic probability 0.3712 below 0.70", "secondary_topic vs NONE margin 0.0214 below 0.10"], "format_slot_diagnostics": {"comparable": true, "secondary_tertiary_identical": false, "secondary_tertiary_max_abs_gap": 0.10759036543357325, "secondary_choice": "NONE", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.8952235363527672, "secondary": 0.805428336756099, "tertiary": 0.917696544165045, "structured_records": 0.0032250738466564734, "procedural_steps": 0.4839470741458944, "worked_solution": 0.01007092017052738, "contextual_dialogue": 9.661510601088579e-06, "content_quality": 0.5807928095136666, "noise_severity": 0.9714132251247903, "missing_content_severity": 0.9967816856677467, "factual_density": 0.46402748206071687, "pretraining_utility": 0.46534833313109136, "math_density": 0.3692319442862987, "code_density": 0.8267078729505296, "reasoning_density": 0.8630891913732431, "education_level": 0.368956915413874, "creative_writing_quality": 0.9995535139675319, "primary_topic": 0.8450664887764323, "secondary_topic": 0.3460847757650983}, "probability_margin": {"primary": 0.8111044715072947, "secondary": 0.70106092965204, "tertiary": 0.8774667070393047, "education_level": 0.07806769986897666, "creative_writing_quality": 0.9994711189306301, "primary_topic": 0.7210339717076686, "secondary_topic": 0.021350705012785964}, "raw_probabilities": {"primary": {"Academic Writing": 0.0006809196169216896, "Content Listing": 0.00023334467268661157, "Creative Writing": 0.00016827691315283685, "Customer Support Page": 0.00015635012509985003, "Q&A Forum": 0.00013514558524913063, "Discussion Thread": 9.934196095161255e-05, "Comment Section": 0.00014997692429237762, "Missing Content": 0.0001448930127903751, "Knowledge Article": 0.00042697159228936355, "Legal Notices": 0.00015815383551919383, "News Article": 7.895806088194177e-05, "Organizational Announcement": 0.000124578673280906, "Nonfiction Writing": 0.00014706516790367291, "Organizational About Page": 0.0001492331637179446, "Personal About Page": 9.979028387020923e-05, "Personal Blog": 7.900459133160996e-05, "Product Page": 7.352816599789222e-05, "Spam / Ads": 0.00013228268525798784, "Structured Data": 0.0006800853561367107, "Technical Writing": 0.8995892223380686, "Transcript / Interview": 0.0001748490225632476, "Tutorial / How-To Guide": 0.08848475083077387, "User Reviews": 7.345879556865808e-05, "Other / Unknown": 0.007759818625693615}, "secondary": {"Academic Writing": 0.0048754134557443575, "Content Listing": 0.0003644330112575188, "Creative Writing": 0.0003362846657292389, "Customer Support Page": 0.00037022866073055545, "Q&A Forum": 0.00025146248783891226, "Discussion Thread": 0.0001836650008291145, "Comment Section": 0.00028985500274825035, "Missing Content": 0.00038929521699365927, "Knowledge Article": 0.0011270175252990036, "Legal Notices": 0.000261158627831172, "News Article": 0.00025441087695104244, "Organizational Announcement": 0.00022205818945878934, "Nonfiction Writing": 0.000254410513013624, "Organizational About Page": 0.0002712589065571153, "Personal About Page": 0.0002354985776139545, "Personal Blog": 0.0002298529103845352, "Product Page": 0.00015134318240759848, "Spam / Ads": 0.00026467491068743704, "Structured Data": 0.0011258933001674178, "Technical Writing": 0.062063250816815144, "Transcript / Interview": 0.00032822329753164097, "Tutorial / How-To Guide": 0.11247455973922144, "User Reviews": 0.0001402617329269453, "NONE": 0.8135354893912615}, "tertiary": {"Academic Writing": 0.0031051595266727463, "Content Listing": 0.0001229561648156306, "Creative Writing": 0.0001127485247131963, "Customer Support Page": 0.0001262906633464804, "Q&A Forum": 6.280854876342088e-05, "Discussion Thread": 5.482638850396442e-05, "Comment Section": 0.00012040647365436664, "Missing Content": 0.00021036172825054177, "Knowledge Article": 0.0009432169705814187, "Legal Notices": 0.000142918401190782, "News Article": 7.799233454449711e-05, "Organizational Announcement": 7.262897324992897e-05, "Nonfiction Writing": 0.00010301111781639787, "Organizational About Page": 0.00011010073949260767, "Personal About Page": 7.553799345951477e-05, "Personal Blog": 7.227565201576927e-05, "Product Page": 5.6028450398727774e-05, "Spam / Ads": 8.501169621510667e-05, "Structured Data": 0.000780942660222656, "Technical Writing": 0.02864026066454697, "Transcript / Interview": 9.75702716983071e-05, "Tutorial / How-To Guide": 0.043659147785529984, "User Reviews": 4.194344548216223e-05, "NONE": 0.9211258548248348}, "structured_records": {"false": 0.9967749261533435, "true": 0.0032250738466564734}, "procedural_steps": {"false": 0.5160529258541056, "true": 0.4839470741458944}, "worked_solution": {"false": 0.9899290798294726, "true": 0.01007092017052738}, "contextual_dialogue": {"false": 0.9999903384893989, "true": 9.661510601088579e-06}, "content_quality": {"-2": 0.00485359353208766, "-1": 0.013849260308038836, "0": 0.17316265756276636, "1": 0.5205078187886143, "2": 0.28762666980849294}, "noise_severity": {"0": 0.9703917728081579, "1": 0.026474883927741784, "2": 0.002045647738960022, "3": 0.0006128316559709841, "4": 0.0004748638691691895}, "missing_content_severity": {"0": 0.9976202204024909, "1": 0.0013811309921230724, "2": 0.0006249884196618861, "3": 0.0002637713756392606, "4": 0.000109888810084844}, "factual_density": {"0": 0.010648619533431226, "1": 0.03828996158310433, "2": 0.19595291037275542, "3": 0.41642017912282725, "4": 0.33868832938788185}, "pretraining_utility": {"-2": 0.019802801250807002, "-1": 0.18736323509270386, "0": 0.4390275096032366, "1": 0.292999745458133, "2": 0.06080670859511974}, "math_density": {"0": 0.627476203178684, "1": 0.18865783256811922, "2": 0.06464054737087013, "3": 0.037918927982724934, "4": 0.0813064888996018}, "code_density": {"0": 0.0005751310398800593, "1": 0.0012790999331485713, "2": 0.023252559092385203, "3": 0.15530761031562812, "4": 0.819585599618958}, "reasoning_density": {"0": 0.8943590198041348, "1": 0.057180566504258706, "2": 0.04064000444272293, "3": 0.005449242033131602, "4": 0.0023711672157522203}, "education_level": {"none": 0.0015315968484007417, "0": 0.0023288408076186837, "1": 0.005390514048855651, "2": 0.12055522247431164, "3": 0.47413076284489497, "4": 0.3960630629759183}, "creative_writing_quality": {"not_applicable": 0.9996279283062766, "-2": 6.286259002900204e-05, "-1": 7.854392546787827e-05, "0": 0.0001568093756464422, "1": 5.501375354165286e-05, "2": 1.884204903843012e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 0.0002777296253519685, "Art & Design": 0.000407408857038341, "Law & Crime": 0.00040540217342162, "Education & Careers": 0.00023787574858815305, "Entertainment & Media": 0.00029949665788504365, "Fashion & Beauty": 0.00026850931733318176, "Business, Economics & Finance": 0.0003303940181910883, "Food & Dining": 0.00024209447150626596, "Games & Gaming": 0.0003626962747301743, "Electronics & Hardware": 0.0004199681589287525, "Health, Healthcare & Wellness": 0.00043223827542023517, "History & Geography": 0.00040999124800375676, "Home, Pets & Hobbies": 0.0002340911411486412, "Industry & Production": 0.0003209032713228072, "Language, Literature & Philosophy": 0.00026121267374322276, "Politics & Government": 0.0001639923500547387, "Religion & Spirituality": 0.0002469204513467156, "Science, Mathematics & Engineering": 0.1299914982696702, "Relationships & Community": 0.00012444206445292295, "Software Usage & Applications": 0.008588230752356034, "Programming & Software Engineering": 0.8510254699773387, "Sports & Fitness": 0.00035088632452615726, "Vehicles & Transportation": 0.00016604717027558246, "Travel & Tourism": 0.0003214552245072243, "Other / Uncovered Subject": 0.0034158657146498026, "Unknown / Insufficient Content": 0.0006951797882084069}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0008054394515737774, "Art & Design": 0.0009792788196806626, "Law & Crime": 0.0008373240556231163, "Education & Careers": 0.0005392939007086825, "Entertainment & Media": 0.0005747247747148426, "Fashion & Beauty": 0.000503003519959653, "Business, Economics & Finance": 0.0007202554617519635, "Food & Dining": 0.0003954970973200676, "Games & Gaming": 0.0005668628318840708, "Electronics & Hardware": 0.0008710334679766891, "Health, Healthcare & Wellness": 0.0007608277187936785, "History & Geography": 0.0006000294611870782, "Home, Pets & Hobbies": 0.0004286908716183076, "Industry & Production": 0.000574407512266886, "Language, Literature & Philosophy": 0.00033430350893669903, "Politics & Government": 0.0003743755698498376, "Religion & Spirituality": 0.0005748656537444194, "Science, Mathematics & Engineering": 0.37123536131259455, "Relationships & Community": 0.00024224730862833528, "Software Usage & Applications": 0.016999513327768234, "Programming & Software Engineering": 0.24703583376727764, "Sports & Fitness": 0.0005438910063935605, "Vehicles & Transportation": 0.00033358972417583477, "Travel & Tourism": 0.0007341671032862515, "Other / Uncovered Subject": 0.002550526472476636, "NONE": 0.3498846562998086}}, "probabilities": {"primary": {"Academic Writing": 0.0006809196169216897, "Content Listing": 0.0002333446726866116, "Creative Writing": 0.00016827691315283687, "Customer Support Page": 0.00015635012509985005, "Q&A Forum": 0.00013514558524913066, "Discussion Thread": 9.934196095161256e-05, "Comment Section": 0.00014997692429237765, "Missing Content": 0.00014489301279037512, "Knowledge Article": 0.0004269715922893636, "Legal Notices": 0.00015815383551919386, "News Article": 7.895806088194178e-05, "Organizational Announcement": 0.00012457867328090602, "Nonfiction Writing": 0.00014706516790367294, "Organizational About Page": 0.00014923316371794464, "Personal About Page": 9.979028387020925e-05, "Personal Blog": 7.900459133160997e-05, "Product Page": 7.352816599789224e-05, "Spam / Ads": 0.00013228268525798786, "Structured Data": 0.0006800853561367108, "Technical Writing": 0.8995892223380687, "Transcript / Interview": 0.00017484902256324764, "Tutorial / How-To Guide": 0.08848475083077388, "User Reviews": 7.34587955686581e-05, "Other / Unknown": 0.007759818625693616}, "secondary": {"Academic Writing": 0.0048754134557443575, "Content Listing": 0.0003644330112575188, "Creative Writing": 0.0003362846657292389, "Customer Support Page": 0.00037022866073055545, "Q&A Forum": 0.00025146248783891226, "Discussion Thread": 0.0001836650008291145, "Comment Section": 0.00028985500274825035, "Missing Content": 0.00038929521699365927, "Knowledge Article": 0.0011270175252990036, "Legal Notices": 0.000261158627831172, "News Article": 0.00025441087695104244, "Organizational Announcement": 0.00022205818945878934, "Nonfiction Writing": 0.000254410513013624, "Organizational About Page": 0.0002712589065571153, "Personal About Page": 0.0002354985776139545, "Personal Blog": 0.0002298529103845352, "Product Page": 0.00015134318240759848, "Spam / Ads": 0.00026467491068743704, "Structured Data": 0.0011258933001674178, "Technical Writing": 0.062063250816815144, "Transcript / Interview": 0.00032822329753164097, "Tutorial / How-To Guide": 0.11247455973922144, "User Reviews": 0.0001402617329269453, "NONE": 0.8135354893912615}, "tertiary": {"Academic Writing": 0.0031051595266727463, "Content Listing": 0.0001229561648156306, "Creative Writing": 0.0001127485247131963, "Customer Support Page": 0.0001262906633464804, "Q&A Forum": 6.280854876342088e-05, "Discussion Thread": 5.482638850396442e-05, "Comment Section": 0.00012040647365436664, "Missing Content": 0.00021036172825054177, "Knowledge Article": 0.0009432169705814187, "Legal Notices": 0.000142918401190782, "News Article": 7.799233454449711e-05, "Organizational Announcement": 7.262897324992897e-05, "Nonfiction Writing": 0.00010301111781639787, "Organizational About Page": 0.00011010073949260767, "Personal About Page": 7.553799345951477e-05, "Personal Blog": 7.227565201576927e-05, "Product Page": 5.6028450398727774e-05, "Spam / Ads": 8.501169621510667e-05, "Structured Data": 0.000780942660222656, "Technical Writing": 0.02864026066454697, "Transcript / Interview": 9.75702716983071e-05, "Tutorial / How-To Guide": 0.043659147785529984, "User Reviews": 4.194344548216223e-05, "NONE": 0.9211258548248348}, "structured_records": {"false": 0.9967749261533435, "true": 0.0032250738466564734}, "procedural_steps": {"false": 0.5160529258541056, "true": 0.4839470741458944}, "worked_solution": {"false": 0.9899290798294726, "true": 0.01007092017052738}, "contextual_dialogue": {"false": 0.9999903384893989, "true": 9.661510601088579e-06}, "content_quality": {"-2": 0.00485359353208766, "-1": 0.013849260308038836, "0": 0.17316265756276636, "1": 0.5205078187886143, "2": 0.28762666980849294}, "noise_severity": {"0": 0.970391772808158, "1": 0.026474883927741787, "2": 0.0020456477389600223, "3": 0.0006128316559709842, "4": 0.00047486386916918954}, "missing_content_severity": {"0": 0.997620220402491, "1": 0.0013811309921230727, "2": 0.0006249884196618862, "3": 0.00026377137563926063, "4": 0.00010988881008484402}, "factual_density": {"0": 0.010648619533431226, "1": 0.03828996158310433, "2": 0.19595291037275542, "3": 0.41642017912282725, "4": 0.33868832938788185}, "pretraining_utility": {"-2": 0.019802801250807, "-1": 0.18736323509270383, "0": 0.4390275096032365, "1": 0.29299974545813295, "2": 0.060806708595119725}, "math_density": {"0": 0.627476203178684, "1": 0.18865783256811922, "2": 0.06464054737087013, "3": 0.037918927982724934, "4": 0.0813064888996018}, "code_density": {"0": 0.0005751310398800593, "1": 0.0012790999331485713, "2": 0.023252559092385203, "3": 0.15530761031562812, "4": 0.819585599618958}, "reasoning_density": {"0": 0.8943590198041346, "1": 0.05718056650425869, "2": 0.04064000444272292, "3": 0.005449242033131601, "4": 0.00237116721575222}, "education_level": {"none": 0.0015315968484007417, "0": 0.0023288408076186837, "1": 0.005390514048855651, "2": 0.12055522247431164, "3": 0.47413076284489497, "4": 0.3960630629759183}, "creative_writing_quality": {"not_applicable": 0.9996279283062766, "-2": 6.286259002900204e-05, "-1": 7.854392546787827e-05, "0": 0.0001568093756464422, "1": 5.501375354165286e-05, "2": 1.884204903843012e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 0.00027772962535196856, "Art & Design": 0.0004074088570383411, "Law & Crime": 0.00040540217342162013, "Education & Careers": 0.0002378757485881531, "Entertainment & Media": 0.0002994966578850437, "Fashion & Beauty": 0.0002685093173331818, "Business, Economics & Finance": 0.00033039401819108836, "Food & Dining": 0.00024209447150626601, "Games & Gaming": 0.00036269627473017434, "Electronics & Hardware": 0.0004199681589287526, "Health, Healthcare & Wellness": 0.0004322382754202353, "History & Geography": 0.00040999124800375687, "Home, Pets & Hobbies": 0.00023409114114864124, "Industry & Production": 0.00032090327132280725, "Language, Literature & Philosophy": 0.0002612126737432228, "Politics & Government": 0.00016399235005473873, "Religion & Spirituality": 0.00024692045134671567, "Science, Mathematics & Engineering": 0.12999149826967024, "Relationships & Community": 0.00012444206445292298, "Software Usage & Applications": 0.008588230752356036, "Programming & Software Engineering": 0.851025469977339, "Sports & Fitness": 0.0003508863245261573, "Vehicles & Transportation": 0.00016604717027558248, "Travel & Tourism": 0.00032145522450722434, "Other / Uncovered Subject": 0.0034158657146498034, "Unknown / Insufficient Content": 0.000695179788208407}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0008054394515737774, "Art & Design": 0.0009792788196806626, "Law & Crime": 0.0008373240556231163, "Education & Careers": 0.0005392939007086825, "Entertainment & Media": 0.0005747247747148426, "Fashion & Beauty": 0.000503003519959653, "Business, Economics & Finance": 0.0007202554617519635, "Food & Dining": 0.0003954970973200676, "Games & Gaming": 0.0005668628318840708, "Electronics & Hardware": 0.0008710334679766891, "Health, Healthcare & Wellness": 0.0007608277187936785, "History & Geography": 0.0006000294611870782, "Home, Pets & Hobbies": 0.0004286908716183076, "Industry & Production": 0.000574407512266886, "Language, Literature & Philosophy": 0.00033430350893669903, "Politics & Government": 0.0003743755698498376, "Religion & Spirituality": 0.0005748656537444194, "Science, Mathematics & Engineering": 0.37123536131259455, "Relationships & Community": 0.00024224730862833528, "Software Usage & Applications": 0.016999513327768234, "Programming & Software Engineering": 0.24703583376727764, "Sports & Fitness": 0.0005438910063935605, "Vehicles & Transportation": 0.00033358972417583477, "Travel & Tourism": 0.0007341671032862515, "Other / Uncovered Subject": 0.002550526472476636, "NONE": 0.3498846562998086}}, "probability_diagnostics": {"primary": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "tertiary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "structured_records": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "procedural_steps": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "worked_solution": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "contextual_dialogue": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "content_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "noise_severity": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "missing_content_severity": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "factual_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "pretraining_utility": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "math_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "code_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "reasoning_density": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "education_level": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "creative_writing_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "primary_topic": {"raw_sum": 0.9999999999999998, "mass_delta": -2.220446049250313e-16, "missing_mass": 2.220446049250313e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}}, "usage": {"input_tokens": 9615, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 9615, "cached_share": null, "cache_discount_reported": null, "reported_cost_usd": null}, "response_metadata": {"model": "decision-models/baseten-mammoth-27b-latest"}, "scored_at_utc": "2026-10-25T18:31:08.110580+00:00", "scoring_key_slot": "assistant_1", "dataset_uid": "e83215b9-9a13-4001-aee3-9e5d7e4d0859", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "c4472f230129f55b70bee8a735afed12e181824ebe437799e0ec8424ab6a3f4a", "source_metadata": {"uuid": "e83215b9-9a13-4001-aee3-9e5d7e4d0859", "repo_name": "michaelmackenzie/Multilepton_Analysis", "relative_path": "Roostats/tests/test_bemu_toy_fit.sh", "category": "TOOL", "algo_rel_score": 0.61189204454422, "quality_score": 4.090418815612793, "source_meta": {"github_metadata": {"branch": "master", "commit_count": 659, "repo_created_at": "2019-07-26T14:31:20.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 0, "forks": 0, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "f31ce2dd3cd87373c7a2dee2e272af0f8bb13236", "size_bytes": 3317, "file_timestamp": 1753221484, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "6bcd12071852423b8627cf3d48ea4f5508ae6763"}}, "parsed_source_meta": {"github_metadata": {"branch": "master", "commit_count": 659, "repo_created_at": "2019-07-26T14:31:20.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 0, "forks": 0, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "f31ce2dd3cd87373c7a2dee2e272af0f8bb13236", "size_bytes": 3317, "file_timestamp": 1753221484, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "6bcd12071852423b8627cf3d48ea4f5508ae6763", "url": "https://github.com/michaelmackenzie/Multilepton_Analysis/blob/6bcd12071852423b8627cf3d48ea4f5508ae6763/Roostats/tests/test_bemu_toy_fit.sh"}, "gpt4o_tokens": 1053, "dataset_split": "shell", "probability_weighted_scores": {"content_quality": 1.072204711033386, "noise_severity": 0.034304129850251545, "missing_content_severity": 0.003861977198704003, "factual_density": 3.0342096372486242, "pretraining_utility": 0.18764432505405457, "math_density": 0.7569216668564415, "code_density": 3.7920494475406357, "reasoning_density": 0.16429297035210821, "education_level": 3.2581356497286236, "creative_writing_quality": -0.2998649340691589}, "score_applicability": {"education_level": 0.9984684031515992, "creative_writing_quality": 0.0003720716937234055}} {"source_group": "shell", "source": "openbmb/UltraData-Stack-v3-L2/shell", "domain": "github.com", "language": "shell", "url": "https://github.com/rmcveyhsawaknow/tasky-pivot-for-insight/blob/f48c071aca6ce6ba095c690be6f1c84adadb6ba6/terraform/modules/mongodb-ec2/user-data.sh", "id": "shell-0-dd95115a37ec2b7d0b9e34776767d2d4", "text": "#!/bin/bash\nset -e\n\n# Log all output to /var/log/user-data.log\nexec > >(tee /var/log/user-data.log|logger -t user-data -s 2>/dev/console) 2>&1\n\necho \"Starting MongoDB 4.0.x installation on Amazon Linux 2...\"\n\n# Update system\nyum update -y\n\n# Install AWS CLI v2\ncurl \"https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip\" -o \"awscliv2.zip\"\nunzip awscliv2.zip\nsudo ./aws/install\nrm -rf aws awscliv2.zip\n\n# Create MongoDB repository file\ncat > /etc/yum.repos.d/mongodb-org-4.0.repo << 'EOF'\n[mongodb-org-4.0]\nname=MongoDB Repository\nbaseurl=https://repo.mongodb.org/yum/amazon/2/mongodb-org/4.0/x86_64/\ngpgcheck=1\nenabled=1\ngpgkey=https://www.mongodb.org/static/pgp/server-4.0.asc\nEOF\n\n# Install MongoDB 4.0.28 (legacy version as required)\nyum install -y mongodb-org-4.0.28 mongodb-org-server-4.0.28 mongodb-org-shell-4.0.28 mongodb-org-mongos-4.0.28 mongodb-org-tools-4.0.28\n\n# Prevent MongoDB from being updated\necho \"exclude=mongodb-org,mongodb-org-server,mongodb-org-shell,mongodb-org-mongos,mongodb-org-tools\" >> /etc/yum.conf\n\n# Configure MongoDB\nmkdir -p /data/db\nchown -R mongod:mongod /data/db\nchmod 755 /data/db\n\n# Create MongoDB configuration file\ncat > /etc/mongod.conf << 'EOF'\nstorage:\n dbPath: /data/db\n journal:\n enabled: true\n\nsystemLog:\n destination: file\n logAppend: true\n path: /var/log/mongodb/mongod.log\n\nnet:\n port: 27017\n bindIp: 0.0.0.0\n\nprocessManagement:\n timeZoneInfo: /usr/share/zoneinfo\n\nsecurity:\n authorization: enabled\nEOF\n\n# Start and enable MongoDB\nsystemctl start mongod\nsystemctl enable mongod\n\n# Wait for MongoDB to start\nsleep 10\n\n# Create admin user and tasky database user\nmongo admin --eval \"\ndb.createUser({\n user: 'admin',\n pwd: }',\n roles: [ { role: 'userAdminAnyDatabase', db: 'admin' }, 'readWriteAnyDatabase' ]\n});\n\"\n\nmongo tasky --eval \"\ndb.createUser({\n user: '${MONGODB_USERNAME}',\n pwd: '${}',\n roles: [ { role: 'readWrite', db: 'tasky' } ]\n});\n\"\n\n# Create backup script\nmkdir -p /opt/mongodb-backup\ncat > /opt/mongodb-backup/backup.sh << 'EOF'\n#!/bin/bash\nset -e\n\nTIMESTAMP=$(date +%Y%m%d_%H%M%S)\nBACKUP_DIR=\"/tmp/mongodb-backup-$TIMESTAMP\"\nBACKUP_FILE=\"mongodb-backup-$TIMESTAMP.tar.gz\"\nS3_BUCKET=\"${BACKUP_BUCKET_NAME}\"\n\necho \"Starting MongoDB backup at $(date)\"\n\n# Create backup directory\nmkdir -p $BACKUP_DIR\n\n# Dump database with authentication\nmongodump --host localhost:27017 --db tasky --username ${MONGODB_USERNAME} --password ${} --authenticationDatabase tasky --out $BACKUP_DIR\n\n# Create tarball\ncd /tmp\ntar -czf $BACKUP_FILE mongodb-backup-$TIMESTAMP/\n\n# Upload to S3\naws s3 cp $BACKUP_FILE s3://$S3_BUCKET/backups/$BACKUP_FILE\n\n# Create latest link\naws s3 cp s3://$S3_BUCKET/backups/$BACKUP_FILE s3://$S3_BUCKET/backups/latest.tar.gz\n\n# Cleanup local files\nrm -rf $BACKUP_DIR $BACKUP_FILE\n\necho \"Backup completed successfully and uploaded to S3\"\necho \"Public URL: https://$S3_BUCKET.s3.amazonaws.com/backups/$BACKUP_FILE\"\nEOF\n\n# Make backup script executable\nchmod +x /opt/mongodb-backup/backup.sh\n\n# Setup daily backup cron job\necho \"0 2 * * * root /opt/mongodb-backup/backup.sh >> /var/log/mongodb-backup.log 2>&1\" >> /etc/crontab\n\n# Install CloudWatch agent\nyum install -y amazon-cloudwatch-agent\n\n# Create CloudWatch agent configuration\ncat > /opt/aws/amazon-cloudwatch-agent/etc/amazon-cloudwatch-agent.json << 'EOF'\n{\n \"logs\": {\n \"logs_collected\": {\n \"files\": {\n \"collect_list\": [\n {\n \"file_path\": \"/var/log/mongodb/mongod.log\",\n \"log_group_name\": \"/aws/ec2/mongodb\",\n \"log_stream_name\": \"mongod.log\"\n },\n {\n \"file_path\": \"/var/log/mongodb-backup.log\",\n \"log_group_name\": \"/aws/ec2/mongodb\",\n \"log_stream_name\": \"backup.log\"\n }\n ]\n }\n }\n }\n}\nEOF\n\n# Start CloudWatch agent\n/opt/aws/amazon-cloudwatch-agent/bin/amazon-cloudwatch-agent-ctl -a fetch-config -m ec2 -c file:/opt/aws/amazon-cloudwatch-agent/etc/amazon-cloudwatch-agent.json -s\n\necho \"MongoDB 4.0.x installation and configuration completed successfully!\"\necho \"MongoDB is running on port 27017 with authentication enabled\"\necho \"Backup script configured to run daily at 2 AM\"\n", "text_preview": "#!/bin/bash set -e # Log all output to /var/log/user-data.log exec > >(tee /var/log/user-data.log|logger -t user-data -s 2>/dev/console) 2>&1 echo \"Starting MongoDB 4.0.x installation on Amazon Linux 2...\" # Update system yum update -y # In", "input_sha256": "e5a1b30b655cd800c50184f34ef1298e58cd1e5772125cc0b1825211f27b300b", "text_sha256": "dd95115a37ec2b7d0b9e34776767d2d4bab137192e27ff189fe9de7da1256776", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 20032, "input_policy": "text-and-optional-url-v1", "label_policy_version": 12, "requested_model": "decision-models/baseten-mammoth-27b-latest", "backend": "baseten", "endpoint": "https://inference.baseten.co/v1/systemone", "status": "ok", "training_eligible": true, "label": {"primary": {"main_format": "Technical Writing", "sub_format": null}, "secondary": null, "tertiary": null, "content_structure": ["procedural_steps"]}, "candidate_label": null, "topic": {"primary": {"main_topic": "Programming & Software Engineering", "sub_topic": null}, "secondary": null}, "scores": {"content_quality": 1, "noise_severity": 0, "missing_content_severity": 0, "factual_density": 4, "pretraining_utility": 1, "math_density": 0, "code_density": 4, "reasoning_density": 0, "education_level": 3, "creative_writing_quality": null}, "score_expectations": {"content_quality": 0.2737913249506566, "noise_severity": 0.2986206846365087, "missing_content_severity": 0.3537637761602296, "factual_density": 3.401798629836232, "pretraining_utility": 0.6775316003113289, "math_density": 0.004514160170372564, "code_density": 3.6657576999664236, "reasoning_density": 0.07499402113641614, "education_level": 2.6360743562126014, "creative_writing_quality": -0.2895003580320216}, "api_choices": {"primary": "Technical Writing", "secondary": "NONE", "tertiary": "NONE", "education_level": "3", "creative_writing_quality": "not_applicable", "primary_topic": "Programming & Software Engineering", "secondary_topic": "NONE"}, "review_reasons": [], "format_slot_diagnostics": {"comparable": true, "secondary_tertiary_identical": false, "secondary_tertiary_max_abs_gap": 0.06180731586522459, "secondary_choice": "NONE", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.8866650286438481, "secondary": 0.44525590766949114, "tertiary": 0.5097504981375516, "structured_records": 0.44323842856382883, "procedural_steps": 0.789336631231525, "worked_solution": 0.0029374351844892598, "contextual_dialogue": 6.70789879186786e-06, "content_quality": 0.16653210235319493, "noise_severity": 0.7511494294695762, "missing_content_severity": 0.7051968531998087, "factual_density": 0.5014988581968599, "pretraining_utility": 0.5577347716854677, "math_density": 0.9962381998580229, "code_density": 0.7214647499720197, "reasoning_density": 0.9375049823863199, "education_level": 0.4294877057177275, "creative_writing_quality": 0.9993097781079405, "primary_topic": 0.901396244425932, "secondary_topic": 0.5447872641887429}, "probability_margin": {"primary": 0.7945221985805131, "secondary": 0.2254645183535447, "tertiary": 0.2545673534692382, "education_level": 0.11797935532492815, "creative_writing_quality": 0.9991969374793257, "primary_topic": 0.8144632332441015, "secondary_topic": 0.24741667540487583}, "raw_probabilities": {"primary": {"Academic Writing": 0.000236646956036005, "Content Listing": 0.00026729237943554464, "Creative Writing": 0.00018355124014324554, "Customer Support Page": 0.0001986073640149326, "Q&A Forum": 0.00015169559193827135, "Discussion Thread": 0.0001216801478430369, "Comment Section": 0.00018300110232221824, "Missing Content": 0.0002548327435375666, "Knowledge Article": 0.0005056293150914405, "Legal Notices": 0.00017427740578595692, "News Article": 9.052352128298408e-05, "Organizational Announcement": 0.00016440964883470105, "Nonfiction Writing": 0.00016456071009940046, "Organizational About Page": 0.00019427092406526882, "Personal About Page": 0.0001376138151190925, "Personal Blog": 0.0001010590483507429, "Product Page": 0.00010856517890356613, "Spam / Ads": 0.0001563888794909976, "Structured Data": 0.0025416675615846343, "Technical Writing": 0.8913873191170211, "Transcript / Interview": 0.0002283287735448464, "Tutorial / How-To Guide": 0.09686512053650793, "User Reviews": 8.955709497802365e-05, "Other / Unknown": 0.005493400944068576}, "secondary": {"Academic Writing": 0.0009411199594136477, "Content Listing": 0.0006790965524675299, "Creative Writing": 0.000659025763673069, "Customer Support Page": 0.0006548135899114723, "Q&A Forum": 0.0004667762868997518, "Discussion Thread": 0.00037611639517883043, "Comment Section": 0.0006153965633245533, "Missing Content": 0.004176762215598723, "Knowledge Article": 0.0014430319772827265, "Legal Notices": 0.0008233840131880036, "News Article": 0.0005112039555485899, "Organizational Announcement": 0.0005890757241351934, "Nonfiction Writing": 0.0006389623044574181, "Organizational About Page": 0.0008578021415883621, "Personal About Page": 0.00045263691341096413, "Personal Blog": 0.0005303663910913805, "Product Page": 0.00041285718119496656, "Spam / Ads": 0.0004917323408537317, "Structured Data": 0.24290572649638437, "Technical Writing": 0.14527474493993572, "Transcript / Interview": 0.0007929564433177828, "Tutorial / How-To Guide": 0.12699590590163148, "User Reviews": 0.00034026109958269177, "NONE": 0.46837024484992906}, "tertiary": {"Academic Writing": 0.0009329420264146524, "Content Listing": 0.0005750117870999589, "Creative Writing": 0.0007359641628892344, "Customer Support Page": 0.0006607059864094571, "Q&A Forum": 0.00046658090603317716, "Discussion Thread": 0.00036806570052100405, "Comment Section": 0.0005935928644614981, "Missing Content": 0.005776660104916515, "Knowledge Article": 0.0017751475533323157, "Legal Notices": 0.0009323274304540103, "News Article": 0.000545694909609903, "Organizational Announcement": 0.0005868157904837865, "Nonfiction Writing": 0.0006424549284308249, "Organizational About Page": 0.0009478669176198649, "Personal About Page": 0.0004846318751383972, "Personal Blog": 0.0004501131053332017, "Product Page": 0.00047518414692874784, "Spam / Ads": 0.0004918704669764837, "Structured Data": 0.27561020724591545, "Technical Writing": 0.0861454424567855, "Transcript / Interview": 0.0007702719952984504, "Tutorial / How-To Guide": 0.08955556165066476, "User Reviews": 0.00029932527312922906, "NONE": 0.5301775607151537}, "structured_records": {"false": 0.5567615714361711, "true": 0.44323842856382883}, "procedural_steps": {"false": 0.21066336876847502, "true": 0.789336631231525}, "worked_solution": {"false": 0.9970625648155107, "true": 0.0029374351844892598}, "contextual_dialogue": {"false": 0.9999932921012081, "true": 6.70789879186786e-06}, "content_quality": {"-2": 0.056961404556672354, "-1": 0.22399703296254253, "0": 0.24430679651765264, "1": 0.3377583648997212, "2": 0.13697640106341133}, "noise_severity": {"0": 0.8011434100189213, "1": 0.1311160049734561, "2": 0.040803074977232755, "3": 0.021851510412971613, "4": 0.005085999617418044}, "missing_content_severity": {"0": 0.7147659713771686, "1": 0.2258264706300219, "2": 0.052058507576234155, "3": 0.005575911288561109, "4": 0.0017731391280139857}, "factual_density": {"0": 0.0021321609961193594, "1": 0.005723551350881662, "2": 0.0866704550148841, "3": 0.39916116209687746, "4": 0.5063126705412374}, "pretraining_utility": {"-2": 0.01042110139314298, "-1": 0.05470613028516322, "0": 0.28591777208329966, "1": 0.5448300590940104, "2": 0.10412493714438381}, "math_density": {"0": 0.9964864775138014, "1": 0.002935224272995329, "2": 0.00030466320502048246, "3": 0.00012493054539449753, "4": 0.00014870446278819415}, "code_density": {"0": 0.0005432770728360192, "1": 0.001183960778709934, "2": 0.029753121518712858, "3": 0.2690110663686768, "4": 0.6995085742610643}, "reasoning_density": {"0": 0.9489514466748742, "1": 0.03062148527817652, "2": 0.017552806624372738, "3": 0.002230123080812615, "4": 0.0006441383417640775}, "education_level": {"none": 0.0008363046186200458, "0": 0.0017670293050985005, "1": 0.0059854385357295675, "2": 0.40659373277317806, "3": 0.5245730880981062, "4": 0.06024440666926761}, "creative_writing_quality": {"not_applicable": 0.9994248150899504, "-2": 8.075846635367893e-05, "-1": 0.00015114800547986812, "0": 0.00022787761062469146, "1": 8.465295438975927e-05, "2": 3.074787320172755e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 0.00013175679948691408, "Art & Design": 0.0002006959158177588, "Law & Crime": 0.0001689132359173281, "Education & Careers": 0.0001217868653287816, "Entertainment & Media": 0.00012186499789733318, "Fashion & Beauty": 9.356928732349622e-05, "Business, Economics & Finance": 0.00023863387606190686, "Food & Dining": 9.232931803401068e-05, "Games & Gaming": 0.00022623554512369003, "Electronics & Hardware": 0.0005780571493142432, "Health, Healthcare & Wellness": 8.91632688445707e-05, "History & Geography": 0.00016135500081688274, "Home, Pets & Hobbies": 0.00013895119467833205, "Industry & Production": 0.0001657092012070445, "Language, Literature & Philosophy": 0.00011737605882577967, "Politics & Government": 7.720824952226743e-05, "Religion & Spirituality": 9.603481756753835e-05, "Science, Mathematics & Engineering": 0.00034978980651261286, "Relationships & Community": 7.610430812001376e-05, "Software Usage & Applications": 0.0907254633192946, "Programming & Software Engineering": 0.9051886965633962, "Sports & Fitness": 0.0001374599230644881, "Vehicles & Transportation": 7.141716094553398e-05, "Travel & Tourism": 0.00012001399227923708, "Other / Uncovered Subject": 0.00039833654951035806, "Unknown / Insufficient Content": 0.00011307759510912675}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0008226101035226035, "Art & Design": 0.0007246017520345752, "Law & Crime": 0.0018452919464188805, "Education & Careers": 0.000440857265069315, "Entertainment & Media": 0.0006084186933002408, "Fashion & Beauty": 0.00037069067913835034, "Business, Economics & Finance": 0.0024934318912615025, "Food & Dining": 0.00031844447408333674, "Games & Gaming": 0.0005163178601993682, "Electronics & Hardware": 0.004371937858963488, "Health, Healthcare & Wellness": 0.0003747870914919629, "History & Geography": 0.00044386178972237325, "Home, Pets & Hobbies": 0.00043009647853034543, "Industry & Production": 0.0004987546142844976, "Language, Literature & Philosophy": 0.00025653703618701875, "Politics & Government": 0.00035380610158852673, "Religion & Spirituality": 0.00043227589320299305, "Science, Mathematics & Engineering": 0.0014339414112163205, "Relationships & Community": 0.00023880414977096013, "Software Usage & Applications": 0.31487877093045386, "Programming & Software Engineering": 0.10278533915749262, "Sports & Fitness": 0.00035485279220862857, "Vehicles & Transportation": 0.0002345534395159152, "Travel & Tourism": 0.0005146343900250911, "Other / Uncovered Subject": 0.001960935864987518, "NONE": 0.5622954463353297}}, "probabilities": {"primary": {"Academic Writing": 0.000236646956036005, "Content Listing": 0.00026729237943554464, "Creative Writing": 0.00018355124014324554, "Customer Support Page": 0.0001986073640149326, "Q&A Forum": 0.00015169559193827135, "Discussion Thread": 0.0001216801478430369, "Comment Section": 0.00018300110232221824, "Missing Content": 0.0002548327435375666, "Knowledge Article": 0.0005056293150914405, "Legal Notices": 0.00017427740578595692, "News Article": 9.052352128298408e-05, "Organizational Announcement": 0.00016440964883470105, "Nonfiction Writing": 0.00016456071009940046, "Organizational About Page": 0.00019427092406526882, "Personal About Page": 0.0001376138151190925, "Personal Blog": 0.0001010590483507429, "Product Page": 0.00010856517890356613, "Spam / Ads": 0.0001563888794909976, "Structured Data": 0.0025416675615846343, "Technical Writing": 0.8913873191170211, "Transcript / Interview": 0.0002283287735448464, "Tutorial / How-To Guide": 0.09686512053650793, "User Reviews": 8.955709497802365e-05, "Other / Unknown": 0.005493400944068576}, "secondary": {"Academic Writing": 0.0009411199594136477, "Content Listing": 0.0006790965524675299, "Creative Writing": 0.000659025763673069, "Customer Support Page": 0.0006548135899114723, "Q&A Forum": 0.0004667762868997518, "Discussion Thread": 0.00037611639517883043, "Comment Section": 0.0006153965633245533, "Missing Content": 0.004176762215598723, "Knowledge Article": 0.0014430319772827265, "Legal Notices": 0.0008233840131880036, "News Article": 0.0005112039555485899, "Organizational Announcement": 0.0005890757241351934, "Nonfiction Writing": 0.0006389623044574181, "Organizational About Page": 0.0008578021415883621, "Personal About Page": 0.00045263691341096413, "Personal Blog": 0.0005303663910913805, "Product Page": 0.00041285718119496656, "Spam / Ads": 0.0004917323408537317, "Structured Data": 0.24290572649638437, "Technical Writing": 0.14527474493993572, "Transcript / Interview": 0.0007929564433177828, "Tutorial / How-To Guide": 0.12699590590163148, "User Reviews": 0.00034026109958269177, "NONE": 0.46837024484992906}, "tertiary": {"Academic Writing": 0.0009329420264146524, "Content Listing": 0.0005750117870999589, "Creative Writing": 0.0007359641628892344, "Customer Support Page": 0.0006607059864094571, "Q&A Forum": 0.00046658090603317716, "Discussion Thread": 0.00036806570052100405, "Comment Section": 0.0005935928644614981, "Missing Content": 0.005776660104916515, "Knowledge Article": 0.0017751475533323157, "Legal Notices": 0.0009323274304540103, "News Article": 0.000545694909609903, "Organizational Announcement": 0.0005868157904837865, "Nonfiction Writing": 0.0006424549284308249, "Organizational About Page": 0.0009478669176198649, "Personal About Page": 0.0004846318751383972, "Personal Blog": 0.0004501131053332017, "Product Page": 0.00047518414692874784, "Spam / Ads": 0.0004918704669764837, "Structured Data": 0.27561020724591545, "Technical Writing": 0.0861454424567855, "Transcript / Interview": 0.0007702719952984504, "Tutorial / How-To Guide": 0.08955556165066476, "User Reviews": 0.00029932527312922906, "NONE": 0.5301775607151537}, "structured_records": {"false": 0.5567615714361711, "true": 0.44323842856382883}, "procedural_steps": {"false": 0.21066336876847502, "true": 0.789336631231525}, "worked_solution": {"false": 0.9970625648155107, "true": 0.0029374351844892598}, "contextual_dialogue": {"false": 0.9999932921012081, "true": 6.70789879186786e-06}, "content_quality": {"-2": 0.056961404556672354, "-1": 0.22399703296254253, "0": 0.24430679651765264, "1": 0.3377583648997212, "2": 0.13697640106341133}, "noise_severity": {"0": 0.8011434100189215, "1": 0.13111600497345613, "2": 0.04080307497723276, "3": 0.021851510412971616, "4": 0.0050859996174180445}, "missing_content_severity": {"0": 0.7147659713771688, "1": 0.22582647063002198, "2": 0.05205850757623417, "3": 0.005575911288561111, "4": 0.0017731391280139863}, "factual_density": {"0": 0.0021321609961193594, "1": 0.005723551350881662, "2": 0.0866704550148841, "3": 0.39916116209687746, "4": 0.5063126705412374}, "pretraining_utility": {"-2": 0.01042110139314298, "-1": 0.05470613028516322, "0": 0.28591777208329966, "1": 0.5448300590940104, "2": 0.10412493714438381}, "math_density": {"0": 0.9964864775138015, "1": 0.0029352242729953296, "2": 0.0003046632050204825, "3": 0.00012493054539449756, "4": 0.00014870446278819418}, "code_density": {"0": 0.0005432770728360193, "1": 0.0011839607787099342, "2": 0.02975312151871286, "3": 0.26901106636867683, "4": 0.6995085742610644}, "reasoning_density": {"0": 0.948951446674874, "1": 0.030621485278176513, "2": 0.017552806624372735, "3": 0.0022301230808126145, "4": 0.0006441383417640774}, "education_level": {"none": 0.0008363046186200458, "0": 0.0017670293050985005, "1": 0.0059854385357295675, "2": 0.40659373277317806, "3": 0.5245730880981062, "4": 0.06024440666926761}, "creative_writing_quality": {"not_applicable": 0.9994248150899502, "-2": 8.075846635367892e-05, "-1": 0.0001511480054798681, "0": 0.0002278776106246914, "1": 8.465295438975925e-05, "2": 3.074787320172754e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 0.00013175679948691408, "Art & Design": 0.0002006959158177588, "Law & Crime": 0.0001689132359173281, "Education & Careers": 0.0001217868653287816, "Entertainment & Media": 0.00012186499789733318, "Fashion & Beauty": 9.356928732349622e-05, "Business, Economics & Finance": 0.00023863387606190686, "Food & Dining": 9.232931803401068e-05, "Games & Gaming": 0.00022623554512369003, "Electronics & Hardware": 0.0005780571493142432, "Health, Healthcare & Wellness": 8.91632688445707e-05, "History & Geography": 0.00016135500081688274, "Home, Pets & Hobbies": 0.00013895119467833205, "Industry & Production": 0.0001657092012070445, "Language, Literature & Philosophy": 0.00011737605882577967, "Politics & Government": 7.720824952226743e-05, "Religion & Spirituality": 9.603481756753835e-05, "Science, Mathematics & Engineering": 0.00034978980651261286, "Relationships & Community": 7.610430812001376e-05, "Software Usage & Applications": 0.0907254633192946, "Programming & Software Engineering": 0.9051886965633962, "Sports & Fitness": 0.0001374599230644881, "Vehicles & Transportation": 7.141716094553398e-05, "Travel & Tourism": 0.00012001399227923708, "Other / Uncovered Subject": 0.00039833654951035806, "Unknown / Insufficient Content": 0.00011307759510912675}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0008226101035226035, "Art & Design": 0.0007246017520345752, "Law & Crime": 0.0018452919464188805, "Education & Careers": 0.000440857265069315, "Entertainment & Media": 0.0006084186933002408, "Fashion & Beauty": 0.00037069067913835034, "Business, Economics & Finance": 0.0024934318912615025, "Food & Dining": 0.00031844447408333674, "Games & Gaming": 0.0005163178601993682, "Electronics & Hardware": 0.004371937858963488, "Health, Healthcare & Wellness": 0.0003747870914919629, "History & Geography": 0.00044386178972237325, "Home, Pets & Hobbies": 0.00043009647853034543, "Industry & Production": 0.0004987546142844976, "Language, Literature & Philosophy": 0.00025653703618701875, "Politics & Government": 0.00035380610158852673, "Religion & Spirituality": 0.00043227589320299305, "Science, Mathematics & Engineering": 0.0014339414112163205, "Relationships & Community": 0.00023880414977096013, "Software Usage & Applications": 0.31487877093045386, "Programming & Software Engineering": 0.10278533915749262, "Sports & Fitness": 0.00035485279220862857, "Vehicles & Transportation": 0.0002345534395159152, "Travel & Tourism": 0.0005146343900250911, "Other / Uncovered Subject": 0.001960935864987518, "NONE": 0.5622954463353297}}, "probability_diagnostics": {"primary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "tertiary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "structured_records": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "procedural_steps": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "worked_solution": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "contextual_dialogue": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "content_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "noise_severity": {"raw_sum": 0.9999999999999998, "mass_delta": -2.220446049250313e-16, "missing_mass": 2.220446049250313e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "missing_content_severity": {"raw_sum": 0.9999999999999997, "mass_delta": -3.3306690738754696e-16, "missing_mass": 3.3306690738754696e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "factual_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "pretraining_utility": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "math_density": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "code_density": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "reasoning_density": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "education_level": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "creative_writing_quality": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "primary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}}, "usage": {"input_tokens": 9805, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 9805, "cached_share": null, "cache_discount_reported": null, "reported_cost_usd": null}, "response_metadata": {"model": "decision-models/baseten-mammoth-27b-latest"}, "scored_at_utc": "2026-10-25T18:31:08.534822+00:00", "scoring_key_slot": "assistant_1", "dataset_uid": "bb18b781-1b2b-4f52-b3e7-aa056b4a3bc8", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "bc3edeb9d4378d6c4ec35d0c502741b92f015414e533a7defb44c740cd00e787", "source_metadata": {"uuid": "bb18b781-1b2b-4f52-b3e7-aa056b4a3bc8", "repo_name": "rmcveyhsawaknow/tasky-pivot-for-insight", "relative_path": "terraform/modules/mongodb-ec2/user-data.sh", "category": "TOOL", "algo_rel_score": 0.8829615712165833, "quality_score": 4.596965312957764, "source_meta": {"github_metadata": {"branch": "main", "commit_count": 25, "repo_created_at": "2025-07-12T19:53:03.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 0, "forks": 0, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "f912f345b28d1092406a7bbd1cdad1e20e19f4f2", "size_bytes": 4190, "file_timestamp": 1752442536, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "f48c071aca6ce6ba095c690be6f1c84adadb6ba6"}}, "parsed_source_meta": {"github_metadata": {"branch": "main", "commit_count": 25, "repo_created_at": "2025-07-12T19:53:03.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 0, "forks": 0, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "f912f345b28d1092406a7bbd1cdad1e20e19f4f2", "size_bytes": 4190, "file_timestamp": 1752442536, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "f48c071aca6ce6ba095c690be6f1c84adadb6ba6", "url": "https://github.com/rmcveyhsawaknow/tasky-pivot-for-insight/blob/f48c071aca6ce6ba095c690be6f1c84adadb6ba6/terraform/modules/mongodb-ec2/user-data.sh"}, "gpt4o_tokens": 1237, "dataset_split": "shell", "probability_weighted_scores": {"content_quality": 0.2737913249506566, "noise_severity": 0.2986206846365087, "missing_content_severity": 0.3537637761602296, "factual_density": 3.401798629836232, "pretraining_utility": 0.6775316003113289, "math_density": 0.004514160170372564, "code_density": 3.6657576999664236, "reasoning_density": 0.07499402113641615, "education_level": 2.6360743562126014, "creative_writing_quality": -0.2895003580320216}, "score_applicability": {"education_level": 0.99916369538138, "creative_writing_quality": 0.0005751849100497252}} {"source_group": "shell", "source": "openbmb/UltraData-Stack-v3-L2/shell", "domain": "github.com", "language": "shell", "url": "https://github.com/beagleboard/librobotcontrol/blob/a399c2603968263581ab5bace8c4c77025db1328/device_tree/configure_robotics_dt.sh", "id": "shell-0-1006f9f94a854c8c61b3e4405d102d2d", "text": "#!/bin/bash\n\nOVERLAY=RoboticsCape\nTREE_BLACK_RC=am335x-boneblack-roboticscape.dtb\nTREE_BW_RC=am335x-boneblack-wireless-roboticscape.dtb\nUENV=/boot/uEnv.txt\n\nKERNEL=\"$(uname -r)\"\nUNAME=\"$(sed -n -e '/uname_r=/ s/.*\\= *//p' /boot/uEnv.txt)\"\n# get the model number so we can set the right device tree\nMODEL=\"$(cat /proc/device-tree/model)\"\n\n\n################################################################################\n# Sanity Checks\n################################################################################\n\n# make sure the user is root\nif [ `whoami` != 'root' ]; then\n\techo \"You must be root to install this.\"\n\texit 1\nfi\n\n\n################################################################################\n# check for the -f force flag\n################################################################################\nFORCE=NO\nwhile [[ $# -gt 0 ]]; do\n\tkey=\"$1\"\n\tcase $key in\n\t\t-f|--force)\n\t\tFORCE=YES\n\t\techo \"force enabled\"\n\t\tshift\n\t\t;;\n\t\t*)\n\t\t echo \"Unknown Argument, continuing anyway\"\n\t\t;;\n\tesac\n\tshift\ndone\n\n################################################################################\n# off we go!\n################################################################################\n\n\n# here we decide what device tree to use\n# Blue needs no modification\nif [ \"$MODEL\" == \"TI AM335x BeagleBone Blue\" ]; then\n\techo \"No overlay needed on the Blue!\"\n\texit 0\n\n# if black and black wireless already have the DT installed, nothing to do\nelif [ \"$MODEL\" == \"TI AM335x BeagleBone Black RoboticsCape\" ]; then\n\techo \"Detected BB Black with RoboticsCape device tree already installed\"\n\techo \"No changes required\"\n\texit 0\n\nelif [ \"$MODEL\" == \"TI AM335x BeagleBone Black Wireless RoboticsCape\" ]; then\n\techo \"Detected BB Black Wireless with RoboticsCape device tree already installed\"\n\techo \"No changes required\"\n\texit 0\n\n\n# test for BBB wireless\nelif [ \"$MODEL\" == \"TI AM335x BeagleBone Black Wireless\" ]; then\n\n\t# if the roboticscape tree is available, use that\n\tif [ -a \"/boot/dtbs/$UNAME/$TREE_BW_RC\" ]; then\n\t\tDTB=\"$TREE_BW_RC\"\n\telse\n\t\techo \"ERROR, can't find $TREE_BW_RC for this kernel.\"\n\t\techo \"no changes made to uEnv.txt\"\n\tfi\n\n# test for BBB\nelif [ \"$MODEL\" == \"TI AM335x BeagleBone Black\" ]; then\n\n\t# if the roboticscape tree is available, use that\n\tif [ -a \"/boot/dtbs/$UNAME/$TREE_BLACK_RC\" ]; then\n\t\tDTB=\"$TREE_BLACK_RC\"\n\telse\n\t\techo \"ERROR, can't find $TREE_BLACK_RC for this kernel.\"\n\t\techo \"no changes made to uEnv.txt\"\n\tfi\n\n# for all others (green, etc) make sure the force argument was given,\n# otherwise use the black_rc_overlay\nelse\n\tif [ \"$FORCE\" == \"NO\" ]; then\n\t\techo \" \"\n\t\techo \"RoboticsCape library only designed to work with Black, Black wireless, and Blue\"\n\t\techo \"At your own risk, you can try the normal BB Black RoboticsCape device tree.\"\n\t\techo \"Please run 'configure_robotics_dt.sh -f' manually to force this operation.\"\n\t\techo \" \"\n\t\texit 0\n\telse\n\t\t# if the roboticscape tree is available, use that\n\t\tif [ -a \"/boot/dtbs/$UNAME/$TREE_BLACK_RC\" ]; then\n\t\t\tDTB=\"$TREE_BLACK_RC\"\n\t\t\techo \"Forcing use of $TREE_BLACK_RC on untested board!\"\n\t\telse\n\t\t\techo \"ERROR, can't find $TREE_BLACK_RC for this kernel.\"\n\t\t\techo \"no changes made to uEnv.txt\"\n\t\tfi\n\tfi\nfi\n\n\n\necho \"Using $DTB\"\n\n\n# make backup if not already one\nif [ -a \"$UENV.backup\" ]; then\n\techo \"backup of $UENV already exists\"\nelse\n\techo \"making backup copy of $UENV\"\n\tcp $UENV $UENV.backup\nfi\n\n# wipe the file clean with an echo\necho \" \" > $UENV\necho \"# this uEnv.txt created by configure_robotics_dt\" >> $UENV\necho \" \" >> $UENV\n\n# write in kernel name from last UENV file\n# if it's empty use currently booted kernel instead\nif [ ! \"$UNAME\" ]; then\n\techo \"uname_r=$KERNEL\" >> $UENV\n\techo \"Setting kernel $KERNEL to load on boot\"\nelse\n\techo \"Using previously listed kernel $UNAME\"\n\techo \"uname_r=$UNAME\" >> $UENV\nfi\n\n# write in the device tree name\necho dtb=$DTB >> $UENV\n\n# standard entry\necho cmdline=coherent_pool=1M >> $UENV\n\n\n\n\necho \"Robotics Cape Device Tree Configured and Installed\"\n\nexit 0\n", "text_preview": "#!/bin/bash OVERLAY=RoboticsCape TREE_BLACK_RC=am335x-boneblack-roboticscape.dtb TREE_BW_RC=am335x-boneblack-wireless-roboticscape.dtb UENV=/boot/uEnv.txt KERNEL=\"$(uname -r)\" UNAME=\"$(sed -n -e '/uname_r=/ s/.*\\= *//p' /boot/uEnv.txt)\" # g", "input_sha256": "d30686e49a85ac00ee14580dbf6ebf805b9eb016acbba3c7047aff65ab1a3f55", "text_sha256": "1006f9f94a854c8c61b3e4405d102d2d989d274c2c326ff5b4b4374e8c13153a", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 20034, "input_policy": "text-and-optional-url-v1", "label_policy_version": 12, "requested_model": "decision-models/baseten-mammoth-27b-latest", "backend": "baseten", "endpoint": "https://inference.baseten.co/v1/systemone", "status": "ok", "training_eligible": true, "label": {"primary": {"main_format": "Technical Writing", "sub_format": null}, "secondary": null, "tertiary": null, "content_structure": []}, "candidate_label": null, "topic": {"primary": {"main_topic": "Programming & Software Engineering", "sub_topic": null}, "secondary": null}, "scores": {"content_quality": 1, "noise_severity": 0, "missing_content_severity": 0, "factual_density": 3, "pretraining_utility": 0, "math_density": 0, "code_density": 4, "reasoning_density": 3, "education_level": 2, "creative_writing_quality": null}, "score_expectations": {"content_quality": 0.7457843151879184, "noise_severity": 0.0316361179749605, "missing_content_severity": 0.003555644969828211, "factual_density": 2.9184796214076143, "pretraining_utility": 0.3791524561680599, "math_density": 0.006766224951188504, "code_density": 3.8917110196580444, "reasoning_density": 2.198885558864243, "education_level": 2.399489803223324, "creative_writing_quality": -0.22561577833213237}, "api_choices": {"primary": "Technical Writing", "secondary": "NONE", "tertiary": "NONE", "education_level": "2", "creative_writing_quality": "not_applicable", "primary_topic": "Programming & Software Engineering", "secondary_topic": "NONE"}, "review_reasons": [], "format_slot_diagnostics": {"comparable": true, "secondary_tertiary_identical": false, "secondary_tertiary_max_abs_gap": 0.02684966532892763, "secondary_choice": "NONE", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.9847726077885508, "secondary": 0.9491402931428246, "tertiary": 0.9771573352251836, "structured_records": 0.009337677454195965, "procedural_steps": 0.14269571443421258, "worked_solution": 0.009118465458710229, "contextual_dialogue": 9.746901897849023e-06, "content_quality": 0.5051121004362, "noise_severity": 0.9736365683541995, "missing_content_severity": 0.9970369625251432, "factual_density": 0.4894718374657254, "pretraining_utility": 0.48451448840748956, "math_density": 0.994361479207343, "code_density": 0.9097591830483704, "reasoning_density": 0.09593609756324761, "education_level": 0.5408500555049427, "creative_writing_quality": 0.9987145293070331, "primary_topic": 0.7880903593931313, "secondary_topic": 0.3537947125258592}, "probability_margin": {"primary": 0.9746814270081, "secondary": 0.9282011660176066, "tertiary": 0.9672317211567064, "education_level": 0.308635559972365, "creative_writing_quality": 0.9983781275353769, "primary_topic": 0.6428774174661626, "secondary_topic": 0.06066454511680475}, "raw_probabilities": {"primary": {"Academic Writing": 5.572359363728332e-05, "Content Listing": 4.026449698262151e-05, "Creative Writing": 3.517328262775349e-05, "Customer Support Page": 4.0064551167832174e-05, "Q&A Forum": 2.394812960802143e-05, "Discussion Thread": 1.7570388410842205e-05, "Comment Section": 3.625323955694882e-05, "Missing Content": 3.833838944156198e-05, "Knowledge Article": 0.0001755299603578973, "Legal Notices": 4.377650843787641e-05, "News Article": 1.3446577617933232e-05, "Organizational Announcement": 2.4336349124694675e-05, "Nonfiction Writing": 2.4671522225705003e-05, "Organizational About Page": 3.0791589410930996e-05, "Personal About Page": 2.2473854862631793e-05, "Personal Blog": 1.5495539445260407e-05, "Product Page": 1.7508340257781605e-05, "Spam / Ads": 2.3956215878421065e-05, "Structured Data": 0.0002463227327469447, "Technical Writing": 0.9854070824640279, "Transcript / Interview": 3.6783798709247615e-05, "Tutorial / How-To Guide": 0.010725655455927857, "User Reviews": 1.5428910078885762e-05, "Other / Unknown": 0.0028894041094573246}, "secondary": {"Academic Writing": 0.00018271382256281914, "Content Listing": 9.912784335157586e-05, "Creative Writing": 0.0001601996537930362, "Customer Support Page": 0.00016909679781606507, "Q&A Forum": 7.185345723497053e-05, "Discussion Thread": 5.366180011501458e-05, "Comment Section": 0.00013427097973168296, "Missing Content": 0.00020332818181237287, "Knowledge Article": 0.0006433406829199872, "Legal Notices": 0.00021910169734632316, "News Article": 8.728222362021183e-05, "Organizational Announcement": 9.261124071225147e-05, "Nonfiction Writing": 8.548129586119961e-05, "Organizational About Page": 0.00010743993504082278, "Personal About Page": 8.375294353780361e-05, "Personal Blog": 7.459737122933677e-05, "Product Page": 6.331515933017118e-05, "Spam / Ads": 9.667063218176459e-05, "Structured Data": 0.0012014808465943693, "Technical Writing": 0.021684399992870123, "Transcript / Interview": 0.00011676355574421415, "Tutorial / How-To Guide": 0.02305828157760024, "User Reviews": 5.178071378691362e-05, "NONE": 0.9512594475952069}, "tertiary": {"Academic Writing": 9.71180571005468e-05, "Content Listing": 4.646686414641832e-05, "Creative Writing": 9.559788417503493e-05, "Customer Support Page": 0.00018904316437017238, "Q&A Forum": 3.658687421477041e-05, "Discussion Thread": 2.8909565400711873e-05, "Comment Section": 7.85141178159698e-05, "Missing Content": 0.00017176279287900553, "Knowledge Article": 0.0007314057617392169, "Legal Notices": 0.00029404717199719375, "News Article": 5.190738369125339e-05, "Organizational Announcement": 6.061912925549245e-05, "Nonfiction Writing": 7.756436739039316e-05, "Organizational About Page": 7.253786513128626e-05, "Personal About Page": 4.0481470556774116e-05, "Personal Blog": 4.321024340045044e-05, "Product Page": 3.915954068187856e-05, "Spam / Ads": 6.27725183441661e-05, "Structured Data": 0.0007381052750224498, "Technical Writing": 0.007962761455045504, "Transcript / Interview": 6.587870537076325e-05, "Tutorial / How-To Guide": 0.010877391767427835, "User Reviews": 2.9045100708472405e-05, "NONE": 0.9781091129241343}, "structured_records": {"false": 0.990662322545804, "true": 0.009337677454195965}, "procedural_steps": {"false": 0.8573042855657874, "true": 0.14269571443421258}, "worked_solution": {"false": 0.9908815345412898, "true": 0.009118465458710229}, "contextual_dialogue": {"false": 0.9999902530981022, "true": 9.746901897849023e-06}, "content_quality": {"-2": 0.011205920734130088, "-1": 0.05944442730055995, "0": 0.27153396534081053, "1": 0.48799078929226014, "2": 0.16982489733223918}, "noise_severity": {"0": 0.9718871797127654, "1": 0.025590777026040862, "2": 0.0018081649735934653, "3": 0.0004265021486681746, "4": 0.00028737613893204517}, "missing_content_severity": {"0": 0.997979832211699, "1": 0.0009045838045835707, "2": 0.0007776021782138137, "3": 0.0002560704131975701, "4": 8.191139230607564e-05}, "factual_density": {"0": 0.005823267993778035, "1": 0.04433479439772683, "2": 0.24093769403996992, "3": 0.44334753534415333, "4": 0.2655567082243718}, "pretraining_utility": {"-2": 0.008275395696869631, "-1": 0.103164287477737, "0": 0.43857555479139626, "1": 0.4011019890284583, "2": 0.04888277300553902}, "math_density": {"0": 0.9949662032901433, "1": 0.0042260055799664955, "2": 0.0002641341630173551, "3": 0.00016267682230423097, "4": 0.0003809801445686514}, "code_density": {"0": 0.00022957595971740587, "1": 0.00044416500717631515, "2": 0.00979823528288261, "3": 0.08644171091579173, "4": 0.9030863128344319}, "reasoning_density": {"0": 0.133095210528152, "1": 0.13002545481651495, "2": 0.2836590208124439, "3": 0.3113391929487162, "4": 0.14188112089417296}, "education_level": {"none": 0.0010746898598804273, "0": 0.0019784582434993507, "1": 0.0157955776445254, "2": 0.6173750462541189, "3": 0.30873948628175385, "4": 0.05503674171622222}, "creative_writing_quality": {"not_applicable": 0.9989287744225276, "-2": 8.929906177784656e-05, "-1": 0.0002672687928824621, "0": 0.0005506468871506779, "1": 0.00012384014731516176, "2": 4.0170688346146816e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 0.0001774719153442179, "Art & Design": 0.0003204110017308184, "Law & Crime": 0.00027688486850533647, "Education & Careers": 0.00013719644002798984, "Entertainment & Media": 0.00019879418687678664, "Fashion & Beauty": 0.00017986168378927834, "Business, Economics & Finance": 0.00021875214311661796, "Food & Dining": 0.0001542321862918521, "Games & Gaming": 0.00031462374095628004, "Electronics & Hardware": 0.15336331271954065, "Health, Healthcare & Wellness": 0.00021490277600406387, "History & Geography": 0.00024855815552628257, "Home, Pets & Hobbies": 0.0007339633628120033, "Industry & Production": 0.0005360529601452851, "Language, Literature & Philosophy": 0.00015857940386449285, "Politics & Government": 0.00012113618400169816, "Religion & Spirituality": 0.00016288153693934986, "Science, Mathematics & Engineering": 0.0011900024972097472, "Relationships & Community": 9.332309325874987e-05, "Software Usage & Applications": 0.043651762163632306, "Programming & Software Engineering": 0.7962407301857032, "Sports & Fitness": 0.0002665955740191991, "Vehicles & Transportation": 0.00020729552147429514, "Travel & Tourism": 0.00017651923227044006, "Other / Uncovered Subject": 0.0004336965629989619, "Unknown / Insufficient Content": 0.00022245990396019732}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0008062877177162772, "Art & Design": 0.0009331655790418846, "Law & Crime": 0.0007683576387180178, "Education & Careers": 0.0005361632839745703, "Entertainment & Media": 0.0007461192717178796, "Fashion & Beauty": 0.0004599656510484126, "Business, Economics & Finance": 0.0008634594094919472, "Food & Dining": 0.0005739865468982211, "Games & Gaming": 0.0011731579296306266, "Electronics & Hardware": 0.3179842169272907, "Health, Healthcare & Wellness": 0.0006894305193738014, "History & Geography": 0.0007096590658103264, "Home, Pets & Hobbies": 0.0020559502892537078, "Industry & Production": 0.0029963008826891144, "Language, Literature & Philosophy": 0.00037597500052967214, "Politics & Government": 0.0004113830243176642, "Religion & Spirituality": 0.0006188242447786879, "Science, Mathematics & Engineering": 0.0037622339577747643, "Relationships & Community": 0.00030017871937127995, "Software Usage & Applications": 0.10263505771922385, "Programming & Software Engineering": 0.1781195262700191, "Sports & Fitness": 0.0007805553927906092, "Vehicles & Transportation": 0.0007606933163299713, "Travel & Tourism": 0.000658474948433838, "Other / Uncovered Subject": 0.0016321146496797907, "NONE": 0.3786487620440954}}, "probabilities": {"primary": {"Academic Writing": 5.572359363728331e-05, "Content Listing": 4.0264496982621505e-05, "Creative Writing": 3.5173282627753486e-05, "Customer Support Page": 4.006455116783217e-05, "Q&A Forum": 2.3948129608021423e-05, "Discussion Thread": 1.7570388410842202e-05, "Comment Section": 3.6253239556948815e-05, "Missing Content": 3.833838944156197e-05, "Knowledge Article": 0.00017552996035789727, "Legal Notices": 4.3776508437876405e-05, "News Article": 1.3446577617933228e-05, "Organizational Announcement": 2.4336349124694668e-05, "Nonfiction Writing": 2.4671522225704996e-05, "Organizational About Page": 3.079158941093099e-05, "Personal About Page": 2.247385486263179e-05, "Personal Blog": 1.5495539445260403e-05, "Product Page": 1.7508340257781602e-05, "Spam / Ads": 2.3956215878421058e-05, "Structured Data": 0.00024632273274694465, "Technical Writing": 0.9854070824640276, "Transcript / Interview": 3.678379870924761e-05, "Tutorial / How-To Guide": 0.010725655455927855, "User Reviews": 1.542891007888576e-05, "Other / Unknown": 0.002889404109457324}, "secondary": {"Academic Writing": 0.0001827138225628191, "Content Listing": 9.912784335157583e-05, "Creative Writing": 0.00016019965379303618, "Customer Support Page": 0.00016909679781606504, "Q&A Forum": 7.185345723497051e-05, "Discussion Thread": 5.366180011501457e-05, "Comment Section": 0.00013427097973168293, "Missing Content": 0.00020332818181237282, "Knowledge Article": 0.0006433406829199871, "Legal Notices": 0.0002191016973463231, "News Article": 8.728222362021182e-05, "Organizational Announcement": 9.261124071225144e-05, "Nonfiction Writing": 8.54812958611996e-05, "Organizational About Page": 0.00010743993504082275, "Personal About Page": 8.37529435378036e-05, "Personal Blog": 7.459737122933676e-05, "Product Page": 6.331515933017117e-05, "Spam / Ads": 9.667063218176456e-05, "Structured Data": 0.001201480846594369, "Technical Writing": 0.02168439999287012, "Transcript / Interview": 0.00011676355574421412, "Tutorial / How-To Guide": 0.023058281577600235, "User Reviews": 5.1780713786913604e-05, "NONE": 0.9512594475952066}, "tertiary": {"Academic Writing": 9.71180571005468e-05, "Content Listing": 4.646686414641832e-05, "Creative Writing": 9.559788417503493e-05, "Customer Support Page": 0.00018904316437017238, "Q&A Forum": 3.658687421477041e-05, "Discussion Thread": 2.8909565400711873e-05, "Comment Section": 7.85141178159698e-05, "Missing Content": 0.00017176279287900553, "Knowledge Article": 0.0007314057617392169, "Legal Notices": 0.00029404717199719375, "News Article": 5.190738369125339e-05, "Organizational Announcement": 6.061912925549245e-05, "Nonfiction Writing": 7.756436739039316e-05, "Organizational About Page": 7.253786513128626e-05, "Personal About Page": 4.0481470556774116e-05, "Personal Blog": 4.321024340045044e-05, "Product Page": 3.915954068187856e-05, "Spam / Ads": 6.27725183441661e-05, "Structured Data": 0.0007381052750224498, "Technical Writing": 0.007962761455045504, "Transcript / Interview": 6.587870537076325e-05, "Tutorial / How-To Guide": 0.010877391767427835, "User Reviews": 2.9045100708472405e-05, "NONE": 0.9781091129241343}, "structured_records": {"false": 0.990662322545804, "true": 0.009337677454195965}, "procedural_steps": {"false": 0.8573042855657874, "true": 0.14269571443421258}, "worked_solution": {"false": 0.9908815345412898, "true": 0.009118465458710229}, "contextual_dialogue": {"false": 0.9999902530981022, "true": 9.746901897849023e-06}, "content_quality": {"-2": 0.01120592073413009, "-1": 0.05944442730055996, "0": 0.2715339653408106, "1": 0.4879907892922602, "2": 0.1698248973322392}, "noise_severity": {"0": 0.9718871797127655, "1": 0.025590777026040866, "2": 0.0018081649735934655, "3": 0.00042650214866817466, "4": 0.0002873761389320452}, "missing_content_severity": {"0": 0.997979832211699, "1": 0.0009045838045835707, "2": 0.0007776021782138137, "3": 0.0002560704131975701, "4": 8.191139230607564e-05}, "factual_density": {"0": 0.005823267993778036, "1": 0.044334794397726834, "2": 0.24093769403996995, "3": 0.4433475353441534, "4": 0.26555670822437183}, "pretraining_utility": {"-2": 0.00827539569686963, "-1": 0.10316428747773697, "0": 0.43857555479139615, "1": 0.4011019890284582, "2": 0.048882773005539004}, "math_density": {"0": 0.9949662032901433, "1": 0.0042260055799664955, "2": 0.0002641341630173551, "3": 0.00016267682230423097, "4": 0.0003809801445686514}, "code_density": {"0": 0.0002295759597174059, "1": 0.0004441650071763152, "2": 0.009798235282882612, "3": 0.08644171091579174, "4": 0.903086312834432}, "reasoning_density": {"0": 0.133095210528152, "1": 0.13002545481651495, "2": 0.2836590208124439, "3": 0.3113391929487162, "4": 0.14188112089417296}, "education_level": {"none": 0.001074689859880427, "0": 0.0019784582434993502, "1": 0.015795577644525396, "2": 0.6173750462541188, "3": 0.3087394862817538, "4": 0.05503674171622221}, "creative_writing_quality": {"not_applicable": 0.9989287744225277, "-2": 8.929906177784658e-05, "-1": 0.00026726879288246214, "0": 0.000550646887150678, "1": 0.00012384014731516179, "2": 4.017068834614682e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 0.0001774719153442179, "Art & Design": 0.0003204110017308184, "Law & Crime": 0.00027688486850533647, "Education & Careers": 0.00013719644002798984, "Entertainment & Media": 0.00019879418687678664, "Fashion & Beauty": 0.00017986168378927834, "Business, Economics & Finance": 0.00021875214311661796, "Food & Dining": 0.0001542321862918521, "Games & Gaming": 0.00031462374095628004, "Electronics & Hardware": 0.15336331271954065, "Health, Healthcare & Wellness": 0.00021490277600406387, "History & Geography": 0.00024855815552628257, "Home, Pets & Hobbies": 0.0007339633628120033, "Industry & Production": 0.0005360529601452851, "Language, Literature & Philosophy": 0.00015857940386449285, "Politics & Government": 0.00012113618400169816, "Religion & Spirituality": 0.00016288153693934986, "Science, Mathematics & Engineering": 0.0011900024972097472, "Relationships & Community": 9.332309325874987e-05, "Software Usage & Applications": 0.043651762163632306, "Programming & Software Engineering": 0.7962407301857032, "Sports & Fitness": 0.0002665955740191991, "Vehicles & Transportation": 0.00020729552147429514, "Travel & Tourism": 0.00017651923227044006, "Other / Uncovered Subject": 0.0004336965629989619, "Unknown / Insufficient Content": 0.00022245990396019732}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0008062877177162772, "Art & Design": 0.0009331655790418846, "Law & Crime": 0.0007683576387180178, "Education & Careers": 0.0005361632839745703, "Entertainment & Media": 0.0007461192717178796, "Fashion & Beauty": 0.0004599656510484126, "Business, Economics & Finance": 0.0008634594094919472, "Food & Dining": 0.0005739865468982211, "Games & Gaming": 0.0011731579296306266, "Electronics & Hardware": 0.3179842169272907, "Health, Healthcare & Wellness": 0.0006894305193738014, "History & Geography": 0.0007096590658103264, "Home, Pets & Hobbies": 0.0020559502892537078, "Industry & Production": 0.0029963008826891144, "Language, Literature & Philosophy": 0.00037597500052967214, "Politics & Government": 0.0004113830243176642, "Religion & Spirituality": 0.0006188242447786879, "Science, Mathematics & Engineering": 0.0037622339577747643, "Relationships & Community": 0.00030017871937127995, "Software Usage & Applications": 0.10263505771922385, "Programming & Software Engineering": 0.1781195262700191, "Sports & Fitness": 0.0007805553927906092, "Vehicles & Transportation": 0.0007606933163299713, "Travel & Tourism": 0.000658474948433838, "Other / Uncovered Subject": 0.0016321146496797907, "NONE": 0.3786487620440954}}, "probability_diagnostics": {"primary": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "secondary": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "tertiary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "structured_records": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "procedural_steps": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "worked_solution": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "contextual_dialogue": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "content_quality": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "noise_severity": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "missing_content_severity": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "factual_density": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "pretraining_utility": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "math_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "code_density": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "reasoning_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "education_level": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "creative_writing_quality": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "primary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}}, "usage": {"input_tokens": 9619, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 9619, "cached_share": null, "cache_discount_reported": null, "reported_cost_usd": null}, "response_metadata": {"model": "decision-models/baseten-mammoth-27b-latest"}, "scored_at_utc": "2026-10-25T18:31:09.875823+00:00", "scoring_key_slot": "primary", "dataset_uid": "800b7fc1-9fe9-4212-97a7-5c2f8f8e95f3", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "0e3a9b76960c4d93fe9d5d41843bba71a7cd953c951b1455ffb6ed02fde83629", "source_metadata": {"uuid": "800b7fc1-9fe9-4212-97a7-5c2f8f8e95f3", "repo_name": "beagleboard/librobotcontrol", "relative_path": "device_tree/configure_robotics_dt.sh", "category": "TOOL", "algo_rel_score": 0.9890891909599304, "quality_score": 3.62031626701355, "source_meta": {"github_metadata": {"branch": "main", "commit_count": 762, "repo_created_at": "2014-09-05T07:25:40.000Z", "is_fork": false, "is_org_owned": true, "forked_from": null, "stars": 206, "forks": 162, "issues": 45, "pull_requests": 9}, "file_meta": {"content_id": "6acea600b2284513832d6423e51b9fb252f86d87", "size_bytes": 3991, "file_timestamp": 1736210157, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "a399c2603968263581ab5bace8c4c77025db1328"}}, "parsed_source_meta": {"github_metadata": {"branch": "main", "commit_count": 762, "repo_created_at": "2014-09-05T07:25:40.000Z", "is_fork": false, "is_org_owned": true, "forked_from": null, "stars": 206, "forks": 162, "issues": 45, "pull_requests": 9}, "file_meta": {"content_id": "6acea600b2284513832d6423e51b9fb252f86d87", "size_bytes": 3991, "file_timestamp": 1736210157, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "a399c2603968263581ab5bace8c4c77025db1328", "url": "https://github.com/beagleboard/librobotcontrol/blob/a399c2603968263581ab5bace8c4c77025db1328/device_tree/configure_robotics_dt.sh"}, "gpt4o_tokens": 1065, "dataset_split": "shell", "probability_weighted_scores": {"content_quality": 0.7457843151879184, "noise_severity": 0.0316361179749605, "missing_content_severity": 0.003555644969828211, "factual_density": 2.9184796214076143, "pretraining_utility": 0.37915245616806, "math_density": 0.006766224951188504, "code_density": 3.8917110196580444, "reasoning_density": 2.198885558864243, "education_level": 2.399489803223324, "creative_writing_quality": -0.22561577833213237}, "score_applicability": {"education_level": 0.9989253101401195, "creative_writing_quality": 0.0010712255774722953}} {"source_group": "shell", "source": "openbmb/UltraData-Stack-v3-L2/shell", "domain": "github.com", "language": "shell", "url": "https://github.com/Ri7ay/RuC/blob/949487f4a336befb0e8b8760303c5c93ceabed83/scripts/test.sh", "id": "shell-0-7b30fa800181a655e974c9b4fe56e3db", "text": "#!/bin/bash\n\ninit()\n{\n\toutput_time=0.0\n\twait_for=2\n\tvm_release=master\n\n\ttest_dir=../tests\n\terror_dir=../tests/errors\n\texec_dir=../tests/executable\n\n\terror_subdir=errors\n\twarning_subdir=warnings\n\tinclude_subdir=include\n\n\twhile ! [[ -z $1 ]]\n\tdo\n\t\tcase \"$1\" in\n\t\t\t-h|--help)\n\t\t\t\techo -e \"Usage: ./${0##*/} [KEY] ...\"\n\t\t\t\techo -e \"Description:\"\n\t\t\t\techo -e \"\\tThis script tests all files from \\\"$test_dir\\\" directory.\"\n\t\t\t\techo -e \"\\tFolder \\\"$error_dir\\\" should contain tests with expected error.\"\n\t\t\t\techo -e \"\\tExecutable tests should be in \\\"$exec_dir\\\" directory.\"\n\t\t\t\techo -e \"\\tTo ignore invalid tests output, use \\\"*/$warning_subdir/*\\\" subdirectory.\"\n\t\t\t\techo -e \"\\tFor tests with expected runtime error, use \\\"*/$error_subdir/*\\\" subdirectory.\"\n\t\t\t\techo -e \"\\tFor multi-file tests, use \\\"*/$include_subdir/*\\\" subdirectory.\"\n\t\t\t\techo -e \"Keys:\"\n\t\t\t\techo -e \"\\t-h, --help\\tTo output help info.\"\n\t\t\t\techo -e \"\\t-s, --silence\\tFor silence testing.\"\n\t\t\t\techo -e \"\\t-i, --ignore\\tIgnore errors & executing stages.\"\n\t\t\t\techo -e \"\\t-d, --debug\\tSwitch on debug tracing.\"\n\t\t\t\techo -e \"\\t-v, --virtual\\tSet RuC virtual machine release.\"\n\t\t\t\techo -e \"\\t-o, --output\\tSet output printing time (default = 0.0).\"\n\t\t\t\techo -e \"\\t-w, --wait\\tSet waiting time for timeout result (default = 2).\"\n\t\t\t\texit 0\n\t\t\t\t;;\n\t\t\t-s|--silence)\n\t\t\t\tsilence=$1\n\t\t\t\t;;\n\t\t\t-i|--ignore)\n\t\t\t\tignore=$1\n\t\t\t\t;;\n\t\t\t-d|--debug)\n\t\t\t\tdebug=$1\n\t\t\t\t;;\n\t\t\t-v|--virtual)\n\t\t\t\tvm_release=$2\n\t\t\t\tshift\n\t\t\t\t;;\n\t\t\t-o|--output)\n\t\t\t\toutput_time=$2\n\t\t\t\tshift\n\t\t\t\t;;\n\t\t\t-w|--wait)\n\t\t\t\twait_for=$2\n\t\t\t\tshift\n\t\t\t\t;;\n\t\tesac\n\t\tshift\n\tdone\n\n\tsuccess=0\n\twarning=0\n\tfailure=0\n\ttimeout=0\n\n\tlog=tmp\n}\n\nbuild_vm()\n{\n\trm -rf ruc-vm\n\tgit clone -b $vm_release --recursive https://github.com/andrey-terekhov/RuC-VM ruc-vm\n\n\tcd ruc-vm\n\tmkdir -p build && cd build && cmake ..\n\tif ! cmake --build . --config Release ; then\n\t\texit 1\n\tfi\n\n\tcd ../..\n\tif [[ $OSTYPE == \"msys\" ]] ; then\n\t\truc_interpreter=./ruc-vm/build/Release/ruc-vm\n\telse\n\t\truc_interpreter=./ruc-vm/build/ruc-vm\n\tfi\n}\n\nbuild()\n{\n\tcd `dirname $0`/..\n\tmkdir -p build && cd build && cmake ..\n\tif ! cmake --build . --config Release ; then\n\t\texit 1\n\tfi\n\n\tif [[ $OSTYPE == \"msys\" ]] ; then\n\t\truc_compiler=./Release/ruc.exe\n\telse\n\t\truc_compiler=./ruc\n\tfi\n\n\tif [[ -z $ignore ]] ; then\n\t\tbuild_vm\n\tfi\n}\n\ninternal_timeout()\n{\n\tif [[ $OSTYPE == \"darwin\" ]] ; then\n\t\tgtimeout $@\n\telse\n\t\ttimeout $@\n\tfi\n}\n\nmessage_success()\n{\n\tif [[ -z $debug ]] ; then\n\t\tif [[ -z $silence ]] ; then\n\t\t\techo -e \"\\x1B[1;32m $action success \\x1B[1;39m: $path\"\n\t\t\tsleep $output_time\n\t\tfi\n\tfi\n}\n\nmessage_warning()\n{\n\tif [[ -z $silence ]] ; then\n\t\techo -e \"\\x1B[1;33m $action warning \\x1B[1;39m: $path\"\n\t\tsleep $output_time\n\tfi\n}\n\nmessage_timeout()\n{\n\tif [[ -z $silence ]] ; then\n\t\techo -e \"\\x1B[1;34m $action timeout \\x1B[1;39m: $path\"\n\t\tsleep $output_time\n\tfi\n}\n\nmessage_failure()\n{\n\tif [[ -z $silence ]] ; then\n\t\techo -e \"\\x1B[1;31m $action failure \\x1B[1;39m: $path\"\n\t\tsleep $output_time\n\tfi\n}\n\nexecution()\n{\n\tif [[ $path == $exec_dir/* ]] ; then\n\t\taction=\"execution\"\n\t\tinternal_timeout $wait_for $ruc_interpreter export.txt &>$log\n\n\t\tcase \"$?\" in\n\t\t\t0)\n\t\t\t\tif [[ $path == */$error_subdir/* ]] ; then\n\t\t\t\t\tmessage_failure\n\t\t\t\t\tlet failure++\n\t\t\t\telse\n\t\t\t\t\tmessage_success\n\t\t\t\t\tlet success++\n\t\t\t\tfi\n\t\t\t\t;;\n\t\t\t124|142)\n\t\t\t\tmessage_timeout\n\t\t\t\tlet timeout++\n\t\t\t\t;;\n\t\t\t139|134)\n\t\t\t\t# Segmentation fault\n\t\t\t\t# Double free or corruption (!prev)\n\n\t\t\t\tmessage_failure\n\t\t\t\tlet failure++\n\n\t\t\t\tif ! [[ -z $debug ]] ; then\n\t\t\t\t\tcat $log\n\t\t\t\tfi\n\t\t\t\t;;\n\t\t\t*)\n\t\t\t\tif [[ $path == */$error_subdir/* ]] ; then\n\t\t\t\t\tmessage_success\n\t\t\t\t\tlet success++\n\t\t\t\telse\n\t\t\t\t\tmessage_failure\n\t\t\t\t\tlet failure++\n\n\t\t\t\t\tif ! [[ -z $debug ]] ; then\n\t\t\t\t\t\tcat $log\n\t\t\t\t\tfi\n\t\t\t\tfi\n\t\t\t\t;;\n\t\tesac\n\telse\n\t\tlet success++\n\tfi\n}\n\ncheck_warnings()\n{\n\tif [[ $path == */$warning_subdir/* ]] ; then\n\t\tmessage_success\n\t\tlet success++\n\telse\n\t\tif [[ $OSTYPE == \"msys\" ]] ; then\n\t\t\tflag=`cat $log | iconv -c -f CP1251 -t UTF-8 | grep -c \"ошибка: \"`\n\t\telse\n\t\t\tflag=`grep -c \"ошибка: \" $log`\n\t\tfi\n\n\t\tif [[ $flag > 1 ]] ; then\n\t\t\tmessage_warning\n\t\t\tlet warning++\n\n\t\t\tif ! [[ -z $debug ]] ; then\n\t\t\t\tcat $log\n\t\t\tfi\n\t\telse\n\t\t\tmessage_success\n\t\t\tlet success++\n\t\tfi\n\tfi\n}\n\ncompiling()\n{\n\tif [[ -z $ignore || $path != $error_dir/* ]] ; then\n\t\taction=\"compiling\"\n\t\tinternal_timeout $wait_for $ruc_compiler $sources &>$log\n\n\t\tcase \"$?\" in\n\t\t\t0)\n\t\t\t\tif [[ $path == $error_dir/* ]] ; then\n\t\t\t\t\tmessage_failure\n\t\t\t\t\tlet failure++\n\t\t\t\telse\n\t\t\t\t\tmessage_success\n\n\t\t\t\t\tif [[ -z $ignore ]] ; then\n\t\t\t\t\t\texecution\n\t\t\t\t\telse\n\t\t\t\t\t\tlet success++\n\t\t\t\t\tfi\n\t\t\t\tfi\n\t\t\t\t;;\n\t\t\t124|142)\n\t\t\t\tmessage_timeout\n\t\t\t\tlet timeout++\n\t\t\t\t;;\n\t\t\t139|134)\n\t\t\t\t# Segmentation fault\n\t\t\t\t# Double free or corruption (!prev)\n\n\t\t\t\tmessage_failure\n\t\t\t\tlet failure++\n\n\t\t\t\tif ! [[ -z $debug ]] ; then\n\t\t\t\t\tcat $log\n\t\t\t\tfi\n\t\t\t\t;;\n\t\t\t*)\n\t\t\t\tif [[ $path == $error_dir/* ]] ; then\n\t\t\t\t\tcheck_warnings\n\t\t\t\telse\n\t\t\t\t\tmessage_failure\n\t\t\t\t\tlet failure++\n\n\t\t\t\t\tif ! [[ -z $debug ]] ; then\n\t\t\t\t\t\tcat $log\n\t\t\t\t\tfi\n\t\t\t\tfi\n\t\t\t\t;;\n\t\tesac\n\tfi\n}\n\ntest()\n{\n\t# Do not use names with spaces!\n\tfor path in `find $test_dir -name *.c`\n\tdo\n\t\tsources=$path\n\n\t\tif [[ $path != */$include_subdir/* ]] ; then\n\t\t\tcompiling\n\t\tfi\n\tdone\n\n\tfor include in `find $test_dir -name $include_subdir -type d`\n\tdo\n\t\tfor path in `ls -d $include/*`\n\t\tdo\n\t\t\tsources=`find $path -name *.c`\n\n\t\t\tfor subdir in `find $path -name *.h`\n\t\t\tdo\n\t\t\t\ttemp=`dirname $subdir`\n\t\t\t\tsources=\"$sources -I$temp\"\n\t\t\tdone\n\n\t\t\tcompiling\n\t\tdone\n\tdone\n\n\tif [[ -z $silence ]] ; then\n\t\techo\n\tfi\n\n\techo -e \"\\x1B[1;39m success = $success, warning = $warning, failure = $failure, timeout = $timeout\"\n\trm $log\n}\n\nmain()\n{\n\tinit $@\n\n\tbuild\n\ttest\n\n\tif [[ $failure != 0 || $timeout != 0 ]] ; then\n\t\texit 1\n\tfi\n\n\texit 0\n}\n\nmain $@", "text_preview": "#!/bin/bash init() { output_time=0.0 wait_for=2 vm_release=master test_dir=../tests error_dir=../tests/errors exec_dir=../tests/executable error_subdir=errors warning_subdir=warnings include_subdir=include while ! [[ -z $1 ]] do case \"$1\" i", "input_sha256": "2f146bc5abcc354b445f4fea5b642e6f02c52327b94e0a0b4bfc414fc870c3a7", "text_sha256": "7b30fa800181a655e974c9b4fe56e3db49720dba2921d3efd283a5e7e2834b00", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 20035, "input_policy": "text-and-optional-url-v1", "label_policy_version": 12, "requested_model": "decision-models/baseten-mammoth-27b-latest", "backend": "baseten", "endpoint": "https://inference.baseten.co/v1/systemone", "status": "ok", "training_eligible": true, "label": {"primary": {"main_format": "Technical Writing", "sub_format": null}, "secondary": null, "tertiary": null, "content_structure": []}, "candidate_label": null, "topic": {"primary": {"main_topic": "Programming & Software Engineering", "sub_topic": null}, "secondary": null}, "scores": {"content_quality": 1, "noise_severity": 0, "missing_content_severity": 0, "factual_density": 3, "pretraining_utility": 0, "math_density": 0, "code_density": 4, "reasoning_density": 0, "education_level": 2, "creative_writing_quality": null}, "score_expectations": {"content_quality": 0.8071091106743882, "noise_severity": 0.013409739470746343, "missing_content_severity": 0.0018957094527574708, "factual_density": 3.1093486556878935, "pretraining_utility": 0.3579278374456426, "math_density": 0.07320410702835548, "code_density": 3.915904773102092, "reasoning_density": 0.6627498024102606, "education_level": 2.2081746649371254, "creative_writing_quality": -0.16409685363621188}, "api_choices": {"primary": "Technical Writing", "secondary": "NONE", "tertiary": "NONE", "education_level": "2", "creative_writing_quality": "not_applicable", "primary_topic": "Programming & Software Engineering", "secondary_topic": "NONE"}, "review_reasons": [], "format_slot_diagnostics": {"comparable": true, "secondary_tertiary_identical": false, "secondary_tertiary_max_abs_gap": 0.0028465705427559752, "secondary_choice": "NONE", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.9924289669862716, "secondary": 0.958886586987332, "tertiary": 0.9582843032991608, "structured_records": 0.002994982365515871, "procedural_steps": 0.12650838480693294, "worked_solution": 0.0011280080511476397, "contextual_dialogue": 4.707006333493521e-06, "content_quality": 0.540889674775805, "noise_severity": 0.9888252171077114, "missing_content_severity": 0.9984202421227021, "factual_density": 0.46271548979929333, "pretraining_utility": 0.48926912695572733, "math_density": 0.9389965774763704, "code_density": 0.9299206442517433, "reasoning_density": 0.4477084979914495, "education_level": 0.690058879341525, "creative_writing_quality": 0.9987487027019892, "primary_topic": 0.9955457023942011, "secondary_topic": 0.9740462144663165}, "probability_margin": {"primary": 0.989244615404625, "secondary": 0.9426250381455203, "tertiary": 0.939201279068267, "education_level": 0.5386880615991558, "creative_writing_quality": 0.9983730107461667, "primary_topic": 0.9938017687215077, "secondary_topic": 0.9636462308694647}, "raw_probabilities": {"primary": {"Academic Writing": 5.509852193953701e-05, "Content Listing": 4.236296499810627e-05, "Creative Writing": 3.464423205592737e-05, "Customer Support Page": 3.162684348304963e-05, "Q&A Forum": 1.9406400163361798e-05, "Discussion Thread": 1.588558942609239e-05, "Comment Section": 2.438308514533793e-05, "Missing Content": 4.1166809454971535e-05, "Knowledge Article": 0.00013630449068370093, "Legal Notices": 5.8073527492601165e-05, "News Article": 9.597370888100938e-06, "Organizational Announcement": 2.2340293892045092e-05, "Nonfiction Writing": 2.2004964892437957e-05, "Organizational About Page": 2.3312489402665847e-05, "Personal About Page": 2.5966664178528455e-05, "Personal Blog": 1.5402157591721047e-05, "Product Page": 1.3551643349832532e-05, "Spam / Ads": 2.0032615138489392e-05, "Structured Data": 0.0002208302313843998, "Technical Writing": 0.9927444266951769, "Transcript / Interview": 3.174025832501688e-05, "Tutorial / How-To Guide": 0.0028776557289579025, "User Reviews": 1.4375131427574031e-05, "Other / Unknown": 0.0034998112905518727}, "secondary": {"Academic Writing": 0.00023334623332215738, "Content Listing": 0.00022289178954391827, "Creative Writing": 0.00018639706313259357, "Customer Support Page": 0.0018679577087486684, "Q&A Forum": 0.00011050750853761017, "Discussion Thread": 5.786119292572809e-05, "Comment Section": 0.00011391246922266905, "Missing Content": 0.00023141541829583363, "Knowledge Article": 0.0007765248521635584, "Legal Notices": 0.00016807803594922786, "News Article": 0.00010017808261861964, "Organizational Announcement": 0.000118727875037837, "Nonfiction Writing": 0.00010138746987881616, "Organizational About Page": 0.0001242843211587178, "Personal About Page": 0.00011163103388426866, "Personal Blog": 9.108774533070147e-05, "Product Page": 7.575184285363869e-05, "Spam / Ads": 0.00011927932525068815, "Structured Data": 0.0007023152822570515, "Technical Writing": 0.015713955791380078, "Transcript / Interview": 0.00014224299057470096, "Tutorial / How-To Guide": 0.017974607717339462, "User Reviews": 5.60123877336601e-05, "NONE": 0.9605996458628598}, "tertiary": {"Academic Writing": 0.00014969795876162702, "Content Listing": 0.00021025785528016347, "Creative Writing": 0.00013342719703261454, "Customer Support Page": 0.001625393864858833, "Q&A Forum": 7.077977741174809e-05, "Discussion Thread": 4.250469694059006e-05, "Comment Section": 8.189795789658316e-05, "Missing Content": 0.000177133906306657, "Knowledge Article": 0.0009252656232127851, "Legal Notices": 0.00017064052306107287, "News Article": 6.552730030091342e-05, "Organizational Announcement": 8.673302353448469e-05, "Nonfiction Writing": 0.00010131650064136978, "Organizational About Page": 0.00012269291700314064, "Personal About Page": 8.124659733582771e-05, "Personal Blog": 6.493442153935691e-05, "Product Page": 5.790887549416093e-05, "Spam / Ads": 9.617304349631782e-05, "Structured Data": 0.0005209056085169537, "Technical Writing": 0.014222540112837011, "Transcript / Interview": 0.0001080000958481843, "Tutorial / How-To Guide": 0.020821178260095437, "User Reviews": 4.138655423177038e-05, "NONE": 0.9600224573283624}, "structured_records": {"false": 0.9970050176344841, "true": 0.002994982365515871}, "procedural_steps": {"false": 0.8734916151930671, "true": 0.12650838480693294}, "worked_solution": {"false": 0.9988719919488523, "true": 0.0011280080511476397}, "contextual_dialogue": {"false": 0.9999952929936665, "true": 4.707006333493521e-06}, "content_quality": {"-2": 0.009360075431415872, "-1": 0.035319822778521776, "0": 0.2731917679460318, "1": 0.5031075833723195, "2": 0.1790207504717111}, "noise_severity": {"0": 0.9883755788550576, "1": 0.010463187164131001, "2": 0.0007319861515584206, "3": 0.0002344113135133887, "4": 0.00019483651573958365}, "missing_content_severity": {"0": 0.9989570536270868, "1": 0.00045772518796301015, "2": 0.0003665623830751612, "3": 0.0001697757088563323, "4": 4.8883093018785355e-05}, "factual_density": {"0": 0.009660612379142104, "1": 0.029104982632770234, "2": 0.18050457587351035, "3": 0.4036847951502066, "4": 0.3770450339643707}, "pretraining_utility": {"-2": 0.009045217594973487, "-1": 0.10938416991379528, "0": 0.44476226421387227, "1": 0.38821425400533305, "2": 0.04859409427202589}, "math_density": {"0": 0.9371507898855873, "1": 0.05802008806558621, "2": 0.0016654586533065181, "3": 0.0008015519259235521, "4": 0.0023621114695963927}, "code_density": {"0": 0.00023910804693836113, "1": 0.0004889335445039111, "2": 0.007827959322583906, "3": 0.06601607543147511, "4": 0.9254279236544988}, "reasoning_density": {"0": 0.6926565096413614, "1": 0.09210378507883651, "2": 0.11980541014531208, "3": 0.050701983497160555, "4": 0.044732311637329554}, "education_level": {"none": 0.0012601676285491632, "0": 0.0020872744078881383, "1": 0.03158636679780159, "2": 0.7417157327846041, "3": 0.20302767118544834, "4": 0.020322787195708573}, "creative_writing_quality": {"not_applicable": 0.9989572522516577, "-2": 8.763639174569594e-05, "-1": 0.00020308627602475552, "0": 0.0005842415054909473, "1": 0.0001283197152848281, "2": 3.946385979605332e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 5.1767186457412316e-05, "Art & Design": 5.233545964646947e-05, "Law & Crime": 5.373180477681072e-05, "Education & Careers": 4.940608762331209e-05, "Entertainment & Media": 3.677097426382278e-05, "Fashion & Beauty": 1.9170837439713913e-05, "Business, Economics & Finance": 4.431371476234325e-05, "Food & Dining": 2.8678928876111118e-05, "Games & Gaming": 0.00021061834578623432, "Electronics & Hardware": 0.0001828293048056564, "Health, Healthcare & Wellness": 2.967782258040893e-05, "History & Geography": 3.77016057960698e-05, "Home, Pets & Hobbies": 3.617628600133267e-05, "Industry & Production": 4.5349617682002886e-05, "Language, Literature & Philosophy": 9.403530501416473e-05, "Politics & Government": 2.4327435193978232e-05, "Religion & Spirituality": 4.03573516895599e-05, "Science, Mathematics & Engineering": 0.0006781666720942772, "Relationships & Community": 2.3024253534896973e-05, "Software Usage & Applications": 0.0019152528113780566, "Programming & Software Engineering": 0.9957170215328858, "Sports & Fitness": 5.755745168877454e-05, "Vehicles & Transportation": 2.528468761054329e-05, "Travel & Tourism": 4.972622237538612e-05, "Other / Uncovered Subject": 0.00036496879772476734, "Unknown / Insufficient Content": 0.00013174950231210536}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.00023006855397600252, "Art & Design": 0.0001605070859980005, "Law & Crime": 0.00020359427237294457, "Education & Careers": 0.00011427952327979984, "Entertainment & Media": 0.0001368741110137069, "Fashion & Beauty": 6.767948707478216e-05, "Business, Economics & Finance": 0.0001624856139352324, "Food & Dining": 7.450614160145195e-05, "Games & Gaming": 0.00030729975724939906, "Electronics & Hardware": 0.0003322425361186373, "Health, Healthcare & Wellness": 8.389886661613778e-05, "History & Geography": 7.808239894475004e-05, "Home, Pets & Hobbies": 7.023610329959584e-05, "Industry & Production": 7.89220831841235e-05, "Language, Literature & Philosophy": 0.00019667024004883668, "Politics & Government": 7.924253709112369e-05, "Religion & Spirituality": 0.0001096449012173417, "Science, Mathematics & Engineering": 0.0014332490178739952, "Relationships & Community": 4.9964631545652395e-05, "Software Usage & Applications": 0.008821654329392133, "Programming & Software Engineering": 0.011398206117378113, "Sports & Fitness": 9.083516582678024e-05, "Vehicles & Transportation": 4.407866497526668e-05, "Travel & Tourism": 0.0001359901993048153, "Other / Uncovered Subject": 0.0004953506738386049, "NONE": 0.9750444369868427}}, "probabilities": {"primary": {"Academic Writing": 5.5098521939536994e-05, "Content Listing": 4.236296499810626e-05, "Creative Writing": 3.4644232055927367e-05, "Customer Support Page": 3.1626843483049626e-05, "Q&A Forum": 1.9406400163361794e-05, "Discussion Thread": 1.5885589426092388e-05, "Comment Section": 2.4383085145337924e-05, "Missing Content": 4.116680945497153e-05, "Knowledge Article": 0.0001363044906837009, "Legal Notices": 5.807352749260115e-05, "News Article": 9.597370888100937e-06, "Organizational Announcement": 2.234029389204509e-05, "Nonfiction Writing": 2.2004964892437954e-05, "Organizational About Page": 2.331248940266584e-05, "Personal About Page": 2.5966664178528448e-05, "Personal Blog": 1.5402157591721044e-05, "Product Page": 1.3551643349832529e-05, "Spam / Ads": 2.003261513848939e-05, "Structured Data": 0.00022083023138439974, "Technical Writing": 0.9927444266951767, "Transcript / Interview": 3.174025832501687e-05, "Tutorial / How-To Guide": 0.002877655728957902, "User Reviews": 1.4375131427574028e-05, "Other / Unknown": 0.003499811290551872}, "secondary": {"Academic Writing": 0.00023334623332215738, "Content Listing": 0.00022289178954391827, "Creative Writing": 0.00018639706313259357, "Customer Support Page": 0.0018679577087486684, "Q&A Forum": 0.00011050750853761017, "Discussion Thread": 5.786119292572809e-05, "Comment Section": 0.00011391246922266905, "Missing Content": 0.00023141541829583363, "Knowledge Article": 0.0007765248521635584, "Legal Notices": 0.00016807803594922786, "News Article": 0.00010017808261861964, "Organizational Announcement": 0.000118727875037837, "Nonfiction Writing": 0.00010138746987881616, "Organizational About Page": 0.0001242843211587178, "Personal About Page": 0.00011163103388426866, "Personal Blog": 9.108774533070147e-05, "Product Page": 7.575184285363869e-05, "Spam / Ads": 0.00011927932525068815, "Structured Data": 0.0007023152822570515, "Technical Writing": 0.015713955791380078, "Transcript / Interview": 0.00014224299057470096, "Tutorial / How-To Guide": 0.017974607717339462, "User Reviews": 5.60123877336601e-05, "NONE": 0.9605996458628598}, "tertiary": {"Academic Writing": 0.00014969795876162702, "Content Listing": 0.00021025785528016347, "Creative Writing": 0.00013342719703261454, "Customer Support Page": 0.001625393864858833, "Q&A Forum": 7.077977741174809e-05, "Discussion Thread": 4.250469694059006e-05, "Comment Section": 8.189795789658316e-05, "Missing Content": 0.000177133906306657, "Knowledge Article": 0.0009252656232127851, "Legal Notices": 0.00017064052306107287, "News Article": 6.552730030091342e-05, "Organizational Announcement": 8.673302353448469e-05, "Nonfiction Writing": 0.00010131650064136978, "Organizational About Page": 0.00012269291700314064, "Personal About Page": 8.124659733582771e-05, "Personal Blog": 6.493442153935691e-05, "Product Page": 5.790887549416093e-05, "Spam / Ads": 9.617304349631782e-05, "Structured Data": 0.0005209056085169537, "Technical Writing": 0.014222540112837011, "Transcript / Interview": 0.0001080000958481843, "Tutorial / How-To Guide": 0.020821178260095437, "User Reviews": 4.138655423177038e-05, "NONE": 0.9600224573283624}, "structured_records": {"false": 0.9970050176344841, "true": 0.002994982365515871}, "procedural_steps": {"false": 0.8734916151930671, "true": 0.12650838480693294}, "worked_solution": {"false": 0.9988719919488523, "true": 0.0011280080511476397}, "contextual_dialogue": {"false": 0.9999952929936665, "true": 4.707006333493521e-06}, "content_quality": {"-2": 0.009360075431415872, "-1": 0.035319822778521776, "0": 0.2731917679460318, "1": 0.5031075833723195, "2": 0.1790207504717111}, "noise_severity": {"0": 0.9883755788550576, "1": 0.010463187164131001, "2": 0.0007319861515584206, "3": 0.0002344113135133887, "4": 0.00019483651573958365}, "missing_content_severity": {"0": 0.9989570536270868, "1": 0.00045772518796301015, "2": 0.0003665623830751612, "3": 0.0001697757088563323, "4": 4.8883093018785355e-05}, "factual_density": {"0": 0.009660612379142104, "1": 0.029104982632770234, "2": 0.18050457587351035, "3": 0.4036847951502066, "4": 0.3770450339643707}, "pretraining_utility": {"-2": 0.009045217594973487, "-1": 0.10938416991379528, "0": 0.44476226421387227, "1": 0.38821425400533305, "2": 0.04859409427202589}, "math_density": {"0": 0.9371507898855873, "1": 0.05802008806558621, "2": 0.0016654586533065181, "3": 0.0008015519259235521, "4": 0.0023621114695963927}, "code_density": {"0": 0.00023910804693836113, "1": 0.0004889335445039111, "2": 0.007827959322583906, "3": 0.06601607543147511, "4": 0.9254279236544988}, "reasoning_density": {"0": 0.6926565096413614, "1": 0.09210378507883651, "2": 0.11980541014531208, "3": 0.050701983497160555, "4": 0.044732311637329554}, "education_level": {"none": 0.0012601676285491634, "0": 0.0020872744078881387, "1": 0.0315863667978016, "2": 0.7417157327846042, "3": 0.20302767118544837, "4": 0.020322787195708576}, "creative_writing_quality": {"not_applicable": 0.9989572522516578, "-2": 8.763639174569595e-05, "-1": 0.00020308627602475554, "0": 0.0005842415054909474, "1": 0.00012831971528482812, "2": 3.946385979605333e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 5.1767186457412316e-05, "Art & Design": 5.233545964646947e-05, "Law & Crime": 5.373180477681072e-05, "Education & Careers": 4.940608762331209e-05, "Entertainment & Media": 3.677097426382278e-05, "Fashion & Beauty": 1.9170837439713913e-05, "Business, Economics & Finance": 4.431371476234325e-05, "Food & Dining": 2.8678928876111118e-05, "Games & Gaming": 0.00021061834578623432, "Electronics & Hardware": 0.0001828293048056564, "Health, Healthcare & Wellness": 2.967782258040893e-05, "History & Geography": 3.77016057960698e-05, "Home, Pets & Hobbies": 3.617628600133267e-05, "Industry & Production": 4.5349617682002886e-05, "Language, Literature & Philosophy": 9.403530501416473e-05, "Politics & Government": 2.4327435193978232e-05, "Religion & Spirituality": 4.03573516895599e-05, "Science, Mathematics & Engineering": 0.0006781666720942772, "Relationships & Community": 2.3024253534896973e-05, "Software Usage & Applications": 0.0019152528113780566, "Programming & Software Engineering": 0.9957170215328858, "Sports & Fitness": 5.755745168877454e-05, "Vehicles & Transportation": 2.528468761054329e-05, "Travel & Tourism": 4.972622237538612e-05, "Other / Uncovered Subject": 0.00036496879772476734, "Unknown / Insufficient Content": 0.00013174950231210536}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.00023006855397600252, "Art & Design": 0.0001605070859980005, "Law & Crime": 0.00020359427237294457, "Education & Careers": 0.00011427952327979984, "Entertainment & Media": 0.0001368741110137069, "Fashion & Beauty": 6.767948707478216e-05, "Business, Economics & Finance": 0.0001624856139352324, "Food & Dining": 7.450614160145195e-05, "Games & Gaming": 0.00030729975724939906, "Electronics & Hardware": 0.0003322425361186373, "Health, Healthcare & Wellness": 8.389886661613778e-05, "History & Geography": 7.808239894475004e-05, "Home, Pets & Hobbies": 7.023610329959584e-05, "Industry & Production": 7.89220831841235e-05, "Language, Literature & Philosophy": 0.00019667024004883668, "Politics & Government": 7.924253709112369e-05, "Religion & Spirituality": 0.0001096449012173417, "Science, Mathematics & Engineering": 0.0014332490178739952, "Relationships & Community": 4.9964631545652395e-05, "Software Usage & Applications": 0.008821654329392133, "Programming & Software Engineering": 0.011398206117378113, "Sports & Fitness": 9.083516582678024e-05, "Vehicles & Transportation": 4.407866497526668e-05, "Travel & Tourism": 0.0001359901993048153, "Other / Uncovered Subject": 0.0004953506738386049, "NONE": 0.9750444369868427}}, "probability_diagnostics": {"primary": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "secondary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "tertiary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "structured_records": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "procedural_steps": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "worked_solution": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "contextual_dialogue": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "content_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "noise_severity": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "missing_content_severity": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "factual_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "pretraining_utility": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "math_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "code_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "reasoning_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "education_level": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "creative_writing_quality": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "primary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}}, "usage": {"input_tokens": 10526, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 10526, "cached_share": null, "cache_discount_reported": null, "reported_cost_usd": null}, "response_metadata": {"model": "decision-models/baseten-mammoth-27b-latest"}, "scored_at_utc": "2026-10-25T18:31:09.941133+00:00", "scoring_key_slot": "assistant_1", "dataset_uid": "7ec3972e-e3de-4318-8d69-c990401c82f1", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "468630e21fb5c3858ab84d2b6aa72ed7b8b001bee0384e5ed2ede522ad2bd883", "source_metadata": {"uuid": "7ec3972e-e3de-4318-8d69-c990401c82f1", "repo_name": "Ri7ay/RuC", "relative_path": "scripts/test.sh", "category": "TOOL", "algo_rel_score": 0.9283350110054016, "quality_score": 4.018657207489014, "source_meta": {"github_metadata": {"branch": "master", "commit_count": 1108, "repo_created_at": "2020-12-29T06:57:22.000Z", "is_fork": true, "is_org_owned": false, "forked_from": "andrey-terekhov/RuC", "stars": 0, "forks": 0, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "43cf60af3725b0085244852b158ea1b665f534d2", "size_bytes": 5735, "file_timestamp": 1617217913, "language": "shell", "is_vendor": false, "license_type": "permissive", "detected_licenses": ["Apache-2.0"]}, "commit_id": "949487f4a336befb0e8b8760303c5c93ceabed83"}}, "parsed_source_meta": {"github_metadata": {"branch": "master", "commit_count": 1108, "repo_created_at": "2020-12-29T06:57:22.000Z", "is_fork": true, "is_org_owned": false, "forked_from": "andrey-terekhov/RuC", "stars": 0, "forks": 0, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "43cf60af3725b0085244852b158ea1b665f534d2", "size_bytes": 5735, "file_timestamp": 1617217913, "language": "shell", "is_vendor": false, "license_type": "permissive", "detected_licenses": ["Apache-2.0"]}, "commit_id": "949487f4a336befb0e8b8760303c5c93ceabed83", "url": "https://github.com/Ri7ay/RuC/blob/949487f4a336befb0e8b8760303c5c93ceabed83/scripts/test.sh"}, "gpt4o_tokens": 1915, "dataset_split": "shell", "probability_weighted_scores": {"content_quality": 0.8071091106743882, "noise_severity": 0.013409739470746343, "missing_content_severity": 0.0018957094527574708, "factual_density": 3.1093486556878935, "pretraining_utility": 0.3579278374456426, "math_density": 0.07320410702835548, "code_density": 3.915904773102092, "reasoning_density": 0.6627498024102606, "education_level": 2.2081746649371254, "creative_writing_quality": -0.16409685363621188}, "score_applicability": {"education_level": 0.9987398323714509, "creative_writing_quality": 0.0010427477483422804}} {"source_group": "shell", "source": "openbmb/UltraData-Stack-v3-L2/shell", "domain": "github.com", "language": "shell", "url": "https://github.com/reven-tang/shell/blob/c3f128fee1512d7b42184e5a913ac67c96a8d94a/fdfs.sh", "id": "shell-0-971c6bd249384f674786f62a04b5daa0", "text": "#!/bin/bash\n\n##############################################################################\n# 脚本名称: fdfs.sh \n# 版本:3.00 \n# 语言:bash shell \n# 日期:2017-09-30 \n# 作者:Reven \n# QQ:254674563\n##############################################################################\n\n# 颜色定义\nred='\\e[91m'\ngreen='\\e[92m'\nyellow='\\e[93m'\nnone='\\e[0m'\n\n# 定义脚本环境变量\nPACKAGE_NAME=${1}\nPACKAGES_DIR=\"/usr/local/script\"\nPACKAGE_DIR=\"/usr/local/script/${1}\"\nSHELL_DIR=\"/usr/local/script/${1}\"\nDOWNLOAD_URL=\"http://192.168.124.169:86/software/${1}\"\nENV_DIR=\"/etc/profile\"\nACTIVE=1 # 1:部署 2:卸载 3:回滚 \nACTIVE_TIME=`date '+%Y-%m-%d'`\n\nMENU_CHOOSE=$2\nIS_DOWNLOAD=$3\nTRACKER_SERVER_IP=$4\nTRACKER_SERVER_PORT=$5\nTRACKER_BASE_PATH=$6\nTRACKER_HTTP_PORT=$7\n\nRevenRE_SERVER_PORT=$8\nRevenRE_BASE_PATH=$9\nRevenRE_PATH_COUNT=${10}\nRevenRE_PATH=${11}\nRevenRE_HTTP_PORT=${12}\n\nMOD_BASE_PATH=${13}\n\nGROUP_NAME=1\n# GROUP_NAME=1,此参数不要修改,如果需要添加组,请手工修改Revenrage配置。\n\n#--------------------------------- 基础模块 ---------------------------------#\n# 检查命令是否正确运行\ncheck_ok() {\n\n if [ $? != 0 ] ; then\n echo -e \"${red}[*] Error! Error! Error! Please check the error info. ${none}\"\n exit 1\n fi\n}\n\n# 如果包已经安装,则提示并跳过安装.\nmyum() {\n\n if ! rpm -qa | grep -q \"^$1\" ; then\n yum install -y $1\n check_ok\n else\n echo $1 already installed\n fi\n}\n\n# 添加用户\ncreate_user() {\n\n if ! grep \"^$1:\" /etc/passwd ; then\n useradd $1\n echo \"$1\" | passwd \"$1\" --stdin &>/dev/null\n check_ok\n else\n echo $1 already exist!\n fi\n}\n\n# 确保目录存在\ndir_exists() {\n\n [ ! -d \"$1\" ] && mkdir -p $1\n}\n\npkg_download() {\n\n if [[ ${IS_DOWNLOAD} = \"Y\" || ${IS_DOWNLOAD} = \"y\" ]]; then\n echo -e \"${green}正在下载软件,请稍等...${none}\"\n # 创建介质存放目录\n mkdir -p ${PACKAGE_DIR}\n wget -P ${PACKAGE_DIR} -r -np -nd -nH -R index.html -q ${DOWNLOAD_URL}\"/\"\n check_ok\n fi\n}\n\n#--------------------------------- 程序模块 ---------------------------------#\n# 安装FastDFS\ninstall_fdfs() {\n\n pkg_download\n\n echo \"开始安装依赖包...\"\n for p in make cmake gcc gcc-c++; do\n myum $p\n done\n\n echo \"开始安装libfatscommon...\"\n cd ${PACKAGE_DIR}\n unzip libfastcommon-master.zip && cd libfastcommon-master\n sh make.sh && sh make.sh install\n check_ok\n\n # libfastcommon安装好后会自动将库文件拷贝至/usr/lib64下\n # 由于FastDFS程序引用usr/lib目录所以需要将/usr/lib64下的库文件拷贝至/usr/lib下\n cp /usr/lib64/libfastcommon.so /usr/lib\n check_ok\n\n echo \"开始安装FastDFS...\"\n cd ${PACKAGE_DIR} \n unzip fastdfs-master.zip && cd fastdfs-master\n sh make.sh && sh make.sh install\n check_ok\n}\n\n# 配置跟踪节点\ntracker_conf() {\n # 复制tracker样例配置文件并重命名\n cp -a /etc/fdfs/tracker.conf.sample /etc/fdfs/tracker.conf\n # 启用tracker配置文件\n sed -i \"/^disabled/s/^/#/g\" /etc/fdfs/tracker.conf\n sed -i \"/\\#disabled/a\\disabled=false\" /etc/fdfs/tracker.conf\n\n # 修改tracker服务端口\n sed -i \"/^port=/s/^/#/g\" /etc/fdfs/tracker.conf\n sed -i \"/\\#port=/a\\port=${TRACKER_SERVER_PORT}\" /etc/fdfs/tracker.conf\n\n # 修改存储日志和数据的根目录\n sed -i \"/^base_path/s/^/#/g\" /etc/fdfs/tracker.conf\n sed -i \"/\\#base_path/a\\base_path=${TRACKER_BASE_PATH}\" /etc/fdfs/tracker.conf\n # 创建base_path指定的目录\n [ ! -d ${TRACKER_BASE_PATH} ] && mkdir -p ${TRACKER_BASE_PATH}\n\n # 修改tracker的http服务端口\n sed -i \"/^http.server_port/s/^/#/g\" /etc/fdfs/tracker.conf\n sed -i \"/\\#http.server_port/a\\http.server_port=${TRACKER_HTTP_PORT}\" /etc/fdfs/tracker.conf\n\n # 启动tracker服务,启动后在${TRACKER_BASE_PATH}目录下会自动生成logs、data两个目录\n # /etc/init.d/fdfs_trackerd start\n}\n\n# 配置存储节点\nRevenrage_conf() {\n # 复制Revenrage样例配置文件并重命名\n cp -a /etc/fdfs/Revenrage.conf.sample /etc/fdfs/Revenrage.conf\n # 启用Revenrage配置文件\n sed -i \"/^disabled/s/^/#/g\" /etc/fdfs/Revenrage.conf\n sed -i \"/\\#disabled/a\\disabled=false\" /etc/fdfs/Revenrage.conf\n\n # 修改Revenrage服务端口\n sed -i \"/^port=/s/^/#/g\" /etc/fdfs/Revenrage.conf\n sed -i \"/\\#port=/a\\port=${RevenRE_SERVER_PORT}\" /etc/fdfs/Revenrage.conf\n\n # 修改存储日志和数据的根目录\n sed -i \"/^base_path/s/^/#/g\" /etc/fdfs/Revenrage.conf\n sed -i \"/\\#base_path/a\\base_path=${RevenRE_BASE_PATH}\" /etc/fdfs/Revenrage.conf\n # 创建base_path指定的目录\n [ ! -d ${RevenRE_BASE_PATH} ] && mkdir -p ${RevenRE_BASE_PATH}\n \n # 修改存储路径的个数\n sed -i \"s/^Revenre_path_count=1/Revenre_path_count=${RevenRE_PATH_COUNT}/\" /etc/fdfs/Revenrage.conf\n\n # 配置存储路径,需要和上面的个数保持一致。\n sed -i \"/^Revenre_path0/s/^/#/g\" /etc/fdfs/Revenrage.conf\n for ((i=0; i<${RevenRE_PATH_COUNT}; i++)); do\n j=`expr $i + 1`\n k=`expr $i - 1`\n if [ $i -eq 0 ]; then\n sed -i \"/\\#Revenre_path0/a\\Revenre_path0=${RevenRE_PATH}$j/fastdfs/\" /etc/fdfs/Revenrage.conf\n else\n sed -i \"/^Revenre_path$k/a\\Revenre_path$i=${RevenRE_PATH}$j/fastdfs/\" /etc/fdfs/Revenrage.conf\n fi\n sleep 1\n\n # 创建存储目录\n [ ! -d ${RevenRE_PATH} ] && mkdir -p ${RevenRE_PATH}\n done\n\n # 配置Revenrage服务器IP和端口\n sed -i \"/^tracker_server/s/^/#/g\" /etc/fdfs/Revenrage.conf\n sed -i \"/\\#tracker_server/a\\tracker_server=${TRACKER_SERVER_IP}:${TRACKER_SERVER_PORT}\" /etc/fdfs/Revenrage.conf\n\n # 修改Revenrage的http服务端口\n sed -i \"/^http.server_port/s/^/#/g\" /etc/fdfs/Revenrage.conf\n sed -i \"/\\#http.server_port/a\\http.server_port=${RevenRE_HTTP_PORT}\" /etc/fdfs/Revenrage.conf\n\n # 启动Revenrage服务,启动后在${TRACKER_BASE_PATH}目录下会自动生成logs、data两个目录\n # /etc/init.d/fdfs_Revenraged start\n}\n\n# 接下来还需要把fastdfs-nginx-module安装目录中src目录下的mod_fastdfs.conf也拷贝到Revenrage服务器的/etc/fdfs目录下\nmod_fastdfs_conf() {\n # 拷贝mod_fastdfs.conf到/etc/fdfs目录下\n unzip ${PACKAGE_DIR}/fastdfs-nginx-module-master.zip -d ${PACKAGE_DIR}\n cp ${PACKAGE_DIR}/fastdfs-nginx-module-master/src/mod_fastdfs.conf /etc/fdfs/\n check_ok\n\n # 修改存储日志和数据的根目录\n sed -i \"/^base_path/s/^/#/g\" /etc/fdfs/mod_fastdfs.conf\n sed -i \"/\\#base_path/a\\base_path=${MOD_BASE_PATH}\" /etc/fdfs/mod_fastdfs.conf\n # 创建base_path指定的目录\n [ ! -d ${MOD_BASE_PATH} ] && mkdir -p ${MOD_BASE_PATH}\n\n # 配置tracker服务器IP和端口\n sed -i \"/^tracker_server/s/^/#/g\" /etc/fdfs/mod_fastdfs.conf\n sed -i \"/\\#tracker_server/a\\tracker_server=${TRACKER_SERVER_IP}:${TRACKER_SERVER_PORT}\" /etc/fdfs/mod_fastdfs.conf\n\n # 修改Revenrage服务端口\n sed -i \"s/^Revenrage_server_port=23000/Revenrage_server_port=${RevenRE_SERVER_PORT}/\" /etc/fdfs/mod_fastdfs.conf\n\n # 修改本地Revenrage服务组名称\n sed -i \"s/^group_name=group1/group_name=group${GROUP_NAME}/\" /etc/fdfs/mod_fastdfs.conf\n\n # 配置在url地址中加入组名称,即有原来的/M00/00/00/xxx更改为${group_name}/M00/00/00/xxx\n sed -i \"s/^url_have_group_name = false/url_have_group_name = true/\" /etc/fdfs/mod_fastdfs.conf\n\n # 修改存储路径的个数\n sed -i \"s/^Revenre_path_count=1/Revenre_path_count=${RevenRE_PATH_COUNT}/\" /etc/fdfs/mod_fastdfs.conf\n\n # 配置存储路径,需要和上面的个数保持一致。\n cat /etc/fdfs/Revenrage.conf | grep -E '^Revenre_path[0-9]' > ${PACKAGE_DIR}/Revenre_path_str\n sed -i \"/^Revenre_path0/s/^/#/\" /etc/fdfs/mod_fastdfs.conf\n sed -i \"/^Revenre_path_count=${RevenRE_PATH_COUNT}/r ${PACKAGE_DIR}/Revenre_path_str\" /etc/fdfs/mod_fastdfs.conf\n\n # 在mod_fastdfs.conf文件尾部追加这组设置\n echo \"[group${GROUP_NAME}]\" >> /etc/fdfs/mod_fastdfs.conf\n echo \"group_name=group${GROUP_NAME}\" >> /etc/fdfs/mod_fastdfs.conf\n echo \"Revenrage_server_port=${RevenRE_SERVER_PORT}\" >> /etc/fdfs/mod_fastdfs.conf\n echo \"Revenre_path_count=${RevenRE_PATH_COUNT}\" >> /etc/fdfs/mod_fastdfs.conf\n cat /etc/fdfs/Revenrage.conf | grep -E '^Revenre_path[0-9]' >> /etc/fdfs/mod_fastdfs.conf\n}\n\n#--------------------------------- 部署选择 ---------------------------------#\ncase \"${MENU_CHOOSE}\" in\n 1|tracker)\n install_fdfs\n tracker_conf\n ;;\n 2|Revenrage)\n install_fdfs\n Revenrage_conf\n mod_fastdfs_conf\n ;;\n *)\n echo $\"Usage: $0 {install_tracker | install_Revenrage } \"\n exit 1\n ;;\nesac", "text_preview": "#!/bin/bash ############################################################################## # 脚本名称: fdfs.sh # 版本:3.00 # 语言:bash shell # 日期:2017-09-30 # 作者:Reven # QQ:254674563 #################################################################", "input_sha256": "eea496aa830758676991218181025c8e9beb102a2376fc3da7f97f509ae2f09a", "text_sha256": "971c6bd249384f674786f62a04b5daa07c9ec3b051dfd7e032437636fddb43d2", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 20036, "input_policy": "text-and-optional-url-v1", "label_policy_version": 12, "requested_model": "decision-models/baseten-mammoth-27b-latest", "backend": "baseten", "endpoint": "https://inference.baseten.co/v1/systemone", "status": "ok", "training_eligible": true, "label": {"primary": {"main_format": "Technical Writing", "sub_format": null}, "secondary": null, "tertiary": null, "content_structure": []}, "candidate_label": null, "topic": {"primary": {"main_topic": "Programming & Software Engineering", "sub_topic": null}, "secondary": null}, "scores": {"content_quality": 1, "noise_severity": 0, "missing_content_severity": 0, "factual_density": 3, "pretraining_utility": 1, "math_density": 0, "code_density": 4, "reasoning_density": 0, "education_level": 2, "creative_writing_quality": null}, "score_expectations": {"content_quality": 0.2769813972611151, "noise_severity": 0.13046287810780632, "missing_content_severity": 0.013333323267716118, "factual_density": 3.316275981391339, "pretraining_utility": 0.5096902558890273, "math_density": 0.1663951601072823, "code_density": 3.8033372485349095, "reasoning_density": 0.5457771879104539, "education_level": 2.245455968720478, "creative_writing_quality": -0.31377575499958504}, "api_choices": {"primary": "Technical Writing", "secondary": "NONE", "tertiary": "NONE", "education_level": "2", "creative_writing_quality": "not_applicable", "primary_topic": "Programming & Software Engineering", "secondary_topic": "NONE"}, "review_reasons": [], "format_slot_diagnostics": {"comparable": true, "secondary_tertiary_identical": false, "secondary_tertiary_max_abs_gap": 0.022471972883798652, "secondary_choice": "NONE", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.9586846493785931, "secondary": 0.8908481903219083, "tertiary": 0.9142972055050026, "structured_records": 0.013202566576193609, "procedural_steps": 0.51568970388665, "worked_solution": 0.002963555711436503, "contextual_dialogue": 6.455620598397728e-06, "content_quality": 0.27127327930555456, "noise_severity": 0.8912809349101614, "missing_content_severity": 0.9888888972769032, "factual_density": 0.5279674611281543, "pretraining_utility": 0.4997687711278411, "math_density": 0.8613373665772648, "code_density": 0.8361143737790914, "reasoning_density": 0.5451856767412884, "education_level": 0.644120364110309, "creative_writing_quality": 0.9978189755465501, "primary_topic": 0.9461920678114407, "secondary_topic": 0.7586150852996445}, "probability_margin": {"primary": 0.927193417194422, "secondary": 0.8352542886394106, "tertiary": 0.8721340041470313, "education_level": 0.450444471610719, "creative_writing_quality": 0.997281871421978, "primary_topic": 0.899751551636225, "secondary_topic": 0.5948042552775088}, "raw_probabilities": {"primary": {"Academic Writing": 0.00013614609768073982, "Content Listing": 0.00013333376381327933, "Creative Writing": 0.00010933977490630562, "Customer Support Page": 9.361758769523534e-05, "Q&A Forum": 6.899926780854758e-05, "Discussion Thread": 5.687865280641713e-05, "Comment Section": 9.640509111106938e-05, "Missing Content": 0.00011000555325643637, "Knowledge Article": 0.00030476526865204785, "Legal Notices": 9.591849463713218e-05, "News Article": 3.9274050865056616e-05, "Organizational Announcement": 6.303288494502555e-05, "Nonfiction Writing": 6.763660414298309e-05, "Organizational About Page": 8.045991028439331e-05, "Personal About Page": 8.233014786429377e-05, "Personal Blog": 5.082544024519387e-05, "Product Page": 4.753005748555704e-05, "Spam / Ads": 7.083210795080243e-05, "Structured Data": 0.0003736983354601876, "Technical Writing": 0.9604061223211517, "Transcript / Interview": 9.131020165095663e-05, "Tutorial / How-To Guide": 0.03321270512672968, "User Reviews": 4.491157016818335e-05, "Other / Unknown": 0.004163921688688628}, "secondary": {"Academic Writing": 0.0004046601771400698, "Content Listing": 0.0002767160089194645, "Creative Writing": 0.00028885937780838655, "Customer Support Page": 0.0003029660771110286, "Q&A Forum": 0.00015803745446108254, "Discussion Thread": 0.00013680158586065966, "Comment Section": 0.00037490034376994665, "Missing Content": 0.0006513924667758572, "Knowledge Article": 0.0019380936125711168, "Legal Notices": 0.0007129864950208485, "News Article": 0.00018356817160355488, "Organizational Announcement": 0.00021133615159335181, "Nonfiction Writing": 0.0002003008733655288, "Organizational About Page": 0.000233933707436031, "Personal About Page": 0.000526352617493887, "Personal Blog": 0.00024131882229810753, "Product Page": 0.00015979188809905448, "Spam / Ads": 0.00026567028772871945, "Structured Data": 0.0013384022147244741, "Technical Writing": 0.0355019627352206, "Transcript / Interview": 0.00024173250713142437, "Tutorial / How-To Guide": 0.06014189375241817, "User Reviews": 0.0001121402796198286, "NONE": 0.8953961823918288}, "tertiary": {"Academic Writing": 0.0002646806132460831, "Content Listing": 0.00018331197820038202, "Creative Writing": 0.00025219007489456815, "Customer Support Page": 0.00025014245704630355, "Q&A Forum": 9.29873352657129e-05, "Discussion Thread": 9.291446917139943e-05, "Comment Section": 0.0003093407493196799, "Missing Content": 0.0007847498248186105, "Knowledge Article": 0.002310081912266139, "Legal Notices": 0.001450880733483062, "News Article": 0.00012474429999077805, "Organizational Announcement": 0.0001910914400974252, "Nonfiction Writing": 0.0001614881682655416, "Organizational About Page": 0.000265655099773565, "Personal About Page": 0.0017776587774022414, "Personal Blog": 0.0002724220415140289, "Product Page": 0.00011812991726887966, "Spam / Ads": 0.0002233627245393021, "Structured Data": 0.0017066980343040626, "Technical Writing": 0.025304582119552277, "Transcript / Interview": 0.00018156620120623906, "Tutorial / How-To Guide": 0.04573415112859618, "User Reviews": 7.901462415001309e-05, "NONE": 0.9178681552756275}, "structured_records": {"false": 0.9867974334238064, "true": 0.013202566576193609}, "procedural_steps": {"false": 0.48431029611334997, "true": 0.51568970388665}, "worked_solution": {"false": 0.9970364442885635, "true": 0.002963555711436503}, "contextual_dialogue": {"false": 0.9999935443794016, "true": 6.455620598397728e-06}, "content_quality": {"-2": 0.03078898112057482, "-1": 0.17323519091231737, "0": 0.35990800859975053, "1": 0.36034108832013234, "2": 0.07572673104722487}, "noise_severity": {"0": 0.88510385794958, "1": 0.10312362724448788, "2": 0.009001222646883996, "3": 0.0017483630666419439, "4": 0.0010229290924061538}, "missing_content_severity": {"0": 0.9916555174442658, "1": 0.004723189831683377, "2": 0.0025380071565427927, "3": 0.0007990231470845046, "4": 0.0002842624204234098}, "factual_density": {"0": 0.0030361666381669163, "1": 0.0069757881690928805, "2": 0.10202145637475162, "3": 0.446609074799212, "4": 0.44135751401877665}, "pretraining_utility": {"-2": 0.011657847794919149, "-1": 0.07333972081446394, "0": 0.36364062436509637, "1": 0.49637794175771155, "2": 0.05498386526780897}, "math_density": {"0": 0.8548440975191774, "1": 0.13284421030641103, "2": 0.007124644801968099, "3": 0.0014465292928377812, "4": 0.003740518079605426}, "code_density": {"0": 0.0004050348265222819, "1": 0.0007790690638155461, "2": 0.01459686501061245, "3": 0.16351167494632965, "4": 0.82070735615272}, "reasoning_density": {"0": 0.6200976506635747, "1": 0.24231599614781157, "2": 0.1157407700471415, "3": 0.015402680897529403, "4": 0.006442902243942777}, "education_level": {"none": 0.0015483532898087134, "0": 0.0029844735790650065, "1": 0.026677681425087606, "2": 0.7034336367585908, "3": 0.25298916514787184, "4": 0.012366689799576}, "creative_writing_quality": {"not_applicable": 0.998182479622125, "-2": 0.00019707509310841787, "-1": 0.0004795238503065956, "0": 0.000900608200147037, "1": 0.00017724626089719655, "2": 6.306697341569665e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 9.889921291486314e-05, "Art & Design": 0.00014012425007684282, "Law & Crime": 0.00013645156272934088, "Education & Careers": 8.988008171714596e-05, "Entertainment & Media": 7.972740058032227e-05, "Fashion & Beauty": 0.00011793058082416878, "Business, Economics & Finance": 0.00015611698423271484, "Food & Dining": 7.734190637892828e-05, "Games & Gaming": 0.00012415273609635798, "Electronics & Hardware": 0.00042596873986277785, "Health, Healthcare & Wellness": 7.099837693751686e-05, "History & Geography": 0.00010078180220156288, "Home, Pets & Hobbies": 8.99485093794084e-05, "Industry & Production": 0.0001550435845908874, "Language, Literature & Philosophy": 8.976311225251036e-05, "Politics & Government": 6.256213512592888e-05, "Religion & Spirituality": 7.634547974481664e-05, "Science, Mathematics & Engineering": 0.0003272889232087302, "Relationships & Community": 5.574616105473576e-05, "Software Usage & Applications": 0.04851005202862181, "Programming & Software Engineering": 0.9482616036648468, "Sports & Fitness": 0.00010754072875686115, "Vehicles & Transportation": 9.111061536010735e-05, "Travel & Tourism": 8.994855227021022e-05, "Other / Uncovered Subject": 0.00034150650327612655, "Unknown / Insufficient Content": 0.00012316636695847852}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.000690853466659516, "Art & Design": 0.00048697881194451775, "Law & Crime": 0.0005562318623228602, "Education & Careers": 0.00037419057404510664, "Entertainment & Media": 0.0004524238080467112, "Fashion & Beauty": 0.00033419249098273464, "Business, Economics & Finance": 0.0006368538673346797, "Food & Dining": 0.0002699508789334269, "Games & Gaming": 0.00039109719417268745, "Electronics & Hardware": 0.0011988878195655802, "Health, Healthcare & Wellness": 0.0003061575228234531, "History & Geography": 0.00032881432830576146, "Home, Pets & Hobbies": 0.0003165477374722883, "Industry & Production": 0.0003866723985940633, "Language, Literature & Philosophy": 0.00022562511854402222, "Politics & Government": 0.0002510541705956892, "Religion & Spirituality": 0.0003325007678447511, "Science, Mathematics & Engineering": 0.0008217587627202587, "Relationships & Community": 0.00018620660231713078, "Software Usage & Applications": 0.17309486520291859, "Programming & Software Engineering": 0.048779248788675046, "Sports & Fitness": 0.00025387753290404095, "Vehicles & Transportation": 0.00018996378302282396, "Travel & Tourism": 0.0004148652375147058, "Other / Uncovered Subject": 0.0008210607913120966, "NONE": 0.7678991204804274}}, "probabilities": {"primary": {"Academic Writing": 0.00013614609768073985, "Content Listing": 0.00013333376381327935, "Creative Writing": 0.00010933977490630563, "Customer Support Page": 9.361758769523535e-05, "Q&A Forum": 6.899926780854759e-05, "Discussion Thread": 5.687865280641714e-05, "Comment Section": 9.64050911110694e-05, "Missing Content": 0.00011000555325643638, "Knowledge Article": 0.0003047652686520479, "Legal Notices": 9.59184946371322e-05, "News Article": 3.927405086505662e-05, "Organizational Announcement": 6.303288494502556e-05, "Nonfiction Writing": 6.76366041429831e-05, "Organizational About Page": 8.045991028439332e-05, "Personal About Page": 8.233014786429379e-05, "Personal Blog": 5.082544024519388e-05, "Product Page": 4.7530057485557046e-05, "Spam / Ads": 7.083210795080245e-05, "Structured Data": 0.0003736983354601877, "Technical Writing": 0.9604061223211519, "Transcript / Interview": 9.131020165095664e-05, "Tutorial / How-To Guide": 0.033212705126729684, "User Reviews": 4.4911570168183355e-05, "Other / Unknown": 0.004163921688688629}, "secondary": {"Academic Writing": 0.0004046601771400698, "Content Listing": 0.0002767160089194645, "Creative Writing": 0.00028885937780838655, "Customer Support Page": 0.0003029660771110286, "Q&A Forum": 0.00015803745446108254, "Discussion Thread": 0.00013680158586065966, "Comment Section": 0.00037490034376994665, "Missing Content": 0.0006513924667758572, "Knowledge Article": 0.0019380936125711168, "Legal Notices": 0.0007129864950208485, "News Article": 0.00018356817160355488, "Organizational Announcement": 0.00021133615159335181, "Nonfiction Writing": 0.0002003008733655288, "Organizational About Page": 0.000233933707436031, "Personal About Page": 0.000526352617493887, "Personal Blog": 0.00024131882229810753, "Product Page": 0.00015979188809905448, "Spam / Ads": 0.00026567028772871945, "Structured Data": 0.0013384022147244741, "Technical Writing": 0.0355019627352206, "Transcript / Interview": 0.00024173250713142437, "Tutorial / How-To Guide": 0.06014189375241817, "User Reviews": 0.0001121402796198286, "NONE": 0.8953961823918288}, "tertiary": {"Academic Writing": 0.0002646806132460831, "Content Listing": 0.00018331197820038202, "Creative Writing": 0.00025219007489456815, "Customer Support Page": 0.00025014245704630355, "Q&A Forum": 9.29873352657129e-05, "Discussion Thread": 9.291446917139943e-05, "Comment Section": 0.0003093407493196799, "Missing Content": 0.0007847498248186105, "Knowledge Article": 0.002310081912266139, "Legal Notices": 0.001450880733483062, "News Article": 0.00012474429999077805, "Organizational Announcement": 0.0001910914400974252, "Nonfiction Writing": 0.0001614881682655416, "Organizational About Page": 0.000265655099773565, "Personal About Page": 0.0017776587774022414, "Personal Blog": 0.0002724220415140289, "Product Page": 0.00011812991726887966, "Spam / Ads": 0.0002233627245393021, "Structured Data": 0.0017066980343040626, "Technical Writing": 0.025304582119552277, "Transcript / Interview": 0.00018156620120623906, "Tutorial / How-To Guide": 0.04573415112859618, "User Reviews": 7.901462415001309e-05, "NONE": 0.9178681552756275}, "structured_records": {"false": 0.9867974334238064, "true": 0.013202566576193609}, "procedural_steps": {"false": 0.48431029611334997, "true": 0.51568970388665}, "worked_solution": {"false": 0.9970364442885635, "true": 0.002963555711436503}, "contextual_dialogue": {"false": 0.9999935443794016, "true": 6.455620598397728e-06}, "content_quality": {"-2": 0.030788981120574824, "-1": 0.1732351909123174, "0": 0.3599080085997506, "1": 0.3603410883201324, "2": 0.07572673104722488}, "noise_severity": {"0": 0.88510385794958, "1": 0.10312362724448788, "2": 0.009001222646883996, "3": 0.0017483630666419439, "4": 0.0010229290924061538}, "missing_content_severity": {"0": 0.9916555174442659, "1": 0.004723189831683378, "2": 0.002538007156542793, "3": 0.0007990231470845047, "4": 0.00028426242042340987}, "factual_density": {"0": 0.0030361666381669163, "1": 0.0069757881690928805, "2": 0.10202145637475162, "3": 0.446609074799212, "4": 0.44135751401877665}, "pretraining_utility": {"-2": 0.011657847794919149, "-1": 0.07333972081446394, "0": 0.36364062436509637, "1": 0.49637794175771155, "2": 0.05498386526780897}, "math_density": {"0": 0.8548440975191777, "1": 0.13284421030641105, "2": 0.007124644801968101, "3": 0.0014465292928377814, "4": 0.003740518079605427}, "code_density": {"0": 0.00040503482652228196, "1": 0.0007790690638155462, "2": 0.014596865010612452, "3": 0.16351167494632968, "4": 0.8207073561527201}, "reasoning_density": {"0": 0.6200976506635747, "1": 0.24231599614781157, "2": 0.1157407700471415, "3": 0.015402680897529403, "4": 0.006442902243942777}, "education_level": {"none": 0.0015483532898087134, "0": 0.0029844735790650065, "1": 0.026677681425087606, "2": 0.7034336367585908, "3": 0.25298916514787184, "4": 0.012366689799576}, "creative_writing_quality": {"not_applicable": 0.998182479622125, "-2": 0.00019707509310841787, "-1": 0.0004795238503065956, "0": 0.000900608200147037, "1": 0.00017724626089719655, "2": 6.306697341569665e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 9.889921291486314e-05, "Art & Design": 0.00014012425007684282, "Law & Crime": 0.00013645156272934088, "Education & Careers": 8.988008171714596e-05, "Entertainment & Media": 7.972740058032227e-05, "Fashion & Beauty": 0.00011793058082416878, "Business, Economics & Finance": 0.00015611698423271484, "Food & Dining": 7.734190637892828e-05, "Games & Gaming": 0.00012415273609635798, "Electronics & Hardware": 0.00042596873986277785, "Health, Healthcare & Wellness": 7.099837693751686e-05, "History & Geography": 0.00010078180220156288, "Home, Pets & Hobbies": 8.99485093794084e-05, "Industry & Production": 0.0001550435845908874, "Language, Literature & Philosophy": 8.976311225251036e-05, "Politics & Government": 6.256213512592888e-05, "Religion & Spirituality": 7.634547974481664e-05, "Science, Mathematics & Engineering": 0.0003272889232087302, "Relationships & Community": 5.574616105473576e-05, "Software Usage & Applications": 0.04851005202862181, "Programming & Software Engineering": 0.9482616036648468, "Sports & Fitness": 0.00010754072875686115, "Vehicles & Transportation": 9.111061536010735e-05, "Travel & Tourism": 8.994855227021022e-05, "Other / Uncovered Subject": 0.00034150650327612655, "Unknown / Insufficient Content": 0.00012316636695847852}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.000690853466659516, "Art & Design": 0.00048697881194451775, "Law & Crime": 0.0005562318623228602, "Education & Careers": 0.00037419057404510664, "Entertainment & Media": 0.0004524238080467112, "Fashion & Beauty": 0.00033419249098273464, "Business, Economics & Finance": 0.0006368538673346797, "Food & Dining": 0.0002699508789334269, "Games & Gaming": 0.00039109719417268745, "Electronics & Hardware": 0.0011988878195655802, "Health, Healthcare & Wellness": 0.0003061575228234531, "History & Geography": 0.00032881432830576146, "Home, Pets & Hobbies": 0.0003165477374722883, "Industry & Production": 0.0003866723985940633, "Language, Literature & Philosophy": 0.00022562511854402222, "Politics & Government": 0.0002510541705956892, "Religion & Spirituality": 0.0003325007678447511, "Science, Mathematics & Engineering": 0.0008217587627202587, "Relationships & Community": 0.00018620660231713078, "Software Usage & Applications": 0.17309486520291859, "Programming & Software Engineering": 0.048779248788675046, "Sports & Fitness": 0.00025387753290404095, "Vehicles & Transportation": 0.00018996378302282396, "Travel & Tourism": 0.0004148652375147058, "Other / Uncovered Subject": 0.0008210607913120966, "NONE": 0.7678991204804274}}, "probability_diagnostics": {"primary": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "tertiary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "structured_records": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "procedural_steps": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "worked_solution": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "contextual_dialogue": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "content_quality": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "noise_severity": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "missing_content_severity": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "factual_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "pretraining_utility": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "math_density": {"raw_sum": 0.9999999999999998, "mass_delta": -2.220446049250313e-16, "missing_mass": 2.220446049250313e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "code_density": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "reasoning_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "education_level": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "creative_writing_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "primary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}}, "usage": {"input_tokens": 11256, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 11256, "cached_share": null, "cache_discount_reported": null, "reported_cost_usd": null}, "response_metadata": {"model": "decision-models/baseten-mammoth-27b-latest"}, "scored_at_utc": "2026-10-25T18:31:10.549161+00:00", "scoring_key_slot": "assistant_1", "dataset_uid": "1b0667f2-4f9f-428f-bb56-05ab7a87245a", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "221e6ae12ed66b9b412957d672a64b7ec01cec25d68245a408abb95670fdd2c7", "source_metadata": {"uuid": "1b0667f2-4f9f-428f-bb56-05ab7a87245a", "repo_name": "reven-tang/shell", "relative_path": "fdfs.sh", "category": "TOOL", "algo_rel_score": 0.9953861832618713, "quality_score": 3.182342767715454, "source_meta": {"github_metadata": {"branch": "master", "commit_count": 8, "repo_created_at": "2018-06-06T09:08:07.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 0, "forks": 0, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "f22cb3727d23bf517a3ee05ab643feeb5509162e", "size_bytes": 8849, "file_timestamp": 1534757383, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "c3f128fee1512d7b42184e5a913ac67c96a8d94a"}}, "parsed_source_meta": {"github_metadata": {"branch": "master", "commit_count": 8, "repo_created_at": "2018-06-06T09:08:07.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 0, "forks": 0, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "f22cb3727d23bf517a3ee05ab643feeb5509162e", "size_bytes": 8849, "file_timestamp": 1534757383, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "c3f128fee1512d7b42184e5a913ac67c96a8d94a", "url": "https://github.com/reven-tang/shell/blob/c3f128fee1512d7b42184e5a913ac67c96a8d94a/fdfs.sh"}, "gpt4o_tokens": 2698, "dataset_split": "shell", "probability_weighted_scores": {"content_quality": 0.2769813972611151, "noise_severity": 0.13046287810780632, "missing_content_severity": 0.013333323267716118, "factual_density": 3.316275981391339, "pretraining_utility": 0.5096902558890273, "math_density": 0.1663951601072823, "code_density": 3.8033372485349095, "reasoning_density": 0.5457771879104539, "education_level": 2.245455968720478, "creative_writing_quality": -0.31377575499958504}, "score_applicability": {"education_level": 0.9984516467101913, "creative_writing_quality": 0.0018175203778749436}} {"source_group": "shell", "source": "openbmb/UltraData-Stack-v3-L2/shell", "domain": "github.com", "language": "shell", "url": "https://github.com/SaltyPeaches/CM_DPManagement/blob/45922a8b5d3c1f85ee82c0bd982b9ca90b47f4f2/PackageMismatches.ps1", "id": "shell-0-b92f1e5e5ab4edbe7d16d9d385c158b5", "text": "param(\r\n[Parameter(Mandatory=$true)]\r\n[string] $server\r\n)\r\nFunction Write-Log {\r\n ##########################################################################################################\r\n <#\r\n .SYNOPSIS\r\n Log to a file in a format that can be read by Trace32.exe / CMTrace.exe \r\n \r\n .DESCRIPTION\r\n Write a line of data to a script log file in a format that can be parsed by Trace32.exe / CMTrace.exe\r\n \r\n The severity of the logged line can be set as:\r\n \r\n 1 - Information\r\n 2 - Warning\r\n 3 - Error\r\n \r\n Warnings will be highlighted in yellow. Errors are highlighted in red.\r\n \r\n The tools to view the log:\r\n \r\n CM Trace - Installation directory on Configuration Manager 2012 Site Server - \\tools\\\r\n \r\n .EXAMPLE\r\n Write-Log c:\\output\\update.log \"Application of MS15-031 failed\" Apply_Patch 3\r\n \r\n This will write a line to the update.log file in c:\\output stating that \"Application of MS15-031 failed\".\r\n The source component will be Apply_Patch and the line will be highlighted in red as it is an error \r\n (severity - 3).\r\n \r\n #>\r\n ##########################################################################################################\r\n \r\n #Define and validate parameters\r\n [CmdletBinding()]\r\n Param(\r\n #Path to the log file\r\n [parameter(Mandatory=$True)]\r\n [String]$LogFile,\r\n \r\n #The information to log\r\n [parameter(Mandatory=$True)]\r\n [String]$Value,\r\n \r\n #The source of the error\r\n [parameter(Mandatory=$True)]\r\n [String]$Component,\r\n \r\n #The severity (1 - Information, 2- Warning, 3 - Error)\r\n [parameter(Mandatory=$True)]\r\n [ValidateRange(1,3)]\r\n [Single]$Severity\r\n )\r\n \r\n #Obtain UTC offset\r\n $DateTime = New-Object -ComObject WbemScripting.SWbemDateTime \r\n $DateTime.SetVarDate($(Get-Date))\r\n $UtcValue = $DateTime.Value\r\n $UtcOffset = $UtcValue.Substring(21, $UtcValue.Length - 21)\r\n \r\n #Create the line to be logged\r\n $LogLine = \"\" +`\r\n \"\"\r\n \r\n #Write the line to the passed log file\r\n Out-File -InputObject $LogLine -Append -NoClobber -Encoding Default -FilePath $LogFile -WhatIf:$False\r\n}\r\n\r\n$logfile = \"$PSScriptRoot\\Logs\\PM_$($server).log\"\r\n$MaxLogSize = 2621440\r\nIf(!(Test-Path $logfile)){\r\n New-Item -Path $logfile -ItemType File -Force | Out-Null\r\n} else {\r\n if((Get-Item $logfile).length -gt $MaxLogSize){\r\n if(Test-Path ($logfile -replace \".log\",\".lo_\")){\r\n Remove-Item ($logfile -replace \".log\",\".lo_\") -force | out-null\r\n }\r\n Move-Item -Force $logfile ($logfile -replace \".log\",\".lo_\")\r\n }\r\n}\r\n\r\n$component = 'GatherData'\r\nWrite-Log $logfile \"Gathering packages in root\\SCCMDP:SMS_PackagesInContLib\" $component 1\r\ntry{\r\n $WMIPkgList = Get-WMIObject -NameSpace Root\\SCCMDP -Computername $server -Class SMS_PackagesInContLib | Select-Object -ExpandProperty PackageID | Sort-Object\r\n} catch {\r\n write-log $logfile \"Failed to gather package data from WMI. Cannot proceed\" $component 3\r\n Write-Log $LogFile \"Error: $($_.Exception.HResult)): $($_.Exception.Message)\" $component 3\r\n exit -1\r\n}\r\n\r\nwrite-log $logfile \"Searching registry for content library file path(s)\" $component 1\r\ntry{\r\n $Reg = [Microsoft.Win32.RegistryKey]::OpenRemoteBaseKey('LocalMachine', $server)\r\n $RegKey= $Reg.OpenSubKey(\"SOFTWARE\\\\Microsoft\\\\SMS\\\\DP\")\r\n $ContentLib = $RegKey.GetValue(\"ContentLibraryPath\")\r\n $PkgLibPath = ($ContentLib) + \"\\PkgLib\"\r\n $drive = $PkgLibPath.SubString(0,1)\r\n $PkgLibPath = $PkgLibPath.Replace(($drive+\":\\\"),(\"\\\\\"+$server+\"\\\"+$drive+\"$\\\"))\r\n} catch {\r\n write-log $logfile \"Failed to find a content library path in the registry. Cannot proceed\" $component 3\r\n Write-Log $LogFile \"Error: $($_.Exception.HResult)): $($_.Exception.Message)\" $component 3\r\n exit -1\r\n}\r\n\r\nwrite-log $logfile \"Gathering all package INI files in the local content library\" $component 1\r\ntry{\r\n $PkgLibList = (Get-ChildItem $PkgLibPath | Select-Object -ExpandProperty Name | Sort-Object)\r\n $PkgLibList = ($PKgLibList | ForEach-Object {$_.replace(\".INI\",\"\")})\r\n} catch {\r\n write-log $logfile \"Failed to recurse through the content library to locate package INI files. Cannot proceed\" $component 3\r\n Write-Log $LogFile \"Error: $($_.Exception.HResult)): $($_.Exception.Message)\" $component 3\r\n exit -1\r\n}\r\n\r\n$component = \"Compare\"\r\nwrite-log $logfile \"Comparing data in WMI to data in the filesystem\" $component 1\r\ntry{\r\n $PksinWMIButNotContentLib = Compare-Object -ReferenceObject $WMIPkgList -DifferenceObject $PKgLibList -PassThru | Where-Object { $_.SideIndicator -eq \"<=\" }\r\n $PksinContentLibButNotWMI = Compare-Object -ReferenceObject $WMIPkgList -DifferenceObject $PKgLibList -PassThru | Where-Object { $_.SideIndicator -eq \"=>\" }\r\n} catch {\r\n write-log $logfile \"Failed to run a compare of data in WMI and data in the filesystem. Cannot proceed\" $component 3\r\n Write-Log $LogFile \"Error: $($_.Exception.HResult)): $($_.Exception.Message)\" $component 3\r\n exit -1\r\n}\r\n\r\nwrite-log $logfile \"Total items in WMI: [$($WMIPkgList.count)]\" $component 1\r\nwrite-log $logfile \"Total items in the filesystem: [$($PkgLibList.count)]\" $component 1\r\nwrite-log $logfile \"Total items in WMI but not in the filesystem: [$($PksInWMIButNotContentLib.count)]\" $component 1\r\nwrite-log $logfile \"Total items in the filesystem but not in WMI: [$($PksinContentLibButNotWMI.count)]\" $component 1\r\n\r\nIf($PksinWMIButNotContentLib.count -gt 0){\r\n write-log $logfile \"The following items were found in WMI but not in the filesystem. These will be deleted from WMI:\" $component 1\r\n ForEach($Pkg in $PksInWMIButNotContentLib){\r\n write-log $logfile \"$Pkg\" $component 1\r\n }\r\n}\r\nIf($PksinContentLibButNotWMI.count -gt 0){\r\n write-log $logfile \"The following items were found in the filesystem but not in WMI. These will be deleted from the filesystem:\" $component 1\r\n ForEach($Pkg in $PksinContentLibButNotWMI){\r\n write-log $logfile \"$PkgLibPath\\$Pkg.INI\" $component 1\r\n }\r\n}\r\n\r\n$component = \"Cleanup\"\r\nForeach ($Pkg in $PksinWMIButNotContentLib){\r\n try{\r\n Get-WmiObject -Namespace Root\\SCCMDP -computername $server -Class SMS_PackagesInContLib -Filter \"PackageID = '$Pkg'\" | Remove-WmiObject\r\n } catch {\r\n write-log $logfile \"Failed to delete package from WMI: [$Pkg]\" $component 3\r\n Write-Log $LogFile \"Error: $($_.Exception.HResult)): $($_.Exception.Message)\" $component 3\r\n write-log $logfile \"Will continue trying to process other items queued for deletion\" $component 2\r\n continue\r\n }\r\n}\r\n\r\nForeach ($Pkg in $PksinContentLibButNotWMI){\r\n try{\r\n Remove-Item -Path \"$PkgLibPath\\$Pkg.INI\"\r\n } catch {\r\n write-log $logfile \"Failed to delete INI from filesystem: [$PkgLibPath\\$Pkg.INI]\" $component 3\r\n Write-Log $LogFile \"Error: $($_.Exception.HResult)): $($_.Exception.Message)\" $component 3\r\n write-log $logfile \"Will continue trying to process other items queued for deletion\" $component 2\r\n continue\r\n }\r\n}\r\n\r\nwrite-log $logfile \"All items have been processed. Triggering content validation\" $component 1\r\n\r\n$component = \"Validation\"\r\n\r\nWrite-Log $logfile \"Searching for smsdpmon.exe on the distribution point\" $component 1\r\n$found = $false\r\n# Trying the content library drive first\r\n$SMSDPMON_Path = $drive+\":\\SMS_DP$\\sms\\bin\\smsdpmon.exe\"\r\nif(invoke-command -ComputerName $server -ScriptBlock {param($filepath) get-item $filepath -ea 0} -ArgumentList \"$SMSDPMON_PATH\"){\r\n $found = $true\r\n} else {\r\n $OtherDrives = (Get-CimInstance win32_logicaldisk -computername $server | Where-Object{$_.DeviceID -ne $drive.Trim('\\')}).DeviceID\r\n ForEach($d in $OtherDrives){\r\n $SMSDPMON_Path = $d+\"\\SMS_DP$\\sms\\bin\\smsdpmon.exe\"\r\n if(invoke-command -ComputerName $server -ScriptBlock {param($filepath) get-item $filepath -ea 0} -ArgumentList \"$SMSDPMON_PATH\"){\r\n $found = $true\r\n break\r\n }\r\n }\r\n}\r\n\r\nif($found){\r\n try{\r\n Invoke-Command -ComputerName $server -ScriptBlock {param($filepath) & $filepath} -ArgumentList $SMSDPMON_Path -AsJob\r\n } catch { \r\n write-log $logfile \"Failed to trigger a content validation job using path [$SMSDPMON_PATH]\" $component 3\r\n Write-Log $LogFile \"Error: $($_.Exception.HResult)): $($_.Exception.Message)\" $component 3\r\n }\r\n} else {\r\n write-log $logfile \"Unable to locate smsdpmon.exe on the distribution point\" $component 3\r\n}", "text_preview": "param( [Parameter(Mandatory=$true)] [string] $server ) Function Write-Log { ########################################################################################################## <# .SYNOPSIS Log to a file in a format that can be read b", "input_sha256": "23d2b87dd93413938d4f0d088a8636942cb2fdb5486929818488239158be00ef", "text_sha256": "b92f1e5e5ab4edbe7d16d9d385c158b5c059292df424717b48d6e30375c36321", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 20037, "input_policy": "text-and-optional-url-v1", "label_policy_version": 12, "requested_model": "decision-models/baseten-mammoth-27b-latest", "backend": "baseten", "endpoint": "https://inference.baseten.co/v1/systemone", "status": "ok", "training_eligible": true, "label": {"primary": {"main_format": "Technical Writing", "sub_format": null}, "secondary": null, "tertiary": null, "content_structure": []}, "candidate_label": null, "topic": {"primary": {"main_topic": "Programming & Software Engineering", "sub_topic": null}, "secondary": null}, "scores": {"content_quality": 1, "noise_severity": 0, "missing_content_severity": 0, "factual_density": 3, "pretraining_utility": 1, "math_density": 0, "code_density": 4, "reasoning_density": 0, "education_level": 3, "creative_writing_quality": null}, "score_expectations": {"content_quality": 0.7932673808618833, "noise_severity": 0.057673159882558195, "missing_content_severity": 0.018916245048998456, "factual_density": 3.1870731693749543, "pretraining_utility": 0.5756933376212386, "math_density": 0.06787676055607603, "code_density": 3.683088690914809, "reasoning_density": 1.5387511935839406, "education_level": 2.6644597678484905, "creative_writing_quality": -0.22547594632864226}, "api_choices": {"primary": "Technical Writing", "secondary": "NONE", "tertiary": "NONE", "education_level": "3", "creative_writing_quality": "not_applicable", "primary_topic": "Programming & Software Engineering", "secondary_topic": "NONE"}, "review_reasons": [], "format_slot_diagnostics": {"comparable": true, "secondary_tertiary_identical": false, "secondary_tertiary_max_abs_gap": 0.0584670019685285, "secondary_choice": "NONE", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.9940072250661033, "secondary": 0.8813269715050867, "tertiary": 0.9423360170374642, "structured_records": 0.005936446936289636, "procedural_steps": 0.10443655319260632, "worked_solution": 0.005717101652998137, "contextual_dialogue": 8.041039454708663e-06, "content_quality": 0.4889515364640221, "noise_severity": 0.9519390334312015, "missing_content_severity": 0.984236462459168, "factual_density": 0.4838958450189632, "pretraining_utility": 0.5316144392102784, "math_density": 0.9434360328699366, "code_density": 0.7359072424290072, "reasoning_density": 0.0, "education_level": 0.36697462088475963, "creative_writing_quality": 0.9988901325268448, "primary_topic": 0.9846997905991678, "secondary_topic": 0.8434975030923846}, "probability_margin": {"primary": 0.9910922320434372, "secondary": 0.8059784021130647, "tertiary": 0.9199054428889789, "education_level": 0.055411543661260276, "creative_writing_quality": 0.9986296810961723, "primary_topic": 0.9725411243239805, "secondary_topic": 0.7410092777317712}, "raw_probabilities": {"primary": {"Academic Writing": 3.139316885669682e-05, "Content Listing": 1.98917643418471e-05, "Creative Writing": 2.236952998638425e-05, "Customer Support Page": 2.3952392136246225e-05, "Q&A Forum": 1.576411413255688e-05, "Discussion Thread": 1.1878860902470447e-05, "Comment Section": 2.2141157984739034e-05, "Missing Content": 2.4885321072015254e-05, "Knowledge Article": 0.00020997982601129496, "Legal Notices": 3.0429856259448883e-05, "News Article": 6.223398281266994e-06, "Organizational Announcement": 1.2749980417290795e-05, "Nonfiction Writing": 1.5214492804387589e-05, "Organizational About Page": 1.4774298848292263e-05, "Personal About Page": 1.376478608550431e-05, "Personal Blog": 1.0825681030729573e-05, "Product Page": 9.902780522845605e-06, "Spam / Ads": 1.41517574492277e-05, "Structured Data": 0.00033591453061737435, "Technical Writing": 0.9942569240216823, "Transcript / Interview": 2.2452402780659057e-05, "Tutorial / How-To Guide": 0.003164691978245084, "User Reviews": 9.00076761435875e-06, "Other / Unknown": 0.0017007231319370074}, "secondary": {"Academic Writing": 0.0003889488907454298, "Content Listing": 0.000268506697716727, "Creative Writing": 0.0003347471176613326, "Customer Support Page": 0.0006910374925054863, "Q&A Forum": 0.00023012888968499345, "Discussion Thread": 0.00015842243108988552, "Comment Section": 0.00044336131548215074, "Missing Content": 0.0004033166175717269, "Knowledge Article": 0.004239598177291926, "Legal Notices": 0.000376925212089669, "News Article": 0.00022175276024417786, "Organizational Announcement": 0.0002370985125940241, "Nonfiction Writing": 0.00026610191431208257, "Organizational About Page": 0.00028257787551247383, "Personal About Page": 0.0002251979269440917, "Personal Blog": 0.0001995752017850589, "Product Page": 0.00018357293476569365, "Spam / Ads": 0.00022200160013423136, "Structured Data": 0.0009847941068627025, "Technical Writing": 0.08029327891264333, "Transcript / Interview": 0.00032627423007286363, "Tutorial / How-To Guide": 0.022620712385710763, "User Reviews": 0.000130387770871089, "NONE": 0.8862716810257081}, "tertiary": {"Academic Writing": 0.00021504744049601917, "Content Listing": 0.0001547024225915661, "Creative Writing": 0.0001985376781584326, "Customer Support Page": 0.0006506677858330708, "Q&A Forum": 9.266172048815235e-05, "Discussion Thread": 6.808026504172758e-05, "Comment Section": 0.00030424085645519935, "Missing Content": 0.00024777043651499664, "Knowledge Article": 0.004143513746530201, "Legal Notices": 0.0003074385675763662, "News Article": 0.00011023645468952673, "Organizational Announcement": 0.00011028082834111846, "Nonfiction Writing": 0.00013884440100507, "Organizational About Page": 0.00015200434104204193, "Personal About Page": 0.00010548998863465607, "Personal Blog": 0.00010268995797829239, "Product Page": 0.00010068325224477953, "Spam / Ads": 0.00011253230809645594, "Structured Data": 0.0007471355951433324, "Technical Writing": 0.02483324010525753, "Transcript / Interview": 0.00014645408507685045, "Tutorial / How-To Guide": 0.02215595852420431, "User Reviews": 6.310624436374983e-05, "NONE": 0.9447386829942365}, "structured_records": {"false": 0.9940635530637104, "true": 0.005936446936289636}, "procedural_steps": {"false": 0.8955634468073936, "true": 0.10443655319260632}, "worked_solution": {"false": 0.9942828983470019, "true": 0.005717101652998137}, "contextual_dialogue": {"false": 0.9999919589605453, "true": 8.041039454708663e-06}, "content_quality": {"-2": 0.01440313440333866, "-1": 0.06184914977847179, "0": 0.24308768492368552, "1": 0.4773972623419757, "2": 0.20326276855252837}, "noise_severity": {"0": 0.9506495850167623, "1": 0.042998525915796094, "2": 0.00478599103729787, "3": 0.0011609402284087572, "4": 0.00040495780173502245}, "missing_content_severity": {"0": 0.9884331475542283, "1": 0.005718326374187736, "2": 0.004611806986644656, "3": 0.0009725716382357249, "4": 0.00026414744670355837}, "factual_density": {"0": 0.005432289318990937, "1": 0.023177755817200486, "2": 0.1534735287097712, "3": 0.41471734847793823, "4": 0.4031990776760992}, "pretraining_utility": {"-2": 0.008242744984199328, "-1": 0.06553855186583964, "0": 0.3373793289789364, "1": 0.5199613688865723, "2": 0.0688780052844523}, "math_density": {"0": 0.9470069477675356, "1": 0.044847724903594795, "2": 0.004025746442270037, "3": 0.001500780778457106, "4": 0.002618800108142461}, "code_density": {"0": 0.00034613805822793876, "1": 0.000704763629220662, "2": 0.030955545025089626, "3": 0.25150137591443833, "4": 0.7164921773730235}, "reasoning_density": {"0": 0.3630938152023502, "1": 0.1441730505619006, "2": 0.20083446125378437, "3": 0.17468547141338858, "4": 0.11721320156857637}, "education_level": {"none": 0.0010827170200945547, "0": 0.0015409299029139592, "1": 0.0071056785033678784, "2": 0.4170673070760394, "3": 0.47247885073729967, "4": 0.10072451676028464}, "creative_writing_quality": {"not_applicable": 0.9990751104390373, "-2": 9.419461185054324e-05, "-1": 0.0002247920935366343, "0": 0.0004454293428649579, "1": 0.00011630605719105172, "2": 4.4167455519556034e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 4.2485283084390155e-05, "Art & Design": 5.390927872694356e-05, "Law & Crime": 4.2165515876456835e-05, "Education & Careers": 4.86540211844339e-05, "Entertainment & Media": 3.349730214648799e-05, "Fashion & Beauty": 3.627926750287803e-05, "Business, Economics & Finance": 0.00011118763068430723, "Food & Dining": 3.219932831820926e-05, "Games & Gaming": 6.034501923252103e-05, "Electronics & Hardware": 0.0005000714927030661, "Health, Healthcare & Wellness": 3.310237423115686e-05, "History & Geography": 4.593182725843042e-05, "Home, Pets & Hobbies": 3.618172699845888e-05, "Industry & Production": 4.952190542824365e-05, "Language, Literature & Philosophy": 3.780912767713498e-05, "Politics & Government": 3.2336190734807936e-05, "Religion & Spirituality": 3.7482584121466756e-05, "Science, Mathematics & Engineering": 0.00018202539589164018, "Relationships & Community": 3.436844232013998e-05, "Software Usage & Applications": 0.012747135867527003, "Programming & Software Engineering": 0.9852882601915075, "Sports & Fitness": 4.792680683235297e-05, "Vehicles & Transportation": 2.7859181047240465e-05, "Travel & Tourism": 4.9897460691855846e-05, "Other / Uncovered Subject": 0.00032580516050207775, "Unknown / Insufficient Content": 6.356161777108439e-05}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0004811713311538249, "Art & Design": 0.0003685785277812974, "Law & Crime": 0.0005220199549044531, "Education & Careers": 0.0003146686823789162, "Entertainment & Media": 0.00036447454001722776, "Fashion & Beauty": 0.00022941677458128667, "Business, Economics & Finance": 0.0007128691740616817, "Food & Dining": 0.00018096373885860336, "Games & Gaming": 0.000341971830745304, "Electronics & Hardware": 0.0020146949793046296, "Health, Healthcare & Wellness": 0.00025359212025739266, "History & Geography": 0.0002466575598050284, "Home, Pets & Hobbies": 0.00023646098964118188, "Industry & Production": 0.00024501455759383183, "Language, Literature & Philosophy": 0.00016888221827407067, "Politics & Government": 0.00022058019869715986, "Religion & Spirituality": 0.0002893292960717678, "Science, Mathematics & Engineering": 0.0005818113266200588, "Relationships & Community": 0.00017578431618391074, "Software Usage & Applications": 0.10850755216475247, "Programming & Software Engineering": 0.032651229260465264, "Sports & Fitness": 0.00020197091765347374, "Vehicles & Transportation": 0.0001424179593481239, "Travel & Tourism": 0.00031840704693423394, "Other / Uncovered Subject": 0.0007126506373910962, "NONE": 0.8495168298965237}}, "probabilities": {"primary": {"Academic Writing": 3.139316885669682e-05, "Content Listing": 1.98917643418471e-05, "Creative Writing": 2.236952998638425e-05, "Customer Support Page": 2.3952392136246225e-05, "Q&A Forum": 1.576411413255688e-05, "Discussion Thread": 1.1878860902470447e-05, "Comment Section": 2.2141157984739034e-05, "Missing Content": 2.4885321072015254e-05, "Knowledge Article": 0.00020997982601129496, "Legal Notices": 3.0429856259448883e-05, "News Article": 6.223398281266994e-06, "Organizational Announcement": 1.2749980417290795e-05, "Nonfiction Writing": 1.5214492804387589e-05, "Organizational About Page": 1.4774298848292263e-05, "Personal About Page": 1.376478608550431e-05, "Personal Blog": 1.0825681030729573e-05, "Product Page": 9.902780522845605e-06, "Spam / Ads": 1.41517574492277e-05, "Structured Data": 0.00033591453061737435, "Technical Writing": 0.9942569240216823, "Transcript / Interview": 2.2452402780659057e-05, "Tutorial / How-To Guide": 0.003164691978245084, "User Reviews": 9.00076761435875e-06, "Other / Unknown": 0.0017007231319370074}, "secondary": {"Academic Writing": 0.0003889488907454298, "Content Listing": 0.000268506697716727, "Creative Writing": 0.0003347471176613326, "Customer Support Page": 0.0006910374925054863, "Q&A Forum": 0.00023012888968499345, "Discussion Thread": 0.00015842243108988552, "Comment Section": 0.00044336131548215074, "Missing Content": 0.0004033166175717269, "Knowledge Article": 0.004239598177291926, "Legal Notices": 0.000376925212089669, "News Article": 0.00022175276024417786, "Organizational Announcement": 0.0002370985125940241, "Nonfiction Writing": 0.00026610191431208257, "Organizational About Page": 0.00028257787551247383, "Personal About Page": 0.0002251979269440917, "Personal Blog": 0.0001995752017850589, "Product Page": 0.00018357293476569365, "Spam / Ads": 0.00022200160013423136, "Structured Data": 0.0009847941068627025, "Technical Writing": 0.08029327891264333, "Transcript / Interview": 0.00032627423007286363, "Tutorial / How-To Guide": 0.022620712385710763, "User Reviews": 0.000130387770871089, "NONE": 0.8862716810257081}, "tertiary": {"Academic Writing": 0.0002150474404960192, "Content Listing": 0.00015470242259156612, "Creative Writing": 0.00019853767815843264, "Customer Support Page": 0.0006506677858330709, "Q&A Forum": 9.266172048815236e-05, "Discussion Thread": 6.808026504172759e-05, "Comment Section": 0.0003042408564551994, "Missing Content": 0.0002477704365149967, "Knowledge Article": 0.004143513746530202, "Legal Notices": 0.00030743856757636627, "News Article": 0.00011023645468952675, "Organizational Announcement": 0.00011028082834111847, "Nonfiction Writing": 0.00013884440100507003, "Organizational About Page": 0.00015200434104204195, "Personal About Page": 0.00010548998863465608, "Personal Blog": 0.0001026899579782924, "Product Page": 0.00010068325224477955, "Spam / Ads": 0.00011253230809645595, "Structured Data": 0.0007471355951433325, "Technical Writing": 0.024833240105257535, "Transcript / Interview": 0.00014645408507685048, "Tutorial / How-To Guide": 0.022155958524204312, "User Reviews": 6.310624436374985e-05, "NONE": 0.9447386829942366}, "structured_records": {"false": 0.9940635530637104, "true": 0.005936446936289636}, "procedural_steps": {"false": 0.8955634468073936, "true": 0.10443655319260632}, "worked_solution": {"false": 0.9942828983470019, "true": 0.005717101652998137}, "contextual_dialogue": {"false": 0.9999919589605453, "true": 8.041039454708663e-06}, "content_quality": {"-2": 0.01440313440333866, "-1": 0.06184914977847179, "0": 0.24308768492368552, "1": 0.4773972623419757, "2": 0.20326276855252837}, "noise_severity": {"0": 0.9506495850167623, "1": 0.042998525915796094, "2": 0.00478599103729787, "3": 0.0011609402284087572, "4": 0.00040495780173502245}, "missing_content_severity": {"0": 0.9884331475542283, "1": 0.005718326374187736, "2": 0.004611806986644656, "3": 0.0009725716382357249, "4": 0.00026414744670355837}, "factual_density": {"0": 0.005432289318990937, "1": 0.023177755817200486, "2": 0.1534735287097712, "3": 0.41471734847793823, "4": 0.4031990776760992}, "pretraining_utility": {"-2": 0.008242744984199328, "-1": 0.06553855186583964, "0": 0.3373793289789364, "1": 0.5199613688865723, "2": 0.0688780052844523}, "math_density": {"0": 0.9470069477675356, "1": 0.044847724903594795, "2": 0.004025746442270037, "3": 0.001500780778457106, "4": 0.002618800108142461}, "code_density": {"0": 0.00034613805822793876, "1": 0.000704763629220662, "2": 0.030955545025089626, "3": 0.25150137591443833, "4": 0.7164921773730235}, "reasoning_density": {"0": 0.3630938152023502, "1": 0.1441730505619006, "2": 0.20083446125378437, "3": 0.17468547141338858, "4": 0.11721320156857637}, "education_level": {"none": 0.0010827170200945547, "0": 0.0015409299029139592, "1": 0.0071056785033678784, "2": 0.4170673070760394, "3": 0.47247885073729967, "4": 0.10072451676028464}, "creative_writing_quality": {"not_applicable": 0.9990751104390373, "-2": 9.419461185054324e-05, "-1": 0.0002247920935366343, "0": 0.0004454293428649579, "1": 0.00011630605719105172, "2": 4.4167455519556034e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 4.248528308439015e-05, "Art & Design": 5.3909278726943546e-05, "Law & Crime": 4.216551587645683e-05, "Education & Careers": 4.8654021184433885e-05, "Entertainment & Media": 3.3497302146487986e-05, "Fashion & Beauty": 3.6279267502878026e-05, "Business, Economics & Finance": 0.0001111876306843072, "Food & Dining": 3.219932831820925e-05, "Games & Gaming": 6.034501923252102e-05, "Electronics & Hardware": 0.000500071492703066, "Health, Healthcare & Wellness": 3.3102374231156856e-05, "History & Geography": 4.593182725843041e-05, "Home, Pets & Hobbies": 3.6181726998458874e-05, "Industry & Production": 4.9521905428243634e-05, "Language, Literature & Philosophy": 3.7809127677134974e-05, "Politics & Government": 3.233619073480793e-05, "Religion & Spirituality": 3.748258412146675e-05, "Science, Mathematics & Engineering": 0.00018202539589164016, "Relationships & Community": 3.4368442320139974e-05, "Software Usage & Applications": 0.012747135867527, "Programming & Software Engineering": 0.9852882601915073, "Sports & Fitness": 4.792680683235296e-05, "Vehicles & Transportation": 2.7859181047240458e-05, "Travel & Tourism": 4.989746069185583e-05, "Other / Uncovered Subject": 0.0003258051605020777, "Unknown / Insufficient Content": 6.356161777108438e-05}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0004811713311538249, "Art & Design": 0.0003685785277812974, "Law & Crime": 0.0005220199549044531, "Education & Careers": 0.0003146686823789162, "Entertainment & Media": 0.00036447454001722776, "Fashion & Beauty": 0.00022941677458128667, "Business, Economics & Finance": 0.0007128691740616817, "Food & Dining": 0.00018096373885860336, "Games & Gaming": 0.000341971830745304, "Electronics & Hardware": 0.0020146949793046296, "Health, Healthcare & Wellness": 0.00025359212025739266, "History & Geography": 0.0002466575598050284, "Home, Pets & Hobbies": 0.00023646098964118188, "Industry & Production": 0.00024501455759383183, "Language, Literature & Philosophy": 0.00016888221827407067, "Politics & Government": 0.00022058019869715986, "Religion & Spirituality": 0.0002893292960717678, "Science, Mathematics & Engineering": 0.0005818113266200588, "Relationships & Community": 0.00017578431618391074, "Software Usage & Applications": 0.10850755216475247, "Programming & Software Engineering": 0.032651229260465264, "Sports & Fitness": 0.00020197091765347374, "Vehicles & Transportation": 0.0001424179593481239, "Travel & Tourism": 0.00031840704693423394, "Other / Uncovered Subject": 0.0007126506373910962, "NONE": 0.8495168298965237}}, "probability_diagnostics": {"primary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "tertiary": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "structured_records": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "procedural_steps": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "worked_solution": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "contextual_dialogue": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "content_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "noise_severity": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "missing_content_severity": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "factual_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "pretraining_utility": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "math_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "code_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "reasoning_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "education_level": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "creative_writing_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "primary_topic": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "secondary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}}, "usage": {"input_tokens": 11040, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 11040, "cached_share": null, "cache_discount_reported": null, "reported_cost_usd": null}, "response_metadata": {"model": "decision-models/baseten-mammoth-27b-latest"}, "scored_at_utc": "2026-10-25T18:31:10.572134+00:00", "scoring_key_slot": "primary", "dataset_uid": "508d8a29-784d-4b68-b0b1-8395dec37b1a", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "c60b2eeb020733bcde98fb97718a95ef2ea91015a1228d679603e4984af63ced", "source_metadata": {"uuid": "508d8a29-784d-4b68-b0b1-8395dec37b1a", "repo_name": "SaltyPeaches/CM_DPManagement", "relative_path": "PackageMismatches.ps1", "category": "TOOL", "algo_rel_score": 0.656460165977478, "quality_score": 3.6106276512145996, "source_meta": {"github_metadata": {"branch": "main", "commit_count": 4, "repo_created_at": "2020-11-24T21:37:12.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 9, "forks": 1, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "bed471d8de5d4c9c7501ebebea53bdcb365e2012", "size_bytes": 9121, "file_timestamp": 1617986940, "language": "powershell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "45922a8b5d3c1f85ee82c0bd982b9ca90b47f4f2"}}, "parsed_source_meta": {"github_metadata": {"branch": "main", "commit_count": 4, "repo_created_at": "2020-11-24T21:37:12.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 9, "forks": 1, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "bed471d8de5d4c9c7501ebebea53bdcb365e2012", "size_bytes": 9121, "file_timestamp": 1617986940, "language": "powershell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "45922a8b5d3c1f85ee82c0bd982b9ca90b47f4f2", "url": "https://github.com/SaltyPeaches/CM_DPManagement/blob/45922a8b5d3c1f85ee82c0bd982b9ca90b47f4f2/PackageMismatches.ps1"}, "gpt4o_tokens": 2453, "dataset_split": "shell", "probability_weighted_scores": {"content_quality": 0.7932673808618833, "noise_severity": 0.057673159882558195, "missing_content_severity": 0.018916245048998456, "factual_density": 3.1870731693749543, "pretraining_utility": 0.5756933376212386, "math_density": 0.06787676055607603, "code_density": 3.683088690914809, "reasoning_density": 1.5387511935839406, "education_level": 2.6644597678484905, "creative_writing_quality": -0.22547594632864226}, "score_applicability": {"education_level": 0.9989172829799056, "creative_writing_quality": 0.0009248895609627432}} {"source_group": "shell", "source": "openbmb/UltraData-Stack-v3-L2/shell", "domain": "github.com", "language": "shell", "url": "https://github.com/ziggimon/plex-media-server-distro-scripts/blob/a751313f1fef5e7086a4aeb53bbeb42aabb7dbe0/asustor/bin/apkg_build", "id": "shell-0-0b362a8682c78ac633608b725dfd0008", "text": "#!/bin/sh\n\n# pkg-build -- construct a debian file format .apk from a directory\n# <>\n# based on a script by , 5-21-2001\n\nset -e\n\nTMP_DIR=\"/tmp\"\nTHIS_DIR=`pwd`\nSCRIPT_PATH=`readlink -f $0`\nSCRIPT_DIR=`dirname ${SCRIPT_PATH}`\n\nJSON_GREP=\"$SCRIPT_DIR/jsongrep.py\"\n\nPKG_BUILD_PROGRAM=`basename $0`\n#PKG_BUILD_PROGRAM=\"apkg-build\"\nPKG_BUILD_VER=\"1.0\"\nPKG_BUILD_FORMAT=\"zip\"\t# ar, tar, zip\n\nPKG_CONTROL_DIR=\"CONTROL\"\nPKG_WEBMAN_DIR=\"webman\"\nPKG_WEB_DIR=\"www\"\n\nPKG_WEB_USER=\"admin\"\nPKG_WEB_GROUP=\"administrators\"\n\nPKG_WEB_USER_ID=999\nPKG_WEB_GROUP_ID=999\n\nPKG_WEB_PERM=770\n\nPKG_DIR_PERM=755\nPKG_FILE_PERM=644\n\nPKG_VERSION_FILE=\"apkg-version\"\nPKG_DATA_FILE=\"data.tar.gz\"\nPKG_CONTROL_FILE=\"control.tar.gz\"\n\nPKG_CONFIG_FILE=\"config.json\"\nPKG_ICON_ENABLE_FILE=\"icon-enable.png\"\nPKG_ICON_DISABLE_FILE=\"icon-disable.png\"\n\nPKG_PRE_INSTALL_SCRIPT=\"pre-install.sh\"\nPKG_PRE_UNINSTALL_SCRIPT=\"pre-uninstall.sh\"\n\nPKG_POST_INSTALL_SCRIPT=\"post-install.sh\"\nPKG_POST_UNINSTALL_SCRIPT=\"post-uninstall.sh\"\n\nPKG_START_STOP_SCRIPT=\"start-stop.sh\"\n\nPKG_SCRIPT_LIST=\"$PKG_PRE_INSTALL_SCRIPT $PKG_PRE_UNINSTALL_SCRIPT \\\n\t\t$PKG_POST_INSTALL_SCRIPT $PKG_POST_UNINSTALL_SCRIPT \\\n\t\t$PKG_START_STOP_SCRIPT\"\n\nPKG_SRC_DIR=$1\nPKG_DEST_DIR=$2\nPKG_TMP_DIR=$TMP_DIR/APKG_BUILD.$$\n\nPKG_SUFFIX=\"apk\"\n\n\npkg_struct_check() {\n\tlocal owd=`pwd`\n\tlocal error=0\n\n\t# check pkg base dir\n\tif [ ! -d $PKG_SRC_DIR ]; then\n\t\techo \" *** Error: Directory $PKG_SRC_DIR does not exist\" >&2\n\t\treturn 1\n\tfi\n\n\tcd $PKG_SRC_DIR\n\n\t# check pkg control dir\n\tif [ ! -d \"$PKG_CONTROL_DIR\" ]; then\n\t\techo \" *** Error: Directory $PKG_SRC_DIR has no $PKG_CONTROL_DIR subdirectory.\" >&2\n\t\terror=1\n\tfi\n\n\t# check pkg config file\n\tif [ ! -f \"$PKG_CONTROL_DIR/$PKG_CONFIG_FILE\" ]; then\n\t\techo \" *** Error: Package config file $PKG_SRC_DIR/$PKG_CONTROL_DIR/$PKG_CONFIG_FILE not found.\" >&2\n\t\terror=1\n\tfi\n\n\t# TODO: check pkg config file is utf8 format\n\n\t# check enable pkg icon file\n\tif [ ! -f \"$PKG_CONTROL_DIR/$PKG_ICON_ENABLE_FILE\" ]; then\n\t\techo \" *** Error: Package enable icon file $PKG_SRC_DIR/$PKG_CONTROL_DIR/$PKG_ICON_ENABLE_FILE not found.\" >&2\n\t\terror=1\n\tfi\n\n\t# check disable pkg icon file\n\tif [ ! -f \"$PKG_CONTROL_DIR/$PKG_ICON_DISABLE_FILE\" ]; then\n\t\techo \" *** Error: Package disable icon file $PKG_SRC_DIR/$PKG_CONTROL_DIR/$PKG_ICON_DISABLE_FILE not found.\" >&2\n\t\terror=1\n\tfi\n\n\tcd $owd\n\n\treturn $error\n}\n\nrequired_field() {\n\tfield=$1\n\n\traw_value=`$JSON_GREP app $field < $PKG_CONTROL_DIR/$PKG_CONFIG_FILE`\n\tvalue=`expr \"$raw_value\" : '..\\(.*\\).'`\n\tif [ -z \"$value\" ]; then\n\t\techo \" *** Error: $PKG_CONTROL_DIR/$PKG_CONFIG_FILE is missing field $field\" >&2\n\t\treturn 1\n\tfi\n\techo $value\n\treturn 0\n}\n\npkg_config_check() {\n\tlocal owd=`pwd`\n\tlocal error=0\n\n\tcd $PKG_SRC_DIR\n\n\tPKG_FIELD_PACKAGE=`required_field package`\n\t[ \"$?\" -ne 0 ] && error=1\n\n\tPKG_FIELD_NAME=`required_field name`\n\t[ \"$?\" -ne 0 ] && error=1\n\n\tPKG_FIELD_VERSION=`required_field version`\n\t[ \"$?\" -ne 0 ] && error=1\n\n\tPKG_FIELD_SECTION=`required_field section`\n#\t[ \"$?\" -ne 0 ] && error=1\n\n\tPKG_FIELD_VISIBILITY=`required_field visibility`\n\t[ \"$?\" -ne 0 ] && error=1\n\n\tPKG_FIELD_PRIORITY=`required_field priority`\n\t[ \"$?\" -ne 0 ] && error=1\n\n\tPKG_FIELD_MAINTAINER=`required_field maintainer`\n\t[ \"$?\" -ne 0 ] && error=1\n\n\tPKG_FIELD_EMAIL=`required_field email`\n#\t[ \"$?\" -ne 0 ] && error=1\n\n\tPKG_FIELD_WEBSITE=`required_field website`\n#\t[ \"$?\" -ne 0 ] && error=1\n\n\tPKG_FIELD_ARCHITECTURE=`required_field architecture`\n\t[ \"$?\" -ne 0 ] && error=1\n\n\tPKG_FIELD_FIRMWARE=`required_field firmware`\n\t[ \"$?\" -ne 0 ] && error=1\n\n\tPKG_FIELD_DESCRIPTION=`required_field description`\n\t[ \"$?\" -ne 0 ] && error=1\n\n\tPKG_FIELD_CHANGES=`required_field changes`\n#\t[ \"$?\" -ne 0 ] && error=1\n\n#\tPKG_FIELD_TAGS=`required_field tags`\n#\t[ \"$?\" -ne 0 ] && error=1\n\n\tif echo $PKG_FIELD_PACKAGE | grep '[^a-z0-9.+-]' > /dev/null 2>&1; then\n\t\tif [ $error -eq 1 ]; then\n\t\t\techo >&2\n\t\tfi\n\t\techo \" *** Error: Package name $PKG_FIELD_PACKAGE contains illegal characters, (other than [a-z0-9.+-])\" >&2\n\t\terror=1\n\tfi\n\n#\tif [ -z \"$PKG_FIELD_SECTION\" ]; then\n#\t\tif [ $error -eq 1 ]; then\n#\t\t\techo >&2\n#\t\tfi\n#\t\techo \" The Section field should have one of the following values:\" >&2\n#\t\techo \" admin, base, comm, editors, extras, games, graphics, kernel, libs, misc, net, text, web, x11\" >&2\n#\tfi\n\n\tif [ -z \"$PKG_FIELD_PRIORITY\" ]; then\n\t\tif [ $error -eq 1 ]; then\n\t\t\techo >&2\n\t\tfi\n\t\techo \" The Priority field should have one of the following values:\" >&2\n\t\techo \" required, important, standard, optional, extra\" >&2\n\t\techo \" If you don't know which priority value you should be using, then use \\`optional'\" >&2\n\n\tfi\n\n\tcd $owd\n\n\treturn $error\n}\n\npkg_script_check() {\n\tlocal owd=`pwd`\n\tlocal error=0\n\n\tcd $PKG_SRC_DIR\n\n\tfor script_file in $PKG_SCRIPT_LIST; do\n\t\tif [ -f $PKG_CONTROL_DIR/$script_file -a ! -x $PKG_CONTROL_DIR/$script_file ]; then\n\t\t\techo \" *** Error: package script $PKG_CONTROL_DIR/$script_file is not executable\" >&2\n\t\t\terror=1\n\t\tfi\n\tdone\n\n\tcd $owd\n\n\treturn $error\n}\n\npkg_misc_check() {\n\tlocal owd=`pwd`\n\tlocal error=0\n\n\tcd $PKG_SRC_DIR\n\n\ttilde_files=`find . -name '*~'`\n\tif [ -n \"$tilde_files\" ]; then\n\t\techo \"*** Warning: The following files have names ending in '~'.\nYou probably want to remove them: \" >&2\n\t\tls -ld $tilde_files\n\t\techo >&2\n\tfi\n\n\tswap_files=`find . -name '*.swp'`\n\tif [ -n \"$swap_files\" ]; then\n\t\techo \"*** Warning: The following files have names ending in '.swp'.\nYou probably want to remove them: \" >&2\n\t\tls -ld $swap_files\n\t\techo >&2\n\tfi\n\n\tsvn_files=`find . -name '.svn'`\n\tif [ -n \"$svn_files\" ]; then\n\t\techo \"*** Warning: The following files have names ending in '.svn'.\nYou probably want to remove them: \" >&2\n\t\tls -ld $svn_files\n\t\techo >&2\n\tfi\n\n\tgit_files=`find . -name '*.git'`\n\tif [ -n \"$git_files\" ]; then\n\t\techo \"*** Warning: The following files have names ending in '.git'.\nYou probably want to remove them: \" >&2\n\t\tls -ld $git_files\n\t\techo >&2\n\tfi\n\n\tcvs_files=`find . -name '*.cvs'`\n\tif [ -n \"$cvs_files\" ]; then\n\t\techo \"*** Warning: The following files have names ending in '.cvs'.\nYou probably want to remove them: \" >&2\n\t\tls -ld $cvs_files\n\t\techo >&2\n\tfi\n\n# maybe check SUID & GUID file\n\n#\tlarge_uid_files=`find . -uid +99`\n#\tif [ -n \"$large_uid_files\" ]; then\n#\t\techo \"*** Warning: The following files have a UID greater than 99.\n#You probably want to chown these to a system user: \" >&2\n#\t\tls -ld $large_uid_files\n#\t\techo >&2\n#\tfi\n\n\tcd $owd\n\n\treturn $error\n}\n\n###\n# apkg-build \"main\"\n###\n\n# set pkg dest dir\ncase $# in\n1)\n\tPKG_SRC_DIR=`readlink -f $PKG_SRC_DIR`\n\tPKG_DEST_DIR=$THIS_DIR\n\t;;\n2)\n\tPKG_SRC_DIR=`readlink -f $PKG_SRC_DIR`\n\tPKG_DEST_DIR=`readlink -f $PKG_DEST_DIR`\n\t;;\n*)\n\techo \"Usage: $PKG_BUILD_PROGRAM []\" >&2\n\texit 1\n\t;;\nesac\n\nif [ $PKG_SRC_DIR = $PKG_DEST_DIR ]; then\n\techo \"*** Error: Can't not build pkg in the same directory\" >&2\n\techo \" pkg_directory: $PKG_SRC_DIR\" >&2\n\techo \" destination_directory: $PKG_DEST_DIR\" >&2\n\texit 1\nfi\n\n# check pkg package folder structure\necho \"Check package folder structure...\"\nif ! pkg_struct_check; then\n\techo >&2\n\techo \"$PKG_BUILD_PROGRAM: Please fix the above errors and try again.\" >&2\n\texit 1\nfi\necho \"Done\"\n\necho\n\n# check pkg config\necho \"Check package config information...\"\nif ! pkg_config_check; then\n\techo >&2\n\techo \"$PKG_BUILD_PROGRAM: Please fix the above errors and try again.\" >&2\n\texit 1\nfi\necho \"Done\"\n\necho\n\n# check pkg script\necho \"Check package script file...\"\nif ! pkg_script_check; then\n\techo >&2\n\techo \"$PKG_BUILD_PROGRAM: Please fix the above errors and try again.\" >&2\n\texit 1\nfi\necho \"Done\"\n\necho\n\n# check pkg misc\necho \"Check package misc...\"\nif ! pkg_misc_check; then\n\techo >&2\n\techo \"$PKG_BUILD_PROGRAM: Please fix the above errors and try again.\" >&2\n\texit 1\nfi\necho \"Done\"\n\necho\n\n# archive pkg control script\nmkdir -p $PKG_TMP_DIR\n\n# force chown user:group to web folder\nif [ -d $PKG_SRC_DIR/$PKG_WEB_DIR ]; then\n\techo -n \"Force change $PKG_SRC_DIR/$PKG_WEB_DIR/* owner and group to $PKG_WEB_USER:$PKG_WEB_GROUP ... \"\n\tif [ `ls -la $PKG_SRC_DIR/$PKG_WEB_DIR | wc -l` -gt 3 ]; then\n\t\t# change owner\n\t\tchown $PKG_WEB_USER_ID:$PKG_WEB_GROUP_ID $PKG_SRC_DIR/$PKG_WEB_DIR -R\n\t\t# TODO change file permission\n\t\t# chmod $PKG_WEB_PERM $PKG_SRC_DIR/$PKG_WEB_DIR -R\n\tfi\n\techo \"Done\"\n\n\techo\nfi\n\necho -n \"Archive package data...\"\ntar -C $PKG_SRC_DIR -czf $PKG_TMP_DIR/$PKG_DATA_FILE . --exclude=$PKG_CONTROL_DIR\necho \"Done\"\n\necho\n\n# archive pkg data\necho -n \"Archive package control script...\"\ntar -C $PKG_SRC_DIR/$PKG_CONTROL_DIR -czf $PKG_TMP_DIR/$PKG_CONTROL_FILE .\necho \"Done\"\n\necho\n\n# generate pkg version\necho -n \"Generate $PKG_VERSION_FILE...\"\necho $PKG_BUILD_VER > $PKG_TMP_DIR/$PKG_VERSION_FILE\necho \"Done\"\n\necho\n\n# prepare pkg filename\nPKG_ARCHIVE_FILE=${PKG_FIELD_PACKAGE}_${PKG_FIELD_VERSION}_${PKG_FIELD_ARCHITECTURE}.$PKG_SUFFIX\n\n# use which type archive\necho \"Use $PKG_BUILD_FORMAT format to archive $PKG_ARCHIVE_FILE...\"\ncd $PKG_TMP_DIR\n\nPKG_ARCHIVE_LIST=\"./$PKG_VERSION_FILE ./$PKG_DATA_FILE ./$PKG_CONTROL_FILE\"\n\nrm -rf $TMP_DIR/$PKG_ARCHIVE_FILE\n\nif [ \"$PKG_BUILD_FORMAT\" = \"ar\" ] ; then\n\tar -crvf $TMP_DIR/$PKG_ARCHIVE_FILE $PKG_ARCHIVE_LIST\nelif [ \"$PKG_BUILD_FORMAT\" = \"tar\" ] ; then\n\ttar -zcvf $TMP_DIR/$PKG_ARCHIVE_FILE $PKG_ARCHIVE_LIST\nelif [ \"$PKG_BUILD_FORMAT\" = \"zip\" ] ; then\n\tzip -r $TMP_DIR/$PKG_ARCHIVE_FILE $PKG_ARCHIVE_LIST\nfi\necho \"Done\"\n\nPKG_SIZE=`ls -l $TMP_DIR/$PKG_ARCHIVE_FILE | awk '{print $5}'`\nPKG_MD5=`md5sum $TMP_DIR/$PKG_ARCHIVE_FILE | cut -d' ' -f1`\nPKG_SHA1=`sha1sum $TMP_DIR/$PKG_ARCHIVE_FILE | cut -d' ' -f1`\n\n# move pkg to dest dir\n[ \"$PKG_DEST_DIR\" != \"$TMP_DIR\" ] && mkdir -p $PKG_DEST_DIR && mv $TMP_DIR/$PKG_ARCHIVE_FILE $PKG_DEST_DIR\n\necho\n\n# clean up\necho -n \"Clean building data...\"\nrm -f $PKG_TMP_DIR/$PKG_VERSION_FILE $PKG_TMP_DIR/$PKG_DATA_FILE $PKG_TMP_DIR/$PKG_CONTROL_FILE\nrmdir $PKG_TMP_DIR\necho \"Done\"\n\necho\n\necho \"Package Summary\"\necho \" Source: $PKG_SRC_DIR\"\necho \" Destination: $PKG_DEST_DIR\"\necho \" Package: $PKG_FIELD_PACKAGE\"\necho \" Name: $PKG_FIELD_NAME\"\necho \" Version: $PKG_FIELD_VERSION\"\necho \" Section: $PKG_FIELD_SECTION\"\necho \" Visibility: $PKG_FIELD_VISIBILITY\"\necho \" Priority: $PKG_FIELD_PRIORITY\"\necho \" Maintainer: $PKG_FIELD_MAINTAINER\"\necho \" Email: $PKG_FIELD_EMAIL\"\necho \" WebSite: $PKG_FIELD_WEBSITE\"\necho \" Architecture: $PKG_FIELD_ARCHITECTURE\"\necho \" Firmware: $PKG_FIELD_FIRMWARE\"\necho \" Description: $PKG_FIELD_DESCRIPTION\"\necho \" Changes: $PKG_FIELD_CHANGES\"\necho \" File: $PKG_ARCHIVE_FILE\"\necho \" Size: $PKG_SIZE\"\necho \" MD5sum: $PKG_MD5\"\necho \" SHA1sum: $PKG_SHA1\"\n", "text_preview": "#!/bin/sh # pkg-build -- construct a debian file format .apk from a directory # <> # based on a script by , 5-21-2001 set -e TMP_DIR=\"/tmp\" THIS_DIR=`pwd` SCRIPT_PATH=`readlink -f $0` SCRIPT_DIR=`dirname ${SCRIPT", "input_sha256": "c8a14f9fd6372b43968b4d9dcae083c87057fcd385ea5808a4b40048a603c67d", "text_sha256": "0b362a8682c78ac633608b725dfd0008589c0fe380df15cad9f04bf7656b8e2b", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 20038, "input_policy": "text-and-optional-url-v1", "label_policy_version": 12, "requested_model": "decision-models/baseten-mammoth-27b-latest", "backend": "baseten", "endpoint": "https://inference.baseten.co/v1/systemone", "status": "ok", "training_eligible": true, "label": {"primary": {"main_format": "Technical Writing", "sub_format": null}, "secondary": null, "tertiary": null, "content_structure": []}, "candidate_label": null, "topic": {"primary": {"main_topic": "Programming & Software Engineering", "sub_topic": null}, "secondary": null}, "scores": {"content_quality": 1, "noise_severity": 0, "missing_content_severity": 0, "factual_density": 3, "pretraining_utility": 1, "math_density": 0, "code_density": 4, "reasoning_density": 0, "education_level": 2, "creative_writing_quality": null}, "score_expectations": {"content_quality": 0.4729237985037651, "noise_severity": 0.09677842137321149, "missing_content_severity": 0.06993545947993009, "factual_density": 3.051619264302963, "pretraining_utility": 0.44324696436871763, "math_density": 0.02283992690726704, "code_density": 3.8781548661003695, "reasoning_density": 0.8795081704793912, "education_level": 2.24492659816108, "creative_writing_quality": -0.19390660660923603}, "api_choices": {"primary": "Technical Writing", "secondary": "NONE", "tertiary": "NONE", "education_level": "2", "creative_writing_quality": "not_applicable", "primary_topic": "Programming & Software Engineering", "secondary_topic": "NONE"}, "review_reasons": [], "format_slot_diagnostics": {"comparable": true, "secondary_tertiary_identical": false, "secondary_tertiary_max_abs_gap": 0.00437230234961683, "secondary_choice": "NONE", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.9839312297952582, "secondary": 0.9627712234386421, "tertiary": 0.9582088209868681, "structured_records": 0.016960423671605808, "procedural_steps": 0.17851646105958188, "worked_solution": 0.00175031673609542, "contextual_dialogue": 1.0161824314945993e-05, "content_quality": 0.38190460460158027, "noise_severity": 0.9193513155223237, "missing_content_severity": 0.9417204504333916, "factual_density": 0.4828302700745738, "pretraining_utility": 0.42969636478548334, "math_density": 0.9809667275772774, "code_density": 0.8984623884169745, "reasoning_density": 0.26707652460050735, "education_level": 0.6530075860619974, "creative_writing_quality": 0.9983546684637175, "primary_topic": 0.988219054458174, "secondary_topic": 0.9003960751680193}, "probability_margin": {"primary": 0.9751496681439068, "secondary": 0.9469357593058279, "tertiary": 0.9440155231807288, "education_level": 0.48866941919030116, "creative_writing_quality": 0.9978993073958541, "primary_topic": 0.9807103452266026, "secondary_topic": 0.8595088676669005}, "raw_probabilities": {"primary": {"Academic Writing": 7.329610106123631e-05, "Content Listing": 5.105040902659918e-05, "Creative Writing": 5.290670558721832e-05, "Customer Support Page": 3.986216299659038e-05, "Q&A Forum": 3.153667907311732e-05, "Discussion Thread": 2.6318677101889867e-05, "Comment Section": 4.481331950478728e-05, "Missing Content": 7.461898819516439e-05, "Knowledge Article": 0.0002496715570675342, "Legal Notices": 8.391282718185007e-05, "News Article": 1.805466173682547e-05, "Organizational Announcement": 3.550831557976662e-05, "Nonfiction Writing": 3.87416257761615e-05, "Organizational About Page": 4.044262597432757e-05, "Personal About Page": 3.840016147883974e-05, "Personal Blog": 2.424393615840131e-05, "Product Page": 2.4851904922909507e-05, "Spam / Ads": 3.2418852723107525e-05, "Structured Data": 0.0008678970827518426, "Technical Writing": 0.9846007618871224, "Transcript / Interview": 5.083906593823406e-05, "Tutorial / How-To Guide": 0.009451093743215665, "User Reviews": 2.0662475372838864e-05, "Other / Unknown": 0.00402809623445235}, "secondary": {"Academic Writing": 0.00019538471427842005, "Content Listing": 0.00012545334700598602, "Creative Writing": 0.00016543276043531975, "Customer Support Page": 0.00014308139907290095, "Q&A Forum": 7.279433706767784e-05, "Discussion Thread": 6.024721576828115e-05, "Comment Section": 0.0002022238522621182, "Missing Content": 0.0004652246489475139, "Knowledge Article": 0.0006672585620563484, "Legal Notices": 0.0015608619279032215, "News Article": 9.80942640249187e-05, "Organizational Announcement": 0.00011760533951217002, "Nonfiction Writing": 9.365519500178585e-05, "Organizational About Page": 0.00011370542172647043, "Personal About Page": 0.00011098974663345499, "Personal Blog": 0.00011024959549826343, "Product Page": 6.622461814435171e-05, "Spam / Ads": 9.950949655761382e-05, "Structured Data": 0.0024042966805524653, "Technical Writing": 0.017386663156204206, "Transcript / Interview": 0.00012024722175523142, "Tutorial / How-To Guide": 0.01124281553967487, "User Reviews": 5.5558497884286796e-05, "NONE": 0.964322422462032}, "tertiary": {"Academic Writing": 0.00018431382105065972, "Content Listing": 0.0001277293960064209, "Creative Writing": 0.0001591782030913946, "Customer Support Page": 0.0001566416415666239, "Q&A Forum": 5.839153643227492e-05, "Discussion Thread": 5.4890612541991235e-05, "Comment Section": 0.00019948033644634678, "Missing Content": 0.0011743178207914283, "Knowledge Article": 0.0010904092136162246, "Legal Notices": 0.002580065782644704, "News Article": 8.131415067769293e-05, "Organizational Announcement": 0.00010315849240869049, "Nonfiction Writing": 0.00011048029515424363, "Organizational About Page": 0.00012459135789680633, "Personal About Page": 0.00010215827774210768, "Personal Blog": 8.781580707827697e-05, "Product Page": 7.239538089656562e-05, "Spam / Ads": 0.00010951321831069028, "Structured Data": 0.005172214660937042, "Technical Writing": 0.015934596931686525, "Transcript / Interview": 0.00012633313658461432, "Tutorial / How-To Guide": 0.012191744948014012, "User Reviews": 4.8144866009436395e-05, "NONE": 0.9599501201124153}, "structured_records": {"false": 0.9830395763283942, "true": 0.016960423671605808}, "procedural_steps": {"false": 0.8214835389404181, "true": 0.17851646105958188}, "worked_solution": {"false": 0.9982496832639046, "true": 0.00175031673609542}, "contextual_dialogue": {"false": 0.9999898381756851, "true": 1.0161824314945993e-05}, "content_quality": {"-2": 0.01465007362969254, "-1": 0.12543181373212559, "0": 0.3395814896338405, "1": 0.4130174865134069, "2": 0.10731913649093443}, "noise_severity": {"0": 0.9135116940197382, "1": 0.07927418628047907, "2": 0.004988967152562974, "3": 0.0013743094012722192, "4": 0.0008508431459474491}, "missing_content_severity": {"0": 0.9381380625935676, "1": 0.056264022937276566, "2": 0.0037902611238418353, "3": 0.0011396990862860524, "4": 0.0006679542590279221}, "factual_density": {"0": 0.007058463651642183, "1": 0.03094985288278034, "2": 0.2014171090832869, "3": 0.42446310427555334, "4": 0.33611147010673725}, "pretraining_utility": {"-2": 0.009307369227048109, "-1": 0.09874105449906087, "0": 0.39515448226508504, "1": 0.43299143069573715, "2": 0.06380566331306879}, "math_density": {"0": 0.9808961281513862, "1": 0.017050336367478672, "2": 0.0010139395334415931, "3": 0.000396672317869925, "4": 0.0006429236298238531}, "code_density": {"0": 0.0002559894523069327, "1": 0.00044711737323124427, "2": 0.008279517352595635, "3": 0.10292078926551791, "4": 0.8880965865563483}, "reasoning_density": {"0": 0.5450278810811051, "1": 0.1771217511408341, "2": 0.16876529387248274, "3": 0.07148446402872018, "4": 0.03760060987685776}, "education_level": {"none": 0.001301647139774479, "0": 0.002376604269244216, "1": 0.03314431750788434, "2": 0.7108396550516645, "3": 0.22217023586136334, "4": 0.030167540170069097}, "creative_writing_quality": {"not_applicable": 0.9986288903864312, "-2": 0.00011008523613749226, "-1": 0.00031373677080138583, "0": 0.0007295829905770803, "1": 0.00016736920148513465, "2": 5.033541456743113e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 5.5129526129971574e-05, "Art & Design": 6.184851378494488e-05, "Law & Crime": 6.072604928052352e-05, "Education & Careers": 5.678432436372258e-05, "Entertainment & Media": 0.00025238091146959725, "Fashion & Beauty": 3.12866785869402e-05, "Business, Economics & Finance": 6.445291519358122e-05, "Food & Dining": 3.5317030840656425e-05, "Games & Gaming": 9.989352976428077e-05, "Electronics & Hardware": 0.0013048748019879733, "Health, Healthcare & Wellness": 3.832572810028012e-05, "History & Geography": 5.267052155274783e-05, "Home, Pets & Hobbies": 4.8094641778314246e-05, "Industry & Production": 6.0664114111513974e-05, "Language, Literature & Philosophy": 4.6841284526248334e-05, "Politics & Government": 6.985577098146963e-05, "Religion & Spirituality": 5.481324818363483e-05, "Science, Mathematics & Engineering": 0.00018731020113837984, "Relationships & Community": 2.8364678870714853e-05, "Software Usage & Applications": 0.007961822521641685, "Programming & Software Engineering": 0.9886721677482443, "Sports & Fitness": 5.8995612145779447e-05, "Vehicles & Transportation": 2.789794751842088e-05, "Travel & Tourism": 5.6946094999404095e-05, "Other / Uncovered Subject": 0.00046778252553628325, "Unknown / Insufficient Content": 0.00014475307926887945}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0006947628634233981, "Art & Design": 0.0005289402725173897, "Law & Crime": 0.000528993241028413, "Education & Careers": 0.0003505872722362985, "Entertainment & Media": 0.013200739300365787, "Fashion & Beauty": 0.00022625784824888807, "Business, Economics & Finance": 0.0005101462284434648, "Food & Dining": 0.00019770549316610922, "Games & Gaming": 0.000610633221606514, "Electronics & Hardware": 0.0033255134315570713, "Health, Healthcare & Wellness": 0.0002537670184143192, "History & Geography": 0.0002741477175877944, "Home, Pets & Hobbies": 0.00023358056246470775, "Industry & Production": 0.00020004638014796088, "Language, Literature & Philosophy": 0.00017256806013964834, "Politics & Government": 0.00040430871577893415, "Religion & Spirituality": 0.00027269063413479, "Science, Mathematics & Engineering": 0.0005317103006229636, "Relationships & Community": 0.00014518860302890782, "Software Usage & Applications": 0.04471812768696428, "Programming & Software Engineering": 0.02693937037619307, "Sports & Fitness": 0.0002245137959007524, "Vehicles & Transportation": 0.00010082128588661477, "Travel & Tourism": 0.00029834893081832653, "Other / Uncovered Subject": 0.0008295354054588364, "NONE": 0.9042269953538647}}, "probabilities": {"primary": {"Academic Writing": 7.329610106123634e-05, "Content Listing": 5.10504090265992e-05, "Creative Writing": 5.2906705587218343e-05, "Customer Support Page": 3.986216299659039e-05, "Q&A Forum": 3.1536679073117336e-05, "Discussion Thread": 2.6318677101889878e-05, "Comment Section": 4.481331950478729e-05, "Missing Content": 7.461898819516442e-05, "Knowledge Article": 0.00024967155706753433, "Legal Notices": 8.39128271818501e-05, "News Article": 1.8054661736825475e-05, "Organizational Announcement": 3.550831557976664e-05, "Nonfiction Writing": 3.8741625776161514e-05, "Organizational About Page": 4.0442625974327586e-05, "Personal About Page": 3.840016147883975e-05, "Personal Blog": 2.4243936158401316e-05, "Product Page": 2.4851904922909514e-05, "Spam / Ads": 3.241885272310754e-05, "Structured Data": 0.0008678970827518429, "Technical Writing": 0.9846007618871228, "Transcript / Interview": 5.083906593823407e-05, "Tutorial / How-To Guide": 0.009451093743215669, "User Reviews": 2.066247537283887e-05, "Other / Unknown": 0.004028096234452352}, "secondary": {"Academic Writing": 0.00019538471427842007, "Content Listing": 0.00012545334700598605, "Creative Writing": 0.00016543276043531977, "Customer Support Page": 0.00014308139907290098, "Q&A Forum": 7.279433706767785e-05, "Discussion Thread": 6.024721576828116e-05, "Comment Section": 0.00020222385226211824, "Missing Content": 0.000465224648947514, "Knowledge Article": 0.0006672585620563485, "Legal Notices": 0.0015608619279032217, "News Article": 9.809426402491871e-05, "Organizational Announcement": 0.00011760533951217003, "Nonfiction Writing": 9.365519500178586e-05, "Organizational About Page": 0.00011370542172647045, "Personal About Page": 0.000110989746633455, "Personal Blog": 0.00011024959549826345, "Product Page": 6.622461814435173e-05, "Spam / Ads": 9.950949655761383e-05, "Structured Data": 0.0024042966805524657, "Technical Writing": 0.01738666315620421, "Transcript / Interview": 0.00012024722175523144, "Tutorial / How-To Guide": 0.011242815539674872, "User Reviews": 5.55584978842868e-05, "NONE": 0.9643224224620321}, "tertiary": {"Academic Writing": 0.00018431382105065972, "Content Listing": 0.0001277293960064209, "Creative Writing": 0.0001591782030913946, "Customer Support Page": 0.0001566416415666239, "Q&A Forum": 5.839153643227492e-05, "Discussion Thread": 5.4890612541991235e-05, "Comment Section": 0.00019948033644634678, "Missing Content": 0.0011743178207914283, "Knowledge Article": 0.0010904092136162246, "Legal Notices": 0.002580065782644704, "News Article": 8.131415067769293e-05, "Organizational Announcement": 0.00010315849240869049, "Nonfiction Writing": 0.00011048029515424363, "Organizational About Page": 0.00012459135789680633, "Personal About Page": 0.00010215827774210768, "Personal Blog": 8.781580707827697e-05, "Product Page": 7.239538089656562e-05, "Spam / Ads": 0.00010951321831069028, "Structured Data": 0.005172214660937042, "Technical Writing": 0.015934596931686525, "Transcript / Interview": 0.00012633313658461432, "Tutorial / How-To Guide": 0.012191744948014012, "User Reviews": 4.8144866009436395e-05, "NONE": 0.9599501201124153}, "structured_records": {"false": 0.9830395763283942, "true": 0.016960423671605808}, "procedural_steps": {"false": 0.8214835389404181, "true": 0.17851646105958188}, "worked_solution": {"false": 0.9982496832639046, "true": 0.00175031673609542}, "contextual_dialogue": {"false": 0.9999898381756851, "true": 1.0161824314945993e-05}, "content_quality": {"-2": 0.01465007362969254, "-1": 0.12543181373212559, "0": 0.3395814896338405, "1": 0.4130174865134069, "2": 0.10731913649093443}, "noise_severity": {"0": 0.9135116940197383, "1": 0.07927418628047908, "2": 0.004988967152562975, "3": 0.0013743094012722194, "4": 0.0008508431459474492}, "missing_content_severity": {"0": 0.9381380625935676, "1": 0.056264022937276566, "2": 0.0037902611238418353, "3": 0.0011396990862860524, "4": 0.0006679542590279221}, "factual_density": {"0": 0.007058463651642183, "1": 0.03094985288278034, "2": 0.2014171090832869, "3": 0.42446310427555334, "4": 0.33611147010673725}, "pretraining_utility": {"-2": 0.009307369227048109, "-1": 0.09874105449906087, "0": 0.39515448226508504, "1": 0.43299143069573715, "2": 0.06380566331306879}, "math_density": {"0": 0.9808961281513859, "1": 0.01705033636747867, "2": 0.001013939533441593, "3": 0.00039667231786992487, "4": 0.000642923629823853}, "code_density": {"0": 0.0002559894523069327, "1": 0.00044711737323124427, "2": 0.008279517352595635, "3": 0.10292078926551791, "4": 0.8880965865563483}, "reasoning_density": {"0": 0.5450278810811052, "1": 0.17712175114083412, "2": 0.16876529387248276, "3": 0.07148446402872019, "4": 0.03760060987685777}, "education_level": {"none": 0.0013016471397744793, "0": 0.0023766042692442164, "1": 0.033144317507884345, "2": 0.7108396550516646, "3": 0.22217023586136336, "4": 0.0301675401700691}, "creative_writing_quality": {"not_applicable": 0.9986288903864314, "-2": 0.00011008523613749229, "-1": 0.0003137367708013859, "0": 0.0007295829905770804, "1": 0.00016736920148513468, "2": 5.033541456743114e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 5.512952612997156e-05, "Art & Design": 6.184851378494487e-05, "Law & Crime": 6.0726049280523504e-05, "Education & Careers": 5.6784324363722565e-05, "Entertainment & Media": 0.0002523809114695972, "Fashion & Beauty": 3.128667858694019e-05, "Business, Economics & Finance": 6.445291519358121e-05, "Food & Dining": 3.531703084065642e-05, "Games & Gaming": 9.989352976428074e-05, "Electronics & Hardware": 0.0013048748019879731, "Health, Healthcare & Wellness": 3.832572810028011e-05, "History & Geography": 5.267052155274782e-05, "Home, Pets & Hobbies": 4.809464177831423e-05, "Industry & Production": 6.066411411151396e-05, "Language, Literature & Philosophy": 4.684128452624832e-05, "Politics & Government": 6.985577098146961e-05, "Religion & Spirituality": 5.4813248183634815e-05, "Science, Mathematics & Engineering": 0.0001873102011383798, "Relationships & Community": 2.8364678870714846e-05, "Software Usage & Applications": 0.007961822521641683, "Programming & Software Engineering": 0.9886721677482441, "Sports & Fitness": 5.899561214577943e-05, "Vehicles & Transportation": 2.7897947518420872e-05, "Travel & Tourism": 5.694609499940408e-05, "Other / Uncovered Subject": 0.00046778252553628314, "Unknown / Insufficient Content": 0.00014475307926887943}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0006947628634233981, "Art & Design": 0.0005289402725173897, "Law & Crime": 0.000528993241028413, "Education & Careers": 0.0003505872722362985, "Entertainment & Media": 0.013200739300365787, "Fashion & Beauty": 0.00022625784824888807, "Business, Economics & Finance": 0.0005101462284434648, "Food & Dining": 0.00019770549316610922, "Games & Gaming": 0.000610633221606514, "Electronics & Hardware": 0.0033255134315570713, "Health, Healthcare & Wellness": 0.0002537670184143192, "History & Geography": 0.0002741477175877944, "Home, Pets & Hobbies": 0.00023358056246470775, "Industry & Production": 0.00020004638014796088, "Language, Literature & Philosophy": 0.00017256806013964834, "Politics & Government": 0.00040430871577893415, "Religion & Spirituality": 0.00027269063413479, "Science, Mathematics & Engineering": 0.0005317103006229636, "Relationships & Community": 0.00014518860302890782, "Software Usage & Applications": 0.04471812768696428, "Programming & Software Engineering": 0.02693937037619307, "Sports & Fitness": 0.0002245137959007524, "Vehicles & Transportation": 0.00010082128588661477, "Travel & Tourism": 0.00029834893081832653, "Other / Uncovered Subject": 0.0008295354054588364, "NONE": 0.9042269953538647}}, "probability_diagnostics": {"primary": {"raw_sum": 0.9999999999999997, "mass_delta": -3.3306690738754696e-16, "missing_mass": 3.3306690738754696e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "tertiary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "structured_records": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "procedural_steps": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "worked_solution": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "contextual_dialogue": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "content_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "noise_severity": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "missing_content_severity": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "factual_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "pretraining_utility": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "math_density": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "code_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "reasoning_density": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "education_level": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "creative_writing_quality": {"raw_sum": 0.9999999999999998, "mass_delta": -2.220446049250313e-16, "missing_mass": 2.220446049250313e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "primary_topic": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "secondary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}}, "usage": {"input_tokens": 11856, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 11856, "cached_share": null, "cache_discount_reported": null, "reported_cost_usd": null}, "response_metadata": {"model": "decision-models/baseten-mammoth-27b-latest"}, "scored_at_utc": "2026-10-25T18:31:13.973308+00:00", "scoring_key_slot": "primary", "dataset_uid": "b1ebce3b-a7f6-45eb-a81f-985c2add49a8", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "08dee4fb37f087b14b80118c887e79b83c91736fd42bf9d6ef35eaca5557f4f3", "source_metadata": {"uuid": "b1ebce3b-a7f6-45eb-a81f-985c2add49a8", "repo_name": "ziggimon/plex-media-server-distro-scripts", "relative_path": "asustor/bin/apkg_build", "category": "TOOL", "algo_rel_score": 0.9864967465400696, "quality_score": 3.402552843093872, "source_meta": {"github_metadata": {"branch": "master", "commit_count": 325, "repo_created_at": "2011-12-02T16:26:56.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 3, "forks": 6, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "18758645c820f6ad338177d6368d20ceb35f208a", "size_bytes": 10567, "file_timestamp": 1396854858, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "a751313f1fef5e7086a4aeb53bbeb42aabb7dbe0"}}, "parsed_source_meta": {"github_metadata": {"branch": "master", "commit_count": 325, "repo_created_at": "2011-12-02T16:26:56.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 3, "forks": 6, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "18758645c820f6ad338177d6368d20ceb35f208a", "size_bytes": 10567, "file_timestamp": 1396854858, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "a751313f1fef5e7086a4aeb53bbeb42aabb7dbe0", "url": "https://github.com/ziggimon/plex-media-server-distro-scripts/blob/a751313f1fef5e7086a4aeb53bbeb42aabb7dbe0/asustor/bin/apkg_build"}, "gpt4o_tokens": 3408, "dataset_split": "shell", "probability_weighted_scores": {"content_quality": 0.4729237985037651, "noise_severity": 0.09677842137321149, "missing_content_severity": 0.06993545947993009, "factual_density": 3.051619264302963, "pretraining_utility": 0.44324696436871763, "math_density": 0.02283992690726704, "code_density": 3.8781548661003695, "reasoning_density": 0.8795081704793912, "education_level": 2.24492659816108, "creative_writing_quality": -0.19390660660923603}, "score_applicability": {"education_level": 0.9986983528602256, "creative_writing_quality": 0.0013711096135685245}} {"source_group": "shell", "source": "openbmb/UltraData-Stack-v3-L2/shell", "domain": "github.com", "language": "shell", "url": "https://github.com/alon-optibus/scripts/blob/8a26e94975cc686e102bb9e4e5615bc732e77580/bash/init/git.sh", "id": "shell-0-a086bebcd9c368b7502221e2e88a9f27", "text": "#!/bin/bash\n\nEDITOR=gedit\n\nexport REPO=$(basename \"`git rev-parse --show-toplevel`\")\nexport m='master'\nexport DEFAULT_BRANCH=$m\n\nalias s='git status -s'\nalias m='gco $m'\nalias p='git push'\nalias pf='git push -f'\nalias cb='b=$(current_branch); type_var b'\nalias k='gitk'\nalias ka='gitk --all'\nalias gl='py3 $py3_tools/git/list_commits.py'\nalias wip=\"git add --all && git commit -a -m 'wip $(nows)'\"\nalias gr='git fetch origin && git reset --hard origin/$(current_branch)'\nalias gpr='git_pull_rebase'\nalias gprb='git_pull_rebase $(current_branch)'\nalias gm='git_merge'\nalias m2m='m; gm $b'\nalias lm='list_modified'\nalias lmp='list_modified_py'\nalias lmd='lm $DEFAULT_BRANCH'\nalias lmpd='lmp $DEFAULT_BRANCH'\nalias gaa='git add --all'\nalias pcm='pycharm_modified_py'\n\n########################################################################################################################\n\n\ncurrent_branch() {\n git rev-parse --abbrev-ref HEAD\n}\n\n\ndefault-branch(){\n default \"$(current_branch)\" \"$1\"\n}\n\n\nrename(){\n if [ -z \"$2\" ]; then\n echo 'Changing branch name to ' $1\n git branch -m $1\n else\n echo 'Changing branch name from ' $1 ' to ' $2\n git branch -m $1 $2\n fi\n}\n\n\ngit_pull_rebase() {\n if [ -z \"$1\" ]; then\n git pull --rebase origin $DEFAULT_BRANCH\n else\n git pull --rebase origin $1\n fi\n}\n\n\ngit_merge() {\n if [ -z \"$1\" ]; then\n echo \"Usage: gm \"\n else\n if [[ \"$(current_branch)\" != \"$1\" ]]; then\n git_reset force && git merge --no-ff $1\n fi\n fi\n}\n\n\nlist_uncommited_files(){\n\n files=$(git status -s)\n\n if [ -z \"$files\" ]\n then\n return\n fi\n\n while IFS= read -r line\n do\n if [ -n \"$line\" ]\n then\n echo ${line:3}\n fi\n done <<< \"$files\"\n\n}\n\n\nlist_untracked_files(){\n\n files=$(git status -s | egrep --color='never' '^\\?\\? ')\n\n if [ -z \"$files\" ]\n then\n return\n fi\n\n while IFS= read -r line\n do\n if [ -n \"$line\" ]\n then\n echo ${line:3}\n fi\n done <<< \"$files\"\n\n}\n\n\nlist_modified(){\n if [ -z \"$1\" ]\n then\n list_uncommited_files\n else\n git diff --cached --name-only $1\n list_untracked_files\n fi\n}\n\n\nlist_modified_py(){\n list_modified \"$@\" | grep --color='never' '.py'\n}\n\n\nap8m(){\n\n files=$(list_modified_py \"$@\")\n\n if [ -z $files ]\n then\n return\n fi\n\n while IFS= read -r line\n do\n if [ -n \"$line\" ]\n then\n ap8 \"$line\"\n fi\n done <<< \"$files\"\n}\n\n\npycharm_modified_py(){\n files=$(list_modified_py \"$@\")\n pycharm $(for i in $files;do echo -n \" $i\";done)\n}\n\n\n########################################################################################################################\n# list and name git branches by last commit date:\n\nexport _BRANCH_VAR_COUNT=0\n\nbb(){\n\n # print list:\n py3 $SCRIPTS/py3/tools/git/branch_list_by_date.py \"$@\"\n\n # clear old variables:\n for i in `seq 1 $_BRANCH_VAR_COUNT`; do\n export b$i=\n done\n\n # set new variables:\n i=0\n while IFS= read -r line; do\n export b$i=\"$line\"\n let i=i+1\n done <<< \"$(py3 $SCRIPTS/py3/tools/git/branch_name_list_by_date.py \"$@\")\"\n\n export _BRANCH_VAR_COUNT=$i\n}\n\n########################################################################################################################\n\n\nalias b0='gco $b0'\nalias b1='gco $b1'\nalias b2='gco $b2'\nalias b3='gco $b3'\nalias b4='gco $b4'\nalias b5='gco $b5'\nalias b6='gco $b6'\nalias b7='gco $b7'\nalias b8='gco $b8'\nalias b9='gco $b9'\n\n\nb(){\n git checkout \"$(eval \"echo \\$b$1\")\"\n}\n\n########################################################################################################################\n\ntype_var REPO\ncb\nprint_break\n\ninfo_git(){\n type_var REPO\n type_var b\n print_break\n info_bash\n print_break\n display_info git\n}\n\nalias info=\"info_git\"\n\n########################################################################################################################\n", "text_preview": "#!/bin/bash EDITOR=gedit export REPO=$(basename \"`git rev-parse --show-toplevel`\") export m='master' export DEFAULT_BRANCH=$m alias s='git status -s' alias m='gco $m' alias p='git push' alias pf='git push -f' alias cb='b=$(current_branch); ", "input_sha256": "99abd39a99b3f1c3190eba6aab07439f4be731191056dd264256b155b7aa25a3", "text_sha256": "a086bebcd9c368b7502221e2e88a9f27eb0ef5202c5ab47fd9e1ea0c375bc88d", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 20041, "input_policy": "text-and-optional-url-v1", "label_policy_version": 12, "requested_model": "decision-models/baseten-mammoth-27b-latest", "backend": "baseten", "endpoint": "https://inference.baseten.co/v1/systemone", "status": "ok", "training_eligible": true, "label": {"primary": {"main_format": "Technical Writing", "sub_format": null}, "secondary": null, "tertiary": null, "content_structure": []}, "candidate_label": null, "topic": {"primary": {"main_topic": "Programming & Software Engineering", "sub_topic": null}, "secondary": null}, "scores": {"content_quality": 1, "noise_severity": 0, "missing_content_severity": 0, "factual_density": 4, "pretraining_utility": 0, "math_density": 0, "code_density": 4, "reasoning_density": 0, "education_level": 2, "creative_writing_quality": null}, "score_expectations": {"content_quality": 0.5394791311048855, "noise_severity": 0.16750911321844508, "missing_content_severity": 0.01515480323744797, "factual_density": 3.3224078653291307, "pretraining_utility": 0.23408339846612264, "math_density": 0.03466093906592152, "code_density": 3.9095147249901823, "reasoning_density": 0.21240771076466586, "education_level": 2.2128564953614043, "creative_writing_quality": -0.3998693335303859}, "api_choices": {"primary": "Technical Writing", "secondary": "NONE", "tertiary": "NONE", "education_level": "2", "creative_writing_quality": "not_applicable", "primary_topic": "Programming & Software Engineering", "secondary_topic": "NONE"}, "review_reasons": [], "format_slot_diagnostics": {"comparable": true, "secondary_tertiary_identical": false, "secondary_tertiary_max_abs_gap": 0.005932624546490239, "secondary_choice": "NONE", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.9941178931723821, "secondary": 0.9798280431365216, "tertiary": 0.9860186078806854, "structured_records": 0.10075041519421844, "procedural_steps": 0.02627879048785769, "worked_solution": 0.0004343970883562743, "contextual_dialogue": 6.397202572660239e-06, "content_quality": 0.4352285931277925, "noise_severity": 0.8604090723179625, "missing_content_severity": 0.9873709973021267, "factual_density": 0.4353398877742757, "pretraining_utility": 0.48648523426500256, "math_density": 0.9711158841117321, "code_density": 0.924595604158485, "reasoning_density": 0.8229935743627784, "education_level": 0.6645312282646659, "creative_writing_quality": 0.9993357956089838, "primary_topic": 0.9647778140267391, "secondary_topic": 0.7908118493484991}, "probability_margin": {"primary": 0.9917617025199769, "secondary": 0.971090919071954, "tertiary": 0.98183743082475, "education_level": 0.5003119329958624, "creative_writing_quality": 0.999222438104517, "primary_topic": 0.9337207380236212, "secondary_topic": 0.6490539699835596}, "raw_probabilities": {"primary": {"Academic Writing": 3.053863923166544e-05, "Content Listing": 3.383191165415509e-05, "Creative Writing": 1.7934327043524337e-05, "Customer Support Page": 1.3683388101523577e-05, "Q&A Forum": 1.2480176857872008e-05, "Discussion Thread": 8.316920693383894e-06, "Comment Section": 1.4036203162055886e-05, "Missing Content": 2.4929558435555134e-05, "Knowledge Article": 0.00015591298015639108, "Legal Notices": 3.4221539520898656e-05, "News Article": 5.325009658119132e-06, "Organizational Announcement": 1.1158070003699434e-05, "Nonfiction Writing": 1.268768092437631e-05, "Organizational About Page": 1.3878922414879001e-05, "Personal About Page": 1.8784629094233665e-05, "Personal Blog": 1.0672580806583213e-05, "Product Page": 8.273477983412655e-06, "Spam / Ads": 1.3391880409413438e-05, "Structured Data": 0.0007169196657554313, "Technical Writing": 0.9943629809568661, "Transcript / Interview": 1.939662497121743e-05, "Tutorial / How-To Guide": 0.0018515425279237632, "User Reviews": 7.823891442293488e-06, "Other / Unknown": 0.0026012784368892477}, "secondary": {"Academic Writing": 0.00010412543905380926, "Content Listing": 0.0001859040177067125, "Creative Writing": 7.010295896359632e-05, "Customer Support Page": 5.8801145876537644e-05, "Q&A Forum": 3.636758334689681e-05, "Discussion Thread": 2.4928537820686938e-05, "Comment Section": 5.20595666924304e-05, "Missing Content": 0.00012789583315088232, "Knowledge Article": 0.0005383578495336825, "Legal Notices": 9.25564722938115e-05, "News Article": 4.265323278599335e-05, "Organizational Announcement": 4.232374459023198e-05, "Nonfiction Writing": 3.676815769196856e-05, "Organizational About Page": 5.300687403664393e-05, "Personal About Page": 5.396055983656434e-05, "Personal Blog": 4.569905247193705e-05, "Product Page": 3.112755610075265e-05, "Spam / Ads": 4.5242689338968867e-05, "Structured Data": 0.002455112939783361, "Technical Writing": 0.009577622267212581, "Transcript / Interview": 6.0521550006318036e-05, "Tutorial / How-To Guide": 0.005570728680926295, "User Reviews": 2.5591951612809704e-05, "NONE": 0.9806685413391666}, "tertiary": {"Academic Writing": 5.663766059992365e-05, "Content Listing": 0.0002362537262079344, "Creative Writing": 4.906880066847056e-05, "Customer Support Page": 3.883668540463521e-05, "Q&A Forum": 2.0992480530945186e-05, "Discussion Thread": 1.5309678809409634e-05, "Comment Section": 5.0059577833046503e-05, "Missing Content": 0.00013770008707427887, "Knowledge Article": 0.0006908936638490563, "Legal Notices": 0.00014387620689730704, "News Article": 2.7694633020601113e-05, "Organizational Announcement": 2.6663529836980823e-05, "Nonfiction Writing": 3.224347956214422e-05, "Organizational About Page": 4.36286499493601e-05, "Personal About Page": 3.7388593455098155e-05, "Personal Blog": 2.896168053871663e-05, "Product Page": 2.3323354401225252e-05, "Spam / Ads": 3.7085464711978725e-05, "Structured Data": 0.0022858568898472538, "Technical Writing": 0.004763735060906916, "Transcript / Interview": 3.635554433122489e-05, "Tutorial / How-To Guide": 0.004600428685879886, "User Reviews": 1.5839980026844323e-05, "NONE": 0.9866011658856568}, "structured_records": {"false": 0.8992495848057815, "true": 0.10075041519421844}, "procedural_steps": {"false": 0.9737212095121424, "true": 0.02627879048785769}, "worked_solution": {"false": 0.9995656029116438, "true": 0.0004343970883562743}, "contextual_dialogue": {"false": 0.9999936027974273, "true": 6.397202572660239e-06}, "content_quality": {"-2": 0.01488299303894434, "-1": 0.08211049135494895, "0": 0.36025331674415084, "1": 0.43415078918618855, "2": 0.10860240967576733}, "noise_severity": {"0": 0.8533219671644086, "1": 0.13046316067353272, "2": 0.012868750686778636, "3": 0.002076034729765664, "4": 0.0012700867455145213}, "missing_content_severity": {"0": 0.9909690781414815, "1": 0.004330395705227357, "2": 0.0034990674934276605, "3": 0.000979562094087744, "4": 0.00022189656577551416}, "factual_density": {"0": 0.005030452865144834, "1": 0.01115983438413427, "2": 0.12447991647229344, "3": 0.37503098711330013, "4": 0.48429880916512735}, "pretraining_utility": {"-2": 0.012418203463569418, "-1": 0.16623075328079825, "0": 0.44547724802027644, "1": 0.32659703179665217, "2": 0.049276763438703776}, "math_density": {"0": 0.9702494239829063, "1": 0.027501319087270767, "2": 0.0007622113561698449, "3": 0.0003129850283009695, "4": 0.0011740605453520372}, "code_density": {"0": 0.0001696591041085235, "1": 0.00040165489709534255, "2": 0.008609310484324579, "3": 0.07138305293344879, "4": 0.9194363225810227}, "reasoning_density": {"0": 0.8634324676143282, "1": 0.06773085048641404, "2": 0.06361134961485286, "3": 0.003447168089073162, "4": 0.0017781641953316502}, "education_level": {"none": 0.00128291087569551, "0": 0.002216058244405025, "1": 0.038323462718881325, "2": 0.720442690220555, "3": 0.22013075722469252, "4": 0.017604120715770725}, "creative_writing_quality": {"not_applicable": 0.9994464963408198, "-2": 8.506874946673027e-05, "-1": 0.00015832317791791617, "0": 0.00022405823630278869, "1": 6.497545343734493e-05, "2": 2.1078042055493057e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 4.605181171942513e-05, "Art & Design": 9.633556760866206e-05, "Law & Crime": 5.8404374679700506e-05, "Education & Careers": 4.016193306589831e-05, "Entertainment & Media": 3.7574333324799155e-05, "Fashion & Beauty": 3.1926761831499265e-05, "Business, Economics & Finance": 8.326294591262677e-05, "Food & Dining": 2.984826231756757e-05, "Games & Gaming": 5.977431472698281e-05, "Electronics & Hardware": 0.00013869629526491945, "Health, Healthcare & Wellness": 2.479715674843232e-05, "History & Geography": 4.6148049580623935e-05, "Home, Pets & Hobbies": 5.126062451969011e-05, "Industry & Production": 4.2413104440030506e-05, "Language, Literature & Philosophy": 6.178292692939234e-05, "Politics & Government": 2.5480330715290904e-05, "Religion & Spirituality": 3.4629510452521035e-05, "Science, Mathematics & Engineering": 0.0001228233352102407, "Relationships & Community": 2.6815328567538733e-05, "Software Usage & Applications": 0.03241177546362791, "Programming & Software Engineering": 0.9661325134872492, "Sports & Fitness": 5.575934865568546e-05, "Vehicles & Transportation": 2.4086303591024484e-05, "Travel & Tourism": 4.556558466098323e-05, "Other / Uncovered Subject": 0.00020862688949585927, "Unknown / Insufficient Content": 6.348595510360094e-05}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0005946276833719257, "Art & Design": 0.00047346788073890546, "Law & Crime": 0.00044156497791369477, "Education & Careers": 0.0003015395648814587, "Entertainment & Media": 0.00036521502813415067, "Fashion & Beauty": 0.00019031151854088696, "Business, Economics & Finance": 0.0005463668698953679, "Food & Dining": 0.00018639772385871194, "Games & Gaming": 0.0003429000102080527, "Electronics & Hardware": 0.0005189789422491615, "Health, Healthcare & Wellness": 0.00020230609196214308, "History & Geography": 0.00022759848518960068, "Home, Pets & Hobbies": 0.0002551398361929046, "Industry & Production": 0.00021696814762639256, "Language, Literature & Philosophy": 0.00020923948607713317, "Politics & Government": 0.00019710602462259718, "Religion & Spirituality": 0.00027063092638330655, "Science, Mathematics & Engineering": 0.000488665571696028, "Relationships & Community": 0.00018284982727507674, "Software Usage & Applications": 0.14980357746692036, "Programming & Software Engineering": 0.043867035603021944, "Sports & Fitness": 0.0002023412090202266, "Vehicles & Transportation": 0.00012618514887493767, "Travel & Tourism": 0.00033597153669924024, "Other / Uncovered Subject": 0.000595466988165947, "NONE": 0.7988575474504799}}, "probabilities": {"primary": {"Academic Writing": 3.053863923166545e-05, "Content Listing": 3.3831911654155096e-05, "Creative Writing": 1.793432704352434e-05, "Customer Support Page": 1.3683388101523579e-05, "Q&A Forum": 1.248017685787201e-05, "Discussion Thread": 8.316920693383896e-06, "Comment Section": 1.4036203162055888e-05, "Missing Content": 2.4929558435555137e-05, "Knowledge Article": 0.0001559129801563911, "Legal Notices": 3.422153952089866e-05, "News Article": 5.3250096581191326e-06, "Organizational Announcement": 1.1158070003699435e-05, "Nonfiction Writing": 1.2687680924376313e-05, "Organizational About Page": 1.3878922414879003e-05, "Personal About Page": 1.8784629094233668e-05, "Personal Blog": 1.0672580806583215e-05, "Product Page": 8.273477983412657e-06, "Spam / Ads": 1.339188040941344e-05, "Structured Data": 0.0007169196657554314, "Technical Writing": 0.9943629809568663, "Transcript / Interview": 1.9396624971217432e-05, "Tutorial / How-To Guide": 0.0018515425279237634, "User Reviews": 7.82389144229349e-06, "Other / Unknown": 0.002601278436889248}, "secondary": {"Academic Writing": 0.00010412543905380926, "Content Listing": 0.0001859040177067125, "Creative Writing": 7.010295896359632e-05, "Customer Support Page": 5.8801145876537644e-05, "Q&A Forum": 3.636758334689681e-05, "Discussion Thread": 2.4928537820686938e-05, "Comment Section": 5.20595666924304e-05, "Missing Content": 0.00012789583315088232, "Knowledge Article": 0.0005383578495336825, "Legal Notices": 9.25564722938115e-05, "News Article": 4.265323278599335e-05, "Organizational Announcement": 4.232374459023198e-05, "Nonfiction Writing": 3.676815769196856e-05, "Organizational About Page": 5.300687403664393e-05, "Personal About Page": 5.396055983656434e-05, "Personal Blog": 4.569905247193705e-05, "Product Page": 3.112755610075265e-05, "Spam / Ads": 4.5242689338968867e-05, "Structured Data": 0.002455112939783361, "Technical Writing": 0.009577622267212581, "Transcript / Interview": 6.0521550006318036e-05, "Tutorial / How-To Guide": 0.005570728680926295, "User Reviews": 2.5591951612809704e-05, "NONE": 0.9806685413391666}, "tertiary": {"Academic Writing": 5.663766059992365e-05, "Content Listing": 0.0002362537262079344, "Creative Writing": 4.906880066847056e-05, "Customer Support Page": 3.883668540463521e-05, "Q&A Forum": 2.0992480530945186e-05, "Discussion Thread": 1.5309678809409634e-05, "Comment Section": 5.0059577833046503e-05, "Missing Content": 0.00013770008707427887, "Knowledge Article": 0.0006908936638490563, "Legal Notices": 0.00014387620689730704, "News Article": 2.7694633020601113e-05, "Organizational Announcement": 2.6663529836980823e-05, "Nonfiction Writing": 3.224347956214422e-05, "Organizational About Page": 4.36286499493601e-05, "Personal About Page": 3.7388593455098155e-05, "Personal Blog": 2.896168053871663e-05, "Product Page": 2.3323354401225252e-05, "Spam / Ads": 3.7085464711978725e-05, "Structured Data": 0.0022858568898472538, "Technical Writing": 0.004763735060906916, "Transcript / Interview": 3.635554433122489e-05, "Tutorial / How-To Guide": 0.004600428685879886, "User Reviews": 1.5839980026844323e-05, "NONE": 0.9866011658856568}, "structured_records": {"false": 0.8992495848057815, "true": 0.10075041519421844}, "procedural_steps": {"false": 0.9737212095121424, "true": 0.02627879048785769}, "worked_solution": {"false": 0.9995656029116438, "true": 0.0004343970883562743}, "contextual_dialogue": {"false": 0.9999936027974273, "true": 6.397202572660239e-06}, "content_quality": {"-2": 0.01488299303894434, "-1": 0.08211049135494895, "0": 0.36025331674415084, "1": 0.43415078918618855, "2": 0.10860240967576733}, "noise_severity": {"0": 0.8533219671644086, "1": 0.13046316067353272, "2": 0.012868750686778636, "3": 0.002076034729765664, "4": 0.0012700867455145213}, "missing_content_severity": {"0": 0.9909690781414817, "1": 0.004330395705227358, "2": 0.0034990674934276614, "3": 0.0009795620940877441, "4": 0.0002218965657755142}, "factual_density": {"0": 0.005030452865144834, "1": 0.01115983438413427, "2": 0.12447991647229344, "3": 0.37503098711330013, "4": 0.48429880916512735}, "pretraining_utility": {"-2": 0.012418203463569418, "-1": 0.16623075328079825, "0": 0.44547724802027644, "1": 0.32659703179665217, "2": 0.049276763438703776}, "math_density": {"0": 0.9702494239829064, "1": 0.02750131908727077, "2": 0.000762211356169845, "3": 0.00031298502830096953, "4": 0.0011740605453520374}, "code_density": {"0": 0.00016965910410852352, "1": 0.0004016548970953426, "2": 0.00860931048432458, "3": 0.0713830529334488, "4": 0.9194363225810228}, "reasoning_density": {"0": 0.8634324676143282, "1": 0.06773085048641404, "2": 0.06361134961485286, "3": 0.003447168089073162, "4": 0.0017781641953316502}, "education_level": {"none": 0.00128291087569551, "0": 0.002216058244405025, "1": 0.038323462718881325, "2": 0.720442690220555, "3": 0.22013075722469252, "4": 0.017604120715770725}, "creative_writing_quality": {"not_applicable": 0.9994464963408198, "-2": 8.506874946673027e-05, "-1": 0.00015832317791791617, "0": 0.00022405823630278869, "1": 6.497545343734493e-05, "2": 2.1078042055493057e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 4.605181171942513e-05, "Art & Design": 9.633556760866206e-05, "Law & Crime": 5.8404374679700506e-05, "Education & Careers": 4.016193306589831e-05, "Entertainment & Media": 3.7574333324799155e-05, "Fashion & Beauty": 3.1926761831499265e-05, "Business, Economics & Finance": 8.326294591262677e-05, "Food & Dining": 2.984826231756757e-05, "Games & Gaming": 5.977431472698281e-05, "Electronics & Hardware": 0.00013869629526491945, "Health, Healthcare & Wellness": 2.479715674843232e-05, "History & Geography": 4.6148049580623935e-05, "Home, Pets & Hobbies": 5.126062451969011e-05, "Industry & Production": 4.2413104440030506e-05, "Language, Literature & Philosophy": 6.178292692939234e-05, "Politics & Government": 2.5480330715290904e-05, "Religion & Spirituality": 3.4629510452521035e-05, "Science, Mathematics & Engineering": 0.0001228233352102407, "Relationships & Community": 2.6815328567538733e-05, "Software Usage & Applications": 0.03241177546362791, "Programming & Software Engineering": 0.9661325134872492, "Sports & Fitness": 5.575934865568546e-05, "Vehicles & Transportation": 2.4086303591024484e-05, "Travel & Tourism": 4.556558466098323e-05, "Other / Uncovered Subject": 0.00020862688949585927, "Unknown / Insufficient Content": 6.348595510360094e-05}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0005946276833719257, "Art & Design": 0.00047346788073890546, "Law & Crime": 0.00044156497791369477, "Education & Careers": 0.0003015395648814587, "Entertainment & Media": 0.00036521502813415067, "Fashion & Beauty": 0.00019031151854088696, "Business, Economics & Finance": 0.0005463668698953679, "Food & Dining": 0.00018639772385871194, "Games & Gaming": 0.0003429000102080527, "Electronics & Hardware": 0.0005189789422491615, "Health, Healthcare & Wellness": 0.00020230609196214308, "History & Geography": 0.00022759848518960068, "Home, Pets & Hobbies": 0.0002551398361929046, "Industry & Production": 0.00021696814762639256, "Language, Literature & Philosophy": 0.00020923948607713317, "Politics & Government": 0.00019710602462259718, "Religion & Spirituality": 0.00027063092638330655, "Science, Mathematics & Engineering": 0.000488665571696028, "Relationships & Community": 0.00018284982727507674, "Software Usage & Applications": 0.14980357746692036, "Programming & Software Engineering": 0.043867035603021944, "Sports & Fitness": 0.0002023412090202266, "Vehicles & Transportation": 0.00012618514887493767, "Travel & Tourism": 0.00033597153669924024, "Other / Uncovered Subject": 0.000595466988165947, "NONE": 0.7988575474504799}}, "probability_diagnostics": {"primary": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "tertiary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "structured_records": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "procedural_steps": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "worked_solution": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "contextual_dialogue": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "content_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "noise_severity": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "missing_content_severity": {"raw_sum": 0.9999999999999998, "mass_delta": -2.220446049250313e-16, "missing_mass": 2.220446049250313e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "factual_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "pretraining_utility": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "math_density": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "code_density": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "reasoning_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "education_level": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "creative_writing_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "primary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}}, "usage": {"input_tokens": 9682, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 9682, "cached_share": null, "cache_discount_reported": null, "reported_cost_usd": null}, "response_metadata": {"model": "decision-models/baseten-mammoth-27b-latest"}, "scored_at_utc": "2026-10-25T18:31:14.982844+00:00", "scoring_key_slot": "assistant_1", "dataset_uid": "5857c519-1b8c-4ca2-8418-f1dbe1fca07d", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "f4df5afb50be3223861b79643d38179f4f60ec3041aeaf4abe5431c1452a3238", "source_metadata": {"uuid": "5857c519-1b8c-4ca2-8418-f1dbe1fca07d", "repo_name": "alon-optibus/scripts", "relative_path": "bash/init/git.sh", "category": "TOOL", "algo_rel_score": 0.9854454398155212, "quality_score": 3.4555444717407227, "source_meta": {"github_metadata": {"branch": "master", "commit_count": 89, "repo_created_at": "2019-11-05T16:28:30.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 0, "forks": 0, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "fc3adf87f8effce9335a9f1f17ac93a41cb7c44a", "size_bytes": 3899, "file_timestamp": 1608586605, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "8a26e94975cc686e102bb9e4e5615bc732e77580"}}, "parsed_source_meta": {"github_metadata": {"branch": "master", "commit_count": 89, "repo_created_at": "2019-11-05T16:28:30.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 0, "forks": 0, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "fc3adf87f8effce9335a9f1f17ac93a41cb7c44a", "size_bytes": 3899, "file_timestamp": 1608586605, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "8a26e94975cc686e102bb9e4e5615bc732e77580", "url": "https://github.com/alon-optibus/scripts/blob/8a26e94975cc686e102bb9e4e5615bc732e77580/bash/init/git.sh"}, "gpt4o_tokens": 1111, "dataset_split": "shell", "probability_weighted_scores": {"content_quality": 0.5394791311048855, "noise_severity": 0.16750911321844508, "missing_content_severity": 0.01515480323744797, "factual_density": 3.3224078653291307, "pretraining_utility": 0.23408339846612264, "math_density": 0.03466093906592152, "code_density": 3.9095147249901823, "reasoning_density": 0.21240771076466586, "education_level": 2.2128564953614043, "creative_writing_quality": -0.3998693335303859}, "score_applicability": {"education_level": 0.9987170891243046, "creative_writing_quality": 0.0005535036591802731}} {"source_group": "shell", "source": "openbmb/UltraData-Stack-v3-L2/shell", "domain": "github.com", "language": "shell", "url": "https://github.com/equinor/radix-platform/blob/1001160c2f4387bcfdc16c10fc2da8196c82f938/scripts/utility/util.sh", "id": "shell-0-163e2261e1be47dd50dc502791f14057", "text": "#!/usr/bin/env bash\n\nred=$'\\e[1;31m'\ngrn=$'\\e[1;32m'\nyel=$'\\e[1;33m'\nnormal=$(tput sgr0)\n\nfunction dr_zone_message() {\n local env=\"$1\"\n echo \"As MODE=DR is requested, you need to temporarily alter some code.\"\n echo \"Please examine the functions config_path() and environment_json() in util.sh.\"\n echo \"Prepare these functions for an alternate zone and/or subscription.\"\n echo \"\"\n echo \"\\$env must be set to $env, and you need to specify the subscription (e.g., s612).\"\n echo \"\"\n \n while true; do\n read -r -p \"If this is already done, press Yes (Y/n): \" yn\n case $yn in\n [Yy]*) break ;;\n [Nn]*)\n echo \"\"\n echo \"Quitting.\"\n exit 0\n ;;\n *) echo \"Please answer yes or no.\" ;;\n esac\n done\n \n echo \"\"\n}\n\n\nfunction config_path() {\n local env=\"$1\"\n RADIX_PLATFORM_REPOSITORY_PATH=$(git rev-parse --show-toplevel)\n if [[ $env == \"dev\" ]] || [[ $env == \"playground\" ]]; then\n if [[ ! -f \"$RADIX_PLATFORM_REPOSITORY_PATH/terraform/subscriptions/s941/$env/config.yaml\" ]]; then\n echo \"ERROR: RADIX_ZONE=$env is invalid, the file does not exist.\" >&2\n exit 1\n else\n echo \"$RADIX_PLATFORM_REPOSITORY_PATH/terraform/subscriptions/s941/$env/config.yaml\"\n fi\n elif [[ $env == \"prod\" ]] || [[ $env == \"c2\" ]] || [[ $env == \"extmon\" ]] ; then\n if [[ ! -f \"$RADIX_PLATFORM_REPOSITORY_PATH/terraform/subscriptions/s940/$env/config.yaml\" ]]; then\n echo \"ERROR: RADIX_ZONE=$env is invalid, the file does not exist.\" >&2\n exit 1\n else\n echo \"$RADIX_PLATFORM_REPOSITORY_PATH/terraform/subscriptions/s940/$env/config.yaml\"\n fi\n fi\n}\n\nfunction environment_json() {\n local RADIX_ZONE=\"$1\"\n RADIX_PLATFORM_REPOSITORY_PATH=$(git rev-parse --show-toplevel)\n if [[ $RADIX_ZONE == \"dev\" ]] || [[ $RADIX_ZONE == \"playground\" ]]; then\n local AZ_SUBSCRIPTION_NAME=\"s941\"\n elif [[ $RADIX_ZONE == \"prod\" ]] || [[ $RADIX_ZONE == \"c2\" ]] || [[ $RADIX_ZONE == \"extmon\" ]] ; then\n local AZ_SUBSCRIPTION_NAME=\"s940\"\n fi\n local terraform=$(terraform -chdir=\"$RADIX_PLATFORM_REPOSITORY_PATH/terraform/subscriptions/$AZ_SUBSCRIPTION_NAME/$RADIX_ZONE/base-infrastructure\" init) >&2\n local az_resource_group_clusters=$(terraform -chdir=\"$RADIX_PLATFORM_REPOSITORY_PATH/terraform/subscriptions/$AZ_SUBSCRIPTION_NAME/$RADIX_ZONE/base-infrastructure\" output -raw az_resource_group_clusters)\n local az_resource_group_common=$(terraform -chdir=\"$RADIX_PLATFORM_REPOSITORY_PATH/terraform/subscriptions/$AZ_SUBSCRIPTION_NAME/$RADIX_ZONE/base-infrastructure\" output -raw az_resource_group_common)\n local velero_storage_account=$(terraform -chdir=\"$RADIX_PLATFORM_REPOSITORY_PATH/terraform/subscriptions/$AZ_SUBSCRIPTION_NAME/$RADIX_ZONE/base-infrastructure\" output -raw velero_storage_account)\n local keyvault_name=$(terraform -chdir=\"$RADIX_PLATFORM_REPOSITORY_PATH/terraform/subscriptions/$AZ_SUBSCRIPTION_NAME/$RADIX_ZONE/base-infrastructure\" output -raw keyvault_name)\n local dns_zone_name=$(terraform -chdir=\"$RADIX_PLATFORM_REPOSITORY_PATH/terraform/subscriptions/$AZ_SUBSCRIPTION_NAME/$RADIX_ZONE/base-infrastructure\" output -raw dns_zone_name)\n local imageRegistry=$(terraform -chdir=\"$RADIX_PLATFORM_REPOSITORY_PATH/terraform/subscriptions/$AZ_SUBSCRIPTION_NAME/$RADIX_ZONE/base-infrastructure\" output -raw imageRegistry)\n local ip_prefix_egress=$(terraform -chdir=\"$RADIX_PLATFORM_REPOSITORY_PATH/terraform/subscriptions/$AZ_SUBSCRIPTION_NAME/$RADIX_ZONE/base-infrastructure\" output -json public_ip_prefix_names | jq -r .egress)\n local ip_prefix_ingress=$(terraform -chdir=\"$RADIX_PLATFORM_REPOSITORY_PATH/terraform/subscriptions/$AZ_SUBSCRIPTION_NAME/$RADIX_ZONE/base-infrastructure\" output -json public_ip_prefix_names | jq -r .ingress)\n local json=$(cat < /dev/null || {\n echo \"ERROR: Could not access cluster. Quitting...\"\n exit 1\n }\n\n exit 0;\n}\n\nfunction get_cluster_outbound_ip() {\n local migration_strategy=$1\n local cluster_name=$2\n local az_subscription_id=$3\n local az_ipre_outbound_name=$4\n local az_resource_group_common=$5\n local ip_prefix\n\n if [[ \"${migration_strategy}\" == \"at\" ]]; then\n ip_address=$(get_test_cluster_outbound_ip $cluster_name $az_subscription_id)\n if [[ -z \"${ip_address}\" ]]; then\n printf \"ERROR: Could not get outbound IP address for test cluster $cluster_name.\\n\" >&2\n return 1\n fi\n ip_prefix=\"$ip_address/32\"\n else\n ip_prefix=$(az network public-ip prefix show \\\n --name \"${az_ipre_outbound_name}\" \\\n --resource-group \"${az_resource_group_common}\" \\\n --subscription \"${az_subscription_id}\" \\\n --query \"ipPrefix\" \\\n --output tsv)\n fi\n echo $ip_prefix\n}\n\nfunction get_test_cluster_outbound_ip() {\n local dest_cluster=$1\n local az_subscription_id=$2\n\n json_output_file=\"/tmp/$(uuidgen)\"\n az network lb list --subscription ${az_subscription_id} | jq '[.[] | select(.tags | contains ({\"aks-managed-cluster-name\": \"'${dest_cluster}'\"}) )]' > $json_output_file\n if [[ $(jq length $json_output_file) != \"1\" ]]; then\n printf \"ERROR: Expected exactly 1 LB associated with cluster $dest_cluster, but found $(jq length $json_output_file)\" >&2\n rm $json_output_file $outbound_rules_file $frontend_ip_configurations_file\n return 1\n fi\n outbound_rules_file=\"/tmp/$(uuidgen)\"\n cat $json_output_file | jq -r .[0].outboundRules > $outbound_rules_file\n if [[ $(jq length $outbound_rules_file) != \"1\" ]]; then\n printf \"ERROR: Expected exactly 1 outbound rule associated with LB in $dest_cluster, but found $(jq length $outbound_rules_file)\" >&2\n rm $json_output_file $outbound_rules_file $frontend_ip_configurations_file\n return 1\n fi\n frontend_ip_configurations_file=\"/tmp/$(uuidgen)\"\n cat $outbound_rules_file | jq -r .[0].frontendIPConfigurations > $frontend_ip_configurations_file\n if [[ $(jq length $frontend_ip_configurations_file) != \"1\" ]]; then\n printf \"ERROR: Expected exactly 1 frontendIPConfiguration associated with outbound rule in LB for $dest_cluster, but found $(jq length $frontend_ip_configurations_file)\" >&2\n rm $json_output_file $outbound_rules_file $frontend_ip_configurations_file\n return 1\n fi\n frontend_ip_configurations_id=$(cat $frontend_ip_configurations_file | jq -r .[0].id)\n ip_address_resource_id=$(az resource show --id $frontend_ip_configurations_id --query properties.publicIPAddress.id -o tsv)\n echo $(az resource show --id $ip_address_resource_id --query properties.ipAddress -o tsv)\n\n rm $json_output_file $outbound_rules_file $frontend_ip_configurations_file\n}\n\nfunction check_staging_certs(){\n echo \"\"\n if [[ \"${OSTYPE}\" == \"linux-gnu\"* ]]; then\n dl_certs=()\n root_certs=(\"https://letsencrypt.org/certs/staging/letsencrypt-stg-root-x1.pem\" \"https://letsencrypt.org/certs/staging/letsencrypt-stg-root-x2.pem\")\n count_dl_root_certs=$(echo \"${#root_certs[@]}\")\n search_dir=/usr/local/share/ca-certificates\n i=0\n\n #Download latest stage root certs and do md5sum of each into array\n for cert in ${root_certs[@]}; do\n temp_file_path=\"/tmp/$(uuidgen)\"\n curl -s $cert -o $temp_file_path\n md5=($(md5sum ${temp_file_path}))\n dl_certs+=(\"${md5}\")\n rm ${temp_file_path}\n done\n\n #Compare installed certs with array of downloaded certs\n for file in \"$search_dir\"/*\n do\n j=0\n md5=($(md5sum ${file}))\n for item in \"${dl_certs[@]}\"; do\n if [[ $md5 == \"$item\" ]];then\n ((i=i+1))\n unset -v 'dl_certs[$j]'\n fi\n ((j=j+1))\n done\n done\n\n #Lets do the math\n if [[ $i -lt $count_dl_root_certs ]]; then\n echo \"It seems that you dont have the staging root certs installed in $search_dir\"\n echo \"Visit https://letsencrypt.org/docs/staging-environment/#root-certificates and download the $count_dl_root_certs root certs, and install them in the path above.\"\n echo \"Next you need to run: sudo update-ca-certificates\"\n exit 0\n fi\n fi\n}\n\nget_latest_release() {\n # retrieves latest release version from a GitHub repository. Assumes the version has format v..\n # this function does not use the more convenient GitHub API in order to circumvent rate limiting\n curl -sL https://github.com/$1/releases/latest | grep -E \"/tree/\" | grep -E \"v[0-9]{1,}\\.[0-9]{1,}\\.[0-9]{1,}\" -o | head -1\n}\n", "text_preview": "#!/usr/bin/env bash red=$'\\e[1;31m' grn=$'\\e[1;32m' yel=$'\\e[1;33m' normal=$(tput sgr0) function dr_zone_message() { local env=\"$1\" echo \"As MODE=DR is requested, you need to temporarily alter some code.\" echo \"Please examine the functions ", "input_sha256": "82a77490138e1b3a325a58e2cceb0e67a44dcddc27e10d4d2899be58eb4ca9ba", "text_sha256": "163e2261e1be47dd50dc502791f14057ad0fe4a6c8aa9cd4eafa9b011616e2b0", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 20039, "input_policy": "text-and-optional-url-v1", "label_policy_version": 12, "requested_model": "decision-models/baseten-mammoth-27b-latest", "backend": "baseten", "endpoint": "https://inference.baseten.co/v1/systemone", "status": "ok", "training_eligible": true, "label": {"primary": {"main_format": "Technical Writing", "sub_format": null}, "secondary": null, "tertiary": null, "content_structure": []}, "candidate_label": null, "topic": {"primary": {"main_topic": "Programming & Software Engineering", "sub_topic": null}, "secondary": null}, "scores": {"content_quality": 0, "noise_severity": 0, "missing_content_severity": 0, "factual_density": 4, "pretraining_utility": 0, "math_density": 0, "code_density": 4, "reasoning_density": 0, "education_level": 3, "creative_writing_quality": null}, "score_expectations": {"content_quality": 0.29269497011543616, "noise_severity": 0.03649600257863847, "missing_content_severity": 0.03128995094547611, "factual_density": 3.2564816863060013, "pretraining_utility": 0.37866895584834853, "math_density": 0.07900151514056744, "code_density": 3.8972235969539737, "reasoning_density": 1.2082030803974753, "education_level": 2.884645675835473, "creative_writing_quality": -0.3091720165119602}, "api_choices": {"primary": "Technical Writing", "secondary": "NONE", "tertiary": "NONE", "education_level": "3", "creative_writing_quality": "not_applicable", "primary_topic": "Programming & Software Engineering", "secondary_topic": "NONE"}, "review_reasons": [], "format_slot_diagnostics": {"comparable": true, "secondary_tertiary_identical": false, "secondary_tertiary_max_abs_gap": 0.006585030632675796, "secondary_choice": "NONE", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.9943051824867583, "secondary": 0.9702102345317974, "tertiary": 0.9649023115847418, "structured_records": 0.02584643088254062, "procedural_steps": 0.20088387531848884, "worked_solution": 0.0006260444084672879, "contextual_dialogue": 0.000131689655304957, "content_quality": 0.4463811029769761, "noise_severity": 0.9695866645178013, "missing_content_severity": 0.9739250408787699, "factual_density": 0.3804014052550009, "pretraining_utility": 0.4647147094938806, "math_density": 0.9341654040495271, "code_density": 0.9143529974616446, "reasoning_density": 0.0, "education_level": 0.5582775317589938, "creative_writing_quality": 0.999527890996939, "primary_topic": 0.9923481295059439, "secondary_topic": 0.9048038022170587}, "probability_margin": {"primary": 0.9922770089622605, "secondary": 0.96052109813914, "tertiary": 0.9515886188697276, "education_level": 0.3977904645024682, "creative_writing_quality": 0.9994418931800931, "primary_topic": 0.9865092253573956, "secondary_topic": 0.856840126778159}, "raw_probabilities": {"primary": {"Academic Writing": 3.8383962896386365e-05, "Content Listing": 3.2131280439923346e-05, "Creative Writing": 2.3086331437850705e-05, "Customer Support Page": 1.7705175701534086e-05, "Q&A Forum": 1.4789729661953771e-05, "Discussion Thread": 1.0460733510497308e-05, "Comment Section": 1.8446744280257955e-05, "Missing Content": 3.304877158917807e-05, "Knowledge Article": 0.00012418407417258997, "Legal Notices": 3.637744097619046e-05, "News Article": 6.993116093154995e-06, "Organizational Announcement": 1.5998039295966846e-05, "Nonfiction Writing": 1.5195867981748954e-05, "Organizational About Page": 1.72861890709879e-05, "Personal About Page": 1.1931122035470565e-05, "Personal Blog": 1.0220257730924205e-05, "Product Page": 9.94744826390555e-06, "Spam / Ads": 1.3686863024837538e-05, "Structured Data": 0.0005525822897638342, "Technical Writing": 0.99454246654981, "Transcript / Interview": 2.6102673501193782e-05, "Tutorial / How-To Guide": 0.0021547064644617995, "User Reviews": 8.811286749778913e-06, "Other / Unknown": 0.0022654575875496017}, "secondary": {"Academic Writing": 0.0001473816779313659, "Content Listing": 0.00012537744649158126, "Creative Writing": 0.00011412725695218274, "Customer Support Page": 0.00020824096475568918, "Q&A Forum": 5.8076647924124364e-05, "Discussion Thread": 4.2622068348060975e-05, "Comment Section": 9.891378996098188e-05, "Missing Content": 0.0002478625835209474, "Knowledge Article": 0.0005256554415099669, "Legal Notices": 0.00013662533761849542, "News Article": 6.683325461220819e-05, "Organizational Announcement": 7.212046501380312e-05, "Nonfiction Writing": 5.8220469841259345e-05, "Organizational About Page": 7.808958092582306e-05, "Personal About Page": 5.275638361146033e-05, "Personal Blog": 5.790443112023647e-05, "Product Page": 4.070326276641483e-05, "Spam / Ads": 6.932355037085757e-05, "Structured Data": 0.007096677105582553, "Technical Writing": 0.010930376620499274, "Transcript / Interview": 9.88286452466468e-05, "Tutorial / How-To Guide": 0.008191065766307617, "User Reviews": 3.0742489449201226e-05, "NONE": 0.9714514747596392}, "tertiary": {"Academic Writing": 0.00013020330282274606, "Content Listing": 0.00011196029289873168, "Creative Writing": 0.00010846757702130655, "Customer Support Page": 0.00032135812931005403, "Q&A Forum": 5.349990751862579e-05, "Discussion Thread": 4.46507197691991e-05, "Comment Section": 0.0002618639728442393, "Missing Content": 0.000335025278533896, "Knowledge Article": 0.0006349443314730629, "Legal Notices": 0.0002658857763245042, "News Article": 6.884812144880178e-05, "Organizational Announcement": 7.807799930086794e-05, "Nonfiction Writing": 8.109599378528816e-05, "Organizational About Page": 0.00010140823665667288, "Personal About Page": 4.874149594611023e-05, "Personal Blog": 5.89821916932348e-05, "Product Page": 4.765462466991157e-05, "Spam / Ads": 8.550488025001088e-05, "Structured Data": 0.007000906471002075, "Technical Writing": 0.008896635723768876, "Transcript / Interview": 9.553283788987952e-05, "Tutorial / How-To Guide": 0.014776096398983411, "User Reviews": 2.7940467377491886e-05, "NONE": 0.9663647152687109}, "structured_records": {"false": 0.9741535691174594, "true": 0.02584643088254062}, "procedural_steps": {"false": 0.7991161246815112, "true": 0.20088387531848884}, "worked_solution": {"false": 0.9993739555915327, "true": 0.0006260444084672879}, "contextual_dialogue": {"false": 0.999868310344695, "true": 0.000131689655304957}, "content_quality": {"-2": 0.019924493675571562, "-1": 0.14597486580495317, "0": 0.4276012391999242, "1": 0.33447997936756957, "2": 0.07201942195198141}, "noise_severity": {"0": 0.9676026649790072, "1": 0.029619088088623673, "2": 0.0018260054374063302, "3": 0.0005840623646490325, "4": 0.0003681791303137606}, "missing_content_severity": {"0": 0.9747760914112291, "1": 0.020534670017950944, "2": 0.0035612376796550545, "3": 0.0008791979964447911, "4": 0.0002488028947201708}, "factual_density": {"0": 0.005160083793745937, "1": 0.013813604986155135, "2": 0.1378418703486745, "3": 0.40575342286320076, "4": 0.4374310180082236}, "pretraining_utility": {"-2": 0.009869019486921126, "-1": 0.11209865740565507, "0": 0.4200816388730794, "1": 0.4053957162408427, "2": 0.05255496799350155}, "math_density": {"0": 0.9308412745053174, "1": 0.06279120210420704, "2": 0.004227732365568248, "3": 0.0008043157944051131, "4": 0.0013354752305021395}, "code_density": {"0": 0.00023920565065865452, "1": 0.00046771168894457413, "2": 0.00898164891160842, "3": 0.08245314755334139, "4": 0.9078582861954471}, "reasoning_density": {"0": 0.4124561244238421, "1": 0.19099944477774822, "2": 0.22909050407340004, "3": 0.11079307942711124, "4": 0.05666084729789828}, "education_level": {"none": 0.0008537177242882231, "0": 0.0012104944178763187, "1": 0.003149082781690907, "2": 0.23410747863002662, "3": 0.6318979431324948, "4": 0.12878128331362304}, "creative_writing_quality": {"not_applicable": 0.9996065758307825, "-2": 5.7696524408441074e-05, "-1": 9.821808125791661e-05, "0": 0.0001646826506893556, "1": 5.367843939066765e-05, "2": 1.9148473471281828e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 3.2268632824809526e-05, "Art & Design": 3.4772339194441616e-05, "Law & Crime": 4.2516999014033185e-05, "Education & Careers": 2.5569105341557267e-05, "Entertainment & Media": 1.9187531041447054e-05, "Fashion & Beauty": 2.0100000524095653e-05, "Business, Economics & Finance": 4.906609498473218e-05, "Food & Dining": 1.938444920412369e-05, "Games & Gaming": 4.172877652445526e-05, "Electronics & Hardware": 0.0001632447198312188, "Health, Healthcare & Wellness": 2.0686557414081928e-05, "History & Geography": 3.112911476070217e-05, "Home, Pets & Hobbies": 2.09929045442438e-05, "Industry & Production": 7.406526888684922e-05, "Language, Literature & Philosophy": 2.6121183877573445e-05, "Politics & Government": 1.918128306805143e-05, "Religion & Spirituality": 2.4508446631086197e-05, "Science, Mathematics & Engineering": 0.00028175563203465163, "Relationships & Community": 1.6013896352980833e-05, "Software Usage & Applications": 0.006133206859858119, "Programming & Software Engineering": 0.9926424322172537, "Sports & Fitness": 3.099227713247318e-05, "Vehicles & Transportation": 1.4195064218656626e-05, "Travel & Tourism": 3.186201764757688e-05, "Other / Uncovered Subject": 0.0001470642166173003, "Unknown / Insufficient Content": 3.795441121720675e-05}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0003895647392298866, "Art & Design": 0.0002426474198677294, "Law & Crime": 0.00041217774671692447, "Education & Careers": 0.0002002138196585169, "Entertainment & Media": 0.0002592573358368632, "Fashion & Beauty": 0.00015150300101064625, "Business, Economics & Finance": 0.000507998812361362, "Food & Dining": 0.0001294950994955032, "Games & Gaming": 0.00021312304634767753, "Electronics & Hardware": 0.0007173454889463485, "Health, Healthcare & Wellness": 0.0001768400463674946, "History & Geography": 0.00016703199643085668, "Home, Pets & Hobbies": 0.0001341600400091655, "Industry & Production": 0.0003807515734356866, "Language, Literature & Philosophy": 0.00011468664483600776, "Politics & Government": 0.00018297961879232838, "Religion & Spirituality": 0.00019766473257049177, "Science, Mathematics & Engineering": 0.00083280180744032, "Relationships & Community": 0.00010332291837058536, "Software Usage & Applications": 0.051625067661320426, "Programming & Software Engineering": 0.03354009305761465, "Sports & Fitness": 0.00015505312472585854, "Vehicles & Transportation": 8.173373332246267e-05, "Travel & Tourism": 0.00020622521969370432, "Other / Uncovered Subject": 0.000413066876118987, "NONE": 0.9084651944394795}}, "probabilities": {"primary": {"Academic Writing": 3.8383962896386386e-05, "Content Listing": 3.213128043992336e-05, "Creative Writing": 2.3086331437850715e-05, "Customer Support Page": 1.7705175701534093e-05, "Q&A Forum": 1.4789729661953778e-05, "Discussion Thread": 1.0460733510497313e-05, "Comment Section": 1.8446744280257962e-05, "Missing Content": 3.304877158917808e-05, "Knowledge Article": 0.00012418407417259003, "Legal Notices": 3.6377440976190474e-05, "News Article": 6.993116093154998e-06, "Organizational Announcement": 1.5998039295966852e-05, "Nonfiction Writing": 1.5195867981748961e-05, "Organizational About Page": 1.7286189070987907e-05, "Personal About Page": 1.193112203547057e-05, "Personal Blog": 1.022025773092421e-05, "Product Page": 9.947448263905555e-06, "Spam / Ads": 1.3686863024837545e-05, "Structured Data": 0.0005525822897638344, "Technical Writing": 0.9945424665498105, "Transcript / Interview": 2.6102673501193792e-05, "Tutorial / How-To Guide": 0.0021547064644618003, "User Reviews": 8.811286749778916e-06, "Other / Unknown": 0.0022654575875496025}, "secondary": {"Academic Writing": 0.0001473816779313659, "Content Listing": 0.00012537744649158126, "Creative Writing": 0.00011412725695218274, "Customer Support Page": 0.00020824096475568918, "Q&A Forum": 5.8076647924124364e-05, "Discussion Thread": 4.2622068348060975e-05, "Comment Section": 9.891378996098188e-05, "Missing Content": 0.0002478625835209474, "Knowledge Article": 0.0005256554415099669, "Legal Notices": 0.00013662533761849542, "News Article": 6.683325461220819e-05, "Organizational Announcement": 7.212046501380312e-05, "Nonfiction Writing": 5.8220469841259345e-05, "Organizational About Page": 7.808958092582306e-05, "Personal About Page": 5.275638361146033e-05, "Personal Blog": 5.790443112023647e-05, "Product Page": 4.070326276641483e-05, "Spam / Ads": 6.932355037085757e-05, "Structured Data": 0.007096677105582553, "Technical Writing": 0.010930376620499274, "Transcript / Interview": 9.88286452466468e-05, "Tutorial / How-To Guide": 0.008191065766307617, "User Reviews": 3.0742489449201226e-05, "NONE": 0.9714514747596392}, "tertiary": {"Academic Writing": 0.00013020330282274609, "Content Listing": 0.0001119602928987317, "Creative Writing": 0.00010846757702130657, "Customer Support Page": 0.0003213581293100541, "Q&A Forum": 5.34999075186258e-05, "Discussion Thread": 4.4650719769199105e-05, "Comment Section": 0.00026186397284423934, "Missing Content": 0.00033502527853389606, "Knowledge Article": 0.000634944331473063, "Legal Notices": 0.00026588577632450424, "News Article": 6.88481214488018e-05, "Organizational Announcement": 7.807799930086796e-05, "Nonfiction Writing": 8.109599378528817e-05, "Organizational About Page": 0.0001014082366566729, "Personal About Page": 4.8741495946110236e-05, "Personal Blog": 5.8982191693234805e-05, "Product Page": 4.765462466991158e-05, "Spam / Ads": 8.550488025001089e-05, "Structured Data": 0.007000906471002076, "Technical Writing": 0.008896635723768878, "Transcript / Interview": 9.553283788987953e-05, "Tutorial / How-To Guide": 0.014776096398983413, "User Reviews": 2.794046737749189e-05, "NONE": 0.966364715268711}, "structured_records": {"false": 0.9741535691174594, "true": 0.02584643088254062}, "procedural_steps": {"false": 0.7991161246815112, "true": 0.20088387531848884}, "worked_solution": {"false": 0.9993739555915327, "true": 0.0006260444084672879}, "contextual_dialogue": {"false": 0.999868310344695, "true": 0.000131689655304957}, "content_quality": {"-2": 0.019924493675571565, "-1": 0.1459748658049532, "0": 0.42760123919992427, "1": 0.3344799793675696, "2": 0.07201942195198142}, "noise_severity": {"0": 0.9676026649790072, "1": 0.029619088088623673, "2": 0.0018260054374063302, "3": 0.0005840623646490325, "4": 0.0003681791303137606}, "missing_content_severity": {"0": 0.9747760914112291, "1": 0.020534670017950944, "2": 0.0035612376796550545, "3": 0.0008791979964447911, "4": 0.0002488028947201708}, "factual_density": {"0": 0.005160083793745938, "1": 0.013813604986155137, "2": 0.13784187034867454, "3": 0.4057534228632008, "4": 0.43743101800822365}, "pretraining_utility": {"-2": 0.009869019486921128, "-1": 0.11209865740565508, "0": 0.4200816388730795, "1": 0.40539571624084275, "2": 0.05255496799350156}, "math_density": {"0": 0.9308412745053175, "1": 0.06279120210420705, "2": 0.004227732365568249, "3": 0.0008043157944051132, "4": 0.0013354752305021398}, "code_density": {"0": 0.00023920565065865452, "1": 0.00046771168894457413, "2": 0.00898164891160842, "3": 0.08245314755334139, "4": 0.9078582861954471}, "reasoning_density": {"0": 0.41245612442384216, "1": 0.19099944477774825, "2": 0.22909050407340006, "3": 0.11079307942711125, "4": 0.05666084729789829}, "education_level": {"none": 0.0008537177242882232, "0": 0.001210494417876319, "1": 0.0031490827816909074, "2": 0.23410747863002665, "3": 0.6318979431324949, "4": 0.12878128331362307}, "creative_writing_quality": {"not_applicable": 0.9996065758307823, "-2": 5.769652440844106e-05, "-1": 9.821808125791659e-05, "0": 0.00016468265068935557, "1": 5.367843939066764e-05, "2": 1.9148473471281825e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 3.226863282480952e-05, "Art & Design": 3.477233919444161e-05, "Law & Crime": 4.251699901403318e-05, "Education & Careers": 2.556910534155726e-05, "Entertainment & Media": 1.918753104144705e-05, "Fashion & Beauty": 2.010000052409565e-05, "Business, Economics & Finance": 4.9066094984732164e-05, "Food & Dining": 1.9384449204123686e-05, "Games & Gaming": 4.1728776524455256e-05, "Electronics & Hardware": 0.00016324471983121877, "Health, Healthcare & Wellness": 2.0686557414081924e-05, "History & Geography": 3.112911476070216e-05, "Home, Pets & Hobbies": 2.0992904544243796e-05, "Industry & Production": 7.40652688868492e-05, "Language, Literature & Philosophy": 2.612118387757344e-05, "Politics & Government": 1.9181283068051426e-05, "Religion & Spirituality": 2.450844663108619e-05, "Science, Mathematics & Engineering": 0.0002817556320346516, "Relationships & Community": 1.601389635298083e-05, "Software Usage & Applications": 0.006133206859858117, "Programming & Software Engineering": 0.9926424322172535, "Sports & Fitness": 3.0992277132473177e-05, "Vehicles & Transportation": 1.4195064218656623e-05, "Travel & Tourism": 3.1862017647576875e-05, "Other / Uncovered Subject": 0.00014706421661730027, "Unknown / Insufficient Content": 3.7954411217206746e-05}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0003895647392298866, "Art & Design": 0.0002426474198677294, "Law & Crime": 0.00041217774671692447, "Education & Careers": 0.0002002138196585169, "Entertainment & Media": 0.0002592573358368632, "Fashion & Beauty": 0.00015150300101064625, "Business, Economics & Finance": 0.000507998812361362, "Food & Dining": 0.0001294950994955032, "Games & Gaming": 0.00021312304634767753, "Electronics & Hardware": 0.0007173454889463485, "Health, Healthcare & Wellness": 0.0001768400463674946, "History & Geography": 0.00016703199643085668, "Home, Pets & Hobbies": 0.0001341600400091655, "Industry & Production": 0.0003807515734356866, "Language, Literature & Philosophy": 0.00011468664483600776, "Politics & Government": 0.00018297961879232838, "Religion & Spirituality": 0.00019766473257049177, "Science, Mathematics & Engineering": 0.00083280180744032, "Relationships & Community": 0.00010332291837058536, "Software Usage & Applications": 0.051625067661320426, "Programming & Software Engineering": 0.03354009305761465, "Sports & Fitness": 0.00015505312472585854, "Vehicles & Transportation": 8.173373332246267e-05, "Travel & Tourism": 0.00020622521969370432, "Other / Uncovered Subject": 0.000413066876118987, "NONE": 0.9084651944394795}}, "probability_diagnostics": {"primary": {"raw_sum": 0.9999999999999996, "mass_delta": -4.440892098500626e-16, "missing_mass": 4.440892098500626e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "tertiary": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "structured_records": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "procedural_steps": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "worked_solution": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "contextual_dialogue": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "content_quality": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "noise_severity": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "missing_content_severity": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "factual_density": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "pretraining_utility": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "math_density": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "code_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "reasoning_density": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "education_level": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "creative_writing_quality": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "primary_topic": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "secondary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}}, "usage": {"input_tokens": 11373, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 11373, "cached_share": null, "cache_discount_reported": null, "reported_cost_usd": null}, "response_metadata": {"model": "decision-models/baseten-mammoth-27b-latest"}, "scored_at_utc": "2026-10-25T18:31:15.100320+00:00", "scoring_key_slot": "primary", "dataset_uid": "c81c7e28-a3a2-4e2f-8119-6f36ece43a65", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "946508ddee941e162daba14f50bc6f1658e440467e2d50ce72a59f281aaff121", "source_metadata": {"uuid": "c81c7e28-a3a2-4e2f-8119-6f36ece43a65", "repo_name": "equinor/radix-platform", "relative_path": "scripts/utility/util.sh", "category": "TOOL", "algo_rel_score": 0.9988864064216614, "quality_score": 3.8434526920318604, "source_meta": {"github_metadata": {"branch": "master", "commit_count": 3018, "repo_created_at": "2018-07-06T07:49:56.000Z", "is_fork": false, "is_org_owned": true, "forked_from": null, "stars": 30, "forks": 4, "issues": 31, "pull_requests": 1}, "file_meta": {"content_id": "cae829fb42c077dfeb5edc4b1116cc0d4afde723", "size_bytes": 10681, "file_timestamp": 1753088015, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "1001160c2f4387bcfdc16c10fc2da8196c82f938"}}, "parsed_source_meta": {"github_metadata": {"branch": "master", "commit_count": 3018, "repo_created_at": "2018-07-06T07:49:56.000Z", "is_fork": false, "is_org_owned": true, "forked_from": null, "stars": 30, "forks": 4, "issues": 31, "pull_requests": 1}, "file_meta": {"content_id": "cae829fb42c077dfeb5edc4b1116cc0d4afde723", "size_bytes": 10681, "file_timestamp": 1753088015, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "1001160c2f4387bcfdc16c10fc2da8196c82f938", "url": "https://github.com/equinor/radix-platform/blob/1001160c2f4387bcfdc16c10fc2da8196c82f938/scripts/utility/util.sh"}, "gpt4o_tokens": 2777, "dataset_split": "shell", "probability_weighted_scores": {"content_quality": 0.29269497011543616, "noise_severity": 0.03649600257863847, "missing_content_severity": 0.03128995094547611, "factual_density": 3.2564816863060013, "pretraining_utility": 0.37866895584834853, "math_density": 0.07900151514056744, "code_density": 3.8972235969539737, "reasoning_density": 1.2082030803974753, "education_level": 2.884645675835473, "creative_writing_quality": -0.3091720165119602}, "score_applicability": {"education_level": 0.9991462822757119, "creative_writing_quality": 0.0003934241692176627}} {"source_group": "shell", "source": "openbmb/UltraData-Stack-v3-L2/shell", "domain": "github.com", "language": "shell", "url": "https://github.com/CiscoDevNet/cts-esg-sample-code/blob/1bc8ce13498bec8198508610bf432e69c81ce9e0/docker/docker-entrypoint.sh", "id": "shell-0-cef33309a5e6ff649b2d92c8a9810ab9", "text": "#!/bin/sh\n# vim:sw=4:ts=4:et\n\nset -e\n\n########### CONSUL PART ################\n# Based on https://github.com/hashicorp/docker-consul/blob/e677d8b7151a4e3a994741752b39ae42604cf97d/0.X/docker-entrypoint.sh\n\n# You can set CONSUL_BIND_INTERFACE to the name of the interface you'd like to\n# bind to and this will look up the IP and pass the proper -bind= option along\n# to Consul.\nif [ -z \"$CONSUL_BIND\" ]; then\n if [ -n \"$CONSUL_BIND_INTERFACE\" ]; then\n CONSUL_BIND_ADDRESS=$(ip -o -4 addr list eth0 | head -n1 | awk '{print $4}' | cut -d/ -f1)\n if [ -z \"$CONSUL_BIND_ADDRESS\" ]; then\n echo \"Could not find IP for interface '$CONSUL_BIND_INTERFACE', exiting\"\n exit 1\n fi\n\n CONSUL_BIND=\"-bind=$CONSUL_BIND_ADDRESS\"\n echo \"==> Found address '$CONSUL_BIND_ADDRESS' for interface '$CONSUL_BIND_INTERFACE', setting bind option...\"\n fi\nfi\n\n# You can set CONSUL_CLIENT_INTERFACE to the name of the interface you'd like to\n# bind client intefaces (HTTP, DNS, and RPC) to and this will look up the IP and\n# pass the proper -client= option along to Consul.\nif [ -z \"$CONSUL_CLIENT\" ]; then\n if [ -n \"$CONSUL_CLIENT_INTERFACE\" ]; then\n CONSUL_CLIENT_ADDRESS=$(ip -o -4 addr list $CONSUL_CLIENT_INTERFACE | head -n1 | awk '{print $4}' | cut -d/ -f1)\n if [ -z \"$CONSUL_CLIENT_ADDRESS\" ]; then\n echo \"Could not find IP for interface '$CONSUL_CLIENT_INTERFACE', exiting\"\n exit 1\n fi\n\n CONSUL_CLIENT=\"-client=$CONSUL_CLIENT_ADDRESS\"\n echo \"==> Found address '$CONSUL_CLIENT_ADDRESS' for interface '$CONSUL_CLIENT_INTERFACE', setting client option...\"\n fi\nfi\n\n# CONSUL_DATA_DIR is exposed as a volume for possible persistent storage. The\n# CONSUL_CONFIG_DIR isn't exposed as a volume but you can compose additional\n# config files in there if you use this image as a base, or use CONSUL_LOCAL_CONFIG\n# below.\nif [ -z \"$CONSUL_DATA_DIR\" ]; then\n CONSUL_DATA_DIR=/consul/data\nfi\n\nif [ -z \"$CONSUL_CONFIG_DIR\" ]; then\n CONSUL_CONFIG_DIR=/consul/config\nfi\n\nif [ -z \"$CONSUL_JOIN\" ]; then\n CONSUL_JOIN=172.17.0.2\nfi\n\nif [ -n \"$CONSUL_NODE_NAME\" ]; then\n CONSUL_NODE=-node=$CONSUL_NODE_NAME\nfi\n\n# You can also set the CONSUL_LOCAL_CONFIG environment variable to pass some\n# Consul configuration JSON without having to bind any volumes.\nif [ -n \"$CONSUL_LOCAL_CONFIG\" ]; then\n\techo \"$CONSUL_LOCAL_CONFIG\" > \"$CONSUL_CONFIG_DIR/local.json\"\nfi\n\n# If the user is trying to run Consul directly with some arguments, then\n# pass them to Consul.\n# if [ \"${1:0:1}\" = '-' ]; then\n# set -- consul \"$@\"\n# fi\n\n# Look for Consul subcommands.\nset -- consul agent \\\n -data-dir=\"$CONSUL_DATA_DIR\" \\\n -config-dir=\"$CONSUL_CONFIG_DIR\" \\\n -dev \\\n -enable-script-checks \\\n -join=\"$CONSUL_JOIN\" \\\n $CONSUL_NODE \\\n $CONSUL_BIND \\\n $CONSUL_CLIENT \\\n \"$@\"\n\n# If we are running Consul, make sure it executes as the proper user.\nif [ \"$1\" = 'consul' -a -z \"${CONSUL_DISABLE_PERM_MGMT+x}\" ]; then\n # Allow to setup user and group via envrironment\n if [ -z \"$CONSUL_UID\" ]; then\n CONSUL_UID=\"$(id -u consul)\"\n fi\n\n if [ -z \"$CONSUL_GID\" ]; then\n CONSUL_GID=\"$(id -g consul)\"\n fi\n\n # If the data or config dirs are bind mounted then chown them.\n # Note: This checks for root ownership as that's the most common case.\n if [ \"$(stat -c %u \"$CONSUL_DATA_DIR\")\" != \"${CONSUL_UID}\" ]; then\n chown ${CONSUL_UID}:${CONSUL_GID} \"$CONSUL_DATA_DIR\"\n fi\n if [ \"$(stat -c %u \"$CONSUL_CONFIG_DIR\")\" != \"${CONSUL_UID}\" ]; then\n chown ${CONSUL_UID}:${CONSUL_GID} \"$CONSUL_CONFIG_DIR\"\n fi\n\n set -- gosu ${CONSUL_UID}:${CONSUL_GID} \"$@\"\nfi\n\n\nexec \"$@\"\n", "text_preview": "#!/bin/sh # vim:sw=4:ts=4:et set -e ########### CONSUL PART ################ # Based on https://github.com/hashicorp/docker-consul/blob/e677d8b7151a4e3a994741752b39ae42604cf97d/0.X/docker-entrypoint.sh # You can set CONSUL_BIND_INTERFACE to", "input_sha256": "3da9f81d72f9ecec2964799fea53568d15ddb1b4cefe5223887ea556b4a5ae77", "text_sha256": "cef33309a5e6ff649b2d92c8a9810ab9a97cb816624af2335d614e768ecbc864", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 20040, "input_policy": "text-and-optional-url-v1", "label_policy_version": 12, "requested_model": "decision-models/baseten-mammoth-27b-latest", "backend": "baseten", "endpoint": "https://inference.baseten.co/v1/systemone", "status": "ok", "training_eligible": true, "label": {"primary": {"main_format": "Technical Writing", "sub_format": null}, "secondary": null, "tertiary": null, "content_structure": []}, "candidate_label": null, "topic": {"primary": {"main_topic": "Programming & Software Engineering", "sub_topic": null}, "secondary": null}, "scores": {"content_quality": 1, "noise_severity": 0, "missing_content_severity": 0, "factual_density": 3, "pretraining_utility": 0, "math_density": 0, "code_density": 4, "reasoning_density": 0, "education_level": 2, "creative_writing_quality": null}, "score_expectations": {"content_quality": 0.9450728417470495, "noise_severity": 0.062082705855461606, "missing_content_severity": 0.009586004669063551, "factual_density": 3.0223902511416223, "pretraining_utility": 0.31178785926768504, "math_density": 0.0044451759626801075, "code_density": 3.8627360741152397, "reasoning_density": 0.6538032990986656, "education_level": 2.466636694809756, "creative_writing_quality": -0.21374102463570496}, "api_choices": {"primary": "Technical Writing", "secondary": "NONE", "tertiary": "NONE", "education_level": "2", "creative_writing_quality": "not_applicable", "primary_topic": "Programming & Software Engineering", "secondary_topic": "NONE"}, "review_reasons": [], "format_slot_diagnostics": {"comparable": true, "secondary_tertiary_identical": false, "secondary_tertiary_max_abs_gap": 0.005187267846123281, "secondary_choice": "NONE", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.9928581277952632, "secondary": 0.9685110984674745, "tertiary": 0.971266280246105, "structured_records": 0.001018036753552293, "procedural_steps": 0.04451309167917426, "worked_solution": 0.0019924792928153042, "contextual_dialogue": 6.237711588011892e-06, "content_quality": 0.5650861654801038, "noise_severity": 0.9482644117871153, "missing_content_severity": 0.9920116627757803, "factual_density": 0.4280977167623409, "pretraining_utility": 0.49566030141888684, "math_density": 0.9962956866977666, "code_density": 0.8856133950960334, "reasoning_density": 0.4551639174177785, "education_level": 0.4572929887030972, "creative_writing_quality": 0.9994309300036764, "primary_topic": 0.982049025579605, "secondary_topic": 0.8540285983741819}, "probability_margin": {"primary": 0.989621740273339, "secondary": 0.9549753098865216, "tertiary": 0.9593199092421888, "education_level": 0.1636751968643676, "creative_writing_quality": 0.9993027363209981, "primary_topic": 0.9677517031414754, "secondary_topic": 0.7604960334558473}, "raw_probabilities": {"primary": {"Academic Writing": 5.067765096585626e-05, "Content Listing": 3.0675935071119954e-05, "Creative Writing": 3.0202825792442856e-05, "Customer Support Page": 3.9110007010288234e-05, "Q&A Forum": 2.084490849981905e-05, "Discussion Thread": 1.3478020673701948e-05, "Comment Section": 2.431802316007818e-05, "Missing Content": 4.3066553753255256e-05, "Knowledge Article": 0.0002995594263053581, "Legal Notices": 6.35403472723544e-05, "News Article": 9.335462386386463e-06, "Organizational Announcement": 2.099342619159302e-05, "Nonfiction Writing": 2.006408253169594e-05, "Organizational About Page": 2.4195810729942572e-05, "Personal About Page": 1.4867911031046201e-05, "Personal Blog": 1.2725454054306631e-05, "Product Page": 1.4071185800408694e-05, "Spam / Ads": 1.772179621889663e-05, "Structured Data": 0.0003405243530189849, "Technical Writing": 0.9931557058037939, "Transcript / Interview": 2.6592837232667704e-05, "Tutorial / How-To Guide": 0.0035339655304548706, "User Reviews": 1.0763481491259083e-05, "Other / Unknown": 0.0021829991665599405}, "secondary": {"Academic Writing": 0.00016247544188433184, "Content Listing": 8.736601892294358e-05, "Creative Writing": 0.00014039678543956784, "Customer Support Page": 0.00021827824530806596, "Q&A Forum": 6.675066479268936e-05, "Discussion Thread": 4.4327268666133744e-05, "Comment Section": 0.00022786898231515104, "Missing Content": 0.00022961566628563467, "Knowledge Article": 0.0018764604829429293, "Legal Notices": 0.0003978286259712626, "News Article": 7.73637755006993e-05, "Organizational Announcement": 9.627925919696685e-05, "Nonfiction Writing": 7.724891185582051e-05, "Organizational About Page": 9.519914412425849e-05, "Personal About Page": 6.367279415436383e-05, "Personal Blog": 6.180873521571315e-05, "Product Page": 5.791643823388548e-05, "Spam / Ads": 8.582876759800802e-05, "Structured Data": 0.000830169108679212, "Technical Writing": 0.014847826144808124, "Transcript / Interview": 0.00010054482170514539, "Tutorial / How-To Guide": 0.010294140178171176, "User Reviews": 3.749770689825259e-05, "NONE": 0.9698231360313297}, "tertiary": {"Academic Writing": 0.00012094068332301895, "Content Listing": 7.547966087226639e-05, "Creative Writing": 0.00010673211952001902, "Customer Support Page": 0.000214708644420293, "Q&A Forum": 4.186413766698276e-05, "Discussion Thread": 3.0007346919484943e-05, "Comment Section": 0.00023261248631566286, "Missing Content": 0.0002749616699454815, "Knowledge Article": 0.0016836032802320015, "Legal Notices": 0.0008430577597576301, "News Article": 5.4322555384346564e-05, "Organizational Announcement": 8.009525221807683e-05, "Nonfiction Writing": 7.290898978603116e-05, "Organizational About Page": 9.20123919647599e-05, "Personal About Page": 4.128820893303068e-05, "Personal Blog": 5.01616832359637e-05, "Product Page": 4.7911835057399384e-05, "Spam / Ads": 7.943534770906178e-05, "Structured Data": 0.0004936116359833216, "Technical Writing": 0.009660558298684842, "Transcript / Interview": 6.43871354066666e-05, "Tutorial / How-To Guide": 0.01314360932699506, "User Reviews": 3.221098048471763e-05, "NONE": 0.9724635185691839}, "structured_records": {"false": 0.9989819632464477, "true": 0.001018036753552293}, "procedural_steps": {"false": 0.9554869083208257, "true": 0.04451309167917426}, "worked_solution": {"false": 0.9980075207071847, "true": 0.0019924792928153042}, "contextual_dialogue": {"false": 0.999993762288412, "true": 6.237711588011892e-06}, "content_quality": {"-2": 0.005894782441679744, "-1": 0.017413232615203837, "0": 0.23590106728296606, "1": 0.5073061960746879, "2": 0.2334847215854624}, "noise_severity": {"0": 0.943605943918625, "1": 0.0524667886442255, "2": 0.002712344294773172, "3": 0.0006684639478150016, "4": 0.0005464591945611865}, "missing_content_severity": {"0": 0.9924685740952807, "1": 0.006071827714960207, "2": 0.0010125659345422543, "3": 0.000299083935848493, "4": 0.0001479483193683391}, "factual_density": {"0": 0.011893424136076226, "1": 0.042614457671717294, "2": 0.21103705662012118, "3": 0.3801185660586788, "4": 0.35433649551340646}, "pretraining_utility": {"-2": 0.01061604919728246, "-1": 0.12547779112026047, "0": 0.45171423754960527, "1": 0.365886095483193, "2": 0.0463058266496587}, "math_density": {"0": 0.9966569527008005, "1": 0.002823325127242797, "2": 0.00018318890186090674, "3": 9.066004866773898e-05, "4": 0.00024587322142807}, "code_density": {"0": 0.0002557123934116352, "1": 0.0005539125708650614, "2": 0.0105223211728332, "3": 0.1135346962528517, "4": 0.8751333576100385}, "reasoning_density": {"0": 0.6093312915581497, "1": 0.18839784469237153, "2": 0.1543495553377411, "3": 0.03497888991613862, "4": 0.012942418495599007}, "education_level": {"none": 0.0013746673846238688, "0": 0.0020200040070035554, "1": 0.014539383248143483, "2": 0.547744157252581, "3": 0.38406896038821337, "4": 0.050252827719434755}, "creative_writing_quality": {"not_applicable": 0.9995257750030637, "-2": 6.0238336207463516e-05, "-1": 9.772030572209353e-05, "0": 0.00022303868206563097, "1": 6.961970449803064e-05, "2": 2.3607968442990287e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 4.487616042047404e-05, "Art & Design": 5.9880404644603844e-05, "Law & Crime": 7.009289619578993e-05, "Education & Careers": 4.5557238046885675e-05, "Entertainment & Media": 3.473720476599993e-05, "Fashion & Beauty": 2.841637540168964e-05, "Business, Economics & Finance": 9.17257717874306e-05, "Food & Dining": 3.1109437568526615e-05, "Games & Gaming": 5.2027601977990034e-05, "Electronics & Hardware": 0.0008505812753605636, "Health, Healthcare & Wellness": 3.322402553653319e-05, "History & Geography": 4.2541231730236384e-05, "Home, Pets & Hobbies": 3.5887320450353424e-05, "Industry & Production": 5.968078005887042e-05, "Language, Literature & Philosophy": 3.927702646446887e-05, "Politics & Government": 2.8430023511746983e-05, "Religion & Spirituality": 3.6661818900526694e-05, "Science, Mathematics & Engineering": 0.0003000996846995786, "Relationships & Community": 2.3342973057383144e-05, "Software Usage & Applications": 0.014987744531221762, "Programming & Software Engineering": 0.9827394476726972, "Sports & Fitness": 4.3865941896007764e-05, "Vehicles & Transportation": 2.7262268311752784e-05, "Travel & Tourism": 4.178936835566927e-05, "Other / Uncovered Subject": 0.00017988294007382615, "Unknown / Insufficient Content": 7.18580268642503e-05}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0004551651528538197, "Art & Design": 0.00035664468290178887, "Law & Crime": 0.00064612227873111, "Education & Careers": 0.0003205351350421513, "Entertainment & Media": 0.00036675204591030667, "Fashion & Beauty": 0.00023096033402727266, "Business, Economics & Finance": 0.0006715860445297862, "Food & Dining": 0.00021974232265343718, "Games & Gaming": 0.000306893130808878, "Electronics & Hardware": 0.002467723611970537, "Health, Healthcare & Wellness": 0.0002523743180097984, "History & Geography": 0.0002644768080511432, "Home, Pets & Hobbies": 0.0002322709569725925, "Industry & Production": 0.00027715953506971544, "Language, Literature & Philosophy": 0.0001725681348738127, "Politics & Government": 0.00023161400058466106, "Religion & Spirituality": 0.0002980766068360251, "Science, Mathematics & Engineering": 0.0008853973371369279, "Relationships & Community": 0.00016528618644597842, "Software Usage & Applications": 0.09914684959625063, "Programming & Software Engineering": 0.031178250362077286, "Sports & Fitness": 0.00022633488359637558, "Vehicles & Transportation": 0.00012954335342502653, "Travel & Tourism": 0.00029384223993465065, "Other / Uncovered Subject": 0.0005609478892083936, "NONE": 0.8596428830520979}}, "probabilities": {"primary": {"Academic Writing": 5.067765096585625e-05, "Content Listing": 3.067593507111995e-05, "Creative Writing": 3.020282579244285e-05, "Customer Support Page": 3.911000701028823e-05, "Q&A Forum": 2.0844908499819048e-05, "Discussion Thread": 1.3478020673701944e-05, "Comment Section": 2.4318023160078174e-05, "Missing Content": 4.306655375325525e-05, "Knowledge Article": 0.00029955942630535806, "Legal Notices": 6.354034727235439e-05, "News Article": 9.335462386386461e-06, "Organizational Announcement": 2.0993426191593017e-05, "Nonfiction Writing": 2.0064082531695938e-05, "Organizational About Page": 2.4195810729942565e-05, "Personal About Page": 1.4867911031046197e-05, "Personal Blog": 1.2725454054306628e-05, "Product Page": 1.407118580040869e-05, "Spam / Ads": 1.7721796218896627e-05, "Structured Data": 0.00034052435301898485, "Technical Writing": 0.9931557058037936, "Transcript / Interview": 2.6592837232667698e-05, "Tutorial / How-To Guide": 0.0035339655304548697, "User Reviews": 1.0763481491259081e-05, "Other / Unknown": 0.00218299916655994}, "secondary": {"Academic Writing": 0.00016247544188433184, "Content Listing": 8.736601892294358e-05, "Creative Writing": 0.00014039678543956784, "Customer Support Page": 0.00021827824530806596, "Q&A Forum": 6.675066479268936e-05, "Discussion Thread": 4.4327268666133744e-05, "Comment Section": 0.00022786898231515104, "Missing Content": 0.00022961566628563467, "Knowledge Article": 0.0018764604829429293, "Legal Notices": 0.0003978286259712626, "News Article": 7.73637755006993e-05, "Organizational Announcement": 9.627925919696685e-05, "Nonfiction Writing": 7.724891185582051e-05, "Organizational About Page": 9.519914412425849e-05, "Personal About Page": 6.367279415436383e-05, "Personal Blog": 6.180873521571315e-05, "Product Page": 5.791643823388548e-05, "Spam / Ads": 8.582876759800802e-05, "Structured Data": 0.000830169108679212, "Technical Writing": 0.014847826144808124, "Transcript / Interview": 0.00010054482170514539, "Tutorial / How-To Guide": 0.010294140178171176, "User Reviews": 3.749770689825259e-05, "NONE": 0.9698231360313297}, "tertiary": {"Academic Writing": 0.00012094068332301895, "Content Listing": 7.547966087226639e-05, "Creative Writing": 0.00010673211952001902, "Customer Support Page": 0.000214708644420293, "Q&A Forum": 4.186413766698276e-05, "Discussion Thread": 3.0007346919484943e-05, "Comment Section": 0.00023261248631566286, "Missing Content": 0.0002749616699454815, "Knowledge Article": 0.0016836032802320015, "Legal Notices": 0.0008430577597576301, "News Article": 5.4322555384346564e-05, "Organizational Announcement": 8.009525221807683e-05, "Nonfiction Writing": 7.290898978603116e-05, "Organizational About Page": 9.20123919647599e-05, "Personal About Page": 4.128820893303068e-05, "Personal Blog": 5.01616832359637e-05, "Product Page": 4.7911835057399384e-05, "Spam / Ads": 7.943534770906178e-05, "Structured Data": 0.0004936116359833216, "Technical Writing": 0.009660558298684842, "Transcript / Interview": 6.43871354066666e-05, "Tutorial / How-To Guide": 0.01314360932699506, "User Reviews": 3.221098048471763e-05, "NONE": 0.9724635185691839}, "structured_records": {"false": 0.9989819632464477, "true": 0.001018036753552293}, "procedural_steps": {"false": 0.9554869083208257, "true": 0.04451309167917426}, "worked_solution": {"false": 0.9980075207071847, "true": 0.0019924792928153042}, "contextual_dialogue": {"false": 0.999993762288412, "true": 6.237711588011892e-06}, "content_quality": {"-2": 0.005894782441679745, "-1": 0.01741323261520384, "0": 0.2359010672829661, "1": 0.507306196074688, "2": 0.23348472158546243}, "noise_severity": {"0": 0.9436059439186252, "1": 0.052466788644225514, "2": 0.0027123442947731722, "3": 0.0006684639478150017, "4": 0.0005464591945611866}, "missing_content_severity": {"0": 0.9924685740952807, "1": 0.006071827714960207, "2": 0.0010125659345422543, "3": 0.000299083935848493, "4": 0.0001479483193683391}, "factual_density": {"0": 0.011893424136076228, "1": 0.0426144576717173, "2": 0.2110370566201212, "3": 0.38011856605867883, "4": 0.3543364955134065}, "pretraining_utility": {"-2": 0.010616049197282462, "-1": 0.1254777911202605, "0": 0.4517142375496053, "1": 0.36588609548319306, "2": 0.04630582664965871}, "math_density": {"0": 0.9966569527008005, "1": 0.002823325127242797, "2": 0.00018318890186090674, "3": 9.066004866773898e-05, "4": 0.00024587322142807}, "code_density": {"0": 0.00025571239341163514, "1": 0.0005539125708650613, "2": 0.010522321172833199, "3": 0.11353469625285167, "4": 0.8751333576100383}, "reasoning_density": {"0": 0.6093312915581497, "1": 0.18839784469237153, "2": 0.1543495553377411, "3": 0.03497888991613862, "4": 0.012942418495599007}, "education_level": {"none": 0.0013746673846238688, "0": 0.0020200040070035554, "1": 0.014539383248143483, "2": 0.547744157252581, "3": 0.38406896038821337, "4": 0.050252827719434755}, "creative_writing_quality": {"not_applicable": 0.9995257750030638, "-2": 6.023833620746352e-05, "-1": 9.772030572209355e-05, "0": 0.000223038682065631, "1": 6.961970449803066e-05, "2": 2.360796844299029e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 4.487616042047404e-05, "Art & Design": 5.9880404644603844e-05, "Law & Crime": 7.009289619578993e-05, "Education & Careers": 4.5557238046885675e-05, "Entertainment & Media": 3.473720476599993e-05, "Fashion & Beauty": 2.841637540168964e-05, "Business, Economics & Finance": 9.17257717874306e-05, "Food & Dining": 3.1109437568526615e-05, "Games & Gaming": 5.2027601977990034e-05, "Electronics & Hardware": 0.0008505812753605636, "Health, Healthcare & Wellness": 3.322402553653319e-05, "History & Geography": 4.2541231730236384e-05, "Home, Pets & Hobbies": 3.5887320450353424e-05, "Industry & Production": 5.968078005887042e-05, "Language, Literature & Philosophy": 3.927702646446887e-05, "Politics & Government": 2.8430023511746983e-05, "Religion & Spirituality": 3.6661818900526694e-05, "Science, Mathematics & Engineering": 0.0003000996846995786, "Relationships & Community": 2.3342973057383144e-05, "Software Usage & Applications": 0.014987744531221762, "Programming & Software Engineering": 0.9827394476726972, "Sports & Fitness": 4.3865941896007764e-05, "Vehicles & Transportation": 2.7262268311752784e-05, "Travel & Tourism": 4.178936835566927e-05, "Other / Uncovered Subject": 0.00017988294007382615, "Unknown / Insufficient Content": 7.18580268642503e-05}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0004551651528538197, "Art & Design": 0.00035664468290178887, "Law & Crime": 0.00064612227873111, "Education & Careers": 0.0003205351350421513, "Entertainment & Media": 0.00036675204591030667, "Fashion & Beauty": 0.00023096033402727266, "Business, Economics & Finance": 0.0006715860445297862, "Food & Dining": 0.00021974232265343718, "Games & Gaming": 0.000306893130808878, "Electronics & Hardware": 0.002467723611970537, "Health, Healthcare & Wellness": 0.0002523743180097984, "History & Geography": 0.0002644768080511432, "Home, Pets & Hobbies": 0.0002322709569725925, "Industry & Production": 0.00027715953506971544, "Language, Literature & Philosophy": 0.0001725681348738127, "Politics & Government": 0.00023161400058466106, "Religion & Spirituality": 0.0002980766068360251, "Science, Mathematics & Engineering": 0.0008853973371369279, "Relationships & Community": 0.00016528618644597842, "Software Usage & Applications": 0.09914684959625063, "Programming & Software Engineering": 0.031178250362077286, "Sports & Fitness": 0.00022633488359637558, "Vehicles & Transportation": 0.00012954335342502653, "Travel & Tourism": 0.00029384223993465065, "Other / Uncovered Subject": 0.0005609478892083936, "NONE": 0.8596428830520979}}, "probability_diagnostics": {"primary": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "secondary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "tertiary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "structured_records": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "procedural_steps": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "worked_solution": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "contextual_dialogue": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "content_quality": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "noise_severity": {"raw_sum": 0.9999999999999998, "mass_delta": -2.220446049250313e-16, "missing_mass": 2.220446049250313e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "missing_content_severity": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "factual_density": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "pretraining_utility": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "math_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "code_density": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "reasoning_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "education_level": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "creative_writing_quality": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "primary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}}, "usage": {"input_tokens": 9613, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 9613, "cached_share": null, "cache_discount_reported": null, "reported_cost_usd": null}, "response_metadata": {"model": "decision-models/baseten-mammoth-27b-latest"}, "scored_at_utc": "2026-10-25T18:31:15.662521+00:00", "scoring_key_slot": "assistant_1", "dataset_uid": "e67092cb-3d2d-42fb-bbec-67fa300e0bda", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "932e0928a4fc72aea95c4c0478dbfcb0e0df5f33eafb5184e77dc9629f46bb80", "source_metadata": {"uuid": "e67092cb-3d2d-42fb-bbec-67fa300e0bda", "repo_name": "CiscoDevNet/cts-esg-sample-code", "relative_path": "docker/docker-entrypoint.sh", "category": "TOOL", "algo_rel_score": 0.9014657139778137, "quality_score": 5.554586410522461, "source_meta": {"github_metadata": {"branch": "main", "commit_count": 10, "repo_created_at": "2022-01-24T18:08:16.000Z", "is_fork": false, "is_org_owned": true, "forked_from": null, "stars": 2, "forks": 1, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "dd2da6cc1518b89becac7af07c02efcb007077eb", "size_bytes": 3574, "file_timestamp": 1657321068, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "1bc8ce13498bec8198508610bf432e69c81ce9e0"}}, "parsed_source_meta": {"github_metadata": {"branch": "main", "commit_count": 10, "repo_created_at": "2022-01-24T18:08:16.000Z", "is_fork": false, "is_org_owned": true, "forked_from": null, "stars": 2, "forks": 1, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "dd2da6cc1518b89becac7af07c02efcb007077eb", "size_bytes": 3574, "file_timestamp": 1657321068, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "1bc8ce13498bec8198508610bf432e69c81ce9e0", "url": "https://github.com/CiscoDevNet/cts-esg-sample-code/blob/1bc8ce13498bec8198508610bf432e69c81ce9e0/docker/docker-entrypoint.sh"}, "gpt4o_tokens": 1067, "dataset_split": "shell", "probability_weighted_scores": {"content_quality": 0.9450728417470495, "noise_severity": 0.062082705855461606, "missing_content_severity": 0.009586004669063551, "factual_density": 3.0223902511416223, "pretraining_utility": 0.31178785926768504, "math_density": 0.0044451759626801075, "code_density": 3.86273607411524, "reasoning_density": 0.6538032990986656, "education_level": 2.466636694809756, "creative_writing_quality": -0.21374102463570496}, "score_applicability": {"education_level": 0.9986253326153761, "creative_writing_quality": 0.000474224996936209}} {"source_group": "shell", "source": "openbmb/UltraData-Stack-v3-L2/shell", "domain": "github.com", "language": "shell", "url": "https://github.com/tspannhw/transit-ridership/blob/da48d4efeed61da5062c3cc9fffb35f7375e342e/run.sh", "id": "shell-0-89ca579089c047741233f93e1da1c04d", "text": "#!/bin/bash\n\n# Snowpark Streaming Java Application - Build and Run Script\n# This script builds the application and runs it with proper configuration\n\nset -e # Exit on any error\n\n# Colors for output\nRED='\\033[0;31m'\nGREEN='\\033[0;32m'\nYELLOW='\\033[1;33m'\nBLUE='\\033[0;34m'\nNC='\\033[0m' # No Color\n\n# Function to print colored output\nprint_status() {\n echo -e \"${GREEN}[INFO]${NC} $1\"\n}\n\nprint_warning() {\n echo -e \"${YELLOW}[WARN]${NC} $1\"\n}\n\nprint_error() {\n echo -e \"${RED}[ERROR]${NC} $1\"\n}\n\nprint_header() {\n echo -e \"${BLUE}$1${NC}\"\n}\n\n# Function to check if required tools are installed\ncheck_prerequisites() {\n print_header \"Checking prerequisites...\"\n \n if ! command -v java &> /dev/null; then\n print_error \"Java is not installed or not in PATH\"\n exit 1\n fi\n \n if ! command -v mvn &> /dev/null; then\n print_error \"Maven is not installed or not in PATH\"\n exit 1\n fi\n \n # Check Java version\n JAVA_VERSION=$(java -version 2>&1 | awk -F '\"' '/version/ {print $2}' | awk -F '.' '{print $1}')\n if [ \"$JAVA_VERSION\" -lt 11 ]; then\n print_error \"Java 11 or higher is required. Current version: $JAVA_VERSION\"\n exit 1\n fi\n \n print_status \"Java $(java -version 2>&1 | head -n1 | cut -d'\"' -f2) - OK\"\n print_status \"Maven $(mvn -version 2>&1 | head -n1 | cut -d' ' -f3) - OK\"\n}\n\n# Function to load environment variables\nload_environment() {\n if [ -f \".env\" ]; then\n print_status \"Loading environment variables from .env file...\"\n export $(cat .env | grep -v '^#' | xargs)\n else\n print_warning \".env file not found. Using default configuration.\"\n print_warning \"Copy sample.env to .env and configure your settings.\"\n fi\n}\n\n# Function to validate configuration\nvalidate_config() {\n print_header \"Validating configuration...\"\n \n # Check required Snowflake configuration\n if [ -z \"$SNOWFLAKE_URL\" ] || [ \"$SNOWFLAKE_URL\" = \"your-account.snowflakecomputing.com\" ]; then\n print_error \"SNOWFLAKE_URL is not configured properly\"\n print_error \"Please set your Snowflake account URL in .env file\"\n exit 1\n fi\n \n if [ -z \"$SNOWFLAKE_USER\" ] || [ \"$SNOWFLAKE_USER\" = \"your-username\" ]; then\n print_error \"SNOWFLAKE_USER is not configured properly\"\n print_error \"Please set your Snowflake username in .env file\"\n exit 1\n fi\n \n if [ -z \"$SNOWFLAKE_PASSWORD\" ] || [ \"$SNOWFLAKE_PASSWORD\" = \"\" ] || [ \"$SNOWFLAKE_PASSWORD\" = \"\" ]; then\n print_error \"SNOWFLAKE_PASSWORD environment variable is not configured properly\"\n print_error \"This application REQUIRES the password to be set as an environment variable\"\n print_error \"Set it in your .env file or export it: export SNOWFLAKE_PASSWORD=\"\n exit 1\n fi\n \n print_status \"Configuration validation passed\"\n}\n\n# Function to build the application\nbuild_application() {\n print_header \"Building application...\"\n \n if [ \"$1\" = \"clean\" ]; then\n print_status \"Performing clean build...\"\n mvn clean package -DskipTests\n else\n print_status \"Building application...\"\n mvn package -DskipTests\n fi\n \n if [ $? -eq 0 ]; then\n print_status \"Build completed successfully\"\n else\n print_error \"Build failed\"\n exit 1\n fi\n}\n\n# Function to run tests\nrun_tests() {\n print_header \"Running tests...\"\n mvn test\n \n if [ $? -eq 0 ]; then\n print_status \"All tests passed\"\n else\n print_error \"Some tests failed\"\n exit 1\n fi\n}\n\n# Function to run the application\nrun_application() {\n print_header \"Starting Snowpark Streaming Application...\"\n \n JAR_FILE=\"target/kafka-transit-consumer-1.0.jar\"\n \n if [ ! -f \"$JAR_FILE\" ]; then\n print_error \"JAR file not found. Please build the application first.\"\n exit 1\n fi\n \n print_status \"Starting high-performance application (errors-only logging)...\"\n \n # Run the application with JVM arguments to fix module access issues\n java --add-opens java.base/java.nio=ALL-UNNAMED --add-opens java.base/sun.nio.ch=ALL-UNNAMED -jar \"$JAR_FILE\"\n}\n\n# Function to show usage\nshow_usage() {\n echo \"Usage: $0 [COMMAND]\"\n echo \"\"\n echo \"Commands:\"\n echo \" build Build the application\"\n echo \" clean-build Clean and build the application\"\n echo \" test Run tests\"\n echo \" run Run the application\"\n echo \" full Clean build, test, and run\"\n echo \" help Show this help message\"\n echo \"\"\n echo \"Examples:\"\n echo \" ./run.sh build # Build the application\"\n echo \" ./run.sh test # Run tests\"\n echo \" ./run.sh run # Run the application\"\n echo \" ./run.sh full # Full build and run cycle\"\n}\n\n# Main script logic\nmain() {\n case \"${1:-help}\" in\n \"build\")\n check_prerequisites\n build_application\n ;;\n \"clean-build\")\n check_prerequisites\n build_application clean\n ;;\n \"test\")\n check_prerequisites\n run_tests\n ;;\n \"run\")\n check_prerequisites\n load_environment\n validate_config\n run_application\n ;;\n \"full\")\n check_prerequisites\n load_environment\n validate_config\n build_application clean\n run_tests\n run_application\n ;;\n \"help\"|*)\n show_usage\n ;;\n esac\n}\n\n# Run main function with all arguments\nmain \"$@\" ", "text_preview": "#!/bin/bash # Snowpark Streaming Java Application - Build and Run Script # This script builds the application and runs it with proper configuration set -e # Exit on any error # Colors for output RED='\\033[0;31m' GREEN='\\033[0;32m' YELLOW='\\", "input_sha256": "2fe0f8014a9374e2f06317b0131a175ef3f22aeaf17f6969833c09a0f814667f", "text_sha256": "89ca579089c047741233f93e1da1c04d854ec2ffbc63c2e5abea5e5a8a07a1df", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 20043, "input_policy": "text-and-optional-url-v1", "label_policy_version": 12, "requested_model": "decision-models/baseten-mammoth-27b-latest", "backend": "baseten", "endpoint": "https://inference.baseten.co/v1/systemone", "status": "ok", "training_eligible": true, "label": {"primary": {"main_format": "Technical Writing", "sub_format": null}, "secondary": null, "tertiary": null, "content_structure": []}, "candidate_label": null, "topic": {"primary": {"main_topic": "Programming & Software Engineering", "sub_topic": null}, "secondary": null}, "scores": {"content_quality": 1, "noise_severity": 0, "missing_content_severity": 0, "factual_density": 3, "pretraining_utility": 1, "math_density": 0, "code_density": 4, "reasoning_density": 0, "education_level": 2, "creative_writing_quality": null}, "score_expectations": {"content_quality": 0.6512286376151941, "noise_severity": 0.11074021200613487, "missing_content_severity": 0.00804123804552023, "factual_density": 2.8716716185513422, "pretraining_utility": 0.4261251383814239, "math_density": 0.01691249767265963, "code_density": 3.7371375233902144, "reasoning_density": 0.6043203478049788, "education_level": 2.262240397090903, "creative_writing_quality": -0.2356914591755651}, "api_choices": {"primary": "Technical Writing", "secondary": "NONE", "tertiary": "NONE", "education_level": "2", "creative_writing_quality": "not_applicable", "primary_topic": "Programming & Software Engineering", "secondary_topic": "NONE"}, "review_reasons": [], "format_slot_diagnostics": {"comparable": true, "secondary_tertiary_identical": false, "secondary_tertiary_max_abs_gap": 0.0116338329459999, "secondary_choice": "NONE", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.9739551800847225, "secondary": 0.8466263173659972, "tertiary": 0.8482369828268519, "structured_records": 0.004385958205588082, "procedural_steps": 0.4155428252854329, "worked_solution": 0.002007014682240506, "contextual_dialogue": 5.07579703030869e-06, "content_quality": 0.47310278658916505, "noise_severity": 0.9077164899948876, "missing_content_severity": 0.9932989682953998, "factual_density": 0.4790900337172519, "pretraining_utility": 0.43270693453506004, "math_density": 0.9859062519394504, "code_density": 0.7809479361585117, "reasoning_density": 0.4963997101625176, "education_level": 0.632475542736725, "creative_writing_quality": 0.9990957990156599, "primary_topic": 0.9659242452817273, "secondary_topic": 0.691861372335353}, "probability_margin": {"primary": 0.9549946435696746, "secondary": 0.7654960291126033, "tertiary": 0.7567723760948839, "education_level": 0.43746153637689855, "creative_writing_quality": 0.9988837479826191, "primary_topic": 0.9457376494484171, "secondary_topic": 0.5530167724266745}, "raw_probabilities": {"primary": {"Academic Writing": 9.174823874457155e-05, "Content Listing": 9.115804664712592e-05, "Creative Writing": 6.259556993886701e-05, "Customer Support Page": 6.234873823789046e-05, "Q&A Forum": 4.554847579459128e-05, "Discussion Thread": 3.2763719330790596e-05, "Comment Section": 4.822704172737588e-05, "Missing Content": 5.509182461641509e-05, "Knowledge Article": 0.00024738748858974994, "Legal Notices": 7.794473291231474e-05, "News Article": 2.4287886361766755e-05, "Organizational Announcement": 4.5832248766557115e-05, "Nonfiction Writing": 4.572280109625478e-05, "Organizational About Page": 5.639492808773502e-05, "Personal About Page": 4.2401424948208e-05, "Personal Blog": 3.062268534097848e-05, "Product Page": 3.477054096391137e-05, "Spam / Ads": 6.499710359597849e-05, "Structured Data": 0.00033843347540098915, "Technical Writing": 0.9750403809145257, "Transcript / Interview": 6.610334867932925e-05, "Tutorial / How-To Guide": 0.02004573734485118, "User Reviews": 2.6825194153829866e-05, "Other / Unknown": 0.0033226762266880296}, "secondary": {"Academic Writing": 0.0005902749726877666, "Content Listing": 0.000805411840863423, "Creative Writing": 0.00040478359634856914, "Customer Support Page": 0.0007606220832255487, "Q&A Forum": 0.0002651660075140731, "Discussion Thread": 0.00015700994941549194, "Comment Section": 0.0003260181076134357, "Missing Content": 0.0005051776812667709, "Knowledge Article": 0.001576183109242134, "Legal Notices": 0.00032732017046727905, "News Article": 0.0002594593132047681, "Organizational Announcement": 0.00028565345674930843, "Nonfiction Writing": 0.0002780418957963123, "Organizational About Page": 0.0003356633274045997, "Personal About Page": 0.00025525145439874114, "Personal Blog": 0.00023907561675382525, "Product Page": 0.00021013679475207262, "Spam / Ads": 0.0004513599164987301, "Structured Data": 0.0009476387279011581, "Technical Writing": 0.049976097842022116, "Transcript / Interview": 0.00035146900715764793, "Tutorial / How-To Guide": 0.08752085836314404, "User Reviews": 0.00015443928982482213, "NONE": 0.8530168874757473}, "tertiary": {"Academic Writing": 0.0004035006148348431, "Content Listing": 0.0005972797723317815, "Creative Writing": 0.00030960103343049124, "Customer Support Page": 0.001312495107732989, "Q&A Forum": 0.000183506991591601, "Discussion Thread": 0.00011742548534487328, "Comment Section": 0.00026119798456811433, "Missing Content": 0.0004050060922834834, "Knowledge Article": 0.001935667321784806, "Legal Notices": 0.00039310449557945065, "News Article": 0.00019299899338810493, "Organizational Announcement": 0.000250907097064426, "Nonfiction Writing": 0.0002371448168851917, "Organizational About Page": 0.0002769359144926527, "Personal About Page": 0.00019656902462265288, "Personal Blog": 0.00017508572741758912, "Product Page": 0.00018079176237694407, "Spam / Ads": 0.0005294502971127737, "Structured Data": 0.0009779085730606423, "Technical Writing": 0.038342264896022216, "Transcript / Interview": 0.00025825922082518544, "Tutorial / How-To Guide": 0.09778806578084921, "User Reviews": 0.00011439112066684886, "NONE": 0.8545604418757331}, "structured_records": {"false": 0.9956140417944119, "true": 0.004385958205588082}, "procedural_steps": {"false": 0.584457174714567, "true": 0.4155428252854329}, "worked_solution": {"false": 0.9979929853177595, "true": 0.002007014682240506}, "contextual_dialogue": {"false": 0.9999949242029696, "true": 5.07579703030869e-06}, "content_quality": {"-2": 0.011881810010780178, "-1": 0.079782037296419, "0": 0.2953145046137253, "1": 0.47126900122497756, "2": 0.14175264685409797}, "noise_severity": {"0": 0.9053914092403451, "1": 0.08215079777070461, "2": 0.009808678865294611, "3": 0.001624399989780757, "4": 0.001024714133874688}, "missing_content_severity": {"0": 0.9941756553942752, "1": 0.004251174581838619, "2": 0.0010868024133922015, "3": 0.0003290118050789896, "4": 0.0001573558054150599}, "factual_density": {"0": 0.007971179199066645, "1": 0.03558057435431602, "2": 0.28163548418814577, "3": 0.4264309732131517, "4": 0.2483817890453199}, "pretraining_utility": {"-2": 0.009272822328890236, "-1": 0.09662926644536991, "0": 0.4062362702108415, "1": 0.4344232325452224, "2": 0.05343840846967595}, "math_density": {"0": 0.9849318329767338, "1": 0.014061187507321887, "2": 0.00048523980079913045, "3": 0.00020612829684102263, "4": 0.0003156114183041039}, "code_density": {"0": 0.0005131272102403647, "1": 0.0009569748710843312, "2": 0.021193909801711007, "3": 0.21555122355214953, "4": 0.7617847645648147}, "reasoning_density": {"0": 0.6183183483656156, "1": 0.1958625150719266, "2": 0.15790644333199838, "3": 0.01900582685278224, "4": 0.00890686637767717}, "education_level": {"none": 0.0009769733520900235, "0": 0.0024927019639457764, "1": 0.02745457658800645, "2": 0.6937296189472708, "3": 0.25626808257037226, "4": 0.019078046578314738}, "creative_writing_quality": {"not_applicable": 0.9992464991797166, "-2": 8.593668463343195e-05, "-1": 0.0001736369437314655, "0": 0.00036275119709744825, "1": 9.443538446628621e-05, "2": 3.674061035473552e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 7.303292252549137e-05, "Art & Design": 9.706176345738803e-05, "Law & Crime": 0.0001055086125069132, "Education & Careers": 8.337082665832858e-05, "Entertainment & Media": 5.686833431833639e-05, "Fashion & Beauty": 5.0776302780474293e-05, "Business, Economics & Finance": 0.0006931384854135921, "Food & Dining": 6.902004871658694e-05, "Games & Gaming": 8.936198969455503e-05, "Electronics & Hardware": 0.00019582404441915674, "Health, Healthcare & Wellness": 8.454057779352292e-05, "History & Geography": 9.450508963240361e-05, "Home, Pets & Hobbies": 5.315870905164188e-05, "Industry & Production": 0.00013011761987859652, "Language, Literature & Philosophy": 6.29859698000898e-05, "Politics & Government": 0.0003253945871560139, "Religion & Spirituality": 6.886718059981897e-05, "Science, Mathematics & Engineering": 0.0016123193227422271, "Relationships & Community": 4.587037947143056e-05, "Software Usage & Applications": 0.005346643784754258, "Programming & Software Engineering": 0.96723485123243, "Sports & Fitness": 0.0001486010410492234, "Vehicles & Transportation": 0.021497201784012893, "Travel & Tourism": 0.00021863612589561004, "Other / Uncovered Subject": 0.0014087416394671934, "Unknown / Insufficient Content": 0.00015360162577417248}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0012128926039619516, "Art & Design": 0.000978487790703468, "Law & Crime": 0.0012682308278904686, "Education & Careers": 0.000679089191803584, "Entertainment & Media": 0.0009151343294111514, "Fashion & Beauty": 0.000465196065180957, "Business, Economics & Finance": 0.0033995204769949796, "Food & Dining": 0.0005840873110392881, "Games & Gaming": 0.0006577252038608916, "Electronics & Hardware": 0.0015265022703874278, "Health, Healthcare & Wellness": 0.0007379447873361195, "History & Geography": 0.0007179126286101336, "Home, Pets & Hobbies": 0.00043098939222923943, "Industry & Production": 0.0008288276517259402, "Language, Literature & Philosophy": 0.00033459412587916523, "Politics & Government": 0.0014383874677831338, "Religion & Spirituality": 0.0007323867744038942, "Science, Mathematics & Engineering": 0.004347468264116722, "Relationships & Community": 0.0003025680792805089, "Software Usage & Applications": 0.06923321845342163, "Programming & Software Engineering": 0.049812061329873834, "Sports & Fitness": 0.0009223760288604957, "Vehicles & Transportation": 0.1506960855880881, "Travel & Tourism": 0.0007609827571694958, "Other / Uncovered Subject": 0.0033044725852247295, "NONE": 0.7037128580147626}}, "probabilities": {"primary": {"Academic Writing": 9.174823874457152e-05, "Content Listing": 9.115804664712591e-05, "Creative Writing": 6.2595569938867e-05, "Customer Support Page": 6.234873823789045e-05, "Q&A Forum": 4.554847579459127e-05, "Discussion Thread": 3.276371933079059e-05, "Comment Section": 4.8227041727375865e-05, "Missing Content": 5.5091824616415074e-05, "Knowledge Article": 0.0002473874885897499, "Legal Notices": 7.794473291231473e-05, "News Article": 2.428788636176675e-05, "Organizational Announcement": 4.58322487665571e-05, "Nonfiction Writing": 4.5722801096254776e-05, "Organizational About Page": 5.639492808773501e-05, "Personal About Page": 4.240142494820799e-05, "Personal Blog": 3.062268534097847e-05, "Product Page": 3.477054096391136e-05, "Spam / Ads": 6.499710359597848e-05, "Structured Data": 0.0003384334754009891, "Technical Writing": 0.9750403809145255, "Transcript / Interview": 6.610334867932924e-05, "Tutorial / How-To Guide": 0.020045737344851176, "User Reviews": 2.682519415382986e-05, "Other / Unknown": 0.0033226762266880287}, "secondary": {"Academic Writing": 0.0005902749726877666, "Content Listing": 0.000805411840863423, "Creative Writing": 0.00040478359634856914, "Customer Support Page": 0.0007606220832255487, "Q&A Forum": 0.0002651660075140731, "Discussion Thread": 0.00015700994941549194, "Comment Section": 0.0003260181076134357, "Missing Content": 0.0005051776812667709, "Knowledge Article": 0.001576183109242134, "Legal Notices": 0.00032732017046727905, "News Article": 0.0002594593132047681, "Organizational Announcement": 0.00028565345674930843, "Nonfiction Writing": 0.0002780418957963123, "Organizational About Page": 0.0003356633274045997, "Personal About Page": 0.00025525145439874114, "Personal Blog": 0.00023907561675382525, "Product Page": 0.00021013679475207262, "Spam / Ads": 0.0004513599164987301, "Structured Data": 0.0009476387279011581, "Technical Writing": 0.049976097842022116, "Transcript / Interview": 0.00035146900715764793, "Tutorial / How-To Guide": 0.08752085836314404, "User Reviews": 0.00015443928982482213, "NONE": 0.8530168874757473}, "tertiary": {"Academic Writing": 0.0004035006148348431, "Content Listing": 0.0005972797723317815, "Creative Writing": 0.00030960103343049124, "Customer Support Page": 0.001312495107732989, "Q&A Forum": 0.000183506991591601, "Discussion Thread": 0.00011742548534487328, "Comment Section": 0.00026119798456811433, "Missing Content": 0.0004050060922834834, "Knowledge Article": 0.001935667321784806, "Legal Notices": 0.00039310449557945065, "News Article": 0.00019299899338810493, "Organizational Announcement": 0.000250907097064426, "Nonfiction Writing": 0.0002371448168851917, "Organizational About Page": 0.0002769359144926527, "Personal About Page": 0.00019656902462265288, "Personal Blog": 0.00017508572741758912, "Product Page": 0.00018079176237694407, "Spam / Ads": 0.0005294502971127737, "Structured Data": 0.0009779085730606423, "Technical Writing": 0.038342264896022216, "Transcript / Interview": 0.00025825922082518544, "Tutorial / How-To Guide": 0.09778806578084921, "User Reviews": 0.00011439112066684886, "NONE": 0.8545604418757331}, "structured_records": {"false": 0.9956140417944119, "true": 0.004385958205588082}, "procedural_steps": {"false": 0.584457174714567, "true": 0.4155428252854329}, "worked_solution": {"false": 0.9979929853177595, "true": 0.002007014682240506}, "contextual_dialogue": {"false": 0.9999949242029696, "true": 5.07579703030869e-06}, "content_quality": {"-2": 0.011881810010780178, "-1": 0.079782037296419, "0": 0.2953145046137253, "1": 0.47126900122497756, "2": 0.14175264685409797}, "noise_severity": {"0": 0.9053914092403453, "1": 0.08215079777070462, "2": 0.009808678865294613, "3": 0.0016243999897807575, "4": 0.0010247141338746882}, "missing_content_severity": {"0": 0.9941756553942752, "1": 0.004251174581838619, "2": 0.0010868024133922015, "3": 0.0003290118050789896, "4": 0.0001573558054150599}, "factual_density": {"0": 0.007971179199066645, "1": 0.03558057435431602, "2": 0.28163548418814577, "3": 0.4264309732131517, "4": 0.2483817890453199}, "pretraining_utility": {"-2": 0.009272822328890236, "-1": 0.09662926644536991, "0": 0.4062362702108415, "1": 0.4344232325452224, "2": 0.05343840846967595}, "math_density": {"0": 0.9849318329767338, "1": 0.014061187507321887, "2": 0.00048523980079913045, "3": 0.00020612829684102263, "4": 0.0003156114183041039}, "code_density": {"0": 0.0005131272102403648, "1": 0.0009569748710843313, "2": 0.02119390980171101, "3": 0.21555122355214956, "4": 0.7617847645648148}, "reasoning_density": {"0": 0.6183183483656156, "1": 0.1958625150719266, "2": 0.15790644333199838, "3": 0.01900582685278224, "4": 0.00890686637767717}, "education_level": {"none": 0.0009769733520900235, "0": 0.0024927019639457764, "1": 0.02745457658800645, "2": 0.6937296189472708, "3": 0.25626808257037226, "4": 0.019078046578314738}, "creative_writing_quality": {"not_applicable": 0.9992464991797166, "-2": 8.593668463343195e-05, "-1": 0.0001736369437314655, "0": 0.00036275119709744825, "1": 9.443538446628621e-05, "2": 3.674061035473552e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 7.303292252549137e-05, "Art & Design": 9.706176345738803e-05, "Law & Crime": 0.0001055086125069132, "Education & Careers": 8.337082665832858e-05, "Entertainment & Media": 5.686833431833639e-05, "Fashion & Beauty": 5.0776302780474293e-05, "Business, Economics & Finance": 0.0006931384854135921, "Food & Dining": 6.902004871658694e-05, "Games & Gaming": 8.936198969455503e-05, "Electronics & Hardware": 0.00019582404441915674, "Health, Healthcare & Wellness": 8.454057779352292e-05, "History & Geography": 9.450508963240361e-05, "Home, Pets & Hobbies": 5.315870905164188e-05, "Industry & Production": 0.00013011761987859652, "Language, Literature & Philosophy": 6.29859698000898e-05, "Politics & Government": 0.0003253945871560139, "Religion & Spirituality": 6.886718059981897e-05, "Science, Mathematics & Engineering": 0.0016123193227422271, "Relationships & Community": 4.587037947143056e-05, "Software Usage & Applications": 0.005346643784754258, "Programming & Software Engineering": 0.96723485123243, "Sports & Fitness": 0.0001486010410492234, "Vehicles & Transportation": 0.021497201784012893, "Travel & Tourism": 0.00021863612589561004, "Other / Uncovered Subject": 0.0014087416394671934, "Unknown / Insufficient Content": 0.00015360162577417248}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0012128926039619518, "Art & Design": 0.0009784877907034683, "Law & Crime": 0.0012682308278904688, "Education & Careers": 0.0006790891918035841, "Entertainment & Media": 0.0009151343294111515, "Fashion & Beauty": 0.00046519606518095706, "Business, Economics & Finance": 0.00339952047699498, "Food & Dining": 0.0005840873110392882, "Games & Gaming": 0.0006577252038608917, "Electronics & Hardware": 0.001526502270387428, "Health, Healthcare & Wellness": 0.0007379447873361196, "History & Geography": 0.0007179126286101337, "Home, Pets & Hobbies": 0.0004309893922292395, "Industry & Production": 0.0008288276517259403, "Language, Literature & Philosophy": 0.0003345941258791653, "Politics & Government": 0.001438387467783134, "Religion & Spirituality": 0.0007323867744038943, "Science, Mathematics & Engineering": 0.004347468264116723, "Relationships & Community": 0.00030256807928050894, "Software Usage & Applications": 0.06923321845342165, "Programming & Software Engineering": 0.04981206132987384, "Sports & Fitness": 0.0009223760288604958, "Vehicles & Transportation": 0.15069608558808814, "Travel & Tourism": 0.0007609827571694959, "Other / Uncovered Subject": 0.00330447258522473, "NONE": 0.7037128580147627}}, "probability_diagnostics": {"primary": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "secondary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "tertiary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "structured_records": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "procedural_steps": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "worked_solution": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "contextual_dialogue": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "content_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "noise_severity": {"raw_sum": 0.9999999999999998, "mass_delta": -2.220446049250313e-16, "missing_mass": 2.220446049250313e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "missing_content_severity": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "factual_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "pretraining_utility": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "math_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "code_density": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "reasoning_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "education_level": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "creative_writing_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "primary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary_topic": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}}, "usage": {"input_tokens": 10016, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 10016, "cached_share": null, "cache_discount_reported": null, "reported_cost_usd": null}, "response_metadata": {"model": "decision-models/baseten-mammoth-27b-latest"}, "scored_at_utc": "2026-10-25T18:32:06.404188+00:00", "scoring_key_slot": "assistant_1", "dataset_uid": "327305dd-873f-4229-bc1a-6d14bacb1f40", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "8d6f8c848e576616ed98139f3c4eb0ef3d9e535744ec5f7267e35cbea418d322", "source_metadata": {"uuid": "327305dd-873f-4229-bc1a-6d14bacb1f40", "repo_name": "tspannhw/transit-ridership", "relative_path": "run.sh", "category": "TOOL", "algo_rel_score": 0.9820752739906311, "quality_score": 6.031280040740967, "source_meta": {"github_metadata": {"branch": "main", "commit_count": 2, "repo_created_at": "2025-07-02T20:16:11.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 1, "forks": 0, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "db96371a063a8312ec376d0ddfb99615296d00b3", "size_bytes": 5680, "file_timestamp": 1751487721, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "da48d4efeed61da5062c3cc9fffb35f7375e342e"}}, "parsed_source_meta": {"github_metadata": {"branch": "main", "commit_count": 2, "repo_created_at": "2025-07-02T20:16:11.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 1, "forks": 0, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "db96371a063a8312ec376d0ddfb99615296d00b3", "size_bytes": 5680, "file_timestamp": 1751487721, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "da48d4efeed61da5062c3cc9fffb35f7375e342e", "url": "https://github.com/tspannhw/transit-ridership/blob/da48d4efeed61da5062c3cc9fffb35f7375e342e/run.sh"}, "gpt4o_tokens": 1427, "dataset_split": "shell", "probability_weighted_scores": {"content_quality": 0.6512286376151941, "noise_severity": 0.11074021200613487, "missing_content_severity": 0.00804123804552023, "factual_density": 2.8716716185513422, "pretraining_utility": 0.4261251383814239, "math_density": 0.01691249767265963, "code_density": 3.7371375233902144, "reasoning_density": 0.6043203478049788, "education_level": 2.262240397090903, "creative_writing_quality": -0.2356914591755651}, "score_applicability": {"education_level": 0.99902302664791, "creative_writing_quality": 0.0007535008202833674}} {"source_group": "shell", "source": "openbmb/UltraData-Stack-v3-L2/shell", "domain": "github.com", "language": "shell", "url": "https://github.com/aliostad/deep-learning-lang-detection/blob/d6b031f3ebc690cf2ffd0ae1b08ffa8fb3b38a62/data/test/powershell/352b87a1e87a13ed05e43e09489a3e243d9fd2faParse-ZONE.ps1", "id": "shell-0-860a9f7cc95fe6b4dc87e7fe69d916c2", "text": "Function Parse-ROOT-Set-Zone\n{\n [CmdletBinding()]\n param(\n [string[]]\n [parameter(Mandatory=$true)]\n $params\n )\n\n [ZoneProfile]$zone_instance = $Null\n if(PhraseMatch $params 'name',$RE_QUOTED_NAME) {\n $zone_name = $last_matches[0]['QUOTED_NAME']\n\n if(-not $ZoneDic.Contains($zone_name)) {\n $zone_instance = New-Object ZoneProfile\n $zone_instance.Name = $zone_name\n [ZoneProfile]$ZoneDic[$zone_name] = $zone_instance\n }\n return\n } elseif(PhraseMatch $params $RE_QUOTED_NAME -prefix) {\n $zone_name = $last_matches[0]['QUOTED_NAME']\n\n if(-not $ZoneDic.Contains($zone_name)) {\n $zone_instance = New-Object ZoneProfile\n $zone_instance.Name = $zone_name\n [ZoneProfile]$ZoneDic[$zone_name] = $zone_instance\n } else {\n $zone_instance = $ZoneDic[$zone_name]\n }\n\n if(PhraseMatch $params 'vrouter',$RE_QUOTED_OR_NOT_QUOTED_NAME -offset 1) {\n $zone_instance.VRouter = $last_matches[0]['QUOTED_OR_NOT_QUOTED_NAME']\n } elseif(PhraseMatch $params 'tcp-rst' -offset 1) {\n $zone_instance.TCPRst = $True\n } elseif(PhraseMatch $params 'block' -offset 1) {\n $zone_instance.Block = $True\n } elseif(PhraseMatch $params 'screen' -offset 1 -prefix) {\n Parse-ROOT-Set-Screen @(ncdr $params 2) $zone_name\n } elseif(PhraseMatch $params 'manage',$RE_MANAGEMENT_SERVICE -offset 1) {\n New-ObjectUnlessDefined ([ref]$zone_instance) ManagementService\n $zone_instance.ManagementService.Set($params[2])\n } else {\n throw \"SYNTAX ERROR @ $($myinvocation.mycommand.name): $line\"\n }\n } elseif(PhraseMatch $params 'id',$RE_INTEGER,$RE_QUOTED_NAME) {\n $zone_name = $last_matches[1]['QUOTED_NAME']\n\n if(-not $ZoneDic.Contains($zone_name)) {\n $zone_instance = New-Object ZoneProfile\n $zone_instance.Name = $zone_name\n [ZoneProfile]$ZoneDic[$zone_name] = $zone_instance\n } else {\n $zone_instance = $ZoneDic[$zone_name]\n }\n\n $zone_instance.id = [int]$params[1]\n } else {\n throw \"SYNTAX ERROR @ $($myinvocation.mycommand.name): $line\"\n }\n}\n\nFunction Parse-ROOT-Unset-Zone\n{\n [CmdletBinding()]\n param(\n [string[]]\n [parameter(Mandatory=$true)]\n $params\n )\n\n [ZoneProfile]$zone_instance = $Null\n if(PhraseMatch $params 'name',$RE_QUOTED_NAME) {\n $zone_name = $last_matches[0]['QUOTED_NAME']\n\n if($ZoneDic.Contains($zone_name)) {\n $ZoneDic.Remove($zone_name)\n return\n }\n } elseif(PhraseMatch $params $RE_QUOTED_NAME -prefix) {\n $zone_name = $last_matches[0]['QUOTED_NAME']\n\n if($params.Count -eq 1 -and $ZoneDic.Contains($zone_name)) {\n $ZoneDic.Remove($zone_name)\n return\n } else {\n if(-not $ZoneDic.Contains($zone_name)) {\n $zone_instance = New-Object ZoneProfile\n $zone_instance.Name = $zone_name\n [ZoneProfile]$ZoneDic[$zone_name] = $zone_instance\n } else {\n $zone_instance = $ZoneDic[$zone_name]\n }\n\n if(PhraseMatch $params 'vrouter' -offset 1) {\n $zone_instance.VRouter = $Null\n } elseif(PhraseMatch $params 'tcp-rst' -offset 1) {\n $zone_instance.TCPRst = $False\n } elseif(PhraseMatch $params 'block' -offset 1) {\n $zone_instance.Block = $False\n } elseif(PhraseMatch $params 'screen' -offset 1 -prefix) {\n Parse-ROOT-Unset-Screen @(ncdr $params 2) $zone_name\n } elseif(PhraseMatch $params 'manage',$RE_MANAGEMENT_SERVICE -offset 1) {\n New-ObjectUnlessDefined ([ref]$zone_instance) ManagementService\n $zone_instance.ManagementService.Unset($params[2])\n } else {\n throw \"SYNTAX ERROR @ $($myinvocation.mycommand.name): $line\"\n }\n }\n } else {\n throw \"SYNTAX ERROR @ $($myinvocation.mycommand.name): $line\"\n }\n}\n", "text_preview": "Function Parse-ROOT-Set-Zone { [CmdletBinding()] param( [string[]] [parameter(Mandatory=$true)] $params ) [ZoneProfile]$zone_instance = $Null if(PhraseMatch $params 'name',$RE_QUOTED_NAME) { $zone_name = $last_matches[0]['QUOTED_NAME'] if(-", "input_sha256": "15be122c7908341780e7b9eb9b5b4b004baabbfaaa77e713043b84ae8a21e4ce", "text_sha256": "860a9f7cc95fe6b4dc87e7fe69d916c20be63369e7e5764e0aea8e69c25af235", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 20045, "input_policy": "text-and-optional-url-v1", "label_policy_version": 12, "requested_model": "decision-models/baseten-mammoth-27b-latest", "backend": "baseten", "endpoint": "https://inference.baseten.co/v1/systemone", "status": "ok", "training_eligible": true, "label": {"primary": {"main_format": "Technical Writing", "sub_format": null}, "secondary": null, "tertiary": null, "content_structure": []}, "candidate_label": null, "topic": {"primary": {"main_topic": "Programming & Software Engineering", "sub_topic": null}, "secondary": null}, "scores": {"content_quality": 1, "noise_severity": 0, "missing_content_severity": 0, "factual_density": 3, "pretraining_utility": 0, "math_density": 0, "code_density": 4, "reasoning_density": 0, "education_level": 2, "creative_writing_quality": null}, "score_expectations": {"content_quality": 0.8742225924297546, "noise_severity": 0.006302228236069879, "missing_content_severity": 0.047376061868058636, "factual_density": 3.1345896815210823, "pretraining_utility": 0.11288999783506257, "math_density": 0.017906546919175887, "code_density": 3.941612183702161, "reasoning_density": 0.5249769222461811, "education_level": 2.388385754363759, "creative_writing_quality": -0.5096802271551624}, "api_choices": {"primary": "Technical Writing", "secondary": "NONE", "tertiary": "NONE", "education_level": "2", "creative_writing_quality": "not_applicable", "primary_topic": "Programming & Software Engineering", "secondary_topic": "NONE"}, "review_reasons": [], "format_slot_diagnostics": {"comparable": true, "secondary_tertiary_identical": false, "secondary_tertiary_max_abs_gap": 0.005015223521496193, "secondary_choice": "NONE", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.9960291616575406, "secondary": 0.9911454377149858, "tertiary": 0.9963787144330688, "structured_records": 0.005531126575302787, "procedural_steps": 0.0009893987359094586, "worked_solution": 0.0005737437550205398, "contextual_dialogue": 4.946928654440752e-06, "content_quality": 0.5094888182657518, "noise_severity": 0.9947481431366084, "missing_content_severity": 0.9605199484432845, "factual_density": 0.458044504850727, "pretraining_utility": 0.5402265548629535, "math_density": 0.9850778775673534, "code_density": 0.951343486418468, "reasoning_density": 0.5625192314615157, "education_level": 0.5493642493247578, "creative_writing_quality": 0.9997062156183419, "primary_topic": 0.9939527081440398, "secondary_topic": 0.9637792449114904}, "probability_margin": {"primary": 0.9942000188916562, "secondary": 0.986536550807051, "tertiary": 0.9946462336425972, "education_level": 0.31813627167734004, "creative_writing_quality": 0.9996641901790618, "primary_topic": 0.9911695453082731, "secondary_topic": 0.9514050642560263}, "raw_probabilities": {"primary": {"Academic Writing": 3.629295827454607e-05, "Content Listing": 1.7238200265657786e-05, "Creative Writing": 1.6901849403767482e-05, "Customer Support Page": 9.164604004239166e-06, "Q&A Forum": 1.1004784844175928e-05, "Discussion Thread": 7.70363066375274e-06, "Comment Section": 1.0530699248752378e-05, "Missing Content": 3.3116050434040075e-05, "Knowledge Article": 8.145634901209311e-05, "Legal Notices": 2.199460897482516e-05, "News Article": 4.173505907819567e-06, "Organizational Announcement": 8.888447649805127e-06, "Nonfiction Writing": 9.874178757039562e-06, "Organizational About Page": 1.096006239767932e-05, "Personal About Page": 9.68569775544425e-06, "Personal Blog": 6.355156187839583e-06, "Product Page": 6.437735498138393e-06, "Spam / Ads": 9.84383292018811e-06, "Structured Data": 0.0011960383630111775, "Technical Writing": 0.9961946132551431, "Transcript / Interview": 1.902274314908532e-05, "Tutorial / How-To Guide": 0.0002780436193997031, "User Reviews": 6.065303610282049e-06, "Other / Unknown": 0.0019945943634868683}, "secondary": {"Academic Writing": 0.00010627199610074433, "Content Listing": 4.721803501517027e-05, "Creative Writing": 4.760868424155709e-05, "Customer Support Page": 2.5384542046024408e-05, "Q&A Forum": 1.563735199613525e-05, "Discussion Thread": 1.366058719272352e-05, "Comment Section": 2.7068194551520163e-05, "Missing Content": 0.00016393361630671042, "Knowledge Article": 0.0001280609918622503, "Legal Notices": 3.6608127664200845e-05, "News Article": 2.3400506242721235e-05, "Organizational Announcement": 2.2099380914564447e-05, "Nonfiction Writing": 1.9879762142862127e-05, "Organizational About Page": 2.884714325972702e-05, "Personal About Page": 2.147852946511679e-05, "Personal Blog": 2.1678275854307775e-05, "Product Page": 1.3661336308953984e-05, "Spam / Ads": 2.220078633555884e-05, "Structured Data": 0.0022649748191268574, "Technical Writing": 0.0049778270031436865, "Transcript / Interview": 2.979691605097357e-05, "Tutorial / How-To Guide": 0.00041706864330606964, "User Reviews": 1.1256960676916403e-05, "NONE": 0.9915143778101947}, "tertiary": {"Academic Writing": 4.774752402909277e-05, "Content Listing": 2.5683386869420215e-05, "Creative Writing": 3.234578812044987e-05, "Customer Support Page": 1.725949521406224e-05, "Q&A Forum": 1.032565849179435e-05, "Discussion Thread": 8.352540463418401e-06, "Comment Section": 1.874194746623244e-05, "Missing Content": 0.0001955489461315709, "Knowledge Article": 9.666582900708808e-05, "Legal Notices": 3.781349707579425e-05, "News Article": 1.962050843659263e-05, "Organizational Announcement": 1.523692829422148e-05, "Nonfiction Writing": 1.796797996428563e-05, "Organizational About Page": 2.7684344004434105e-05, "Personal About Page": 1.5527132698746243e-05, "Personal Blog": 1.56300684338016e-05, "Product Page": 1.3029187994367657e-05, "Spam / Ads": 1.5509403051212838e-05, "Structured Data": 0.000582160082266848, "Technical Writing": 0.0018833676890936616, "Transcript / Interview": 2.2732096300372277e-05, "Tutorial / How-To Guide": 0.0003422633063217715, "User Reviews": 9.18532857995859e-06, "NONE": 0.9965296013316909}, "structured_records": {"false": 0.9944688734246973, "true": 0.005531126575302787}, "procedural_steps": {"false": 0.9990106012640906, "true": 0.0009893987359094586}, "worked_solution": {"false": 0.9994262562449795, "true": 0.0005737437550205398}, "contextual_dialogue": {"false": 0.9999950530713455, "true": 4.946928654440752e-06}, "content_quality": {"-2": 0.013551705143376011, "-1": 0.029808705946567943, "0": 0.2569228855024077, "1": 0.468298698152222, "2": 0.2314180052554263}, "noise_severity": {"0": 0.9950676583655, "1": 0.004021107556575397, "2": 0.0005819885944011238, "3": 0.00019983844340095295, "4": 0.00012940704012234347}, "missing_content_severity": {"0": 0.9763298086358198, "1": 0.005181145383808592, "2": 0.013868148616629565, "3": 0.00402497020397818, "4": 0.0005959271597640959}, "factual_density": {"0": 0.0198560651566886, "1": 0.02434354680158454, "2": 0.14962316725578778, "3": 0.4137090829358342, "4": 0.39246813785010487}, "pretraining_utility": {"-2": 0.014905140776358562, "-1": 0.18960878661197947, "0": 0.5062482586791236, "1": 0.2461665618653176, "2": 0.04307125206722078}, "math_density": {"0": 0.9903597558531058, "1": 0.00637450349450434, "2": 0.0005128834509604784, "3": 0.0005051522829673369, "4": 0.002247704918462145}, "code_density": {"0": 0.00020481147228842313, "1": 0.0003718335472610229, "2": 0.009144714902166786, "3": 0.03816363996256813, "4": 0.9521150001157156}, "reasoning_density": {"0": 0.7699163042021171, "1": 0.05961353303603215, "2": 0.08674842927873808, "3": 0.0430204032797781, "4": 0.040701330203334614}, "education_level": {"none": 0.002389840092284218, "0": 0.001628286106561869, "1": 0.015325083079307033, "2": 0.6244702077706314, "3": 0.3063339360932914, "4": 0.04985264685792393}, "creative_writing_quality": {"not_applicable": 0.9997551796819516, "-2": 5.844491980722649e-05, "-1": 5.772962361713892e-05, "0": 9.098950288980341e-05, "1": 2.547315555237442e-05, "2": 1.218311618201468e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 4.1168627227750197e-05, "Art & Design": 3.902809208752024e-05, "Law & Crime": 3.43227996239947e-05, "Education & Careers": 3.391810687660516e-05, "Entertainment & Media": 2.1473825573158812e-05, "Fashion & Beauty": 1.966503351399061e-05, "Business, Economics & Finance": 0.00011217826830997828, "Food & Dining": 1.9711476381299268e-05, "Games & Gaming": 8.668472975893293e-05, "Electronics & Hardware": 0.0003182803598380382, "Health, Healthcare & Wellness": 2.3888687538028872e-05, "History & Geography": 2.7137758485003454e-05, "Home, Pets & Hobbies": 2.40366804812102e-05, "Industry & Production": 3.5302043562998446e-05, "Language, Literature & Philosophy": 0.00016659029839387438, "Politics & Government": 3.160615329500247e-05, "Religion & Spirituality": 3.162186116684815e-05, "Science, Mathematics & Engineering": 0.0009033949424183541, "Relationships & Community": 1.6622274951598064e-05, "Software Usage & Applications": 0.0030157509840729652, "Programming & Software Engineering": 0.994185296292346, "Sports & Fitness": 4.923747075688298e-05, "Vehicles & Transportation": 3.960109230521355e-05, "Travel & Tourism": 4.0222340437431204e-05, "Other / Uncovered Subject": 0.0003877043547078309, "Unknown / Insufficient Content": 0.00029555544588973407}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0002624677476889552, "Art & Design": 0.00020161914892390643, "Law & Crime": 0.0002592621308563918, "Education & Careers": 0.00016778234217822814, "Entertainment & Media": 0.00017095503722714038, "Fashion & Beauty": 0.0001017802757398152, "Business, Economics & Finance": 0.00026574391704808014, "Food & Dining": 9.333529981327237e-05, "Games & Gaming": 0.0002404980632523514, "Electronics & Hardware": 0.0007125654322223814, "Health, Healthcare & Wellness": 9.962731586574442e-05, "History & Geography": 0.00011117383982620839, "Home, Pets & Hobbies": 8.546154247198847e-05, "Industry & Production": 9.672745431257694e-05, "Language, Literature & Philosophy": 0.0005965935572532099, "Politics & Government": 0.00015928600609127074, "Religion & Spirituality": 0.0001436176769226199, "Science, Mathematics & Engineering": 0.003102927488077151, "Relationships & Community": 7.021536287192698e-05, "Software Usage & Applications": 0.01291518605313581, "Programming & Software Engineering": 0.013767286620406731, "Sports & Fitness": 0.00011076803463457862, "Vehicles & Transportation": 6.876468040792093e-05, "Travel & Tourism": 0.0001399649717337332, "Other / Uncovered Subject": 0.0008840391246048712, "NONE": 0.965172350876433}}, "probabilities": {"primary": {"Academic Writing": 3.629295827454607e-05, "Content Listing": 1.7238200265657786e-05, "Creative Writing": 1.6901849403767482e-05, "Customer Support Page": 9.164604004239166e-06, "Q&A Forum": 1.1004784844175928e-05, "Discussion Thread": 7.70363066375274e-06, "Comment Section": 1.0530699248752378e-05, "Missing Content": 3.3116050434040075e-05, "Knowledge Article": 8.145634901209311e-05, "Legal Notices": 2.199460897482516e-05, "News Article": 4.173505907819567e-06, "Organizational Announcement": 8.888447649805127e-06, "Nonfiction Writing": 9.874178757039562e-06, "Organizational About Page": 1.096006239767932e-05, "Personal About Page": 9.68569775544425e-06, "Personal Blog": 6.355156187839583e-06, "Product Page": 6.437735498138393e-06, "Spam / Ads": 9.84383292018811e-06, "Structured Data": 0.0011960383630111775, "Technical Writing": 0.9961946132551431, "Transcript / Interview": 1.902274314908532e-05, "Tutorial / How-To Guide": 0.0002780436193997031, "User Reviews": 6.065303610282049e-06, "Other / Unknown": 0.0019945943634868683}, "secondary": {"Academic Writing": 0.00010627199610074433, "Content Listing": 4.721803501517027e-05, "Creative Writing": 4.760868424155709e-05, "Customer Support Page": 2.5384542046024408e-05, "Q&A Forum": 1.563735199613525e-05, "Discussion Thread": 1.366058719272352e-05, "Comment Section": 2.7068194551520163e-05, "Missing Content": 0.00016393361630671042, "Knowledge Article": 0.0001280609918622503, "Legal Notices": 3.6608127664200845e-05, "News Article": 2.3400506242721235e-05, "Organizational Announcement": 2.2099380914564447e-05, "Nonfiction Writing": 1.9879762142862127e-05, "Organizational About Page": 2.884714325972702e-05, "Personal About Page": 2.147852946511679e-05, "Personal Blog": 2.1678275854307775e-05, "Product Page": 1.3661336308953984e-05, "Spam / Ads": 2.220078633555884e-05, "Structured Data": 0.0022649748191268574, "Technical Writing": 0.0049778270031436865, "Transcript / Interview": 2.979691605097357e-05, "Tutorial / How-To Guide": 0.00041706864330606964, "User Reviews": 1.1256960676916403e-05, "NONE": 0.9915143778101947}, "tertiary": {"Academic Writing": 4.774752402909277e-05, "Content Listing": 2.5683386869420215e-05, "Creative Writing": 3.234578812044987e-05, "Customer Support Page": 1.725949521406224e-05, "Q&A Forum": 1.032565849179435e-05, "Discussion Thread": 8.352540463418401e-06, "Comment Section": 1.874194746623244e-05, "Missing Content": 0.0001955489461315709, "Knowledge Article": 9.666582900708808e-05, "Legal Notices": 3.781349707579425e-05, "News Article": 1.962050843659263e-05, "Organizational Announcement": 1.523692829422148e-05, "Nonfiction Writing": 1.796797996428563e-05, "Organizational About Page": 2.7684344004434105e-05, "Personal About Page": 1.5527132698746243e-05, "Personal Blog": 1.56300684338016e-05, "Product Page": 1.3029187994367657e-05, "Spam / Ads": 1.5509403051212838e-05, "Structured Data": 0.000582160082266848, "Technical Writing": 0.0018833676890936616, "Transcript / Interview": 2.2732096300372277e-05, "Tutorial / How-To Guide": 0.0003422633063217715, "User Reviews": 9.18532857995859e-06, "NONE": 0.9965296013316909}, "structured_records": {"false": 0.9944688734246973, "true": 0.005531126575302787}, "procedural_steps": {"false": 0.9990106012640906, "true": 0.0009893987359094586}, "worked_solution": {"false": 0.9994262562449795, "true": 0.0005737437550205398}, "contextual_dialogue": {"false": 0.9999950530713455, "true": 4.946928654440752e-06}, "content_quality": {"-2": 0.013551705143376011, "-1": 0.029808705946567943, "0": 0.2569228855024077, "1": 0.468298698152222, "2": 0.2314180052554263}, "noise_severity": {"0": 0.9950676583655002, "1": 0.004021107556575398, "2": 0.0005819885944011239, "3": 0.00019983844340095298, "4": 0.0001294070401223435}, "missing_content_severity": {"0": 0.9763298086358195, "1": 0.0051811453838085915, "2": 0.013868148616629562, "3": 0.004024970203978179, "4": 0.0005959271597640958}, "factual_density": {"0": 0.0198560651566886, "1": 0.02434354680158454, "2": 0.14962316725578778, "3": 0.4137090829358342, "4": 0.39246813785010487}, "pretraining_utility": {"-2": 0.014905140776358562, "-1": 0.18960878661197947, "0": 0.5062482586791236, "1": 0.2461665618653176, "2": 0.04307125206722078}, "math_density": {"0": 0.9903597558531058, "1": 0.00637450349450434, "2": 0.0005128834509604784, "3": 0.0005051522829673369, "4": 0.002247704918462145}, "code_density": {"0": 0.00020481147228842313, "1": 0.0003718335472610229, "2": 0.009144714902166786, "3": 0.03816363996256813, "4": 0.9521150001157156}, "reasoning_density": {"0": 0.7699163042021171, "1": 0.05961353303603215, "2": 0.08674842927873808, "3": 0.0430204032797781, "4": 0.040701330203334614}, "education_level": {"none": 0.0023898400922842183, "0": 0.0016282861065618692, "1": 0.015325083079307035, "2": 0.6244702077706316, "3": 0.30633393609329146, "4": 0.049852646857923934}, "creative_writing_quality": {"not_applicable": 0.9997551796819514, "-2": 5.844491980722648e-05, "-1": 5.772962361713891e-05, "0": 9.09895028898034e-05, "1": 2.5473155552374412e-05, "2": 1.2183116182014677e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 4.116862722775019e-05, "Art & Design": 3.902809208752023e-05, "Law & Crime": 3.432279962399469e-05, "Education & Careers": 3.391810687660515e-05, "Entertainment & Media": 2.147382557315881e-05, "Fashion & Beauty": 1.9665033513990606e-05, "Business, Economics & Finance": 0.00011217826830997825, "Food & Dining": 1.9711476381299264e-05, "Games & Gaming": 8.668472975893291e-05, "Electronics & Hardware": 0.00031828035983803816, "Health, Healthcare & Wellness": 2.3888687538028865e-05, "History & Geography": 2.7137758485003447e-05, "Home, Pets & Hobbies": 2.4036680481210193e-05, "Industry & Production": 3.530204356299844e-05, "Language, Literature & Philosophy": 0.00016659029839387435, "Politics & Government": 3.160615329500246e-05, "Religion & Spirituality": 3.1621861166848146e-05, "Science, Mathematics & Engineering": 0.0009033949424183539, "Relationships & Community": 1.662227495159806e-05, "Software Usage & Applications": 0.0030157509840729644, "Programming & Software Engineering": 0.9941852962923458, "Sports & Fitness": 4.923747075688297e-05, "Vehicles & Transportation": 3.9601092305213544e-05, "Travel & Tourism": 4.02223404374312e-05, "Other / Uncovered Subject": 0.0003877043547078308, "Unknown / Insufficient Content": 0.000295555445889734}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.00026246774768895524, "Art & Design": 0.00020161914892390646, "Law & Crime": 0.00025926213085639187, "Education & Careers": 0.00016778234217822816, "Entertainment & Media": 0.0001709550372271404, "Fashion & Beauty": 0.00010178027573981521, "Business, Economics & Finance": 0.0002657439170480802, "Food & Dining": 9.333529981327238e-05, "Games & Gaming": 0.00024049806325235142, "Electronics & Hardware": 0.0007125654322223815, "Health, Healthcare & Wellness": 9.962731586574444e-05, "History & Geography": 0.0001111738398262084, "Home, Pets & Hobbies": 8.546154247198849e-05, "Industry & Production": 9.672745431257695e-05, "Language, Literature & Philosophy": 0.00059659355725321, "Politics & Government": 0.00015928600609127076, "Religion & Spirituality": 0.00014361767692261992, "Science, Mathematics & Engineering": 0.0031029274880771513, "Relationships & Community": 7.0215362871927e-05, "Software Usage & Applications": 0.012915186053135812, "Programming & Software Engineering": 0.013767286620406733, "Sports & Fitness": 0.00011076803463457863, "Vehicles & Transportation": 6.876468040792094e-05, "Travel & Tourism": 0.00013996497173373324, "Other / Uncovered Subject": 0.0008840391246048713, "NONE": 0.9651723508764332}}, "probability_diagnostics": {"primary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "tertiary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "structured_records": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "procedural_steps": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "worked_solution": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "contextual_dialogue": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "content_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "noise_severity": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "missing_content_severity": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "factual_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "pretraining_utility": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "math_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "code_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "reasoning_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "education_level": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "creative_writing_quality": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "primary_topic": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "secondary_topic": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}}, "usage": {"input_tokens": 9679, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 9679, "cached_share": null, "cache_discount_reported": null, "reported_cost_usd": null}, "response_metadata": {"model": "decision-models/baseten-mammoth-27b-latest"}, "scored_at_utc": "2026-10-25T18:32:06.847049+00:00", "scoring_key_slot": "primary", "dataset_uid": "1c76ea29-5c6f-4050-886e-8cf3e677d6a1", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "a217e12575d1f216ae9d215382c4bced6e3d9b196118d9be1e1cddad00cf013b", "source_metadata": {"uuid": "1c76ea29-5c6f-4050-886e-8cf3e677d6a1", "repo_name": "aliostad/deep-learning-lang-detection", "relative_path": "data/test/powershell/352b87a1e87a13ed05e43e09489a3e243d9fd2faParse-ZONE.ps1", "category": "TOOL", "algo_rel_score": 0.8443657159805298, "quality_score": 3.9215688705444336, "source_meta": {"github_metadata": {"branch": "master", "commit_count": 5, "repo_created_at": "2020-06-11T21:00:39.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 30, "forks": 11, "issues": 1, "pull_requests": 0}, "file_meta": {"content_id": "56d9959d5c04cc8f63b05de259669edc71dd36c8", "size_bytes": 4179, "file_timestamp": 1604414063, "language": "powershell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "d6b031f3ebc690cf2ffd0ae1b08ffa8fb3b38a62"}}, "parsed_source_meta": {"github_metadata": {"branch": "master", "commit_count": 5, "repo_created_at": "2020-06-11T21:00:39.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 30, "forks": 11, "issues": 1, "pull_requests": 0}, "file_meta": {"content_id": "56d9959d5c04cc8f63b05de259669edc71dd36c8", "size_bytes": 4179, "file_timestamp": 1604414063, "language": "powershell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "d6b031f3ebc690cf2ffd0ae1b08ffa8fb3b38a62", "url": "https://github.com/aliostad/deep-learning-lang-detection/blob/d6b031f3ebc690cf2ffd0ae1b08ffa8fb3b38a62/data/test/powershell/352b87a1e87a13ed05e43e09489a3e243d9fd2faParse-ZONE.ps1"}, "gpt4o_tokens": 1087, "dataset_split": "shell", "probability_weighted_scores": {"content_quality": 0.8742225924297546, "noise_severity": 0.006302228236069879, "missing_content_severity": 0.047376061868058636, "factual_density": 3.1345896815210823, "pretraining_utility": 0.11288999783506257, "math_density": 0.017906546919175887, "code_density": 3.941612183702161, "reasoning_density": 0.5249769222461811, "education_level": 2.388385754363759, "creative_writing_quality": -0.5096802271551624}, "score_applicability": {"education_level": 0.9976101599077158, "creative_writing_quality": 0.0002448203180485579}} {"source_group": "shell", "source": "openbmb/UltraData-Stack-v3-L2/shell", "domain": "github.com", "language": "shell", "url": "https://github.com/sphinxs329/OpenShift-Disconn/blob/65de96990991a595d3de6fb4ad356055d5cc6498/redhat/mec/3.11.98/config.sh", "id": "shell-0-dd1eb407838a3ca6126fae892649c705", "text": "#!/usr/bin/env bash\n\nexport tag=\"v3.11.98\"\nexport private_repo=\"kni-registry.redhat.ren:5021\"\nexport major_tag=\"v3.11\"\n# https://access.redhat.com/articles/2834301\n# docker search rhgs3 | grep redhat.io | awk '{print $2}'\n\n## 后续导入的时候,要用2个版本号\nose3_images=$(cat << EOF\nregistry.redhat.io/openshift3/apb-base:$tag\nregistry.redhat.io/openshift3/apb-tools:$tag\nregistry.redhat.io/openshift3/automation-broker-apb:$tag\nregistry.redhat.io/openshift3/csi-attacher:$tag\nregistry.redhat.io/openshift3/csi-driver-registrar:$tag\nregistry.redhat.io/openshift3/csi-livenessprobe:$tag\nregistry.redhat.io/openshift3/csi-provisioner:$tag\nregistry.redhat.io/openshift3/grafana:$tag\n\nregistry.redhat.io/openshift3/image-inspector:v3.11\n\nregistry.redhat.io/openshift3/local-storage-provisioner:$tag\nregistry.redhat.io/openshift3/manila-provisioner:$tag\nregistry.redhat.io/openshift3/mariadb-apb:$tag\nregistry.redhat.io/openshift3/mediawiki:$tag\nregistry.redhat.io/openshift3/mediawiki-apb:$tag\nregistry.redhat.io/openshift3/mysql-apb:$tag\nregistry.redhat.io/openshift3/ose-ansible:$tag\nregistry.redhat.io/openshift3/ose-ansible-service-broker:$tag\nregistry.redhat.io/openshift3/ose-cli:$tag\nregistry.redhat.io/openshift3/ose-cluster-autoscaler:$tag\nregistry.redhat.io/openshift3/ose-cluster-capacity:$tag\nregistry.redhat.io/openshift3/ose-cluster-monitoring-operator:$tag\nregistry.redhat.io/openshift3/ose-console:$tag\nregistry.redhat.io/openshift3/ose-configmap-reloader:$tag\nregistry.redhat.io/openshift3/ose-control-plane:$tag\nregistry.redhat.io/openshift3/ose-deployer:$tag\nregistry.redhat.io/openshift3/ose-descheduler:$tag\nregistry.redhat.io/openshift3/ose-docker-builder:$tag\nregistry.redhat.io/openshift3/ose-docker-registry:$tag\nregistry.redhat.io/openshift3/ose-efs-provisioner:$tag\nregistry.redhat.io/openshift3/ose-egress-dns-proxy:$tag\nregistry.redhat.io/openshift3/ose-egress-http-proxy:$tag\nregistry.redhat.io/openshift3/ose-egress-router:$tag\nregistry.redhat.io/openshift3/ose-haproxy-router:$tag\nregistry.redhat.io/openshift3/ose-hyperkube:$tag\nregistry.redhat.io/openshift3/ose-hypershift:$tag\nregistry.redhat.io/openshift3/ose-keepalived-ipfailover:$tag\nregistry.redhat.io/openshift3/ose-kube-rbac-proxy:$tag\nregistry.redhat.io/openshift3/ose-kube-state-metrics:$tag\nregistry.redhat.io/openshift3/ose-metrics-server:$tag\nregistry.redhat.io/openshift3/ose-node:$tag\nregistry.redhat.io/openshift3/ose-node-problem-detector:$tag\nregistry.redhat.io/openshift3/ose-operator-lifecycle-manager:$tag\nregistry.redhat.io/openshift3/ose-ovn-kubernetes:$tag\nregistry.redhat.io/openshift3/ose-pod:$tag\nregistry.redhat.io/openshift3/ose-prometheus-config-reloader:$tag\nregistry.redhat.io/openshift3/ose-prometheus-operator:$tag\nregistry.redhat.io/openshift3/ose-recycler:$tag\nregistry.redhat.io/openshift3/ose-service-catalog:$tag\nregistry.redhat.io/openshift3/ose-template-service-broker:$tag\nregistry.redhat.io/openshift3/ose-tests:$tag\nregistry.redhat.io/openshift3/ose-web-console:$tag\nregistry.redhat.io/openshift3/postgresql-apb:$tag\nregistry.redhat.io/openshift3/registry-console:$tag\nregistry.redhat.io/openshift3/snapshot-controller:$tag\nregistry.redhat.io/openshift3/snapshot-provisioner:$tag\nregistry.redhat.io/openshift3/metrics-cassandra:$tag\nregistry.redhat.io/openshift3/metrics-hawkular-metrics:$tag\nregistry.redhat.io/openshift3/metrics-hawkular-openshift-agent:$tag\nregistry.redhat.io/openshift3/metrics-heapster:$tag\nregistry.redhat.io/openshift3/metrics-schema-installer:$tag\nregistry.redhat.io/openshift3/oauth-proxy:$tag\nregistry.redhat.io/openshift3/ose-logging-curator5:$tag\nregistry.redhat.io/openshift3/ose-logging-elasticsearch5:$tag\nregistry.redhat.io/openshift3/ose-logging-eventrouter:$tag\nregistry.redhat.io/openshift3/ose-logging-fluentd:$tag\nregistry.redhat.io/openshift3/ose-logging-kibana5:$tag\nregistry.redhat.io/openshift3/prometheus:$tag\n\nregistry.redhat.io/openshift3/prometheus-alert-buffer:v3.11\n\nregistry.redhat.io/openshift3/prometheus-alertmanager:$tag\nregistry.redhat.io/openshift3/prometheus-node-exporter:$tag\n\nregistry.redhat.io/openshift3/jenkins-2-rhel7:$tag\nregistry.redhat.io/openshift3/jenkins-agent-maven-35-rhel7:$tag\nregistry.redhat.io/openshift3/jenkins-agent-nodejs-8-rhel7:$tag\nregistry.redhat.io/openshift3/jenkins-slave-base-rhel7:$tag\nregistry.redhat.io/openshift3/jenkins-slave-maven-rhel7:$tag\nregistry.redhat.io/openshift3/jenkins-slave-nodejs-rhel7:$tag\n\nEOF\n)\n\n## 后续导入的时候,不要更改版本号\nose3_optional_imags=$(cat << EOF\n\nregistry.redhat.io/rhel7/etcd:3.2.22\n\nEOF\n)\n\n## 后续导入的时候,可以更改版本号\nose3_builder_images=$(cat << EOF\nregistry.redhat.io/cloudforms46/cfme-openshift-postgresql\nregistry.redhat.io/cloudforms46/cfme-openshift-memcached\nregistry.redhat.io/cloudforms46/cfme-openshift-app-ui\nregistry.redhat.io/cloudforms46/cfme-openshift-app\nregistry.redhat.io/cloudforms46/cfme-openshift-embedded-ansible\nregistry.redhat.io/cloudforms46/cfme-openshift-httpd\nregistry.redhat.io/cloudforms46/cfme-httpd-configmap-generator\n\nregistry.redhat.io/rhgs3/rhgs-server-rhel7\nregistry.redhat.io/rhgs3/rhgs-volmanager-rhel7\nregistry.redhat.io/rhgs3/rhgs-gluster-block-prov-rhel7\nregistry.redhat.io/rhgs3/rhgs-s3-server-rhel7\n\nregistry.redhat.io/jboss-amq-6/amq63-openshift\nregistry.redhat.io/jboss-datagrid-7/datagrid71-openshift\nregistry.redhat.io/jboss-datagrid-7/datagrid71-client-openshift\nregistry.redhat.io/jboss-datavirt-6/datavirt63-openshift\nregistry.redhat.io/jboss-datavirt-6/datavirt63-driver-openshift\nregistry.redhat.io/jboss-decisionserver-6/decisionserver64-openshift\nregistry.redhat.io/jboss-processserver-6/processserver64-openshift\nregistry.redhat.io/jboss-eap-6/eap64-openshift\nregistry.redhat.io/jboss-eap-7/eap71-openshift\nregistry.redhat.io/jboss-webserver-3/webserver31-tomcat7-openshift\nregistry.redhat.io/jboss-webserver-3/webserver31-tomcat8-openshift\n\nregistry.redhat.io/rhscl-beta/devtoolset-8-perftools-rhel7\nregistry.redhat.io/rhscl-beta/devtoolset-8-toolchain-rhel7\nregistry.redhat.io/rhscl-beta/httpd-24-rhel7\nregistry.redhat.io/rhscl-beta/mariadb-103-rhel7\nregistry.redhat.io/rhscl-beta/redis-5-rhel7\nregistry.redhat.io/rhscl-beta/ruby-26-rhel7\nregistry.redhat.io/rhscl-beta/varnish-6-rhel7\nregistry.redhat.io/rhscl/devtoolset-4-perftools-rhel7\nregistry.redhat.io/rhscl/devtoolset-4-toolchain-rhel7\nregistry.redhat.io/rhscl/devtoolset-6-perftools-rhel7\nregistry.redhat.io/rhscl/devtoolset-6-toolchain-rhel7\nregistry.redhat.io/rhscl/devtoolset-7-perftools-rhel7\nregistry.redhat.io/rhscl/devtoolset-7-toolchain-rhel7\nregistry.redhat.io/rhscl/devtoolset-8-perftools-rhel7\nregistry.redhat.io/rhscl/devtoolset-8-toolchain-rhel7\nregistry.redhat.io/rhscl/go-toolset-7-rhel7\nregistry.redhat.io/rhscl/httpd-24-rhel7\nregistry.redhat.io/rhscl/llvm-toolset-7-rhel7\nregistry.redhat.io/rhscl/mariadb-100-rhel7\nregistry.redhat.io/rhscl/mariadb-101-rhel7\nregistry.redhat.io/rhscl/mariadb-102-rhel7\nregistry.redhat.io/rhscl/mongodb-26-rhel7\nregistry.redhat.io/rhscl/mongodb-32-rhel7\nregistry.redhat.io/rhscl/mongodb-34-rhel7\nregistry.redhat.io/rhscl/mongodb-36-rhel7\nregistry.redhat.io/rhscl/mysql-56-rhel7\nregistry.redhat.io/rhscl/mysql-57-rhel7\nregistry.redhat.io/rhscl/mysql-80-rhel7\nregistry.redhat.io/rhscl/nginx-110-rhel7\nregistry.redhat.io/rhscl/nginx-112-rhel7\nregistry.redhat.io/rhscl/nginx-114-rhel7\nregistry.redhat.io/rhscl/nginx-16-rhel7\nregistry.redhat.io/rhscl/nginx-18-rhel7\nregistry.redhat.io/rhscl/nodejs-10-rhel7\nregistry.redhat.io/rhscl/nodejs-4-rhel7\nregistry.redhat.io/rhscl/nodejs-6-rhel7\nregistry.redhat.io/rhscl/nodejs-8-rhel7\nregistry.redhat.io/rhscl/passenger-40-rhel7\nregistry.redhat.io/rhscl/perl-520-rhel7\nregistry.redhat.io/rhscl/perl-524-rhel7\nregistry.redhat.io/rhscl/perl-526-rhel7\nregistry.redhat.io/rhscl/php-56-rhel7\nregistry.redhat.io/rhscl/php-70-rhel7\nregistry.redhat.io/rhscl/php-71-rhel7\nregistry.redhat.io/rhscl/php-72-rhel7\nregistry.redhat.io/rhscl/postgresql-10-rhel7\nregistry.redhat.io/rhscl/postgresql-94-rhel7\nregistry.redhat.io/rhscl/postgresql-95-rhel7\nregistry.redhat.io/rhscl/postgresql-96-rhel7\nregistry.redhat.io/rhscl/python-27-rhel7\nregistry.redhat.io/rhscl/python-34-rhel7\nregistry.redhat.io/rhscl/python-35-rhel7\nregistry.redhat.io/rhscl/python-36-rhel7\nregistry.redhat.io/rhscl/redis-32-rhel7\nregistry.redhat.io/rhscl/ror-41-rhel7\nregistry.redhat.io/rhscl/ror-42-rhel7\nregistry.redhat.io/rhscl/ror-50-rhel7\nregistry.redhat.io/rhscl/ruby-22-rhel7\nregistry.redhat.io/rhscl/ruby-23-rhel7\nregistry.redhat.io/rhscl/ruby-24-rhel7\nregistry.redhat.io/rhscl/ruby-25-rhel7\nregistry.redhat.io/rhscl/rust-toolset-7-rhel7\nregistry.redhat.io/rhscl/s2i-base-rhel7\nregistry.redhat.io/rhscl/s2i-core-rhel7\nregistry.redhat.io/rhscl/thermostat-1-agent-rhel7\nregistry.redhat.io/rhscl/thermostat-16-agent-rhel7\nregistry.redhat.io/rhscl/thermostat-16-storage-rhel7\nregistry.redhat.io/rhscl/varnish-4-rhel7\nregistry.redhat.io/rhscl/varnish-5-rhel7\nregistry.redhat.io/rhscl/varnish-6-rhel7\n\nregistry.redhat.io/cloudforms46/cfme-httpd-configmap-generator\nregistry.redhat.io/cloudforms46/cfme-openshift-app\nregistry.redhat.io/cloudforms46/cfme-openshift-app-ui\nregistry.redhat.io/cloudforms46/cfme-openshift-embedded-ansible\nregistry.redhat.io/cloudforms46/cfme-openshift-httpd\nregistry.redhat.io/cloudforms46/cfme-openshift-memcached\nregistry.redhat.io/cloudforms46/cfme-openshift-postgresql\n\nregistry.redhat.io/jboss-amq-6/amq62-openshift\nregistry.redhat.io/jboss-amq-6/amq63-openshift\n\nregistry.redhat.io/jboss-datagrid-6/datagrid65-client-openshift\nregistry.redhat.io/jboss-datagrid-6/datagrid65-openshift\nregistry.redhat.io/jboss-datagrid-7/datagrid71-client-openshift\nregistry.redhat.io/jboss-datagrid-7/datagrid71-openshift\nregistry.redhat.io/jboss-datagrid-7/datagrid72-openshift\nregistry.redhat.io/jboss-datagrid-7/datagrid73-openshift\n\nregistry.redhat.io/jboss-datavirt-6/datavirt63-driver-openshift\nregistry.redhat.io/jboss-datavirt-6/datavirt63-openshift\nregistry.redhat.io/jboss-datavirt-6/datavirt64-driver-openshift\nregistry.redhat.io/jboss-datavirt-6/datavirt64-openshift\nregistry.redhat.io/jboss-decisionserver-6/decisionserver62-openshift\nregistry.redhat.io/jboss-decisionserver-6/decisionserver63-openshift\nregistry.redhat.io/jboss-decisionserver-6/decisionserver64-openshift\nregistry.redhat.io/jboss-eap-6/eap64-openshift\n\nregistry.redhat.io/jboss-eap-7/eap70-openshift\nregistry.redhat.io/jboss-eap-7/eap71-openshift\nregistry.redhat.io/jboss-eap-7/eap72-openshift\nregistry.redhat.io/jboss-fuse-6/fis-java-openshift\nregistry.redhat.io/jboss-fuse-6/fis-karaf-openshift\nregistry.redhat.io/jboss-processserver-6/processserver63-openshift\nregistry.redhat.io/jboss-processserver-6/processserver64-openshift\nregistry.redhat.io/jboss-webserver-3/webserver30-tomcat7-openshift\nregistry.redhat.io/jboss-webserver-3/webserver30-tomcat8-openshift\nregistry.redhat.io/jboss-webserver-3/webserver31-tomcat7-openshift\nregistry.redhat.io/jboss-webserver-3/webserver31-tomcat8-openshift\nregistry.redhat.io/jboss-webserver-5/webserver50-tomcat9-openshift\n\nEOF\n)\n\n## Container-native virtualization \ncnv_optional_imags=$(cat << EOF\n\nregistry.redhat.io/cnv-tech-preview/cnv-libvirt\nregistry.redhat.io/cnv-tech-preview/ember-csi\nregistry.redhat.io/cnv-tech-preview/ember-csi-operator\nregistry.redhat.io/cnv-tech-preview/kubevirt-cpu-model-nfd-plugin\nregistry.redhat.io/cnv-tech-preview/kubevirt-cpu-node-labeller\nregistry.redhat.io/cnv-tech-preview/kubevirt-metrics-collector\nregistry.redhat.io/cnv-tech-preview/kubevirt-operator\nregistry.redhat.io/cnv-tech-preview/kubevirt-web-ui\nregistry.redhat.io/cnv-tech-preview/kubevirt-web-ui-operator\nregistry.redhat.io/cnv-tech-preview/multus-cni\nregistry.redhat.io/cnv-tech-preview/ovs-cni-plugin\nregistry.redhat.io/cnv-tech-preview/sriov-cni\nregistry.redhat.io/cnv-tech-preview/sriov-network-device-plugin\nregistry.redhat.io/cnv-tech-preview/virt-api\nregistry.redhat.io/cnv-tech-preview/virt-cdi-apiserver\nregistry.redhat.io/cnv-tech-preview/virt-cdi-cloner\nregistry.redhat.io/cnv-tech-preview/virt-cdi-controller\nregistry.redhat.io/cnv-tech-preview/virt-cdi-importer\nregistry.redhat.io/cnv-tech-preview/virt-cdi-operator\nregistry.redhat.io/cnv-tech-preview/virt-cdi-uploadproxy\nregistry.redhat.io/cnv-tech-preview/virt-cdi-uploadserver\nregistry.redhat.io/cnv-tech-preview/virt-controller\nregistry.redhat.io/cnv-tech-preview/virt-handler\nregistry.redhat.io/cnv-tech-preview/virt-launcher\nregistry.redhat.io/cnv-tech-preview/virt-operator\nregistry.redhat.io/cnv-tech-preview/virtio-win\nregistry.redhat.io/cnv-tech-preview/virtio-win-container\nregistry.redhat.io/cnv-tech-preview/vmctl\n\nEOF\n)\n\n## istio, Red Hat OpenShift Service Mesh \n# docker search istio | grep redhat.io | awk '{print $2}'\n# docker search distributed-tracing | grep redhat.io | awk '{print $2}'\nistio_optional_imags=$(cat << EOF\n\nregistry.redhat.io/openshift-istio-tech-preview/3scale-istio-adapter\nregistry.redhat.io/openshift-istio-tech-preview/3scale-istio-adapter-tech-preview\nregistry.redhat.io/openshift-istio-tech-preview/citadel\nregistry.redhat.io/openshift-istio-tech-preview/galley\nregistry.redhat.io/openshift-istio-tech-preview/istio-ior\nregistry.redhat.io/openshift-istio-tech-preview/istio-operator\nregistry.redhat.io/openshift-istio-tech-preview/kiali\nregistry.redhat.io/openshift-istio-tech-preview/mixer\nregistry.redhat.io/openshift-istio-tech-preview/openshift-ansible\nregistry.redhat.io/openshift-istio-tech-preview/pilot\nregistry.redhat.io/openshift-istio-tech-preview/proxy-init\nregistry.redhat.io/openshift-istio-tech-preview/proxyv2\nregistry.redhat.io/openshift-istio-tech-preview/sidecar-injector\nregistry.redhat.io/openshift-istio/citadel\nregistry.redhat.io/openshift-istio/galley\nregistry.redhat.io/openshift-istio/istio-operator\nregistry.redhat.io/openshift-istio/kiali\nregistry.redhat.io/openshift-istio/mixer\nregistry.redhat.io/openshift-istio/openshift-ansible\nregistry.redhat.io/openshift-istio/pilot\nregistry.redhat.io/openshift-istio/proxy-init\nregistry.redhat.io/openshift-istio/proxyv2\nregistry.redhat.io/openshift-istio/sidecar-injector\n\nregistry.redhat.io/distributed-tracing-tech-preview/jaeger-agent\nregistry.redhat.io/distributed-tracing-tech-preview/jaeger-all-in-one\nregistry.redhat.io/distributed-tracing-tech-preview/jaeger-collector\nregistry.redhat.io/distributed-tracing-tech-preview/jaeger-elasticsearch\nregistry.redhat.io/distributed-tracing-tech-preview/jaeger-ingester\nregistry.redhat.io/distributed-tracing-tech-preview/jaeger-operator\nregistry.redhat.io/distributed-tracing-tech-preview/jaeger-query\nregistry.redhat.io/distributed-tracing/jaeger-agent\nregistry.redhat.io/distributed-tracing/jaeger-collector\nregistry.redhat.io/distributed-tracing/jaeger-elasticsearch\nregistry.redhat.io/distributed-tracing/jaeger-query\n\n\nEOF\n)\n\n\ndocker_builder_images=$(cat << EOF\ngitlab/gitlab-ce\nnfvpe/sriov-device-plugin:latest\ncentos/tools \nnfvpe/multus:latest\nkubevirt/virt-api:v0.14.0\nkubevirt/virt-launcher:v0.14.0\nkubevirt/virt-controller:v0.14.0\nkubevirt/virt-handler:v0.14.0\nkubevirt/cirros-registry-disk-demo\nkubevirt/container-disk-v1alpha\nkubevirt/virt-operator:v0.14.0\nnvidia/k8s-device-plugin:1.11\nmirrorgooglecontainers/cuda-vector-add:v0.1\nopenshift/oauth-proxy:v1.1.0\nnicolaka/netshoot\nEOF\n)\n\nother_builder_images=$(cat << EOF\nquay.io/coreos/flannel:v0.10.0-amd64\nquay.io/coreos/flannel:v0.10.0-arm64\nquay.io/coreos/flannel:v0.10.0-ppc64le\nquay.io/coreos/flannel:v0.10.0-s390x\nquay.io/kubevirt/kubevirt-web-ui-operator:v1.4.0\nquay.io/kubevirt/kubevirt-web-ui:v1.4.0-14\nquay.io/kubernetes-multicluster/kubefed:v0.1.0-rc1\nEOF\n)", "text_preview": "#!/usr/bin/env bash export tag=\"v3.11.98\" export private_repo=\"kni-registry.redhat.ren:5021\" export major_tag=\"v3.11\" # https://access.redhat.com/articles/2834301 # docker search rhgs3 | grep redhat.io | awk '{print $2}' ## 后续导入的时候,要用2个版本号 ", "input_sha256": "f030d17048d48363b3a6c67920fd51c5018b052c73d83b73b413291b24c6eb8e", "text_sha256": "dd1eb407838a3ca6126fae892649c7052372ecf28d48d448393ac7edfb4b6813", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 20044, "input_policy": "text-and-optional-url-v1", "label_policy_version": 12, "requested_model": "decision-models/baseten-mammoth-27b-latest", "backend": "baseten", "endpoint": "https://inference.baseten.co/v1/systemone", "status": "ok", "training_eligible": true, "label": {"primary": {"main_format": "Technical Writing", "sub_format": null}, "secondary": null, "tertiary": null, "content_structure": []}, "candidate_label": null, "topic": {"primary": {"main_topic": "Programming & Software Engineering", "sub_topic": null}, "secondary": null}, "scores": {"content_quality": 1, "noise_severity": 0, "missing_content_severity": 0, "factual_density": 4, "pretraining_utility": -1, "math_density": 0, "code_density": 4, "reasoning_density": 0, "education_level": 3, "creative_writing_quality": null}, "score_expectations": {"content_quality": 0.4655562489156692, "noise_severity": 0.20880022766218426, "missing_content_severity": 0.05007325992036872, "factual_density": 3.2642664806884794, "pretraining_utility": -0.6084383419121944, "math_density": 0.0015468764981975125, "code_density": 3.0945335219842223, "reasoning_density": 0.007231611727318994, "education_level": 2.6688837998712995, "creative_writing_quality": -0.42349870844192616}, "api_choices": {"primary": "Technical Writing", "secondary": "NONE", "tertiary": "NONE", "education_level": "3", "creative_writing_quality": "not_applicable", "primary_topic": "Programming & Software Engineering", "secondary_topic": "NONE"}, "review_reasons": [], "format_slot_diagnostics": {"comparable": true, "secondary_tertiary_identical": false, "secondary_tertiary_max_abs_gap": 0.2478646677146218, "secondary_choice": "NONE", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.9471286370604339, "secondary": 0.5071716562573696, "tertiary": 0.765813048655236, "structured_records": 0.6118436582201258, "procedural_steps": 0.003236987775024661, "worked_solution": 0.00011887862403528824, "contextual_dialogue": 4.226128971979769e-06, "content_quality": 0.37200725608342256, "noise_severity": 0.8259998102815131, "missing_content_severity": 0.9582722833996927, "factual_density": 0.3868887339070657, "pretraining_utility": 0.4932056324079366, "math_density": 0.9987109362515021, "code_density": 0.24544460165351867, "reasoning_density": 0.9939736568939008, "education_level": 0.3939285812446746, "creative_writing_quality": 0.9995965352236666, "primary_topic": 0.9369635786684027, "secondary_topic": 0.8231989203209191}, "probability_margin": {"primary": 0.9205453814424049, "secondary": 0.15792632914848814, "tertiary": 0.6456395334434124, "education_level": 0.1056294404724728, "creative_writing_quality": 0.9995459762589622, "primary_topic": 0.882105834656065, "secondary_topic": 0.7356162512026382}, "raw_probabilities": {"primary": {"Academic Writing": 0.000140471461368784, "Content Listing": 0.008697543390786834, "Creative Writing": 9.890737487222191e-05, "Customer Support Page": 8.67691372590111e-05, "Q&A Forum": 7.044704112682623e-05, "Discussion Thread": 6.233326838944535e-05, "Comment Section": 9.313569355267423e-05, "Missing Content": 0.00010736831530115996, "Knowledge Article": 0.00028444753290628676, "Legal Notices": 9.608732681456566e-05, "News Article": 3.329180837968831e-05, "Organizational Announcement": 7.789511575511173e-05, "Nonfiction Writing": 5.740162155413272e-05, "Organizational About Page": 8.272938922977207e-05, "Personal About Page": 7.496692394214144e-05, "Personal Blog": 5.164089441398453e-05, "Product Page": 6.316629864437088e-05, "Spam / Ads": 0.00012587650184974302, "Structured Data": 0.028786229073844243, "Technical Writing": 0.9493316105162491, "Transcript / Interview": 9.30352022989948e-05, "Tutorial / How-To Guide": 0.004724300803922163, "User Reviews": 4.030197702374851e-05, "Other / Unknown": 0.00672004333051496}, "secondary": {"Academic Writing": 0.0007059370545792928, "Content Listing": 0.042623036975788973, "Creative Writing": 0.0005215616392293255, "Customer Support Page": 0.0005050799696167004, "Q&A Forum": 0.00038060136558355334, "Discussion Thread": 0.0003367638096029461, "Comment Section": 0.0009612043791177384, "Missing Content": 0.0006722775309954085, "Knowledge Article": 0.0014103910834554205, "Legal Notices": 0.000413726942927177, "News Article": 0.00037255671619439856, "Organizational Announcement": 0.00044591667070513247, "Nonfiction Writing": 0.00045212640855556396, "Organizational About Page": 0.000566001883945306, "Personal About Page": 0.0004057843309552779, "Personal Blog": 0.0003699888098342723, "Product Page": 0.0004184575396826135, "Spam / Ads": 0.0006021141232452503, "Structured Data": 0.3697798414314911, "Technical Writing": 0.04222001415337306, "Transcript / Interview": 0.00045936046922080985, "Tutorial / How-To Guide": 0.007428809199841672, "User Reviews": 0.00024227693207961576, "NONE": 0.5277061705799793}, "tertiary": {"Academic Writing": 0.0005813472790359645, "Content Listing": 0.046457714018838685, "Creative Writing": 0.0004699131084167073, "Customer Support Page": 0.0004605399127696621, "Q&A Forum": 0.0002659929576166733, "Discussion Thread": 0.0002088233760063382, "Comment Section": 0.0008390879313428208, "Missing Content": 0.0005526810956206616, "Knowledge Article": 0.00350747604143335, "Legal Notices": 0.0003714827273980103, "News Article": 0.0002965757509021275, "Organizational Announcement": 0.0003069948354845214, "Nonfiction Writing": 0.0003194691320688702, "Organizational About Page": 0.0004249037540733818, "Personal About Page": 0.00029669187808727663, "Personal Blog": 0.00027401686699388226, "Product Page": 0.00033420072800763653, "Spam / Ads": 0.0005905953747164894, "Structured Data": 0.1299313048511887, "Technical Writing": 0.026637972277980274, "Transcript / Interview": 0.000314934324749741, "Tutorial / How-To Guide": 0.010832199366971934, "User Reviews": 0.000154244115695108, "NONE": 0.7755708382946012}, "structured_records": {"false": 0.38815634177987424, "true": 0.6118436582201258}, "procedural_steps": {"false": 0.9967630122249753, "true": 0.003236987775024661}, "worked_solution": {"false": 0.9998811213759647, "true": 0.00011887862403528824}, "contextual_dialogue": {"false": 0.999995773871028, "true": 4.226128971979769e-06}, "content_quality": {"-2": 0.017743867393926485, "-1": 0.12914886150451232, "0": 0.33248819670130775, "1": 0.4110453035924722, "2": 0.10957377080778113}, "noise_severity": {"0": 0.8305026867294982, "1": 0.13755045209149108, "2": 0.02665916722990404, "3": 0.003219334685540629, "4": 0.0020683592635657895}, "missing_content_severity": {"0": 0.9740398411724083, "1": 0.008452336653269488, "2": 0.011494289068787017, "3": 0.005421787292616209, "4": 0.000591745812919145}, "factual_density": {"0": 0.004428322632126715, "1": 0.01590120780799606, "2": 0.1535367290351697, "3": 0.36324314728868656, "4": 0.46289059323602105}, "pretraining_utility": {"-2": 0.10829579151133518, "-1": 0.47833157508246565, "0": 0.3343951694172582, "1": 0.07147011178494023, "2": 0.007507352204000734}, "math_density": {"0": 0.9989970791063465, "1": 0.0007296160638313353, "2": 0.00010246585307835937, "3": 7.102717876660278e-05, "4": 9.981179797741263e-05}, "code_density": {"0": 0.006497028908338754, "1": 0.05795468004598923, "2": 0.18671781386600242, "3": 0.33217869451244997, "4": 0.4166517826672196}, "reasoning_density": {"0": 0.9938497710319011, "1": 0.0052985907817220115, "2": 0.000676763241341648, "3": 0.00012000531722710853, "4": 5.486962780808982e-05}, "education_level": {"none": 0.002236343712655573, "0": 0.003378984900620442, "1": 0.01368695167150199, "2": 0.3893110438980894, "3": 0.4949404843705622, "4": 0.09644619144657042}, "creative_writing_quality": {"not_applicable": 0.9996637793530555, "-2": 6.357255190467996e-05, "-1": 9.38519612919715e-05, "0": 0.00011780309409324604, "1": 4.337802394061668e-05, "2": 1.7615015714084242e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 6.191638002602257e-05, "Art & Design": 0.0001129053115888948, "Law & Crime": 0.00010482508424814412, "Education & Careers": 7.19546224927501e-05, "Entertainment & Media": 6.062767538902064e-05, "Fashion & Beauty": 5.285276954841496e-05, "Business, Economics & Finance": 0.00012027588403259608, "Food & Dining": 4.826335785708842e-05, "Games & Gaming": 0.00011704420407055856, "Electronics & Hardware": 0.0004360676118471476, "Health, Healthcare & Wellness": 5.1994523092857025e-05, "History & Geography": 7.798829031410647e-05, "Home, Pets & Hobbies": 6.680435611928458e-05, "Industry & Production": 0.00012452662217103444, "Language, Literature & Philosophy": 9.09425554630585e-05, "Politics & Government": 5.052034100453456e-05, "Religion & Spirituality": 5.787597124255467e-05, "Science, Mathematics & Engineering": 0.0003797412917945619, "Relationships & Community": 4.129762778303583e-05, "Software Usage & Applications": 0.0572822217558607, "Programming & Software Engineering": 0.9393880564119257, "Sports & Fitness": 8.413298380891133e-05, "Vehicles & Transportation": 4.589257657312513e-05, "Travel & Tourism": 7.945237015714015e-05, "Other / Uncovered Subject": 0.0008413776064491918, "Unknown / Insufficient Content": 0.0001504418151393963}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0003691095510561443, "Art & Design": 0.00028334800391351675, "Law & Crime": 0.000518412520517098, "Education & Careers": 0.0002453865129621401, "Entertainment & Media": 0.0003136840149819681, "Fashion & Beauty": 0.00017504300461635618, "Business, Economics & Finance": 0.0005317405716323442, "Food & Dining": 0.00014707767510312346, "Games & Gaming": 0.00026525283955711534, "Electronics & Hardware": 0.0016211558545693753, "Health, Healthcare & Wellness": 0.0001984428935872712, "History & Geography": 0.0002130581992624617, "Home, Pets & Hobbies": 0.00017249429671667126, "Industry & Production": 0.00026244810096624614, "Language, Literature & Philosophy": 0.0002501212318756816, "Politics & Government": 0.00022600255536513387, "Religion & Spirituality": 0.0002264942888694605, "Science, Mathematics & Engineering": 0.0007858121591437818, "Relationships & Community": 0.00012767878232427854, "Software Usage & Applications": 0.09438271064439942, "Programming & Software Engineering": 0.06752488192415183, "Sports & Fitness": 0.0001872257887122076, "Vehicles & Transportation": 9.755036123357402e-05, "Travel & Tourism": 0.0002577677402911942, "Other / Uncovered Subject": 0.0006181386371541097, "NONE": 0.8299989618470376}}, "probabilities": {"primary": {"Academic Writing": 0.000140471461368784, "Content Listing": 0.008697543390786834, "Creative Writing": 9.890737487222191e-05, "Customer Support Page": 8.67691372590111e-05, "Q&A Forum": 7.044704112682623e-05, "Discussion Thread": 6.233326838944535e-05, "Comment Section": 9.313569355267423e-05, "Missing Content": 0.00010736831530115996, "Knowledge Article": 0.00028444753290628676, "Legal Notices": 9.608732681456566e-05, "News Article": 3.329180837968831e-05, "Organizational Announcement": 7.789511575511173e-05, "Nonfiction Writing": 5.740162155413272e-05, "Organizational About Page": 8.272938922977207e-05, "Personal About Page": 7.496692394214144e-05, "Personal Blog": 5.164089441398453e-05, "Product Page": 6.316629864437088e-05, "Spam / Ads": 0.00012587650184974302, "Structured Data": 0.028786229073844243, "Technical Writing": 0.9493316105162491, "Transcript / Interview": 9.30352022989948e-05, "Tutorial / How-To Guide": 0.004724300803922163, "User Reviews": 4.030197702374851e-05, "Other / Unknown": 0.00672004333051496}, "secondary": {"Academic Writing": 0.0007059370545792929, "Content Listing": 0.04262303697578898, "Creative Writing": 0.0005215616392293256, "Customer Support Page": 0.0005050799696167005, "Q&A Forum": 0.0003806013655835534, "Discussion Thread": 0.00033676380960294617, "Comment Section": 0.0009612043791177385, "Missing Content": 0.0006722775309954087, "Knowledge Article": 0.0014103910834554207, "Legal Notices": 0.00041372694292717704, "News Article": 0.0003725567161943986, "Organizational Announcement": 0.0004459166707051325, "Nonfiction Writing": 0.000452126408555564, "Organizational About Page": 0.0005660018839453061, "Personal About Page": 0.00040578433095527796, "Personal Blog": 0.00036998880983427236, "Product Page": 0.00041845753968261355, "Spam / Ads": 0.0006021141232452504, "Structured Data": 0.3697798414314912, "Technical Writing": 0.042220014153373064, "Transcript / Interview": 0.0004593604692208099, "Tutorial / How-To Guide": 0.0074288091998416725, "User Reviews": 0.00024227693207961578, "NONE": 0.5277061705799794}, "tertiary": {"Academic Writing": 0.0005813472790359645, "Content Listing": 0.046457714018838685, "Creative Writing": 0.0004699131084167073, "Customer Support Page": 0.0004605399127696621, "Q&A Forum": 0.0002659929576166733, "Discussion Thread": 0.0002088233760063382, "Comment Section": 0.0008390879313428208, "Missing Content": 0.0005526810956206616, "Knowledge Article": 0.00350747604143335, "Legal Notices": 0.0003714827273980103, "News Article": 0.0002965757509021275, "Organizational Announcement": 0.0003069948354845214, "Nonfiction Writing": 0.0003194691320688702, "Organizational About Page": 0.0004249037540733818, "Personal About Page": 0.00029669187808727663, "Personal Blog": 0.00027401686699388226, "Product Page": 0.00033420072800763653, "Spam / Ads": 0.0005905953747164894, "Structured Data": 0.1299313048511887, "Technical Writing": 0.026637972277980274, "Transcript / Interview": 0.000314934324749741, "Tutorial / How-To Guide": 0.010832199366971934, "User Reviews": 0.000154244115695108, "NONE": 0.7755708382946012}, "structured_records": {"false": 0.38815634177987424, "true": 0.6118436582201258}, "procedural_steps": {"false": 0.9967630122249753, "true": 0.003236987775024661}, "worked_solution": {"false": 0.9998811213759647, "true": 0.00011887862403528824}, "contextual_dialogue": {"false": 0.999995773871028, "true": 4.226128971979769e-06}, "content_quality": {"-2": 0.01774386739392649, "-1": 0.12914886150451235, "0": 0.3324881967013078, "1": 0.41104530359247227, "2": 0.10957377080778115}, "noise_severity": {"0": 0.8305026867294985, "1": 0.1375504520914911, "2": 0.026659167229904048, "3": 0.00321933468554063, "4": 0.00206835926356579}, "missing_content_severity": {"0": 0.974039841172408, "1": 0.008452336653269487, "2": 0.011494289068787016, "3": 0.005421787292616208, "4": 0.0005917458129191449}, "factual_density": {"0": 0.004428322632126715, "1": 0.01590120780799606, "2": 0.1535367290351697, "3": 0.36324314728868656, "4": 0.46289059323602105}, "pretraining_utility": {"-2": 0.10829579151133518, "-1": 0.47833157508246565, "0": 0.3343951694172582, "1": 0.07147011178494023, "2": 0.007507352204000734}, "math_density": {"0": 0.9989970791063463, "1": 0.0007296160638313352, "2": 0.00010246585307835934, "3": 7.102717876660277e-05, "4": 9.98117979774126e-05}, "code_density": {"0": 0.006497028908338754, "1": 0.05795468004598923, "2": 0.18671781386600242, "3": 0.33217869451244997, "4": 0.4166517826672196}, "reasoning_density": {"0": 0.9938497710319012, "1": 0.005298590781722012, "2": 0.0006767632413416481, "3": 0.00012000531722710854, "4": 5.486962780808983e-05}, "education_level": {"none": 0.002236343712655573, "0": 0.003378984900620442, "1": 0.01368695167150199, "2": 0.3893110438980894, "3": 0.4949404843705622, "4": 0.09644619144657042}, "creative_writing_quality": {"not_applicable": 0.9996637793530555, "-2": 6.357255190467996e-05, "-1": 9.38519612919715e-05, "0": 0.00011780309409324604, "1": 4.337802394061668e-05, "2": 1.7615015714084242e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 6.191638002602258e-05, "Art & Design": 0.00011290531158889483, "Law & Crime": 0.00010482508424814415, "Education & Careers": 7.195462249275012e-05, "Entertainment & Media": 6.062767538902065e-05, "Fashion & Beauty": 5.285276954841498e-05, "Business, Economics & Finance": 0.0001202758840325961, "Food & Dining": 4.826335785708843e-05, "Games & Gaming": 0.00011704420407055859, "Electronics & Hardware": 0.0004360676118471477, "Health, Healthcare & Wellness": 5.199452309285704e-05, "History & Geography": 7.798829031410648e-05, "Home, Pets & Hobbies": 6.68043561192846e-05, "Industry & Production": 0.00012452662217103447, "Language, Literature & Philosophy": 9.094255546305851e-05, "Politics & Government": 5.052034100453457e-05, "Religion & Spirituality": 5.787597124255468e-05, "Science, Mathematics & Engineering": 0.000379741291794562, "Relationships & Community": 4.129762778303584e-05, "Software Usage & Applications": 0.057282221755860716, "Programming & Software Engineering": 0.9393880564119259, "Sports & Fitness": 8.413298380891134e-05, "Vehicles & Transportation": 4.589257657312514e-05, "Travel & Tourism": 7.945237015714017e-05, "Other / Uncovered Subject": 0.000841377606449192, "Unknown / Insufficient Content": 0.00015044181513939632}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0003691095510561443, "Art & Design": 0.00028334800391351675, "Law & Crime": 0.000518412520517098, "Education & Careers": 0.0002453865129621401, "Entertainment & Media": 0.0003136840149819681, "Fashion & Beauty": 0.00017504300461635618, "Business, Economics & Finance": 0.0005317405716323442, "Food & Dining": 0.00014707767510312346, "Games & Gaming": 0.00026525283955711534, "Electronics & Hardware": 0.0016211558545693753, "Health, Healthcare & Wellness": 0.0001984428935872712, "History & Geography": 0.0002130581992624617, "Home, Pets & Hobbies": 0.00017249429671667126, "Industry & Production": 0.00026244810096624614, "Language, Literature & Philosophy": 0.0002501212318756816, "Politics & Government": 0.00022600255536513387, "Religion & Spirituality": 0.0002264942888694605, "Science, Mathematics & Engineering": 0.0007858121591437818, "Relationships & Community": 0.00012767878232427854, "Software Usage & Applications": 0.09438271064439942, "Programming & Software Engineering": 0.06752488192415183, "Sports & Fitness": 0.0001872257887122076, "Vehicles & Transportation": 9.755036123357402e-05, "Travel & Tourism": 0.0002577677402911942, "Other / Uncovered Subject": 0.0006181386371541097, "NONE": 0.8299989618470376}}, "probability_diagnostics": {"primary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "tertiary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "structured_records": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "procedural_steps": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "worked_solution": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "contextual_dialogue": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "content_quality": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "noise_severity": {"raw_sum": 0.9999999999999998, "mass_delta": -2.220446049250313e-16, "missing_mass": 2.220446049250313e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "missing_content_severity": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "factual_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "pretraining_utility": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "math_density": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "code_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "reasoning_density": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "education_level": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "creative_writing_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "primary_topic": {"raw_sum": 0.9999999999999998, "mass_delta": -2.220446049250313e-16, "missing_mass": 2.220446049250313e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}}, "usage": {"input_tokens": 13485, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 13485, "cached_share": null, "cache_discount_reported": null, "reported_cost_usd": null}, "response_metadata": {"model": "decision-models/baseten-mammoth-27b-latest"}, "scored_at_utc": "2026-10-25T18:32:07.226608+00:00", "scoring_key_slot": "assistant_1", "dataset_uid": "8e619632-4e81-4b91-8fdf-7a3b5a26dca3", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "986ee2f02e834500b79e1f04f7231a861e352a65d0eb295565ede74a61324751", "source_metadata": {"uuid": "8e619632-4e81-4b91-8fdf-7a3b5a26dca3", "repo_name": "sphinxs329/OpenShift-Disconn", "relative_path": "redhat/mec/3.11.98/config.sh", "category": "TOOL", "algo_rel_score": 0.9830410480499268, "quality_score": 3.7764720916748047, "source_meta": {"github_metadata": {"branch": "master", "commit_count": 1413, "repo_created_at": "2020-06-18T07:54:29.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 0, "forks": 0, "issues": 0, "pull_requests": 2}, "file_meta": {"content_id": "1220a8c5d602c5484581aa20631731ce9d96e079", "size_bytes": 15558, "file_timestamp": 1592145511, "language": "shell", "is_vendor": false, "license_type": "permissive", "detected_licenses": ["Apache-2.0"]}, "commit_id": "65de96990991a595d3de6fb4ad356055d5cc6498"}}, "parsed_source_meta": {"github_metadata": {"branch": "master", "commit_count": 1413, "repo_created_at": "2020-06-18T07:54:29.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 0, "forks": 0, "issues": 0, "pull_requests": 2}, "file_meta": {"content_id": "1220a8c5d602c5484581aa20631731ce9d96e079", "size_bytes": 15558, "file_timestamp": 1592145511, "language": "shell", "is_vendor": false, "license_type": "permissive", "detected_licenses": ["Apache-2.0"]}, "commit_id": "65de96990991a595d3de6fb4ad356055d5cc6498", "url": "https://github.com/sphinxs329/OpenShift-Disconn/blob/65de96990991a595d3de6fb4ad356055d5cc6498/redhat/mec/3.11.98/config.sh"}, "gpt4o_tokens": 4869, "dataset_split": "shell", "probability_weighted_scores": {"content_quality": 0.4655562489156692, "noise_severity": 0.20880022766218426, "missing_content_severity": 0.05007325992036873, "factual_density": 3.2642664806884794, "pretraining_utility": -0.6084383419121944, "math_density": 0.0015468764981975125, "code_density": 3.0945335219842223, "reasoning_density": 0.007231611727318994, "education_level": 2.6688837998712995, "creative_writing_quality": -0.42349870844192616}, "score_applicability": {"education_level": 0.9977636562873444, "creative_writing_quality": 0.0003362206469445984}} {"source_group": "shell", "source": "openbmb/UltraData-Stack-v3-L2/shell", "domain": "github.com", "language": "shell", "url": "https://github.com/yilongli/cloudlab-shuffle-profile/blob/119eb34852c01f6c0040436d8c7832da8a6b9d5a/startup.sh", "id": "shell-0-f881e0dd68da655f188b6d41c3e6a6f6", "text": "#!/bin/bash\n\n# Log output of this script to syslog.\n# https://urbanautomaton.com/blog/2014/09/09/redirecting-bash-script-output-to-syslog/\nexec 1> >(logger -s -t $(basename $0)) 2>&1\n\n# Variables\nHOSTNAME=$(hostname -f | cut -d\".\" -f1)\nOS_VER=\"ubuntu`lsb_release -r | cut -d\":\" -f2 | xargs`\"\nMLNX_OFED_VER=5.0-2.1.8.0\nMLNX_OFED=\"MLNX_OFED_LINUX-$MLNX_OFED_VER-$OS_VER-x86_64\"\nSHARED_HOME=\"/shome\"\nUSERS=\"root `ls /users`\"\nRC_NODE=`hostname --short`\n\n# Test if startup service has run before.\n# TODO: why?\nif [ -f /local/startup_service_done ]; then\n date >> /local/startup_service_exec_times.txt\n exit 0\nfi\n\n# Skip any interactive post-install configuration step:\n# https://serverfault.com/q/227190\nexport DEBIAN_FRONTEND=noninteractive\n\n# Install packages\necho \"Installing common utilities\"\napt-get update\napt-get -yq install ccache cmake htop mosh vim tmux pdsh tree axel \\\n datamash python2 python-is-python2\n\necho \"Installing NFS\"\napt-get -yq install nfs-kernel-server nfs-common\n\necho \"Installing performance tools\"\nkernel_release=`uname -r`\napt-get -yq install linux-tools-common linux-tools-${kernel_release} \\\n cpuset msr-tools i7z numactl tuned\n\necho \"Installing Caladan dependencies\"\napt-get -yq install libnl-3-dev libnl-route-3-dev libaio-dev uuid-dev \\\n libcunit1-dev libnuma-dev\n\necho \"Installing nightly Rust\"\ncurl https://sh.rustup.rs -sSf | sh\nrustup default nightly\n\n# Install crontab job to run the following script every time we reboot:\n# https://superuser.com/questions/708149/how-to-use-reboot-in-etc-cron-d\necho \"@reboot root /local/repository/boot-setup.sh\" > /etc/cron.d/boot-setup\n/local/repository/boot-setup.sh\n\n# Change user login shell to Bash\nfor user in `ls /users`; do\n chsh -s `which bash` $user\ndone\n\n# Fix \"rcmd: socket: Permission denied\" when using pdsh\necho ssh > /etc/pdsh/rcmd_default\n\n# Download and install Mellanox OFED package\npushd /local\naxel -n 8 -q http://www.mellanox.com/downloads/ofed/MLNX_OFED-$MLNX_OFED_VER/$MLNX_OFED.tgz\ntar xzf $MLNX_OFED.tgz\n# m510 and xl170 nodes are equipped with Mellanox Ethernet cards, which can\n# be used via either DPDK or the raw mlx4/5 driver.\n# Note: option \"--upstream-libs --dpdk\" is required to compile DPDK later.\n# http://doc.dpdk.org/guides/nics/mlx5.html#quick-start-guide-on-ofed-en\n$MLNX_OFED/mlnxofedinstall --dpdk --upstream-libs --force --without-fw-update\npopd\n\n# Configure 4K 2MB huge pages permanently.\necho \"vm.nr_hugepages=4096\" >> /etc/sysctl.conf\n\nif [ \"$RC_NODE\" = \"rcnfs\" ]; then\n # Setup nfs server following instructions from the links below:\n # https://vitux.com/install-nfs-server-and-client-on-ubuntu/\n # https://linuxconfig.org/how-to-configure-a-nfs-file-server-on-ubuntu-18-04-bionic-beaver\n # In `cloudlab-profile.py`, we already asked for a temporary file system\n # mounted at /shome.\n chmod 777 $SHARED_HOME\n echo \"$SHARED_HOME *(rw,sync,no_root_squash)\" >> /etc/exports\n\n # Enable nfs server at boot time.\n # https://www.shellhacks.com/ubuntu-centos-enable-disable-service-autostart-linux/\n systemctl enable nfs-kernel-server\n systemctl restart nfs-kernel-server\n\n # Generate a list of machines (excluding rcnfs) in the cluster\n cd $SHARED_HOME\n > rc-hosts.txt\n let num_rcxx=$(geni-get manifest | grep -o \"> rc-hosts.txt\n done\nelse\n # NFS clients setup: use the publicly-routable IP addresses for both the server\n # and the clients to avoid interference with the experiment.\n rcnfs_ip=`geni-get manifest | grep rcnfs | egrep -o \"ipv4=.*\" | cut -d'\"' -f2`\n mkdir $SHARED_HOME\n echo \"$rcnfs_ip:$SHARED_HOME $SHARED_HOME nfs4 rw,sync,hard,intr,addr=`hostname -i` 0 0\" >> /etc/fstab\n\n # Generate the default Caladan config file in the home directory\n ifname=`ifconfig -s | egrep \"^en[0-9a-z]*\" -o | tail -n 1`\n for ht in {1..8..1}; do\n /local/repository/print_caladan_config.sh $ifname $ht > /users/yilongl/caladan_${ht}HT.config\n done\nfi\n\n# Mark the startup service has finished\necho \"Startup service finished\" > /local/startup_service_done\n\n# Reboot to let the configuration take effects; this task is launched as a\n# background process and detached from the current process.\nif [ \"$RC_NODE\" != \"rcnfs\" ]; then\n nohup sleep 10s && reboot &\nfi\n", "text_preview": "#!/bin/bash # Log output of this script to syslog. # https://urbanautomaton.com/blog/2014/09/09/redirecting-bash-script-output-to-syslog/ exec 1> >(logger -s -t $(basename $0)) 2>&1 # Variables HOSTNAME=$(hostname -f | cut -d\".\" -f1) OS_VER", "input_sha256": "8f8ae103e82bfbfa18767d538e69bcde5a6596e8f29371e226fe4bdca24c1fca", "text_sha256": "f881e0dd68da655f188b6d41c3e6a6f6b4273892a4ffc7c68085039e337dd4df", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 20046, "input_policy": "text-and-optional-url-v1", "label_policy_version": 12, "requested_model": "decision-models/baseten-mammoth-27b-latest", "backend": "baseten", "endpoint": "https://inference.baseten.co/v1/systemone", "status": "ok", "training_eligible": true, "label": {"primary": {"main_format": "Technical Writing", "sub_format": null}, "secondary": null, "tertiary": null, "content_structure": []}, "candidate_label": null, "topic": {"primary": {"main_topic": "Programming & Software Engineering", "sub_topic": null}, "secondary": null}, "scores": {"content_quality": 1, "noise_severity": 0, "missing_content_severity": 0, "factual_density": 4, "pretraining_utility": 1, "math_density": 0, "code_density": 4, "reasoning_density": 0, "education_level": 3, "creative_writing_quality": null}, "score_expectations": {"content_quality": 1.00940718150081, "noise_severity": 0.055883223170329704, "missing_content_severity": 0.07417051214178047, "factual_density": 3.443597688001841, "pretraining_utility": 0.5768703351100928, "math_density": 0.10168389917239463, "code_density": 3.7964083484413096, "reasoning_density": 0.453179682759551, "education_level": 2.81077584686451, "creative_writing_quality": -0.19657983661300596}, "api_choices": {"primary": "Technical Writing", "secondary": "NONE", "tertiary": "NONE", "education_level": "3", "creative_writing_quality": "not_applicable", "primary_topic": "Programming & Software Engineering", "secondary_topic": "NONE"}, "review_reasons": [], "format_slot_diagnostics": {"comparable": true, "secondary_tertiary_identical": false, "secondary_tertiary_max_abs_gap": 0.0257426856322317, "secondary_choice": "NONE", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.9657244880030306, "secondary": 0.8747348887801771, "tertiary": 0.9015968216138104, "structured_records": 0.017622078990001053, "procedural_steps": 0.4762516033527781, "worked_solution": 0.004085160648363097, "contextual_dialogue": 6.50236927988181e-06, "content_quality": 0.5416944340005672, "noise_severity": 0.9534306473580586, "missing_content_severity": 0.9381912398818496, "factual_density": 0.5363314066682006, "pretraining_utility": 0.5165893806612303, "math_density": 0.9152634173563379, "code_density": 0.8303402903677579, "reasoning_density": 0.6223502643670409, "education_level": 0.4615062460650723, "creative_writing_quality": 0.9995235023299035, "primary_topic": 0.836298632314641, "secondary_topic": 0.4749853124012962}, "probability_margin": {"primary": 0.9407521529790954, "secondary": 0.810447675880739, "tertiary": 0.8452142010207959, "education_level": 0.24297189320881513, "creative_writing_quality": 0.9994192504201416, "primary_topic": 0.7012197222592023, "secondary_topic": 0.17551193672849158}, "raw_probabilities": {"primary": {"Academic Writing": 8.36088061983699e-05, "Content Listing": 7.848244311095227e-05, "Creative Writing": 6.194056919684398e-05, "Customer Support Page": 5.3375488615305324e-05, "Q&A Forum": 4.866247307839911e-05, "Discussion Thread": 3.114041719254575e-05, "Comment Section": 5.520584201833447e-05, "Missing Content": 5.8277107507227856e-05, "Knowledge Article": 0.0002314184759682594, "Legal Notices": 6.798553658456341e-05, "News Article": 2.217085714063537e-05, "Organizational Announcement": 4.078410591801512e-05, "Nonfiction Writing": 4.448385874481636e-05, "Organizational About Page": 4.758471495231055e-05, "Personal About Page": 4.0879782379111644e-05, "Personal Blog": 2.7223652393666176e-05, "Product Page": 2.671276199208892e-05, "Spam / Ads": 4.696015101057139e-05, "Structured Data": 0.00030194376798332986, "Technical Writing": 0.9671526343362377, "Transcript / Interview": 6.66262435635859e-05, "Tutorial / How-To Guide": 0.026400481357142222, "User Reviews": 2.5083335264026736e-05, "Other / Unknown": 0.004986333915807236}, "secondary": {"Academic Writing": 0.0005112043873241232, "Content Listing": 0.0003448716640003915, "Creative Writing": 0.00030839008455224885, "Customer Support Page": 0.0004265913260961344, "Q&A Forum": 0.0003356603983899993, "Discussion Thread": 0.00010159689500883222, "Comment Section": 0.00046129875282405365, "Missing Content": 0.0005629424348470394, "Knowledge Article": 0.002353042051613486, "Legal Notices": 0.000308329652163233, "News Article": 0.00017648126468311687, "Organizational Announcement": 0.00020717159296229978, "Nonfiction Writing": 0.0002354266416314535, "Organizational About Page": 0.00022149879230025883, "Personal About Page": 0.0001912246227474442, "Personal Blog": 0.0001811759935180764, "Product Page": 0.00013812262533655548, "Spam / Ads": 0.0002514908234820751, "Structured Data": 0.0005569586377516559, "Technical Writing": 0.042310208851278806, "Transcript / Interview": 0.00024982599035844045, "Tutorial / How-To Guide": 0.06950659253359745, "User Reviews": 0.0001056255691963113, "NONE": 0.8799542684143364}, "tertiary": {"Academic Writing": 0.00032026281775036176, "Content Listing": 0.00030785777688522193, "Creative Writing": 0.0002017354242950234, "Customer Support Page": 0.0005301519209475842, "Q&A Forum": 0.00033924317818938987, "Discussion Thread": 6.695139495675853e-05, "Comment Section": 0.0005260601089533753, "Missing Content": 0.0005478201924121435, "Knowledge Article": 0.004147867955203698, "Legal Notices": 0.000349287322003963, "News Article": 0.00012086269344262408, "Organizational Announcement": 0.00014302509981008865, "Nonfiction Writing": 0.00019856765617635479, "Organizational About Page": 0.00017746640487593588, "Personal About Page": 0.00011693457762375993, "Personal Blog": 0.00012271490966383339, "Product Page": 0.00010591516860697993, "Spam / Ads": 0.0002315969449264246, "Structured Data": 0.0005276684723764471, "Technical Writing": 0.02453606804667617, "Transcript / Interview": 0.0001401766386504197, "Tutorial / How-To Guide": 0.060482753025772294, "User Reviews": 6.205822323288612e-05, "NONE": 0.9056969540465682}, "structured_records": {"false": 0.982377921009999, "true": 0.017622078990001053}, "procedural_steps": {"false": 0.5237483966472218, "true": 0.4762516033527781}, "worked_solution": {"false": 0.9959148393516369, "true": 0.004085160648363097}, "contextual_dialogue": {"false": 0.9999934976307201, "true": 6.50236927988181e-06}, "content_quality": {"-2": 0.005936509407511988, "-1": 0.024691077513888555, "0": 0.20308806559894152, "1": 0.4865974171295933, "2": 0.27968693035006476}, "noise_severity": {"0": 0.9484646318997476, "1": 0.04870267766019117, "2": 0.0018056503926219304, "3": 0.0005389154648628168, "4": 0.0004881245825765557}, "missing_content_severity": {"0": 0.9313663178775266, "1": 0.0647542832323788, "2": 0.002658606698137977, "3": 0.0007841532547013041, "4": 0.00043663893725545027}, "factual_density": {"0": 0.002163024442980102, "1": 0.005525489003981889, "2": 0.07874655153723627, "3": 0.3736806441398208, "4": 0.5398842908759809}, "pretraining_utility": {"-2": 0.007761111495629689, "-1": 0.07755041128606874, "0": 0.32322704698918897, "1": 0.5129798910708043, "2": 0.0784815391583082}, "math_density": {"0": 0.9062081978577241, "1": 0.08914396276049816, "2": 0.002662222738129965, "3": 0.0007269756389536123, "4": 0.0012586410046939232}, "code_density": {"0": 0.0005239600594775905, "1": 0.001066668225738855, "2": 0.01771030254421365, "3": 0.16287520155513627, "4": 0.8178238676154337}, "reasoning_density": {"0": 0.6691299483227653, "1": 0.22943133597199422, "2": 0.0852245307015956, "3": 0.011557454630214101, "4": 0.004656730373430816}, "education_level": {"none": 0.0009203428095562185, "0": 0.0018514301556732701, "1": 0.00430070328981937, "2": 0.30828331184541174, "3": 0.5512552050542269, "4": 0.13338900684531252}, "creative_writing_quality": {"not_applicable": 0.9996029186082529, "-2": 4.520920008354968e-05, "-1": 8.971505822127869e-05, "0": 0.00018366818811136926, "1": 5.490262738534201e-05, "2": 2.3586317945653862e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 0.00014802834738449115, "Art & Design": 0.00022820527882421156, "Law & Crime": 0.0002249642292680702, "Education & Careers": 0.0001408751113121781, "Entertainment & Media": 0.00014744884902164677, "Fashion & Beauty": 0.00012115360814448351, "Business, Economics & Finance": 0.00017770534920476903, "Food & Dining": 0.00010101753844901644, "Games & Gaming": 0.00022621353431464904, "Electronics & Hardware": 0.010357591266016439, "Health, Healthcare & Wellness": 0.00014280884870377115, "History & Geography": 0.00019363005767923883, "Home, Pets & Hobbies": 0.00015917293964954954, "Industry & Production": 0.000213467388925794, "Language, Literature & Philosophy": 0.00014591535227717392, "Politics & Government": 0.00010554032140051868, "Religion & Spirituality": 0.00011868129941135449, "Science, Mathematics & Engineering": 0.002065620684059333, "Relationships & Community": 8.013895399594204e-05, "Software Usage & Applications": 0.14137511650487558, "Programming & Software Engineering": 0.8425948387640778, "Sports & Fitness": 0.0001732440688828599, "Vehicles & Transportation": 9.363784260533914e-05, "Travel & Tourism": 0.0001426274186056751, "Other / Uncovered Subject": 0.0003693162089742724, "Unknown / Insufficient Content": 0.0001530402339360867}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0006715467366383154, "Art & Design": 0.0006464348398432726, "Law & Crime": 0.000701725817712933, "Education & Careers": 0.0004741320231132761, "Entertainment & Media": 0.0005670370686220923, "Fashion & Beauty": 0.00036403944862052195, "Business, Economics & Finance": 0.0006815420398076865, "Food & Dining": 0.0003230735013377686, "Games & Gaming": 0.0005004895918242568, "Electronics & Hardware": 0.06644950685547957, "Health, Healthcare & Wellness": 0.00043615651706753114, "History & Geography": 0.0004485559692895864, "Home, Pets & Hobbies": 0.0004298054645808985, "Industry & Production": 0.0004606629872725314, "Language, Literature & Philosophy": 0.00024210602062363937, "Politics & Government": 0.00035089938245882937, "Religion & Spirituality": 0.00044473454529958426, "Science, Mathematics & Engineering": 0.005140062147739081, "Relationships & Community": 0.00028370069612179097, "Software Usage & Applications": 0.31966624827275475, "Programming & Software Engineering": 0.10355492479075232, "Sports & Fitness": 0.0003797060784781415, "Vehicles & Transportation": 0.00023145112810363326, "Travel & Tourism": 0.0005240183618029999, "Other / Uncovered Subject": 0.0008492547134086664, "NONE": 0.49517818500124633}}, "probabilities": {"primary": {"Academic Writing": 8.36088061983699e-05, "Content Listing": 7.848244311095227e-05, "Creative Writing": 6.194056919684398e-05, "Customer Support Page": 5.3375488615305324e-05, "Q&A Forum": 4.866247307839911e-05, "Discussion Thread": 3.114041719254575e-05, "Comment Section": 5.520584201833447e-05, "Missing Content": 5.8277107507227856e-05, "Knowledge Article": 0.0002314184759682594, "Legal Notices": 6.798553658456341e-05, "News Article": 2.217085714063537e-05, "Organizational Announcement": 4.078410591801512e-05, "Nonfiction Writing": 4.448385874481636e-05, "Organizational About Page": 4.758471495231055e-05, "Personal About Page": 4.0879782379111644e-05, "Personal Blog": 2.7223652393666176e-05, "Product Page": 2.671276199208892e-05, "Spam / Ads": 4.696015101057139e-05, "Structured Data": 0.00030194376798332986, "Technical Writing": 0.9671526343362377, "Transcript / Interview": 6.66262435635859e-05, "Tutorial / How-To Guide": 0.026400481357142222, "User Reviews": 2.5083335264026736e-05, "Other / Unknown": 0.004986333915807236}, "secondary": {"Academic Writing": 0.0005112043873241233, "Content Listing": 0.0003448716640003916, "Creative Writing": 0.0003083900845522489, "Customer Support Page": 0.00042659132609613445, "Q&A Forum": 0.00033566039838999937, "Discussion Thread": 0.00010159689500883223, "Comment Section": 0.0004612987528240537, "Missing Content": 0.0005629424348470395, "Knowledge Article": 0.0023530420516134866, "Legal Notices": 0.00030832965216323307, "News Article": 0.0001764812646831169, "Organizational Announcement": 0.0002071715929622998, "Nonfiction Writing": 0.00023542664163145354, "Organizational About Page": 0.00022149879230025886, "Personal About Page": 0.00019122462274744423, "Personal Blog": 0.00018117599351807643, "Product Page": 0.0001381226253365555, "Spam / Ads": 0.00025149082348207517, "Structured Data": 0.000556958637751656, "Technical Writing": 0.04231020885127881, "Transcript / Interview": 0.0002498259903584405, "Tutorial / How-To Guide": 0.06950659253359746, "User Reviews": 0.00010562556919631132, "NONE": 0.8799542684143365}, "tertiary": {"Academic Writing": 0.00032026281775036176, "Content Listing": 0.00030785777688522193, "Creative Writing": 0.0002017354242950234, "Customer Support Page": 0.0005301519209475842, "Q&A Forum": 0.00033924317818938987, "Discussion Thread": 6.695139495675853e-05, "Comment Section": 0.0005260601089533753, "Missing Content": 0.0005478201924121435, "Knowledge Article": 0.004147867955203698, "Legal Notices": 0.000349287322003963, "News Article": 0.00012086269344262408, "Organizational Announcement": 0.00014302509981008865, "Nonfiction Writing": 0.00019856765617635479, "Organizational About Page": 0.00017746640487593588, "Personal About Page": 0.00011693457762375993, "Personal Blog": 0.00012271490966383339, "Product Page": 0.00010591516860697993, "Spam / Ads": 0.0002315969449264246, "Structured Data": 0.0005276684723764471, "Technical Writing": 0.02453606804667617, "Transcript / Interview": 0.0001401766386504197, "Tutorial / How-To Guide": 0.060482753025772294, "User Reviews": 6.205822323288612e-05, "NONE": 0.9056969540465682}, "structured_records": {"false": 0.982377921009999, "true": 0.017622078990001053}, "procedural_steps": {"false": 0.5237483966472218, "true": 0.4762516033527781}, "worked_solution": {"false": 0.9959148393516369, "true": 0.004085160648363097}, "contextual_dialogue": {"false": 0.9999934976307201, "true": 6.50236927988181e-06}, "content_quality": {"-2": 0.005936509407511986, "-1": 0.02469107751388855, "0": 0.20308806559894146, "1": 0.4865974171295932, "2": 0.2796869303500647}, "noise_severity": {"0": 0.9484646318997476, "1": 0.04870267766019117, "2": 0.0018056503926219304, "3": 0.0005389154648628168, "4": 0.0004881245825765557}, "missing_content_severity": {"0": 0.9313663178775266, "1": 0.0647542832323788, "2": 0.002658606698137977, "3": 0.0007841532547013041, "4": 0.00043663893725545027}, "factual_density": {"0": 0.0021630244429801026, "1": 0.00552548900398189, "2": 0.07874655153723628, "3": 0.37368064413982083, "4": 0.539884290875981}, "pretraining_utility": {"-2": 0.00776111149562969, "-1": 0.07755041128606875, "0": 0.323227046989189, "1": 0.5129798910708044, "2": 0.07848153915830822}, "math_density": {"0": 0.9062081978577243, "1": 0.08914396276049817, "2": 0.0026622227381299652, "3": 0.0007269756389536124, "4": 0.0012586410046939234}, "code_density": {"0": 0.0005239600594775905, "1": 0.001066668225738855, "2": 0.01771030254421365, "3": 0.16287520155513627, "4": 0.8178238676154337}, "reasoning_density": {"0": 0.6691299483227653, "1": 0.22943133597199422, "2": 0.0852245307015956, "3": 0.011557454630214101, "4": 0.004656730373430816}, "education_level": {"none": 0.0009203428095562185, "0": 0.0018514301556732701, "1": 0.00430070328981937, "2": 0.30828331184541174, "3": 0.5512552050542269, "4": 0.13338900684531252}, "creative_writing_quality": {"not_applicable": 0.9996029186082529, "-2": 4.520920008354968e-05, "-1": 8.971505822127869e-05, "0": 0.00018366818811136926, "1": 5.490262738534201e-05, "2": 2.3586317945653862e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 0.00014802834738449113, "Art & Design": 0.0002282052788242115, "Law & Crime": 0.00022496422926807016, "Education & Careers": 0.00014087511131217808, "Entertainment & Media": 0.00014744884902164674, "Fashion & Beauty": 0.00012115360814448349, "Business, Economics & Finance": 0.000177705349204769, "Food & Dining": 0.00010101753844901641, "Games & Gaming": 0.000226213534314649, "Electronics & Hardware": 0.010357591266016437, "Health, Healthcare & Wellness": 0.00014280884870377113, "History & Geography": 0.00019363005767923877, "Home, Pets & Hobbies": 0.0001591729396495495, "Industry & Production": 0.00021346738892579395, "Language, Literature & Philosophy": 0.0001459153522771739, "Politics & Government": 0.00010554032140051865, "Religion & Spirituality": 0.00011868129941135446, "Science, Mathematics & Engineering": 0.0020656206840593324, "Relationships & Community": 8.013895399594203e-05, "Software Usage & Applications": 0.14137511650487555, "Programming & Software Engineering": 0.8425948387640776, "Sports & Fitness": 0.00017324406888285986, "Vehicles & Transportation": 9.363784260533911e-05, "Travel & Tourism": 0.00014262741860567507, "Other / Uncovered Subject": 0.0003693162089742723, "Unknown / Insufficient Content": 0.00015304023393608666}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0006715467366383154, "Art & Design": 0.0006464348398432726, "Law & Crime": 0.000701725817712933, "Education & Careers": 0.0004741320231132761, "Entertainment & Media": 0.0005670370686220923, "Fashion & Beauty": 0.00036403944862052195, "Business, Economics & Finance": 0.0006815420398076865, "Food & Dining": 0.0003230735013377686, "Games & Gaming": 0.0005004895918242568, "Electronics & Hardware": 0.06644950685547957, "Health, Healthcare & Wellness": 0.00043615651706753114, "History & Geography": 0.0004485559692895864, "Home, Pets & Hobbies": 0.0004298054645808985, "Industry & Production": 0.0004606629872725314, "Language, Literature & Philosophy": 0.00024210602062363937, "Politics & Government": 0.00035089938245882937, "Religion & Spirituality": 0.00044473454529958426, "Science, Mathematics & Engineering": 0.005140062147739081, "Relationships & Community": 0.00028370069612179097, "Software Usage & Applications": 0.31966624827275475, "Programming & Software Engineering": 0.10355492479075232, "Sports & Fitness": 0.0003797060784781415, "Vehicles & Transportation": 0.00023145112810363326, "Travel & Tourism": 0.0005240183618029999, "Other / Uncovered Subject": 0.0008492547134086664, "NONE": 0.49517818500124633}}, "probability_diagnostics": {"primary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "tertiary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "structured_records": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "procedural_steps": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "worked_solution": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "contextual_dialogue": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "content_quality": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "noise_severity": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "missing_content_severity": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "factual_density": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "pretraining_utility": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "math_density": {"raw_sum": 0.9999999999999998, "mass_delta": -2.220446049250313e-16, "missing_mass": 2.220446049250313e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "code_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "reasoning_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "education_level": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "creative_writing_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "primary_topic": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "secondary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}}, "usage": {"input_tokens": 9954, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 9954, "cached_share": null, "cache_discount_reported": null, "reported_cost_usd": null}, "response_metadata": {"model": "decision-models/baseten-mammoth-27b-latest"}, "scored_at_utc": "2026-10-25T18:32:07.941432+00:00", "scoring_key_slot": "assistant_1", "dataset_uid": "d7864cb2-6be6-4e20-b9f5-796e9976d441", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "6b9d5a4bf65e47c2ce6cd37ba4c54172d28501a570a6905db6cb24e98a235d80", "source_metadata": {"uuid": "d7864cb2-6be6-4e20-b9f5-796e9976d441", "repo_name": "yilongli/cloudlab-shuffle-profile", "relative_path": "startup.sh", "category": "TOOL", "algo_rel_score": 0.983688235282898, "quality_score": 4.795515060424805, "source_meta": {"github_metadata": {"branch": "master", "commit_count": 2, "repo_created_at": "2020-11-19T00:11:23.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 0, "forks": 0, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "d2718fb30aecfd4de6f4485c37250c5e27901613", "size_bytes": 4625, "file_timestamp": 1609886798, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "119eb34852c01f6c0040436d8c7832da8a6b9d5a"}}, "parsed_source_meta": {"github_metadata": {"branch": "master", "commit_count": 2, "repo_created_at": "2020-11-19T00:11:23.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 0, "forks": 0, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "d2718fb30aecfd4de6f4485c37250c5e27901613", "size_bytes": 4625, "file_timestamp": 1609886798, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "119eb34852c01f6c0040436d8c7832da8a6b9d5a", "url": "https://github.com/yilongli/cloudlab-shuffle-profile/blob/119eb34852c01f6c0040436d8c7832da8a6b9d5a/startup.sh"}, "gpt4o_tokens": 1413, "dataset_split": "shell", "probability_weighted_scores": {"content_quality": 1.0094071815008103, "noise_severity": 0.055883223170329704, "missing_content_severity": 0.07417051214178047, "factual_density": 3.443597688001841, "pretraining_utility": 0.5768703351100927, "math_density": 0.10168389917239463, "code_density": 3.7964083484413096, "reasoning_density": 0.453179682759551, "education_level": 2.81077584686451, "creative_writing_quality": -0.19657983661300596}, "score_applicability": {"education_level": 0.9990796571904438, "creative_writing_quality": 0.00039708139174719347}} {"source_group": "shell", "source": "openbmb/UltraData-Stack-v3-L2/shell", "domain": "github.com", "language": "shell", "url": "https://github.com/Shuang777/kaldi/blob/3df67141b55cfd5e2ba7305a72e795e7706d8d30/egs/babel/s5b/mysteps/train_multi_subnnet.sh", "id": "shell-0-ecbba4938dd71da1ad4c0b9ce368f5f2", "text": "#!/bin/bash\n\n# Copyright 2012/2013 Brno University of Technology (Author: )\n# Apache 2.0\n{\nset -e\nset -o pipefail\n\n# Begin configuration.\nconfig= # config, which is also sent to all other scripts\n\n# NETWORK INITIALIZATION\nmlp_init= # select initialized MLP (override initialization)\nmlp_proto= # select network prototype (initialize it)\nproto_opts= # non-default options for 'make_nnet_proto.py'\nfeature_transform= # provide feature transform (=splice,rescaling,...) (don't build new one)\n#\nhid_layers=4 # nr. of hidden layers (prior to sotfmax or bottleneck)\nhid_dim=1024 # select hidden dimension\nbn_dim= # set a value to get a bottleneck network\ndbn= # select DBN to prepend to the MLP initialization\n#\ninit_opts= # options, passed to the initialization script\n\n# FEATURE PROCESSING\n# feature config (applies always)\napply_cmvn=false # apply normalization to input features?\nnorm_vars=false # use variance normalization?\ndelta_order=\n# feature_transform:\nsplice=5 # temporal splicing\nsplice_step=1 # stepsize of the splicing (1 == no gap between frames)\nfeat_type= # traps?\n# feature config (applies to feat_type traps)\ntraps_dct_basis=11 # nr. od DCT basis (applies to `traps` feat_type, splice10 )\n# feature config (applies to feat_type transf) (ie. LDA+MLLT, no fMLLR)\ntransf=\nsplice_after_transf=5\n# feature config (applies to feat_type lda)\nlda_dim=300 # LDA dimension (applies to `lda` feat_type)\n\n# LABELS\nlabels= # use these labels to train (override deafault pdf alignments) \nnum_tgt= # force to use number of outputs in the MLP (default is autodetect)\n\n# TRAINING SCHEDULER\nlearn_rate=0.008 # initial learning rate\ntrain_opts= # options, passed to the training script\ntrain_tool= # optionally change the training tool\n\n# OTHER\nuse_gpu_id= # manually select GPU id to run on, (-1 disables GPU)\nseed=777 # seed value used for training data shuffling and initialization\ncv_subset_factor=0.1\nuttbase=true # by default, we choose last 10% utterances for CV\nresume_anneal=true\nfeatlist=\n\n# End configuration.\n\necho \"$0 $@\" # Print the command line for logging\n\n. path.sh || exit 1;\n. parse_options.sh || exit 1;\n\nif [ $# != 3 ]; then\n echo \"Usage: $0 \"\n echo \" e.g.: $0 data/train exp/mono_ali exp/mono_nnet\"\n echo \"main options (for others, see top of script file)\"\n echo \" --config # config containing options\"\n exit 1;\nfi\n\ndata=$1\nalidir=$2\ndir=$3\n\n[ -z \"$featlist\" ] && featlist=$dir/feat.list\n\nfor f in $alidir/ali.1.gz $data/feats.scp $featlist; do\n [ ! -f $f ] && echo \"$0: no such file $f\" && exit 1;\ndone\n\necho\necho \"# INFO\"\necho \"$0 : Training Neural Network\"\nprintf \"\\t dir : $dir \\n\"\nprintf \"\\t Train-set : $data $alidir \\n\"\n\nmkdir -p $dir/{log,nnet}\n\n# skip when already trained\n[ -e $dir/final.nnet ] && printf \"\\nSKIPPING TRAINING... ($0)\\nnnet already trained : $dir/final.nnet ($(readlink $dir/final.nnet))\\n\\n\" && exit 0\n\n\n###### PREPARE ALIGNMENTS ######\necho\necho \"# PREPARING ALIGNMENTS\"\nif [ ! -z $labels ]; then\n echo \"Using targets '$labels' (by force)\"\n labels_tr=\"$labels\"\n labels_cv=\"$labels\"\nelse\n echo \"Using PDF targets from dirs '$alidir'\"\n # define pdf-alignment rspecifiers\n labels_tr_ali=\"ark:ali-to-pdf $alidir/final.mdl \\\"ark:gunzip -c $alidir/ali.*.gz |\\\" ark:- |\" # for analyze-counts.\n labels_tr=\"ark:ali-to-pdf $alidir/final.mdl \\\"ark:gunzip -c $alidir/ali.*.gz |\\\" ark,t:- | ali-to-post ark,t:- ark:- |\"\n labels_cv=\"ark:ali-to-pdf $alidir/final.mdl \\\"ark:gunzip -c $alidir/ali.*.gz |\\\" ark,t:- | ali-to-post ark,t:- ark:- |\"\n\n # get pdf-counts, used later to post-process DNN posteriors\n analyze-counts --binary=false \"$labels_tr_ali\" $dir/ali_train_pdf.counts || exit 1\n # copy the old transition model, will be needed by decoder\n copy-transition-model --binary=false $alidir/final.mdl $dir/final.mdl || exit 1\n # copy the tree\n cp $alidir/tree $dir/tree || exit 1\nfi\n\n# shuffle the list\necho \"Preparing train/cv lists :\"\nnum_utts_all=$(wc $data/feats.scp | awk '{print $1}')\nnum_utts_subset=$(awk \"BEGIN {print(int( $num_utts_all * $cv_subset_factor))}\")\n\nori_feat=$(head -n 1 $featlist)\necho \"ori_feat is $ori_feat\"\nfor i in `cat $featlist`; do\n echo \"adding feat: $i\"\n featdata=$(echo $data | sed -e \"s#$ori_feat#$i#g\")\n if [ $uttbase == true ]; then\n tail -$num_utts_subset $featdata/feats.scp > $dir/shuffle.$i.cv.scp\n cat $featdata/feats.scp | utils/filter_scp.pl --exclude $dir/shuffle.$i.cv.scp | utils/shuffle_list.pl --srand ${seed:-777} > $dir/shuffle.$i.train.scp\n else\n cat $featdata/feats.scp | utils/shuffle_list.pl --srand ${seed:-777} > $dir/shuffle.$i.scp\n head -$num_utts_subset $dir/shuffle.$i.scp > $dir/shuffle.$i.cv.scp\n cat $dir/shuffle.$i.scp | utils/filter_scp.pl --exclude $dir/shuffle.$i.cv.scp > $dir/shuffle.$i.train.scp\n fi\ndone\n\n###### PREPARE FEATURES ######\necho\necho \"# PREPARING FEATURES\"\n#read the features\nif [ -z $feat_type ]; then\n if [ -f $alidir/final.mat ]; then feat_type=lda; else feat_type=delta; fi\nfi\n\necho \"$0: feature type is $feat_type\"\n\ncase $feat_type in\n delta) feats_tr=\"ark,s,cs:apply-cmvn --norm-vars=false --utt2spk=ark:$data/utt2spk scp:$data/cmvn.scp scp:$dir/shuffle.$ori_feat.train.scp ark:- | add-deltas ark:- ark:- |\"\n feats_cv=\"ark,s,cs:apply-cmvn --norm-vars=false --utt2spk=ark:$data/utt2spk scp:$data/cmvn.scp scp:$dir/shuffle.$ori_feat.cv.scp ark:- | add-deltas ark:- ark:- |\"\n ;;\n raw) feats_tr=\"ark,s,cs:apply-cmvn --norm-vars=false --utt2spk=ark:$data/utt2spk scp:$data/cmvn.scp scp:$dir/shuffle.$ori_feat.train.scp ark:- |\"\n feats_cv=\"ark,s,cs:apply-cmvn --norm-vars=false --utt2spk=ark:$data/utt2spk scp:$data/cmvn.scp scp:$dir/shuffle.$ori_feat.cv.scp ark:- |\"\n ;;\n lda) feats_tr=\"ark,s,cs:apply-cmvn --norm-vars=false --utt2spk=ark:$data/utt2spk scp:$data/cmvn.scp scp:$dir/shuffle.$ori_feat.train.scp ark:- | splice-feats $splice_opts ark:- ark:- | transform-feats $alidir/final.mat ark:- ark:- |\"\n feats_cv=\"ark,s,cs:apply-cmvn --norm-vars=false --utt2spk=ark:$data/utt2spk scp:$data/cmvn.scp scp:$dir/shuffle.$ori_feat.cv.scp ark:- | splice-feats $splice_opts ark:- ark:- | transform-feats $alidir/final.mat ark:- ark:- |\"\n ;;\n fmllr) feats_tr=\"scp:$dir/shuffle.$ori_feat.train.scp\"\n feats_cv=\"scp:$dir/shuffle.$ori_feat.cv.scp\"\n ;;\n *) echo \"$0: invalid feature type $feat_type\" && exit 1;\nesac\n\nif [ -f $alidir/trans.1 ] && [ $feat_type == \"lda\" ]; then\n echo \"$0: using transforms from $alidir\"\n feats_cv=\"$feats_cv transform-feats --utt2spk=ark:$data/utt2spk 'ark:cat $alidir/trans.*|' ark:- ark:- |\"\n feats_tr=\"$feats_tr transform-feats --utt2spk=ark:$data/utt2spk 'ark:cat $alidir/trans.*|' ark:- ark:- |\"\nfi\nif [ -f $alidir/raw_trans.1 ] && [ $feat_type == \"raw\" ]; then\n echo \"$0: using raw-fMLLR transforms from $alidir\"\n feats_tr=\"$feats_tr transform-feats --utt2spk=ark:$data/utt2spk 'ark:cat $alidir/raw_trans.*|' ark:- ark:- |\"\n feats_cv=\"$feats_cv transform-feats --utt2spk=ark:$data/utt2spk 'ark:cat $alidir/raw_trans.*|' ark:- ark:- |\"\nfi\n\n[ -f $dir/feats.list ] && rm -f $dir/feats.list\n\n# re-save the shuffled features, so they are stored sequentially on the disk in /tmp/\ntmpdir=$dir/feature_shuffled; mkdir -p $tmpdir; \n# remove data on exit...\ntrap \"echo \\\"Removing features tmpdir $tmpdir @ $(hostname)\\\"; rm -r $tmpdir\" EXIT\n\n[ -f $dir/feats.tr.list ] && rm -f $dir/feats.tr.list\n[ -f $dir/feats.cv.list ] && rm -f $dir/feats.cv.list\nfor i in `cat $featlist`; do\n this_feats_tr=$(echo \"$feats_tr\" | sed -e \"s#$ori_feat#$i#g\")\n this_feats_cv=$(echo \"$feats_cv\" | sed -e \"s#$ori_feat#$i#g\")\n \n #get feature dim\n echo -n \"Getting feature dim of $i: \"\n feat_dim=$(feat-to-dim \"$this_feats_tr\" -)\n echo $feat_dim\n\n copy-feats \"$this_feats_tr\" ark,scp:$tmpdir/feats.$i.tr.ark,$dir/$i.train.scp\n copy-feats \"$this_feats_cv\" ark,scp:$tmpdir/feats.$i.cv.ark,$dir/$i.cv.scp\n\n #create a 10k utt subset for global cmvn estimates\n head -n 10000 $dir/$i.train.scp > $dir/$i.train.scp.10k\n\n # print the list sizes\n wc -l $dir/$i.train.scp $dir/$i.cv.scp\n \n # read the features\n this_feats_tr=\"ark:copy-feats scp:$dir/$i.train.scp ark:- |\"\n this_feats_cv=\"ark:copy-feats scp:$dir/$i.cv.scp ark:- |\"\n echo $this_feats_tr >> $dir/feats.tr.list\n echo $this_feats_cv >> $dir/feats.cv.list\ndone\n\nfeats_tr=\"ark:copy-feats scp:$dir/$ori_feat.train.scp ark:- |\"\nfeats_cv=\"ark:copy-feats scp:$dir/$ori_feat.cv.scp ark:- |\"\nfeats_tr1=$(echo $feats_tr | sed -e \"s#scp:$dir/$ori_feat.train.scp#\\\"scp:head -1 $dir/$i.train.scp |\\\"#g\")\n\n###### PREPARE FEATURE PIPELINE ######\n# Now we will start building complex feature_transform which will \n# be forwarded in CUDA to have fast run-time.\n#\n# We will use 1GPU for both feature_transform and MLP training in one binary tool. \n# This is against the kaldi spirit to have many independent small processing units, \n# but it is necessary because of compute exclusive mode, where GPU cannot be shared\n# by multiple processes.\n\n[ -z \"$feature_transform\" ] || feature_transform_list=$dir/feature_transforms.list\n[ -z \"$feature_transform_list\" ] || [ -f $feature_transform_list ] && rm $feature_transform_list\n\nfor i in `cat $featlist`; do\n if [ ! -z \"$feature_transform\" ]; then\n this_feature_transform=$(echo $feature_transform | sed -e \"s#$ori_feat#$i#g\")\n echo \"Using pre-computed feature-transform : '$this_feature_transform'\"\n tmp=$dir/$i.$(basename $this_feature_transform) \n cp $this_feature_transform $tmp; this_feature_transform=$tmp\n else\n echo \"not supported yet, please check feature_transform_list\" && exit 1;\n # Generate the splice transform\n echo \"Using splice +/- $splice , step $splice_step\"\n feature_transform=$dir/tr_splice$splice-$splice_step.nnet\n utils/nnet/gen_splice.py --fea-dim=$feat_dim --splice=$splice --splice-step=$splice_step > $feature_transform\n\n # Choose further processing of spliced features\n echo \"Feature type : $feat_type\"\n case $feat_type in\n plain)\n ;;\n traps)\n #generate hamming+dct transform\n feature_transform_old=$feature_transform\n feature_transform=${feature_transform%.nnet}_hamm_dct${traps_dct_basis}.nnet\n echo \"Preparing Hamming DCT transform into : $feature_transform\"\n #prepare matrices with time-transposed hamming and dct\n utils/nnet/gen_hamm_mat.py --fea-dim=$feat_dim --splice=$splice > $dir/hamm.mat\n utils/nnet/gen_dct_mat.py --fea-dim=$feat_dim --splice=$splice --dct-basis=$traps_dct_basis > $dir/dct.mat\n #put everything together\n compose-transforms --binary=false $dir/dct.mat $dir/hamm.mat - | \\\n transf-to-nnet - - | \\\n nnet-concat --binary=false $feature_transform_old - $feature_transform || exit 1\n ;;\n transf)\n feature_transform_old=$feature_transform\n feature_transform=${feature_transform%.nnet}_transf_splice${splice_after_transf}.nnet\n [ -z $transf ] && $alidir/final.mat\n [ ! -f $transf ] && echo \"Missing transf $transf\" && exit 1\n feat_dim=$(feat-to-dim \"$feats_tr1 nnet-forward 'nnet-concat $feature_transform_old \\\"transf-to-nnet $transf - |\\\" - |' ark:- ark:- |\" -)\n nnet-concat --binary=false $feature_transform_old \\\n \"transf-to-nnet $transf - |\" \\\n \"utils/nnet/gen_splice.py --fea-dim=$feat_dim --splice=$splice_after_transf |\" \\\n $feature_transform || exit 1\n ;;\n lda)\n echo \"LDA transform applied already!\";\n ;;\n *)\n echo \"Unknown feature type $feat_type\"\n exit 1;\n ;;\n esac\n # keep track of feat_type\n echo $feat_type > $dir/feat_type\n\n # Renormalize the MLP input to zero mean and unit variance\n feature_transform_old=$feature_transform\n feature_transform=${feature_transform%.nnet}_cmvn-g.nnet\n echo \"Renormalizing MLP input features into $feature_transform\"\n nnet-forward --use-gpu=yes \\\n $feature_transform_old \"$(echo $feats_tr | sed 's|train.scp|train.scp.10k|')\" \\\n ark:- 2>$dir/log/nnet-forward-cmvn.log |\\\n compute-cmvn-stats ark:- - | cmvn-to-nnet - - |\\\n nnet-concat --binary=false $feature_transform_old - $feature_transform\n fi\n echo $this_feature_transform >> $feature_transform_list\ndone\n\n###### INITIALIZE THE NNET ######\necho \necho \"# NN-INITIALIZATION\"\n[ ! -z \"$mlp_init\" ] && echo \"Using pre-initialized network '$mlp_init'\";\nif [ ! -z \"$mlp_proto\" ]; then\n echo \"Initializing using network prototype '$mlp_proto'\";\n mlp_init=$dir/multi.nnet.init; log=$dir/log/nnet_initialize.log\n multi-nnet-initialize $mlp_proto $mlp_init 2>$log || { cat $log; exit 1; } \nfi\nif [[ -z \"$mlp_init\" && -z \"$mlp_proto\" ]]; then\n mlp_inits=\"\"\n for i in `cat $featlist`; do\n this_dbn=$(echo $dbn | sed -e \"s#$ori_feat#$i#\")\n echo \"Getting input/output dims :\"\n #initializing the MLP, get the i/o dims...\n #input-dim\n num_fea=$(feat-to-dim \"$feats_tr1 nnet-forward $feature_transform ark:- ark:- |\" - )\n { #optioanlly take output dim of DBN\n [ ! -z $dbn ] && num_fea=$(nnet-forward \"nnet-concat $feature_transform $this_dbn -|\" \"$feats_tr1\" ark:- | feat-to-dim ark:- -)\n [ -z \"$num_fea\" ] && echo \"Getting nnet input dimension failed!!\" && exit 1\n }\n\n [ -z $num_tgt ] && num_tgt=$(hmm-info --print-args=false $alidir/final.mdl | grep pdfs | awk '{ print $NF }')\n\n # make network prototype\n mlp_proto=$dir/nnet.proto\n echo \"Genrating network prototype $mlp_proto\"\n myutils/nnet/make_nnet_proto.py $proto_opts \\\n --no-softmax \\\n ${bn_dim:+ --bottleneck-dim=$bn_dim} \\\n $num_fea $num_tgt $hid_layers $hid_dim >$mlp_proto || exit 1\n # initialize\n mlp_init=$dir/nnet.$i.init; log=$dir/log/nnet_initialize.log\n echo \"Initializing $mlp_proto -> $mlp_init\"\n nnet-initialize $mlp_proto $mlp_init 2>$log || { cat $log; exit 1; }\n\n #optionally prepend dbn to the initialization\n if [ ! -z $dbn ]; then\n mlp_init_old=$mlp_init; mlp_init=$dir/nnet_$(basename $this_dbn)_dnn.$i.init\n nnet-concat $this_dbn $mlp_init_old $mlp_init || exit 1\n fi\n mlp_inits=\"$mlp_inits $mlp_init\"\n done\n mlp_init=$dir/multi.nnet.init\n nnet-to-multi-merge-nnet $mlp_inits BlockAdd $mlp_init\n multi-nnet-add-softmax $dir/multi.nnet.init $mlp_init\nfi\n\n###### TRAIN ######\necho\necho \"# RUNNING THE NN-TRAINING SCHEDULER\"\nmysteps/train_nnet_scheduler.sh \\\n --feature-transform-list $feature_transform_list \\\n --learn-rate $learn_rate \\\n --randomizer-seed $seed \\\n --resume-anneal $resume_anneal \\\n --train-tool multi-nnet-train-frmshuff-subnnets \\\n ${train_opts} \\\n ${train_tool:+ --train-tool \"$train_tool\"} \\\n ${config:+ --config $config} \\\n $mlp_init $dir/feats.tr.list $dir/feats.cv.list \"$labels_tr\" \"$labels_cv\" $dir || exit 1\n\n\necho \"$0 successfuly finished.. $dir\"\n\nsleep 3\nexit 0\n}\n", "text_preview": "#!/bin/bash # Copyright 2012/2013 Brno University of Technology (Author: ) # Apache 2.0 { set -e set -o pipefail # Begin configuration. config= # config, which is also sent to all other scripts # NETWORK INITIALIZATION mlp_init= # sel", "input_sha256": "04ff52188980df8b9e81a04ad4ea43e98d8bd89162f31f067822cc68f9912a0a", "text_sha256": "ecbba4938dd71da1ad4c0b9ce368f5f2ba24100eee34a0f64f6c37fe6ff81620", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 20042, "input_policy": "text-and-optional-url-v1", "label_policy_version": 12, "requested_model": "decision-models/baseten-mammoth-27b-latest", "backend": "baseten", "endpoint": "https://inference.baseten.co/v1/systemone", "status": "ok", "training_eligible": true, "label": {"primary": {"main_format": "Technical Writing", "sub_format": null}, "secondary": null, "tertiary": null, "content_structure": []}, "candidate_label": null, "topic": {"primary": {"main_topic": "Programming & Software Engineering", "sub_topic": null}, "secondary": null}, "scores": {"content_quality": 1, "noise_severity": 0, "missing_content_severity": 0, "factual_density": 3, "pretraining_utility": 1, "math_density": 0, "code_density": 4, "reasoning_density": 0, "education_level": 3, "creative_writing_quality": null}, "score_expectations": {"content_quality": 0.6455791217612649, "noise_severity": 0.10566840074020348, "missing_content_severity": 0.1859851498323104, "factual_density": 3.2390618310460577, "pretraining_utility": 0.3621230686224882, "math_density": 0.719210643711352, "code_density": 3.8195321733412424, "reasoning_density": 0.4937791420242371, "education_level": 3.4257661558624157, "creative_writing_quality": -0.22998887221588932}, "api_choices": {"primary": "Technical Writing", "secondary": "NONE", "tertiary": "NONE", "education_level": "3", "creative_writing_quality": "not_applicable", "primary_topic": "Programming & Software Engineering", "secondary_topic": "NONE"}, "review_reasons": [], "format_slot_diagnostics": {"comparable": true, "secondary_tertiary_identical": false, "secondary_tertiary_max_abs_gap": 0.022651771106358132, "secondary_choice": "NONE", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.9833119655094907, "secondary": 0.477897239636632, "tertiary": 0.5015338703563101, "structured_records": 0.04057064779510558, "procedural_steps": 0.3584763029165487, "worked_solution": 0.0030288024639618305, "contextual_dialogue": 5.5316092743665875e-06, "content_quality": 0.4261467893709261, "noise_severity": 0.9119429993831638, "missing_content_severity": 0.8450123751397414, "factual_density": 0.49890026055257997, "pretraining_utility": 0.3465237283729904, "math_density": 0.4006577969072065, "code_density": 0.8496101444510351, "reasoning_density": 0.588517381646469, "education_level": 0.37619061765731027, "creative_writing_quality": 0.9993834988241992, "primary_topic": 0.8966740987109106, "secondary_topic": 0.39008955530574063}, "probability_margin": {"primary": 0.9711168666351008, "secondary": 0.07132866980681135, "tertiary": 0.09523008372073544, "education_level": 0.005498063300230893, "creative_writing_quality": 0.999242556617441, "primary_topic": 0.8129446870305611, "secondary_topic": 0.0488999787729803}, "raw_probabilities": {"primary": {"Academic Writing": 8.411355375748885e-05, "Content Listing": 4.665747864949913e-05, "Creative Writing": 3.149283773556551e-05, "Customer Support Page": 2.58692325035882e-05, "Q&A Forum": 2.0703538304424996e-05, "Discussion Thread": 1.518711315917714e-05, "Comment Section": 2.8075176393930276e-05, "Missing Content": 3.741575814668295e-05, "Knowledge Article": 0.00011307085475920008, "Legal Notices": 0.00013890733866687185, "News Article": 1.4308913422183513e-05, "Organizational Announcement": 2.8698889820608962e-05, "Nonfiction Writing": 2.322393139646533e-05, "Organizational About Page": 3.1573476730774246e-05, "Personal About Page": 1.97802353228588e-05, "Personal Blog": 1.5885871986695643e-05, "Product Page": 1.49004143641113e-05, "Spam / Ads": 2.2969262067931473e-05, "Structured Data": 0.0003541297689287918, "Technical Writing": 0.9840073002799287, "Transcript / Interview": 3.119490794462164e-05, "Tutorial / How-To Guide": 0.012890433644827877, "User Reviews": 1.5098256773709622e-05, "Other / Unknown": 0.0019890092644083905}, "secondary": {"Academic Writing": 0.0008669286661637294, "Content Listing": 0.0006086153388988641, "Creative Writing": 0.000579034029787993, "Customer Support Page": 0.000427011556954319, "Q&A Forum": 0.000340800947015113, "Discussion Thread": 0.00034210348226511073, "Comment Section": 0.0005861679938692664, "Missing Content": 0.001051101208391382, "Knowledge Article": 0.0012646946351189123, "Legal Notices": 0.4283228515116277, "News Article": 0.0005336601177316923, "Organizational Announcement": 0.0006624434433513351, "Nonfiction Writing": 0.0005481946129623777, "Organizational About Page": 0.000668433182876034, "Personal About Page": 0.0003763596023892521, "Personal Blog": 0.00031206648567306297, "Product Page": 0.00041623449524997533, "Spam / Ads": 0.00043055297666258355, "Structured Data": 0.0015708098796253043, "Technical Writing": 0.038860404268812196, "Transcript / Interview": 0.0007769160578947682, "Tutorial / How-To Guide": 0.020510712239106922, "User Reviews": 0.0002923819491329123, "NONE": 0.49965152131843904}, "tertiary": {"Academic Writing": 0.0008150029812747533, "Content Listing": 0.0005554586628763943, "Creative Writing": 0.0006232046932903875, "Customer Support Page": 0.0004341162244844577, "Q&A Forum": 0.00030849413092287365, "Discussion Thread": 0.0002926169726138473, "Comment Section": 0.0006368559294763646, "Missing Content": 0.0008258014622478763, "Knowledge Article": 0.0014367929564938304, "Legal Notices": 0.4270732087040618, "News Article": 0.0005188664523166404, "Organizational Announcement": 0.0005789629544949806, "Nonfiction Writing": 0.00050988817232894, "Organizational About Page": 0.0007074226930070437, "Personal About Page": 0.00033163080804630003, "Personal Blog": 0.000276422994751795, "Product Page": 0.0004119437916789318, "Spam / Ads": 0.00041053661812594916, "Structured Data": 0.0017076468396684825, "Technical Writing": 0.01864557299355936, "Transcript / Interview": 0.0006518161660157304, "Tutorial / How-To Guide": 0.019682572057562298, "User Reviews": 0.00026187231590375873, "NONE": 0.5223032924247972}, "structured_records": {"false": 0.9594293522048944, "true": 0.04057064779510558}, "procedural_steps": {"false": 0.6415236970834512, "true": 0.3584763029165487}, "worked_solution": {"false": 0.9969711975360381, "true": 0.0030288024639618305}, "contextual_dialogue": {"false": 0.9999944683907256, "true": 5.5316092743665875e-06}, "content_quality": {"-2": 0.013334777035229856, "-1": 0.09123474992641746, "0": 0.2990485345382875, "1": 0.4292804512419885, "2": 0.16710148725807675}, "noise_severity": {"0": 0.9025756818084842, "1": 0.09199688651856998, "2": 0.003429926020994188, "3": 0.001178360428160443, "4": 0.0008191452237909439}, "missing_content_severity": {"0": 0.8362138872934816, "1": 0.14665300171048826, "2": 0.013511859841128893, "3": 0.0021765761800405774, "4": 0.0014446749748606457}, "factual_density": {"0": 0.00444132919675418, "1": 0.014444987500356329, "2": 0.13891496555444785, "3": 0.4220079585569607, "4": 0.4201907591914809}, "pretraining_utility": {"-2": 0.014603594456219513, "-1": 0.14271569237651757, "0": 0.3817820605432679, "1": 0.3877513553365451, "2": 0.07314729728744984}, "math_density": {"0": 0.621322724494026, "1": 0.19752742324055522, "2": 0.08564156311692818, "3": 0.03163306235702214, "4": 0.06387522679146855}, "code_density": {"0": 0.00045832496243338947, "1": 0.0008495605598963576, "2": 0.014916176255450176, "3": 0.14625349261843482, "4": 0.8375224456037853}, "reasoning_density": {"0": 0.6595932580148474, "1": 0.22881705728233506, "2": 0.08279534086194827, "3": 0.015805972345471528, "4": 0.012988371495397728}, "education_level": {"none": 0.0009760527058268937, "0": 0.0013622882857286678, "1": 0.002381308023247123, "2": 0.04046071818991091, "3": 0.4801588480477586, "4": 0.4746607847475277}, "creative_writing_quality": {"not_applicable": 0.999486249020166, "-2": 5.584138451919162e-05, "-1": 0.00012239310754282395, "0": 0.0002436924027250255, "1": 6.77293019645383e-05, "2": 2.409478308241968e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 0.00017374938401006312, "Art & Design": 0.00029850592487345003, "Law & Crime": 0.00030865118085816407, "Education & Careers": 0.00020704624909152137, "Entertainment & Media": 0.00024039875791710097, "Fashion & Beauty": 0.00016633420953639764, "Business, Economics & Finance": 0.00023581097322822322, "Food & Dining": 0.00018084574287833202, "Games & Gaming": 0.0002485673603501178, "Electronics & Hardware": 0.0009097906216729208, "Health, Healthcare & Wellness": 0.00027797342469258117, "History & Geography": 0.0003016449414165116, "Home, Pets & Hobbies": 0.00016792648279964468, "Industry & Production": 0.00020134532543486413, "Language, Literature & Philosophy": 0.002954808693733118, "Politics & Government": 0.00010322180359318788, "Religion & Spirituality": 0.00017223045931976364, "Science, Mathematics & Engineering": 0.08770348480685299, "Relationships & Community": 7.795507445454706e-05, "Software Usage & Applications": 0.0021332778981097934, "Programming & Software Engineering": 0.9006481718374141, "Sports & Fitness": 0.0002701909437283429, "Vehicles & Transportation": 0.00010440907200388119, "Travel & Tourism": 0.00020467468334096214, "Other / Uncovered Subject": 0.001424170214853459, "Unknown / Insufficient Content": 0.00028481393383595965}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0008388551311809234, "Art & Design": 0.0007514914441630553, "Law & Crime": 0.0017155128094333682, "Education & Careers": 0.0007395672925086695, "Entertainment & Media": 0.0008611176728431307, "Fashion & Beauty": 0.0005314983505278155, "Business, Economics & Finance": 0.0007927429057254852, "Food & Dining": 0.0004100514175419681, "Games & Gaming": 0.0005388474612815924, "Electronics & Hardware": 0.0056626477607423205, "Health, Healthcare & Wellness": 0.0008002190509655267, "History & Geography": 0.0006622389560573891, "Home, Pets & Hobbies": 0.00041884557288431, "Industry & Production": 0.0005189357268571383, "Language, Literature & Philosophy": 0.007629785769070878, "Politics & Government": 0.00039339771308448905, "Religion & Spirituality": 0.0006134608813718374, "Science, Mathematics & Engineering": 0.3646476705594626, "Relationships & Community": 0.0002406448954482529, "Software Usage & Applications": 0.00413400738796485, "Programming & Software Engineering": 0.19093338789285116, "Sports & Fitness": 0.0004627156041787806, "Vehicles & Transportation": 0.0002695030085479339, "Travel & Tourism": 0.0006588071385575342, "Other / Uncovered Subject": 0.0012263982643059208, "NONE": 0.4135476493324429}}, "probabilities": {"primary": {"Academic Writing": 8.411355375748884e-05, "Content Listing": 4.6657478649499116e-05, "Creative Writing": 3.1492837735565504e-05, "Customer Support Page": 2.5869232503588193e-05, "Q&A Forum": 2.0703538304424993e-05, "Discussion Thread": 1.5187113159177136e-05, "Comment Section": 2.807517639393027e-05, "Missing Content": 3.7415758146682945e-05, "Knowledge Article": 0.00011307085475920005, "Legal Notices": 0.00013890733866687183, "News Article": 1.430891342218351e-05, "Organizational Announcement": 2.8698889820608955e-05, "Nonfiction Writing": 2.3223931396465322e-05, "Organizational About Page": 3.157347673077424e-05, "Personal About Page": 1.9780235322858798e-05, "Personal Blog": 1.588587198669564e-05, "Product Page": 1.4900414364111297e-05, "Spam / Ads": 2.2969262067931466e-05, "Structured Data": 0.00035412976892879174, "Technical Writing": 0.9840073002799284, "Transcript / Interview": 3.119490794462163e-05, "Tutorial / How-To Guide": 0.012890433644827873, "User Reviews": 1.5098256773709619e-05, "Other / Unknown": 0.00198900926440839}, "secondary": {"Academic Writing": 0.0008669286661637295, "Content Listing": 0.0006086153388988642, "Creative Writing": 0.0005790340297879931, "Customer Support Page": 0.00042701155695431907, "Q&A Forum": 0.0003408009470151131, "Discussion Thread": 0.0003421034822651108, "Comment Section": 0.0005861679938692665, "Missing Content": 0.0010511012083913823, "Knowledge Article": 0.0012646946351189126, "Legal Notices": 0.42832285151162774, "News Article": 0.0005336601177316924, "Organizational Announcement": 0.0006624434433513352, "Nonfiction Writing": 0.0005481946129623778, "Organizational About Page": 0.0006684331828760342, "Personal About Page": 0.00037635960238925213, "Personal Blog": 0.000312066485673063, "Product Page": 0.0004162344952499754, "Spam / Ads": 0.0004305529766625836, "Structured Data": 0.0015708098796253045, "Technical Writing": 0.0388604042688122, "Transcript / Interview": 0.0007769160578947683, "Tutorial / How-To Guide": 0.020510712239106926, "User Reviews": 0.0002923819491329124, "NONE": 0.4996515213184391}, "tertiary": {"Academic Writing": 0.0008150029812747533, "Content Listing": 0.0005554586628763943, "Creative Writing": 0.0006232046932903875, "Customer Support Page": 0.0004341162244844577, "Q&A Forum": 0.00030849413092287365, "Discussion Thread": 0.0002926169726138473, "Comment Section": 0.0006368559294763646, "Missing Content": 0.0008258014622478763, "Knowledge Article": 0.0014367929564938304, "Legal Notices": 0.4270732087040618, "News Article": 0.0005188664523166404, "Organizational Announcement": 0.0005789629544949806, "Nonfiction Writing": 0.00050988817232894, "Organizational About Page": 0.0007074226930070437, "Personal About Page": 0.00033163080804630003, "Personal Blog": 0.000276422994751795, "Product Page": 0.0004119437916789318, "Spam / Ads": 0.00041053661812594916, "Structured Data": 0.0017076468396684825, "Technical Writing": 0.01864557299355936, "Transcript / Interview": 0.0006518161660157304, "Tutorial / How-To Guide": 0.019682572057562298, "User Reviews": 0.00026187231590375873, "NONE": 0.5223032924247972}, "structured_records": {"false": 0.9594293522048944, "true": 0.04057064779510558}, "procedural_steps": {"false": 0.6415236970834512, "true": 0.3584763029165487}, "worked_solution": {"false": 0.9969711975360381, "true": 0.0030288024639618305}, "contextual_dialogue": {"false": 0.9999944683907256, "true": 5.5316092743665875e-06}, "content_quality": {"-2": 0.013334777035229856, "-1": 0.09123474992641746, "0": 0.2990485345382875, "1": 0.4292804512419885, "2": 0.16710148725807675}, "noise_severity": {"0": 0.9025756818084845, "1": 0.09199688651856999, "2": 0.003429926020994189, "3": 0.0011783604281604431, "4": 0.0008191452237909441}, "missing_content_severity": {"0": 0.8362138872934817, "1": 0.14665300171048828, "2": 0.013511859841128895, "3": 0.002176576180040578, "4": 0.001444674974860646}, "factual_density": {"0": 0.00444132919675418, "1": 0.014444987500356329, "2": 0.13891496555444785, "3": 0.4220079585569607, "4": 0.4201907591914809}, "pretraining_utility": {"-2": 0.014603594456219515, "-1": 0.1427156923765176, "0": 0.38178206054326796, "1": 0.38775135533654514, "2": 0.07314729728744986}, "math_density": {"0": 0.6213227244940259, "1": 0.19752742324055517, "2": 0.08564156311692817, "3": 0.03163306235702213, "4": 0.06387522679146854}, "code_density": {"0": 0.00045832496243338947, "1": 0.0008495605598963576, "2": 0.014916176255450176, "3": 0.14625349261843482, "4": 0.8375224456037853}, "reasoning_density": {"0": 0.6595932580148474, "1": 0.22881705728233506, "2": 0.08279534086194827, "3": 0.015805972345471528, "4": 0.012988371495397728}, "education_level": {"none": 0.0009760527058268938, "0": 0.001362288285728668, "1": 0.0023813080232471234, "2": 0.04046071818991092, "3": 0.48015884804775866, "4": 0.47466078474752776}, "creative_writing_quality": {"not_applicable": 0.999486249020166, "-2": 5.584138451919162e-05, "-1": 0.00012239310754282395, "0": 0.0002436924027250255, "1": 6.77293019645383e-05, "2": 2.409478308241968e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 0.00017374938401006312, "Art & Design": 0.00029850592487345003, "Law & Crime": 0.00030865118085816407, "Education & Careers": 0.00020704624909152137, "Entertainment & Media": 0.00024039875791710097, "Fashion & Beauty": 0.00016633420953639764, "Business, Economics & Finance": 0.00023581097322822322, "Food & Dining": 0.00018084574287833202, "Games & Gaming": 0.0002485673603501178, "Electronics & Hardware": 0.0009097906216729208, "Health, Healthcare & Wellness": 0.00027797342469258117, "History & Geography": 0.0003016449414165116, "Home, Pets & Hobbies": 0.00016792648279964468, "Industry & Production": 0.00020134532543486413, "Language, Literature & Philosophy": 0.002954808693733118, "Politics & Government": 0.00010322180359318788, "Religion & Spirituality": 0.00017223045931976364, "Science, Mathematics & Engineering": 0.08770348480685299, "Relationships & Community": 7.795507445454706e-05, "Software Usage & Applications": 0.0021332778981097934, "Programming & Software Engineering": 0.9006481718374141, "Sports & Fitness": 0.0002701909437283429, "Vehicles & Transportation": 0.00010440907200388119, "Travel & Tourism": 0.00020467468334096214, "Other / Uncovered Subject": 0.001424170214853459, "Unknown / Insufficient Content": 0.00028481393383595965}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0008388551311809235, "Art & Design": 0.0007514914441630554, "Law & Crime": 0.0017155128094333684, "Education & Careers": 0.0007395672925086696, "Entertainment & Media": 0.0008611176728431308, "Fashion & Beauty": 0.0005314983505278156, "Business, Economics & Finance": 0.0007927429057254853, "Food & Dining": 0.00041005141754196816, "Games & Gaming": 0.0005388474612815925, "Electronics & Hardware": 0.005662647760742321, "Health, Healthcare & Wellness": 0.0008002190509655268, "History & Geography": 0.0006622389560573892, "Home, Pets & Hobbies": 0.0004188455728843101, "Industry & Production": 0.0005189357268571384, "Language, Literature & Philosophy": 0.007629785769070879, "Politics & Government": 0.0003933977130844891, "Religion & Spirituality": 0.0006134608813718375, "Science, Mathematics & Engineering": 0.3646476705594627, "Relationships & Community": 0.00024064489544825294, "Software Usage & Applications": 0.004134007387964851, "Programming & Software Engineering": 0.1909333878928512, "Sports & Fitness": 0.00046271560417878067, "Vehicles & Transportation": 0.00026950300854793394, "Travel & Tourism": 0.0006588071385575343, "Other / Uncovered Subject": 0.001226398264305921, "NONE": 0.413547649332443}}, "probability_diagnostics": {"primary": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "secondary": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "tertiary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "structured_records": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "procedural_steps": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "worked_solution": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "contextual_dialogue": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "content_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "noise_severity": {"raw_sum": 0.9999999999999998, "mass_delta": -2.220446049250313e-16, "missing_mass": 2.220446049250313e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "missing_content_severity": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "factual_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "pretraining_utility": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "math_density": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "code_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "reasoning_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "education_level": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "creative_writing_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "primary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary_topic": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}}, "usage": {"input_tokens": 13265, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 13265, "cached_share": null, "cache_discount_reported": null, "reported_cost_usd": null}, "response_metadata": {"model": "decision-models/baseten-mammoth-27b-latest"}, "scored_at_utc": "2026-10-25T18:32:08.060946+00:00", "scoring_key_slot": "assistant_1", "dataset_uid": "4aca5abd-eec1-432f-97aa-12d893c1243d", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "6a7414661b04e29132915c4d389fae7bb0b6e4c9a9c08b107b92a249f214cd35", "source_metadata": {"uuid": "4aca5abd-eec1-432f-97aa-12d893c1243d", "repo_name": "Shuang777/kaldi", "relative_path": "egs/babel/s5b/mysteps/train_multi_subnnet.sh", "category": "TOOL", "algo_rel_score": 0.7737712860107422, "quality_score": 4.191077709197998, "source_meta": {"github_metadata": {"branch": "origin", "commit_count": 3134, "repo_created_at": "2015-03-24T18:45:35.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 1, "forks": 0, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "7f37ea0f0fcefef4ee67ef149ff876c8e621882e", "size_bytes": 14933, "file_timestamp": 1462246966, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "3df67141b55cfd5e2ba7305a72e795e7706d8d30"}}, "parsed_source_meta": {"github_metadata": {"branch": "origin", "commit_count": 3134, "repo_created_at": "2015-03-24T18:45:35.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 1, "forks": 0, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "7f37ea0f0fcefef4ee67ef149ff876c8e621882e", "size_bytes": 14933, "file_timestamp": 1462246966, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "3df67141b55cfd5e2ba7305a72e795e7706d8d30", "url": "https://github.com/Shuang777/kaldi/blob/3df67141b55cfd5e2ba7305a72e795e7706d8d30/egs/babel/s5b/mysteps/train_multi_subnnet.sh"}, "gpt4o_tokens": 4616, "dataset_split": "shell", "probability_weighted_scores": {"content_quality": 0.6455791217612649, "noise_severity": 0.10566840074020348, "missing_content_severity": 0.1859851498323104, "factual_density": 3.2390618310460577, "pretraining_utility": 0.3621230686224882, "math_density": 0.7192106437113521, "code_density": 3.8195321733412424, "reasoning_density": 0.4937791420242371, "education_level": 3.4257661558624157, "creative_writing_quality": -0.22998887221588932}, "score_applicability": {"education_level": 0.9990239472941731, "creative_writing_quality": 0.0005137509798339991}} {"source_group": "shell", "source": "openbmb/UltraData-Stack-v3-L2/shell", "domain": "github.com", "language": "shell", "url": "https://github.com/timborn/amps/blob/eb7ec433228f6a08be161c78bbcac222122c923a/amps-1/AMPS-5.2.0.70-Release-Linux/bin/install-amps-daemon.sh", "id": "shell-0-26036d864f86d4b195d3691c1db3f5c6", "text": "#!/bin/sh\n############################################################################\n##\n## Copyright (c) 2012-2017 60East Technologies Inc., All Rights Reserved.\n##\n## This computer software is owned by 60East Technologies Inc. and is\n## protected by U.S. copyright laws and other laws and by international\n## treaties. This computer software is furnished by 60East Technologies \n## Inc. pursuant to a written license agreement and may be used, copied,\n## transmitted, and stored only in accordance with the terms of such\n## license agreement and with the inclusion of the above copyright notice.\n## This computer software or any other copies thereof may not be provided\n## or otherwise made available to any other person.\n##\n## U.S. Government Restricted Rights. This computer software: (a) was\n## developed at private expense and is in all respects the proprietary\n## information of 60East Technologies Inc; (b) was not developed with\n## government funds; (c) is a trade secret of 60East Technologies Inc.\n## for all purposes of the Freedom of Information Act; and (d) is a\n## commercial item and thus, pursuant to Section 12.212 of the Federal\n## Acquisition Regulations (FAR) and DFAR Supplement Section 227.7202,\n## Government's use, duplication or disclosure of the computer software\n## is subject to the restrictions set forth by 60East Technologies Inc.\n##\n############################################################################\n\n# Purpose: This script installs the 60East Technologies AMPS daemon.\n\nINSTALLPATH=/opt/amps\nRUNPATH=/var/run/amps\nCONFIGPATH=/opt/etc/amps\n\n\necho \"Testing system install style\"\n\n## Capability check for installing things as daemons\n##\n## Rather than trying to figure out all of the permutations on which systems\n## have particular ways of starting things, test for the ways this script\n## knows how to set things up.\n##\n\nSTYLE=\"Unknown\"\n\n# Ensure we have sbin\nPATH=/sbin:$PATH\n\nexec 3>&2\nexec 2>/dev/null\n\n# Prefer systemd when available.\n\nif [ -d /usr/lib/systemd ] && [ ! -z `which systemctl` ] && [ \"$STYLE\" = 'Unknown' ]; then\n STYLE=\"systemd\"\n echo \"Using systemd service definitions.\"\n # Now find a good installpath\n if [ -d /usr/lib/systemd/system ]; then\n SYSTEMD_PATH=/usr/lib/systemd/system\n else\n SYSTEMD_PATH=/usr/lib/systemd/\n fi\nfi\n\nif [ ! -z `which update-rc.d` ] && [ \"$STYLE\" = 'Unknown' ]; then\n STYLE=\"update-rc\"\n echo \"Using Debian-style daemon installation.\"\nfi\n\n# Prefer systemd over chkconfig where available.\n\nif [ ! -z `which chkconfig` ] && [ -e /etc/init.d/functions ] && [ \"$STYLE\" = 'Unknown' ]; then\n STYLE=\"chkconfig\" \n echo \"Using RedHat-style chkconfig and SYSV-style scripts.\"\nfi\nexec 2>&3\n\n## Those are the styles we know how to detect. Provide output.\n\nif [ \"$STYLE\" = \"Unknown\" ]; then\n echo \"$0 does not have an installation target for this system. Please provide details of your system and version to 60East support.\"\n exit 1;\nfi\n\n\nmkdir -p $INSTALLPATH\nmkdir -p $RUNPATH\nmkdir -p $CONFIGPATH\n\n# Copy the bin and lib directories to the run directory.\ncp -r ../bin $INSTALLPATH/.\ncp -r ../lib $INSTALLPATH/.\n\n\necho \"Installed AMPS binaries to $INSTALLPATH\"\n\n\ncase $STYLE in\n update*)\n echo \"Copying init script to /etc/init.d/amps\"\n cp -f amps-init-script-debian /etc/init.d/amps\n ERROR=$?\n if [ ! -x /etc/init.d/amps ]; then\n echo \"Installation failed: $ERROR.\"\n exit $ERROR\n fi\n echo \"AMPS initialization script installed to /etc/init.d/amps\"\n update-rc.d amps defaults || echo \"Couldn't update!\"\n echo \"Loaded AMPS service definition\"\n ;;\n systemd)\n cp -f amps.service ${SYSTEMD_PATH}/amps.service\n ERROR=$?\n if [ ! -e ${SYSTEMD_PATH}/amps.service ]; then\n echo \"Installation failed: $ERROR\"\n exit $ERROR\n fi\n echo \"AMPS service definition installed to /usr/lib/systemd/system/amps.service\"\n systemctl daemon-reload\n echo \"Loaded AMPS service definition\"\n ;;\n chkconfig)\n echo \"Setting up SYSV style service\"\n cp -f amps-init-script-rhat /etc/init.d/amps\n ERROR=$?\n if [ ! -x /etc/init.d/amps ]; then\n echo \"Installation failed: $ERROR.\"\n exit $ERROR\n fi\n echo \"AMPS initialization script installed to /etc/init.d/amps\"\n chkconfig --add amps || echo \"Couldn't add AMPS as a service\"\n chkconfig --level 345 amps on || echo \"Couldn't turn AMPS service on\"\n echo \"Configured AMPS service\"\n ;;\nesac\n\necho \"Daemon is installed. You must provide a config file at /opt/etc/amps/config.xml\"\n", "text_preview": "#!/bin/sh ############################################################################ ## ## Copyright (c) 2012-2017 60East Technologies Inc., All Rights Reserved. ## ## This computer software is owned by 60East Technologies Inc. and is ## ", "input_sha256": "fd4e1eb82682be78a5cf51d4e30c09facfe3eea4d5426bcc39795c67d725a7e9", "text_sha256": "26036d864f86d4b195d3691c1db3f5c661044ec61b54936072ea2174732c1c78", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 20049, "input_policy": "text-and-optional-url-v1", "label_policy_version": 12, "requested_model": "decision-models/baseten-mammoth-27b-latest", "backend": "baseten", "endpoint": "https://inference.baseten.co/v1/systemone", "status": "ok", "training_eligible": true, "label": {"primary": {"main_format": "Technical Writing", "sub_format": null}, "secondary": {"main_format": "Legal Notices", "sub_format": null}, "tertiary": null, "content_structure": []}, "candidate_label": null, "topic": {"primary": {"main_topic": "Programming & Software Engineering", "sub_topic": null}, "secondary": null}, "scores": {"content_quality": 1, "noise_severity": 1, "missing_content_severity": 0, "factual_density": 3, "pretraining_utility": 0, "math_density": 0, "code_density": 4, "reasoning_density": 0, "education_level": 2, "creative_writing_quality": null}, "score_expectations": {"content_quality": 0.875875832613831, "noise_severity": 0.8520321596211378, "missing_content_severity": 0.013641284246109114, "factual_density": 2.8257536876267197, "pretraining_utility": 0.2625835332604618, "math_density": 0.0022305170121076833, "code_density": 3.559273602653975, "reasoning_density": 1.3717607688749633, "education_level": 2.2902374382146817, "creative_writing_quality": -0.13700332961657533}, "api_choices": {"primary": "Technical Writing", "secondary": "Legal Notices", "tertiary": "NONE", "education_level": "2", "creative_writing_quality": "not_applicable", "primary_topic": "Programming & Software Engineering", "secondary_topic": "NONE"}, "review_reasons": [], "format_slot_diagnostics": {"comparable": true, "secondary_tertiary_identical": false, "secondary_tertiary_max_abs_gap": 0.6566745414812097, "secondary_choice": "Legal Notices", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.9540436817426814, "secondary": 0.8539291875073642, "tertiary": 0.7137208163159454, "structured_records": 0.002264554806289413, "procedural_steps": 0.3755498996652723, "worked_solution": 0.007229915670672129, "contextual_dialogue": 5.4851661942183545e-06, "content_quality": 0.5513602267819915, "noise_severity": 0.5987261331842844, "missing_content_severity": 0.9886322631282424, "factual_density": 0.4639530709688451, "pretraining_utility": 0.5044870615151298, "math_density": 0.9981412358232435, "code_density": 0.6327280022116457, "reasoning_density": 0.0, "education_level": 0.5771048583677898, "creative_writing_quality": 0.9990681930054887, "primary_topic": 0.875197453788521, "secondary_topic": 0.6385816595653566}, "probability_margin": {"primary": 0.9367469571257475, "secondary": 0.7910408972063194, "tertiary": 0.5023749471510922, "education_level": 0.36363160724333277, "creative_writing_quality": 0.9987794306855344, "primary_topic": 0.7699298071743659, "secondary_topic": 0.512395548883416}, "raw_probabilities": {"primary": {"Academic Writing": 0.00012064042171781465, "Content Listing": 0.00010471250628181271, "Creative Writing": 0.00011044435148339847, "Customer Support Page": 0.0005100295194140517, "Q&A Forum": 6.859493516655035e-05, "Discussion Thread": 5.335404724124318e-05, "Comment Section": 8.891073568849468e-05, "Missing Content": 0.0001207471217749607, "Knowledge Article": 0.00027782579432732293, "Legal Notices": 0.019211571210988813, "News Article": 4.2454818266179705e-05, "Organizational Announcement": 0.000129041158149558, "Nonfiction Writing": 7.31409982550834e-05, "Organizational About Page": 9.970415279431848e-05, "Personal About Page": 5.2184772478379874e-05, "Personal Blog": 4.329247417746253e-05, "Product Page": 5.486406820963916e-05, "Spam / Ads": 5.748002654905233e-05, "Structured Data": 0.00019865882942746632, "Technical Writing": 0.9559585283367363, "Transcript / Interview": 0.00010071178976698654, "Tutorial / How-To Guide": 0.01754258611531256, "User Reviews": 4.0772427252415354e-05, "Other / Unknown": 0.004939749388540114}, "secondary": {"Academic Writing": 0.00036505591907837523, "Content Listing": 0.0002956544122631676, "Creative Writing": 0.0003505280417348984, "Customer Support Page": 0.0018536435123086962, "Q&A Forum": 0.00020319322846347538, "Discussion Thread": 0.0001788173747543878, "Comment Section": 0.00032203323997778585, "Missing Content": 0.00037140247048836133, "Knowledge Article": 0.0006922521552779529, "Legal Notices": 0.860015471361224, "News Article": 0.00029288105169081226, "Organizational Announcement": 0.0004059932742962479, "Nonfiction Writing": 0.00025094903299960423, "Organizational About Page": 0.00035877230888943463, "Personal About Page": 0.00018787418581425012, "Personal Blog": 0.00018310173082186594, "Product Page": 0.00022692240600667165, "Spam / Ads": 0.00025799587881501367, "Structured Data": 0.0003011098324614903, "Technical Writing": 0.053229421701064546, "Transcript / Interview": 0.000367271242211772, "Tutorial / How-To Guide": 0.010174332105033235, "User Reviews": 0.00014074937941957499, "NONE": 0.06897457415490459}, "tertiary": {"Academic Writing": 0.0004700477359110649, "Content Listing": 0.00029317264102064945, "Creative Writing": 0.0004906675278218371, "Customer Support Page": 0.010039612497513332, "Q&A Forum": 0.0002717124326796468, "Discussion Thread": 0.00018492476844779164, "Comment Section": 0.0004214374837137478, "Missing Content": 0.0005426022489861249, "Knowledge Article": 0.0011025741725183716, "Legal Notices": 0.2232741684850221, "News Article": 0.00036716037875383505, "Organizational Announcement": 0.00045042417711062065, "Nonfiction Writing": 0.00035043961057448916, "Organizational About Page": 0.0004886352861300445, "Personal About Page": 0.0002507356308281991, "Personal Blog": 0.0002403673827425011, "Product Page": 0.00024268814371273653, "Spam / Ads": 0.0003714934861936402, "Structured Data": 0.0004019921741329522, "Technical Writing": 0.019410266526604776, "Transcript / Interview": 0.00046035630375471976, "Tutorial / How-To Guide": 0.014048104304716178, "User Reviews": 0.00017730096499633062, "NONE": 0.7256491156361143}, "structured_records": {"false": 0.9977354451937106, "true": 0.002264554806289413}, "procedural_steps": {"false": 0.6244501003347277, "true": 0.3755498996652723}, "worked_solution": {"false": 0.9927700843293279, "true": 0.007229915670672129}, "contextual_dialogue": {"false": 0.9999945148338057, "true": 5.4851661942183545e-06}, "content_quality": {"-2": 0.007532081107711425, "-1": 0.029069932358777757, "0": 0.25050983958319994, "1": 0.5057663667125902, "2": 0.20712178023772057}, "noise_severity": {"0": 0.31474824027886045, "1": 0.5345170819734425, "2": 0.13930765184420799, "3": 0.006808329654677311, "4": 0.004618696248811892}, "missing_content_severity": {"0": 0.9910830379822618, "1": 0.0052625228077528225, "2": 0.002788331563734907, "3": 0.0006623322741147515, "4": 0.00020377537213555507}, "factual_density": {"0": 0.0063123898001976545, "1": 0.04744104738469924, "2": 0.29493204943534157, "3": 0.41680951214770867, "4": 0.23450500123205284}, "pretraining_utility": {"-2": 0.010237234775039667, "-1": 0.14554152691061184, "0": 0.45471169107824827, "1": 0.3504195647510475, "2": 0.03908998248505273}, "math_density": {"0": 0.998330223142993, "1": 0.0013922846270320213, "2": 0.00010852780673744089, "3": 5.468092134906017e-05, "4": 0.00011428350188839994}, "code_density": {"0": 0.0006660142961969576, "1": 0.0013012236839041996, "2": 0.0374009967694435, "3": 0.3593566755706376, "4": 0.6012750896798177}, "reasoning_density": {"0": 0.31149383496261923, "1": 0.22783139096098898, "2": 0.2903774090791133, "3": 0.11801490023336642, "4": 0.052282464763912156}, "education_level": {"none": 0.0013615877168202772, "0": 0.0029360775917297256, "1": 0.03885324034648384, "2": 0.6475873819731581, "3": 0.28395577472982536, "4": 0.025305937641982742}, "creative_writing_quality": {"not_applicable": 0.9992234941712406, "-2": 7.303798371034717e-05, "-1": 0.00012798032025607644, "0": 0.00044406348570612237, "1": 9.517567450409877e-05, "2": 3.6248364582963695e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 0.00019464180292858252, "Art & Design": 0.00026991439027912635, "Law & Crime": 0.0043189824291843815, "Education & Careers": 0.0001789297876009414, "Entertainment & Media": 0.00020478220089421463, "Fashion & Beauty": 0.00018329967737132756, "Business, Economics & Finance": 0.00048797008041068414, "Food & Dining": 0.00013563161656901678, "Games & Gaming": 0.00029311715973776974, "Electronics & Hardware": 0.00045182436426385793, "Health, Healthcare & Wellness": 0.0001424551441495981, "History & Geography": 0.00022750637609454788, "Home, Pets & Hobbies": 0.0001886952287925015, "Industry & Production": 0.0003136702879801418, "Language, Literature & Philosophy": 0.00016677589083360846, "Politics & Government": 0.00045139367637276527, "Religion & Spirituality": 0.00016062460125086355, "Science, Mathematics & Engineering": 0.0002971235202894689, "Relationships & Community": 9.396119214953408e-05, "Software Usage & Applications": 0.11006774454536587, "Programming & Software Engineering": 0.8799975517197317, "Sports & Fitness": 0.0002383581358345265, "Vehicles & Transportation": 0.00011257437313654218, "Travel & Tourism": 0.0001747633821248889, "Other / Uncovered Subject": 0.00043374041290187237, "Unknown / Insufficient Content": 0.00021396800375171404}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0009610755636566039, "Art & Design": 0.0007170111839053138, "Law & Crime": 0.11430336510713632, "Education & Careers": 0.0005213985006792949, "Entertainment & Media": 0.0007306768739425949, "Fashion & Beauty": 0.0004700666750399683, "Business, Economics & Finance": 0.0030085471613413833, "Food & Dining": 0.0003756169485961407, "Games & Gaming": 0.000576518861837955, "Electronics & Hardware": 0.0016927444516012888, "Health, Healthcare & Wellness": 0.0005304843388716015, "History & Geography": 0.0005429926871115318, "Home, Pets & Hobbies": 0.000494645235295936, "Industry & Production": 0.0005894357516028939, "Language, Literature & Philosophy": 0.00036917285388333087, "Politics & Government": 0.009844933523017301, "Religion & Spirituality": 0.0006414314237619565, "Science, Mathematics & Engineering": 0.0008706071701375563, "Relationships & Community": 0.00025567064573083745, "Software Usage & Applications": 0.14008681608327309, "Programming & Software Engineering": 0.06736744292384697, "Sports & Fitness": 0.0004626752633554584, "Vehicles & Transportation": 0.0002674325176846417, "Travel & Tourism": 0.0006732601230362114, "Other / Uncovered Subject": 0.0011636131649647096, "NONE": 0.6524823649666891}}, "probabilities": {"primary": {"Academic Writing": 0.00012064042171781465, "Content Listing": 0.00010471250628181271, "Creative Writing": 0.00011044435148339847, "Customer Support Page": 0.0005100295194140517, "Q&A Forum": 6.859493516655035e-05, "Discussion Thread": 5.335404724124318e-05, "Comment Section": 8.891073568849468e-05, "Missing Content": 0.0001207471217749607, "Knowledge Article": 0.00027782579432732293, "Legal Notices": 0.019211571210988813, "News Article": 4.2454818266179705e-05, "Organizational Announcement": 0.000129041158149558, "Nonfiction Writing": 7.31409982550834e-05, "Organizational About Page": 9.970415279431848e-05, "Personal About Page": 5.2184772478379874e-05, "Personal Blog": 4.329247417746253e-05, "Product Page": 5.486406820963916e-05, "Spam / Ads": 5.748002654905233e-05, "Structured Data": 0.00019865882942746632, "Technical Writing": 0.9559585283367363, "Transcript / Interview": 0.00010071178976698654, "Tutorial / How-To Guide": 0.01754258611531256, "User Reviews": 4.0772427252415354e-05, "Other / Unknown": 0.004939749388540114}, "secondary": {"Academic Writing": 0.0003650559190783752, "Content Listing": 0.00029565441226316757, "Creative Writing": 0.0003505280417348983, "Customer Support Page": 0.0018536435123086958, "Q&A Forum": 0.00020319322846347533, "Discussion Thread": 0.00017881737475438777, "Comment Section": 0.0003220332399777858, "Missing Content": 0.0003714024704883612, "Knowledge Article": 0.0006922521552779528, "Legal Notices": 0.8600154713612238, "News Article": 0.0002928810516908122, "Organizational Announcement": 0.00040599327429624777, "Nonfiction Writing": 0.0002509490329996042, "Organizational About Page": 0.0003587723088894346, "Personal About Page": 0.00018787418581425007, "Personal Blog": 0.0001831017308218659, "Product Page": 0.0002269224060066716, "Spam / Ads": 0.0002579958788150136, "Structured Data": 0.00030110983246149024, "Technical Writing": 0.05322942170106453, "Transcript / Interview": 0.00036727124221177187, "Tutorial / How-To Guide": 0.010174332105033233, "User Reviews": 0.00014074937941957496, "NONE": 0.06897457415490457}, "tertiary": {"Academic Writing": 0.0004700477359110649, "Content Listing": 0.00029317264102064945, "Creative Writing": 0.0004906675278218371, "Customer Support Page": 0.010039612497513332, "Q&A Forum": 0.0002717124326796468, "Discussion Thread": 0.00018492476844779164, "Comment Section": 0.0004214374837137478, "Missing Content": 0.0005426022489861249, "Knowledge Article": 0.0011025741725183716, "Legal Notices": 0.2232741684850221, "News Article": 0.00036716037875383505, "Organizational Announcement": 0.00045042417711062065, "Nonfiction Writing": 0.00035043961057448916, "Organizational About Page": 0.0004886352861300445, "Personal About Page": 0.0002507356308281991, "Personal Blog": 0.0002403673827425011, "Product Page": 0.00024268814371273653, "Spam / Ads": 0.0003714934861936402, "Structured Data": 0.0004019921741329522, "Technical Writing": 0.019410266526604776, "Transcript / Interview": 0.00046035630375471976, "Tutorial / How-To Guide": 0.014048104304716178, "User Reviews": 0.00017730096499633062, "NONE": 0.7256491156361143}, "structured_records": {"false": 0.9977354451937106, "true": 0.002264554806289413}, "procedural_steps": {"false": 0.6244501003347277, "true": 0.3755498996652723}, "worked_solution": {"false": 0.9927700843293279, "true": 0.007229915670672129}, "contextual_dialogue": {"false": 0.9999945148338057, "true": 5.4851661942183545e-06}, "content_quality": {"-2": 0.007532081107711426, "-1": 0.02906993235877776, "0": 0.2505098395832, "1": 0.5057663667125903, "2": 0.2071217802377206}, "noise_severity": {"0": 0.3147482402788604, "1": 0.5345170819734424, "2": 0.13930765184420796, "3": 0.006808329654677309, "4": 0.0046186962488118915}, "missing_content_severity": {"0": 0.9910830379822619, "1": 0.005262522807752823, "2": 0.0027883315637349075, "3": 0.0006623322741147516, "4": 0.0002037753721355551}, "factual_density": {"0": 0.0063123898001976545, "1": 0.04744104738469924, "2": 0.29493204943534157, "3": 0.41680951214770867, "4": 0.23450500123205284}, "pretraining_utility": {"-2": 0.010237234775039667, "-1": 0.14554152691061184, "0": 0.45471169107824827, "1": 0.3504195647510475, "2": 0.03908998248505273}, "math_density": {"0": 0.998330223142993, "1": 0.0013922846270320213, "2": 0.00010852780673744089, "3": 5.468092134906017e-05, "4": 0.00011428350188839994}, "code_density": {"0": 0.0006660142961969576, "1": 0.0013012236839041996, "2": 0.0374009967694435, "3": 0.3593566755706376, "4": 0.6012750896798177}, "reasoning_density": {"0": 0.31149383496261923, "1": 0.22783139096098898, "2": 0.2903774090791133, "3": 0.11801490023336642, "4": 0.052282464763912156}, "education_level": {"none": 0.0013615877168202772, "0": 0.0029360775917297256, "1": 0.03885324034648384, "2": 0.6475873819731581, "3": 0.28395577472982536, "4": 0.025305937641982742}, "creative_writing_quality": {"not_applicable": 0.9992234941712403, "-2": 7.303798371034716e-05, "-1": 0.0001279803202560764, "0": 0.00044406348570612226, "1": 9.517567450409874e-05, "2": 3.624836458296369e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 0.00019464180292858252, "Art & Design": 0.00026991439027912635, "Law & Crime": 0.0043189824291843815, "Education & Careers": 0.0001789297876009414, "Entertainment & Media": 0.00020478220089421463, "Fashion & Beauty": 0.00018329967737132756, "Business, Economics & Finance": 0.00048797008041068414, "Food & Dining": 0.00013563161656901678, "Games & Gaming": 0.00029311715973776974, "Electronics & Hardware": 0.00045182436426385793, "Health, Healthcare & Wellness": 0.0001424551441495981, "History & Geography": 0.00022750637609454788, "Home, Pets & Hobbies": 0.0001886952287925015, "Industry & Production": 0.0003136702879801418, "Language, Literature & Philosophy": 0.00016677589083360846, "Politics & Government": 0.00045139367637276527, "Religion & Spirituality": 0.00016062460125086355, "Science, Mathematics & Engineering": 0.0002971235202894689, "Relationships & Community": 9.396119214953408e-05, "Software Usage & Applications": 0.11006774454536587, "Programming & Software Engineering": 0.8799975517197317, "Sports & Fitness": 0.0002383581358345265, "Vehicles & Transportation": 0.00011257437313654218, "Travel & Tourism": 0.0001747633821248889, "Other / Uncovered Subject": 0.00043374041290187237, "Unknown / Insufficient Content": 0.00021396800375171404}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0009610755636566039, "Art & Design": 0.0007170111839053138, "Law & Crime": 0.11430336510713632, "Education & Careers": 0.0005213985006792949, "Entertainment & Media": 0.0007306768739425949, "Fashion & Beauty": 0.0004700666750399683, "Business, Economics & Finance": 0.0030085471613413833, "Food & Dining": 0.0003756169485961407, "Games & Gaming": 0.000576518861837955, "Electronics & Hardware": 0.0016927444516012888, "Health, Healthcare & Wellness": 0.0005304843388716015, "History & Geography": 0.0005429926871115318, "Home, Pets & Hobbies": 0.000494645235295936, "Industry & Production": 0.0005894357516028939, "Language, Literature & Philosophy": 0.00036917285388333087, "Politics & Government": 0.009844933523017301, "Religion & Spirituality": 0.0006414314237619565, "Science, Mathematics & Engineering": 0.0008706071701375563, "Relationships & Community": 0.00025567064573083745, "Software Usage & Applications": 0.14008681608327309, "Programming & Software Engineering": 0.06736744292384697, "Sports & Fitness": 0.0004626752633554584, "Vehicles & Transportation": 0.0002674325176846417, "Travel & Tourism": 0.0006732601230362114, "Other / Uncovered Subject": 0.0011636131649647096, "NONE": 0.6524823649666891}}, "probability_diagnostics": {"primary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "tertiary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "structured_records": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "procedural_steps": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "worked_solution": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "contextual_dialogue": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "content_quality": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "noise_severity": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "missing_content_severity": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "factual_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "pretraining_utility": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "math_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "code_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "reasoning_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "education_level": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "creative_writing_quality": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "primary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}}, "usage": {"input_tokens": 9715, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 9715, "cached_share": null, "cache_discount_reported": null, "reported_cost_usd": null}, "response_metadata": {"model": "decision-models/baseten-mammoth-27b-latest"}, "scored_at_utc": "2026-10-25T18:32:09.126021+00:00", "scoring_key_slot": "primary", "dataset_uid": "9370f7e9-3caa-406e-9e3d-42172e8e4394", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "30acf514d2473e86c2389693b54a270c3f3fab307804433164283e1188bc9dc9", "source_metadata": {"uuid": "9370f7e9-3caa-406e-9e3d-42172e8e4394", "repo_name": "timborn/amps", "relative_path": "amps-1/AMPS-5.2.0.70-Release-Linux/bin/install-amps-daemon.sh", "category": "TOOL", "algo_rel_score": 0.8591336011886597, "quality_score": 3.414827823638916, "source_meta": {"github_metadata": {"branch": "master", "commit_count": 16, "repo_created_at": "2017-11-04T20:51:21.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 0, "forks": 0, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "d9428fe5a5c555f842675cb3681a38ff973b63ad", "size_bytes": 4633, "file_timestamp": 1518131296, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "eb7ec433228f6a08be161c78bbcac222122c923a"}}, "parsed_source_meta": {"github_metadata": {"branch": "master", "commit_count": 16, "repo_created_at": "2017-11-04T20:51:21.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 0, "forks": 0, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "d9428fe5a5c555f842675cb3681a38ff973b63ad", "size_bytes": 4633, "file_timestamp": 1518131296, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "eb7ec433228f6a08be161c78bbcac222122c923a", "url": "https://github.com/timborn/amps/blob/eb7ec433228f6a08be161c78bbcac222122c923a/amps-1/AMPS-5.2.0.70-Release-Linux/bin/install-amps-daemon.sh"}, "gpt4o_tokens": 1126, "dataset_split": "shell", "probability_weighted_scores": {"content_quality": 0.8758758326138307, "noise_severity": 0.8520321596211379, "missing_content_severity": 0.013641284246109114, "factual_density": 2.8257536876267197, "pretraining_utility": 0.2625835332604618, "math_density": 0.0022305170121076833, "code_density": 3.559273602653975, "reasoning_density": 1.3717607688749633, "education_level": 2.2902374382146817, "creative_writing_quality": -0.13700332961657533}, "score_applicability": {"education_level": 0.9986384122831798, "creative_writing_quality": 0.0007765058287596083}} {"source_group": "shell", "source": "openbmb/UltraData-Stack-v3-L2/shell", "domain": "github.com", "language": "shell", "url": "https://github.com/aws-samples/aws-iot-greengrass-accelerators/blob/500072891d32700aec8f880aa3048a11da25bd47/scripts/v2_test_build.sh", "id": "shell-0-0dee47ce9eaaaa695774e70e54f7a17f", "text": "#!/bin/bash\n\n\n# Functions used by script\nwait_str() {\n local file=\"$1\"; shift\n local search_term=\"$1\"; shift\n local wait_time=\"${1:-5m}\"; shift # 5 minutes as default timeout\n\n (timeout $wait_time tail -F -n +1 \"$file\" &) | grep -q \"$search_term\" && return 0\n\n echo \"Timeout of $wait_time reached. Unable to find '$search_term' in '$file'\"\n return 1\n}\n\nwait_logfile() {\n echo \"Waiting for logfile...\"\n local server_log=\"$1\"; shift\n local wait_time=\"$1\"; shift\n\n wait_file \"$server_log\" \"$wait_time\" || { echo \"Logfile file missing: '$server_log'\"; return 1; }\n}\n\nwait_file() {\n local file=\"$1\"; shift\n local wait_seconds=\"${1:-10}\"; shift # 10 seconds as default timeout\n\n until test $((wait_seconds--)) -eq 0 -o -f \"$file\" ; do sleep 1; done\n\n ((++wait_seconds))\n}\n\n# timeout script if running on macOS\n# Originally found on SO: http://stackoverflow.com/questions/601543/command-line-command-to-auto-kill-a-command-after-a-certain-amount-of-time\nif [[ \"$OSTYPE\" == \"darwin\"* ]]; then\n function timeout() { perl -e 'alarm shift; exec @ARGV' \"$@\"; }\nfi\n\nset -xe\n\n# verify running from (working directory) script dir\nSCRIPT_DIR=$( cd -- \"$( dirname -- \"${BASH_SOURCE[0]}\" )\" &> /dev/null && pwd )\nif [[ $SCRIPT_DIR != $PWD ]]; then\n echo \"test/build scrip must be from scripts directory, e.g., ~/.v2_test_build.sh\"\n exit 1\nfi\n\n# check for AWS credential environment variables, region\n# The credentials and region should match the profile normally used to deploy\nif [[ -z \"${AWS_ACCESS_KEY_ID}\" ]] || [[ -z \"${AWS_SECRET_ACCESS_KEY}\" ]] || [[ -z \"${AWS_DEFAULT_REGION}\" ]]; then\n echo \"Enviroment variables AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, and AWS_DEFAULT_REGION must be passed to this script.\"\n exit 1\nelse\n AWS_ACCESS_KEY_ID=\"${AWS_ACCESS_KEY_ID}\"\n AWS_SECRET_ACCESS_KEY=\"${AWS_SECRET_ACCESS_KEY}\"\n AWS_DEFAULT_REGION=\"${AWS_DEFAULT_REGION}\"\nfi\n\n# Build and deploy `base` CDK stack\n# Change to base CDK directory, install packages and build for base and common CDK constructs\ncd $SCRIPT_DIR/../v2/base/cdk\nnpm install\nnpm run build\ncdk deploy --require-approval \"never\" --ci\n\n# Builder docker container and start Greengrass (compose-up)\ncd $SCRIPT_DIR/../v2/base/docker\npython3 config_docker.py --clean\npython3 config_docker.py --use-envars\ndocker-compose up -d\n\n# Wait until greengrass.log stablizes (fully deployed and helloworld has exited)\n# Then verify `base` component (helloworld output)\nwait_logfile $SCRIPT_DIR/../v2/base/docker/volumes/gg_root/logs/ggAccel.example.HelloWorld.log \"600\"\nwait_str $SCRIPT_DIR/../v2/base/docker/volumes/gg_root/logs/ggAccel.example.HelloWorld.log \"exitCode=0, serviceName=ggAccel.example.HelloWorld\" \"180\"\n\n# Build and deploy os_cmd\ncd $SCRIPT_DIR/../v2/os_cmd/cdk\nnpm install\nnpm run build\ncdk deploy --context baseStack=\"gg-accel-base\" --require-approval \"never\" --ci\n# wait until os_cmd log file has valid output\nLOG_FILE=\"ggAccel.os_command.log\"\nwait_logfile $SCRIPT_DIR/../v2/base/docker/volumes/gg_root/logs/$LOG_FILE \"600\"\nwait_str $SCRIPT_DIR/../v2/base/docker/volumes/gg_root/logs/$LOG_FILE \"/greengrass/v2/ipc.socket:0> connected.\" \"180\"\n\n# cdk destory os_cmd\ncd $SCRIPT_DIR/../v2/os_cmd/cdk\ncdk destroy --context baseStack=\"gg-accel-base\" --force --ci\n\n# Build and deploy etl_simple\ncd $SCRIPT_DIR/../v2/etl_simple/cdk\nnpm install\nnpm run build\ncdk deploy --context baseStack=\"gg-accel-base\" --require-approval \"never\" --ci\n\n# wait until etl_simple log file has valid output\nLOG_FILE=\"ggAccel.etl_simple.load.log\"\nwait_logfile $SCRIPT_DIR/../v2/base/docker/volumes/gg_root/logs/$LOG_FILE \"600\"\nwait_str $SCRIPT_DIR/../v2/base/docker/volumes/gg_root/logs/$LOG_FILE \"serviceName=ggAccel.etl_simple.load, currentState=RUNNING\" \"180\"\n# cdk destory etl_simple\ncd $SCRIPT_DIR/../v2/etl_simple/cdk\ncdk destroy --context baseStack=\"gg-accel-base\" --force --ci\n\n# docker-compose stop base\ncd $SCRIPT_DIR/../v2/base/docker\ndocker-compose down\npython3 config_docker.py --clean\n\n\n# destroy base\ncd $SCRIPT_DIR\ncd ../v2/base/cdk\ncdk destroy --force --ci\n", "text_preview": "#!/bin/bash # Functions used by script wait_str() { local file=\"$1\"; shift local search_term=\"$1\"; shift local wait_time=\"${1:-5m}\"; shift # 5 minutes as default timeout (timeout $wait_time tail -F -n +1 \"$file\" &) | grep -q \"$search_term\" ", "input_sha256": "bc7d54d9e28db53139538475df149271c48f3ebf67895649ed9e0e87f7743dc4", "text_sha256": "0dee47ce9eaaaa695774e70e54f7a17f5f62d502266fa67489e39c4fd7853646", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 20047, "input_policy": "text-and-optional-url-v1", "label_policy_version": 12, "requested_model": "decision-models/baseten-mammoth-27b-latest", "backend": "baseten", "endpoint": "https://inference.baseten.co/v1/systemone", "status": "ok", "training_eligible": true, "label": {"primary": {"main_format": "Technical Writing", "sub_format": null}, "secondary": null, "tertiary": null, "content_structure": []}, "candidate_label": null, "topic": {"primary": {"main_topic": "Programming & Software Engineering", "sub_topic": null}, "secondary": null}, "scores": {"content_quality": 1, "noise_severity": 0, "missing_content_severity": 0, "factual_density": 3, "pretraining_utility": 0, "math_density": 0, "code_density": 4, "reasoning_density": 0, "education_level": 3, "creative_writing_quality": null}, "score_expectations": {"content_quality": 0.6076516538217182, "noise_severity": 0.047988863276233966, "missing_content_severity": 0.0035290363569310873, "factual_density": 3.1465294189450903, "pretraining_utility": 0.3976386276734258, "math_density": 0.09728772032312219, "code_density": 3.844698788007802, "reasoning_density": 0.37439695734760603, "education_level": 2.666285029444902, "creative_writing_quality": -0.23098093136700784}, "api_choices": {"primary": "Technical Writing", "secondary": "NONE", "tertiary": "NONE", "education_level": "3", "creative_writing_quality": "not_applicable", "primary_topic": "Programming & Software Engineering", "secondary_topic": "NONE"}, "review_reasons": [], "format_slot_diagnostics": {"comparable": true, "secondary_tertiary_identical": false, "secondary_tertiary_max_abs_gap": 0.08148803726975073, "secondary_choice": "NONE", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.9540347377507039, "secondary": 0.8624579374284627, "tertiary": 0.9474889328403764, "structured_records": 0.0009874240108699696, "procedural_steps": 0.4074277974713175, "worked_solution": 0.0026676952199492752, "contextual_dialogue": 7.5539044057942564e-06, "content_quality": 0.42974746669734554, "noise_severity": 0.9600092806031384, "missing_content_severity": 0.997059136369224, "factual_density": 0.4648596695963101, "pretraining_utility": 0.4607523779032091, "math_density": 0.9189268997307315, "code_density": 0.870582323339835, "reasoning_density": 0.6880025355436616, "education_level": 0.37968046066260497, "creative_writing_quality": 0.9992608976512696, "primary_topic": 0.990337231095025, "secondary_topic": 0.8361209223562894}, "probability_margin": {"primary": 0.918320507665935, "secondary": 0.792968811669222, "tertiary": 0.9193353077776938, "education_level": 0.07037135319144389, "creative_writing_quality": 0.9990983650343761, "primary_topic": 0.9841656596544479, "secondary_topic": 0.7462726782454403}, "raw_probabilities": {"primary": {"Academic Writing": 0.0001280266463767435, "Content Listing": 0.00010862708840167483, "Creative Writing": 9.067779750032791e-05, "Customer Support Page": 0.00020416967099758345, "Q&A Forum": 7.329738320548424e-05, "Discussion Thread": 4.936092866000704e-05, "Comment Section": 8.450540532498017e-05, "Missing Content": 9.813251230641057e-05, "Knowledge Article": 0.0003722621615409544, "Legal Notices": 9.217900786193213e-05, "News Article": 3.756191467944964e-05, "Organizational Announcement": 7.344369376870223e-05, "Nonfiction Writing": 6.301935591265989e-05, "Organizational About Page": 8.371294920374405e-05, "Personal About Page": 5.164507446342824e-05, "Personal Blog": 4.002141716746766e-05, "Product Page": 4.2123512225744936e-05, "Spam / Ads": 6.429807126252552e-05, "Structured Data": 0.00024555962785052354, "Technical Writing": 0.9559499570110912, "Transcript / Interview": 8.442634262542033e-05, "Tutorial / How-To Guide": 0.03762944934515626, "User Reviews": 3.7823641071274496e-05, "Other / Unknown": 0.004295719441345488}, "secondary": {"Academic Writing": 0.0003895990693336206, "Content Listing": 0.0002269812476943802, "Creative Writing": 0.00028054556890659083, "Customer Support Page": 0.0005948482865980796, "Q&A Forum": 0.0002711177266966025, "Discussion Thread": 0.00011070810285376939, "Comment Section": 0.0003179793702573471, "Missing Content": 0.0003848675429527868, "Knowledge Article": 0.0010526435722017903, "Legal Notices": 0.0003417495253452702, "News Article": 0.000193603022654558, "Organizational Announcement": 0.00020163491785218216, "Nonfiction Writing": 0.00018515875502939422, "Organizational About Page": 0.00022815687909810863, "Personal About Page": 0.00015192735298010966, "Personal Blog": 0.00017255212940486364, "Product Page": 0.00012335884952671428, "Spam / Ads": 0.00019249810532190643, "Structured Data": 0.0005807005246997867, "Technical Writing": 0.05026184358591631, "Transcript / Interview": 0.000222824556509018, "Tutorial / How-To Guide": 0.07522004503305482, "User Reviews": 0.00010579957283520843, "NONE": 0.8681888567022767}, "tertiary": {"Academic Writing": 0.00014425864932198865, "Content Listing": 9.061762401073112e-05, "Creative Writing": 0.00011451891450407864, "Customer Support Page": 0.0003755775853609532, "Q&A Forum": 0.00014225860298064757, "Discussion Thread": 3.704948019801391e-05, "Comment Section": 0.0001935669159963159, "Missing Content": 0.00023379286420838506, "Knowledge Article": 0.00121489609483892, "Legal Notices": 0.00032963727571561194, "News Article": 6.54731938148969e-05, "Organizational Announcement": 8.718776491551418e-05, "Nonfiction Writing": 8.523156163353608e-05, "Organizational About Page": 9.485503194224212e-05, "Personal About Page": 5.0967165413055135e-05, "Personal Blog": 6.43960077291496e-05, "Product Page": 4.925030768108453e-05, "Spam / Ads": 9.149009932513927e-05, "Structured Data": 0.0002830179648956291, "Technical Writing": 0.016121934390981967, "Transcript / Interview": 7.613363462182667e-05, "Tutorial / How-To Guide": 0.030341586194333567, "User Reviews": 3.5408703549270224e-05, "NONE": 0.9496768939720274}, "structured_records": {"false": 0.9990125759891301, "true": 0.0009874240108699696}, "procedural_steps": {"false": 0.5925722025286825, "true": 0.4074277974713175}, "worked_solution": {"false": 0.9973323047800507, "true": 0.0026676952199492752}, "contextual_dialogue": {"false": 0.9999924460955942, "true": 7.5539044057942564e-06}, "content_quality": {"-2": 0.017358622292918013, "-1": 0.09172291236068468, "0": 0.3028040014706102, "1": 0.4421371169833354, "2": 0.1459773468924517}, "noise_severity": {"0": 0.9575578657907432, "1": 0.03869885260251378, "2": 0.0024605220198949404, "3": 0.000762071713462663, "4": 0.0005206878733855817}, "missing_content_severity": {"0": 0.998125011894437, "1": 0.0007240322222536298, "2": 0.0007486272538445041, "3": 0.0003015648908714634, "4": 0.00010076373859351499}, "factual_density": {"0": 0.007022530748138536, "1": 0.02654730083289144, "2": 0.1736572948594705, "3": 0.39842396584474055, "4": 0.3943489077147589}, "pretraining_utility": {"-2": 0.009213163163637208, "-1": 0.10630293309408716, "0": 0.4182219961794009, "1": 0.4101559280309623, "2": 0.05610597953191258}, "math_density": {"0": 0.9131475810880245, "1": 0.08152996149303553, "2": 0.002381979732260263, "3": 0.000768111381152777, "4": 0.0021723663055269503}, "code_density": {"0": 0.0003269780175713076, "1": 0.0006892685573832147, "2": 0.01308056190736626, "3": 0.1257643704350306, "4": 0.8601388210826486}, "reasoning_density": {"0": 0.753593474433593, "1": 0.14008978804978556, "2": 0.08891410828662162, "3": 0.013131564195421701, "4": 0.004271065034578039}, "education_level": {"none": 0.0009728955926461168, "0": 0.0017135344960815136, "1": 0.0057016072934827034, "2": 0.4126956973607269, "3": 0.4830670505521708, "4": 0.09584921470489184}, "creative_writing_quality": {"not_applicable": 0.9993840813760579, "-2": 6.81695502651122e-05, "-1": 0.00014844745235086977, "0": 0.0002857163416818151, "1": 8.464946381200474e-05, "2": 2.8935815832325507e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 3.436391903028149e-05, "Art & Design": 4.072867384204167e-05, "Law & Crime": 4.664840734096386e-05, "Education & Careers": 3.73342453197358e-05, "Entertainment & Media": 2.5355793585162923e-05, "Fashion & Beauty": 2.3623798785322206e-05, "Business, Economics & Finance": 6.918148391056219e-05, "Food & Dining": 2.3296848814177097e-05, "Games & Gaming": 5.003989727446574e-05, "Electronics & Hardware": 0.0009101018240674246, "Health, Healthcare & Wellness": 2.886834247320436e-05, "History & Geography": 2.999200056249417e-05, "Home, Pets & Hobbies": 2.5454960528010812e-05, "Industry & Production": 0.00011566194628664589, "Language, Literature & Philosophy": 2.8415888425807807e-05, "Politics & Government": 2.9413880307312334e-05, "Religion & Spirituality": 2.6731527281412308e-05, "Science, Mathematics & Engineering": 0.0007624088871900407, "Relationships & Community": 1.62617588514337e-05, "Software Usage & Applications": 0.0065432163984607645, "Programming & Software Engineering": 0.9907088760529087, "Sports & Fitness": 4.435881660640987e-05, "Vehicles & Transportation": 2.7220675938130792e-05, "Travel & Tourism": 3.603260822053602e-05, "Other / Uncovered Subject": 0.0002547954025258723, "Unknown / Insufficient Content": 6.161596146316909e-05}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0006608957330659675, "Art & Design": 0.00044952094071420084, "Law & Crime": 0.0006969338317047963, "Education & Careers": 0.00040732858705024, "Entertainment & Media": 0.000480548059842403, "Fashion & Beauty": 0.0002542645821562727, "Business, Economics & Finance": 0.0010257803835072524, "Food & Dining": 0.00023801891130681278, "Games & Gaming": 0.00041898500445749, "Electronics & Hardware": 0.0030266324245258494, "Health, Healthcare & Wellness": 0.0003191477291304756, "History & Geography": 0.00027984446335513487, "Home, Pets & Hobbies": 0.00026648122548410453, "Industry & Production": 0.000676017302753505, "Language, Literature & Philosophy": 0.0002137929207719361, "Politics & Government": 0.0003252879835936146, "Religion & Spirituality": 0.00035871247479882495, "Science, Mathematics & Engineering": 0.0019401339654170728, "Relationships & Community": 0.00015100212948971137, "Software Usage & Applications": 0.09615128555868414, "Programming & Software Engineering": 0.04681094882539296, "Sports & Fitness": 0.00029754734023544404, "Vehicles & Transportation": 0.0001938444430665035, "Travel & Tourism": 0.00036037341585591637, "Other / Uncovered Subject": 0.0015727079595149183, "NONE": 0.8424239638041244}}, "probabilities": {"primary": {"Academic Writing": 0.0001280266463767435, "Content Listing": 0.00010862708840167483, "Creative Writing": 9.067779750032791e-05, "Customer Support Page": 0.00020416967099758345, "Q&A Forum": 7.329738320548424e-05, "Discussion Thread": 4.936092866000704e-05, "Comment Section": 8.450540532498017e-05, "Missing Content": 9.813251230641057e-05, "Knowledge Article": 0.0003722621615409544, "Legal Notices": 9.217900786193213e-05, "News Article": 3.756191467944964e-05, "Organizational Announcement": 7.344369376870223e-05, "Nonfiction Writing": 6.301935591265989e-05, "Organizational About Page": 8.371294920374405e-05, "Personal About Page": 5.164507446342824e-05, "Personal Blog": 4.002141716746766e-05, "Product Page": 4.2123512225744936e-05, "Spam / Ads": 6.429807126252552e-05, "Structured Data": 0.00024555962785052354, "Technical Writing": 0.9559499570110912, "Transcript / Interview": 8.442634262542033e-05, "Tutorial / How-To Guide": 0.03762944934515626, "User Reviews": 3.7823641071274496e-05, "Other / Unknown": 0.004295719441345488}, "secondary": {"Academic Writing": 0.0003895990693336206, "Content Listing": 0.0002269812476943802, "Creative Writing": 0.00028054556890659083, "Customer Support Page": 0.0005948482865980796, "Q&A Forum": 0.0002711177266966025, "Discussion Thread": 0.00011070810285376939, "Comment Section": 0.0003179793702573471, "Missing Content": 0.0003848675429527868, "Knowledge Article": 0.0010526435722017903, "Legal Notices": 0.0003417495253452702, "News Article": 0.000193603022654558, "Organizational Announcement": 0.00020163491785218216, "Nonfiction Writing": 0.00018515875502939422, "Organizational About Page": 0.00022815687909810863, "Personal About Page": 0.00015192735298010966, "Personal Blog": 0.00017255212940486364, "Product Page": 0.00012335884952671428, "Spam / Ads": 0.00019249810532190643, "Structured Data": 0.0005807005246997867, "Technical Writing": 0.05026184358591631, "Transcript / Interview": 0.000222824556509018, "Tutorial / How-To Guide": 0.07522004503305482, "User Reviews": 0.00010579957283520843, "NONE": 0.8681888567022767}, "tertiary": {"Academic Writing": 0.00014425864932198867, "Content Listing": 9.061762401073114e-05, "Creative Writing": 0.00011451891450407866, "Customer Support Page": 0.00037557758536095327, "Q&A Forum": 0.0001422586029806476, "Discussion Thread": 3.704948019801392e-05, "Comment Section": 0.00019356691599631593, "Missing Content": 0.00023379286420838508, "Knowledge Article": 0.0012148960948389202, "Legal Notices": 0.000329637275715612, "News Article": 6.547319381489691e-05, "Organizational Announcement": 8.718776491551419e-05, "Nonfiction Writing": 8.523156163353609e-05, "Organizational About Page": 9.485503194224213e-05, "Personal About Page": 5.096716541305514e-05, "Personal Blog": 6.439600772914961e-05, "Product Page": 4.925030768108454e-05, "Spam / Ads": 9.149009932513928e-05, "Structured Data": 0.00028301796489562915, "Technical Writing": 0.01612193439098197, "Transcript / Interview": 7.613363462182669e-05, "Tutorial / How-To Guide": 0.03034158619433357, "User Reviews": 3.540870354927023e-05, "NONE": 0.9496768939720275}, "structured_records": {"false": 0.9990125759891301, "true": 0.0009874240108699696}, "procedural_steps": {"false": 0.5925722025286825, "true": 0.4074277974713175}, "worked_solution": {"false": 0.9973323047800507, "true": 0.0026676952199492752}, "contextual_dialogue": {"false": 0.9999924460955942, "true": 7.5539044057942564e-06}, "content_quality": {"-2": 0.017358622292918013, "-1": 0.09172291236068468, "0": 0.3028040014706102, "1": 0.4421371169833354, "2": 0.1459773468924517}, "noise_severity": {"0": 0.957557865790743, "1": 0.038698852602513774, "2": 0.00246052201989494, "3": 0.0007620717134626628, "4": 0.0005206878733855816}, "missing_content_severity": {"0": 0.9981250118944368, "1": 0.0007240322222536297, "2": 0.0007486272538445039, "3": 0.00030156489087146334, "4": 0.00010076373859351496}, "factual_density": {"0": 0.007022530748138537, "1": 0.026547300832891443, "2": 0.17365729485947054, "3": 0.3984239658447406, "4": 0.39434890771475894}, "pretraining_utility": {"-2": 0.009213163163637206, "-1": 0.10630293309408713, "0": 0.4182219961794008, "1": 0.4101559280309622, "2": 0.05610597953191256}, "math_density": {"0": 0.9131475810880245, "1": 0.08152996149303553, "2": 0.002381979732260263, "3": 0.000768111381152777, "4": 0.0021723663055269503}, "code_density": {"0": 0.0003269780175713076, "1": 0.0006892685573832147, "2": 0.01308056190736626, "3": 0.1257643704350306, "4": 0.8601388210826486}, "reasoning_density": {"0": 0.753593474433593, "1": 0.14008978804978556, "2": 0.08891410828662162, "3": 0.013131564195421701, "4": 0.004271065034578039}, "education_level": {"none": 0.000972895592646117, "0": 0.0017135344960815138, "1": 0.005701607293482704, "2": 0.412695697360727, "3": 0.48306705055217086, "4": 0.09584921470489186}, "creative_writing_quality": {"not_applicable": 0.9993840813760579, "-2": 6.81695502651122e-05, "-1": 0.00014844745235086977, "0": 0.0002857163416818151, "1": 8.464946381200474e-05, "2": 2.8935815832325507e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 3.436391903028149e-05, "Art & Design": 4.072867384204167e-05, "Law & Crime": 4.664840734096386e-05, "Education & Careers": 3.73342453197358e-05, "Entertainment & Media": 2.5355793585162923e-05, "Fashion & Beauty": 2.3623798785322206e-05, "Business, Economics & Finance": 6.918148391056219e-05, "Food & Dining": 2.3296848814177097e-05, "Games & Gaming": 5.003989727446574e-05, "Electronics & Hardware": 0.0009101018240674246, "Health, Healthcare & Wellness": 2.886834247320436e-05, "History & Geography": 2.999200056249417e-05, "Home, Pets & Hobbies": 2.5454960528010812e-05, "Industry & Production": 0.00011566194628664589, "Language, Literature & Philosophy": 2.8415888425807807e-05, "Politics & Government": 2.9413880307312334e-05, "Religion & Spirituality": 2.6731527281412308e-05, "Science, Mathematics & Engineering": 0.0007624088871900407, "Relationships & Community": 1.62617588514337e-05, "Software Usage & Applications": 0.0065432163984607645, "Programming & Software Engineering": 0.9907088760529087, "Sports & Fitness": 4.435881660640987e-05, "Vehicles & Transportation": 2.7220675938130792e-05, "Travel & Tourism": 3.603260822053602e-05, "Other / Uncovered Subject": 0.0002547954025258723, "Unknown / Insufficient Content": 6.161596146316909e-05}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0006608957330659675, "Art & Design": 0.00044952094071420084, "Law & Crime": 0.0006969338317047963, "Education & Careers": 0.00040732858705024, "Entertainment & Media": 0.000480548059842403, "Fashion & Beauty": 0.0002542645821562727, "Business, Economics & Finance": 0.0010257803835072524, "Food & Dining": 0.00023801891130681278, "Games & Gaming": 0.00041898500445749, "Electronics & Hardware": 0.0030266324245258494, "Health, Healthcare & Wellness": 0.0003191477291304756, "History & Geography": 0.00027984446335513487, "Home, Pets & Hobbies": 0.00026648122548410453, "Industry & Production": 0.000676017302753505, "Language, Literature & Philosophy": 0.0002137929207719361, "Politics & Government": 0.0003252879835936146, "Religion & Spirituality": 0.00035871247479882495, "Science, Mathematics & Engineering": 0.0019401339654170728, "Relationships & Community": 0.00015100212948971137, "Software Usage & Applications": 0.09615128555868414, "Programming & Software Engineering": 0.04681094882539296, "Sports & Fitness": 0.00029754734023544404, "Vehicles & Transportation": 0.0001938444430665035, "Travel & Tourism": 0.00036037341585591637, "Other / Uncovered Subject": 0.0015727079595149183, "NONE": 0.8424239638041244}}, "probability_diagnostics": {"primary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "tertiary": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "structured_records": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "procedural_steps": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "worked_solution": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "contextual_dialogue": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "content_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "noise_severity": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "missing_content_severity": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "factual_density": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "pretraining_utility": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "math_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "code_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "reasoning_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "education_level": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "creative_writing_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "primary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}}, "usage": {"input_tokens": 9685, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 9685, "cached_share": null, "cache_discount_reported": null, "reported_cost_usd": null}, "response_metadata": {"model": "decision-models/baseten-mammoth-27b-latest"}, "scored_at_utc": "2026-10-25T18:32:09.191964+00:00", "scoring_key_slot": "primary", "dataset_uid": "a349cd13-eb42-4e4c-aafd-ebccef33f9d8", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "92a17012b9c891541103ba4ae65fc6756224d10bfd89f250396c2b56ba6263b2", "source_metadata": {"uuid": "a349cd13-eb42-4e4c-aafd-ebccef33f9d8", "repo_name": "aws-samples/aws-iot-greengrass-accelerators", "relative_path": "scripts/v2_test_build.sh", "category": "TOOL", "algo_rel_score": 0.9158053994178772, "quality_score": 4.981526851654053, "source_meta": {"github_metadata": {"branch": "main", "commit_count": 302, "repo_created_at": "2019-08-29T18:44:43.000Z", "is_fork": false, "is_org_owned": true, "forked_from": null, "stars": 71, "forks": 31, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "d32649f32bfb7f026066995686f37d96f8ea9fca", "size_bytes": 4038, "file_timestamp": 1752247759, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "500072891d32700aec8f880aa3048a11da25bd47"}}, "parsed_source_meta": {"github_metadata": {"branch": "main", "commit_count": 302, "repo_created_at": "2019-08-29T18:44:43.000Z", "is_fork": false, "is_org_owned": true, "forked_from": null, "stars": 71, "forks": 31, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "d32649f32bfb7f026066995686f37d96f8ea9fca", "size_bytes": 4038, "file_timestamp": 1752247759, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "500072891d32700aec8f880aa3048a11da25bd47", "url": "https://github.com/aws-samples/aws-iot-greengrass-accelerators/blob/500072891d32700aec8f880aa3048a11da25bd47/scripts/v2_test_build.sh"}, "gpt4o_tokens": 1158, "dataset_split": "shell", "probability_weighted_scores": {"content_quality": 0.6076516538217182, "noise_severity": 0.04798886327623397, "missing_content_severity": 0.0035290363569310877, "factual_density": 3.1465294189450903, "pretraining_utility": 0.39763862767342584, "math_density": 0.09728772032312219, "code_density": 3.844698788007802, "reasoning_density": 0.37439695734760603, "education_level": 2.666285029444902, "creative_writing_quality": -0.23098093136700784}, "score_applicability": {"education_level": 0.9990271044073539, "creative_writing_quality": 0.0006159186239421273}} {"source_group": "shell", "source": "openbmb/UltraData-Stack-v3-L2/shell", "domain": "github.com", "language": "shell", "url": "https://github.com/CliffHan/R8500-V1.0.2.116_1.0.90/blob/c71e07289534623a8fefe82417ed40250517661d/R8500-V1.0.2.116_1.0.90_src/src/router/arm-uclibc/install/iqos/usr/sbin/upgrade.sh", "id": "shell-0-409599f91be15b2927508edca1f41256", "text": "#!/bin/sh\n\n# Filename definition\nIDP=tdts\nFWD=tdts_udbfw\nQOS=tdts_udb\n\n# Necessary command definition\nRM=\"rm -f\"\nMV=\"mv\"\nCP=\"cp\"\nPS=\"ps\"\nKILL=\"kill\"\nLSMOD=\"lsmod\"\nRMMOD=\"rmmod\"\nINSMOD=\"insmod\"\nSETUP=\"setup.sh\"\n\n# Predict path definition\nMAIN_PATH=/tmp/trend\nUPDATE_PATH=/tmp/media/nand/TMDPI/update\nBACKUP_PATH=/tmp/media/nand/TMDPI/backup\nARCHIVE_PATH=/tmp/media/nand/TMDPI/archive\n\n# Error code definition\nSUCC=0\nFAIL_START_IDP=-1\nFAIL_START_FWD=-2\nFAIL_START_QOS=-3\nFAIL_STOP_FWD=-4\nFAIL_STOP_IDP=-5\nFAIL_STOP_QOS=-6\nFAIL_MOVE_IDP=-7\nFAIL_MOVE_FWD=-8\nFAIL_MOVE_QOS=-9\n\nstop_sys()\n{\n\techo \"--------------------\"\n\techo \"Stop iQoS System....\"\n\n bcmiqosd stop\n\treturn \"$SUCC\"\n}\n\nstart_sys()\n{\n\techo \"--------------------\"\n\techo \"Start iQoS System....\"\n bcmiqosd start\n\n\treturn \"$SUCC\"\n}\n\nmove_file()\n{\n\tprintf \"\\t--------------------\\n\"\n\tprintf \"\\tMove files from $1 to $2....\\n\"\n\n\t# Move IDP to indicated location\n\tif [ -f $1/$IDP.ko ]; then\n\t\tprintf \"\\t\\tMove $IDP.ko from $1 to $2\\n\"\n\t\t[ \"$($MV $1/$IDP.ko $2)\" ] && printf \"\\t\\tMove $IDP.ko fail\\n\" && return \"$FAIL_MOVE_IDP\"\n\telse\n\t\tprintf \"\\t\\t$1/$IDP.ko doesn't exist\\n\" && return \"$FAIL_MOVE_IDP\"\n\tfi\n\n\t# Move bw_forward to indicated location\n\tif [ -f $1/$FWD.ko ]; then\n\t\tprintf \"\\t\\tMove $FWD.ko from $1 to $2\\n\"\n\t\t[ \"$($MV $1/$FWD.ko $2)\" ] && printf \"\\t\\tMove $FWD.ko fail\\n\" && return \"$FAIL_MOVE_FWD\"\n\telse\n\t\tprintf \"\\t\\t$1/$FWD.ko doesn't exist\\n\" && return \"$FAIL_MOVE_FWD\"\n\tfi\n\n\t# Move QOS to indicated location\n\tif [ -f $1/$QOS.ko ]; then\n\t\tprintf \"\\t\\tMove $QOS.ko from $1 to $2\\n\"\n\t\t[ \"$($MV $1/$QOS.ko $2)\" ] && printf \"\\t\\tMove $QOS.ko fail\\n\" && return \"$FAIL_MOVE_QOS\"\n\telse\n\t\tprintf \"\\t\\t$1/$QOS.ko doesn't exist\\n\" && return \"$FAIL_MOVE_QOS\"\n\tfi\n\n\treturn \"$SUCC\"\n}\n\ncopy_file()\n{\n\tprintf \"\\t--------------------\\n\"\n\tprintf \"\\tcopyfiles from $1 to $2....\\n\"\n\n\t# copy IDP to indicated location\n\tif [ -f $1/$IDP.ko ]; then\n\t\tprintf \"\\t\\tcopy $IDP.ko from $1 to $2\\n\"\n\t\t[ \"$($CP $1/$IDP.ko $2/)\" ] && printf \"\\t\\tcopy $IDP.ko fail\\n\" && return \"$FAIL_MOVE_IDP\"\n\telse\n\t\tprintf \"\\t\\t$1/$IDP.ko doesn't exist\\n\" && return \"$FAIL_MOVE_IDP\"\n\tfi\n\n\t# copy bw_forward to indicated location\n\tif [ -f $1/$FWD.ko ]; then\n\t\tprintf \"\\t\\tcopy $FWD.ko from $1 to $2\\n\"\n\t\t[ \"$($CP $1/$FWD.ko $2/)\" ] && printf \"\\t\\tcopy $FWD.ko fail\\n\" && return \"$FAIL_MOVE_FWD\"\n\telse\n\t\tprintf \"\\t\\t$1/$FWD.ko doesn't exist\\n\" && return \"$FAIL_MOVE_FWD\"\n\tfi\n\n\t# copy QOS to indicated location\n\tif [ -f $1/$QOS.ko ]; then\n\t\tprintf \"\\t\\tcopy $QOS.ko from $1 to $2\\n\"\n\t\t[ \"$($CP $1/$QOS.ko $2/)\" ] && printf \"\\t\\tcopy $QOS.ko fail\\n\" && return \"$FAIL_MOVE_QOS\"\n\telse\n\t\tprintf \"\\t\\t$1/$QOS.ko doesn't exist\\n\" && return \"$FAIL_MOVE_QOS\"\n\tfi\n\n\treturn \"$SUCC\"\n}\nrestore_file()\n{\n\tmove_file $BACKUP_PATH $MAIN_PATH \n\t#RET=$? && return \"$RET\"\n\tRET=$?\n\tif [ \"$RET\" == \"$SUCC\" ]; then\n\t\tprintf \"\\tRestore DPI succesfully\\n\" && start_sys\n\t\tif [ \"$RET\" == \"$SUCC\" ]; then\n\t\t\tprintf \"\\tRestart DPI succesfully\\n\" && exit \"$RET\"\n\t\telse\n\t\t\tprintf \"\\tRestart DPI fail\\n\" && exit \"$RET\"\n\t\tfi\n\telse\n\t\tprintf \"\\tRestore DPI fail\\n\" && exit \"$RET\"\n\tfi\n}\n\nbackup_file()\n{\n\tmove_file $MAIN_PATH $BACKUP_PATH\n\tRET=$? && return \"$RET\"\n}\n\nupdate_file()\n{\n\tmove_file $UPDATE_PATH $MAIN_PATH\n\tRET=$? && return \"$RET\"\n}\n\narchive_file()\n{\n\tcopy_file $MAIN_PATH $ARCHIVE_PATH\n\tRET=$? && return \"$RET\"\n}\n\ncleanup_file()\n{\n rm -f $UPDATE_PATH/*\n rm -f $BACKUP_PATH/*\n rm -f $ARCHIVE_PATH/*\n rm -f /tmp/media/nand/rule.trf\n rm -f /tmp/media/nand/TmToNtgr_dev_mapping\n}\n\nall()\n{\n\tprintf \"Update DPI System\\n\"\n\n\tstop_sys\n\tRET=$?\n\tif [ \"$RET\" == \"$SUCC\" ]; then\n\t\tprintf \"\\tStop DPI succesfully\\n\"\n\telse\n\t\tprintf \"\\tStop DPI fail\\n\" && exit \"$RET\"\n\tfi\n\n\tbackup_file\n\tRET=$?\n\tif [ \"$RET\" == \"$SUCC\" ]; then\n\t\tprintf \"\\tBackup DPI succesfully\\n\"\n\telse\n\t\tprintf \"\\tBackup DPI fail\\n\" && restore_file\n\tfi\n\n\tupdate_file\n\tRET=$?\n\tif [ \"$RET\" == \"$SUCC\" ]; then\n\t\tprintf \"\\tUpdate DPI succesfully\\n\"\n\telse\n\t\tprintf \"\\tUpdate DPI fail\\n\" && restore_file\n\tfi\n\n\tstart_sys\n\tRET=$?\n\tif [ \"$RET\" == \"$SUCC\" ]; then\n\t\tprintf \"\\tStart DPI succesfully\\n\"\n\t\tarchive_file\n\t\tRET=$?\n\t\tif [ \"$RET\" == \"$SUCC\" ]; then\n\t\t\tprintf \"\\tArchive DPI succesfully\\n\"\n\t\telse\n\t\t\tprintf \"\\tArchive DPI fail\\n\" && restore_file\n\t\tfi\n\telse\n\t\tprintf \"\\tStart DPI fail\\n\" && restore_file\n\tfi\n\n\texit \"$SUCC\"\n}\n\nhelp()\n{\n\tprintf \"Usage:\\n\"\n\tprintf \"\\tall: execute full process to update system\\n\"\n\tprintf \"\\tstart: start DPI system\\n\"\n\tprintf \"\\tstop: stop DPI system\\n\"\n\tprintf \"\\tbackup: backup DPI binaries\\n\"\n\tprintf \"\\tupdate: update DPI binaries\\n\"\n\tprintf \"\\trestore: restore DPI binaries\\n\"\n\tprintf \"\\tcleanup: clean up DPI binaries\\n\"\n\tprintf \"\\thelp and blank: show help\\n\"\n}\n\n[ \"$1\" = \"all\" ] && all && exit 0\n[ \"$1\" = \"start\" ] && start_sys && exit 0\n[ \"$1\" = \"stop\" ] && stop_sys && exit 0\n[ \"$1\" = \"backup\" ] && backup_file && exit 0\n[ \"$1\" = \"update\" ] && update_file && exit 0\n[ \"$1\" = \"archive\" ] && archive_file && exit 0\n[ \"$1\" = \"restore\" ] && restore_file && exit 0\n[ \"$1\" = \"cleanup\" ] && cleanup_file && exit 0\n[ \"$1\" = \"help\" ] && help && exit 0\n[ \"$1\" = \"\" ] && help && exit 0\n", "text_preview": "#!/bin/sh # Filename definition IDP=tdts FWD=tdts_udbfw QOS=tdts_udb # Necessary command definition RM=\"rm -f\" MV=\"mv\" CP=\"cp\" PS=\"ps\" KILL=\"kill\" LSMOD=\"lsmod\" RMMOD=\"rmmod\" INSMOD=\"insmod\" SETUP=\"setup.sh\" # Predict path definition MAIN_P", "input_sha256": "7032e1f1794b74d70fae646274eb4ca0258cb798c0c03dbb4437d3086c4132e8", "text_sha256": "409599f91be15b2927508edca1f412563a37d35d9ef795163387bf85fc0a0027", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 20050, "input_policy": "text-and-optional-url-v1", "label_policy_version": 12, "requested_model": "decision-models/baseten-mammoth-27b-latest", "backend": "baseten", "endpoint": "https://inference.baseten.co/v1/systemone", "status": "ok", "training_eligible": true, "label": {"primary": {"main_format": "Technical Writing", "sub_format": null}, "secondary": null, "tertiary": null, "content_structure": []}, "candidate_label": null, "topic": {"primary": {"main_topic": "Programming & Software Engineering", "sub_topic": null}, "secondary": null}, "scores": {"content_quality": 0, "noise_severity": 0, "missing_content_severity": 0, "factual_density": 3, "pretraining_utility": 0, "math_density": 0, "code_density": 4, "reasoning_density": 0, "education_level": 2, "creative_writing_quality": null}, "score_expectations": {"content_quality": 0.2813331897878441, "noise_severity": 0.032856944246928234, "missing_content_severity": 0.015304688051144547, "factual_density": 3.0782701115035143, "pretraining_utility": 0.12772653969262987, "math_density": 0.03907572256350715, "code_density": 3.8544026071337534, "reasoning_density": 0.5384511211587955, "education_level": 2.2935301837384947, "creative_writing_quality": -0.37674782106392707}, "api_choices": {"primary": "Technical Writing", "secondary": "NONE", "tertiary": "NONE", "education_level": "2", "creative_writing_quality": "not_applicable", "primary_topic": "Programming & Software Engineering", "secondary_topic": "NONE"}, "review_reasons": [], "format_slot_diagnostics": {"comparable": true, "secondary_tertiary_identical": false, "secondary_tertiary_max_abs_gap": 0.01321262379395527, "secondary_choice": "NONE", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.9864448034554506, "secondary": 0.9485995454327809, "tertiary": 0.9623866311308211, "structured_records": 0.018381197953974755, "procedural_steps": 0.1670410506137759, "worked_solution": 0.0013606364823959215, "contextual_dialogue": 5.303518528257789e-06, "content_quality": 0.39108196795059635, "noise_severity": 0.9726192131275598, "missing_content_severity": 0.9872460932907129, "factual_density": 0.5653377723925308, "pretraining_utility": 0.5350872421517517, "math_density": 0.9674368978637441, "code_density": 0.8786688392781278, "reasoning_density": 0.5512907323676706, "education_level": 0.6054899673260857, "creative_writing_quality": 0.998044116565733, "primary_topic": 0.9662582487792327, "secondary_topic": 0.8276389105535871}, "probability_margin": {"primary": 0.9812283180583329, "secondary": 0.9295179077105229, "tertiary": 0.9487016214603783, "education_level": 0.42686135436245554, "creative_writing_quality": 0.9976342677831977, "primary_topic": 0.9522084652051517, "secondary_topic": 0.7532425230677482}, "raw_probabilities": {"primary": {"Academic Writing": 7.928677322536798e-05, "Content Listing": 5.520885225101648e-05, "Creative Writing": 4.6288976488511844e-05, "Customer Support Page": 4.463923578184306e-05, "Q&A Forum": 3.045911524832946e-05, "Discussion Thread": 2.1323806332262975e-05, "Comment Section": 3.356187224314016e-05, "Missing Content": 5.3718637426315245e-05, "Knowledge Article": 0.00023689097061301364, "Legal Notices": 7.616834455347107e-05, "News Article": 1.315260387058515e-05, "Organizational Announcement": 2.6123147567123974e-05, "Nonfiction Writing": 3.325131285698005e-05, "Organizational About Page": 3.2349787417476035e-05, "Personal About Page": 2.787155974409439e-05, "Personal Blog": 1.9659160412829798e-05, "Product Page": 1.9753776372507304e-05, "Spam / Ads": 3.067136491004901e-05, "Structured Data": 0.0009155673844597543, "Technical Writing": 0.9870096033114735, "Transcript / Interview": 4.8049631744703113e-05, "Tutorial / How-To Guide": 0.005781285253140546, "User Reviews": 1.7198793275754574e-05, "Other / Unknown": 0.00534791632859103}, "secondary": {"Academic Writing": 0.0002925496406217401, "Content Listing": 0.00041767871462759066, "Creative Writing": 0.00022039958758255783, "Customer Support Page": 0.0008606753137525449, "Q&A Forum": 0.00010999562627676929, "Discussion Thread": 7.115874876255798e-05, "Comment Section": 0.00015242454692448635, "Missing Content": 0.00035372203648720226, "Knowledge Article": 0.0010374624600113771, "Legal Notices": 0.00026165673891579837, "News Article": 0.00010379646695132894, "Organizational Announcement": 0.00013373923057845294, "Nonfiction Writing": 0.00012481414811628307, "Organizational About Page": 0.00014376477677193763, "Personal About Page": 0.00011303657035288453, "Personal Blog": 0.00011636127130139212, "Product Page": 9.511850414155333e-05, "Spam / Ads": 0.00013140907518574763, "Structured Data": 0.005255090083650148, "Technical Writing": 0.017790342015782824, "Transcript / Interview": 0.00018013047279299158, "Tutorial / How-To Guide": 0.021223323329225486, "User Reviews": 7.01196014379568e-05, "NONE": 0.9507412310397484}, "tertiary": {"Academic Writing": 0.00018418401771123832, "Content Listing": 0.0003432079705613296, "Creative Writing": 0.0001552562489553892, "Customer Support Page": 0.001094639141083498, "Q&A Forum": 6.643413362749784e-05, "Discussion Thread": 5.188360615712853e-05, "Comment Section": 0.00011333837326632143, "Missing Content": 0.00022086594901555778, "Knowledge Article": 0.001227622409655465, "Legal Notices": 0.00032336432557540776, "News Article": 8.451865380705463e-05, "Organizational Announcement": 9.623109686043113e-05, "Nonfiction Writing": 0.00011491752056982097, "Organizational About Page": 0.00012816394081555202, "Personal About Page": 7.806856361961643e-05, "Personal Blog": 7.996687006556223e-05, "Product Page": 7.708853869873637e-05, "Spam / Ads": 0.00010292935341401038, "Structured Data": 0.0038967316340367346, "Technical Writing": 0.012185726907579589, "Transcript / Interview": 0.00012216567118268818, "Tutorial / How-To Guide": 0.01525223337332531, "User Reviews": 4.660686671243957e-05, "NONE": 0.9639538548337035}, "structured_records": {"false": 0.9816188020460253, "true": 0.018381197953974755}, "procedural_steps": {"false": 0.8329589493862242, "true": 0.1670410506137759}, "worked_solution": {"false": 0.9986393635176041, "true": 0.0013606364823959215}, "contextual_dialogue": {"false": 0.9999946964814718, "true": 5.303518528257789e-06}, "content_quality": {"-2": 0.03238181905946622, "-1": 0.15992058621678767, "0": 0.37995791784184013, "1": 0.34946193964024796, "2": 0.07827773724165815}, "noise_severity": {"0": 0.972858484062541, "1": 0.023082888544692797, "2": 0.0028830725496197256, "3": 0.0006943087695897729, "4": 0.000481246073556666}, "missing_content_severity": {"0": 0.9865686513667196, "1": 0.012135452256399134, "2": 0.0008620211410603139, "3": 0.00029030743065991144, "4": 0.0001435678051612637}, "factual_density": {"0": 0.00467502270674713, "1": 0.011640448460521854, "2": 0.18435631577143918, "3": 0.49939582074505307, "4": 0.29993239231623875}, "pretraining_utility": {"-2": 0.01726246536983814, "-1": 0.18055945412295774, "0": 0.4956006301036567, "1": 0.27034397625183115, "2": 0.03623347415171637}, "math_density": {"0": 0.9668058866515505, "1": 0.03030527195612148, "2": 0.001136181094298166, "3": 0.0005125527733293033, "4": 0.001240107524700357}, "code_density": {"0": 0.0003967052833507888, "1": 0.0007403419536642235, "2": 0.01395297104444087, "3": 0.11388360378296906, "4": 0.871026377935575}, "reasoning_density": {"0": 0.714180630920583, "1": 0.09794352471605489, "2": 0.1381852233116613, "3": 0.03462533438738481, "4": 0.015065286664315862}, "education_level": {"none": 0.0014488451384457323, "0": 0.0028024883184179753, "1": 0.03530796284595972, "2": 0.6712416394384048, "3": 0.2443802850759492, "4": 0.04481877918282248}, "creative_writing_quality": {"not_applicable": 0.9983700971381109, "-2": 0.00015119375384776496, "-1": 0.0005507907370515446, "0": 0.0007358293549131097, "1": 0.0001450621391686943, "2": 4.702687690791494e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 7.919885053589544e-05, "Art & Design": 0.00012734156929837832, "Law & Crime": 0.000102969025112951, "Education & Careers": 0.00011075524748477206, "Entertainment & Media": 6.987501232846436e-05, "Fashion & Beauty": 6.71199722290458e-05, "Business, Economics & Finance": 0.00012496535013305815, "Food & Dining": 6.555194771068377e-05, "Games & Gaming": 0.00011777776445048457, "Electronics & Hardware": 0.015347543236418305, "Health, Healthcare & Wellness": 5.764573341164221e-05, "History & Geography": 0.00010584800877473531, "Home, Pets & Hobbies": 8.250545396918146e-05, "Industry & Production": 0.00013970984798261513, "Language, Literature & Philosophy": 7.580189439108351e-05, "Politics & Government": 7.690148575929886e-05, "Religion & Spirituality": 9.173604415319545e-05, "Science, Mathematics & Engineering": 0.0007001659697742974, "Relationships & Community": 5.401564569964134e-05, "Software Usage & Applications": 0.01358251163183722, "Programming & Software Engineering": 0.96755600844157, "Sports & Fitness": 9.94252826585497e-05, "Vehicles & Transportation": 0.0001144771492963121, "Travel & Tourism": 7.789283694596391e-05, "Other / Uncovered Subject": 0.0007782842436864065, "Unknown / Insufficient Content": 0.00019397235438778249}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0007411954776587532, "Art & Design": 0.0005153876040664259, "Law & Crime": 0.0008309874661780363, "Education & Careers": 0.00040188507955825266, "Entertainment & Media": 0.00045175394799569225, "Fashion & Beauty": 0.0002724167683076817, "Business, Economics & Finance": 0.0006088566739948934, "Food & Dining": 0.00025340894382287093, "Games & Gaming": 0.0004408795755428066, "Electronics & Hardware": 0.032595082050165265, "Health, Healthcare & Wellness": 0.00029390219330080783, "History & Geography": 0.0003040409985172567, "Home, Pets & Hobbies": 0.0002925954659970458, "Industry & Production": 0.00035546214321974717, "Language, Literature & Philosophy": 0.00020926076347589585, "Politics & Government": 0.00030354297233127855, "Religion & Spirituality": 0.0004525758493739429, "Science, Mathematics & Engineering": 0.0010091992791124442, "Relationships & Community": 0.00019736063623265642, "Software Usage & Applications": 0.0810256601568547, "Programming & Software Engineering": 0.042447182600912646, "Sports & Fitness": 0.00024402822194241456, "Vehicles & Transportation": 0.00023655443816550023, "Travel & Tourism": 0.0003452700690778767, "Other / Uncovered Subject": 0.0009033273995921726, "NONE": 0.8342681832246029}}, "probabilities": {"primary": {"Academic Writing": 7.928677322536797e-05, "Content Listing": 5.520885225101647e-05, "Creative Writing": 4.628897648851183e-05, "Customer Support Page": 4.4639235781843056e-05, "Q&A Forum": 3.0459115248329452e-05, "Discussion Thread": 2.1323806332262972e-05, "Comment Section": 3.3561872243140155e-05, "Missing Content": 5.371863742631523e-05, "Knowledge Article": 0.0002368909706130136, "Legal Notices": 7.616834455347106e-05, "News Article": 1.3152603870585147e-05, "Organizational Announcement": 2.6123147567123967e-05, "Nonfiction Writing": 3.3251312856980046e-05, "Organizational About Page": 3.234978741747603e-05, "Personal About Page": 2.7871559744094382e-05, "Personal Blog": 1.9659160412829795e-05, "Product Page": 1.97537763725073e-05, "Spam / Ads": 3.0671364910049e-05, "Structured Data": 0.0009155673844597541, "Technical Writing": 0.9870096033114732, "Transcript / Interview": 4.80496317447031e-05, "Tutorial / How-To Guide": 0.005781285253140545, "User Reviews": 1.719879327575457e-05, "Other / Unknown": 0.005347916328591029}, "secondary": {"Academic Writing": 0.0002925496406217401, "Content Listing": 0.00041767871462759066, "Creative Writing": 0.00022039958758255783, "Customer Support Page": 0.0008606753137525449, "Q&A Forum": 0.00010999562627676929, "Discussion Thread": 7.115874876255798e-05, "Comment Section": 0.00015242454692448635, "Missing Content": 0.00035372203648720226, "Knowledge Article": 0.0010374624600113771, "Legal Notices": 0.00026165673891579837, "News Article": 0.00010379646695132894, "Organizational Announcement": 0.00013373923057845294, "Nonfiction Writing": 0.00012481414811628307, "Organizational About Page": 0.00014376477677193763, "Personal About Page": 0.00011303657035288453, "Personal Blog": 0.00011636127130139212, "Product Page": 9.511850414155333e-05, "Spam / Ads": 0.00013140907518574763, "Structured Data": 0.005255090083650148, "Technical Writing": 0.017790342015782824, "Transcript / Interview": 0.00018013047279299158, "Tutorial / How-To Guide": 0.021223323329225486, "User Reviews": 7.01196014379568e-05, "NONE": 0.9507412310397484}, "tertiary": {"Academic Writing": 0.00018418401771123834, "Content Listing": 0.00034320797056132965, "Creative Writing": 0.00015525624895538923, "Customer Support Page": 0.0010946391410834983, "Q&A Forum": 6.643413362749786e-05, "Discussion Thread": 5.188360615712854e-05, "Comment Section": 0.00011333837326632145, "Missing Content": 0.0002208659490155578, "Knowledge Article": 0.0012276224096554652, "Legal Notices": 0.0003233643255754078, "News Article": 8.451865380705464e-05, "Organizational Announcement": 9.623109686043114e-05, "Nonfiction Writing": 0.00011491752056982098, "Organizational About Page": 0.00012816394081555205, "Personal About Page": 7.806856361961644e-05, "Personal Blog": 7.996687006556224e-05, "Product Page": 7.708853869873638e-05, "Spam / Ads": 0.0001029293534140104, "Structured Data": 0.003896731634036735, "Technical Writing": 0.01218572690757959, "Transcript / Interview": 0.0001221656711826882, "Tutorial / How-To Guide": 0.015252233373325312, "User Reviews": 4.660686671243958e-05, "NONE": 0.9639538548337037}, "structured_records": {"false": 0.9816188020460253, "true": 0.018381197953974755}, "procedural_steps": {"false": 0.8329589493862242, "true": 0.1670410506137759}, "worked_solution": {"false": 0.9986393635176041, "true": 0.0013606364823959215}, "contextual_dialogue": {"false": 0.9999946964814718, "true": 5.303518528257789e-06}, "content_quality": {"-2": 0.032381819059466216, "-1": 0.15992058621678765, "0": 0.37995791784184, "1": 0.3494619396402479, "2": 0.07827773724165814}, "noise_severity": {"0": 0.972858484062541, "1": 0.023082888544692797, "2": 0.0028830725496197256, "3": 0.0006943087695897729, "4": 0.000481246073556666}, "missing_content_severity": {"0": 0.9865686513667193, "1": 0.01213545225639913, "2": 0.0008620211410603136, "3": 0.0002903074306599114, "4": 0.00014356780516126366}, "factual_density": {"0": 0.00467502270674713, "1": 0.011640448460521854, "2": 0.18435631577143918, "3": 0.49939582074505307, "4": 0.29993239231623875}, "pretraining_utility": {"-2": 0.01726246536983814, "-1": 0.18055945412295774, "0": 0.4956006301036567, "1": 0.27034397625183115, "2": 0.03623347415171637}, "math_density": {"0": 0.9668058866515506, "1": 0.030305271956121482, "2": 0.0011361810942981663, "3": 0.0005125527733293034, "4": 0.0012401075247003572}, "code_density": {"0": 0.0003967052833507888, "1": 0.0007403419536642235, "2": 0.01395297104444087, "3": 0.11388360378296906, "4": 0.871026377935575}, "reasoning_density": {"0": 0.7141806309205831, "1": 0.0979435247160549, "2": 0.13818522331166133, "3": 0.03462533438738482, "4": 0.015065286664315863}, "education_level": {"none": 0.0014488451384457326, "0": 0.0028024883184179757, "1": 0.035307962845959724, "2": 0.6712416394384049, "3": 0.24438028507594922, "4": 0.04481877918282249}, "creative_writing_quality": {"not_applicable": 0.998370097138111, "-2": 0.000151193753847765, "-1": 0.0005507907370515447, "0": 0.0007358293549131098, "1": 0.00014506213916869434, "2": 4.702687690791495e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 7.919885053589545e-05, "Art & Design": 0.00012734156929837835, "Law & Crime": 0.00010296902511295101, "Education & Careers": 0.00011075524748477208, "Entertainment & Media": 6.987501232846437e-05, "Fashion & Beauty": 6.711997222904581e-05, "Business, Economics & Finance": 0.00012496535013305817, "Food & Dining": 6.555194771068378e-05, "Games & Gaming": 0.00011777776445048458, "Electronics & Hardware": 0.015347543236418307, "Health, Healthcare & Wellness": 5.7645733411642217e-05, "History & Geography": 0.00010584800877473533, "Home, Pets & Hobbies": 8.250545396918147e-05, "Industry & Production": 0.00013970984798261516, "Language, Literature & Philosophy": 7.580189439108352e-05, "Politics & Government": 7.690148575929887e-05, "Religion & Spirituality": 9.173604415319547e-05, "Science, Mathematics & Engineering": 0.0007001659697742975, "Relationships & Community": 5.401564569964135e-05, "Software Usage & Applications": 0.013582511631837222, "Programming & Software Engineering": 0.9675560084415701, "Sports & Fitness": 9.942528265854971e-05, "Vehicles & Transportation": 0.00011447714929631211, "Travel & Tourism": 7.789283694596393e-05, "Other / Uncovered Subject": 0.0007782842436864066, "Unknown / Insufficient Content": 0.0001939723543877825}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0007411954776587532, "Art & Design": 0.0005153876040664259, "Law & Crime": 0.0008309874661780363, "Education & Careers": 0.00040188507955825266, "Entertainment & Media": 0.00045175394799569225, "Fashion & Beauty": 0.0002724167683076817, "Business, Economics & Finance": 0.0006088566739948934, "Food & Dining": 0.00025340894382287093, "Games & Gaming": 0.0004408795755428066, "Electronics & Hardware": 0.032595082050165265, "Health, Healthcare & Wellness": 0.00029390219330080783, "History & Geography": 0.0003040409985172567, "Home, Pets & Hobbies": 0.0002925954659970458, "Industry & Production": 0.00035546214321974717, "Language, Literature & Philosophy": 0.00020926076347589585, "Politics & Government": 0.00030354297233127855, "Religion & Spirituality": 0.0004525758493739429, "Science, Mathematics & Engineering": 0.0010091992791124442, "Relationships & Community": 0.00019736063623265642, "Software Usage & Applications": 0.0810256601568547, "Programming & Software Engineering": 0.042447182600912646, "Sports & Fitness": 0.00024402822194241456, "Vehicles & Transportation": 0.00023655443816550023, "Travel & Tourism": 0.0003452700690778767, "Other / Uncovered Subject": 0.0009033273995921726, "NONE": 0.8342681832246029}}, "probability_diagnostics": {"primary": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "secondary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "tertiary": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "structured_records": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "procedural_steps": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "worked_solution": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "contextual_dialogue": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "content_quality": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "noise_severity": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "missing_content_severity": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "factual_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "pretraining_utility": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "math_density": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "code_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "reasoning_density": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "education_level": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "creative_writing_quality": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "primary_topic": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}}, "usage": {"input_tokens": 10415, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 10415, "cached_share": null, "cache_discount_reported": null, "reported_cost_usd": null}, "response_metadata": {"model": "decision-models/baseten-mammoth-27b-latest"}, "scored_at_utc": "2026-10-25T18:32:11.113901+00:00", "scoring_key_slot": "primary", "dataset_uid": "af54e77a-750a-4b2f-8342-9a4487deb9e9", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "1e54cbda41b93ace5d3f2c0d837c6d08037f66168743584dff2aec528c09f589", "source_metadata": {"uuid": "af54e77a-750a-4b2f-8342-9a4487deb9e9", "repo_name": "CliffHan/R8500-V1.0.2.116_1.0.90", "relative_path": "R8500-V1.0.2.116_1.0.90_src/src/router/arm-uclibc/install/iqos/usr/sbin/upgrade.sh", "category": "TOOL", "algo_rel_score": 0.9935431480407715, "quality_score": 3.05783748626709, "source_meta": {"github_metadata": {"branch": "master", "commit_count": 18, "repo_created_at": "2018-04-09T01:06:51.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 2, "forks": 5, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "9caa8aedf8ff84654f2645da0b4442112c3f5408", "size_bytes": 5084, "file_timestamp": 1620753606, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "c71e07289534623a8fefe82417ed40250517661d"}}, "parsed_source_meta": {"github_metadata": {"branch": "master", "commit_count": 18, "repo_created_at": "2018-04-09T01:06:51.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 2, "forks": 5, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "9caa8aedf8ff84654f2645da0b4442112c3f5408", "size_bytes": 5084, "file_timestamp": 1620753606, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "c71e07289534623a8fefe82417ed40250517661d", "url": "https://github.com/CliffHan/R8500-V1.0.2.116_1.0.90/blob/c71e07289534623a8fefe82417ed40250517661d/R8500-V1.0.2.116_1.0.90_src/src/router/arm-uclibc/install/iqos/usr/sbin/upgrade.sh"}, "gpt4o_tokens": 1772, "dataset_split": "shell", "probability_weighted_scores": {"content_quality": 0.28133318978784416, "noise_severity": 0.032856944246928234, "missing_content_severity": 0.015304688051144547, "factual_density": 3.0782701115035143, "pretraining_utility": 0.12772653969262987, "math_density": 0.03907572256350715, "code_density": 3.8544026071337534, "reasoning_density": 0.5384511211587955, "education_level": 2.2935301837384947, "creative_writing_quality": -0.37674782106392707}, "score_applicability": {"education_level": 0.9985511548615543, "creative_writing_quality": 0.0016299028618890288}} {"source_group": "shell", "source": "openbmb/UltraData-Stack-v3-L2/shell", "domain": "github.com", "language": "shell", "url": "https://github.com/ywgrit/ghc-9.6.6/blob/d7f6d2db3f1a8974f3416b38adbfaa2243cbca9a/.gitlab/rel_eng/upload.sh", "id": "shell-0-8267df8c8d5653e72f374f16976d6b56", "text": "#!/usr/bin/env bash\n\nset -e\n\n# This is a script for preparing and uploading a release of GHC.\n#\n# Usage,\n# 1. Update $ver\n# 2. Set $SIGNING_KEY to your key id (prefixed with '=')\n# 3. Create a directory and place the source and binary tarballs there\n# 4. Run this script from that directory\n#\n# You can also invoke the script with an argument to perform only\n# a subset of the usual release,\n#\n# upload.sh recompress produce lzip tarballs from xz tarballs\n#\n# upload.sh gen_hashes generate signed hashes of the release\n# tarballs\n#\n# upload.sh prepare_docs (deprecated) prepare the documentation directory\n# (this should be unecessary as the script which\n# fetches artifacts should create this folder from\n# the doc-tarball job)\n#\n# upload.sh upload_docs upload documentation to hackage from the hackage_docs folder\n#\n# upload.sh upload upload the tarballs and documentation\n# to downloads.haskell.org\n#\n# Prerequisites: moreutils\n\nif [ -z \"$SIGNING_KEY\" ]; then\n SIGNING_KEY=\"= <>\"\nfi\n\n\n# Infer release name from directory name\nif [ -z \"$rel_name\" ]; then\n rel_name=\"$(basename $(pwd))\"\nfi\n\n# Infer version from tarball names\nif [ -z \"$ver\" ]; then\n ver=\"$(ls ghc-*.tar.* | sed -ne 's/ghc-\\([0-9]\\+\\.[0-9]\\+\\.[0-9]\\+\\(\\.[0-9]\\+\\)\\?\\).\\+/\\1/p' | head -n1)\"\n if [ -z \"$ver\" ]; then echo \"Failed to infer \\$ver\"; exit 1; fi\nfi\n\nhost=\"gitlab-storage.haskell.org\"\n\nusage() {\n echo \"Usage: [rel_name=] ver=7.10.3-rc2 $0 \"\n echo\n echo \"where,\"\n echo \" ver gives the version number (e.g. the name of the tarballs, in the case of\"\n echo \" a release candidate something like 7.10.3.20150820, otherwise just 7.10.3)\"\n echo \" rel_name gives the release name (e.g. in the case of a release candidate 7.10.3-rc2\"\n echo \" otherwise just 7.10.3)\"\n echo \"and is one of,\"\n echo \" [nothing] do everything below\"\n echo \" recompress produce lzip and gzip tarballs from xz tarballs\"\n echo \" gen_hashes generated hashes of the release tarballs\"\n echo \" sign sign hashes of the release tarballs\"\n echo \" prepare_docs prepare the documentation directory\"\n echo \" upload_docs upload documentation downloads.haskell.org\"\n echo \" upload upload the tarballs and documentation to downloads.haskell.org\"\n echo \" purge_all purge entire release from the CDN\"\n echo \" purge_file file purge a given file from the CDN\"\n echo \" verify verify the signatures in this directory\"\n echo\n}\n\nif [ -z \"$ver\" ]; then\n usage\n exit 1\nfi\nif [ -z \"$rel_name\" ]; then\n rel_name=\"$ver\"\nfi\n\n# returns the set of files that must have hashes generated.\nfunction hash_files() {\n echo $(find -maxdepth 1 \\\n -iname '*.xz' \\\n -o -iname '*.lz' \\\n -o -iname '*.bz2' \\\n -o -iname '*.zip' \\\n )\n echo $(find -maxdepth 1 -iname '*.patch')\n}\n\nfunction gen_hashes() {\n echo -n \"Hashing...\"\n sha1sum $(hash_files) >| SHA1SUMS &\n sha256sum $(hash_files) >| SHA256SUMS &\n wait\n echo \"done\"\n}\n\nfunction sign() {\n # Kill DISPLAY lest pinentry won't work\n DISPLAY=\n eval \"$(gpg-agent --daemon --sh --pinentry-program $(which pinentry))\"\n for i in $(hash_files) SHA1SUMS SHA256SUMS; do\n if [ -e $i -a -e $i.sig -a $i.sig -nt $i ]; then\n echo \"Skipping signing of $i\"\n continue\n elif [ -e $i.sig ] && gpg2 --verify $i.sig; then\n # Don't resign if current signature is valid\n touch $i.sig\n continue\n fi\n echo \"Signing $i\"\n rm -f $i.sig\n gpg2 --use-agent --detach-sign --local-user=\"$SIGNING_KEY\" $i\n done\n}\n\nfunction verify() {\n if [ $(find -iname '*.sig' | wc -l) -eq 0 ]; then\n echo \"No signatures to verify\"\n return\n fi\n\n for i in *.sig; do\n echo\n echo Verifying $i\n gpg2 --verify $i $(basename $i .sig)\n done\n}\n\nfunction upload() {\n verify\n chmod ugo+r,o-w -R .\n dir=$(echo $rel_name | sed s/-release//)\n lftp -c \" \\\n\t open -u ghc: sftp://$host && \\\n\t mirror -P20 -c --reverse --exclude=fetch-gitlab --exclude=out . ghc/$dir && \\\n\t wait all;\"\n chmod ugo-w $(ls *.xz *.bz2 *.zip)\n}\n\nfunction purge_all() {\n # Purge CDN cache\n curl -X PURGE http://downloads.haskell.org/ghc/\n curl -X PURGE http://downloads.haskell.org/~ghc/\n curl -X PURGE http://downloads.haskell.org/ghc/$dir\n curl -X PURGE http://downloads.haskell.org/ghc/$dir/\n curl -X PURGE http://downloads.haskell.org/~ghc/$dir\n curl -X PURGE http://downloads.haskell.org/~ghc/$dir/\n for i in *; do\n purge_file $i\n done\n}\n\nfunction purge_file() {\n curl -X PURGE http://downloads.haskell.org/~ghc/$rel_name/$i\n curl -X PURGE http://downloads.haskell.org/~ghc/$rel_name/$i/\n curl -X PURGE http://downloads.haskell.org/~ghc/$rel_name/$i/docs/\n curl -X PURGE http://downloads.haskell.org/ghc/$rel_name/$i\n curl -X PURGE http://downloads.haskell.org/ghc/$rel_name/$i/\n curl -X PURGE http://downloads.haskell.org/ghc/$rel_name/$i/docs/\n}\n\nfunction prepare_docs() {\n echo \"THIS COMMAND IS DEPRECATED, THE DOCS FOLDER SHOULD BE PREPARED BY THE FETCH SCRIPT\"\n local tmp\n rm -Rf docs\n if [ -z \"$GHC_TREE\" ]; then\n tmp=\"$(mktemp -d)\"\n tar -xf \"ghc-$ver-src.tar.xz\" -C \"$tmp\"\n GHC_TREE=\"$tmp/ghc-$ver\"\n fi\n mkdocs=\"$GHC_TREE/distrib/mkDocs/mkDocs\"\n if [ ! -e \"$mkdocs\" ]; then\n echo \"Couldn't find GHC mkDocs at $mkdocs.\"\n echo \"Perhaps you need to override GHC_TREE?\"\n rm -Rf \"$tmp\"\n exit 1\n fi\n windows_bindist=\"$(ls ghc-$ver-x86_64-unknown-mingw32.tar.xz | head -n1)\"\n linux_bindist=\"$(ls ghc-$ver-x86_64-deb9-linux.tar.xz | head -n1)\"\n echo \"Windows bindist: $windows_bindist\"\n echo \"Linux bindist: $linux_bindist\"\n $ENTER_FHS_ENV $mkdocs $linux_bindist $windows_bindist\n if [ -d \"$tmp\" ]; then rm -Rf \"$tmp\"; fi\n\n mkdir -p docs/html\n tar -Jxf \"$linux_bindist\"\n cp -R \"ghc-$ver/docs/users_guide/build-html/users_guide docs/html/users_guide\"\n #cp -R ghc-$ver/utils/haddock/doc/haddock docs/html/haddock\n rm -R \"ghc-$ver\"\n\n tar -Jxf docs/libraries.html.tar.xz -C docs/html\n mv docs/index.html docs/html\n}\n\nfunction recompress() {\n combine <(basename -s .xz *.xz) not <(basename -s .lz *.lz) | \\\n parallel 'echo \"Recompressing {}.xz to {}.lz\"; unxz -c {}.xz | lzip - -o {}.lz'\n\n for darwin_bindist in $(ls ghc-*-darwin.tar.xz); do\n local dest=\"$(basename $darwin_bindist .xz).bz2\"\n if [[ ! -f \"$dest\" ]]; then\n echo \"Recompressing Darwin bindist to bzip2...\"\n unxz -c \"$darwin_bindist\" | bzip2 > \"$dest\"\n fi\n done\n\n for windows_bindist in $(ls ghc-*-mingw32*.tar.xz); do\n local tmp=\"$(mktemp -d tmp.XXX)\"\n local dest=\"$(realpath $(basename $windows_bindist .tar.xz).zip)\"\n echo $dest\n if [[ ! -f \"$dest\" ]]; then\n echo \"Recompressing Windows bindist to zip...\"\n tar -C \"$tmp\" -xf \"$windows_bindist\"\n ls $tmp\n (cd \"$tmp\"; zip -9 -r \"$dest\" *)\n fi\n rm -R \"$tmp\"\n done\n}\n\nfunction upload_docs() {\n local tmp=\"$(mktemp -d)\"\n tar -xf ghc-$ver-src.tar.xz -C \"$tmp\"\n GHC_TREE=\"$tmp/ghc-$ver\"\n local args=$@\n if [[ -n \"$PUBLISH\" ]]; then\n echo \"Publishing to Hackage...\"\n args+=( \"--publish\" )\n fi\n \"$GHC_TREE/.gitlab/rel_eng/upload_ghc_libs.py\" upload --docs=hackage_docs ${args[@]}\n}\n\nif [ \"x$1\" == \"x\" ]; then\n recompress\n gen_hashes\n sign\n if [ ! -d docs ]; then\n prepare_docs || ( rm -R docs; exit 1 )\n fi\n if [ -d hackage_docs ]; then\n upload_docs\n fi\n upload\n purge_all\nelse\n $@\nfi\n", "text_preview": "#!/usr/bin/env bash set -e # This is a script for preparing and uploading a release of GHC. # # Usage, # 1. Update $ver # 2. Set $SIGNING_KEY to your key id (prefixed with '=') # 3. Create a directory and place the source and binary tarball", "input_sha256": "92df931e124aac82ef886d950bce6bafd45bf16a39c5caf4dea3f5fb07f3f8d0", "text_sha256": "8267df8c8d5653e72f374f16976d6b56e6655e7f8c78afd9e2a51caa96899e6a", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 20048, "input_policy": "text-and-optional-url-v1", "label_policy_version": 12, "requested_model": "decision-models/baseten-mammoth-27b-latest", "backend": "baseten", "endpoint": "https://inference.baseten.co/v1/systemone", "status": "ok", "training_eligible": true, "label": {"primary": {"main_format": "Technical Writing", "sub_format": null}, "secondary": null, "tertiary": null, "content_structure": ["procedural_steps"]}, "candidate_label": null, "topic": {"primary": {"main_topic": "Programming & Software Engineering", "sub_topic": null}, "secondary": null}, "scores": {"content_quality": 1, "noise_severity": 0, "missing_content_severity": 0, "factual_density": 4, "pretraining_utility": 1, "math_density": 0, "code_density": 4, "reasoning_density": 0, "education_level": 3, "creative_writing_quality": null}, "score_expectations": {"content_quality": 0.8167116676769792, "noise_severity": 0.06164757981916691, "missing_content_severity": 0.020235603364732725, "factual_density": 3.2346962744374097, "pretraining_utility": 0.4884885993652305, "math_density": 0.00476974472989588, "code_density": 3.7734135939094022, "reasoning_density": 0.601042697360504, "education_level": 2.632771225956895, "creative_writing_quality": -0.07296040270694684}, "api_choices": {"primary": "Technical Writing", "secondary": "NONE", "tertiary": "NONE", "education_level": "3", "creative_writing_quality": "not_applicable", "primary_topic": "Programming & Software Engineering", "secondary_topic": "NONE"}, "review_reasons": [], "format_slot_diagnostics": {"comparable": true, "secondary_tertiary_identical": false, "secondary_tertiary_max_abs_gap": 0.30504988899768515, "secondary_choice": "NONE", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.9666981733557636, "secondary": 0.45540125941785115, "tertiary": 0.7737141870676095, "structured_records": 0.0037261844818526394, "procedural_steps": 0.7924485600005116, "worked_solution": 0.0013204839664919619, "contextual_dialogue": 4.779236396505742e-06, "content_quality": 0.4962260414397751, "noise_severity": 0.948627016817361, "missing_content_severity": 0.9831369971960561, "factual_density": 0.3622468953645084, "pretraining_utility": 0.4624156086613672, "math_density": 0.9960252127250868, "code_density": 0.8111779949245022, "reasoning_density": 0.4991310855329134, "education_level": 0.34396053993832093, "creative_writing_quality": 0.9983828995293779, "primary_topic": 0.9909699375236409, "secondary_topic": 0.9258990931045117}, "probability_margin": {"primary": 0.9414791660978291, "secondary": 0.06813609782161023, "tertiary": 0.6269365183564933, "education_level": 0.012706275759433505, "creative_writing_quality": 0.9978503683123197, "primary_topic": 0.9849151867668965, "secondary_topic": 0.8883880205470711}, "raw_probabilities": {"primary": {"Academic Writing": 8.731740325080522e-05, "Content Listing": 7.632828423794578e-05, "Creative Writing": 5.755701356704723e-05, "Customer Support Page": 0.00013539230931652687, "Q&A Forum": 4.355986519889445e-05, "Discussion Thread": 3.3622709129358726e-05, "Comment Section": 5.2635358207045806e-05, "Missing Content": 5.86250105754114e-05, "Knowledge Article": 0.000178952017923645, "Legal Notices": 6.851272175072278e-05, "News Article": 2.6064667894890588e-05, "Organizational Announcement": 6.245952583750659e-05, "Nonfiction Writing": 4.1005087319726636e-05, "Organizational About Page": 5.6460530363601084e-05, "Personal About Page": 3.745545622819113e-05, "Personal Blog": 2.8936295479363798e-05, "Product Page": 3.0202358602255753e-05, "Spam / Ads": 3.9254048003028846e-05, "Structured Data": 0.0001955948561461983, "Technical Writing": 0.9680857494659401, "Transcript / Interview": 6.374453926110103e-05, "Tutorial / How-To Guide": 0.026606583368110965, "User Reviews": 2.6280885305814815e-05, "Other / Unknown": 0.00390770622234999}, "secondary": {"Academic Writing": 0.0006811221006288051, "Content Listing": 0.0009129026732193171, "Creative Writing": 0.0004614318757747433, "Customer Support Page": 0.0015076217182743363, "Q&A Forum": 0.00037174299471714984, "Discussion Thread": 0.0002851089062198979, "Comment Section": 0.0004974710530849672, "Missing Content": 0.0005546857169331298, "Knowledge Article": 0.0017024099205135376, "Legal Notices": 0.0004956197404667625, "News Article": 0.00037998617336798627, "Organizational Announcement": 0.0005075562012382779, "Nonfiction Writing": 0.0004898668515230878, "Organizational About Page": 0.0005833454347498571, "Personal About Page": 0.00037962468713258104, "Personal Blog": 0.0003516030765118034, "Product Page": 0.00031543235743933495, "Spam / Ads": 0.00036390362780184773, "Structured Data": 0.000645879751755641, "Technical Writing": 0.09949568789884047, "Transcript / Interview": 0.0006651168042695847, "Tutorial / How-To Guide": 0.40995677578716383, "User Reviews": 0.0003022310395991247, "NONE": 0.47809287360877406}, "tertiary": {"Academic Writing": 0.0004223817375901885, "Content Listing": 0.0007661840105635467, "Creative Writing": 0.0003680521626675836, "Customer Support Page": 0.0010159726608669876, "Q&A Forum": 0.00018553168672753124, "Discussion Thread": 0.00014186620321270292, "Comment Section": 0.0002476515176203373, "Missing Content": 0.00043447928580455384, "Knowledge Article": 0.0017916854579535118, "Legal Notices": 0.00043025861564341324, "News Article": 0.00023641148789795612, "Organizational Announcement": 0.00038442728750340114, "Nonfiction Writing": 0.00024042028714672746, "Organizational About Page": 0.0003421425904469764, "Personal About Page": 0.00021708659346055204, "Personal Blog": 0.00018957286827011221, "Product Page": 0.00020258667280183588, "Spam / Ads": 0.00022956285470582025, "Structured Data": 0.0006222625432704657, "Technical Writing": 0.051696788284232964, "Transcript / Interview": 0.0003497075524324992, "Tutorial / How-To Guide": 0.15620624424996576, "User Reviews": 0.00013596078275543474, "NONE": 0.7831427626064591}, "structured_records": {"false": 0.9962738155181473, "true": 0.0037261844818526394}, "procedural_steps": {"false": 0.20755143999948844, "true": 0.7924485600005116}, "worked_solution": {"false": 0.998679516033508, "true": 0.0013204839664919619}, "contextual_dialogue": {"false": 0.9999952207636035, "true": 4.779236396505742e-06}, "content_quality": {"-2": 0.008469049209575547, "-1": 0.059605733628964604, "0": 0.2492899264109895, "1": 0.4720150817758458, "2": 0.21062020897462452}, "noise_severity": {"0": 0.9453837474122119, "1": 0.04965526632747476, "2": 0.0035182508587161157, "3": 0.0008151298321292773, "4": 0.0006276055694680215}, "missing_content_severity": {"0": 0.9834339604747991, "1": 0.013813531398936249, "2": 0.002039904865352065, "3": 0.00050815080855715, "4": 0.00020445245235522233}, "factual_density": {"0": 0.0033955831892144564, "1": 0.010951495319150446, "2": 0.1512193740037856, "3": 0.4164281588407096, "4": 0.4180053886471399}, "pretraining_utility": {"-2": 0.009473481976495125, "-1": 0.09131352439341472, "0": 0.36725884040424955, "1": 0.4651592187400459, "2": 0.06679493448579484}, "math_density": {"0": 0.9963644466095113, "1": 0.003013786865363072, "2": 0.0002995320976830912, "3": 0.00013204404060388625, "4": 0.0001901903868387417}, "code_density": {"0": 0.00035716772850703045, "1": 0.0006615715485728262, "2": 0.011714089644585653, "3": 0.19974484124167946, "4": 0.7875223298366552}, "reasoning_density": {"0": 0.6129785991005657, "1": 0.21830135849363816, "2": 0.13424770581890821, "3": 0.023643419118502405, "4": 0.01082891746838553}, "education_level": {"none": 0.0010098336242164727, "0": 0.0019849023119571925, "1": 0.007806564293438621, "2": 0.4405941741891673, "3": 0.4533004499486008, "4": 0.0953040756326196}, "creative_writing_quality": {"not_applicable": 0.9986524162744815, "-2": 0.00010144242419717636, "-1": 0.00020149085227965066, "0": 0.0008020479621619331, "1": 0.00017914952438067024, "2": 6.34529624990872e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 4.339680227171992e-05, "Art & Design": 7.058114192283741e-05, "Law & Crime": 5.965629633845385e-05, "Education & Careers": 4.743897542697724e-05, "Entertainment & Media": 2.9718575441080154e-05, "Fashion & Beauty": 2.6447238423198193e-05, "Business, Economics & Finance": 0.0001757863084395907, "Food & Dining": 3.315329276046212e-05, "Games & Gaming": 6.951452193395062e-05, "Electronics & Hardware": 0.00022510036301312086, "Health, Healthcare & Wellness": 2.6575525251199843e-05, "History & Geography": 4.6824406260833945e-05, "Home, Pets & Hobbies": 3.174991504385841e-05, "Industry & Production": 7.458032926492076e-05, "Language, Literature & Philosophy": 0.00011530700581642796, "Politics & Government": 3.1086890115051064e-05, "Religion & Spirituality": 4.4768536457685866e-05, "Science, Mathematics & Engineering": 0.00044778337373332526, "Relationships & Community": 2.3632557789024266e-05, "Software Usage & Applications": 0.0064020608519890256, "Programming & Software Engineering": 0.9913172476188855, "Sports & Fitness": 4.806722592877813e-05, "Vehicles & Transportation": 3.0419138921216634e-05, "Travel & Tourism": 4.639820341337345e-05, "Other / Uncovered Subject": 0.0004498957806785054, "Unknown / Insufficient Content": 8.280912448008592e-05}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0003149444282736408, "Art & Design": 0.0002556527306543161, "Law & Crime": 0.0005274326635073336, "Education & Careers": 0.0002095041085032146, "Entertainment & Media": 0.00022437467300562947, "Fashion & Beauty": 0.00012397588295460658, "Business, Economics & Finance": 0.0004998635009819897, "Food & Dining": 0.00013465651805000232, "Games & Gaming": 0.00019200432791533926, "Electronics & Hardware": 0.0006174009254962578, "Health, Healthcare & Wellness": 0.0001551328088066515, "History & Geography": 0.00016194488367355267, "Home, Pets & Hobbies": 0.00011349693804879058, "Industry & Production": 0.00017337710833310814, "Language, Literature & Philosophy": 0.00013166289500173839, "Politics & Government": 0.0001590294668344685, "Religion & Spirituality": 0.00017569263554085697, "Science, Mathematics & Engineering": 0.00077026368595892, "Relationships & Community": 9.556466200247058e-05, "Software Usage & Applications": 0.04036110743803625, "Programming & Software Engineering": 0.024996835593961708, "Sports & Fitness": 0.00013227076573660396, "Vehicles & Transportation": 8.299508414557098e-05, "Travel & Tourism": 0.00017879234270759504, "Other / Uncovered Subject": 0.0004628959467620863, "NONE": 0.9287491279851073}}, "probabilities": {"primary": {"Academic Writing": 8.731740325080522e-05, "Content Listing": 7.632828423794578e-05, "Creative Writing": 5.755701356704723e-05, "Customer Support Page": 0.00013539230931652687, "Q&A Forum": 4.355986519889445e-05, "Discussion Thread": 3.3622709129358726e-05, "Comment Section": 5.2635358207045806e-05, "Missing Content": 5.86250105754114e-05, "Knowledge Article": 0.000178952017923645, "Legal Notices": 6.851272175072278e-05, "News Article": 2.6064667894890588e-05, "Organizational Announcement": 6.245952583750659e-05, "Nonfiction Writing": 4.1005087319726636e-05, "Organizational About Page": 5.6460530363601084e-05, "Personal About Page": 3.745545622819113e-05, "Personal Blog": 2.8936295479363798e-05, "Product Page": 3.0202358602255753e-05, "Spam / Ads": 3.9254048003028846e-05, "Structured Data": 0.0001955948561461983, "Technical Writing": 0.9680857494659401, "Transcript / Interview": 6.374453926110103e-05, "Tutorial / How-To Guide": 0.026606583368110965, "User Reviews": 2.6280885305814815e-05, "Other / Unknown": 0.00390770622234999}, "secondary": {"Academic Writing": 0.000681122100628805, "Content Listing": 0.0009129026732193169, "Creative Writing": 0.0004614318757747432, "Customer Support Page": 0.0015076217182743358, "Q&A Forum": 0.00037174299471714973, "Discussion Thread": 0.00028510890621989785, "Comment Section": 0.0004974710530849671, "Missing Content": 0.0005546857169331297, "Knowledge Article": 0.0017024099205135371, "Legal Notices": 0.0004956197404667624, "News Article": 0.00037998617336798616, "Organizational Announcement": 0.0005075562012382778, "Nonfiction Writing": 0.0004898668515230877, "Organizational About Page": 0.000583345434749857, "Personal About Page": 0.00037962468713258093, "Personal Blog": 0.0003516030765118033, "Product Page": 0.0003154323574393349, "Spam / Ads": 0.0003639036278018477, "Structured Data": 0.0006458797517556408, "Technical Writing": 0.09949568789884045, "Transcript / Interview": 0.0006651168042695846, "Tutorial / How-To Guide": 0.4099567757871637, "User Reviews": 0.0003022310395991246, "NONE": 0.47809287360877395}, "tertiary": {"Academic Writing": 0.0004223817375901885, "Content Listing": 0.0007661840105635467, "Creative Writing": 0.0003680521626675836, "Customer Support Page": 0.0010159726608669876, "Q&A Forum": 0.00018553168672753124, "Discussion Thread": 0.00014186620321270292, "Comment Section": 0.0002476515176203373, "Missing Content": 0.00043447928580455384, "Knowledge Article": 0.0017916854579535118, "Legal Notices": 0.00043025861564341324, "News Article": 0.00023641148789795612, "Organizational Announcement": 0.00038442728750340114, "Nonfiction Writing": 0.00024042028714672746, "Organizational About Page": 0.0003421425904469764, "Personal About Page": 0.00021708659346055204, "Personal Blog": 0.00018957286827011221, "Product Page": 0.00020258667280183588, "Spam / Ads": 0.00022956285470582025, "Structured Data": 0.0006222625432704657, "Technical Writing": 0.051696788284232964, "Transcript / Interview": 0.0003497075524324992, "Tutorial / How-To Guide": 0.15620624424996576, "User Reviews": 0.00013596078275543474, "NONE": 0.7831427626064591}, "structured_records": {"false": 0.9962738155181473, "true": 0.0037261844818526394}, "procedural_steps": {"false": 0.20755143999948844, "true": 0.7924485600005116}, "worked_solution": {"false": 0.998679516033508, "true": 0.0013204839664919619}, "contextual_dialogue": {"false": 0.9999952207636035, "true": 4.779236396505742e-06}, "content_quality": {"-2": 0.008469049209575549, "-1": 0.05960573362896461, "0": 0.24928992641098952, "1": 0.47201508177584584, "2": 0.21062020897462455}, "noise_severity": {"0": 0.9453837474122119, "1": 0.04965526632747476, "2": 0.0035182508587161157, "3": 0.0008151298321292773, "4": 0.0006276055694680215}, "missing_content_severity": {"0": 0.9834339604747994, "1": 0.013813531398936253, "2": 0.0020399048653520655, "3": 0.0005081508085571501, "4": 0.00020445245235522239}, "factual_density": {"0": 0.0033955831892144564, "1": 0.010951495319150446, "2": 0.1512193740037856, "3": 0.4164281588407096, "4": 0.4180053886471399}, "pretraining_utility": {"-2": 0.009473481976495123, "-1": 0.09131352439341471, "0": 0.3672588404042495, "1": 0.4651592187400458, "2": 0.06679493448579482}, "math_density": {"0": 0.9963644466095113, "1": 0.003013786865363072, "2": 0.0002995320976830912, "3": 0.00013204404060388625, "4": 0.0001901903868387417}, "code_density": {"0": 0.0003571677285070304, "1": 0.0006615715485728261, "2": 0.011714089644585651, "3": 0.1997448412416794, "4": 0.7875223298366549}, "reasoning_density": {"0": 0.6129785991005657, "1": 0.21830135849363816, "2": 0.13424770581890821, "3": 0.023643419118502405, "4": 0.01082891746838553}, "education_level": {"none": 0.0010098336242164727, "0": 0.0019849023119571925, "1": 0.007806564293438621, "2": 0.4405941741891673, "3": 0.4533004499486008, "4": 0.0953040756326196}, "creative_writing_quality": {"not_applicable": 0.9986524162744815, "-2": 0.00010144242419717636, "-1": 0.00020149085227965066, "0": 0.0008020479621619331, "1": 0.00017914952438067024, "2": 6.34529624990872e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 4.339680227171991e-05, "Art & Design": 7.05811419228374e-05, "Law & Crime": 5.9656296338453836e-05, "Education & Careers": 4.743897542697723e-05, "Entertainment & Media": 2.9718575441080148e-05, "Fashion & Beauty": 2.6447238423198186e-05, "Business, Economics & Finance": 0.00017578630843959067, "Food & Dining": 3.315329276046211e-05, "Games & Gaming": 6.951452193395061e-05, "Electronics & Hardware": 0.0002251003630131208, "Health, Healthcare & Wellness": 2.6575525251199836e-05, "History & Geography": 4.682440626083393e-05, "Home, Pets & Hobbies": 3.1749915043858404e-05, "Industry & Production": 7.458032926492074e-05, "Language, Literature & Philosophy": 0.00011530700581642793, "Politics & Government": 3.108689011505106e-05, "Religion & Spirituality": 4.476853645768586e-05, "Science, Mathematics & Engineering": 0.00044778337373332515, "Relationships & Community": 2.363255778902426e-05, "Software Usage & Applications": 0.006402060851989024, "Programming & Software Engineering": 0.9913172476188853, "Sports & Fitness": 4.806722592877812e-05, "Vehicles & Transportation": 3.0419138921216627e-05, "Travel & Tourism": 4.639820341337344e-05, "Other / Uncovered Subject": 0.0004498957806785053, "Unknown / Insufficient Content": 8.28091244800859e-05}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0003149444282736408, "Art & Design": 0.0002556527306543161, "Law & Crime": 0.0005274326635073336, "Education & Careers": 0.0002095041085032146, "Entertainment & Media": 0.00022437467300562947, "Fashion & Beauty": 0.00012397588295460658, "Business, Economics & Finance": 0.0004998635009819897, "Food & Dining": 0.00013465651805000232, "Games & Gaming": 0.00019200432791533926, "Electronics & Hardware": 0.0006174009254962578, "Health, Healthcare & Wellness": 0.0001551328088066515, "History & Geography": 0.00016194488367355267, "Home, Pets & Hobbies": 0.00011349693804879058, "Industry & Production": 0.00017337710833310814, "Language, Literature & Philosophy": 0.00013166289500173839, "Politics & Government": 0.0001590294668344685, "Religion & Spirituality": 0.00017569263554085697, "Science, Mathematics & Engineering": 0.00077026368595892, "Relationships & Community": 9.556466200247058e-05, "Software Usage & Applications": 0.04036110743803625, "Programming & Software Engineering": 0.024996835593961708, "Sports & Fitness": 0.00013227076573660396, "Vehicles & Transportation": 8.299508414557098e-05, "Travel & Tourism": 0.00017879234270759504, "Other / Uncovered Subject": 0.0004628959467620863, "NONE": 0.9287491279851073}}, "probability_diagnostics": {"primary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "tertiary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "structured_records": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "procedural_steps": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "worked_solution": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "contextual_dialogue": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "content_quality": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "noise_severity": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "missing_content_severity": {"raw_sum": 0.9999999999999998, "mass_delta": -2.220446049250313e-16, "missing_mass": 2.220446049250313e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "factual_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "pretraining_utility": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "math_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "code_density": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "reasoning_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "education_level": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "creative_writing_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "primary_topic": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "secondary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}}, "usage": {"input_tokens": 11000, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 11000, "cached_share": null, "cache_discount_reported": null, "reported_cost_usd": null}, "response_metadata": {"model": "decision-models/baseten-mammoth-27b-latest"}, "scored_at_utc": "2026-10-25T18:32:11.452537+00:00", "scoring_key_slot": "assistant_1", "dataset_uid": "e38fe11f-f8b5-46d2-a365-4dad0d8c4ab0", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "5109f2f8638556f831c7817bdd934a9234f69e29e2e4241665fb5743c30131a6", "source_metadata": {"uuid": "e38fe11f-f8b5-46d2-a365-4dad0d8c4ab0", "repo_name": "ywgrit/ghc-9.6.6", "relative_path": ".gitlab/rel_eng/upload.sh", "category": "TOOL", "algo_rel_score": 0.9878153800964355, "quality_score": 4.707024097442627, "source_meta": {"github_metadata": {"branch": "master", "commit_count": 10, "repo_created_at": "2024-11-16T01:45:51.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 0, "forks": 0, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "fa0b5ee6729a945b20e4ae2f662b8c1925c0e90c", "size_bytes": 8092, "file_timestamp": 1733114614, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "d7f6d2db3f1a8974f3416b38adbfaa2243cbca9a"}}, "parsed_source_meta": {"github_metadata": {"branch": "master", "commit_count": 10, "repo_created_at": "2024-11-16T01:45:51.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 0, "forks": 0, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "fa0b5ee6729a945b20e4ae2f662b8c1925c0e90c", "size_bytes": 8092, "file_timestamp": 1733114614, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "d7f6d2db3f1a8974f3416b38adbfaa2243cbca9a", "url": "https://github.com/ywgrit/ghc-9.6.6/blob/d7f6d2db3f1a8974f3416b38adbfaa2243cbca9a/.gitlab/rel_eng/upload.sh"}, "gpt4o_tokens": 2368, "dataset_split": "shell", "probability_weighted_scores": {"content_quality": 0.8167116676769792, "noise_severity": 0.06164757981916691, "missing_content_severity": 0.020235603364732725, "factual_density": 3.2346962744374097, "pretraining_utility": 0.48848859936523054, "math_density": 0.00476974472989588, "code_density": 3.7734135939094027, "reasoning_density": 0.601042697360504, "education_level": 2.632771225956895, "creative_writing_quality": -0.07296040270694684}, "score_applicability": {"education_level": 0.9989901663757835, "creative_writing_quality": 0.0013475837255185175}} {"source_group": "shell", "source": "openbmb/UltraData-Stack-v3-L2/shell", "domain": "github.com", "language": "shell", "url": "https://github.com/justyns/jdotfiles/blob/d03f4ceb9cdac40bb54a59f7b602bd21b73a6fa8/install.sh", "id": "shell-0-5bd785ff4f208ae6001e3a8c3b89565b", "text": "#!/bin/bash\n# Author: < [at] >\n# Last Updated: 07/15/2012\n#\n# Script to link my dot files and configs to where they belong\n. bash/colors\n\n#Check and see if these commands exist on the system\nreqcommands=\"vim git python ruby screen tmux mutt pyflakes hg ack ag ctags flake8 go zsh bat editorconfig\"\nfor com in $reqcommands;\ndo\n\thash ${com} 2>&- || echo -e >&2 \"${RedF}${com}${reset}: not installed\"\ndone\n\n\ndotdir=$(pwd)\nignore=\"README.md .git install.sh bin update.sh misc .config tags\"\nfor file in *; \ndo\n if [[ \"$ignore\" =~ \"$file\" ]]; then\n # ignore file\n echo -n\n else\n if [ -f $HOME/.$file ] && [ ! -L $HOME/.$file ]; then\n echo -e \"${RedF}$file${reset}: Exists but not a symlink. You should backup and delete(or move) it.\"\n continue\n fi\n if [ -h $HOME/.$file ]; then\n echo -e \"${GreenF}.$file${reset}: symlink exists\"\n else\n\t if [ -d $HOME/.$file ]; then\n\t\t echo -e \"${RedF}.$file${reset}: is a directory. You should backup and delete(or move) it.\"\n\t else\n \t echo -e \"${YellowF}$file${reset}: Linking to ${BoldOn}$HOME/.$file${reset}\"\n ln -s $dotdir/$file $HOME/.$file\n\t fi\n fi\n fi\ndone\n\n#Link files in the ~bin directory\n#TODO: make a function instead of copying/pasting the code above :)\n\nignore=\"README.md .git install.sh bin\"\ncd ${dotdir}/bin\nmkdir -pv ${HOME}/bin\nfor file in *;\ndo\n if [[ \"$ignore\" =~ \"$file\" ]]; then\n # ignore file\n echo -n\n else\n if [ -f $HOME/bin/$file ] && [ ! -L $HOME/bin/$file ]; then\n echo -e \"${RedF}$file${reset}: Exists but not a symlink. You should backup and delete(or move) it.\"\n continue\n fi\n if [ -h $HOME/bin/$file ]; then\n echo -e \"${GreenF}bin/$file${reset}: symlink exists\"\n else\n if [ -d $HOME/bin/$file ]; then\n echo -e \"${RedF}bin/$file${reset}: is a directory. You should backup and delete(or move) it.\"\n else\n echo -e \"${YellowF}bin/$file${reset}: Linking to ${BoldOn}$HOME/bin/$file${reset}\"\n ln -s $dotdir/bin/$file $HOME/bin/$file\n fi\n fi\n fi\ndone\n\n# Do the same for the config dir\n# TODO: This should all really be moved into functions\n# TODO: Migrate to ~/.local/bin ?\nignore=\"README.md .gitkeep\"\ncd ${dotdir}/config\nmkdir -pv ${HOME}/.config\nfor file in *;\ndo\n if [[ \"$ignore\" =~ \"$file\" ]]; then\n # ignore file\n echo -n\n else\n if [ -f $HOME/.config/$file ] && [ ! -L $HOME/.config/$file ]; then\n echo -e \"${RedF}$file${reset}: Exists but not a symlink. You should backup and delete(or move) it.\"\n continue\n fi\n if [ -h $HOME/.config/$file ]; then\n echo -e \"${GreenF}.config/$file${reset}: symlink exists\"\n else\n if [ -d $HOME/.config/$file ]; then\n echo -e \"${RedF}.config/$file${reset}: is a directory. You should backup and delete(or move) it.\"\n else\n echo -e \"${YellowF}.config/$file${reset}: Linking to ${BoldOn}$HOME/config/$file${reset}\"\n ln -s $dotdir/config/$file $HOME/.config/$file\n fi\n fi\n fi\ndone\n\n#echo \"Installing youcompleteme for vim\"\n#cd ~/.vim/bundle/YouCompleteMe\n#./install.py --clang-completer --gocode-completer\necho \"Installing vim plugins\"\nvim +PlugInstall +qall\n\n# Install oh-my-zsh and extra plugins/themes\necho \"Installing oh-my-zsh and plugins\"\n# [[ ! -d $HOME/.oh-my-zsh ]] && git clone --depth=1 https://github.com/robbyrussell/oh-my-zsh.git $HOME/.oh-my-zsh\nif [[ -d $HOME/.oh-my-zsh ]]; then\n [[ ! -d ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom} ]] && mkdir -pv ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/{themes,plugins}\n\n # Install spaceship\n [[ ! -d $HOME/.oh-my-zsh/custom/themes/spaceship-prompt ]] \\\n && git clone --depth=1 https://github.com/denysdovhan/spaceship-prompt.git $HOME/.oh-my-zsh/custom/themes/spaceship-prompt \\\n && ln -sv $HOME/.oh-my-zsh/custom/themes/spaceship-prompt/spaceship.zsh-theme $HOME/.oh-my-zsh/custom/themes/spaceship.zsh-theme\n\n # Install powerline10k\n [[ ! -d ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k ]] && git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k\n\n [[ ! -d $HOME/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting ]] && git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting\n\n [[ ! -d ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/evalcache ]] && git clone https://github.com/mroth/evalcache ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/evalcache\nelse\n echo -e \"Run this to install oh-my-zsh: \\n sh -c '\\$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)'\"\nfi\n\nif [[ ! -f ~/.gitconfig.local ]]; then\n echo -e \"${RedF}~/.gitconfig.local${reset}: Doesn't exist. You should create it with something like: \\n[user]\\n\\tname = \\n\\temail = \\n\";\nelse\n echo -e \"${GreenF}~/.gitconfig.local${reset}: exists\"\nfi\n\n# I should probably split tasks like this into separate files\n\n# Knife on windows or wsl is super slow, rehash causes it to cache the list of knife sub commands and speeds it up quite a bit\nhash knife 2>&- && knife rehash\n", "text_preview": "#!/bin/bash # Author: < [at] > # Last Updated: 07/15/2012 # # Script to link my dot files and configs to where they belong . bash/colors #Check and see if these commands exist on the system reqcommands=\"vim git python", "input_sha256": "d33307d46a31d519ae0556949508af336cc78e16173d013ec213152999d926ae", "text_sha256": "5bd785ff4f208ae6001e3a8c3b89565b9f8d98b1931b3e35710432b40f726d30", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 20051, "input_policy": "text-and-optional-url-v1", "label_policy_version": 12, "requested_model": "decision-models/baseten-mammoth-27b-latest", "backend": "baseten", "endpoint": "https://inference.baseten.co/v1/systemone", "status": "ok", "training_eligible": true, "label": {"primary": {"main_format": "Technical Writing", "sub_format": null}, "secondary": null, "tertiary": null, "content_structure": []}, "candidate_label": null, "topic": {"primary": {"main_topic": "Programming & Software Engineering", "sub_topic": null}, "secondary": null}, "scores": {"content_quality": 0, "noise_severity": 0, "missing_content_severity": 0, "factual_density": 3, "pretraining_utility": 0, "math_density": 0, "code_density": 4, "reasoning_density": 0, "education_level": 2, "creative_writing_quality": null}, "score_expectations": {"content_quality": 0.3360281767098502, "noise_severity": 0.19327726527613423, "missing_content_severity": 0.10391726235783685, "factual_density": 2.6997958674164417, "pretraining_utility": 0.2912202638244501, "math_density": 0.0009488937263703403, "code_density": 3.840604901868047, "reasoning_density": 0.5289422205205719, "education_level": 2.0999394033257377, "creative_writing_quality": -0.35341505689716474}, "api_choices": {"primary": "Technical Writing", "secondary": "NONE", "tertiary": "NONE", "education_level": "2", "creative_writing_quality": "not_applicable", "primary_topic": "Programming & Software Engineering", "secondary_topic": "NONE"}, "review_reasons": [], "format_slot_diagnostics": {"comparable": true, "secondary_tertiary_identical": false, "secondary_tertiary_max_abs_gap": 0.03461319130681684, "secondary_choice": "NONE", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.9551080319929425, "secondary": 0.8733226765590061, "tertiary": 0.9094407892269889, "structured_records": 0.011463008464734945, "procedural_steps": 0.31534648671440196, "worked_solution": 0.0013410201213867193, "contextual_dialogue": 6.1660459549886835e-06, "content_quality": 0.41519999954065223, "noise_severity": 0.8389356122698882, "missing_content_severity": 0.9134022813684692, "factual_density": 0.3891891020771864, "pretraining_utility": 0.4791085437158433, "math_density": 0.9992092552280247, "code_density": 0.8671707515567058, "reasoning_density": 0.5592148162328567, "education_level": 0.7101292973252302, "creative_writing_quality": 0.9992355484142379, "primary_topic": 0.8307201116184864, "secondary_topic": 0.5131536816000081}, "probability_margin": {"primary": 0.9230689740257164, "secondary": 0.8176866288740002, "tertiary": 0.8654539960899995, "education_level": 0.6027490883583554, "creative_writing_quality": 0.9990895696962463, "primary_topic": 0.6788769008150402, "secondary_topic": 0.1697861527451492}, "raw_probabilities": {"primary": {"Academic Writing": 0.00012637103691348468, "Content Listing": 0.00013828132272709608, "Creative Writing": 0.00010118460119452676, "Customer Support Page": 8.007976079723076e-05, "Q&A Forum": 6.609454243690317e-05, "Discussion Thread": 5.539781105865984e-05, "Comment Section": 9.267571859251128e-05, "Missing Content": 0.00011503920682597844, "Knowledge Article": 0.000257665156890928, "Legal Notices": 9.74492530315447e-05, "News Article": 4.450373510034675e-05, "Organizational Announcement": 6.852979277687175e-05, "Nonfiction Writing": 8.362889574960197e-05, "Organizational About Page": 9.004639962542403e-05, "Personal About Page": 0.0002579332633641887, "Personal Blog": 6.872436920729873e-05, "Product Page": 4.8292409696843784e-05, "Spam / Ads": 7.76129307984538e-05, "Structured Data": 0.0002770556392758717, "Technical Writing": 0.9569785306599032, "Transcript / Interview": 0.00010421043398509366, "Tutorial / How-To Guide": 0.03390955663418684, "User Reviews": 4.3461780518471506e-05, "Other / Unknown": 0.006817674645342736}, "secondary": {"Academic Writing": 0.00036301384824596097, "Content Listing": 0.000480194090047412, "Creative Writing": 0.00032566957113439016, "Customer Support Page": 0.0002905215980717346, "Q&A Forum": 0.00018269435196521157, "Discussion Thread": 0.0001346317670271328, "Comment Section": 0.0003287672093537747, "Missing Content": 0.000613724409250552, "Knowledge Article": 0.0007218232399118227, "Legal Notices": 0.00036945911650380594, "News Article": 0.00021081120520799102, "Organizational Announcement": 0.00021438242805442336, "Nonfiction Writing": 0.0002413882560949654, "Organizational About Page": 0.0002632417378948702, "Personal About Page": 0.0011817218718599095, "Personal Blog": 0.0004592379255189248, "Product Page": 0.0001305247433443823, "Spam / Ads": 0.00020185638604560473, "Structured Data": 0.0005984552873932162, "Technical Writing": 0.05279136552000124, "Transcript / Interview": 0.0002697972867365521, "Tutorial / How-To Guide": 0.06091426949504725, "User Reviews": 0.00011155028624138349, "NONE": 0.8786008983690475}, "tertiary": {"Academic Writing": 0.00023039317062660818, "Content Listing": 0.00043288749248883104, "Creative Writing": 0.00022969234301060227, "Customer Support Page": 0.00018938291586918733, "Q&A Forum": 0.00011036767220269635, "Discussion Thread": 9.193824572495556e-05, "Comment Section": 0.0002665877005241442, "Missing Content": 0.0009393664728562295, "Knowledge Article": 0.0008581993871554646, "Legal Notices": 0.0008117364624199416, "News Article": 0.00012744127526252268, "Organizational Announcement": 0.00015613403995325942, "Nonfiction Writing": 0.00026938914586510003, "Organizational About Page": 0.00020318024448181938, "Personal About Page": 0.003951919036037997, "Personal Blog": 0.0007606274832627861, "Product Page": 9.454811716315838e-05, "Spam / Ads": 0.0001650488684031214, "Structured Data": 0.00048029029003292153, "Technical Writing": 0.02839973323561092, "Transcript / Interview": 0.00017985954507727462, "Tutorial / How-To Guide": 0.047760093585864874, "User Reviews": 7.709359424123815e-05, "NONE": 0.9132140896758644}, "structured_records": {"false": 0.9885369915352651, "true": 0.011463008464734945}, "procedural_steps": {"false": 0.684653513285598, "true": 0.31534648671440196}, "worked_solution": {"false": 0.9986589798786133, "true": 0.0013410201213867193}, "contextual_dialogue": {"false": 0.9999938339540451, "true": 6.1660459549886835e-06}, "content_quality": {"-2": 0.014473411299513588, "-1": 0.15391908932165635, "0": 0.3918582268013506, "1": 0.3606044565244253, "2": 0.0791448160530542}, "noise_severity": {"0": 0.8358723528342198, "1": 0.14105050296052746, "2": 0.018712556949397, "3": 0.0026567006066100553, "4": 0.0017078866492456412}, "missing_content_severity": {"0": 0.9241131972741338, "1": 0.05277048076102317, "2": 0.019228127995136776, "3": 0.002862250272285226, "4": 0.0010259436974211125}, "factual_density": {"0": 0.017283695237269688, "1": 0.09059109819862314, "2": 0.28355532293641217, "3": 0.39218541116578637, "4": 0.21638447246190873}, "pretraining_utility": {"-2": 0.011082429147931009, "-1": 0.1447598835624069, "0": 0.424686912020998, "1": 0.38079654485460906, "2": 0.038674230414054975}, "math_density": {"0": 0.9993406439209443, "1": 0.0005150499190761603, "2": 5.7200430144965756e-05, "3": 2.8979972333520057e-05, "4": 5.812575750092206e-05}, "code_density": {"0": 0.0003379411155092216, "1": 0.0007065933354852731, "2": 0.013523724780572632, "3": 0.12887610410231506, "4": 0.8565556366661178}, "reasoning_density": {"0": 0.6621470032208924, "1": 0.19342781612951981, "2": 0.1102893379605348, "3": 0.02160764228622933, "4": 0.01252820040282363}, "education_level": {"none": 0.0017653506083132535, "0": 0.0034337485834168686, "1": 0.07013239141856813, "2": 0.7584410811043585, "3": 0.15569199274600307, "4": 0.010535435539340355}, "creative_writing_quality": {"not_applicable": 0.999362957011865, "-2": 9.914807643778509e-05, "-1": 0.00016052716345923916, "0": 0.00027338731561863153, "1": 7.427813280174461e-05, "2": 2.970229981768231e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 0.00016781408230102482, "Art & Design": 0.0003048338010471667, "Law & Crime": 0.00023929349076209897, "Education & Careers": 0.00014128640501366588, "Entertainment & Media": 0.00016472041366740535, "Fashion & Beauty": 0.00013745912345925718, "Business, Economics & Finance": 0.00017777890266153655, "Food & Dining": 0.0001377768620041006, "Games & Gaming": 0.00025186664635481077, "Electronics & Hardware": 0.0002751739942344512, "Health, Healthcare & Wellness": 0.0001298078277141742, "History & Geography": 0.00019177329083846565, "Home, Pets & Hobbies": 0.00021554043772182766, "Industry & Production": 0.00016860670583927645, "Language, Literature & Philosophy": 0.00018175726741046958, "Politics & Government": 9.123336536589654e-05, "Religion & Spirituality": 0.0001311530293771165, "Science, Mathematics & Engineering": 0.0002031731153290967, "Relationships & Community": 0.0001323676158829284, "Software Usage & Applications": 0.15835397574119675, "Programming & Software Engineering": 0.8372308765562368, "Sports & Fitness": 0.00021782518513900961, "Vehicles & Transportation": 9.325903435254478e-05, "Travel & Tourism": 0.00015888666481467804, "Other / Uncovered Subject": 0.0003171101871533778, "Unknown / Insufficient Content": 0.0001846502541221708}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0007046332515190339, "Art & Design": 0.0006900821068621904, "Law & Crime": 0.0005959799357649735, "Education & Careers": 0.00040396362690234055, "Entertainment & Media": 0.0005584038744762496, "Fashion & Beauty": 0.0003385050109349716, "Business, Economics & Finance": 0.0005211939827213344, "Food & Dining": 0.0002901667168952308, "Games & Gaming": 0.0004625767078197737, "Electronics & Hardware": 0.0008137437900027603, "Health, Healthcare & Wellness": 0.00035486457489142915, "History & Geography": 0.00038671317727626345, "Home, Pets & Hobbies": 0.00041904561932924246, "Industry & Production": 0.00034820835920831736, "Language, Literature & Philosophy": 0.0003119127972745673, "Politics & Government": 0.00025018300399331275, "Religion & Spirituality": 0.0003498920641064688, "Science, Mathematics & Engineering": 0.0006110422398136478, "Relationships & Community": 0.00028158945831591414, "Software Usage & Applications": 0.3620923872548586, "Programming & Software Engineering": 0.09557689293877286, "Sports & Fitness": 0.0003637878508487206, "Vehicles & Transportation": 0.00021374831196311716, "Travel & Tourism": 0.0005264891749972088, "Other / Uncovered Subject": 0.0006554541704436592, "NONE": 0.5318785400000078}}, "probabilities": {"primary": {"Academic Writing": 0.00012637103691348465, "Content Listing": 0.00013828132272709605, "Creative Writing": 0.00010118460119452674, "Customer Support Page": 8.007976079723075e-05, "Q&A Forum": 6.609454243690316e-05, "Discussion Thread": 5.539781105865983e-05, "Comment Section": 9.267571859251125e-05, "Missing Content": 0.00011503920682597842, "Knowledge Article": 0.00025766515689092795, "Legal Notices": 9.744925303154467e-05, "News Article": 4.450373510034674e-05, "Organizational Announcement": 6.852979277687173e-05, "Nonfiction Writing": 8.362889574960195e-05, "Organizational About Page": 9.004639962542402e-05, "Personal About Page": 0.00025793326336418865, "Personal Blog": 6.872436920729871e-05, "Product Page": 4.829240969684377e-05, "Spam / Ads": 7.761293079845379e-05, "Structured Data": 0.00027705563927587167, "Technical Writing": 0.956978530659903, "Transcript / Interview": 0.00010421043398509364, "Tutorial / How-To Guide": 0.033909556634186835, "User Reviews": 4.34617805184715e-05, "Other / Unknown": 0.006817674645342734}, "secondary": {"Academic Writing": 0.00036301384824596097, "Content Listing": 0.000480194090047412, "Creative Writing": 0.00032566957113439016, "Customer Support Page": 0.0002905215980717346, "Q&A Forum": 0.00018269435196521157, "Discussion Thread": 0.0001346317670271328, "Comment Section": 0.0003287672093537747, "Missing Content": 0.000613724409250552, "Knowledge Article": 0.0007218232399118227, "Legal Notices": 0.00036945911650380594, "News Article": 0.00021081120520799102, "Organizational Announcement": 0.00021438242805442336, "Nonfiction Writing": 0.0002413882560949654, "Organizational About Page": 0.0002632417378948702, "Personal About Page": 0.0011817218718599095, "Personal Blog": 0.0004592379255189248, "Product Page": 0.0001305247433443823, "Spam / Ads": 0.00020185638604560473, "Structured Data": 0.0005984552873932162, "Technical Writing": 0.05279136552000124, "Transcript / Interview": 0.0002697972867365521, "Tutorial / How-To Guide": 0.06091426949504725, "User Reviews": 0.00011155028624138349, "NONE": 0.8786008983690475}, "tertiary": {"Academic Writing": 0.00023039317062660818, "Content Listing": 0.00043288749248883104, "Creative Writing": 0.00022969234301060227, "Customer Support Page": 0.00018938291586918733, "Q&A Forum": 0.00011036767220269635, "Discussion Thread": 9.193824572495556e-05, "Comment Section": 0.0002665877005241442, "Missing Content": 0.0009393664728562295, "Knowledge Article": 0.0008581993871554646, "Legal Notices": 0.0008117364624199416, "News Article": 0.00012744127526252268, "Organizational Announcement": 0.00015613403995325942, "Nonfiction Writing": 0.00026938914586510003, "Organizational About Page": 0.00020318024448181938, "Personal About Page": 0.003951919036037997, "Personal Blog": 0.0007606274832627861, "Product Page": 9.454811716315838e-05, "Spam / Ads": 0.0001650488684031214, "Structured Data": 0.00048029029003292153, "Technical Writing": 0.02839973323561092, "Transcript / Interview": 0.00017985954507727462, "Tutorial / How-To Guide": 0.047760093585864874, "User Reviews": 7.709359424123815e-05, "NONE": 0.9132140896758644}, "structured_records": {"false": 0.9885369915352651, "true": 0.011463008464734945}, "procedural_steps": {"false": 0.684653513285598, "true": 0.31534648671440196}, "worked_solution": {"false": 0.9986589798786133, "true": 0.0013410201213867193}, "contextual_dialogue": {"false": 0.9999938339540451, "true": 6.1660459549886835e-06}, "content_quality": {"-2": 0.014473411299513588, "-1": 0.15391908932165635, "0": 0.3918582268013506, "1": 0.3606044565244253, "2": 0.0791448160530542}, "noise_severity": {"0": 0.8358723528342199, "1": 0.14105050296052749, "2": 0.018712556949397004, "3": 0.0026567006066100557, "4": 0.0017078866492456414}, "missing_content_severity": {"0": 0.9241131972741338, "1": 0.05277048076102317, "2": 0.019228127995136776, "3": 0.002862250272285226, "4": 0.0010259436974211125}, "factual_density": {"0": 0.017283695237269688, "1": 0.09059109819862314, "2": 0.28355532293641217, "3": 0.39218541116578637, "4": 0.21638447246190873}, "pretraining_utility": {"-2": 0.011082429147931009, "-1": 0.1447598835624069, "0": 0.424686912020998, "1": 0.38079654485460906, "2": 0.038674230414054975}, "math_density": {"0": 0.9993406439209445, "1": 0.0005150499190761604, "2": 5.720043014496576e-05, "3": 2.897997233352006e-05, "4": 5.8125757500922065e-05}, "code_density": {"0": 0.0003379411155092216, "1": 0.0007065933354852731, "2": 0.013523724780572632, "3": 0.12887610410231506, "4": 0.8565556366661178}, "reasoning_density": {"0": 0.6621470032208924, "1": 0.19342781612951981, "2": 0.1102893379605348, "3": 0.02160764228622933, "4": 0.01252820040282363}, "education_level": {"none": 0.001765350608313253, "0": 0.0034337485834168677, "1": 0.07013239141856811, "2": 0.7584410811043583, "3": 0.15569199274600304, "4": 0.010535435539340353}, "creative_writing_quality": {"not_applicable": 0.999362957011865, "-2": 9.914807643778509e-05, "-1": 0.00016052716345923916, "0": 0.00027338731561863153, "1": 7.427813280174461e-05, "2": 2.970229981768231e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 0.0001678140823010248, "Art & Design": 0.00030483380104716665, "Law & Crime": 0.00023929349076209892, "Education & Careers": 0.00014128640501366585, "Entertainment & Media": 0.00016472041366740532, "Fashion & Beauty": 0.00013745912345925715, "Business, Economics & Finance": 0.00017777890266153652, "Food & Dining": 0.00013777686200410058, "Games & Gaming": 0.0002518666463548107, "Electronics & Hardware": 0.00027517399423445115, "Health, Healthcare & Wellness": 0.00012980782771417418, "History & Geography": 0.0001917732908384656, "Home, Pets & Hobbies": 0.0002155404377218276, "Industry & Production": 0.00016860670583927642, "Language, Literature & Philosophy": 0.00018175726741046956, "Politics & Government": 9.123336536589653e-05, "Religion & Spirituality": 0.00013115302937711647, "Science, Mathematics & Engineering": 0.00020317311532909666, "Relationships & Community": 0.00013236761588292838, "Software Usage & Applications": 0.15835397574119672, "Programming & Software Engineering": 0.8372308765562366, "Sports & Fitness": 0.00021782518513900956, "Vehicles & Transportation": 9.325903435254476e-05, "Travel & Tourism": 0.000158886664814678, "Other / Uncovered Subject": 0.00031711018715337776, "Unknown / Insufficient Content": 0.00018465025412217075}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0007046332515190339, "Art & Design": 0.0006900821068621904, "Law & Crime": 0.0005959799357649735, "Education & Careers": 0.00040396362690234055, "Entertainment & Media": 0.0005584038744762496, "Fashion & Beauty": 0.0003385050109349716, "Business, Economics & Finance": 0.0005211939827213344, "Food & Dining": 0.0002901667168952308, "Games & Gaming": 0.0004625767078197737, "Electronics & Hardware": 0.0008137437900027603, "Health, Healthcare & Wellness": 0.00035486457489142915, "History & Geography": 0.00038671317727626345, "Home, Pets & Hobbies": 0.00041904561932924246, "Industry & Production": 0.00034820835920831736, "Language, Literature & Philosophy": 0.0003119127972745673, "Politics & Government": 0.00025018300399331275, "Religion & Spirituality": 0.0003498920641064688, "Science, Mathematics & Engineering": 0.0006110422398136478, "Relationships & Community": 0.00028158945831591414, "Software Usage & Applications": 0.3620923872548586, "Programming & Software Engineering": 0.09557689293877286, "Sports & Fitness": 0.0003637878508487206, "Vehicles & Transportation": 0.00021374831196311716, "Travel & Tourism": 0.0005264891749972088, "Other / Uncovered Subject": 0.0006554541704436592, "NONE": 0.5318785400000078}}, "probability_diagnostics": {"primary": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "secondary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "tertiary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "structured_records": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "procedural_steps": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "worked_solution": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "contextual_dialogue": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "content_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "noise_severity": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "missing_content_severity": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "factual_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "pretraining_utility": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "math_density": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "code_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "reasoning_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "education_level": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "creative_writing_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "primary_topic": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "secondary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}}, "usage": {"input_tokens": 10114, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 10114, "cached_share": null, "cache_discount_reported": null, "reported_cost_usd": null}, "response_metadata": {"model": "decision-models/baseten-mammoth-27b-latest"}, "scored_at_utc": "2026-10-25T18:32:11.694399+00:00", "scoring_key_slot": "assistant_1", "dataset_uid": "1ece05f6-46ad-41b1-b16d-8a19bbd33a39", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "04619e1c1fdd3d26bb53f3df400197520f55b14a77873e521fe9cef2d1f0fa5c", "source_metadata": {"uuid": "1ece05f6-46ad-41b1-b16d-8a19bbd33a39", "repo_name": "justyns/jdotfiles", "relative_path": "install.sh", "category": "TOOL", "algo_rel_score": 0.9963610768318176, "quality_score": 3.6446127891540527, "source_meta": {"github_metadata": {"branch": "master", "commit_count": 330, "repo_created_at": "2011-08-11T05:00:17.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 4, "forks": 1, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "3e98237d535594da21e55bb9ebc67ee3291f3483", "size_bytes": 5445, "file_timestamp": 1663565832, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "d03f4ceb9cdac40bb54a59f7b602bd21b73a6fa8"}}, "parsed_source_meta": {"github_metadata": {"branch": "master", "commit_count": 330, "repo_created_at": "2011-08-11T05:00:17.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 4, "forks": 1, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "3e98237d535594da21e55bb9ebc67ee3291f3483", "size_bytes": 5445, "file_timestamp": 1663565832, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "d03f4ceb9cdac40bb54a59f7b602bd21b73a6fa8", "url": "https://github.com/justyns/jdotfiles/blob/d03f4ceb9cdac40bb54a59f7b602bd21b73a6fa8/install.sh"}, "gpt4o_tokens": 1587, "dataset_split": "shell", "probability_weighted_scores": {"content_quality": 0.3360281767098502, "noise_severity": 0.19327726527613423, "missing_content_severity": 0.10391726235783685, "factual_density": 2.6997958674164417, "pretraining_utility": 0.2912202638244501, "math_density": 0.0009488937263703403, "code_density": 3.840604901868047, "reasoning_density": 0.5289422205205719, "education_level": 2.0999394033257377, "creative_writing_quality": -0.35341505689716474}, "score_applicability": {"education_level": 0.9982346493916866, "creative_writing_quality": 0.0006370429881350828}} {"source_group": "shell", "source": "openbmb/UltraData-Stack-v3-L2/shell", "domain": "github.com", "language": "shell", "url": "https://github.com/karlsgate/sarif-issue-bot/blob/e529fd306b500698cd96c15800e5cc917c0dd343/entrypoint.sh", "id": "shell-0-c1a8f2d391f3e815979db416042e02e3", "text": "#!/bin/ash\n\nset -e\n\n# Function to log error messages and exit\nlog_error_and_exit() {\n echo \"Error: $1\"\n exit 1\n}\n\n# Validate required inputs\n[ -z \"$1\" ] && log_error_and_exit \"Token input is required\"\n[ -z \"$2\" ] && log_error_and_exit \"SARIF file input is required\"\n[ -z \"$3\" ] && log_error_and_exit \"Image name input is required\"\n\nINPUT_GITHUB_TOKEN=\"$1\"\nINPUT_SARIF_FILE=\"$2\"\nINPUT_ISSUE_TITLE_REPLACEMENT=\"$3\"\nINPUT_LABEL=\"$4\"\nINPUT_ALLOW_REOPENING=\"${5:-true}\"\nINPUT_ALLOW_CLOSING=\"${6:-true}\"\n\n# Read the issue template from the file\nISSUE_TEMPLATE=$(cat /usr/src/app/issue_template.md)\n\necho \"\" > sarif_titles.txt\necho \"\" > sarif_closed_titles.txt\n\necho \"\" > sarif_titles_with_issue_numbers.txt\necho \"\" > sarif_closed_titles_with_issue_numbers.txt\n\n# Configure Git to trust the workspace directory\ngit config --global --add safe.directory /github/workspace\n\n# Authenticate with GitHub CLI\necho \"$INPUT_GITHUB_TOKEN\" | gh auth login --with-token\n\n# Function to generate a random color\ngenerate_random_color() {\n printf '%06X\\n' \"$((RANDOM % 16777215))\"\n}\n\n# Function to create a label if it doesn't exist\ncreate_label_if_not_exists() {\n local label=\"$1\"\n local color=\"$2\"\n local description=\"$3\"\n \n label_exists=$(gh label list --json name --jq '.[] | select(.name == \"'\"$label\"'\")')\n\n if [ -z \"$label_exists\" ]; then\n echo \"⏳ Label $label will be created\"\n gh label create \"$label\" --color \"$color\" --description \"$description\" > /dev/null 2>&1 || echo \"❌ Failed to create label: $label\"\n echo \"✅ Label $label was created successfully\"\n else\n echo \"✅ Label $label already exists\"\n fi\n}\n\n# Function to create a new issue\ncreate_issue() {\n local title=\"$1\"\n local body=\"$2\"\n local labels=\"$3\"\n\n # Use printf to preserve newlines in the body\n url=$(printf \"%s\" \"$body\" | gh issue create --title \"$title\" --body-file - --label \"$labels\")\n issue_number=$(echo \"$url\" | grep -oE '[0-9]+$')\n\n echo \"Issue #$issue_number: [$title]($url)\" >> sarif_titles_with_issue_numbers.txt\n echo \"🆕 Created issue #$issue_number: '$title' with labels: $labels\"\n}\n\n# Function to update an existing issue\nupdate_issue() {\n local issue_number=\"$1\"\n local title=\"$2\"\n local body=\"$3\"\n local new_labels=\"$4\"\n local issue_state=\"$5\"\n local current_labels=\"$6\"\n\n if [ \"$issue_state\" = \"closed\" ] && [ \"$INPUT_ALLOW_REOPENING\" = true ]; then\n gh issue reopen \"$issue_number\" > /dev/null 2>&1\n gh issue comment \"$issue_number\" --body \"This issue has been reopened because it is present in the latest scan.\" > /dev/null 2>&1\n echo \"🔓 Reopened issue: $title\"\n fi\n\n # Add new labels\n for label in $(echo \"$new_labels\" | tr ',' ' '); do\n if ! echo \"$current_labels\" | grep -q \"$label\"; then\n gh issue edit \"$issue_number\" --add-label \"$label\" > /dev/null 2>&1\n echo \"🏷️Added label: $label to issue #$issue_number\"\n fi\n done\n\n # Remove old labels that are no longer applicable\n for label in $(echo \"$current_labels\" | tr ',' ' '); do\n if ! echo \"$new_labels\" | grep -q \"$label\"; then\n gh issue edit \"$issue_number\" --remove-label \"$label\" > /dev/null 2>&1\n echo \"❌ Removed label: $label from issue #$issue_number\"\n fi\n done\n\n echo \"✏️ Updated issue #$issue_number: $title with labels: $new_labels\"\n}\n\n# Function to close an issue\nclose_issue() {\n local issue_number=\"$1\"\n local title=\"$2\"\n local url=\"$3\"\n\n gh issue close \"$issue_number\" --comment \"This issue has been closed because it is no longer present in the latest scan.\" > /dev/null 2>&1\n echo \"Issue #$issue_number: [$title]($url)\" >> sarif_closed_titles_with_issue_numbers.txt\n echo \"🔒 Closed issue #$issue_number: $title\"\n}\n\n# Function to reopen an issue\nreopen_issue() {\n local issue_number=\"$1\"\n local title=\"$2\"\n\n gh issue reopen \"$issue_number\" > /dev/null 2>&1\n gh issue comment \"$issue_number\" --body \"This issue has been reopened because it is present in the latest scan.\" > /dev/null 2>&1\n echo \"🔓 Reopened issue #$issue_number: $title\"\n}\n\nreplace_placeholder() {\n local template=\"$1\"\n local placeholder=\"$2\"\n local value=\"$3\"\n \n awk -v p=\"$placeholder\" -v v=\"$value\" '\n BEGIN {\n RS = ORS = \"\\n\"\n gsub(/[\\\\&]/, \"\\\\\\\\&\", v)\n }\n {\n gsub(p, v)\n print\n }' < sarif_titles.txt # Clear the file at the start\n \n echo \"$vulnerabilities\" | jq -c '.' | while read -r vulnerability; do\n title=$(echo \"$vulnerability\" | jq -r '.title')\n severity=$(echo \"$vulnerability\" | jq -r '.severity')\n name=$(echo \"$vulnerability\" | jq -r '.name')\n description=$(echo \"$vulnerability\" | jq -r '.description')\n affected_version=$(echo \"$vulnerability\" | jq -r '.affected_version')\n fixed_version=$(echo \"$vulnerability\" | jq -r '.fixed_version')\n security_severity=$(echo \"$vulnerability\" | jq -r '.security_severity')\n help_uri=$(echo \"$vulnerability\" | jq -r '.help_uri')\n purls=$(echo \"$vulnerability\" | jq -r '.purls | map(\" - \" + .) | join(\"\\n\")')\n\n # Use the replace_placeholder function to update the issue template\n body=\"$ISSUE_TEMPLATE\"\n body=$(replace_placeholder \"$body\" \"{{name}}\" \"$name\")\n body=$(replace_placeholder \"$body\" \"{{description}}\" \"$description\")\n body=$(replace_placeholder \"$body\" \"{{affected_version}}\" \"$affected_version\")\n body=$(replace_placeholder \"$body\" \"{{fixed_version}}\" \"$fixed_version\")\n body=$(replace_placeholder \"$body\" \"{{severity}}\" \"$severity\")\n body=$(replace_placeholder \"$body\" \"{{security_severity}}\" \"$security_severity\")\n body=$(replace_placeholder \"$body\" \"{{help_uri}}\" \"$help_uri\")\n body=$(replace_placeholder \"$body\" \"{{purls}}\" \"$purls\")\n body=$(echo \"$body\" | sed 's/{{[^}]*}}//g')\n\n # Initialize labels with mandatory ones\n labels=\"security\"\n if [ -n \"$INPUT_LABEL\" ]; then\n labels=\"$labels,$INPUT_LABEL\"\n fi\n severity=$(echo \"$severity\" | tr '[:upper:]' '[:lower:]')\n case \"$severity\" in\n critical|high|medium|low)\n labels=\"$labels,$severity\"\n ;;\n esac\n\n # Add the title to the file of SARIF vulnerability titles\n echo \"$title\" >> sarif_titles.txt\n\n echo \"⏳ Processing: $title\"\n\n # Check if the issue already exists\n existing_issue=$(echo \"$existing_issues\" | jq -r --arg TITLE \"$title\" '.[] | select(.title == $TITLE)')\n \n if [ -n \"$existing_issue\" ]; then\n issue_number=$(echo \"$existing_issue\" | jq -r '.number')\n issue_state=$(echo \"$existing_issue\" | jq -r '.state')\n current_labels=$(echo \"$existing_issue\" | jq -r '.labels[].name' | tr '\\n' ',' | sed 's/,$//')\n url=$(echo \"$existing_issue\" | jq -r '.url')\n\n if [ \"$issue_state\" = \"CLOSED\" ] && [ \"$INPUT_ALLOW_REOPENING\" = true ]; then\n reopen_issue \"$issue_number\" \"$title\"\n fi\n\n update_issue \"$issue_number\" \"$title\" \"$body\" \"$labels\" \"$issue_state\" \"$current_labels\"\n echo \"Issue #$issue_number: [$title]($url)\" >> sarif_titles_with_issue_numbers.txt\n else\n create_issue \"$title\" \"$body\" \"$labels\"\n fi\n done\n}\n\n\nif [ -n \"$INPUT_LABEL\" ]; then\n random_color=$(generate_random_color)\n create_label_if_not_exists \"$INPUT_LABEL\" \"$random_color\" \"$INPUT_ISSUE_TITLE_REPLACEMENT\"\nfi\n\n# Read vulnerabilities from SARIF file\nvulnerabilities=$(jq -r '.runs[0].tool.driver.rules[] | {\n title: \"Vulnerability (\\(.properties.cvssV3_severity)): \\(.id) @ '\"$INPUT_ISSUE_TITLE_REPLACEMENT\"'\",\n severity: .properties.cvssV3_severity,\n name: \"\\(.name) - \\(.id)\",\n description: .help.text,\n affected_version: .properties.affected_version,\n fixed_version: .properties.fixed_version,\n security_severity: .properties.\"security-severity\",\n help_uri: .helpUri,\n purls: .properties.purls\n}' \"$INPUT_SARIF_FILE\")\n\n# Fetch all issues with the 'security' label, both open and closed\nexisting_issues=$(gh issue list --label security --label $INPUT_LABEL --state all --json number,title,state,labels,url 2> /dev/null)\n\n# Process vulnerabilities only if there are any\nif [ -n \"$vulnerabilities\" ]; then\n process_vulnerabilities\nelse\n echo \"🔍 No vulnerabilities found to process.\"\nfi\n\n# Check for issues to close\nif [ \"$INPUT_ALLOW_CLOSING\" = true ]; then\n echo \"$existing_issues\" | jq -c '.[] | select(.state == \"OPEN\")' | while read -r issue; do\n issue_number=$(echo \"$issue\" | jq -r '.number')\n issue_title=$(echo \"$issue\" | jq -r '.title')\n url=$(echo \"$issue\" | jq -r '.url')\n \n echo \"🔍 Checking issue #$issue_number: $issue_title\"\n normalized_issue_title=$(echo \"$issue_title\" | tr -s ' ' | xargs)\n echo \"⚖️ Comparing normalized issue title: '$normalized_issue_title' to original issue title from GitHub: '$issue_title'\"\n\n if grep -i -Fxq \"$normalized_issue_title\" sarif_titles.txt; then\n echo \"👍 Keeping open issue #$issue_number: $issue_title\"\n else\n echo \"👋 Closing issue #$issue_number: $issue_title\"\n echo \"$normalized_issue_title\" >> sarif_closed_titles.txt\n close_issue \"$issue_number\" \"$normalized_issue_title\" \"$url\"\n fi\n done\nfi\necho \"✅ Done processing vulnerabilities\"\n\nOPEN_ISSUES=$(cat sarif_titles_with_issue_numbers.txt)\nCLOSED_ISSUES=$(cat sarif_closed_titles_with_issue_numbers.txt)\n\nif [[ \"$OPEN_ISSUES\" =~ ^[[:space:]]*$ ]]; then\n # Trim whitespace and newlines\n OPEN_ISSUES=$(echo \"$OPEN_ISSUES\" | xargs)\nfi\n\nif [[ \"$CLOSED_ISSUES\" =~ ^[[:space:]]*$ ]]; then\n # Trim whitespace and newlines\n CLOSED_ISSUES=$(echo \"$CLOSED_ISSUES\" | xargs)\nfi\n\nif [ -n \"$OPEN_ISSUES\" ]; then\n # Output to the build step (console)\n echo \"\" \n echo \"📃🔓 Here are the currently open vulnerability issue titles for $INPUT_ISSUE_TITLE_REPLACEMENT:\"\n echo \"$OPEN_ISSUES\"\n \n # Output to the GitHub Actions summary\n echo \"## 📃🔓 Open Vulnerability Issues for $INPUT_ISSUE_TITLE_REPLACEMENT\" >> $GITHUB_STEP_SUMMARY\n echo \"$OPEN_ISSUES\" >> $GITHUB_STEP_SUMMARY\nfi\n\nif [ -n \"$CLOSED_ISSUES\" ]; then\n # Output to the build step (console)\n echo \"\"\n echo \"📃🔒 Here are the closed vulnerability issue titles for $INPUT_ISSUE_TITLE_REPLACEMENT:\"\n echo \"$CLOSED_ISSUES\"\n \n # Output to the GitHub Actions summary\n echo \"## 📃🔓 Closed Vulnerability Issues for $INPUT_ISSUE_TITLE_REPLACEMENT\" >> $GITHUB_STEP_SUMMARY\n echo \"$CLOSED_ISSUES\" >> $GITHUB_STEP_SUMMARY\nfi\n\n\n# Clean up\nrm -f sarif_titles.txt\nrm -f sarif_closed_titles.txt\nrm -f sarif_titles_with_issue_numbers.txt\nrm -f sarif_closed_titles_with_issue_numbers.txt", "text_preview": "#!/bin/ash set -e # Function to log error messages and exit log_error_and_exit() { echo \"Error: $1\" exit 1 } # Validate required inputs [ -z \"$1\" ] && log_error_and_exit \"Token input is required\" [ -z \"$2\" ] && log_error_and_exit \"SARIF fil", "input_sha256": "29cfd04a65ace12f52dc1c328c0a25fe5d9d9bde094ed8b0f97b06b4b317d628", "text_sha256": "c1a8f2d391f3e815979db416042e02e35b2caab13a39c9492a548924fb82164d", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 20052, "input_policy": "text-and-optional-url-v1", "label_policy_version": 12, "requested_model": "decision-models/baseten-mammoth-27b-latest", "backend": "baseten", "endpoint": "https://inference.baseten.co/v1/systemone", "status": "ok", "training_eligible": true, "label": {"primary": {"main_format": "Technical Writing", "sub_format": null}, "secondary": null, "tertiary": null, "content_structure": []}, "candidate_label": null, "topic": {"primary": {"main_topic": "Programming & Software Engineering", "sub_topic": null}, "secondary": null}, "scores": {"content_quality": 1, "noise_severity": 0, "missing_content_severity": 0, "factual_density": 3, "pretraining_utility": 1, "math_density": 0, "code_density": 4, "reasoning_density": 0, "education_level": 2, "creative_writing_quality": null}, "score_expectations": {"content_quality": 0.5621703580824469, "noise_severity": 0.03660899131972676, "missing_content_severity": 0.03086718676035111, "factual_density": 2.8647981182166102, "pretraining_utility": 0.5466738243871627, "math_density": 0.28032001150664165, "code_density": 3.836818515646439, "reasoning_density": 0.8422910788258051, "education_level": 2.302825551250643, "creative_writing_quality": -0.3622731565439655}, "api_choices": {"primary": "Technical Writing", "secondary": "NONE", "tertiary": "NONE", "education_level": "2", "creative_writing_quality": "not_applicable", "primary_topic": "Programming & Software Engineering", "secondary_topic": "NONE"}, "review_reasons": [], "format_slot_diagnostics": {"comparable": true, "secondary_tertiary_identical": false, "secondary_tertiary_max_abs_gap": 0.021328028858404013, "secondary_choice": "NONE", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.994244159630529, "secondary": 0.9404660819128325, "tertiary": 0.9627214163737758, "structured_records": 0.03440440848978815, "procedural_steps": 0.11422602769326405, "worked_solution": 0.00244925389062115, "contextual_dialogue": 6.798344100020027e-06, "content_quality": 0.4355996472501783, "noise_severity": 0.9694925072335611, "missing_content_severity": 0.974277344366374, "factual_density": 0.38569404651779415, "pretraining_utility": 0.5014139081845732, "math_density": 0.7663999904111319, "code_density": 0.864015429705366, "reasoning_density": 0.2980907676451624, "education_level": 0.6168128110853648, "creative_writing_quality": 0.9994279633456279, "primary_topic": 0.9941824351694999, "secondary_topic": 0.8103154610826959}, "probability_margin": {"primary": 0.9920741266636462, "secondary": 0.9163792278580117, "tertiary": 0.9519331236770915, "education_level": 0.4180225025732961, "creative_writing_quality": 0.9993185782009253, "primary_topic": 0.9904578251893807, "secondary_topic": 0.7091701508343289}, "raw_probabilities": {"primary": {"Academic Writing": 3.1167613542026824e-05, "Content Listing": 2.11265442205612e-05, "Creative Writing": 2.26052032273641e-05, "Customer Support Page": 1.3506321474903344e-05, "Q&A Forum": 1.3664812951739035e-05, "Discussion Thread": 1.139370985307156e-05, "Comment Section": 2.0856222159441053e-05, "Missing Content": 2.764187847873484e-05, "Knowledge Article": 0.00011306838894968985, "Legal Notices": 5.485732823279007e-05, "News Article": 7.853461632481625e-06, "Organizational Announcement": 1.6690069917394006e-05, "Nonfiction Writing": 1.6004385002366252e-05, "Organizational About Page": 1.7568010155525687e-05, "Personal About Page": 1.5644158487650678e-05, "Personal Blog": 1.0918930188493727e-05, "Product Page": 1.171974395213792e-05, "Spam / Ads": 1.5749109096414602e-05, "Structured Data": 0.0007587039587602066, "Technical Writing": 0.9944839863125903, "Transcript / Interview": 2.396939182480009e-05, "Tutorial / How-To Guide": 0.002409859648944059, "User Reviews": 9.940073636159027e-06, "Other / Unknown": 0.0018715047227216026}, "secondary": {"Academic Writing": 0.0002664339869136153, "Content Listing": 0.00025805375837634366, "Creative Writing": 0.00020216121051930326, "Customer Support Page": 0.00014673986572836755, "Q&A Forum": 0.00010503490174583105, "Discussion Thread": 8.175353445966663e-05, "Comment Section": 0.00019921783886517048, "Missing Content": 0.00039026391292884256, "Knowledge Article": 0.0013063081682678532, "Legal Notices": 0.00053144822900865, "News Article": 0.00012873183617708315, "Organizational Announcement": 0.0001510591820481399, "Nonfiction Writing": 0.00013805148825128934, "Organizational About Page": 0.00014902637742066313, "Personal About Page": 0.00011739866288982444, "Personal Blog": 0.00012636419583480937, "Product Page": 9.061753123880254e-05, "Spam / Ads": 0.00012945358074493903, "Structured Data": 0.01302640771277395, "Technical Writing": 0.026567433975119376, "Transcript / Interview": 0.00018144051218317505, "Tutorial / How-To Guide": 0.012689665243203325, "User Reviews": 7.02724621698552e-05, "NONE": 0.9429466618331311}, "tertiary": {"Academic Writing": 0.00014097905437435507, "Content Listing": 0.00016958540098315305, "Creative Writing": 0.00011737990641341719, "Customer Support Page": 8.438724722582226e-05, "Q&A Forum": 4.380036604104857e-05, "Discussion Thread": 4.3056808970633214e-05, "Comment Section": 0.00016622176062060495, "Missing Content": 0.0003763864650572422, "Knowledge Article": 0.0010370666424956026, "Legal Notices": 0.0004983776583485709, "News Article": 6.893055372041241e-05, "Organizational Announcement": 8.193578524103194e-05, "Nonfiction Writing": 9.099787856446218e-05, "Organizational About Page": 9.328731861411921e-05, "Personal About Page": 5.839795304932561e-05, "Personal Blog": 6.46872319472643e-05, "Product Page": 5.562434900914263e-05, "Spam / Ads": 7.946109851077052e-05, "Structured Data": 0.0111459556595258, "Technical Writing": 0.012341567014443633, "Transcript / Interview": 9.849163411268538e-05, "Tutorial / How-To Guide": 0.00883250222285048, "User Reviews": 3.62292983452606e-05, "NONE": 0.9642746906915352}, "structured_records": {"false": 0.9655955915102119, "true": 0.03440440848978815}, "procedural_steps": {"false": 0.8857739723067359, "true": 0.11422602769326405}, "worked_solution": {"false": 0.9975507461093789, "true": 0.00244925389062115}, "contextual_dialogue": {"false": 0.9999932016559, "true": 6.798344100020027e-06}, "content_quality": {"-2": 0.015021690368792822, "-1": 0.09751574631092336, "0": 0.31745846888044443, "1": 0.4502787037487231, "2": 0.1197253906911164}, "noise_severity": {"0": 0.9715755848911408, "1": 0.02215934696703686, "2": 0.004844886012152425, "3": 0.000920856190294364, "4": 0.0004993259393754888}, "missing_content_severity": {"0": 0.9810338596185012, "1": 0.009430057136638189, "2": 0.007561822603791247, "3": 0.0015835581481470763, "4": 0.0003907024929222995}, "factual_density": {"0": 0.02371420243978971, "1": 0.0726118727669044, "2": 0.21981816012784056, "3": 0.3828731334678367, "4": 0.3009826311976285}, "pretraining_utility": {"-2": 0.008083244937274787, "-1": 0.07393565496858322, "0": 0.35369369814668394, "1": 0.49179883466462077, "2": 0.07248856728283735}, "math_density": {"0": 0.7415709317518192, "1": 0.24728402971543884, "2": 0.0049176727279857686, "3": 0.001708826883793287, "4": 0.004518538920962853}, "code_density": {"0": 0.0003324515653623565, "1": 0.000642815309971491, "2": 0.016996369248089668, "3": 0.1259304936660175, "4": 0.8560978702105589}, "reasoning_density": {"0": 0.5837915922837554, "1": 0.16479448666295096, "2": 0.12794307207274563, "3": 0.07227294790482906, "4": 0.051197901075718914}, "education_level": {"none": 0.0011868092486688807, "0": 0.0021633457369377826, "1": 0.02083243944303677, "2": 0.6806773425711373, "3": 0.2626548399978412, "4": 0.032485223002378064}, "creative_writing_quality": {"not_applicable": 0.9995233027880233, "-2": 7.862049695465979e-05, "-1": 0.00011424714656517388, "0": 0.00020472458709795393, "1": 5.941642594145996e-05, "2": 1.9688555417292276e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 3.854056288553239e-05, "Art & Design": 4.259534726502192e-05, "Law & Crime": 0.00011059888526084594, "Education & Careers": 3.3662241413790485e-05, "Entertainment & Media": 2.384492808353389e-05, "Fashion & Beauty": 1.9475328123172224e-05, "Business, Economics & Finance": 8.174933844988926e-05, "Food & Dining": 2.2406326072219957e-05, "Games & Gaming": 4.9862305792795224e-05, "Electronics & Hardware": 0.00013542726032920806, "Health, Healthcare & Wellness": 4.417500690884332e-05, "History & Geography": 3.369411854156409e-05, "Home, Pets & Hobbies": 2.5599872488528314e-05, "Industry & Production": 4.18462586694591e-05, "Language, Literature & Philosophy": 3.414859586939875e-05, "Politics & Government": 2.838017983099785e-05, "Religion & Spirituality": 3.332908469665546e-05, "Science, Mathematics & Engineering": 0.000272031463648254, "Relationships & Community": 2.6465487273360995e-05, "Software Usage & Applications": 0.003948362473599816, "Programming & Software Engineering": 0.9944061876629806, "Sports & Fitness": 5.2450364358575945e-05, "Vehicles & Transportation": 1.7800049111752367e-05, "Travel & Tourism": 4.042093230107982e-05, "Other / Uncovered Subject": 0.00038876213436235616, "Unknown / Insufficient Content": 4.818379168283805e-05}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0006765610218181041, "Art & Design": 0.00041503180576384346, "Law & Crime": 0.0071166274966301376, "Education & Careers": 0.0003168698352986523, "Entertainment & Media": 0.0004394100546470187, "Fashion & Beauty": 0.0002744266853649848, "Business, Economics & Finance": 0.0008359872925696679, "Food & Dining": 0.00025956216652645627, "Games & Gaming": 0.00044432031492358987, "Electronics & Hardware": 0.0006246923154950028, "Health, Healthcare & Wellness": 0.0004732093203231252, "History & Geography": 0.0003111262095324009, "Home, Pets & Hobbies": 0.00027728035968107873, "Industry & Production": 0.0002969408556664956, "Language, Literature & Philosophy": 0.00023836897033812428, "Politics & Government": 0.0003614497134072522, "Religion & Spirituality": 0.00040117841733871266, "Science, Mathematics & Engineering": 0.0007753874090379872, "Relationships & Community": 0.00023296332562124802, "Software Usage & Applications": 0.05622250008504661, "Programming & Software Engineering": 0.1084408694374941, "Sports & Fitness": 0.00032369860419216703, "Vehicles & Transportation": 0.00015430592037845157, "Travel & Tourism": 0.0005223470891057336, "Other / Uncovered Subject": 0.0019538650219760494, "NONE": 0.817611020271823}}, "probabilities": {"primary": {"Academic Writing": 3.116761354202683e-05, "Content Listing": 2.1126544220561205e-05, "Creative Writing": 2.2605203227364104e-05, "Customer Support Page": 1.3506321474903346e-05, "Q&A Forum": 1.3664812951739036e-05, "Discussion Thread": 1.1393709853071562e-05, "Comment Section": 2.0856222159441056e-05, "Missing Content": 2.7641878478734843e-05, "Knowledge Article": 0.00011306838894968986, "Legal Notices": 5.4857328232790076e-05, "News Article": 7.853461632481626e-06, "Organizational Announcement": 1.669006991739401e-05, "Nonfiction Writing": 1.6004385002366255e-05, "Organizational About Page": 1.756801015552569e-05, "Personal About Page": 1.564415848765068e-05, "Personal Blog": 1.0918930188493728e-05, "Product Page": 1.1719743952137922e-05, "Spam / Ads": 1.5749109096414605e-05, "Structured Data": 0.0007587039587602068, "Technical Writing": 0.9944839863125904, "Transcript / Interview": 2.3969391824800094e-05, "Tutorial / How-To Guide": 0.0024098596489440594, "User Reviews": 9.94007363615903e-06, "Other / Unknown": 0.0018715047227216028}, "secondary": {"Academic Writing": 0.0002664339869136153, "Content Listing": 0.00025805375837634366, "Creative Writing": 0.00020216121051930326, "Customer Support Page": 0.00014673986572836755, "Q&A Forum": 0.00010503490174583105, "Discussion Thread": 8.175353445966663e-05, "Comment Section": 0.00019921783886517048, "Missing Content": 0.00039026391292884256, "Knowledge Article": 0.0013063081682678532, "Legal Notices": 0.00053144822900865, "News Article": 0.00012873183617708315, "Organizational Announcement": 0.0001510591820481399, "Nonfiction Writing": 0.00013805148825128934, "Organizational About Page": 0.00014902637742066313, "Personal About Page": 0.00011739866288982444, "Personal Blog": 0.00012636419583480937, "Product Page": 9.061753123880254e-05, "Spam / Ads": 0.00012945358074493903, "Structured Data": 0.01302640771277395, "Technical Writing": 0.026567433975119376, "Transcript / Interview": 0.00018144051218317505, "Tutorial / How-To Guide": 0.012689665243203325, "User Reviews": 7.02724621698552e-05, "NONE": 0.9429466618331311}, "tertiary": {"Academic Writing": 0.00014097905437435507, "Content Listing": 0.00016958540098315305, "Creative Writing": 0.00011737990641341719, "Customer Support Page": 8.438724722582226e-05, "Q&A Forum": 4.380036604104857e-05, "Discussion Thread": 4.3056808970633214e-05, "Comment Section": 0.00016622176062060495, "Missing Content": 0.0003763864650572422, "Knowledge Article": 0.0010370666424956026, "Legal Notices": 0.0004983776583485709, "News Article": 6.893055372041241e-05, "Organizational Announcement": 8.193578524103194e-05, "Nonfiction Writing": 9.099787856446218e-05, "Organizational About Page": 9.328731861411921e-05, "Personal About Page": 5.839795304932561e-05, "Personal Blog": 6.46872319472643e-05, "Product Page": 5.562434900914263e-05, "Spam / Ads": 7.946109851077052e-05, "Structured Data": 0.0111459556595258, "Technical Writing": 0.012341567014443633, "Transcript / Interview": 9.849163411268538e-05, "Tutorial / How-To Guide": 0.00883250222285048, "User Reviews": 3.62292983452606e-05, "NONE": 0.9642746906915352}, "structured_records": {"false": 0.9655955915102119, "true": 0.03440440848978815}, "procedural_steps": {"false": 0.8857739723067359, "true": 0.11422602769326405}, "worked_solution": {"false": 0.9975507461093789, "true": 0.00244925389062115}, "contextual_dialogue": {"false": 0.9999932016559, "true": 6.798344100020027e-06}, "content_quality": {"-2": 0.015021690368792822, "-1": 0.09751574631092336, "0": 0.31745846888044443, "1": 0.4502787037487231, "2": 0.1197253906911164}, "noise_severity": {"0": 0.9715755848911408, "1": 0.02215934696703686, "2": 0.004844886012152425, "3": 0.000920856190294364, "4": 0.0004993259393754888}, "missing_content_severity": {"0": 0.9810338596185012, "1": 0.009430057136638189, "2": 0.007561822603791247, "3": 0.0015835581481470763, "4": 0.0003907024929222995}, "factual_density": {"0": 0.023714202439789712, "1": 0.07261187276690441, "2": 0.21981816012784058, "3": 0.38287313346783675, "4": 0.3009826311976286}, "pretraining_utility": {"-2": 0.008083244937274787, "-1": 0.07393565496858322, "0": 0.35369369814668394, "1": 0.49179883466462077, "2": 0.07248856728283735}, "math_density": {"0": 0.7415709317518192, "1": 0.24728402971543884, "2": 0.0049176727279857686, "3": 0.001708826883793287, "4": 0.004518538920962853}, "code_density": {"0": 0.0003324515653623565, "1": 0.000642815309971491, "2": 0.016996369248089668, "3": 0.1259304936660175, "4": 0.8560978702105589}, "reasoning_density": {"0": 0.5837915922837554, "1": 0.16479448666295096, "2": 0.12794307207274563, "3": 0.07227294790482906, "4": 0.051197901075718914}, "education_level": {"none": 0.0011868092486688807, "0": 0.0021633457369377826, "1": 0.02083243944303677, "2": 0.6806773425711373, "3": 0.2626548399978412, "4": 0.032485223002378064}, "creative_writing_quality": {"not_applicable": 0.9995233027880235, "-2": 7.86204969546598e-05, "-1": 0.0001142471465651739, "0": 0.00020472458709795398, "1": 5.9416425941459974e-05, "2": 1.968855541729228e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 3.854056288553239e-05, "Art & Design": 4.259534726502192e-05, "Law & Crime": 0.00011059888526084594, "Education & Careers": 3.3662241413790485e-05, "Entertainment & Media": 2.384492808353389e-05, "Fashion & Beauty": 1.9475328123172224e-05, "Business, Economics & Finance": 8.174933844988926e-05, "Food & Dining": 2.2406326072219957e-05, "Games & Gaming": 4.9862305792795224e-05, "Electronics & Hardware": 0.00013542726032920806, "Health, Healthcare & Wellness": 4.417500690884332e-05, "History & Geography": 3.369411854156409e-05, "Home, Pets & Hobbies": 2.5599872488528314e-05, "Industry & Production": 4.18462586694591e-05, "Language, Literature & Philosophy": 3.414859586939875e-05, "Politics & Government": 2.838017983099785e-05, "Religion & Spirituality": 3.332908469665546e-05, "Science, Mathematics & Engineering": 0.000272031463648254, "Relationships & Community": 2.6465487273360995e-05, "Software Usage & Applications": 0.003948362473599816, "Programming & Software Engineering": 0.9944061876629806, "Sports & Fitness": 5.2450364358575945e-05, "Vehicles & Transportation": 1.7800049111752367e-05, "Travel & Tourism": 4.042093230107982e-05, "Other / Uncovered Subject": 0.00038876213436235616, "Unknown / Insufficient Content": 4.818379168283805e-05}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0006765610218181041, "Art & Design": 0.00041503180576384346, "Law & Crime": 0.0071166274966301376, "Education & Careers": 0.0003168698352986523, "Entertainment & Media": 0.0004394100546470187, "Fashion & Beauty": 0.0002744266853649848, "Business, Economics & Finance": 0.0008359872925696679, "Food & Dining": 0.00025956216652645627, "Games & Gaming": 0.00044432031492358987, "Electronics & Hardware": 0.0006246923154950028, "Health, Healthcare & Wellness": 0.0004732093203231252, "History & Geography": 0.0003111262095324009, "Home, Pets & Hobbies": 0.00027728035968107873, "Industry & Production": 0.0002969408556664956, "Language, Literature & Philosophy": 0.00023836897033812428, "Politics & Government": 0.0003614497134072522, "Religion & Spirituality": 0.00040117841733871266, "Science, Mathematics & Engineering": 0.0007753874090379872, "Relationships & Community": 0.00023296332562124802, "Software Usage & Applications": 0.05622250008504661, "Programming & Software Engineering": 0.1084408694374941, "Sports & Fitness": 0.00032369860419216703, "Vehicles & Transportation": 0.00015430592037845157, "Travel & Tourism": 0.0005223470891057336, "Other / Uncovered Subject": 0.0019538650219760494, "NONE": 0.817611020271823}}, "probability_diagnostics": {"primary": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "tertiary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "structured_records": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "procedural_steps": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "worked_solution": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "contextual_dialogue": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "content_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "noise_severity": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "missing_content_severity": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "factual_density": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "pretraining_utility": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "math_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "code_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "reasoning_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "education_level": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "creative_writing_quality": {"raw_sum": 0.9999999999999998, "mass_delta": -2.220446049250313e-16, "missing_mass": 2.220446049250313e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "primary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}}, "usage": {"input_tokens": 11662, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 11662, "cached_share": null, "cache_discount_reported": null, "reported_cost_usd": null}, "response_metadata": {"model": "decision-models/baseten-mammoth-27b-latest"}, "scored_at_utc": "2026-10-25T18:32:11.969146+00:00", "scoring_key_slot": "assistant_1", "dataset_uid": "7baf1834-bbb5-4c80-9027-af41d21b0661", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "1c463d55fbf22f8ce8c0b57e81688d793e8811c014a5d2ddf03f4222c9eecb88", "source_metadata": {"uuid": "7baf1834-bbb5-4c80-9027-af41d21b0661", "repo_name": "karlsgate/sarif-issue-bot", "relative_path": "entrypoint.sh", "category": "TOOL", "algo_rel_score": 0.997951328754425, "quality_score": 5.926990032196045, "source_meta": {"github_metadata": {"branch": "main", "commit_count": 30, "repo_created_at": "2024-09-18T19:31:07.000Z", "is_fork": false, "is_org_owned": true, "forked_from": null, "stars": 1, "forks": 0, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "7da7228eedb994226c400b26d80ef1976a6a49e4", "size_bytes": 10950, "file_timestamp": 1727122998, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "e529fd306b500698cd96c15800e5cc917c0dd343"}}, "parsed_source_meta": {"github_metadata": {"branch": "main", "commit_count": 30, "repo_created_at": "2024-09-18T19:31:07.000Z", "is_fork": false, "is_org_owned": true, "forked_from": null, "stars": 1, "forks": 0, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "7da7228eedb994226c400b26d80ef1976a6a49e4", "size_bytes": 10950, "file_timestamp": 1727122998, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "e529fd306b500698cd96c15800e5cc917c0dd343", "url": "https://github.com/karlsgate/sarif-issue-bot/blob/e529fd306b500698cd96c15800e5cc917c0dd343/entrypoint.sh"}, "gpt4o_tokens": 3019, "dataset_split": "shell", "probability_weighted_scores": {"content_quality": 0.5621703580824469, "noise_severity": 0.03660899131972676, "missing_content_severity": 0.03086718676035111, "factual_density": 2.8647981182166102, "pretraining_utility": 0.5466738243871627, "math_density": 0.28032001150664165, "code_density": 3.836818515646439, "reasoning_density": 0.8422910788258051, "education_level": 2.302825551250643, "creative_writing_quality": -0.3622731565439655}, "score_applicability": {"education_level": 0.9988131907513311, "creative_writing_quality": 0.00047669721197653994}} {"source_group": "shell", "source": "openbmb/UltraData-Stack-v3-L2/shell", "domain": "github.com", "language": "shell", "url": "https://github.com/le-veilleur/go_api_mongo_scrapper/blob/65e9b2e4cbdea5b7b808ecbb31e2e640054aa27d/scripts/build.sh", "id": "shell-0-0fe9c290d870538d0c4a11318461c1e2", "text": "#!/bin/bash\n\n# Script de build avec versioning automatique\n# Usage: ./scripts/build.sh [version]\n\nset -e\n\n# Couleurs pour les logs\nRED='\\033[0;31m'\nGREEN='\\033[0;32m'\nYELLOW='\\033[1;33m'\nBLUE='\\033[0;34m'\nNC='\\033[0m' # No Color\n\n# Fonction de log\nlog() {\n echo -e \"${BLUE}[BUILD]${NC} $1\"\n}\n\nerror() {\n echo -e \"${RED}[ERROR]${NC} $1\"\n exit 1\n}\n\nsuccess() {\n echo -e \"${GREEN}[SUCCESS]${NC} $1\"\n}\n\nwarn() {\n echo -e \"${YELLOW}[WARNING]${NC} $1\"\n}\n\n# Vérifier que nous sommes dans le bon répertoire\nif [ ! -f \"go.mod\" ]; then\n error \"Ce script doit être exécuté depuis la racine du projet\"\nfi\n\n# Récupérer les informations de versioning\nVERSION=${1:-$(git describe --tags --always --dirty 2>/dev/null || echo \"dev\")}\nGIT_COMMIT=$(git rev-parse --short HEAD 2>/dev/null || echo \"unknown\")\nBUILD_TIME=$(date -u +\"%Y-%m-%dT%H:%M:%SZ\")\n\nlog \"Informations de build:\"\nlog \" Version: $VERSION\"\nlog \" Git Commit: $GIT_COMMIT\"\nlog \" Build Time: $BUILD_TIME\"\n\n# Exporter les variables pour docker-compose\nexport VERSION\nexport GIT_COMMIT\nexport BUILD_TIME\n\n# Nettoyer les anciens builds\nlog \"Nettoyage des anciens builds...\"\nmake clean || warn \"Erreur lors du nettoyage\"\n\n# Build local avec Make\nlog \"Build local avec Make...\"\nmake ci || error \"Échec du build local\"\n\n# Build des images Docker\nlog \"Construction des images Docker...\"\n\n# Build de l'image API\nlog \"Construction de l'image API...\"\ndocker build \\\n --build-arg VERSION=\"$VERSION\" \\\n --build-arg GIT_COMMIT=\"$GIT_COMMIT\" \\\n --build-arg BUILD_TIME=\"$BUILD_TIME\" \\\n -t go-api-mongo-scrapper:$VERSION \\\n -t go-api-mongo-scrapper:latest \\\n -f dockerfile .\n\n# Build de l'image Scraper\nlog \"Construction de l'image Scraper...\"\ndocker build \\\n --build-arg VERSION=\"$VERSION\" \\\n --build-arg GIT_COMMIT=\"$GIT_COMMIT\" \\\n --build-arg BUILD_TIME=\"$BUILD_TIME\" \\\n -t go-scraper:$VERSION \\\n -t go-scraper:latest \\\n -f scraper/dockerfile .\n\n# Vérifier les images\nlog \"Vérification des images construites...\"\ndocker images | grep -E \"(go-api-mongo-scrapper|go-scraper)\" || error \"Images non trouvées\"\n\n# Test des images\nlog \"Test des images...\"\n\n# Test de l'image API (health check)\nlog \"Test de l'image API...\"\nCONTAINER_ID=$(docker run -d -p 8082:8080 go-api-mongo-scrapper:$VERSION)\nsleep 5\n\nif docker exec $CONTAINER_ID wget --no-verbose --tries=1 --spider http://localhost:8080/version; then\n success \"Image API fonctionne correctement\"\nelse\n warn \"L'image API ne répond pas correctement\"\nfi\n\ndocker stop $CONTAINER_ID >/dev/null 2>&1\ndocker rm $CONTAINER_ID >/dev/null 2>&1\n\n# Test de l'image Scraper (version info)\nlog \"Test de l'image Scraper...\"\nif docker run --rm go-scraper:$VERSION --help >/dev/null 2>&1; then\n success \"Image Scraper fonctionne correctement\"\nelse\n warn \"L'image Scraper ne répond pas correctement\"\nfi\n\n# Afficher les tailles des images\nlog \"Tailles des images:\"\ndocker images --format \"table {{.Repository}}\\t{{.Tag}}\\t{{.Size}}\" | grep -E \"(go-api-mongo-scrapper|go-scraper)\"\n\n# Optionnel: Push vers le registry\nif [ \"$PUSH_TO_REGISTRY\" = \"true\" ]; then\n log \"Push vers le registry...\"\n \n REGISTRY=${REGISTRY:-ghcr.io/maxime-louis14}\n \n # Tag pour le registry\n docker tag go-api-mongo-scrapper:$VERSION $REGISTRY/go-api-mongo-scrapper:$VERSION\n docker tag go-api-mongo-scrapper:latest $REGISTRY/go-api-mongo-scrapper:latest\n docker tag go-scraper:$VERSION $REGISTRY/go-scraper:$VERSION\n docker tag go-scraper:latest $REGISTRY/go-scraper:latest\n \n # Push\n docker push $REGISTRY/go-api-mongo-scrapper:$VERSION\n docker push $REGISTRY/go-api-mongo-scrapper:latest\n docker push $REGISTRY/go-scraper:$VERSION\n docker push $REGISTRY/go-scraper:latest\n \n success \"Images pushées vers $REGISTRY\"\nfi\n\nsuccess \"Build terminé avec succès!\"\nlog \"Pour démarrer l'application:\"\nlog \" docker-compose up api-server mongodb\"\nlog \"Pour lancer le scraper:\"\nlog \" docker-compose --profile scraper up scraper\"\nlog \"Pour lancer mongo-express:\"\nlog \" docker-compose --profile tools up mongo-express\" ", "text_preview": "#!/bin/bash # Script de build avec versioning automatique # Usage: ./scripts/build.sh [version] set -e # Couleurs pour les logs RED='\\033[0;31m' GREEN='\\033[0;32m' YELLOW='\\033[1;33m' BLUE='\\033[0;34m' NC='\\033[0m' # No Color # Fonction de ", "input_sha256": "6c7d67eecca71cabc7640f3c2b61a3b9dc971199e732f49114f9d8cbb97eceea", "text_sha256": "0fe9c290d870538d0c4a11318461c1e2ef0ba30e5db5896e559acbee1fc93679", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 20053, "input_policy": "text-and-optional-url-v1", "label_policy_version": 12, "requested_model": "decision-models/baseten-mammoth-27b-latest", "backend": "baseten", "endpoint": "https://inference.baseten.co/v1/systemone", "status": "ok", "training_eligible": true, "label": {"primary": {"main_format": "Technical Writing", "sub_format": null}, "secondary": null, "tertiary": null, "content_structure": []}, "candidate_label": null, "topic": {"primary": {"main_topic": "Programming & Software Engineering", "sub_topic": null}, "secondary": null}, "scores": {"content_quality": 1, "noise_severity": 0, "missing_content_severity": 0, "factual_density": 3, "pretraining_utility": 1, "math_density": 0, "code_density": 4, "reasoning_density": 0, "education_level": 2, "creative_writing_quality": null}, "score_expectations": {"content_quality": 1.034214261431319, "noise_severity": 0.04071490011971337, "missing_content_severity": 0.00477759423680652, "factual_density": 3.1573065467127774, "pretraining_utility": 0.589565819865329, "math_density": 0.004047189829608654, "code_density": 3.6939213484432014, "reasoning_density": 0.40565135170715233, "education_level": 2.2630254739959685, "creative_writing_quality": -0.17503675935023535}, "api_choices": {"primary": "Technical Writing", "secondary": "NONE", "tertiary": "NONE", "education_level": "2", "creative_writing_quality": "not_applicable", "primary_topic": "Programming & Software Engineering", "secondary_topic": "NONE"}, "review_reasons": [], "format_slot_diagnostics": {"comparable": true, "secondary_tertiary_identical": false, "secondary_tertiary_max_abs_gap": 0.036585976899710326, "secondary_choice": "NONE", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.9591928433867096, "secondary": 0.8758956045795496, "tertiary": 0.9140722761270733, "structured_records": 0.006710086248698907, "procedural_steps": 0.41284913667633744, "worked_solution": 0.0033017442677153704, "contextual_dialogue": 5.057906192119237e-06, "content_quality": 0.5772972688578831, "noise_severity": 0.9660709165669055, "missing_content_severity": 0.9960186714693279, "factual_density": 0.5104524189598825, "pretraining_utility": 0.5363336689633655, "math_density": 0.9966273418086594, "code_density": 0.7449344570360013, "reasoning_density": 0.6619572069107064, "education_level": 0.6567642494731528, "creative_writing_quality": 0.9988680839112192, "primary_topic": 0.9943297893895975, "secondary_topic": 0.9232681709500131}, "probability_margin": {"primary": 0.9297487424722859, "secondary": 0.8122173365207922, "tertiary": 0.8662976988776057, "education_level": 0.4638869820753483, "creative_writing_quality": 0.9985537182724461, "primary_topic": 0.9901074874381506, "secondary_topic": 0.8792413165191567}, "raw_probabilities": {"primary": {"Academic Writing": 0.00012836287231816505, "Content Listing": 0.00011047788015283982, "Creative Writing": 9.69671002517387e-05, "Customer Support Page": 9.234263506056288e-05, "Q&A Forum": 6.912767602438506e-05, "Discussion Thread": 4.955892734590847e-05, "Comment Section": 8.497021047727197e-05, "Missing Content": 8.247467323718235e-05, "Knowledge Article": 0.00034880269768578084, "Legal Notices": 9.152131831352267e-05, "News Article": 3.790006986855705e-05, "Organizational Announcement": 7.632422884387211e-05, "Nonfiction Writing": 6.254319985613102e-05, "Organizational About Page": 7.616237359944368e-05, "Personal About Page": 7.530650473268349e-05, "Personal Blog": 4.5036149381230815e-05, "Product Page": 4.771458754066808e-05, "Spam / Ads": 6.912698381231447e-05, "Structured Data": 0.00033553818010119337, "Technical Writing": 0.96089314157893, "Transcript / Interview": 9.46535405867717e-05, "Tutorial / How-To Guide": 0.031144399106644086, "User Reviews": 3.805405847917935e-05, "Other / Unknown": 0.005849493446756498}, "secondary": {"Academic Writing": 0.0003419241663252088, "Content Listing": 0.00024824524372966576, "Creative Writing": 0.00027456541110247416, "Customer Support Page": 0.000400459951193017, "Q&A Forum": 0.00016282603056145203, "Discussion Thread": 0.00010015504806998357, "Comment Section": 0.00028513035003053323, "Missing Content": 0.0003132452284405999, "Knowledge Article": 0.000814344107734912, "Legal Notices": 0.00018961171956355965, "News Article": 0.0001760778217110194, "Organizational Announcement": 0.00019551957199077973, "Nonfiction Writing": 0.00016472157131968565, "Organizational About Page": 0.00019965526566323886, "Personal About Page": 0.0001789814300079018, "Personal Blog": 0.00015580822406957722, "Product Page": 0.00012701570402646773, "Spam / Ads": 0.00019359290623010577, "Structured Data": 0.0006775685920783486, "Technical Writing": 0.04456118314814487, "Transcript / Interview": 0.0002184792546233543, "Tutorial / How-To Guide": 0.06884928453460944, "User Reviews": 0.00010498366337212711, "NONE": 0.8810666210554017}, "tertiary": {"Academic Writing": 0.0001550939564745884, "Content Listing": 0.00016475888275195482, "Creative Writing": 0.00015628294712706053, "Customer Support Page": 0.00034925922719858035, "Q&A Forum": 6.826822440774719e-05, "Discussion Thread": 5.064895569758723e-05, "Comment Section": 0.0001623819824528036, "Missing Content": 0.00019057780172694223, "Knowledge Article": 0.0008480106374546084, "Legal Notices": 0.00019635108884285632, "News Article": 9.19502642284933e-05, "Organizational Announcement": 0.00011914572314009159, "Nonfiction Writing": 9.104843344570103e-05, "Organizational About Page": 0.00014088065742652708, "Personal About Page": 9.690863007668993e-05, "Personal Blog": 8.602922631712987e-05, "Product Page": 8.178537775915905e-05, "Spam / Ads": 0.00012252086996664737, "Structured Data": 0.0005051613055520197, "Technical Writing": 0.02714901149790383, "Transcript / Interview": 0.00011161627478004866, "Tutorial / How-To Guide": 0.05135489907750628, "User Reviews": 5.481100265070233e-05, "NONE": 0.9176525979551119}, "structured_records": {"false": 0.993289913751301, "true": 0.006710086248698907}, "procedural_steps": {"false": 0.5871508633236626, "true": 0.41284913667633744}, "worked_solution": {"false": 0.9966982557322847, "true": 0.0033017442677153704}, "contextual_dialogue": {"false": 0.9999949420938079, "true": 5.057906192119237e-06}, "content_quality": {"-2": 0.00588548369639565, "-1": 0.019934483051458996, "0": 0.17898909077750577, "1": 0.52446217307371, "2": 0.2707287694009295}, "noise_severity": {"0": 0.964053448030047, "1": 0.03267954118852039, "2": 0.002233388153929518, "3": 0.0005659078866785471, "4": 0.00046771474082457496}, "missing_content_severity": {"0": 0.99714856655586, "1": 0.0014036744192659724, "2": 0.00108168189009118, "3": 0.00025375250177340504, "4": 0.00011232463300949326}, "factual_density": {"0": 0.005615498631908122, "1": 0.01568632417004517, "2": 0.16685613103186736, "3": 0.43946022418572045, "4": 0.372381821980459}, "pretraining_utility": {"-2": 0.007631694527886096, "-1": 0.057296039398411894, "0": 0.3459297263088341, "1": 0.5161598312102227, "2": 0.0729827085546452}, "math_density": {"0": 0.9970856612245491, "1": 0.0023179319437675117, "2": 0.0002635052387873915, "3": 0.00012935896331652135, "4": 0.00020354262957919867}, "code_density": {"0": 0.0005918347041859576, "1": 0.0012046112217329503, "2": 0.03241023499300351, "3": 0.23527700908884877, "4": 0.7305163099922288}, "reasoning_density": {"0": 0.7305920367119126, "1": 0.14764818999355156, "2": 0.11008620472630487, "3": 0.00886352201193301, "4": 0.002810046556298005}, "education_level": {"none": 0.000996707074410131, "0": 0.00210261863350511, "1": 0.016269718354779604, "2": 0.713970207894294, "3": 0.2500832258189457, "4": 0.016577522224065472}, "creative_writing_quality": {"not_applicable": 0.9990567365926827, "-2": 8.862194637565492e-05, "-1": 0.00018696626160337186, "0": 0.0005030183202365627, "1": 0.000130209373879264, "2": 3.444750522246647e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 3.2815162609856485e-05, "Art & Design": 3.368047736127372e-05, "Law & Crime": 2.875738283331582e-05, "Education & Careers": 3.3682533117208094e-05, "Entertainment & Media": 1.887922091003297e-05, "Fashion & Beauty": 1.468192400953488e-05, "Business, Economics & Finance": 5.510131455984103e-05, "Food & Dining": 1.6709864128112208e-05, "Games & Gaming": 4.668718893123777e-05, "Electronics & Hardware": 9.590279459642263e-05, "Health, Healthcare & Wellness": 1.890071265497144e-05, "History & Geography": 2.8923150319997952e-05, "Home, Pets & Hobbies": 2.265968896357072e-05, "Industry & Production": 3.8431569012365734e-05, "Language, Literature & Philosophy": 3.255227940741283e-05, "Politics & Government": 1.5253367375684057e-05, "Religion & Spirituality": 2.4453135538913275e-05, "Science, Mathematics & Engineering": 0.00019785150493924488, "Relationships & Community": 1.6102894398086334e-05, "Software Usage & Applications": 0.004440386974923869, "Programming & Software Engineering": 0.9945478744130745, "Sports & Fitness": 3.4920350629497514e-05, "Vehicles & Transportation": 1.5195189799557143e-05, "Travel & Tourism": 3.64740203537768e-05, "Other / Uncovered Subject": 0.00011535657481774108, "Unknown / Insufficient Content": 3.776631073429321e-05}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.000350107152651894, "Art & Design": 0.00025164599726223996, "Law & Crime": 0.0003195125883096096, "Education & Careers": 0.00025027175042393934, "Entertainment & Media": 0.00019425269791421222, "Fashion & Beauty": 0.00012224042796722396, "Business, Economics & Finance": 0.0003765467759900267, "Food & Dining": 0.00011502782036177868, "Games & Gaming": 0.00018008828398081964, "Electronics & Hardware": 0.0004100125430439315, "Health, Healthcare & Wellness": 0.00011911114366530767, "History & Geography": 0.0001532563069959641, "Home, Pets & Hobbies": 0.00012816546357309266, "Industry & Production": 0.00016565498708368649, "Language, Literature & Philosophy": 0.00021607966350171347, "Politics & Government": 0.00012993006867825077, "Religion & Spirituality": 0.00014753062848939507, "Science, Mathematics & Engineering": 0.000583590396063073, "Relationships & Community": 8.99187690418111e-05, "Software Usage & Applications": 0.04697807862508665, "Programming & Software Engineering": 0.021794041547650987, "Sports & Fitness": 0.0001321961081437832, "Vehicles & Transportation": 6.76858866775671e-05, "Travel & Tourism": 0.00018404854506635156, "Other / Uncovered Subject": 0.0003216106781334912, "NONE": 0.9262193951442433}}, "probabilities": {"primary": {"Academic Writing": 0.00012836287231816505, "Content Listing": 0.00011047788015283982, "Creative Writing": 9.69671002517387e-05, "Customer Support Page": 9.234263506056288e-05, "Q&A Forum": 6.912767602438506e-05, "Discussion Thread": 4.955892734590847e-05, "Comment Section": 8.497021047727197e-05, "Missing Content": 8.247467323718235e-05, "Knowledge Article": 0.00034880269768578084, "Legal Notices": 9.152131831352267e-05, "News Article": 3.790006986855705e-05, "Organizational Announcement": 7.632422884387211e-05, "Nonfiction Writing": 6.254319985613102e-05, "Organizational About Page": 7.616237359944368e-05, "Personal About Page": 7.530650473268349e-05, "Personal Blog": 4.5036149381230815e-05, "Product Page": 4.771458754066808e-05, "Spam / Ads": 6.912698381231447e-05, "Structured Data": 0.00033553818010119337, "Technical Writing": 0.96089314157893, "Transcript / Interview": 9.46535405867717e-05, "Tutorial / How-To Guide": 0.031144399106644086, "User Reviews": 3.805405847917935e-05, "Other / Unknown": 0.005849493446756498}, "secondary": {"Academic Writing": 0.0003419241663252088, "Content Listing": 0.00024824524372966576, "Creative Writing": 0.00027456541110247416, "Customer Support Page": 0.000400459951193017, "Q&A Forum": 0.00016282603056145203, "Discussion Thread": 0.00010015504806998357, "Comment Section": 0.00028513035003053323, "Missing Content": 0.0003132452284405999, "Knowledge Article": 0.000814344107734912, "Legal Notices": 0.00018961171956355965, "News Article": 0.0001760778217110194, "Organizational Announcement": 0.00019551957199077973, "Nonfiction Writing": 0.00016472157131968565, "Organizational About Page": 0.00019965526566323886, "Personal About Page": 0.0001789814300079018, "Personal Blog": 0.00015580822406957722, "Product Page": 0.00012701570402646773, "Spam / Ads": 0.00019359290623010577, "Structured Data": 0.0006775685920783486, "Technical Writing": 0.04456118314814487, "Transcript / Interview": 0.0002184792546233543, "Tutorial / How-To Guide": 0.06884928453460944, "User Reviews": 0.00010498366337212711, "NONE": 0.8810666210554017}, "tertiary": {"Academic Writing": 0.00015509395647458842, "Content Listing": 0.00016475888275195485, "Creative Writing": 0.00015628294712706056, "Customer Support Page": 0.0003492592271985804, "Q&A Forum": 6.82682244077472e-05, "Discussion Thread": 5.064895569758724e-05, "Comment Section": 0.00016238198245280362, "Missing Content": 0.00019057780172694226, "Knowledge Article": 0.0008480106374546085, "Legal Notices": 0.00019635108884285635, "News Article": 9.195026422849332e-05, "Organizational Announcement": 0.0001191457231400916, "Nonfiction Writing": 9.104843344570104e-05, "Organizational About Page": 0.0001408806574265271, "Personal About Page": 9.690863007668995e-05, "Personal Blog": 8.602922631712988e-05, "Product Page": 8.178537775915907e-05, "Spam / Ads": 0.0001225208699666474, "Structured Data": 0.0005051613055520198, "Technical Writing": 0.027149011497903833, "Transcript / Interview": 0.00011161627478004867, "Tutorial / How-To Guide": 0.05135489907750629, "User Reviews": 5.481100265070234e-05, "NONE": 0.917652597955112}, "structured_records": {"false": 0.993289913751301, "true": 0.006710086248698907}, "procedural_steps": {"false": 0.5871508633236626, "true": 0.41284913667633744}, "worked_solution": {"false": 0.9966982557322847, "true": 0.0033017442677153704}, "contextual_dialogue": {"false": 0.9999949420938079, "true": 5.057906192119237e-06}, "content_quality": {"-2": 0.005885483696395651, "-1": 0.019934483051459, "0": 0.1789890907775058, "1": 0.5244621730737101, "2": 0.27072876940092955}, "noise_severity": {"0": 0.964053448030047, "1": 0.03267954118852039, "2": 0.002233388153929518, "3": 0.0005659078866785471, "4": 0.00046771474082457496}, "missing_content_severity": {"0": 0.99714856655586, "1": 0.0014036744192659724, "2": 0.00108168189009118, "3": 0.00025375250177340504, "4": 0.00011232463300949326}, "factual_density": {"0": 0.005615498631908122, "1": 0.01568632417004517, "2": 0.16685613103186736, "3": 0.43946022418572045, "4": 0.372381821980459}, "pretraining_utility": {"-2": 0.007631694527886096, "-1": 0.057296039398411894, "0": 0.3459297263088341, "1": 0.5161598312102227, "2": 0.0729827085546452}, "math_density": {"0": 0.9970856612245493, "1": 0.002317931943767512, "2": 0.00026350523878739153, "3": 0.00012935896331652138, "4": 0.00020354262957919872}, "code_density": {"0": 0.0005918347041859576, "1": 0.0012046112217329503, "2": 0.03241023499300351, "3": 0.23527700908884877, "4": 0.7305163099922288}, "reasoning_density": {"0": 0.7305920367119126, "1": 0.14764818999355156, "2": 0.11008620472630487, "3": 0.00886352201193301, "4": 0.002810046556298005}, "education_level": {"none": 0.000996707074410131, "0": 0.00210261863350511, "1": 0.016269718354779604, "2": 0.713970207894294, "3": 0.2500832258189457, "4": 0.016577522224065472}, "creative_writing_quality": {"not_applicable": 0.9990567365926827, "-2": 8.862194637565492e-05, "-1": 0.00018696626160337186, "0": 0.0005030183202365627, "1": 0.000130209373879264, "2": 3.444750522246647e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 3.281516260985648e-05, "Art & Design": 3.3680477361273715e-05, "Law & Crime": 2.8757382833315812e-05, "Education & Careers": 3.368253311720809e-05, "Entertainment & Media": 1.8879220910032966e-05, "Fashion & Beauty": 1.4681924009534877e-05, "Business, Economics & Finance": 5.510131455984102e-05, "Food & Dining": 1.6709864128112204e-05, "Games & Gaming": 4.6687188931237756e-05, "Electronics & Hardware": 9.59027945964226e-05, "Health, Healthcare & Wellness": 1.8900712654971438e-05, "History & Geography": 2.8923150319997946e-05, "Home, Pets & Hobbies": 2.2659688963570718e-05, "Industry & Production": 3.843156901236573e-05, "Language, Literature & Philosophy": 3.2552279407412825e-05, "Politics & Government": 1.5253367375684054e-05, "Religion & Spirituality": 2.4453135538913268e-05, "Science, Mathematics & Engineering": 0.00019785150493924482, "Relationships & Community": 1.610289439808633e-05, "Software Usage & Applications": 0.004440386974923868, "Programming & Software Engineering": 0.9945478744130742, "Sports & Fitness": 3.492035062949751e-05, "Vehicles & Transportation": 1.519518979955714e-05, "Travel & Tourism": 3.647402035377679e-05, "Other / Uncovered Subject": 0.00011535657481774105, "Unknown / Insufficient Content": 3.7766310734293206e-05}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.00035010715265189395, "Art & Design": 0.0002516459972622399, "Law & Crime": 0.00031951258830960956, "Education & Careers": 0.0002502717504239393, "Entertainment & Media": 0.00019425269791421216, "Fashion & Beauty": 0.00012224042796722394, "Business, Economics & Finance": 0.0003765467759900266, "Food & Dining": 0.00011502782036177865, "Games & Gaming": 0.00018008828398081961, "Electronics & Hardware": 0.0004100125430439314, "Health, Healthcare & Wellness": 0.00011911114366530764, "History & Geography": 0.00015325630699596408, "Home, Pets & Hobbies": 0.00012816546357309264, "Industry & Production": 0.00016565498708368646, "Language, Literature & Philosophy": 0.0002160796635017134, "Politics & Government": 0.00012993006867825075, "Religion & Spirituality": 0.00014753062848939504, "Science, Mathematics & Engineering": 0.0005835903960630729, "Relationships & Community": 8.991876904181108e-05, "Software Usage & Applications": 0.046978078625086635, "Programming & Software Engineering": 0.021794041547650984, "Sports & Fitness": 0.00013219610814378316, "Vehicles & Transportation": 6.768588667756709e-05, "Travel & Tourism": 0.0001840485450663515, "Other / Uncovered Subject": 0.00032161067813349115, "NONE": 0.9262193951442431}}, "probability_diagnostics": {"primary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "tertiary": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "structured_records": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "procedural_steps": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "worked_solution": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "contextual_dialogue": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "content_quality": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "noise_severity": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "missing_content_severity": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "factual_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "pretraining_utility": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "math_density": {"raw_sum": 0.9999999999999998, "mass_delta": -2.220446049250313e-16, "missing_mass": 2.220446049250313e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "code_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "reasoning_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "education_level": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "creative_writing_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "primary_topic": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "secondary_topic": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}}, "usage": {"input_tokens": 9736, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 9736, "cached_share": null, "cache_discount_reported": null, "reported_cost_usd": null}, "response_metadata": {"model": "decision-models/baseten-mammoth-27b-latest"}, "scored_at_utc": "2026-10-25T18:32:12.590565+00:00", "scoring_key_slot": "assistant_1", "dataset_uid": "d6949cc1-4cf5-4f75-95e0-7c341fb9436a", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "db3ad5062b244949537e7b61b62dbc6ab3b8421397ead57f8476bb48f2a4c672", "source_metadata": {"uuid": "d6949cc1-4cf5-4f75-95e0-7c341fb9436a", "repo_name": "le-veilleur/go_api_mongo_scrapper", "relative_path": "scripts/build.sh", "category": "TOOL", "algo_rel_score": 0.924797534942627, "quality_score": 5.579057216644287, "source_meta": {"github_metadata": {"branch": "main", "commit_count": 19, "repo_created_at": "2023-04-30T13:00:55.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 0, "forks": 0, "issues": 0, "pull_requests": 8}, "file_meta": {"content_id": "0859f42228c36a6a20c3532cd8302c85cbc5cc85", "size_bytes": 4082, "file_timestamp": 1748517861, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "65e9b2e4cbdea5b7b808ecbb31e2e640054aa27d"}}, "parsed_source_meta": {"github_metadata": {"branch": "main", "commit_count": 19, "repo_created_at": "2023-04-30T13:00:55.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 0, "forks": 0, "issues": 0, "pull_requests": 8}, "file_meta": {"content_id": "0859f42228c36a6a20c3532cd8302c85cbc5cc85", "size_bytes": 4082, "file_timestamp": 1748517861, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "65e9b2e4cbdea5b7b808ecbb31e2e640054aa27d", "url": "https://github.com/le-veilleur/go_api_mongo_scrapper/blob/65e9b2e4cbdea5b7b808ecbb31e2e640054aa27d/scripts/build.sh"}, "gpt4o_tokens": 1172, "dataset_split": "shell", "probability_weighted_scores": {"content_quality": 1.0342142614313188, "noise_severity": 0.04071490011971337, "missing_content_severity": 0.00477759423680652, "factual_density": 3.1573065467127774, "pretraining_utility": 0.589565819865329, "math_density": 0.004047189829608654, "code_density": 3.6939213484432014, "reasoning_density": 0.40565135170715233, "education_level": 2.2630254739959685, "creative_writing_quality": -0.17503675935023535}, "score_applicability": {"education_level": 0.9990032929255899, "creative_writing_quality": 0.0009432634073173199}} {"source_group": "shell", "source": "openbmb/UltraData-Stack-v3-L2/shell", "domain": "github.com", "language": "shell", "url": "https://github.com/sulthonzh/docker-remote-deployment-action/blob/8763294de7f8f22d81c0e7052aabe48f05fc89ad/docker-entrypoint.sh", "id": "shell-0-e43a1ec1db93496510501504bb10c371", "text": "#!/bin/sh\nset -eu\n\nexecute_ssh(){\n echo \"Execute Over SSH: $@\"\n ssh -q -t -i \"$HOME/.ssh/id_rsa\" \\\n -o UserKnownHostsFile=/dev/null \\\n -p $INPUT_REMOTE_DOCKER_PORT \\\n -o StrictHostKeyChecking=no \"$INPUT_REMOTE_DOCKER_HOST\" \"$@\"\n}\n\nif [ -z \"${INPUT_REMOTE_DOCKER_PORT+x}\" ]; then\n INPUT_REMOTE_DOCKER_PORT=22\nfi\n\nif [ -z \"${INPUT_REMOTE_DOCKER_HOST+x}\" ]; then\n echo \"Input remote_docker_host is required!\"\n exit 1\nfi\n\nif [ -z \"${INPUT_SSH_PUBLIC_KEY+x}\" ]; then\n echo \"Input ssh_public_key is required!\"\n exit 1\nfi\n\nif [ -z \"${INPUT_SSH_PRIVATE_KEY+x}\" ]; then\n echo \"Input ssh_private_key is required!\"\n exit 1\nfi\n\nif [ -z \"${INPUT_ARGS+x}\" ]; then\n echo \"Input input_args is required!\"\n exit 1\nfi\n\nif [ -z \"${INPUT_DEPLOY_PATH+x}\" ]; then\n INPUT_DEPLOY_PATH=~/docker-deployment\nfi\n\nif [ -z \"${INPUT_STACK_FILE_NAME+x}\" ]; then\n INPUT_STACK_FILE_NAME=docker-compose.yaml\nfi\n\nif [ -z \"${INPUT_KEEP_FILES+x}\" ]; then\n INPUT_KEEP_FILES=4\nelse\n INPUT_KEEP_FILES=$((INPUT_KEEP_FILES+1))\nfi\n\nif [ -z \"${INPUT_DOCKER_REGISTRY_URI+x}\" ]; then\n INPUT_DOCKER_REGISTRY_URI=https://registry.hub.docker.com\nfi\n\nif [ -z \"${INPUT_COPY_STACK_FILE+x}\" ]; then\n INPUT_COPY_STACK_FILE=false\nfi\n\nSTACK_FILE=${INPUT_STACK_FILE_NAME}\nDEPLOYMENT_COMMAND_OPTIONS=\"\"\n\n\nif [ \"$INPUT_COPY_STACK_FILE\" == \"true\" ]; then\n STACK_FILE=\"$INPUT_DEPLOY_PATH/$STACK_FILE\"\nelse\n DEPLOYMENT_COMMAND_OPTIONS=\" --log-level debug --host ssh://$INPUT_REMOTE_DOCKER_HOST:$INPUT_REMOTE_DOCKER_PORT\"\nfi\n\ncase $INPUT_DEPLOYMENT_MODE in\n\n docker-swarm)\n DEPLOYMENT_COMMAND=\"docker $DEPLOYMENT_COMMAND_OPTIONS stack deploy --compose-file $STACK_FILE\"\n ;;\n\n *)\n INPUT_DEPLOYMENT_MODE=\"docker-compose\"\n DEPLOYMENT_COMMAND=\"docker-compose -f $STACK_FILE $DEPLOYMENT_COMMAND_OPTIONS\"\n ;;\nesac\n\n\nSSH_HOST=${INPUT_REMOTE_DOCKER_HOST#*@}\n\necho \"Registering SSH keys...\"\n\n# register the private key with the agent.\nmkdir -p ~/.ssh\nls ~/.ssh\nprintf '%s\\n' \"$INPUT_SSH_PRIVATE_KEY\" > ~/.ssh/id_rsa\nchmod 600 ~/.ssh/id_rsa\nprintf '%s\\n' \"$INPUT_SSH_PUBLIC_KEY\" > ~/.ssh/id_rsa.pub\nchmod 600 ~/.ssh/id_rsa.pub\n#chmod 600 \"~/.ssh\"\neval $(ssh-agent)\nssh-add ~/.ssh/id_rsa\n\necho \"Add known hosts\"\nssh-keyscan -p $INPUT_REMOTE_DOCKER_PORT \"$SSH_HOST\" >> ~/.ssh/known_hosts\nssh-keyscan -p $INPUT_REMOTE_DOCKER_PORT \"$SSH_HOST\" >> /etc/ssh/ssh_known_hosts\n\nset context\necho \"Create docker context\"\ndocker context create remote --docker \"host=ssh://$INPUT_REMOTE_DOCKER_HOST:$INPUT_REMOTE_DOCKER_PORT\"\ndocker context use remote\n\nif ! [ -z \"${INPUT_DOCKER_REGISTRY_USERNAME+x}\" ] && ! [ -z \"${INPUT_DOCKER_REGISTRY_PASSWORD+x}\" ]; then\n echo \"Connecting to $INPUT_REMOTE_DOCKER_HOST... Command: docker login\"\n echo \"$INPUT_DOCKER_REGISTRY_PASSWORD\" | docker login -u \"$INPUT_DOCKER_REGISTRY_USERNAME\" --password-stdin \"$INPUT_DOCKER_REGISTRY_URI\"\nfi\n\nif ! [ -z \"${INPUT_DOCKER_PRUNE+x}\" ] && [ $INPUT_DOCKER_PRUNE = 'true' ] ; then\n yes | docker --log-level debug --host \"ssh://$INPUT_REMOTE_DOCKER_HOST:$INPUT_REMOTE_DOCKER_PORT\" system prune -a 2>&1\nfi\n\nif ! [ -z \"${INPUT_COPY_STACK_FILE+x}\" ] && [ $INPUT_COPY_STACK_FILE = 'true' ] ; then\n execute_ssh \"mkdir -p $INPUT_DEPLOY_PATH/stacks || true\"\n FILE_NAME=\"docker-stack-$(date +%Y%m%d%s).yaml\"\n\n scp -i \"$HOME/.ssh/id_rsa\" \\\n -o UserKnownHostsFile=/dev/null \\\n -o StrictHostKeyChecking=no \\\n -P $INPUT_REMOTE_DOCKER_PORT \\\n $INPUT_STACK_FILE_NAME \"$INPUT_REMOTE_DOCKER_HOST:$INPUT_DEPLOY_PATH/stacks/$FILE_NAME\"\n\n execute_ssh \"ln -nfs $INPUT_DEPLOY_PATH/stacks/$FILE_NAME $INPUT_DEPLOY_PATH/$INPUT_STACK_FILE_NAME\"\n execute_ssh \"ls -t $INPUT_DEPLOY_PATH/stacks/docker-stack-* 2>/dev/null | tail -n +$INPUT_KEEP_FILES | xargs rm -- 2>/dev/null || true\"\n\n if ! [ -z \"${INPUT_PULL_IMAGES_FIRST+x}\" ] && [ $INPUT_PULL_IMAGES_FIRST = 'true' ] && [ $INPUT_DEPLOYMENT_MODE = 'docker-compose' ] ; then\n execute_ssh ${DEPLOYMENT_COMMAND} \"pull\"\n fi\n\n if ! [ -z \"${INPUT_PRE_DEPLOYMENT_COMMAND_ARGS+x}\" ] && [ $INPUT_DEPLOYMENT_MODE = 'docker-compose' ] ; then\n execute_ssh \"${DEPLOYMENT_COMMAND} $INPUT_PRE_DEPLOYMENT_COMMAND_ARGS\" 2>&1\n fi\n\n execute_ssh ${DEPLOYMENT_COMMAND} \"$INPUT_ARGS\" 2>&1\nelse\n echo \"Connecting to $INPUT_REMOTE_DOCKER_HOST... Command: ${DEPLOYMENT_COMMAND} ${INPUT_ARGS}\"\n ${DEPLOYMENT_COMMAND} ${INPUT_ARGS} 2>&1\nfi\n\n\n", "text_preview": "#!/bin/sh set -eu execute_ssh(){ echo \"Execute Over SSH: $@\" ssh -q -t -i \"$HOME/.ssh/id_rsa\" \\ -o UserKnownHostsFile=/dev/null \\ -p $INPUT_REMOTE_DOCKER_PORT \\ -o StrictHostKeyChecking=no \"$INPUT_REMOTE_DOCKER_HOST\" \"$@\" } if [ -z \"${INPUT", "input_sha256": "dc02a1669a2a069cefed55919730d456f404d3ea8a93c44098ae5ab03d0724a8", "text_sha256": "e43a1ec1db93496510501504bb10c371fd4d8aed51167134d0ea234c103eb60d", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 20055, "input_policy": "text-and-optional-url-v1", "label_policy_version": 12, "requested_model": "decision-models/baseten-mammoth-27b-latest", "backend": "baseten", "endpoint": "https://inference.baseten.co/v1/systemone", "status": "ok", "training_eligible": true, "label": {"primary": {"main_format": "Technical Writing", "sub_format": null}, "secondary": null, "tertiary": null, "content_structure": []}, "candidate_label": null, "topic": {"primary": {"main_topic": "Programming & Software Engineering", "sub_topic": null}, "secondary": null}, "scores": {"content_quality": 1, "noise_severity": 0, "missing_content_severity": 0, "factual_density": 4, "pretraining_utility": 1, "math_density": 0, "code_density": 4, "reasoning_density": 0, "education_level": 2, "creative_writing_quality": null}, "score_expectations": {"content_quality": 0.7315969934260965, "noise_severity": 0.018434291303068832, "missing_content_severity": 0.018425277874676967, "factual_density": 3.34543306971974, "pretraining_utility": 0.5067676573343375, "math_density": 0.18502028878986657, "code_density": 3.926724374710032, "reasoning_density": 0.41472280172907194, "education_level": 2.551920248508114, "creative_writing_quality": -0.3653045918374989}, "api_choices": {"primary": "Technical Writing", "secondary": "NONE", "tertiary": "NONE", "education_level": "2", "creative_writing_quality": "not_applicable", "primary_topic": "Programming & Software Engineering", "secondary_topic": "NONE"}, "review_reasons": [], "format_slot_diagnostics": {"comparable": true, "secondary_tertiary_identical": false, "secondary_tertiary_max_abs_gap": 0.026115481719060862, "secondary_choice": "NONE", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.9910701432265553, "secondary": 0.9605090625386083, "tertiary": 0.9877599999845851, "structured_records": 0.0008796246453092679, "procedural_steps": 0.19124845327048637, "worked_solution": 0.0017981405384367027, "contextual_dialogue": 6.742715536551713e-06, "content_quality": 0.49126362234008436, "noise_severity": 0.984638090580776, "missing_content_severity": 0.9846456017711025, "factual_density": 0.4545275580997832, "pretraining_utility": 0.4743749085820407, "math_density": 0.8458164260084445, "code_density": 0.9389369789250266, "reasoning_density": 0.6543976652257733, "education_level": 0.3881174181886958, "creative_writing_quality": 0.9996138330829718, "primary_topic": 0.9881106606436952, "secondary_topic": 0.8367776316585672}, "probability_margin": {"primary": 0.9853387635238507, "secondary": 0.9436271382840721, "tertiary": 0.9818494080058584, "education_level": 0.053414814756638174, "creative_writing_quality": 0.9995550170076447, "primary_topic": 0.9785401571906792, "secondary_topic": 0.734374284249653}, "raw_probabilities": {"primary": {"Academic Writing": 3.231135634674452e-05, "Content Listing": 2.2530840145380863e-05, "Creative Writing": 2.4083887870957196e-05, "Customer Support Page": 1.5469249062695947e-05, "Q&A Forum": 1.5045842729570815e-05, "Discussion Thread": 1.0018788162582553e-05, "Comment Section": 1.984178011460791e-05, "Missing Content": 2.7492639221437972e-05, "Knowledge Article": 0.0001079704198714471, "Legal Notices": 3.397717034635502e-05, "News Article": 6.6852922387058344e-06, "Organizational Announcement": 1.451949167689357e-05, "Nonfiction Writing": 1.4018297027499583e-05, "Organizational About Page": 1.6194890896957817e-05, "Personal About Page": 1.3877168314802191e-05, "Personal Blog": 9.250730752796639e-06, "Product Page": 1.068372628317304e-05, "Spam / Ads": 1.4806929086333513e-05, "Structured Data": 0.00012734005112596358, "Technical Writing": 0.9914422205921155, "Transcript / Interview": 1.9309693859165037e-05, "Tutorial / How-To Guide": 0.0061034570682647555, "User Reviews": 9.713821295799718e-06, "Other / Unknown": 0.0018891802731896426}, "secondary": {"Academic Writing": 0.000134491011862551, "Content Listing": 8.162759074669085e-05, "Creative Writing": 0.00010616942932881877, "Customer Support Page": 0.00010125044586510095, "Q&A Forum": 4.5272932528427094e-05, "Discussion Thread": 3.426339731864045e-05, "Comment Section": 8.149403830294932e-05, "Missing Content": 0.00016750235910217588, "Knowledge Article": 0.00033685933459101696, "Legal Notices": 0.0001024992172955996, "News Article": 6.484964673776726e-05, "Organizational Announcement": 5.7805123539453156e-05, "Nonfiction Writing": 5.128270790389535e-05, "Organizational About Page": 7.529376362560081e-05, "Personal About Page": 5.379925069090803e-05, "Personal Blog": 5.207179158241808e-05, "Product Page": 4.1235963123812176e-05, "Spam / Ads": 6.433617762897203e-05, "Structured Data": 0.0004410309918521258, "Technical Writing": 0.017120716445602494, "Transcript / Interview": 7.231752005044478e-05, "Tutorial / How-To Guide": 0.01852737998209434, "User Reviews": 3.1932612459303086e-05, "NONE": 0.9621545182661664}, "tertiary": {"Academic Writing": 4.6091637634648854e-05, "Content Listing": 3.6896402274233124e-05, "Creative Writing": 4.778815002216721e-05, "Customer Support Page": 4.3221483546294915e-05, "Q&A Forum": 1.52513906855319e-05, "Discussion Thread": 1.2255689885654026e-05, "Comment Section": 4.461723873430747e-05, "Missing Content": 0.00012980939911175785, "Knowledge Article": 0.00021506011667489204, "Legal Notices": 0.00012824435022847807, "News Article": 2.6007599935505642e-05, "Organizational Announcement": 2.4132965585660513e-05, "Nonfiction Writing": 2.5173364980527617e-05, "Organizational About Page": 4.1715565928872805e-05, "Personal About Page": 2.0922810040208667e-05, "Personal Blog": 2.144865011285638e-05, "Product Page": 1.9677095127805604e-05, "Spam / Ads": 2.7902467584296353e-05, "Structured Data": 0.0002235802238691918, "Technical Writing": 0.004115869596220689, "Transcript / Interview": 2.948739584222712e-05, "Tutorial / How-To Guide": 0.006420591979368961, "User Reviews": 1.4254441377910803e-05, "NONE": 0.9882699999852274}, "structured_records": {"false": 0.9991203753546908, "true": 0.0008796246453092679}, "procedural_steps": {"false": 0.8087515467295137, "true": 0.19124845327048637}, "worked_solution": {"false": 0.9982018594615633, "true": 0.0017981405384367027}, "contextual_dialogue": {"false": 0.9999932572844634, "true": 6.742715536551713e-06}, "content_quality": {"-2": 0.010118260621557965, "-1": 0.05336855514682349, "0": 0.3023514377245803, "1": 0.46312142319804056, "2": 0.17104032330899768}, "noise_severity": {"0": 0.9837856931771348, "1": 0.014755349325352394, "2": 0.0009305567138273437, "3": 0.0002957745846803485, "4": 0.00023262619900517623}, "missing_content_severity": {"0": 0.9857516517701742, "1": 0.011144863941214925, "2": 0.0022494646958220676, "3": 0.0006345938293360733, "4": 0.00021942576345242021}, "factual_density": {"0": 0.00602834382212642, "1": 0.013955644529304137, "2": 0.12191527959575198, "3": 0.3447560622123381, "4": 0.5133446698404794}, "pretraining_utility": {"-2": 0.009512159902559554, "-1": 0.07832802922654218, "0": 0.37679868802284383, "1": 0.46660223933011014, "2": 0.06875888351794432}, "math_density": {"0": 0.8241205797662053, "1": 0.17156493812308957, "2": 0.0015654137512713085, "3": 0.0006717502735013288, "4": 0.002077318085932604}, "code_density": {"0": 0.00020472531508660956, "1": 0.0004483983218769702, "2": 0.007354008988470434, "3": 0.05640351108704985, "4": 0.9355893562875162}, "reasoning_density": {"0": 0.7827377694742247, "1": 0.07323436217249406, "2": 0.10307942023792313, "3": 0.028464193380701153, "4": 0.012484254734657042}, "education_level": {"none": 0.0011446136704974061, "0": 0.0017530192142594344, "1": 0.0075104840134061455, "2": 0.4900978484905798, "3": 0.43668303373394163, "4": 0.06281100087731549}, "creative_writing_quality": {"not_applicable": 0.9996781942358098, "-2": 5.560168822787545e-05, "-1": 8.311295950396646e-05, "0": 0.00012317722816517296, "1": 4.306856396517731e-05, "2": 1.6845324328036984e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 4.183927845815492e-05, "Art & Design": 5.212385404677108e-05, "Law & Crime": 3.8258277520699494e-05, "Education & Careers": 4.8107369356624975e-05, "Entertainment & Media": 2.304649079562624e-05, "Fashion & Beauty": 2.4608924003956223e-05, "Business, Economics & Finance": 4.764989904774769e-05, "Food & Dining": 2.4793290533933864e-05, "Games & Gaming": 4.2236995195600265e-05, "Electronics & Hardware": 0.00029014407457557883, "Health, Healthcare & Wellness": 2.276658943743521e-05, "History & Geography": 3.536996485742278e-05, "Home, Pets & Hobbies": 2.7640640657856287e-05, "Industry & Production": 4.4009460924177045e-05, "Language, Literature & Philosophy": 3.22472694595971e-05, "Politics & Government": 2.0499243920619364e-05, "Religion & Spirituality": 2.7310138484012985e-05, "Science, Mathematics & Engineering": 0.00023008049657266677, "Relationships & Community": 2.0567291482225073e-05, "Software Usage & Applications": 0.010027785735950886, "Programming & Software Engineering": 0.9885679429266301, "Sports & Fitness": 4.066186484626034e-05, "Vehicles & Transportation": 2.090747290960177e-05, "Travel & Tourism": 3.165111266377532e-05, "Other / Uncovered Subject": 0.00017569712068202895, "Unknown / Insufficient Content": 4.2054216986574786e-05}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0004966021121128618, "Art & Design": 0.00032013559827755183, "Law & Crime": 0.0010661731560429207, "Education & Careers": 0.00032680605928400784, "Entertainment & Media": 0.00030950406570872654, "Fashion & Beauty": 0.00018943119835169398, "Business, Economics & Finance": 0.0005055426327416281, "Food & Dining": 0.00017686582233141448, "Games & Gaming": 0.0002624261833108854, "Electronics & Hardware": 0.0011392606255083676, "Health, Healthcare & Wellness": 0.00021627791146611582, "History & Geography": 0.00022446618702700525, "Home, Pets & Hobbies": 0.00020268215519957827, "Industry & Production": 0.00026252831297615665, "Language, Literature & Philosophy": 0.0001594407885345391, "Politics & Government": 0.00018687881317730007, "Religion & Spirituality": 0.00024062583389030317, "Science, Mathematics & Engineering": 0.0007722102737070402, "Relationships & Community": 0.00015977444080576196, "Software Usage & Applications": 0.1086811308066617, "Programming & Software Engineering": 0.04002374701036247, "Sports & Fitness": 0.0001838194735220005, "Vehicles & Transportation": 0.00011074178011565085, "Travel & Tourism": 0.00025895372817315656, "Other / Uncovered Subject": 0.0004685599743965387, "NONE": 0.8430554150563146}}, "probabilities": {"primary": {"Academic Writing": 3.231135634674453e-05, "Content Listing": 2.2530840145380866e-05, "Creative Writing": 2.4083887870957202e-05, "Customer Support Page": 1.546924906269595e-05, "Q&A Forum": 1.5045842729570818e-05, "Discussion Thread": 1.0018788162582555e-05, "Comment Section": 1.9841780114607914e-05, "Missing Content": 2.749263922143798e-05, "Knowledge Article": 0.00010797041987144712, "Legal Notices": 3.3977170346355027e-05, "News Article": 6.685292238705836e-06, "Organizational Announcement": 1.4519491676893574e-05, "Nonfiction Writing": 1.4018297027499586e-05, "Organizational About Page": 1.619489089695782e-05, "Personal About Page": 1.3877168314802194e-05, "Personal Blog": 9.25073075279664e-06, "Product Page": 1.0683726283173042e-05, "Spam / Ads": 1.4806929086333516e-05, "Structured Data": 0.0001273400511259636, "Technical Writing": 0.9914422205921157, "Transcript / Interview": 1.930969385916504e-05, "Tutorial / How-To Guide": 0.006103457068264757, "User Reviews": 9.71382129579972e-06, "Other / Unknown": 0.001889180273189643}, "secondary": {"Academic Writing": 0.00013449101186255102, "Content Listing": 8.162759074669086e-05, "Creative Writing": 0.00010616942932881879, "Customer Support Page": 0.00010125044586510096, "Q&A Forum": 4.52729325284271e-05, "Discussion Thread": 3.426339731864046e-05, "Comment Section": 8.149403830294933e-05, "Missing Content": 0.0001675023591021759, "Knowledge Article": 0.000336859334591017, "Legal Notices": 0.00010249921729559961, "News Article": 6.484964673776728e-05, "Organizational Announcement": 5.780512353945316e-05, "Nonfiction Writing": 5.1282707903895355e-05, "Organizational About Page": 7.529376362560082e-05, "Personal About Page": 5.379925069090804e-05, "Personal Blog": 5.2071791582418086e-05, "Product Page": 4.123596312381218e-05, "Spam / Ads": 6.433617762897204e-05, "Structured Data": 0.00044103099185212585, "Technical Writing": 0.017120716445602497, "Transcript / Interview": 7.23175200504448e-05, "Tutorial / How-To Guide": 0.018527379982094343, "User Reviews": 3.193261245930309e-05, "NONE": 0.9621545182661665}, "tertiary": {"Academic Writing": 4.6091637634648854e-05, "Content Listing": 3.6896402274233124e-05, "Creative Writing": 4.778815002216721e-05, "Customer Support Page": 4.3221483546294915e-05, "Q&A Forum": 1.52513906855319e-05, "Discussion Thread": 1.2255689885654026e-05, "Comment Section": 4.461723873430747e-05, "Missing Content": 0.00012980939911175785, "Knowledge Article": 0.00021506011667489204, "Legal Notices": 0.00012824435022847807, "News Article": 2.6007599935505642e-05, "Organizational Announcement": 2.4132965585660513e-05, "Nonfiction Writing": 2.5173364980527617e-05, "Organizational About Page": 4.1715565928872805e-05, "Personal About Page": 2.0922810040208667e-05, "Personal Blog": 2.144865011285638e-05, "Product Page": 1.9677095127805604e-05, "Spam / Ads": 2.7902467584296353e-05, "Structured Data": 0.0002235802238691918, "Technical Writing": 0.004115869596220689, "Transcript / Interview": 2.948739584222712e-05, "Tutorial / How-To Guide": 0.006420591979368961, "User Reviews": 1.4254441377910803e-05, "NONE": 0.9882699999852274}, "structured_records": {"false": 0.9991203753546908, "true": 0.0008796246453092679}, "procedural_steps": {"false": 0.8087515467295137, "true": 0.19124845327048637}, "worked_solution": {"false": 0.9982018594615633, "true": 0.0017981405384367027}, "contextual_dialogue": {"false": 0.9999932572844634, "true": 6.742715536551713e-06}, "content_quality": {"-2": 0.010118260621557965, "-1": 0.05336855514682349, "0": 0.3023514377245803, "1": 0.46312142319804056, "2": 0.17104032330899768}, "noise_severity": {"0": 0.9837856931771348, "1": 0.014755349325352394, "2": 0.0009305567138273437, "3": 0.0002957745846803485, "4": 0.00023262619900517623}, "missing_content_severity": {"0": 0.9857516517701745, "1": 0.011144863941214929, "2": 0.0022494646958220684, "3": 0.0006345938293360735, "4": 0.0002194257634524203}, "factual_density": {"0": 0.00602834382212642, "1": 0.013955644529304137, "2": 0.12191527959575198, "3": 0.3447560622123381, "4": 0.5133446698404794}, "pretraining_utility": {"-2": 0.009512159902559554, "-1": 0.07832802922654218, "0": 0.37679868802284383, "1": 0.46660223933011014, "2": 0.06875888351794432}, "math_density": {"0": 0.8241205797662051, "1": 0.17156493812308954, "2": 0.001565413751271308, "3": 0.0006717502735013287, "4": 0.0020773180859326034}, "code_density": {"0": 0.00020472531508660956, "1": 0.0004483983218769702, "2": 0.007354008988470434, "3": 0.05640351108704985, "4": 0.9355893562875162}, "reasoning_density": {"0": 0.7827377694742247, "1": 0.07323436217249406, "2": 0.10307942023792313, "3": 0.028464193380701153, "4": 0.012484254734657042}, "education_level": {"none": 0.0011446136704974063, "0": 0.0017530192142594346, "1": 0.007510484013406146, "2": 0.49009784849057986, "3": 0.4366830337339417, "4": 0.0628110008773155}, "creative_writing_quality": {"not_applicable": 0.9996781942358098, "-2": 5.560168822787545e-05, "-1": 8.311295950396646e-05, "0": 0.00012317722816517296, "1": 4.306856396517731e-05, "2": 1.6845324328036984e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 4.183927845815493e-05, "Art & Design": 5.2123854046771084e-05, "Law & Crime": 3.82582775206995e-05, "Education & Careers": 4.810736935662498e-05, "Entertainment & Media": 2.3046490795626243e-05, "Fashion & Beauty": 2.4608924003956226e-05, "Business, Economics & Finance": 4.76498990477477e-05, "Food & Dining": 2.4793290533933867e-05, "Games & Gaming": 4.223699519560027e-05, "Electronics & Hardware": 0.0002901440745755789, "Health, Healthcare & Wellness": 2.2766589437435214e-05, "History & Geography": 3.5369964857422786e-05, "Home, Pets & Hobbies": 2.764064065785629e-05, "Industry & Production": 4.400946092417705e-05, "Language, Literature & Philosophy": 3.224726945959711e-05, "Politics & Government": 2.0499243920619368e-05, "Religion & Spirituality": 2.7310138484012988e-05, "Science, Mathematics & Engineering": 0.0002300804965726668, "Relationships & Community": 2.0567291482225077e-05, "Software Usage & Applications": 0.010027785735950888, "Programming & Software Engineering": 0.9885679429266302, "Sports & Fitness": 4.0661864846260344e-05, "Vehicles & Transportation": 2.0907472909601773e-05, "Travel & Tourism": 3.165111266377533e-05, "Other / Uncovered Subject": 0.00017569712068202898, "Unknown / Insufficient Content": 4.205421698657479e-05}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0004966021121128618, "Art & Design": 0.00032013559827755183, "Law & Crime": 0.0010661731560429207, "Education & Careers": 0.00032680605928400784, "Entertainment & Media": 0.00030950406570872654, "Fashion & Beauty": 0.00018943119835169398, "Business, Economics & Finance": 0.0005055426327416281, "Food & Dining": 0.00017686582233141448, "Games & Gaming": 0.0002624261833108854, "Electronics & Hardware": 0.0011392606255083676, "Health, Healthcare & Wellness": 0.00021627791146611582, "History & Geography": 0.00022446618702700525, "Home, Pets & Hobbies": 0.00020268215519957827, "Industry & Production": 0.00026252831297615665, "Language, Literature & Philosophy": 0.0001594407885345391, "Politics & Government": 0.00018687881317730007, "Religion & Spirituality": 0.00024062583389030317, "Science, Mathematics & Engineering": 0.0007722102737070402, "Relationships & Community": 0.00015977444080576196, "Software Usage & Applications": 0.1086811308066617, "Programming & Software Engineering": 0.04002374701036247, "Sports & Fitness": 0.0001838194735220005, "Vehicles & Transportation": 0.00011074178011565085, "Travel & Tourism": 0.00025895372817315656, "Other / Uncovered Subject": 0.0004685599743965387, "NONE": 0.8430554150563146}}, "probability_diagnostics": {"primary": {"raw_sum": 0.9999999999999998, "mass_delta": -2.220446049250313e-16, "missing_mass": 2.220446049250313e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "tertiary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "structured_records": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "procedural_steps": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "worked_solution": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "contextual_dialogue": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "content_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "noise_severity": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "missing_content_severity": {"raw_sum": 0.9999999999999997, "mass_delta": -3.3306690738754696e-16, "missing_mass": 3.3306690738754696e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "factual_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "pretraining_utility": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "math_density": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "code_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "reasoning_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "education_level": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "creative_writing_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "primary_topic": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}}, "usage": {"input_tokens": 9833, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 9833, "cached_share": null, "cache_discount_reported": null, "reported_cost_usd": null}, "response_metadata": {"model": "decision-models/baseten-mammoth-27b-latest"}, "scored_at_utc": "2026-10-25T18:32:16.065896+00:00", "scoring_key_slot": "assistant_1", "dataset_uid": "d529efe3-1a79-452a-a16e-5ddf52c034be", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "32b8fd35ce52d927c3f2331c33ee0ec67ff9731e1f6b5974c8357e62d3c5ded3", "source_metadata": {"uuid": "d529efe3-1a79-452a-a16e-5ddf52c034be", "repo_name": "sulthonzh/docker-remote-deployment-action", "relative_path": "docker-entrypoint.sh", "category": "TOOL", "algo_rel_score": 0.993470311164856, "quality_score": 4.114378929138184, "source_meta": {"github_metadata": {"branch": "main", "commit_count": 17, "repo_created_at": "2021-12-25T16:25:11.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 7, "forks": 10, "issues": 1, "pull_requests": 6}, "file_meta": {"content_id": "11116193d0b1d5ea1972c191dcf39559006c838d", "size_bytes": 4328, "file_timestamp": 1687325621, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "8763294de7f8f22d81c0e7052aabe48f05fc89ad"}}, "parsed_source_meta": {"github_metadata": {"branch": "main", "commit_count": 17, "repo_created_at": "2021-12-25T16:25:11.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 7, "forks": 10, "issues": 1, "pull_requests": 6}, "file_meta": {"content_id": "11116193d0b1d5ea1972c191dcf39559006c838d", "size_bytes": 4328, "file_timestamp": 1687325621, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "8763294de7f8f22d81c0e7052aabe48f05fc89ad", "url": "https://github.com/sulthonzh/docker-remote-deployment-action/blob/8763294de7f8f22d81c0e7052aabe48f05fc89ad/docker-entrypoint.sh"}, "gpt4o_tokens": 1305, "dataset_split": "shell", "probability_weighted_scores": {"content_quality": 0.7315969934260965, "noise_severity": 0.018434291303068832, "missing_content_severity": 0.018425277874676967, "factual_density": 3.34543306971974, "pretraining_utility": 0.5067676573343375, "math_density": 0.1850202887898666, "code_density": 3.926724374710032, "reasoning_density": 0.41472280172907194, "education_level": 2.551920248508114, "creative_writing_quality": -0.3653045918374989}, "score_applicability": {"education_level": 0.9988553863295027, "creative_writing_quality": 0.00032180576419022915}} {"source_group": "shell", "source": "openbmb/UltraData-Stack-v3-L2/shell", "domain": "github.com", "language": "shell", "url": "https://github.com/AbhishekDey03/Dark-Matter-With-Semi-Visible-Leptonic-Jets/blob/ba8da1d625efe6d59980ddb2749232e31a4335f0/run_analyses_using_event_weights.sh", "id": "shell-0-27f7f521932f6826a5ad098522f3c7ec", "text": "#!/bin/bash\n\n# before running ./run_analyses_using_event_weights.sh ensure that the file is given permissions to run: chmod +x run_analyses_using_event_weights.sh\n\n# This script automates the process of running the analysis script for the SVJl signal\n# ensure that calculate_event_weight.sh has been successfully run beforehand as this file is reliant on the event_weights.txt output\n# event_weights.txt is used as it contains the DSID,root path, and individual event weight for each file\n# this code sums DSID's event weights and computes events with this.\n# sed is used to change a temporary analysis script\n# ensure before analysis that all placeholder directories are replaced with real directories containing the data for analysis.\n\n# Path to the ROOT-based analysis script (C++ code). Assuming the .C file keeps the same as in this project\nanalysis_script=\"Analysis_script.C\"\n\n# Path to the event weights file (generated by a prior script).\nevent_weights_file=\"event_weights.txt\"\n\n# Check if the event weights file exists; exit with an error if not found.\nif [[ ! -f \"$event_weights_file\" ]]; then\n echo \"Event weights file not found: $event_weights_file\"\n exit 1\nfi\n\n# Check if the analysis script exists; exit with an error if not found.\nif [[ ! -f \"$analysis_script\" ]]; then\n echo \"Analysis script not found: $analysis_script\"\n exit 1\nfi\n\n# Function to run the analysis script on a single ROOT file.\nrun_analysis() {\n local dsid=$1\n local root_file=$2\n local event_weight=$3\n local output_number=$4\n\n # Debug: Print function arguments to verify input.\n echo \"run_analysis called with dsid=$dsid, root_file=$root_file, event_weight=$event_weight, output_number=$output_number\"\n\n # Create a unique temporary analysis script by copying the original and replacing placeholders.\n local temp_script=\"temp_analysisscript_sum_evnt_weight_${dsid}_${output_number}.C\"\n cp \"$analysis_script\" \"$temp_script\"\n\n # Replace the input ROOT file path in the temporary script.\n sed -i \"s|/path/to/input/data.root|$root_file|g\" \"$temp_script\"\n\n # Replace the placeholder for totalEventsWeighted with the calculated event weight.\n sed -i \"s|Float_t totalEventsWeighted = 10000;|Float_t totalEventsWeighted = $event_weight;|g\" \"$temp_script\"\n\n # Adjust histogram bin settings.\n declare -A histogram_bins=(\n [\"HT_cutflow_\"]=\"40, 0, 4000\"\n [\"MET_cutflow_\"]=\"35, 0, 3500\"\n [\"RT_cutflow_\"]=\"30, 0.0, 3.0\"\n [\"MT_cutflow_\"]=\"35, 0, 3500\"\n [\"mjj_cutflow_\"]=\"35, 0, 3500\"\n [\"mll_cutflow_\"]=\"50, 0, 25\"\n [\"leading_jet_pt_cutflow_\"]=\"15, 0, 1500\"\n [\"subleading_jet_pt_cutflow_\"]=\"15, 0, 1500\"\n [\"MINphi_cutflow_\"]=\"35, 0, 3.5\"\n [\"MAXphi_cutflow_\"]=\"35, 0, 3.5\"\n [\"MAX_MINphi_cutflow_\"]=\"35, 0, 3.5\"\n [\"inter_iso_cutflow_\"]=\"10, 0, 1.0\"\n [\"rel_iso_cutflow_\"]=\"10, 0, 1.0\"\n [\"n_muons_non_iso_cutflow_\"]=\"10, .5, 10.5\"\n )\n\n # Update the bin settings for each histogram in the temporary script.\n for step in 0 1 2; do\n for hist in \"${!histogram_bins[@]}\"; do\n sed -i \"s|TH1F \\*${hist}${step} = new TH1F(\\\"${hist}${step}\\\", .*, [0-9]*, [0-9]*, [0-9]*);|\\\n TH1F \\*${hist}${step} = new TH1F(\\\"${hist}${step}\\\", \\\"${hist}${step}\\\", ${histogram_bins[$hist]});|g\" \"$temp_script\"\n done\n done\n\n # Define the output file name with the current date, DSID, and output number.\n local output_file=\"output_23_07_${dsid}_${output_number}.root\"\n local output_path=\"/path/to/output_for_this_DSID/${output_file}\"\n\n # Debug: Print the output file path for verification.\n echo \"Setting output file path to: $output_path\"\n\n # Replace the placeholder for the output file path in the temporary script.\n sed -i \"s|/path/to/output/data.root|$output_path|g\" \"$temp_script\"\n\n # Compile the temporary analysis script using ROOT and FastJet.\n g++ `root-config --cflags` `root-config --libs` -o temp_analysis_sum_evnt_weight \"$temp_script\" `fastjet-install/bin/fastjet-config --cxxflags --libs --plugins`\n\n # Run the compiled analysis script.\n ./temp_analysis_sum_evnt_weight\n\n # Clean up: remove the temporary script and executable to avoid clutter.\n rm \"$temp_script\" temp_analysis_sum_evnt_weight\n\n echo \"Analysis completed successfully for DSID=$dsid\"\n}\n\n# Initialize counters for output files and summed weights for each DSID.\ndeclare -A output_number_counter\ndeclare -A summed_weights\n\n# Sum the event weights for each DSID across all ROOT files.\nwhile IFS=, read -r dsid root_file event_weight; do\n # Skip the header line in the event weights file.\n if [[ \"$dsid\" == \"DSID\" ]]; then\n continue\n fi\n\n # Accumulate the summed weights for the current DSID.\n if [[ -z \"${summed_weights[$dsid]}\" ]]; then\n summed_weights[$dsid]=$event_weight\n else\n summed_weights[$dsid]=$(echo \"${summed_weights[$dsid]} + $event_weight\" | bc -l)\n fi\ndone < \"$event_weights_file\"\n\n# Run the analysis for each ROOT file using the summed weights.\nwhile IFS=, read -r dsid root_file event_weight; do\n # Skip the header line in the event weights file.\n if [[ \"$dsid\" == \"DSID\" ]]; then\n continue\n fi\n\n # Increment the output number counter for the current DSID.\n if [[ -z \"${output_number_counter[$dsid]}\" ]]; then\n output_number_counter[$dsid]=1\n else\n ((output_number_counter[$dsid]++))\n fi\n\n output_number=\"${output_number_counter[$dsid]}\"\n summed_weight=\"${summed_weights[$dsid]}\"\n\n # Debug: Print the root file path and the summed event weight.\n echo \"Found ROOT file: $root_file\"\n echo \"Summed event weight for DSID $dsid: $summed_weight\"\n\n # Run the analysis for the current ROOT file and DSID.\n run_analysis \"$dsid\" \"$root_file\" \"$summed_weight\" \"$output_number\"\n\ndone < \"$event_weights_file\"\n\necho \"All analyses completed.\"\n\n\n# When the analysis is completed ensure that all background outputs are combined into one file.\n# It is recommended to use hadd:\n# cd path/to/output_for_this_DSID/\n# hadd -f all_background.root *.root\n", "text_preview": "#!/bin/bash # before running ./run_analyses_using_event_weights.sh ensure that the file is given permissions to run: chmod +x run_analyses_using_event_weights.sh # This script automates the process of running the analysis script for the SVJ", "input_sha256": "5e43bb321faab215487609c1dd9f67f5766b6be6cce0bcf787919630e0cac04b", "text_sha256": "27f7f521932f6826a5ad098522f3c7ec3fbfd2f146fad428b88431ca2bcbfeec", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 20054, "input_policy": "text-and-optional-url-v1", "label_policy_version": 12, "requested_model": "decision-models/baseten-mammoth-27b-latest", "backend": "baseten", "endpoint": "https://inference.baseten.co/v1/systemone", "status": "needs_review", "training_eligible": false, "label": null, "candidate_label": {"primary": {"main_format": "Technical Writing", "sub_format": null}, "secondary": null, "tertiary": null, "content_structure": []}, "topic": {"primary": {"main_topic": "Programming & Software Engineering", "sub_topic": null}, "secondary": {"main_topic": "Science, Mathematics & Engineering", "sub_topic": null}}, "scores": {"content_quality": 1, "noise_severity": 0, "missing_content_severity": 0, "factual_density": 3, "pretraining_utility": 1, "math_density": 1, "code_density": 4, "reasoning_density": 0, "education_level": 3, "creative_writing_quality": null}, "score_expectations": {"content_quality": 0.430617098947074, "noise_severity": 0.04761710697621476, "missing_content_severity": 0.021982230417105963, "factual_density": 2.9533471875583426, "pretraining_utility": 0.5029326809533523, "math_density": 0.878870921714647, "code_density": 3.6758048747215213, "reasoning_density": 0.5352892345210085, "education_level": 3.049887645863121, "creative_writing_quality": -0.24935077055522745}, "api_choices": {"primary": "Technical Writing", "secondary": "NONE", "tertiary": "NONE", "education_level": "3", "creative_writing_quality": "not_applicable", "primary_topic": "Programming & Software Engineering", "secondary_topic": "Science, Mathematics & Engineering"}, "review_reasons": ["secondary_topic probability 0.5682 below 0.70"], "format_slot_diagnostics": {"comparable": true, "secondary_tertiary_identical": false, "secondary_tertiary_max_abs_gap": 0.0991973367728286, "secondary_choice": "NONE", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.9579968209099676, "secondary": 0.7667959418937216, "tertiary": 0.8703062063523254, "structured_records": 0.3051907194685941, "procedural_steps": 0.4840316259559338, "worked_solution": 0.006016129205865709, "contextual_dialogue": 5.6437338920828445e-06, "content_quality": 0.35320861948796733, "noise_severity": 0.960319077519821, "missing_content_severity": 0.9816814746524117, "factual_density": 0.49954522249521405, "pretraining_utility": 0.46250250616602673, "math_density": 0.4988627858629444, "code_density": 0.7298373956012676, "reasoning_density": 0.5539256378991595, "education_level": 0.3564944948272721, "creative_writing_quality": 0.9986345866619791, "primary_topic": 0.6998443807290325, "secondary_topic": 0.5508835849897394}, "probability_margin": {"primary": 0.9312717311327456, "secondary": 0.670804525281217, "tertiary": 0.8253050405976559, "education_level": 0.16672127292977684, "creative_writing_quality": 0.9983332488559807, "primary_topic": 0.43882329848540896, "secondary_topic": 0.3308481180053053}, "raw_probabilities": {"primary": {"Academic Writing": 0.0032071979676911444, "Content Listing": 0.0001427003747588052, "Creative Writing": 0.00012186194174792199, "Customer Support Page": 8.83052097871638e-05, "Q&A Forum": 9.252078334503015e-05, "Discussion Thread": 5.9567063693124255e-05, "Comment Section": 0.00010549687180885308, "Missing Content": 0.00011260841419279106, "Knowledge Article": 0.0005236555525827427, "Legal Notices": 9.537631168337048e-05, "News Article": 4.720713399491533e-05, "Organizational Announcement": 7.364657890714807e-05, "Nonfiction Writing": 9.641084382678947e-05, "Organizational About Page": 9.348185179297527e-05, "Personal About Page": 7.739045947416175e-05, "Personal Blog": 5.205051173260764e-05, "Product Page": 5.194305458214884e-05, "Spam / Ads": 8.171197264069635e-05, "Structured Data": 0.0011309687159020993, "Technical Writing": 0.9597469533720523, "Transcript / Interview": 0.0001149779527597495, "Tutorial / How-To Guide": 0.028475222239306618, "User Reviews": 4.620536588683898e-05, "Other / Unknown": 0.005362539455850005}, "secondary": {"Academic Writing": 0.02736303301871801, "Content Listing": 0.0005098668663079095, "Creative Writing": 0.0005449027800916701, "Customer Support Page": 0.0006720288709269731, "Q&A Forum": 0.0004250977910292886, "Discussion Thread": 0.00027374763674705473, "Comment Section": 0.0005891764520845257, "Missing Content": 0.0006806012424784801, "Knowledge Article": 0.0030443669433766686, "Legal Notices": 0.0004274996830004389, "News Article": 0.00037901472349302303, "Organizational Announcement": 0.0003604881158465754, "Nonfiction Writing": 0.00048399923156675523, "Organizational About Page": 0.0004379185217508407, "Personal About Page": 0.0003916860413828077, "Personal Blog": 0.0003929836258809994, "Product Page": 0.00027970070206598106, "Spam / Ads": 0.0003644716083660841, "Structured Data": 0.010135693586399607, "Technical Writing": 0.06925082647848366, "Transcript / Interview": 0.0005370427437012541, "Tutorial / How-To Guide": 0.10570825236693279, "User Reviews": 0.00023482332121878974, "NONE": 0.7765127776481499}, "tertiary": {"Academic Writing": 0.02237223593601145, "Content Listing": 0.00021276334551548963, "Creative Writing": 0.00025284820956892923, "Customer Support Page": 0.0003018490923301745, "Q&A Forum": 0.00014498576602229744, "Discussion Thread": 0.00011161410999698867, "Comment Section": 0.00028865296261434845, "Missing Content": 0.00040443889021322347, "Knowledge Article": 0.002244295768511601, "Legal Notices": 0.00025056777441905556, "News Article": 0.00014069579487191745, "Organizational Announcement": 0.00016307220821107414, "Nonfiction Writing": 0.00023563572285649422, "Organizational About Page": 0.00021547405775798392, "Personal About Page": 0.0001486212411300364, "Personal Blog": 0.00015617971867819025, "Product Page": 0.000118171763454692, "Spam / Ads": 0.00016494685999517717, "Structured Data": 0.015090318301127552, "Technical Writing": 0.030577004627613244, "Transcript / Interview": 0.00020955236917107406, "Tutorial / How-To Guide": 0.05040507382332263, "User Reviews": 8.088723562792956e-05, "NONE": 0.8757101144209785}, "structured_records": {"false": 0.6948092805314059, "true": 0.3051907194685941}, "procedural_steps": {"false": 0.5159683740440661, "true": 0.4840316259559338}, "worked_solution": {"false": 0.9939838707941343, "true": 0.006016129205865709}, "contextual_dialogue": {"false": 0.9999943562661079, "true": 5.6437338920828445e-06}, "content_quality": {"-2": 0.027903158461847946, "-1": 0.13695889457912516, "0": 0.31513901428988844, "1": 0.416615554888382, "2": 0.10338337778075654}, "noise_severity": {"0": 0.959469885705647, "1": 0.03542424249362299, "2": 0.003663179546008899, "3": 0.0009042636283108147, "4": 0.0005384286264103824}, "missing_content_severity": {"0": 0.9865731994479722, "1": 0.006491718405004273, "2": 0.005578206491891866, "3": 0.0010934035922101487, "4": 0.00026347206292188043}, "factual_density": {"0": 0.006835363751040144, "1": 0.03385821284788756, "2": 0.2353767557748049, "3": 0.4469832073442248, "4": 0.2769464602820427}, "pretraining_utility": {"-2": 0.011437754364795126, "-1": 0.09581254689088801, "0": 0.3450937989475464, "1": 0.4736910630197103, "2": 0.07396483677706014}, "math_density": {"0": 0.36124686762490976, "1": 0.4815249270265749, "2": 0.10615210713418788, "3": 0.01926261243761379, "4": 0.03181348577671379}, "code_density": {"0": 0.0004878617599102486, "1": 0.0011162539328486646, "2": 0.026291741064850417, "3": 0.266311434310591, "4": 0.7057927089317996}, "reasoning_density": {"0": 0.7077585828536529, "1": 0.13532978117866595, "2": 0.09798531943283502, "3": 0.031716451662711566, "4": 0.027209864872134438}, "education_level": {"none": 0.0009613165670370868, "0": 0.0018554565288073134, "1": 0.005204406675386385, "2": 0.23120926844642586, "3": 0.46374541235606004, "4": 0.2970241394262832}, "creative_writing_quality": {"not_applicable": 0.9988621555516493, "-2": 0.00010253514668100804, "-1": 0.0003181811672526552, "0": 0.0005289066956685138, "1": 0.00013691380685046313, "2": 5.130763189799481e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 0.0004449115046475284, "Art & Design": 0.0005390562878369615, "Law & Crime": 0.00066745064922925, "Education & Careers": 0.00033117641415356786, "Entertainment & Media": 0.00039547555954762243, "Fashion & Beauty": 0.00030821837338032104, "Business, Economics & Finance": 0.00040289927462167123, "Food & Dining": 0.00032088465417773337, "Games & Gaming": 0.0005400558218113805, "Electronics & Hardware": 0.000548687603215186, "Health, Healthcare & Wellness": 0.0005605605873504225, "History & Geography": 0.0005886603607253467, "Home, Pets & Hobbies": 0.00029008512083431563, "Industry & Production": 0.0004418802784233468, "Language, Literature & Philosophy": 0.00040313603272744875, "Politics & Government": 0.00019928670795306357, "Religion & Spirituality": 0.00039683546131872704, "Science, Mathematics & Engineering": 0.2725655291386608, "Relationships & Community": 0.00021087397957153344, "Software Usage & Applications": 0.001510858661176309, "Programming & Software Engineering": 0.7113888276240697, "Sports & Fitness": 0.0004639804007447049, "Vehicles & Transportation": 0.0002529257872861862, "Travel & Tourism": 0.00044603200629508795, "Other / Uncovered Subject": 0.005007842599575298, "Unknown / Insufficient Content": 0.0007738691106664007}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0007944586860056255, "Art & Design": 0.0008101789726403018, "Law & Crime": 0.0008933412507663505, "Education & Careers": 0.0004068958932553738, "Entertainment & Media": 0.0004813050730991119, "Fashion & Beauty": 0.0004047734031946323, "Business, Economics & Finance": 0.000545796207354192, "Food & Dining": 0.0003906051433243104, "Games & Gaming": 0.0005001932246631385, "Electronics & Hardware": 0.0007413577905947267, "Health, Healthcare & Wellness": 0.0005912857870602907, "History & Geography": 0.0005649001464576823, "Home, Pets & Hobbies": 0.00035303583296491126, "Industry & Production": 0.0005202977529478456, "Language, Literature & Philosophy": 0.00030372586382386446, "Politics & Government": 0.0003219750913627914, "Religion & Spirituality": 0.000579981740280983, "Science, Mathematics & Engineering": 0.5681572932593648, "Relationships & Community": 0.00020734340450995542, "Software Usage & Applications": 0.005525106724478803, "Programming & Software Engineering": 0.23730917525405953, "Sports & Fitness": 0.00046765434284893264, "Vehicles & Transportation": 0.00029379489113776677, "Travel & Tourism": 0.0005431581430868269, "Other / Uncovered Subject": 0.0019714498767839633, "NONE": 0.17632091624393326}}, "probabilities": {"primary": {"Academic Writing": 0.0032071979676911444, "Content Listing": 0.0001427003747588052, "Creative Writing": 0.00012186194174792199, "Customer Support Page": 8.83052097871638e-05, "Q&A Forum": 9.252078334503015e-05, "Discussion Thread": 5.9567063693124255e-05, "Comment Section": 0.00010549687180885308, "Missing Content": 0.00011260841419279106, "Knowledge Article": 0.0005236555525827427, "Legal Notices": 9.537631168337048e-05, "News Article": 4.720713399491533e-05, "Organizational Announcement": 7.364657890714807e-05, "Nonfiction Writing": 9.641084382678947e-05, "Organizational About Page": 9.348185179297527e-05, "Personal About Page": 7.739045947416175e-05, "Personal Blog": 5.205051173260764e-05, "Product Page": 5.194305458214884e-05, "Spam / Ads": 8.171197264069635e-05, "Structured Data": 0.0011309687159020993, "Technical Writing": 0.9597469533720523, "Transcript / Interview": 0.0001149779527597495, "Tutorial / How-To Guide": 0.028475222239306618, "User Reviews": 4.620536588683898e-05, "Other / Unknown": 0.005362539455850005}, "secondary": {"Academic Writing": 0.02736303301871801, "Content Listing": 0.0005098668663079095, "Creative Writing": 0.0005449027800916701, "Customer Support Page": 0.0006720288709269731, "Q&A Forum": 0.0004250977910292886, "Discussion Thread": 0.00027374763674705473, "Comment Section": 0.0005891764520845257, "Missing Content": 0.0006806012424784801, "Knowledge Article": 0.0030443669433766686, "Legal Notices": 0.0004274996830004389, "News Article": 0.00037901472349302303, "Organizational Announcement": 0.0003604881158465754, "Nonfiction Writing": 0.00048399923156675523, "Organizational About Page": 0.0004379185217508407, "Personal About Page": 0.0003916860413828077, "Personal Blog": 0.0003929836258809994, "Product Page": 0.00027970070206598106, "Spam / Ads": 0.0003644716083660841, "Structured Data": 0.010135693586399607, "Technical Writing": 0.06925082647848366, "Transcript / Interview": 0.0005370427437012541, "Tutorial / How-To Guide": 0.10570825236693279, "User Reviews": 0.00023482332121878974, "NONE": 0.7765127776481499}, "tertiary": {"Academic Writing": 0.02237223593601145, "Content Listing": 0.00021276334551548963, "Creative Writing": 0.00025284820956892923, "Customer Support Page": 0.0003018490923301745, "Q&A Forum": 0.00014498576602229744, "Discussion Thread": 0.00011161410999698867, "Comment Section": 0.00028865296261434845, "Missing Content": 0.00040443889021322347, "Knowledge Article": 0.002244295768511601, "Legal Notices": 0.00025056777441905556, "News Article": 0.00014069579487191745, "Organizational Announcement": 0.00016307220821107414, "Nonfiction Writing": 0.00023563572285649422, "Organizational About Page": 0.00021547405775798392, "Personal About Page": 0.0001486212411300364, "Personal Blog": 0.00015617971867819025, "Product Page": 0.000118171763454692, "Spam / Ads": 0.00016494685999517717, "Structured Data": 0.015090318301127552, "Technical Writing": 0.030577004627613244, "Transcript / Interview": 0.00020955236917107406, "Tutorial / How-To Guide": 0.05040507382332263, "User Reviews": 8.088723562792956e-05, "NONE": 0.8757101144209785}, "structured_records": {"false": 0.6948092805314059, "true": 0.3051907194685941}, "procedural_steps": {"false": 0.5159683740440661, "true": 0.4840316259559338}, "worked_solution": {"false": 0.9939838707941343, "true": 0.006016129205865709}, "contextual_dialogue": {"false": 0.9999943562661079, "true": 5.6437338920828445e-06}, "content_quality": {"-2": 0.027903158461847946, "-1": 0.13695889457912516, "0": 0.31513901428988844, "1": 0.416615554888382, "2": 0.10338337778075654}, "noise_severity": {"0": 0.959469885705647, "1": 0.03542424249362299, "2": 0.003663179546008899, "3": 0.0009042636283108147, "4": 0.0005384286264103824}, "missing_content_severity": {"0": 0.9865731994479717, "1": 0.00649171840500427, "2": 0.005578206491891864, "3": 0.0010934035922101483, "4": 0.0002634720629218803}, "factual_density": {"0": 0.006835363751040144, "1": 0.03385821284788756, "2": 0.2353767557748049, "3": 0.4469832073442248, "4": 0.2769464602820427}, "pretraining_utility": {"-2": 0.011437754364795126, "-1": 0.09581254689088801, "0": 0.3450937989475464, "1": 0.4736910630197103, "2": 0.07396483677706014}, "math_density": {"0": 0.3612468676249097, "1": 0.4815249270265748, "2": 0.10615210713418785, "3": 0.019262612437613787, "4": 0.031813485776713786}, "code_density": {"0": 0.00048786175991024863, "1": 0.0011162539328486648, "2": 0.02629174106485042, "3": 0.26631143431059107, "4": 0.7057927089317997}, "reasoning_density": {"0": 0.707758582853653, "1": 0.13532978117866598, "2": 0.09798531943283503, "3": 0.03171645166271157, "4": 0.02720986487213444}, "education_level": {"none": 0.0009613165670370869, "0": 0.0018554565288073136, "1": 0.005204406675386386, "2": 0.2312092684464259, "3": 0.4637454123560601, "4": 0.29702413942628325}, "creative_writing_quality": {"not_applicable": 0.9988621555516494, "-2": 0.00010253514668100806, "-1": 0.00031818116725265526, "0": 0.0005289066956685139, "1": 0.00013691380685046316, "2": 5.1307631897994815e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 0.00044491150464752845, "Art & Design": 0.0005390562878369616, "Law & Crime": 0.0006674506492292501, "Education & Careers": 0.0003311764141535679, "Entertainment & Media": 0.0003954755595476225, "Fashion & Beauty": 0.0003082183733803211, "Business, Economics & Finance": 0.0004028992746216713, "Food & Dining": 0.0003208846541777334, "Games & Gaming": 0.0005400558218113806, "Electronics & Hardware": 0.0005486876032151861, "Health, Healthcare & Wellness": 0.0005605605873504226, "History & Geography": 0.0005886603607253468, "Home, Pets & Hobbies": 0.0002900851208343157, "Industry & Production": 0.00044188027842334684, "Language, Literature & Philosophy": 0.0004031360327274488, "Politics & Government": 0.0001992867079530636, "Religion & Spirituality": 0.0003968354613187271, "Science, Mathematics & Engineering": 0.27256552913866083, "Relationships & Community": 0.00021087397957153347, "Software Usage & Applications": 0.0015108586611763091, "Programming & Software Engineering": 0.7113888276240699, "Sports & Fitness": 0.00046398040074470496, "Vehicles & Transportation": 0.00025292578728618626, "Travel & Tourism": 0.000446032006295088, "Other / Uncovered Subject": 0.0050078425995752985, "Unknown / Insufficient Content": 0.0007738691106664008}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0007944586860056255, "Art & Design": 0.0008101789726403018, "Law & Crime": 0.0008933412507663505, "Education & Careers": 0.0004068958932553738, "Entertainment & Media": 0.0004813050730991119, "Fashion & Beauty": 0.0004047734031946323, "Business, Economics & Finance": 0.000545796207354192, "Food & Dining": 0.0003906051433243104, "Games & Gaming": 0.0005001932246631385, "Electronics & Hardware": 0.0007413577905947267, "Health, Healthcare & Wellness": 0.0005912857870602907, "History & Geography": 0.0005649001464576823, "Home, Pets & Hobbies": 0.00035303583296491126, "Industry & Production": 0.0005202977529478456, "Language, Literature & Philosophy": 0.00030372586382386446, "Politics & Government": 0.0003219750913627914, "Religion & Spirituality": 0.000579981740280983, "Science, Mathematics & Engineering": 0.5681572932593648, "Relationships & Community": 0.00020734340450995542, "Software Usage & Applications": 0.005525106724478803, "Programming & Software Engineering": 0.23730917525405953, "Sports & Fitness": 0.00046765434284893264, "Vehicles & Transportation": 0.00029379489113776677, "Travel & Tourism": 0.0005431581430868269, "Other / Uncovered Subject": 0.0019714498767839633, "NONE": 0.17632091624393326}}, "probability_diagnostics": {"primary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "tertiary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "structured_records": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "procedural_steps": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "worked_solution": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "contextual_dialogue": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "content_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "noise_severity": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "missing_content_severity": {"raw_sum": 1.0000000000000004, "mass_delta": 4.440892098500626e-16, "missing_mass": 0.0, "excess_mass": 4.440892098500626e-16, "valid": true, "normalized": false}, "factual_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "pretraining_utility": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "math_density": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "code_density": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "reasoning_density": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "education_level": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "creative_writing_quality": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "primary_topic": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}}, "usage": {"input_tokens": 10242, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 10242, "cached_share": null, "cache_discount_reported": null, "reported_cost_usd": null}, "response_metadata": {"model": "decision-models/baseten-mammoth-27b-latest"}, "scored_at_utc": "2026-10-25T18:33:02.343692+00:00", "scoring_key_slot": "assistant_1", "dataset_uid": "b476f3ee-5e08-4e39-9c49-74b72d4482f7", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "6cb4cf52d104021aecfb71c985a665bc3615b02ad4f866b3a9ebf9e3b6783a92", "source_metadata": {"uuid": "b476f3ee-5e08-4e39-9c49-74b72d4482f7", "repo_name": "AbhishekDey03/Dark-Matter-With-Semi-Visible-Leptonic-Jets", "relative_path": "run_analyses_using_event_weights.sh", "category": "DATA", "algo_rel_score": 0.9847914576530457, "quality_score": 4.659712314605713, "source_meta": {"github_metadata": {"branch": "main", "commit_count": 3, "repo_created_at": "2024-08-14T13:43:50.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 0, "forks": 0, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "0cf49e770cac9e0dc0dca178b34b47bb93fc63ee", "size_bytes": 6110, "file_timestamp": 1723643462, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "ba8da1d625efe6d59980ddb2749232e31a4335f0"}}, "parsed_source_meta": {"github_metadata": {"branch": "main", "commit_count": 3, "repo_created_at": "2024-08-14T13:43:50.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 0, "forks": 0, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "0cf49e770cac9e0dc0dca178b34b47bb93fc63ee", "size_bytes": 6110, "file_timestamp": 1723643462, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "ba8da1d625efe6d59980ddb2749232e31a4335f0", "url": "https://github.com/AbhishekDey03/Dark-Matter-With-Semi-Visible-Leptonic-Jets/blob/ba8da1d625efe6d59980ddb2749232e31a4335f0/run_analyses_using_event_weights.sh"}, "gpt4o_tokens": 1622, "dataset_split": "shell", "probability_weighted_scores": {"content_quality": 0.430617098947074, "noise_severity": 0.04761710697621476, "missing_content_severity": 0.021982230417105966, "factual_density": 2.9533471875583426, "pretraining_utility": 0.5029326809533523, "math_density": 0.8788709217146471, "code_density": 3.6758048747215213, "reasoning_density": 0.5352892345210085, "education_level": 3.049887645863121, "creative_writing_quality": -0.24935077055522745}, "score_applicability": {"education_level": 0.999038683432963, "creative_writing_quality": 0.001137844448350635}} {"source_group": "shell", "source": "openbmb/UltraData-Stack-v3-L2/shell", "domain": "github.com", "language": "shell", "url": "https://github.com/juant72/sniperforge/blob/440919457858f57f313748cdec128ebcd6ecc6aa/archive/legacy_scripts/run-jupiter-v3-hunter.ps1", "id": "shell-0-06e7f7f0d27e3678748b4ac0f612fac5", "text": "#!/usr/bin/env pwsh\r\n\r\nWrite-Host \"🌟 === JUPITER V3 ARBITRAGE HUNTER ===\" -ForegroundColor Cyan\r\nWrite-Host \" 🪐 Using Jupiter Price API v3\" -ForegroundColor Green\r\nWrite-Host \" ⚡ Professional multi-source price comparison\" -ForegroundColor Yellow\r\nWrite-Host \" 💰 Hybrid DEX + Jupiter v3 strategy\" -ForegroundColor Magenta\r\nWrite-Host \" 🎯 Advanced arbitrage detection\" -ForegroundColor Blue\r\n\r\nWrite-Host \"🏆 === CONFIGURACIÓN JUPITER V3 ===\" -ForegroundColor Yellow\r\n\r\n# Check for API keys\r\n$AlchemyKey = $env:ALCHEMY_API_KEY\r\n$HeliusKey = $env:HELIUS_API_KEY\r\n$BirdeyeKey = $env:BIRDEYE_API_KEY\r\n\r\nif ($AlchemyKey) {\r\n Write-Host \"✅ Alchemy Premium RPC: $($AlchemyKey.Substring(0,8))...\" -ForegroundColor Green\r\n} elseif ($HeliusKey) {\r\n Write-Host \"✅ Helius Premium RPC: $($HeliusKey.Substring(0,8))...\" -ForegroundColor Green\r\n} else {\r\n Write-Host \"✅ Alchemy Premium RPC: X64q4zZF...\" -ForegroundColor Green\r\n}\r\n\r\nif ($BirdeyeKey) {\r\n Write-Host \"✅ Birdeye API: $($BirdeyeKey.Substring(0,6))...\" -ForegroundColor Green\r\n} else {\r\n Write-Host \"⚠️ Birdeye API: Not configured (optional)\" -ForegroundColor Yellow\r\n Write-Host \" Para mejores resultados: https://docs.birdeye.so/docs/authentication-api-keys\" -ForegroundColor Gray\r\n}\r\n\r\nWrite-Host \"🔧 === JUPITER V3 FEATURES ===\" -ForegroundColor Magenta\r\nWrite-Host \" 📊 Jupiter v3 vs Direct DEX comparison\" -ForegroundColor White\r\nWrite-Host \" 💱 Jupiter v3 vs CEX price arbitrage\" -ForegroundColor White\r\nWrite-Host \" 🛣️ Jupiter v3 route arbitrage detection\" -ForegroundColor White\r\nWrite-Host \" ⚡ 8-second intervals - optimal for v3 API\" -ForegroundColor White\r\nWrite-Host \" 🎯 Multi-source price validation\" -ForegroundColor White\r\n\r\n# Check wallet\r\nif (Test-Path \"mainnet_wallet.json\") {\r\n Write-Host \"✅ Wallet found: mainnet_wallet.json\" -ForegroundColor Green\r\n} elseif (Test-Path \"wallet.json\") {\r\n Write-Host \"✅ Wallet found: wallet.json\" -ForegroundColor Green\r\n} else {\r\n Write-Host \"❌ No wallet found!\" -ForegroundColor Red\r\n Write-Host \" Create wallet first: cargo run --bin generate_wallet\" -ForegroundColor Yellow\r\n exit 1\r\n}\r\n\r\nWrite-Host \"💡 === JUPITER V3 ADVANTAGES ===\" -ForegroundColor Cyan\r\nWrite-Host \"🚫 Jupiter v6 (PROBLEMAS):\" -ForegroundColor Red\r\nWrite-Host \" • Rate limits 429\" -ForegroundColor Gray\r\nWrite-Host \" • Swap API instability\" -ForegroundColor Gray\r\nWrite-Host \" • Complex transaction building\" -ForegroundColor Gray\r\n\r\nWrite-Host \"✅ Jupiter v3 (SOLUCIÓN):\" -ForegroundColor Green\r\nWrite-Host \" • Stable Price API\" -ForegroundColor Gray\r\nWrite-Host \" • No rate limits on price queries\" -ForegroundColor Gray\r\nWrite-Host \" • Simple price comparison\" -ForegroundColor Gray\r\nWrite-Host \" • Multi-route analysis\" -ForegroundColor Gray\r\n\r\nWrite-Host \"🎯 READY FOR JUPITER V3 ARBITRAGE!\" -ForegroundColor Green\r\nWrite-Host \" Esta estrategia combina lo mejor de Jupiter con DEX directo\" -ForegroundColor Cyan\r\nWrite-Host \" Press Enter to start or Ctrl+C to cancel...\" -ForegroundColor Yellow\r\n\r\n$null = Read-Host\r\n\r\nWrite-Host \"🚀 Starting Jupiter v3 arbitrage hunter...\" -ForegroundColor Green\r\n\r\ntry {\r\n # Build and run\r\n Write-Host \" 🔨 Building Jupiter v3 hunter...\" -ForegroundColor Yellow\r\n cargo build --release --bin jupiter_v3_hunter\r\n\r\n if ($LASTEXITCODE -eq 0) {\r\n Write-Host \"✅ Build successful, starting Jupiter v3 hunter...\" -ForegroundColor Green\r\n Write-Host \" 🪐 JUPITER V3 PRICE API ACTIVE!\" -ForegroundColor Magenta\r\n cargo run --release --bin jupiter_v3_hunter\r\n } else {\r\n Write-Host \"❌ Build failed!\" -ForegroundColor Red\r\n exit 1\r\n }\r\n} catch {\r\n Write-Host \"❌ Error: $($_.Exception.Message)\" -ForegroundColor Red\r\n exit 1\r\n}\r\n", "text_preview": "#!/usr/bin/env pwsh Write-Host \"🌟 === JUPITER V3 ARBITRAGE HUNTER ===\" -ForegroundColor Cyan Write-Host \" 🪐 Using Jupiter Price API v3\" -ForegroundColor Green Write-Host \" ⚡ Professional multi-source price comparison\" -ForegroundColor Yello", "input_sha256": "f3676afa2f33ffeb310ad9f62ea5bf6d92058fcca99fa7637364ec2cd62c9dfb", "text_sha256": "06e7f7f0d27e3678748b4ac0f612fac50f7029d81b26dbcb10e73976717de7e1", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 20058, "input_policy": "text-and-optional-url-v1", "label_policy_version": 12, "requested_model": "decision-models/baseten-mammoth-27b-latest", "backend": "baseten", "endpoint": "https://inference.baseten.co/v1/systemone", "status": "needs_review", "training_eligible": false, "label": null, "candidate_label": {"primary": {"main_format": "Technical Writing", "sub_format": null}, "secondary": null, "tertiary": null, "content_structure": []}, "topic": {"primary": {"main_topic": "Programming & Software Engineering", "sub_topic": null}, "secondary": {"main_topic": "Business, Economics & Finance", "sub_topic": null}}, "scores": {"content_quality": 1, "noise_severity": 0, "missing_content_severity": 0, "factual_density": 2, "pretraining_utility": 0, "math_density": 0, "code_density": 4, "reasoning_density": 0, "education_level": 2, "creative_writing_quality": null}, "score_expectations": {"content_quality": 0.3424363803113954, "noise_severity": 0.8613505442332607, "missing_content_severity": 0.02590614196659341, "factual_density": 2.3333543478422563, "pretraining_utility": -0.2800225172591479, "math_density": 0.004189471278497195, "code_density": 3.5849163672565787, "reasoning_density": 0.4378110714943642, "education_level": 2.717561156679129, "creative_writing_quality": -0.41511867254277773}, "api_choices": {"primary": "Technical Writing", "secondary": "NONE", "tertiary": "NONE", "education_level": "2", "creative_writing_quality": "not_applicable", "primary_topic": "Programming & Software Engineering", "secondary_topic": "Business, Economics & Finance"}, "review_reasons": ["secondary_topic probability 0.5892 below 0.70"], "format_slot_diagnostics": {"comparable": true, "secondary_tertiary_identical": false, "secondary_tertiary_max_abs_gap": 0.09847080461061986, "secondary_choice": "NONE", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.9732990100424782, "secondary": 0.6543693322284162, "tertiary": 0.5516171882868998, "structured_records": 0.003947806117294642, "procedural_steps": 0.24888309481603407, "worked_solution": 0.0005468907117238224, "contextual_dialogue": 5.8321541400191505e-06, "content_quality": 0.30360586491177777, "noise_severity": 0.28220787980561624, "missing_content_severity": 0.9784115483611722, "factual_density": 0.4204650499124851, "pretraining_utility": 0.43048986059582806, "math_density": 0.9965087739345857, "code_density": 0.6540969727138155, "reasoning_density": 0.6351574404213631, "education_level": 0.3160262759756361, "creative_writing_quality": 0.9836173840115642, "primary_topic": 0.9042396334617249, "secondary_topic": 0.5727350208450983}, "probability_margin": {"primary": 0.9616465048409458, "secondary": 0.4651681861902346, "tertiary": 0.28243684828753124, "education_level": 0.04925428390692732, "creative_writing_quality": 0.979219956034051, "primary_topic": 0.8416237818564074, "secondary_topic": 0.3755107769072379}, "raw_probabilities": {"primary": {"Academic Writing": 9.422193110668236e-05, "Content Listing": 9.946923226064569e-05, "Creative Writing": 0.00012947481615674112, "Customer Support Page": 7.080176877129162e-05, "Q&A Forum": 6.258900536588168e-05, "Discussion Thread": 4.395749984798741e-05, "Comment Section": 6.996802796469885e-05, "Missing Content": 7.244657649089031e-05, "Knowledge Article": 0.000290040256549711, "Legal Notices": 9.556010562037765e-05, "News Article": 3.560425116051625e-05, "Organizational Announcement": 8.379704613698633e-05, "Nonfiction Writing": 9.64602953740952e-05, "Organizational About Page": 8.108758359216115e-05, "Personal About Page": 5.548035440981909e-05, "Personal Blog": 4.837465263454083e-05, "Product Page": 0.00023701050496639347, "Spam / Ads": 0.006873739953749943, "Structured Data": 0.0002429721255702859, "Technical Writing": 0.9744115512907083, "Transcript / Interview": 0.00011311997376377935, "Tutorial / How-To Guide": 0.012765046449762526, "User Reviews": 6.580320191133462e-05, "Other / Unknown": 0.003861423096124418}, "secondary": {"Academic Writing": 0.0009368439543679604, "Content Listing": 0.0018779589680302984, "Creative Writing": 0.0012905865953265305, "Customer Support Page": 0.0010881352282544946, "Q&A Forum": 0.0006588001152601458, "Discussion Thread": 0.00043449595437691145, "Comment Section": 0.0006675050951216545, "Missing Content": 0.0006990878304221283, "Knowledge Article": 0.004197858573142407, "Legal Notices": 0.0008872157190308035, "News Article": 0.0007300849796714347, "Organizational Announcement": 0.0009736304548249077, "Nonfiction Writing": 0.0025940696203266846, "Organizational About Page": 0.0011073794292394009, "Personal About Page": 0.0005392318925697686, "Personal Blog": 0.000661588340235618, "Product Page": 0.002420303488298071, "Spam / Ads": 0.20360242386199756, "Structured Data": 0.0009112465029346507, "Technical Writing": 0.04241037641002948, "Transcript / Interview": 0.001255301063497484, "Tutorial / How-To Guide": 0.059579308115625375, "User Reviews": 0.0017059577551840632, "NONE": 0.6687706100522322}, "tertiary": {"Academic Writing": 0.0008977171259255443, "Content Listing": 0.0027325808176459653, "Creative Writing": 0.0012686641645403352, "Customer Support Page": 0.001606420541960938, "Q&A Forum": 0.0006767063623177582, "Discussion Thread": 0.0004692717179170991, "Comment Section": 0.000747358138073536, "Missing Content": 0.000640502404623747, "Knowledge Article": 0.007955992139349487, "Legal Notices": 0.0010156444239909853, "News Article": 0.000700061524745239, "Organizational Announcement": 0.0009570440520506228, "Nonfiction Writing": 0.004285898648585267, "Organizational About Page": 0.0013331958270605554, "Personal About Page": 0.0005775505098943291, "Personal Blog": 0.0007128872844811961, "Product Page": 0.0028731550306880043, "Spam / Ads": 0.28786295715408106, "Structured Data": 0.000873781850068625, "Technical Writing": 0.03838070088924615, "Transcript / Interview": 0.0013445777056849961, "Tutorial / How-To Guide": 0.06799927760440454, "User Reviews": 0.003788248641051773, "NONE": 0.5702998054416123}, "structured_records": {"false": 0.9960521938827054, "true": 0.003947806117294642}, "procedural_steps": {"false": 0.7511169051839659, "true": 0.24888309481603407}, "worked_solution": {"false": 0.9994531092882761, "true": 0.0005468907117238224}, "contextual_dialogue": {"false": 0.9999941678458599, "true": 5.8321541400191505e-06}, "content_quality": {"-2": 0.035488405667876956, "-1": 0.1511076204144111, "0": 0.3379378330647826, "1": 0.38641146964429857, "2": 0.08905467120863096}, "noise_severity": {"0": 0.43245626556145117, "1": 0.3330230250128575, "2": 0.18815944853666408, "3": 0.03343642140903361, "4": 0.012924839479993512}, "missing_content_severity": {"0": 0.9780557748604454, "1": 0.019064487775237046, "2": 0.00201818864603133, "3": 0.0006409179738507717, "4": 0.00022063074443534587}, "factual_density": {"0": 0.015212435773651918, "1": 0.15061892458407697, "2": 0.41676868902912767, "3": 0.32040175725265013, "4": 0.0969981933604934}, "pretraining_utility": {"-2": 0.07665856649945757, "-1": 0.328400209273162, "0": 0.41646079743495695, "1": 0.1552660285719177, "2": 0.023214398220505774}, "math_density": {"0": 0.996866681635417, "1": 0.002573366482656265, "2": 0.00024097545228666492, "3": 0.00014175182729291163, "4": 0.00017722460234721632}, "code_density": {"0": 0.0011356398057577927, "1": 0.002554874106039138, "2": 0.06057202084445457, "3": 0.2817324095133636, "4": 0.654005055730385}, "reasoning_density": {"0": 0.6802998333639395, "1": 0.20964093994277924, "2": 0.10375861286426405, "3": 0.004549549493011734, "4": 0.001751064336005405}, "education_level": {"none": 0.0009170055481879446, "0": 0.001993035142264485, "1": 0.01082643106170419, "2": 0.4300218966463634, "3": 0.3807676127394361, "4": 0.17547401886204383}, "creative_writing_quality": {"not_applicable": 0.9863478200096368, "-2": 0.0012400849159947328, "-1": 0.004310665970916385, "0": 0.007127863975585833, "1": 0.0008235692877412174, "2": 0.00014999584012500113}, "primary_topic": {"Adult & Explicit Sexual Content": 0.00015879167732277665, "Art & Design": 0.0001650843110902638, "Law & Crime": 0.0005034203833505478, "Education & Careers": 0.00011897967004020184, "Entertainment & Media": 0.00012713708392043499, "Fashion & Beauty": 0.00011030371135483143, "Business, Economics & Finance": 0.06629894262602026, "Food & Dining": 9.445043873319916e-05, "Games & Gaming": 0.000559048531584211, "Electronics & Hardware": 0.0001999266017096376, "Health, Healthcare & Wellness": 0.0001235945719662779, "History & Geography": 0.00016424832089941975, "Home, Pets & Hobbies": 0.00012062723632849648, "Industry & Production": 0.0001285538750637506, "Language, Literature & Philosophy": 0.00014088328849719373, "Politics & Government": 9.443328101238896e-05, "Religion & Spirituality": 0.00014662081323346037, "Science, Mathematics & Engineering": 0.0003147477391792974, "Relationships & Community": 7.050824936480803e-05, "Software Usage & Applications": 0.0052091291671906865, "Programming & Software Engineering": 0.9079227244824277, "Sports & Fitness": 0.00017388885159291118, "Vehicles & Transportation": 6.761256202278163e-05, "Travel & Tourism": 0.00015792948105536084, "Other / Uncovered Subject": 0.016625537630426467, "Unknown / Insufficient Content": 0.00020287541461269575}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.00085851059567539, "Art & Design": 0.0006883349728399133, "Law & Crime": 0.004071346345357266, "Education & Careers": 0.0004424009327112374, "Entertainment & Media": 0.0005642362955018479, "Fashion & Beauty": 0.0004929181810074268, "Business, Economics & Finance": 0.589168289274133, "Food & Dining": 0.00036503160895483305, "Games & Gaming": 0.0012732431382272954, "Electronics & Hardware": 0.0006214503478743935, "Health, Healthcare & Wellness": 0.00048517415727080364, "History & Geography": 0.00045876767193909297, "Home, Pets & Hobbies": 0.00045403168680391537, "Industry & Production": 0.0004113233655277249, "Language, Literature & Philosophy": 0.0003388576768386483, "Politics & Government": 0.0003769635594071188, "Religion & Spirituality": 0.0006043352509094372, "Science, Mathematics & Engineering": 0.0009753429978347913, "Relationships & Community": 0.00022319367115804318, "Software Usage & Applications": 0.02899838430514878, "Programming & Software Engineering": 0.14915356836003976, "Sports & Fitness": 0.0004942203838308286, "Vehicles & Transportation": 0.0002633841757042132, "Travel & Tourism": 0.0004355641569022368, "Other / Uncovered Subject": 0.004123614521507074, "NONE": 0.21365751236689515}}, "probabilities": {"primary": {"Academic Writing": 9.422193110668236e-05, "Content Listing": 9.946923226064569e-05, "Creative Writing": 0.00012947481615674112, "Customer Support Page": 7.080176877129162e-05, "Q&A Forum": 6.258900536588168e-05, "Discussion Thread": 4.395749984798741e-05, "Comment Section": 6.996802796469885e-05, "Missing Content": 7.244657649089031e-05, "Knowledge Article": 0.000290040256549711, "Legal Notices": 9.556010562037765e-05, "News Article": 3.560425116051625e-05, "Organizational Announcement": 8.379704613698633e-05, "Nonfiction Writing": 9.64602953740952e-05, "Organizational About Page": 8.108758359216115e-05, "Personal About Page": 5.548035440981909e-05, "Personal Blog": 4.837465263454083e-05, "Product Page": 0.00023701050496639347, "Spam / Ads": 0.006873739953749943, "Structured Data": 0.0002429721255702859, "Technical Writing": 0.9744115512907083, "Transcript / Interview": 0.00011311997376377935, "Tutorial / How-To Guide": 0.012765046449762526, "User Reviews": 6.580320191133462e-05, "Other / Unknown": 0.003861423096124418}, "secondary": {"Academic Writing": 0.0009368439543679604, "Content Listing": 0.0018779589680302984, "Creative Writing": 0.0012905865953265305, "Customer Support Page": 0.0010881352282544946, "Q&A Forum": 0.0006588001152601458, "Discussion Thread": 0.00043449595437691145, "Comment Section": 0.0006675050951216545, "Missing Content": 0.0006990878304221283, "Knowledge Article": 0.004197858573142407, "Legal Notices": 0.0008872157190308035, "News Article": 0.0007300849796714347, "Organizational Announcement": 0.0009736304548249077, "Nonfiction Writing": 0.0025940696203266846, "Organizational About Page": 0.0011073794292394009, "Personal About Page": 0.0005392318925697686, "Personal Blog": 0.000661588340235618, "Product Page": 0.002420303488298071, "Spam / Ads": 0.20360242386199756, "Structured Data": 0.0009112465029346507, "Technical Writing": 0.04241037641002948, "Transcript / Interview": 0.001255301063497484, "Tutorial / How-To Guide": 0.059579308115625375, "User Reviews": 0.0017059577551840632, "NONE": 0.6687706100522322}, "tertiary": {"Academic Writing": 0.0008977171259255443, "Content Listing": 0.0027325808176459653, "Creative Writing": 0.0012686641645403352, "Customer Support Page": 0.001606420541960938, "Q&A Forum": 0.0006767063623177582, "Discussion Thread": 0.0004692717179170991, "Comment Section": 0.000747358138073536, "Missing Content": 0.000640502404623747, "Knowledge Article": 0.007955992139349487, "Legal Notices": 0.0010156444239909853, "News Article": 0.000700061524745239, "Organizational Announcement": 0.0009570440520506228, "Nonfiction Writing": 0.004285898648585267, "Organizational About Page": 0.0013331958270605554, "Personal About Page": 0.0005775505098943291, "Personal Blog": 0.0007128872844811961, "Product Page": 0.0028731550306880043, "Spam / Ads": 0.28786295715408106, "Structured Data": 0.000873781850068625, "Technical Writing": 0.03838070088924615, "Transcript / Interview": 0.0013445777056849961, "Tutorial / How-To Guide": 0.06799927760440454, "User Reviews": 0.003788248641051773, "NONE": 0.5702998054416123}, "structured_records": {"false": 0.9960521938827054, "true": 0.003947806117294642}, "procedural_steps": {"false": 0.7511169051839659, "true": 0.24888309481603407}, "worked_solution": {"false": 0.9994531092882761, "true": 0.0005468907117238224}, "contextual_dialogue": {"false": 0.9999941678458599, "true": 5.8321541400191505e-06}, "content_quality": {"-2": 0.03548840566787695, "-1": 0.15110762041441106, "0": 0.33793783306478253, "1": 0.38641146964429846, "2": 0.08905467120863095}, "noise_severity": {"0": 0.4324562655614512, "1": 0.3330230250128576, "2": 0.1881594485366641, "3": 0.03343642140903362, "4": 0.012924839479993514}, "missing_content_severity": {"0": 0.9780557748604455, "1": 0.01906448777523705, "2": 0.0020181886460313306, "3": 0.0006409179738507718, "4": 0.0002206307444353459}, "factual_density": {"0": 0.015212435773651918, "1": 0.15061892458407697, "2": 0.41676868902912767, "3": 0.32040175725265013, "4": 0.0969981933604934}, "pretraining_utility": {"-2": 0.07665856649945757, "-1": 0.328400209273162, "0": 0.41646079743495695, "1": 0.1552660285719177, "2": 0.023214398220505774}, "math_density": {"0": 0.996866681635417, "1": 0.002573366482656265, "2": 0.00024097545228666492, "3": 0.00014175182729291163, "4": 0.00017722460234721632}, "code_density": {"0": 0.0011356398057577924, "1": 0.0025548741060391375, "2": 0.06057202084445456, "3": 0.28173240951336354, "4": 0.6540050557303849}, "reasoning_density": {"0": 0.6802998333639396, "1": 0.20964093994277927, "2": 0.10375861286426406, "3": 0.004549549493011735, "4": 0.0017510643360054052}, "education_level": {"none": 0.0009170055481879446, "0": 0.001993035142264485, "1": 0.01082643106170419, "2": 0.4300218966463634, "3": 0.3807676127394361, "4": 0.17547401886204383}, "creative_writing_quality": {"not_applicable": 0.9863478200096368, "-2": 0.0012400849159947328, "-1": 0.004310665970916385, "0": 0.007127863975585833, "1": 0.0008235692877412174, "2": 0.00014999584012500113}, "primary_topic": {"Adult & Explicit Sexual Content": 0.00015879167732277665, "Art & Design": 0.0001650843110902638, "Law & Crime": 0.0005034203833505478, "Education & Careers": 0.00011897967004020184, "Entertainment & Media": 0.00012713708392043499, "Fashion & Beauty": 0.00011030371135483143, "Business, Economics & Finance": 0.06629894262602026, "Food & Dining": 9.445043873319916e-05, "Games & Gaming": 0.000559048531584211, "Electronics & Hardware": 0.0001999266017096376, "Health, Healthcare & Wellness": 0.0001235945719662779, "History & Geography": 0.00016424832089941975, "Home, Pets & Hobbies": 0.00012062723632849648, "Industry & Production": 0.0001285538750637506, "Language, Literature & Philosophy": 0.00014088328849719373, "Politics & Government": 9.443328101238896e-05, "Religion & Spirituality": 0.00014662081323346037, "Science, Mathematics & Engineering": 0.0003147477391792974, "Relationships & Community": 7.050824936480803e-05, "Software Usage & Applications": 0.0052091291671906865, "Programming & Software Engineering": 0.9079227244824277, "Sports & Fitness": 0.00017388885159291118, "Vehicles & Transportation": 6.761256202278163e-05, "Travel & Tourism": 0.00015792948105536084, "Other / Uncovered Subject": 0.016625537630426467, "Unknown / Insufficient Content": 0.00020287541461269575}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0008585105956753898, "Art & Design": 0.0006883349728399132, "Law & Crime": 0.004071346345357265, "Education & Careers": 0.0004424009327112373, "Entertainment & Media": 0.0005642362955018478, "Fashion & Beauty": 0.0004929181810074267, "Business, Economics & Finance": 0.5891682892741329, "Food & Dining": 0.000365031608954833, "Games & Gaming": 0.0012732431382272951, "Electronics & Hardware": 0.0006214503478743934, "Health, Healthcare & Wellness": 0.00048517415727080353, "History & Geography": 0.00045876767193909286, "Home, Pets & Hobbies": 0.00045403168680391526, "Industry & Production": 0.0004113233655277248, "Language, Literature & Philosophy": 0.00033885767683864825, "Politics & Government": 0.0003769635594071187, "Religion & Spirituality": 0.0006043352509094371, "Science, Mathematics & Engineering": 0.0009753429978347911, "Relationships & Community": 0.00022319367115804313, "Software Usage & Applications": 0.028998384305148773, "Programming & Software Engineering": 0.14915356836003973, "Sports & Fitness": 0.0004942203838308285, "Vehicles & Transportation": 0.00026338417570421314, "Travel & Tourism": 0.0004355641569022367, "Other / Uncovered Subject": 0.004123614521507073, "NONE": 0.2136575123668951}}, "probability_diagnostics": {"primary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "tertiary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "structured_records": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "procedural_steps": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "worked_solution": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "contextual_dialogue": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "content_quality": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "noise_severity": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "missing_content_severity": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "factual_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "pretraining_utility": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "math_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "code_density": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "reasoning_density": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "education_level": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "creative_writing_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "primary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary_topic": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}}, "usage": {"input_tokens": 9524, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 9524, "cached_share": null, "cache_discount_reported": null, "reported_cost_usd": null}, "response_metadata": {"model": "decision-models/baseten-mammoth-27b-latest"}, "scored_at_utc": "2026-10-25T18:33:06.656072+00:00", "scoring_key_slot": "primary", "dataset_uid": "f9a69819-5eb3-4916-8f22-8d176a77ed9e", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "d3f2b381bbf27267ac1d0fe2ead7824794571f4fb32581b1402ae29929bcb768", "source_metadata": {"uuid": "f9a69819-5eb3-4916-8f22-8d176a77ed9e", "repo_name": "juant72/sniperforge", "relative_path": "archive/legacy_scripts/run-jupiter-v3-hunter.ps1", "category": "TOOL", "algo_rel_score": 0.9973588585853577, "quality_score": 4.989509105682373, "source_meta": {"github_metadata": {"branch": "main", "commit_count": 468, "repo_created_at": "2025-06-16T06:48:39.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 1, "forks": 0, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "6df28a9872b2fcfb44f092716adb91bcc924ee73", "size_bytes": 3857, "file_timestamp": 1753578032, "language": "powershell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "440919457858f57f313748cdec128ebcd6ecc6aa"}}, "parsed_source_meta": {"github_metadata": {"branch": "main", "commit_count": 468, "repo_created_at": "2025-06-16T06:48:39.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 1, "forks": 0, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "6df28a9872b2fcfb44f092716adb91bcc924ee73", "size_bytes": 3857, "file_timestamp": 1753578032, "language": "powershell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "440919457858f57f313748cdec128ebcd6ecc6aa", "url": "https://github.com/juant72/sniperforge/blob/440919457858f57f313748cdec128ebcd6ecc6aa/archive/legacy_scripts/run-jupiter-v3-hunter.ps1"}, "gpt4o_tokens": 1034, "dataset_split": "shell", "probability_weighted_scores": {"content_quality": 0.3424363803113954, "noise_severity": 0.8613505442332607, "missing_content_severity": 0.02590614196659341, "factual_density": 2.3333543478422563, "pretraining_utility": -0.2800225172591479, "math_density": 0.004189471278497195, "code_density": 3.5849163672565787, "reasoning_density": 0.4378110714943642, "education_level": 2.717561156679129, "creative_writing_quality": -0.41511867254277773}, "score_applicability": {"education_level": 0.999082994451812, "creative_writing_quality": 0.013652179990363169}} {"source_group": "shell", "source": "openbmb/UltraData-Stack-v3-L2/shell", "domain": "github.com", "language": "shell", "url": "https://github.com/onap/sdc/blob/d8d4f0f514997bb0bc69bf470d2b8fddc3af40aa/openecomp-be/lib/openecomp-sdc-validation-lib/openecomp-sdc-validation-impl/src/test/resources/org/openecomp/validation/validators/guideLineValidator/baseHeatExposeResourceUsingGetResource/positive/user_data.sh", "id": "shell-0-3a1a4054b2970c97b6f68ab551b8f877", "text": "#!/bin/bash\n\nset -x\nexec >> /root/user_data.out\nexec 2>&1\n\nMOUNT_POINT=${1:-'/opt/app/virc'}\nLABEL=${2:-'VIRC_DATA'}\nDESCRIPTION=${3:-'vIRC data volume'}\n\nTAG=VIRC_PROVISIONING\n\nDISK_ID=$(ls -1 /dev/disk/by-id | tail -n1)\nDISK_NAME=$(readlink -f /dev/disk/by-id/${DISK_ID})\nFSTYPE=$(lsblk -o FSTYPE -n ${DISK_NAME})\nDISK_LABEL=$(lsblk -o LABEL -n ${DISK_NAME})\n\n# Exit with message if not root\n[[ $UID -ne 0 ]] && logger -t $TAG \"Not root. Exiting.\" && exit 2\n\n# Create filesystem if none\nif [[ -z ${FSTYPE} ]] ; then\n\tmkfs.xfs ${DISK_NAME}\n\tif [[ $? -eq 0 ]] ; then\n\t\tlogger -t $TAG \"Created xfs filesystem on $DISK_NAME.\"\n\telse\n\t\tlogger -t $TAG \"ERROR: Could not create xfs on $DISK_NAME. Exiting.\"\n\t\texit 90\n\tfi\nfi\nsleep 0.5\nDISK_UUID=$(lsblk -no UUID ${DISK_NAME})\n\n# Create label if none\n[[ -z ${DISK_LABEL} ]] && xfs_admin -L ${LABEL} ${DISK_NAME}\n\n# Create mount point if it does not exist\nif [[ ! -d ${MOUNT_POINT} ]] ; then\n\tmkdir -p ${MOUNT_POINT}\n\tif [[ $? -eq 0 ]] ; then\n\t\tlogger -t $TAG \"Created mount point at $MOUNT_POINT.\"\n\telse\n\t\tlogger -t $TAG \"ERROR: Could not create mount point at $MOUNT_POINT. Exiting\"\n\t\texit 80\n\tfi\nfi\n\n# Only add to /etc/fstab if not already there\ngrep -q ${DISK_UUID} /etc/fstab\nif [[ $? -ne 0 ]] ; then\n\techo \"# Following mount for ${DESCRIPTION}\" >> /etc/fstab\n\techo \"UUID=${DISK_UUID}\t${MOUNT_POINT}\txfs\tdefaults\t0 0\" >> /etc/fstab\n\tmount -a\n\tmount_check_1=$?\n\tmount | grep ${DISK_NAME} | grep ${MOUNT_POINT}\n\tmount_check_2=$?\n\tif [[ ${mount_check_1} -eq 0 ]] && [[ ${mount_check_2} -eq 0 ]]; then\n\t\tlogger -t $TAG \"Successfully mounted $DISK_NAME at $MOUNT_POINT.\"\n\telse\n\t\tlogger -t $TAG \"ERROR: Could not mount $DISK_NAME at $MOUNT_POINT. Exiting.\"\n\t\texit 70\n\tfi\nfi\n\n###\n### Configure network\n###\n\nhostname='__hostname__'\ndomain='__domain__'\ndns1='__dns1__'\ndns2='__dns2__'\ndefault_gateway='__default_gateway__'\n\n# 1 disable, 0 enable\nipv6_enable=1\n\nport_mac[0]='__port_mac_0__'\nport_ip[0]='__port_ip_0__'\nport_netmask[0]='__port_netmask_0__'\nport_gateway[0]='__port_gateway_0__'\nport_def_route[0]='__port_def_route_0__'\nport_dhcp[0]='__port_dhcp_0__'\n\nport_mac[1]='__port_mac_1__'\nport_ip[1]='__port_ip_1__'\nport_netmask[1]='__port_netmask_1__'\nport_gateway[1]='__port_gateway_1__'\nport_def_route[1]='__port_def_route_1__'\nport_dhcp[1]='__port_dhcp_1__'\n\nport_mac[2]='__port_mac_2__'\nport_ip[2]='__port_ip_2__'\nport_netmask[2]='__port_netmask_2__'\nport_gateway[2]='__port_gateway_2__'\nport_def_route[2]='__port_def_route_2__'\nport_dhcp[2]='__port_dhcp_2__'\n\n# function to add underscore\nadd_underscore(){\n echo \"__${1}__\"\n}\n\n# filenames\nnet_scripts=/etc/sysconfig/network-scripts\n\n# update network scripts with static ips and gateways\nnic_count=($(ls -1d /sys/class/net/eth* | wc -l))\nfor i in {0..2} ; do\n if [[ ${port_mac[i]} != \"__port_mac_${i}__\" && \\\n ( ${port_ip[i]} != \"__port_ip_${i}__\" || ${port_dhcp[i]} != \"__port_dhcp_${i}__\" ) ]] ; then\n for (( j=0 ; j<${nic_count} ; j++ )) ; do\n nic_mac=$(cat /sys/class/net/eth${j}/address) \n if [[ ${port_mac[i]} == ${nic_mac} ]] ; then\n echo \"NAME=eth${j}\" > ${net_scripts}/ifcfg-eth${j}\n echo \"DEVICE=eth${j}\" >> ${net_scripts}/ifcfg-eth${j}\n if [[ ${port_dhcp[i]} =~ (yes|Yes|True|true) ]] ; then\n echo \"BOOTPROTO=dhcp\" >> ${net_scripts}/ifcfg-eth${j}\n elif [[ ${port_ip[i]} != \"__port_ip_${i}__\" ]] && [[ ${port_ip[i]} =~ .*:.* ]] ; then\n [[ ${ipv6_enable} -eq 1 ]] && ipv6_enable=0\n echo \"BOOTPROTO=none\" >> ${net_scripts}/ifcfg-eth${j}\n echo \"IPV6INIT=yes\" >> ${net_scripts}/ifcfg-eth${j}\n echo \"IPV6ADDR=${port_ip[i]}\" >> ${net_scripts}/ifcfg-eth${j}\n if [[ ${port_gateway[i]} != \"__port_gateway_${i}__\" ]] ; then\n echo \"IPV6_DEFAULTGW=${port_gateway[i]}\" >> ${net_scripts}/ifcfg-eth${j}\n elif [[ ${port_gateway[i]} == $(add_underscore 'port_gateway_0') ]] && [[ ${default_gateway} != $(add_underscore 'default_gateway') ]] ; then\n echo \"IPV6_DEFAULTGW=${default_gateway}\" >> ${net_scripts}/ifcfg-eth${j}\n fi\n elif [[ ${port_ip[i]} != \"__port_ip_${i}__\" ]] ; then\n echo \"BOOTPROTO=none\" >> ${net_scripts}/ifcfg-eth${j}\n echo \"IPADDR=${port_ip[i]}\" >> ${net_scripts}/ifcfg-eth${j}\n # Set gateway if provided. If not set, set eth0 to default\n if [[ ${port_gateway[i]} != \"__port_gateway_${i}__\" ]] ; then\n echo \"GATEWAY=${port_gateway[i]}\" >> ${net_scripts}/ifcfg-eth${j}\n elif [[ ${port_gateway[i]} == $(add_underscore 'port_gateway_0') ]] && [[ ${default_gateway} != $(add_underscore 'default_gateway') ]] ; then\n echo \"GATEWAY=${default_gateway}\" >> ${net_scripts}/ifcfg-eth${j}\n fi\n # Set netmask if provided. Else set netmask to 255.255.255.0\n if [[ ${port_netmask[i]} != \"__port_netmask_${i}__\" ]] ; then\n echo \"NETMASK=${port_netmask[i]}\" >> ${net_scripts}/ifcfg-eth${j}\n else\n echo 'NETMASK=255.255.255.0' >> ${net_scripts}/ifcfg-eth${j}\n fi\n fi\n echo \"ONBOOT=yes\" >> ${net_scripts}/ifcfg-eth${j}\n echo \"HWADDR=${nic_mac}\" >> ${net_scripts}/ifcfg-eth${j}\n # Set to DEFROUTE to no, unless otherwise stated. If not stated set to yes on eth0\n if [[ ${port_def_route[i]} =~ (yes|Yes|True|true) ]] ; then\n echo \"DEFROUTE=yes\" >> ${net_scripts}/ifcfg-eth${j}\n elif [[ ${port_def_route[i]} == $(add_underscore 'port_def_route_0') ]] ; then\n echo \"DEFROUTE=yes\" >> ${net_scripts}/ifcfg-eth${j}\n else\n echo \"DEFROUTE=no\" >> ${net_scripts}/ifcfg-eth${j}\n fi\n fi\n done\n fi\ndone\n\n# Set DNS\nif [[ ${dns1} != $(add_underscore 'dns1') ]] ; then\n echo \"PEERDNS=yes\" >> ${net_scripts}/ifcfg-eth0\n echo \"DNS1=${dns1}\" >> ${net_scripts}/ifcfg-eth0\n [[ ${dns2} != $(add_underscore 'dns2') ]] && echo \"DNS2=${dns2}\" >> ${net_scripts}/ifcfg-eth0\nfi\n# Set default gateway\n[[ ${default_gateway} != $(add_underscore 'default_gateway') ]] && echo GATEWAY=${default_gateway} >> ${net_scripts}/ifcfg-eth0\n# Set domain\nif [[ ${domain} != $(add_underscore 'domain') ]] ; then\n echo DOMAIN=${domain} >> ${net_scripts}/ifcfg-eth0\n echo kernel.domainname=${domain} >> /etc/sysctl.conf\n sysctl -p\nfi\n# Set hostname\nif [[ ${hostname} != $(add_underscore 'hostname') ]] ; then\n hostnamectl set-hostname ${hostname}\n sed -i \"s/\\(^127\\.0\\.0\\.1 .*\\)/\\1 ${hostname}/\" /etc/hosts\n sed -i \"s/\\(^::1 .*\\)/\\1 ${hostname}/\" /etc/hosts\n sed -i \"s/\\(^127\\.0\\.0\\.1 .*\\)/\\1 ${hostname}.${domain}/\" /etc/hosts\n sed -i \"s/\\(^::1 .*\\)/\\1 ${hostname}.${domain}/\" /etc/hosts\nfi\n\n# Enable ipv6 if there is an ipv6 address supplied in env\nif [[ ${ipv6_enable} -eq 0 ]] ; then\n echo net.ipv6.conf.all.disable_ipv6 = 0 >> /etc/sysctl.conf\n echo net.ipv6.conf.default.disable_ipv6 = 0 >> /etc/sysctl.conf\n echo net.ipv6.conf.lo.disable_ipv6 = 0 >> /etc/sysctl.conf\n sysctl -p\nfi\n\nservice network restart\n\n## Disable Password Login for MechID group\necho \"Match Group mechid\" >> /etc/ssh/sshd_config\necho -e \"\\tPasswordAuthentication no\" >> /etc/ssh/sshd_config\nsystemctl restart sshd\n\n###\n# Install SWM\n###\n\n## SWM variables\nvirc_cc_environment='__virc_cc_environment__'\nvirc_cc_version='__virc_cc_version__'\nvirc_cc_version_file='__virc_cc_version_file__'\n\ncd /tmp\nwget 'https://codecloud.web.att.com/projects/ST_VIRC/repos/virc/browse/SWM/Install/input.env?raw' -O input.env\nwget 'https://codecloud.web.att.com/projects/ST_VIRC/repos/virc/browse/SWM/Install/platform-init-1.5.5.sh?raw' -O platform-init-1.5.5.sh \nwget 'https://codecloud.web.att.com/projects/ST_VIRC/repos/virc/browse/SWM/Install/hostname.props?raw' -O $(hostname).props\nsed -i \"s/$(add_underscore 'virc_environment')/${virc_environment}/g\" $(hostname).props\nsed -i \"s/$(add_underscore 'virc_version')/${virc_version}/g\" input.env\nchmod +x platform-init-1.5.5.sh\n\n## Add MechID user\nmechid_user_name=$(grep 'SWM_AUTOUSER=' /tmp/input.env | cut -f 2 -d '=')\nuseradd -g mechid -p 'pahfhrkSZmUs.' ${mechid_user_name}\n\n### Workaround ### REMOVE WHEN BUG FIXED ###\n#mkdir -p /etc/chef/trusted_certs/\n\n# Get packages to install from input.env, then delete from input.env\n. /tmp/input.env\nswm_install_pkgs=(${SWM_INIT_PACKAGES})\nswm_install_pkg_deps=(${SWM_INIT_PACKAGE_DEPS})\nsed -i '/SWM_INIT_PACKAGES=\"/,/\\\"/d' /tmp/input.env\n\n./platform-init-1.5.5.sh /tmp/input.env\n\n## Install SWM packages after SWM installation\nexport AFTSWM_USERNAME=${mechid_user_name}\nmechid_user_enc_passwd=$(grep 'SWM_AUTOCRED=' /tmp/input.env | cut -f 2 -d '=')\nexport AFTSWM_PASSWORD=${mechid_user_enc_passwd}\nexport HOSTNAME=$(hostname)\n#export HOME=/root\n\n#/opt/app/aft/aftswmcli/bin/swmcli component pkginstall -c ${swm_install_pkgs} -n $(hostname).$(domainname) -w -fi -fs\n#sleep 5\n#cd\necho $SHELL\nwhoami\nenv\npwd\n\n# install swm packages one at a time\nfor package in ${swm_install_pkg_deps[@]} ; do\n /opt/app/aft/aftswmcli/bin/swmcli component pkginstall -c ${package} -n $(hostname).$(domainname) -w -fi\ndone\n\nfor package in ${swm_install_pkgs[@]} ; do\n /opt/app/aft/aftswmcli/bin/swmcli component pkginstall -c ${package} -n $(hostname).$(domainname) -w -fi\ndone\n\n### Run Chef Prep Scripts ###\nUSER=${mechid_user_name}\nCOOKBOOK_NAME='virc_cc'\nVERSION=${virc_cc_version}\nENV=${virc_cc_environment}\nVERSION_FILE=${virc_cc_version_file}\n\nCOOKBOOK_VERSION=\"\"\n\nfor v in $(echo ${VERSION} | tr \".\" \"\\n\")\ndo\n if [ \"$v\" -ge 0 -a \"$v\" -le 9 ]; then\n COOKBOOK_VERSION=${COOKBOOK_VERSION}0$v\n else\n COOKBOOK_VERSION=${COOKBOOK_VERSION}$v\n fi\ndone\n\nCOOKBOOK_VERSION=\"${COOKBOOK_VERSION:0:4}.1${COOKBOOK_VERSION:4:4}.1${COOKBOOK_VERSION:8:4}\"\n\n#cd /home/$USER/chef-repo\nmkdir -p /home/$USER/scripts/$ENV\nchown -R ${mechid_user_name}:mechid /home/$USER\n\nchef_config_path=\"/home/${mechid_user_name}/chef-repo/.chef/knife.rb\"\n\nsu - -c \"/usr/bin/knife client delete $(hostname).$(domainname) -y -c ${chef_config_path}\" ${mechid_user_name}\nsu - -c \"/usr/bin/knife node delete $(hostname).$(domainname) -y -c ${chef_config_path}\" ${mechid_user_name}\n\nsu - -c \"/usr/bin/knife cookbook show $COOKBOOK_NAME $COOKBOOK_VERSION files Pyswm.py -c ${chef_config_path} > /home/${mechid_user_name}/scripts/$ENV/Pyswm.py\" ${mechid_user_name}\n#/usr/bin/knife cookbook show $COOKBOOK_NAME $COOKBOOK_VERSION files Pyswm.pyc > /home/$USER/scripts/$ENV/Pyswm.pyc\nsu - -c \"/usr/bin/knife cookbook show $COOKBOOK_NAME $COOKBOOK_VERSION files install_swm.py -c ${chef_config_path} > /home/$USER/scripts/$ENV/install_swm.py\" ${mechid_user_name}\nsu - -c \"/usr/bin/knife cookbook show $COOKBOOK_NAME $COOKBOOK_VERSION files swm-installer-config.json -c ${chef_config_path} > /home/$USER/scripts/$ENV/swm-installer-config.json\" ${mechid_user_name}\n\n#cd /home/$USER/scripts/$ENV\nsu - -c \"chmod 755 /home/$USER/scripts/$ENV/install_swm.py\" ${mechid_user_name}\nsu - -c \"cd /home/$USER/scripts/$ENV; ./install_swm.py $VERSION $ENV --components-nodes=\\\"vIRC-cc:$(hostname).$(domainname)\\\" --version-file=${VERSION_FILE}\" ${mechid_user_name}\n#./install_swm.py $VERSION $ENV --components-nodes=\"<<>>\"\n\n", "text_preview": "#!/bin/bash set -x exec >> /root/user_data.out exec 2>&1 MOUNT_POINT=${1:-'/opt/app/virc'} LABEL=${2:-'VIRC_DATA'} DESCRIPTION=${3:-'vIRC data volume'} TAG=VIRC_PROVISIONING DISK_ID=$(ls -1 /dev/disk/by-id | tail -n1) DISK_NAME=$(readlink -", "input_sha256": "e95151fd6fe741814f6ac6c269bc50d9a53ca6a659d45838c6270440383d542a", "text_sha256": "3a1a4054b2970c97b6f68ab551b8f877fed34c47247db32220b2fe21602ae413", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 20056, "input_policy": "text-and-optional-url-v1", "label_policy_version": 12, "requested_model": "decision-models/baseten-mammoth-27b-latest", "backend": "baseten", "endpoint": "https://inference.baseten.co/v1/systemone", "status": "ok", "training_eligible": true, "label": {"primary": {"main_format": "Technical Writing", "sub_format": null}, "secondary": null, "tertiary": null, "content_structure": []}, "candidate_label": null, "topic": {"primary": {"main_topic": "Programming & Software Engineering", "sub_topic": null}, "secondary": null}, "scores": {"content_quality": 0, "noise_severity": 0, "missing_content_severity": 0, "factual_density": 4, "pretraining_utility": 0, "math_density": 0, "code_density": 4, "reasoning_density": 0, "education_level": 3, "creative_writing_quality": null}, "score_expectations": {"content_quality": -0.029467247278683162, "noise_severity": 0.13545435961728672, "missing_content_severity": 0.046273736606518026, "factual_density": 3.2059625443882367, "pretraining_utility": 0.2882039572001932, "math_density": 0.09325098278605856, "code_density": 3.8694994355641126, "reasoning_density": 0.9308832080894796, "education_level": 2.7971709591835348, "creative_writing_quality": -0.5341606688603094}, "api_choices": {"primary": "Technical Writing", "secondary": "NONE", "tertiary": "NONE", "education_level": "3", "creative_writing_quality": "not_applicable", "primary_topic": "Programming & Software Engineering", "secondary_topic": "NONE"}, "review_reasons": [], "format_slot_diagnostics": {"comparable": true, "secondary_tertiary_identical": false, "secondary_tertiary_max_abs_gap": 0.0071752080613816105, "secondary_choice": "NONE", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.9598738872393932, "secondary": 0.936220526565615, "tertiary": 0.9437077001948829, "structured_records": 0.041253821869182625, "procedural_steps": 0.3802558424173964, "worked_solution": 0.005391909516606078, "contextual_dialogue": 4.90458992414338e-06, "content_quality": 0.31626739268153925, "noise_severity": 0.8871213669855944, "missing_content_severity": 0.9614385528279017, "factual_density": 0.3383021203235306, "pretraining_utility": 0.40957153893675136, "math_density": 0.9222908476782845, "code_density": 0.8912495296367606, "reasoning_density": 0.2242639932587671, "education_level": 0.5334469787052658, "creative_writing_quality": 0.9989954717149832, "primary_topic": 0.9366910073319314, "secondary_topic": 0.6893965704234485}, "probability_margin": {"primary": 0.9313212815616555, "secondary": 0.906968528640312, "tertiary": 0.9184506569348392, "education_level": 0.32601648183209714, "creative_writing_quality": 0.9988596842274209, "primary_topic": 0.8864854774270907, "secondary_topic": 0.5229970082168255}, "raw_probabilities": {"primary": {"Academic Writing": 0.00011672401141813997, "Content Listing": 0.00011159248177114241, "Creative Writing": 9.42044380155797e-05, "Customer Support Page": 6.546618369988577e-05, "Q&A Forum": 5.822027701405308e-05, "Discussion Thread": 4.002260655670757e-05, "Comment Section": 7.534443283138411e-05, "Missing Content": 0.00010504845530362504, "Knowledge Article": 0.0002222305878805231, "Legal Notices": 8.919671095290213e-05, "News Article": 3.633418555182407e-05, "Organizational Announcement": 5.922182630415866e-05, "Nonfiction Writing": 6.0188864859915665e-05, "Organizational About Page": 7.013215468149857e-05, "Personal About Page": 5.020263506756108e-05, "Personal Blog": 3.701244219644921e-05, "Product Page": 3.8688329783562695e-05, "Spam / Ads": 0.00012577169024847464, "Structured Data": 0.0005844753346219623, "Technical Writing": 0.9615458086044184, "Transcript / Interview": 9.61991451608414e-05, "Tutorial / How-To Guide": 0.03022452704276289, "User Reviews": 3.331902997399938e-05, "Other / Unknown": 0.0060600685289242335}, "secondary": {"Academic Writing": 0.00022955646179627327, "Content Listing": 0.00017890786481081014, "Creative Writing": 0.0001858518287354742, "Customer Support Page": 0.00015927790032110848, "Q&A Forum": 9.199214040930499e-05, "Discussion Thread": 6.781836404785049e-05, "Comment Section": 0.00014171908608902374, "Missing Content": 0.0005824910157159641, "Knowledge Article": 0.0006525266797623437, "Legal Notices": 0.0002628631923284174, "News Article": 0.0001249461277661739, "Organizational Announcement": 0.0001193006890858667, "Nonfiction Writing": 0.0001179549944998458, "Organizational About Page": 0.00012944460337053977, "Personal About Page": 9.875256830151883e-05, "Personal Blog": 0.00011707496095904724, "Product Page": 8.369280485623836e-05, "Spam / Ads": 0.00039590314596093515, "Structured Data": 0.001461980771681787, "Technical Writing": 0.02378685654385852, "Transcript / Interview": 0.00015752167372539092, "Tutorial / How-To Guide": 0.031909475985069144, "User Reviews": 6.608597146724362e-05, "NONE": 0.9388780046253811}, "tertiary": {"Academic Writing": 0.00022376947288604582, "Content Listing": 0.00018113231658961433, "Creative Writing": 0.00019300107802400673, "Customer Support Page": 0.00014379827232520275, "Q&A Forum": 7.57014978842136e-05, "Discussion Thread": 6.506085057491969e-05, "Comment Section": 0.0001652614345322936, "Missing Content": 0.001494820645958218, "Knowledge Article": 0.0012880004016916676, "Legal Notices": 0.0006968514034627247, "News Article": 0.0001246301743255906, "Organizational Announcement": 0.00012626371457285742, "Nonfiction Writing": 0.00015175665652279236, "Organizational About Page": 0.00014329299051586683, "Personal About Page": 8.125575013763268e-05, "Personal Blog": 9.855439033982861e-05, "Product Page": 8.718683337258401e-05, "Spam / Ads": 0.000993142465007674, "Structured Data": 0.002576244029686449, "Technical Writing": 0.017230937698243538, "Transcript / Interview": 0.00014106208865414255, "Tutorial / How-To Guide": 0.027602555751923608, "User Reviews": 6.25073960058021e-05, "NONE": 0.9460532126867628}, "structured_records": {"false": 0.9587461781308174, "true": 0.041253821869182625}, "procedural_steps": {"false": 0.6197441575826036, "true": 0.3802558424173964}, "worked_solution": {"false": 0.9946080904833939, "true": 0.005391909516606078}, "contextual_dialogue": {"false": 0.9999950954100758, "true": 4.90458992414338e-06}, "content_quality": {"-2": 0.06950680284444578, "-1": 0.28595958234152646, "0": 0.3320243388651792, "1": 0.2295126111459624, "2": 0.08299666480288624}, "noise_severity": {"0": 0.894064928388028, "1": 0.08241937448434579, "2": 0.018783991308576834, "3": 0.003459820760410841, "4": 0.0012718850586386939}, "missing_content_severity": {"0": 0.967238173718368, "1": 0.022500801821427652, "2": 0.007499390956743374, "3": 0.0022723811422398553, "4": 0.0004892523612210132}, "factual_density": {"0": 0.007128453148240725, "1": 0.019880607565067876, "2": 0.15646401178338157, "3": 0.3929537967568336, "4": 0.42357313074647623}, "pretraining_utility": {"-2": 0.028857116243659615, "-1": 0.1524408655505333, "0": 0.37979003131571015, "1": 0.37946491854214814, "2": 0.05944706834794878}, "math_density": {"0": 0.918613116698215, "1": 0.07398420658901485, "2": 0.004609329548418949, "3": 0.0011252715571982471, "4": 0.001668075607152763}, "code_density": {"0": 0.0003597300498509155, "1": 0.0006276786734719872, "2": 0.011767421634488988, "3": 0.10364376494708973, "4": 0.8836014046950984}, "reasoning_density": {"0": 0.5295975239522817, "1": 0.1678457891073394, "2": 0.19041234404085325, "3": 0.06636464069766904, "4": 0.045779702201856586}, "education_level": {"none": 0.0011181010323096784, "0": 0.001690150090449107, "1": 0.004379690987823342, "2": 0.28518933375562433, "3": 0.6112058155877215, "4": 0.09641690854607206}, "creative_writing_quality": {"not_applicable": 0.9991628930958193, "-2": 0.00018458406432063352, "-1": 0.00022995683947730702, "0": 0.0003032088683983865, "1": 8.673887969465456e-05, "2": 3.2618252289614627e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 0.00012296109378087883, "Art & Design": 0.00015776325423750025, "Law & Crime": 0.000620642320298782, "Education & Careers": 9.216591424680318e-05, "Entertainment & Media": 8.338113964324392e-05, "Fashion & Beauty": 8.673889072110313e-05, "Business, Economics & Finance": 0.00016071706158897036, "Food & Dining": 8.300705183227622e-05, "Games & Gaming": 0.00015145459651574314, "Electronics & Hardware": 0.004509306939336138, "Health, Healthcare & Wellness": 8.288622037681295e-05, "History & Geography": 0.00012867644033242535, "Home, Pets & Hobbies": 0.00010913652018055512, "Industry & Production": 0.00016050736950003468, "Language, Literature & Philosophy": 7.863151713905757e-05, "Politics & Government": 7.417578676924166e-05, "Religion & Spirituality": 9.006326823919464e-05, "Science, Mathematics & Engineering": 0.00039956969167861565, "Relationships & Community": 5.652017632668569e-05, "Software Usage & Applications": 0.052640491161304856, "Programming & Software Engineering": 0.9391259685883956, "Sports & Fitness": 0.00011985553128957577, "Vehicles & Transportation": 6.124234615252798e-05, "Travel & Tourism": 9.65129001685687e-05, "Other / Uncovered Subject": 0.000562042026886134, "Unknown / Insufficient Content": 0.00014558219305881013}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0012741736836354126, "Art & Design": 0.0005810051245999251, "Law & Crime": 0.005233633709081927, "Education & Careers": 0.00043149734215521506, "Entertainment & Media": 0.00044422163778206687, "Fashion & Beauty": 0.00032580696778918087, "Business, Economics & Finance": 0.0008778719685958715, "Food & Dining": 0.00027981767748319196, "Games & Gaming": 0.0003930945534477101, "Electronics & Hardware": 0.032119753208958636, "Health, Healthcare & Wellness": 0.00037449581705736515, "History & Geography": 0.00035345410181885804, "Home, Pets & Hobbies": 0.00035954048734610205, "Industry & Production": 0.0004281871776129675, "Language, Literature & Philosophy": 0.00021415607523616437, "Politics & Government": 0.0003800172601827844, "Religion & Spirituality": 0.00037736428031242316, "Science, Mathematics & Engineering": 0.001177850061505795, "Relationships & Community": 0.0002181995397150101, "Software Usage & Applications": 0.1783458479595673, "Programming & Software Engineering": 0.07240901012284404, "Sports & Fitness": 0.00032744542813788706, "Vehicles & Transportation": 0.00020547452179102828, "Travel & Tourism": 0.0004287324690912074, "Other / Uncovered Subject": 0.0010964926478592145, "NONE": 0.7013428561763928}}, "probabilities": {"primary": {"Academic Writing": 0.00011672401141814001, "Content Listing": 0.00011159248177114246, "Creative Writing": 9.420443801557972e-05, "Customer Support Page": 6.54661836998858e-05, "Q&A Forum": 5.82202770140531e-05, "Discussion Thread": 4.002260655670758e-05, "Comment Section": 7.534443283138414e-05, "Missing Content": 0.00010504845530362508, "Knowledge Article": 0.00022223058788052317, "Legal Notices": 8.919671095290216e-05, "News Article": 3.6334185551824083e-05, "Organizational Announcement": 5.922182630415868e-05, "Nonfiction Writing": 6.0188864859915685e-05, "Organizational About Page": 7.013215468149859e-05, "Personal About Page": 5.020263506756109e-05, "Personal Blog": 3.701244219644922e-05, "Product Page": 3.868832978356271e-05, "Spam / Ads": 0.0001257716902484747, "Structured Data": 0.0005844753346219625, "Technical Writing": 0.9615458086044187, "Transcript / Interview": 9.619914516084143e-05, "Tutorial / How-To Guide": 0.030224527042762902, "User Reviews": 3.3319029973999395e-05, "Other / Unknown": 0.006060068528924235}, "secondary": {"Academic Writing": 0.0002295564617962733, "Content Listing": 0.00017890786481081016, "Creative Writing": 0.00018585182873547421, "Customer Support Page": 0.0001592779003211085, "Q&A Forum": 9.1992140409305e-05, "Discussion Thread": 6.78183640478505e-05, "Comment Section": 0.00014171908608902377, "Missing Content": 0.0005824910157159642, "Knowledge Article": 0.0006525266797623438, "Legal Notices": 0.00026286319232841747, "News Article": 0.00012494612776617394, "Organizational Announcement": 0.00011930068908586671, "Nonfiction Writing": 0.00011795499449984581, "Organizational About Page": 0.0001294446033705398, "Personal About Page": 9.875256830151885e-05, "Personal Blog": 0.00011707496095904725, "Product Page": 8.369280485623838e-05, "Spam / Ads": 0.0003959031459609352, "Structured Data": 0.0014619807716817871, "Technical Writing": 0.023786856543858523, "Transcript / Interview": 0.00015752167372539094, "Tutorial / How-To Guide": 0.03190947598506915, "User Reviews": 6.608597146724363e-05, "NONE": 0.9388780046253812}, "tertiary": {"Academic Writing": 0.00022376947288604582, "Content Listing": 0.00018113231658961433, "Creative Writing": 0.00019300107802400673, "Customer Support Page": 0.00014379827232520275, "Q&A Forum": 7.57014978842136e-05, "Discussion Thread": 6.506085057491969e-05, "Comment Section": 0.0001652614345322936, "Missing Content": 0.001494820645958218, "Knowledge Article": 0.0012880004016916676, "Legal Notices": 0.0006968514034627247, "News Article": 0.0001246301743255906, "Organizational Announcement": 0.00012626371457285742, "Nonfiction Writing": 0.00015175665652279236, "Organizational About Page": 0.00014329299051586683, "Personal About Page": 8.125575013763268e-05, "Personal Blog": 9.855439033982861e-05, "Product Page": 8.718683337258401e-05, "Spam / Ads": 0.000993142465007674, "Structured Data": 0.002576244029686449, "Technical Writing": 0.017230937698243538, "Transcript / Interview": 0.00014106208865414255, "Tutorial / How-To Guide": 0.027602555751923608, "User Reviews": 6.25073960058021e-05, "NONE": 0.9460532126867628}, "structured_records": {"false": 0.9587461781308174, "true": 0.041253821869182625}, "procedural_steps": {"false": 0.6197441575826036, "true": 0.3802558424173964}, "worked_solution": {"false": 0.9946080904833939, "true": 0.005391909516606078}, "contextual_dialogue": {"false": 0.9999950954100758, "true": 4.90458992414338e-06}, "content_quality": {"-2": 0.06950680284444578, "-1": 0.28595958234152646, "0": 0.3320243388651792, "1": 0.2295126111459624, "2": 0.08299666480288624}, "noise_severity": {"0": 0.8940649283880278, "1": 0.08241937448434578, "2": 0.01878399130857683, "3": 0.00345982076041084, "4": 0.0012718850586386937}, "missing_content_severity": {"0": 0.9672381737183681, "1": 0.022500801821427656, "2": 0.0074993909567433745, "3": 0.0022723811422398557, "4": 0.0004892523612210133}, "factual_density": {"0": 0.007128453148240725, "1": 0.019880607565067876, "2": 0.15646401178338157, "3": 0.3929537967568336, "4": 0.42357313074647623}, "pretraining_utility": {"-2": 0.028857116243659615, "-1": 0.1524408655505333, "0": 0.37979003131571015, "1": 0.37946491854214814, "2": 0.05944706834794878}, "math_density": {"0": 0.9186131166982152, "1": 0.07398420658901486, "2": 0.00460932954841895, "3": 0.0011252715571982473, "4": 0.0016680756071527634}, "code_density": {"0": 0.0003597300498509155, "1": 0.0006276786734719872, "2": 0.011767421634488988, "3": 0.10364376494708973, "4": 0.8836014046950984}, "reasoning_density": {"0": 0.5295975239522818, "1": 0.16784578910733944, "2": 0.19041234404085328, "3": 0.06636464069766905, "4": 0.04577970220185659}, "education_level": {"none": 0.0011181010323096784, "0": 0.001690150090449107, "1": 0.004379690987823342, "2": 0.28518933375562433, "3": 0.6112058155877215, "4": 0.09641690854607206}, "creative_writing_quality": {"not_applicable": 0.9991628930958194, "-2": 0.00018458406432063354, "-1": 0.00022995683947730705, "0": 0.0003032088683983866, "1": 8.673887969465457e-05, "2": 3.261825228961463e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 0.0001229610937808788, "Art & Design": 0.00015776325423750022, "Law & Crime": 0.0006206423202987819, "Education & Careers": 9.216591424680315e-05, "Entertainment & Media": 8.33811396432439e-05, "Fashion & Beauty": 8.673889072110311e-05, "Business, Economics & Finance": 0.00016071706158897033, "Food & Dining": 8.300705183227621e-05, "Games & Gaming": 0.0001514545965157431, "Electronics & Hardware": 0.004509306939336137, "Health, Healthcare & Wellness": 8.288622037681294e-05, "History & Geography": 0.00012867644033242532, "Home, Pets & Hobbies": 0.00010913652018055509, "Industry & Production": 0.00016050736950003465, "Language, Literature & Philosophy": 7.863151713905756e-05, "Politics & Government": 7.417578676924165e-05, "Religion & Spirituality": 9.006326823919463e-05, "Science, Mathematics & Engineering": 0.00039956969167861554, "Relationships & Community": 5.6520176326685675e-05, "Software Usage & Applications": 0.05264049116130484, "Programming & Software Engineering": 0.9391259685883954, "Sports & Fitness": 0.00011985553128957574, "Vehicles & Transportation": 6.124234615252797e-05, "Travel & Tourism": 9.651290016856867e-05, "Other / Uncovered Subject": 0.0005620420268861338, "Unknown / Insufficient Content": 0.0001455821930588101}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0012741736836354126, "Art & Design": 0.0005810051245999251, "Law & Crime": 0.005233633709081927, "Education & Careers": 0.00043149734215521506, "Entertainment & Media": 0.00044422163778206687, "Fashion & Beauty": 0.00032580696778918087, "Business, Economics & Finance": 0.0008778719685958715, "Food & Dining": 0.00027981767748319196, "Games & Gaming": 0.0003930945534477101, "Electronics & Hardware": 0.032119753208958636, "Health, Healthcare & Wellness": 0.00037449581705736515, "History & Geography": 0.00035345410181885804, "Home, Pets & Hobbies": 0.00035954048734610205, "Industry & Production": 0.0004281871776129675, "Language, Literature & Philosophy": 0.00021415607523616437, "Politics & Government": 0.0003800172601827844, "Religion & Spirituality": 0.00037736428031242316, "Science, Mathematics & Engineering": 0.001177850061505795, "Relationships & Community": 0.0002181995397150101, "Software Usage & Applications": 0.1783458479595673, "Programming & Software Engineering": 0.07240901012284404, "Sports & Fitness": 0.00032744542813788706, "Vehicles & Transportation": 0.00020547452179102828, "Travel & Tourism": 0.0004287324690912074, "Other / Uncovered Subject": 0.0010964926478592145, "NONE": 0.7013428561763928}}, "probability_diagnostics": {"primary": {"raw_sum": 0.9999999999999997, "mass_delta": -3.3306690738754696e-16, "missing_mass": 3.3306690738754696e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "tertiary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "structured_records": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "procedural_steps": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "worked_solution": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "contextual_dialogue": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "content_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "noise_severity": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "missing_content_severity": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "factual_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "pretraining_utility": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "math_density": {"raw_sum": 0.9999999999999998, "mass_delta": -2.220446049250313e-16, "missing_mass": 2.220446049250313e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "code_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "reasoning_density": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "education_level": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "creative_writing_quality": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "primary_topic": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "secondary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}}, "usage": {"input_tokens": 12275, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 12275, "cached_share": null, "cache_discount_reported": null, "reported_cost_usd": null}, "response_metadata": {"model": "decision-models/baseten-mammoth-27b-latest"}, "scored_at_utc": "2026-10-25T18:33:06.826320+00:00", "scoring_key_slot": "assistant_1", "dataset_uid": "fed28f47-2853-431a-9800-7ff964d80370", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "d87e926637218ad09f25baed5e498bf49b1a92ffa3fdb203b0601413b90c9988", "source_metadata": {"uuid": "fed28f47-2853-431a-9800-7ff964d80370", "repo_name": "onap/sdc", "relative_path": "openecomp-be/lib/openecomp-sdc-validation-lib/openecomp-sdc-validation-impl/src/test/resources/org/openecomp/validation/validators/guideLineValidator/baseHeatExposeResourceUsingGetResource/positive/user_data.sh", "category": "TOOL", "algo_rel_score": 0.9269427061080933, "quality_score": 3.416952610015869, "source_meta": {"github_metadata": {"branch": "master", "commit_count": 3932, "repo_created_at": "2017-12-22T02:44:13.000Z", "is_fork": false, "is_org_owned": true, "forked_from": null, "stars": 14, "forks": 34, "issues": 0, "pull_requests": 2}, "file_meta": {"content_id": "252ee46768dd956822dc7923c9c3d6dd8055fde5", "size_bytes": 11084, "file_timestamp": 1741853382, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "d8d4f0f514997bb0bc69bf470d2b8fddc3af40aa"}}, "parsed_source_meta": {"github_metadata": {"branch": "master", "commit_count": 3932, "repo_created_at": "2017-12-22T02:44:13.000Z", "is_fork": false, "is_org_owned": true, "forked_from": null, "stars": 14, "forks": 34, "issues": 0, "pull_requests": 2}, "file_meta": {"content_id": "252ee46768dd956822dc7923c9c3d6dd8055fde5", "size_bytes": 11084, "file_timestamp": 1741853382, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "d8d4f0f514997bb0bc69bf470d2b8fddc3af40aa", "url": "https://github.com/onap/sdc/blob/d8d4f0f514997bb0bc69bf470d2b8fddc3af40aa/openecomp-be/lib/openecomp-sdc-validation-lib/openecomp-sdc-validation-impl/src/test/resources/org/openecomp/validation/validators/guideLineValidator/baseHeatExposeResourceUsingGetResource/positive/user_data.sh"}, "gpt4o_tokens": 3624, "dataset_split": "shell", "probability_weighted_scores": {"content_quality": -0.029467247278683162, "noise_severity": 0.13545435961728675, "missing_content_severity": 0.046273736606518026, "factual_density": 3.2059625443882367, "pretraining_utility": 0.2882039572001932, "math_density": 0.09325098278605856, "code_density": 3.8694994355641126, "reasoning_density": 0.9308832080894793, "education_level": 2.7971709591835348, "creative_writing_quality": -0.5341606688603094}, "score_applicability": {"education_level": 0.9988818989676903, "creative_writing_quality": 0.0008371069041805964}} {"source_group": "shell", "source": "openbmb/UltraData-Stack-v3-L2/shell", "domain": "github.com", "language": "shell", "url": "https://github.com/dt-kube-demo/setup-infra/blob/519a469aeb6a86801c958c5226e34bac7905d330/provisionAks.sh", "id": "shell-0-9e14e1df624d51a1bceed3518d541171", "text": "#!/bin/bash\n\n# values read in from creds file\nAZURE_SUBSCRIPTION=$(cat creds.json | jq -r '.azureSubscription')\nAZURE_LOCATION=$(cat creds.json | jq -r '.azureLocation')\nRESOURCE_PREFIX=$(cat creds.json | jq -r '.resourcePrefix')\n# derived values\nCLUSTER_NAME=\"$RESOURCE_PREFIX\"-dt-kube-demo-cluster\nAZURE_RESOURCEGROUP=\"$RESOURCE_PREFIX\"-dt-kube-demo-group\nAZURE_DEPLOYMENTNAME=\"$RESOURCE_PREFIX\"-dt-kube-demo-deployment\nAZURE_SERVICE_PRINCIPAL=\"$RESOURCE_PREFIX\"-dt-kube-demo-sp\n\necho \"====================================================\"\necho \"About to provision Azure Resources with these inputs: \"\necho \"The provisioning will take several minutes\"\necho \"\"\necho \"AZURE_SUBSCRIPTION : $AZURE_SUBSCRIPTION\"\necho \"AZURE_LOCATION : $AZURE_LOCATION\"\necho \"AZURE_RESOURCEGROUP : $AZURE_RESOURCEGROUP\"\necho \"CLUSTER_NAME : $CLUSTER_NAME\"\necho \"AZURE_DEPLOYMENTNAME : $AZURE_DEPLOYMENTNAME\"\necho \"AZURE_SERVICE_PRINCIPAL : $AZURE_SERVICE_PRINCIPAL\"\necho \"====================================================\"\nread -rsp $'Press ctrl-c to abort. Press any key to continue...\\n' -n1 key\necho \"\"\n\necho \"------------------------------------------------------\"\necho \"Creating Resource group: $AZURE_RESOURCEGROUP\"\necho \"------------------------------------------------------\"\naz account set -s $AZURE_SUBSCRIPTION\naz group create --name \"$AZURE_RESOURCEGROUP\" --location $AZURE_LOCATION\naz group show --name \"$AZURE_RESOURCEGROUP\"\n\necho \"Letting resource group persist properly (10 sec) ...\"\nsleep 10 \n\n# need to look up service principal id and then delete it\n# this is outside of the resource group\nAZURE_SERVICE_PRINCIPAL_APPID=$(az ad sp list --display-name $AZURE_SERVICE_PRINCIPAL | jq -r '.[0].appId | select (.!=null)')\nif [ -n \"$AZURE_SERVICE_PRINCIPAL_APPID\" ]\nthen\n echo \"------------------------------------------------------\"\n echo \"Deleting Service Principal : $AZURE_SERVICE_PRINCIPAL\"\n echo \"AZURE_SERVICE_PRINCIPAL_APPID : $AZURE_SERVICE_PRINCIPAL_APPID\"\n echo \"------------------------------------------------------\"\n az ad sp delete --id $AZURE_SERVICE_PRINCIPAL_APPID\nfi\n\necho \"------------------------------------------------------\"\necho \"Creating Service Principal: $AZURE_SERVICE_PRINCIPAL\"\necho \"------------------------------------------------------\"\naz ad sp create-for-rbac -n \"http://$AZURE_SERVICE_PRINCIPAL\" \\\n --role contributor \\\n --scopes /subscriptions/\"$AZURE_SUBSCRIPTION\"/resourceGroups/\"$AZURE_RESOURCEGROUP\" > ./aks/azure_service_principal.json\nAZURE_APPID=$(jq -r .appId ./aks/azure_service_principal.json)\nAZURE_APPID_SECRET=$(jq -r .password ./aks/azure_service_principal.json)\n\necho \"Letting service principal persist properly (30 sec) ...\"\nsleep 30 \necho \"Generated Serice Principal App ID: $AZURE_APPID\"\n \n# prepare cluster parameters file values\njq -n \\\n --arg owner \"$RESOURCE_PREFIX\" \\\n --arg name \"$CLUSTER_NAME\" \\\n --arg location \"$AZURE_LOCATION\" \\\n --arg dns \"$AZURE_LOCATION-dns\" \\\n --arg agentvmsize \"Standard_D4s_v3\" \\\n --arg appid \"$AZURE_APPID\" \\\n --arg appidsecret \"$AZURE_APPID_SECRET\" \\\n --arg kubernetesversion \"1.12.7\" \\ '{\n \"$schema\": \"https://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#\",\n \"contentVersion\": \"1.0.0.0\",\n \"parameters\": {\n \"resourceName\": {\n \"value\": $name\n },\n \"owner\": {\n \"value\": $owner\n },\n \"location\": {\n \"value\": $location\n },\n \"dnsPrefix\": {\n \"value\": $dns\n },\n \"agentCount\": {\n \"value\": 1\n },\n \"agentVMSize\": {\n \"value\": $agentvmsize\n },\n \"servicePrincipalClientId\": {\n \"value\": $appid\n },\n \"servicePrincipalClientSecret\": {\n \"value\": $appidsecret\n },\n \"kubernetesVersion\": {\n \"value\": $kubernetesversion\n },\n \"networkPlugin\": {\n \"value\": \"kubenet\"\n },\n \"enableRBAC\": {\n \"value\": true\n },\n \"enableHttpApplicationRouting\": {\n \"value\": false\n }\n }\n}' > ./aks/parameters.json\n\necho \"------------------------------------------------------\"\necho \"Creating cluster with these parameters:\"\ncat ./aks/parameters.json\necho \necho \"AZURE_APPID=$AZURE_APPID\"\necho \"AZURE_APPID_SECRET=$AZURE_APPID_SECRET\"\necho \"------------------------------------------------------\"\necho \"Create Cluster will take several minutes\"\necho \"\"\n\ncd aks\nsudo ./deploy.sh -i $AZURE_SUBSCRIPTION -g $AZURE_RESOURCEGROUP -n $AZURE_DEPLOYMENTNAME -l $AZURE_LOCATION\ncd ..\n\necho \"Letting cluster persist properly (10 sec) ...\"\nsleep 10\n\necho \"Updated Kubectl with credentials\"\necho \"az aks get-credentials --resource-group $AZURE_RESOURCEGROUP --name $CLUSTER_NAME --overwrite-existing\"\naz aks get-credentials --resource-group $AZURE_RESOURCEGROUP --name $CLUSTER_NAME --overwrite-existing\n\necho \"====================================================\"\necho \"Azure cluster deployment complete.\"\necho \"====================================================\"\necho \"\"", "text_preview": "#!/bin/bash # values read in from creds file AZURE_SUBSCRIPTION=$(cat creds.json | jq -r '.azureSubscription') AZURE_LOCATION=$(cat creds.json | jq -r '.azureLocation') RESOURCE_PREFIX=$(cat creds.json | jq -r '.resourcePrefix') # derived v", "input_sha256": "08a082f71702f62704ed7ee27e3a67758eac1305a1263509c88dd12b8ea6e5ce", "text_sha256": "9e14e1df624d51a1bceed3518d5411719136da0b09b50d412a7dd0343426c14c", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 20059, "input_policy": "text-and-optional-url-v1", "label_policy_version": 12, "requested_model": "decision-models/baseten-mammoth-27b-latest", "backend": "baseten", "endpoint": "https://inference.baseten.co/v1/systemone", "status": "ok", "training_eligible": true, "label": {"primary": {"main_format": "Technical Writing", "sub_format": null}, "secondary": null, "tertiary": null, "content_structure": []}, "candidate_label": null, "topic": {"primary": {"main_topic": "Programming & Software Engineering", "sub_topic": null}, "secondary": null}, "scores": {"content_quality": 1, "noise_severity": 0, "missing_content_severity": 0, "factual_density": 3, "pretraining_utility": 1, "math_density": 0, "code_density": 4, "reasoning_density": 0, "education_level": 3, "creative_writing_quality": null}, "score_expectations": {"content_quality": 0.6480019577158358, "noise_severity": 0.06245282513219649, "missing_content_severity": 0.014091309343497178, "factual_density": 3.2199921946396546, "pretraining_utility": 0.5648823241249508, "math_density": 0.00957430674814794, "code_density": 3.6254346243849023, "reasoning_density": 0.4330856795357927, "education_level": 2.703065889026182, "creative_writing_quality": -0.3207668461992456}, "api_choices": {"primary": "Technical Writing", "secondary": "NONE", "tertiary": "NONE", "education_level": "3", "creative_writing_quality": "not_applicable", "primary_topic": "Programming & Software Engineering", "secondary_topic": "NONE"}, "review_reasons": [], "format_slot_diagnostics": {"comparable": true, "secondary_tertiary_identical": false, "secondary_tertiary_max_abs_gap": 0.13264027982167992, "secondary_choice": "NONE", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.928844514768196, "secondary": 0.5612476038088884, "tertiary": 0.6996548523184675, "structured_records": 0.3791740713684463, "procedural_steps": 0.3837522561892969, "worked_solution": 0.0062423476804180636, "contextual_dialogue": 7.929969039481028e-06, "content_quality": 0.47089912576834114, "noise_severity": 0.9479559790565029, "missing_content_severity": 0.9882572422137523, "factual_density": 0.5319239332290623, "pretraining_utility": 0.5149097274245008, "math_density": 0.9920214110432101, "code_density": 0.6878621869874182, "reasoning_density": 0.639095267053506, "education_level": 0.4384147087229794, "creative_writing_quality": 0.9995894539067418, "primary_topic": 0.9786193200936172, "secondary_topic": 0.8096752037810541}, "probability_margin": {"primary": 0.8762341322423745, "secondary": 0.3268238197488196, "tertiary": 0.5142092272897363, "education_level": 0.16107863079677254, "creative_writing_quality": 0.9995108710837814, "primary_topic": 0.9611979196220733, "secondary_topic": 0.6939425584298838}, "raw_probabilities": {"primary": {"Academic Writing": 0.00021043911772516735, "Content Listing": 0.0001644919042530805, "Creative Writing": 0.00014970189674625366, "Customer Support Page": 0.00013090477941770547, "Q&A Forum": 0.0001028933167449931, "Discussion Thread": 8.123176721900097e-05, "Comment Section": 0.0001371876851110269, "Missing Content": 0.0001308157360004683, "Knowledge Article": 0.0003575958869674858, "Legal Notices": 0.00014276068116419316, "News Article": 6.324285414633561e-05, "Organizational Announcement": 0.00010236645416173253, "Nonfiction Writing": 0.00010105254110776266, "Organizational About Page": 0.00011669362986735261, "Personal About Page": 8.008816709497499e-05, "Personal Blog": 6.434534735570166e-05, "Product Page": 7.101158852094552e-05, "Spam / Ads": 9.87794176072235e-05, "Structured Data": 0.005267127994360729, "Technical Writing": 0.9318093266528544, "Transcript / Interview": 0.00014265908345201635, "Tutorial / How-To Guide": 0.055575194410479964, "User Reviews": 5.733906153853913e-05, "Other / Unknown": 0.004842750026102874}, "secondary": {"Academic Writing": 0.0010087114998180388, "Content Listing": 0.0005319684367791876, "Creative Writing": 0.0006689027004106483, "Customer Support Page": 0.0005166297070095045, "Q&A Forum": 0.00043971039795495957, "Discussion Thread": 0.00036303831208467737, "Comment Section": 0.0005533313892148394, "Missing Content": 0.0007432174202591483, "Knowledge Article": 0.001062090296262132, "Legal Notices": 0.0007463351635216097, "News Article": 0.0005797588593106785, "Organizational Announcement": 0.0005444834783254878, "Nonfiction Writing": 0.0005750587273774979, "Organizational About Page": 0.0006487262868169053, "Personal About Page": 0.00043100581764492994, "Personal Blog": 0.0004194839714656808, "Product Page": 0.00041564416096520395, "Spam / Ads": 0.0004729823646869038, "Structured Data": 0.25270513390136506, "Technical Writing": 0.09589501365533447, "Transcript / Interview": 0.0008356720139035896, "Tutorial / How-To Guide": 0.05999434500822831, "User Reviews": 0.00031980278107579947, "NONE": 0.5795289536501846}, "tertiary": {"Academic Writing": 0.0007449150994880677, "Content Listing": 0.00038475642103429986, "Creative Writing": 0.0006307077737360799, "Customer Support Page": 0.00041885035226633976, "Q&A Forum": 0.00031646030833781005, "Discussion Thread": 0.00023935422824749753, "Comment Section": 0.0004532313016132246, "Missing Content": 0.0006441721785924906, "Knowledge Article": 0.0014881893568717307, "Legal Notices": 0.000569776340956084, "News Article": 0.000381552026331371, "Organizational Announcement": 0.0003943196414182735, "Nonfiction Writing": 0.000414538502158899, "Organizational About Page": 0.000498179689255476, "Personal About Page": 0.00031444544393580983, "Personal Blog": 0.00031405659215597806, "Product Page": 0.0003445891493213157, "Spam / Ads": 0.0003975012145878251, "Structured Data": 0.19796000618212842, "Technical Writing": 0.034244419742851466, "Transcript / Interview": 0.0008250476940890706, "Tutorial / How-To Guide": 0.04564030963014858, "User Reviews": 0.00021138765860923768, "NONE": 0.7121692334718647}, "structured_records": {"false": 0.6208259286315537, "true": 0.3791740713684463}, "procedural_steps": {"false": 0.616247743810703, "true": 0.3837522561892969}, "worked_solution": {"false": 0.9937576523195819, "true": 0.0062423476804180636}, "contextual_dialogue": {"false": 0.9999920700309605, "true": 7.929969039481028e-06}, "content_quality": {"-2": 0.01081085457808589, "-1": 0.06239470215622478, "0": 0.3362375776343702, "1": 0.44909536223440594, "2": 0.1414615033969132}, "noise_severity": {"0": 0.9467219772000213, "1": 0.046291004002834944, "2": 0.005429336119953509, "3": 0.0009275818193063974, "4": 0.0006301008578838344}, "missing_content_severity": {"0": 0.9913654793230782, "1": 0.004212354635496511, "2": 0.0035446862504714617, "3": 0.0007203369567579777, "4": 0.0001571428341959527}, "factual_density": {"0": 0.0033042877221371872, "1": 0.011576105763059251, "2": 0.13778446805020522, "3": 0.4564934010822083, "4": 0.39084173738239003}, "pretraining_utility": {"-2": 0.009375681586515942, "-1": 0.0690355556547296, "0": 0.34241484541381706, "1": 0.5056785917371625, "2": 0.0734953256077749}, "math_density": {"0": 0.9920767051067826, "1": 0.007044577961412392, "2": 0.00038045091483787413, "3": 0.00022423711080891588, "4": 0.0002740289061582631}, "code_density": {"0": 0.0005827209838625434, "1": 0.0012837846855746798, "2": 0.04612279558579816, "3": 0.27613754645132765, "4": 0.675873152293437}, "reasoning_density": {"0": 0.7412486197600083, "1": 0.11307645429874266, "2": 0.12073209171892046, "3": 0.021226295090105464, "4": 0.0037165391322231726}, "education_level": {"none": 0.0008897084487808804, "0": 0.0016277857439037015, "1": 0.00512985484941796, "2": 0.37093362647237693, "3": 0.5320122572691495, "4": 0.08940676721637111}, "creative_writing_quality": {"not_applicable": 0.9996578782556181, "-2": 5.054533381675489e-05, "-1": 8.451952972197769e-05, "0": 0.00014700717183672044, "1": 4.423053361881508e-05, "2": 1.5819175387563843e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 5.491827412241077e-05, "Art & Design": 4.935503943492294e-05, "Law & Crime": 4.3738903712951166e-05, "Education & Careers": 4.143602987546232e-05, "Entertainment & Media": 2.93145598053788e-05, "Fashion & Beauty": 3.01229373719194e-05, "Business, Economics & Finance": 8.754110860367256e-05, "Food & Dining": 3.281298608000871e-05, "Games & Gaming": 5.0991155730465273e-05, "Electronics & Hardware": 0.0005181082465942551, "Health, Healthcare & Wellness": 4.076387319886983e-05, "History & Geography": 3.928243421459589e-05, "Home, Pets & Hobbies": 3.2012198611129724e-05, "Industry & Production": 7.70693903984908e-05, "Language, Literature & Philosophy": 3.681722277428976e-05, "Politics & Government": 2.9154986433002056e-05, "Religion & Spirituality": 3.520621694615734e-05, "Science, Mathematics & Engineering": 0.00043517182180436624, "Relationships & Community": 2.2595446237109445e-05, "Software Usage & Applications": 0.018243734314097027, "Programming & Software Engineering": 0.9794416539361703, "Sports & Fitness": 4.68562170060949e-05, "Vehicles & Transportation": 2.252229932143618e-05, "Travel & Tourism": 4.098039940790188e-05, "Other / Uncovered Subject": 0.0004582971769836229, "Unknown / Insufficient Content": 5.954282506367827e-05}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0006002396813324978, "Art & Design": 0.0003445134858793441, "Law & Crime": 0.0005635719371922461, "Education & Careers": 0.00032943693173289446, "Entertainment & Media": 0.00032397490698346493, "Fashion & Beauty": 0.00021689954052631853, "Business, Economics & Finance": 0.000792144136856577, "Food & Dining": 0.00019352049695787525, "Games & Gaming": 0.0002955792236014033, "Electronics & Hardware": 0.001942338298522525, "Health, Healthcare & Wellness": 0.000294571791340299, "History & Geography": 0.0002537405514509611, "Home, Pets & Hobbies": 0.0002153620070449298, "Industry & Production": 0.00030593018261031597, "Language, Literature & Philosophy": 0.00016177780068624413, "Politics & Government": 0.00027093716756604937, "Religion & Spirituality": 0.0003101291225755176, "Science, Mathematics & Engineering": 0.001284617987540567, "Relationships & Community": 0.00015277607592456956, "Software Usage & Applications": 0.1230528298211296, "Programming & Software Engineering": 0.049517866618506656, "Sports & Fitness": 0.00021994688334845861, "Vehicles & Transportation": 0.0001220765263496646, "Travel & Tourism": 0.0003302425186587082, "Other / Uncovered Subject": 0.0009095880546689262, "NONE": 0.8169953882510135}}, "probabilities": {"primary": {"Academic Writing": 0.00021043911772516735, "Content Listing": 0.0001644919042530805, "Creative Writing": 0.00014970189674625366, "Customer Support Page": 0.00013090477941770547, "Q&A Forum": 0.0001028933167449931, "Discussion Thread": 8.123176721900097e-05, "Comment Section": 0.0001371876851110269, "Missing Content": 0.0001308157360004683, "Knowledge Article": 0.0003575958869674858, "Legal Notices": 0.00014276068116419316, "News Article": 6.324285414633561e-05, "Organizational Announcement": 0.00010236645416173253, "Nonfiction Writing": 0.00010105254110776266, "Organizational About Page": 0.00011669362986735261, "Personal About Page": 8.008816709497499e-05, "Personal Blog": 6.434534735570166e-05, "Product Page": 7.101158852094552e-05, "Spam / Ads": 9.87794176072235e-05, "Structured Data": 0.005267127994360729, "Technical Writing": 0.9318093266528544, "Transcript / Interview": 0.00014265908345201635, "Tutorial / How-To Guide": 0.055575194410479964, "User Reviews": 5.733906153853913e-05, "Other / Unknown": 0.004842750026102874}, "secondary": {"Academic Writing": 0.001008711499818039, "Content Listing": 0.0005319684367791878, "Creative Writing": 0.0006689027004106484, "Customer Support Page": 0.0005166297070095047, "Q&A Forum": 0.0004397103979549596, "Discussion Thread": 0.0003630383120846774, "Comment Section": 0.0005533313892148395, "Missing Content": 0.0007432174202591485, "Knowledge Article": 0.0010620902962621321, "Legal Notices": 0.0007463351635216098, "News Article": 0.0005797588593106786, "Organizational Announcement": 0.000544483478325488, "Nonfiction Writing": 0.000575058727377498, "Organizational About Page": 0.0006487262868169054, "Personal About Page": 0.00043100581764493, "Personal Blog": 0.00041948397146568086, "Product Page": 0.000415644160965204, "Spam / Ads": 0.0004729823646869039, "Structured Data": 0.2527051339013651, "Technical Writing": 0.09589501365533448, "Transcript / Interview": 0.0008356720139035897, "Tutorial / How-To Guide": 0.05999434500822832, "User Reviews": 0.0003198027810757995, "NONE": 0.5795289536501848}, "tertiary": {"Academic Writing": 0.0007449150994880677, "Content Listing": 0.00038475642103429986, "Creative Writing": 0.0006307077737360799, "Customer Support Page": 0.00041885035226633976, "Q&A Forum": 0.00031646030833781005, "Discussion Thread": 0.00023935422824749753, "Comment Section": 0.0004532313016132246, "Missing Content": 0.0006441721785924906, "Knowledge Article": 0.0014881893568717307, "Legal Notices": 0.000569776340956084, "News Article": 0.000381552026331371, "Organizational Announcement": 0.0003943196414182735, "Nonfiction Writing": 0.000414538502158899, "Organizational About Page": 0.000498179689255476, "Personal About Page": 0.00031444544393580983, "Personal Blog": 0.00031405659215597806, "Product Page": 0.0003445891493213157, "Spam / Ads": 0.0003975012145878251, "Structured Data": 0.19796000618212842, "Technical Writing": 0.034244419742851466, "Transcript / Interview": 0.0008250476940890706, "Tutorial / How-To Guide": 0.04564030963014858, "User Reviews": 0.00021138765860923768, "NONE": 0.7121692334718647}, "structured_records": {"false": 0.6208259286315537, "true": 0.3791740713684463}, "procedural_steps": {"false": 0.616247743810703, "true": 0.3837522561892969}, "worked_solution": {"false": 0.9937576523195819, "true": 0.0062423476804180636}, "contextual_dialogue": {"false": 0.9999920700309605, "true": 7.929969039481028e-06}, "content_quality": {"-2": 0.01081085457808589, "-1": 0.06239470215622478, "0": 0.3362375776343702, "1": 0.44909536223440594, "2": 0.1414615033969132}, "noise_severity": {"0": 0.9467219772000213, "1": 0.046291004002834944, "2": 0.005429336119953509, "3": 0.0009275818193063974, "4": 0.0006301008578838344}, "missing_content_severity": {"0": 0.9913654793230782, "1": 0.004212354635496511, "2": 0.0035446862504714617, "3": 0.0007203369567579777, "4": 0.0001571428341959527}, "factual_density": {"0": 0.0033042877221371872, "1": 0.011576105763059251, "2": 0.13778446805020522, "3": 0.4564934010822083, "4": 0.39084173738239003}, "pretraining_utility": {"-2": 0.009375681586515942, "-1": 0.0690355556547296, "0": 0.34241484541381706, "1": 0.5056785917371625, "2": 0.0734953256077749}, "math_density": {"0": 0.9920767051067826, "1": 0.007044577961412392, "2": 0.00038045091483787413, "3": 0.00022423711080891588, "4": 0.0002740289061582631}, "code_density": {"0": 0.0005827209838625434, "1": 0.0012837846855746798, "2": 0.04612279558579816, "3": 0.27613754645132765, "4": 0.675873152293437}, "reasoning_density": {"0": 0.7412486197600083, "1": 0.11307645429874266, "2": 0.12073209171892046, "3": 0.021226295090105464, "4": 0.0037165391322231726}, "education_level": {"none": 0.0008897084487808804, "0": 0.0016277857439037015, "1": 0.00512985484941796, "2": 0.37093362647237693, "3": 0.5320122572691495, "4": 0.08940676721637111}, "creative_writing_quality": {"not_applicable": 0.9996578782556181, "-2": 5.054533381675489e-05, "-1": 8.451952972197769e-05, "0": 0.00014700717183672044, "1": 4.423053361881508e-05, "2": 1.5819175387563843e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 5.49182741224108e-05, "Art & Design": 4.935503943492296e-05, "Law & Crime": 4.3738903712951186e-05, "Education & Careers": 4.143602987546234e-05, "Entertainment & Media": 2.9314559805378815e-05, "Fashion & Beauty": 3.0122937371919415e-05, "Business, Economics & Finance": 8.75411086036726e-05, "Food & Dining": 3.281298608000872e-05, "Games & Gaming": 5.0991155730465294e-05, "Electronics & Hardware": 0.0005181082465942553, "Health, Healthcare & Wellness": 4.076387319886985e-05, "History & Geography": 3.928243421459591e-05, "Home, Pets & Hobbies": 3.201219861112974e-05, "Industry & Production": 7.706939039849084e-05, "Language, Literature & Philosophy": 3.6817222774289775e-05, "Politics & Government": 2.915498643300207e-05, "Religion & Spirituality": 3.5206216946157356e-05, "Science, Mathematics & Engineering": 0.00043517182180436646, "Relationships & Community": 2.2595446237109455e-05, "Software Usage & Applications": 0.018243734314097034, "Programming & Software Engineering": 0.9794416539361708, "Sports & Fitness": 4.685621700609492e-05, "Vehicles & Transportation": 2.252229932143619e-05, "Travel & Tourism": 4.09803994079019e-05, "Other / Uncovered Subject": 0.0004582971769836231, "Unknown / Insufficient Content": 5.9542825063678294e-05}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0006002396813324978, "Art & Design": 0.0003445134858793441, "Law & Crime": 0.0005635719371922461, "Education & Careers": 0.00032943693173289446, "Entertainment & Media": 0.00032397490698346493, "Fashion & Beauty": 0.00021689954052631853, "Business, Economics & Finance": 0.000792144136856577, "Food & Dining": 0.00019352049695787525, "Games & Gaming": 0.0002955792236014033, "Electronics & Hardware": 0.001942338298522525, "Health, Healthcare & Wellness": 0.000294571791340299, "History & Geography": 0.0002537405514509611, "Home, Pets & Hobbies": 0.0002153620070449298, "Industry & Production": 0.00030593018261031597, "Language, Literature & Philosophy": 0.00016177780068624413, "Politics & Government": 0.00027093716756604937, "Religion & Spirituality": 0.0003101291225755176, "Science, Mathematics & Engineering": 0.001284617987540567, "Relationships & Community": 0.00015277607592456956, "Software Usage & Applications": 0.1230528298211296, "Programming & Software Engineering": 0.049517866618506656, "Sports & Fitness": 0.00021994688334845861, "Vehicles & Transportation": 0.0001220765263496646, "Travel & Tourism": 0.0003302425186587082, "Other / Uncovered Subject": 0.0009095880546689262, "NONE": 0.8169953882510135}}, "probability_diagnostics": {"primary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "tertiary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "structured_records": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "procedural_steps": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "worked_solution": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "contextual_dialogue": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "content_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "noise_severity": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "missing_content_severity": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "factual_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "pretraining_utility": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "math_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "code_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "reasoning_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "education_level": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "creative_writing_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "primary_topic": {"raw_sum": 0.9999999999999996, "mass_delta": -4.440892098500626e-16, "missing_mass": 4.440892098500626e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}}, "usage": {"input_tokens": 9805, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 9805, "cached_share": null, "cache_discount_reported": null, "reported_cost_usd": null}, "response_metadata": {"model": "decision-models/baseten-mammoth-27b-latest"}, "scored_at_utc": "2026-10-25T18:33:07.287885+00:00", "scoring_key_slot": "assistant_1", "dataset_uid": "79d81b79-d5af-43d6-bee7-a7ab2a7e64e4", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "5191c83fe20f7542747d13430297f05a942b7a47f394869e507049183d709e2b", "source_metadata": {"uuid": "79d81b79-d5af-43d6-bee7-a7ab2a7e64e4", "repo_name": "dt-kube-demo/setup-infra", "relative_path": "provisionAks.sh", "category": "TOOL", "algo_rel_score": 0.8963741660118103, "quality_score": 3.72200345993042, "source_meta": {"github_metadata": {"branch": "master", "commit_count": 42, "repo_created_at": "2019-03-19T21:34:17.000Z", "is_fork": false, "is_org_owned": true, "forked_from": null, "stars": 0, "forks": 5, "issues": 3, "pull_requests": 0}, "file_meta": {"content_id": "c55b12cdc52cf53013cdfe1f4cac0ec91705595c", "size_bytes": 5121, "file_timestamp": 1559871886, "language": "shell", "is_vendor": false, "license_type": "permissive", "detected_licenses": ["Apache-2.0"]}, "commit_id": "519a469aeb6a86801c958c5226e34bac7905d330"}}, "parsed_source_meta": {"github_metadata": {"branch": "master", "commit_count": 42, "repo_created_at": "2019-03-19T21:34:17.000Z", "is_fork": false, "is_org_owned": true, "forked_from": null, "stars": 0, "forks": 5, "issues": 3, "pull_requests": 0}, "file_meta": {"content_id": "c55b12cdc52cf53013cdfe1f4cac0ec91705595c", "size_bytes": 5121, "file_timestamp": 1559871886, "language": "shell", "is_vendor": false, "license_type": "permissive", "detected_licenses": ["Apache-2.0"]}, "commit_id": "519a469aeb6a86801c958c5226e34bac7905d330", "url": "https://github.com/dt-kube-demo/setup-infra/blob/519a469aeb6a86801c958c5226e34bac7905d330/provisionAks.sh"}, "gpt4o_tokens": 1209, "dataset_split": "shell", "probability_weighted_scores": {"content_quality": 0.6480019577158358, "noise_severity": 0.06245282513219649, "missing_content_severity": 0.014091309343497178, "factual_density": 3.2199921946396546, "pretraining_utility": 0.5648823241249508, "math_density": 0.00957430674814794, "code_density": 3.6254346243849023, "reasoning_density": 0.4330856795357927, "education_level": 2.703065889026182, "creative_writing_quality": -0.3207668461992456}, "score_applicability": {"education_level": 0.9991102915512192, "creative_writing_quality": 0.0003421217443818319}} {"source_group": "shell", "source": "openbmb/UltraData-Stack-v3-L2/shell", "domain": "github.com", "language": "shell", "url": "https://github.com/Ausdauersportler/iMac-2011-Mojave/blob/1117cdf859f382c82f4f628cf23844e6b3c3f366/iMac-2011-Sleep-patch/Script/postinstall", "id": "shell-0-9999dd95569ede5ac88ab2cdba87368d", "text": "#!/bin/bash\n#\n# postinstall script iMac-2001-Sleep-patch 10.14\n#\n# By chris1111 / Ausdauersportler\n\nif [[ $(sw_vers -productVersion) == \"10.14.1\" ]]; then\n echo \"Latest Mojave\"\ndefaults write /Library/Preferences/com.apple.security.libraryvalidation.plist DisableLibraryValidation -bool true\necho \"Install plist\"\nfi\n\nif [[ $(sw_vers -productVersion) == \"10.14.2\" ]]; then\n echo \"Latest Mojave\"\ndefaults write /Library/Preferences/com.apple.security.libraryvalidation.plist DisableLibraryValidation -bool true\necho \"Install plist\"\nfi\n\nif [[ $(sw_vers -productVersion) == \"10.14.3\" ]]; then\n echo \"Latest Mojave\"\ndefaults write /Library/Preferences/com.apple.security.libraryvalidation.plist DisableLibraryValidation -bool true\necho \"Install plist\"\nfi\n\nif [[ $(sw_vers -productVersion) == \"10.14.4\" ]]; then\n echo \"Latest Mojave\"\ndefaults write /Library/Preferences/com.apple.security.libraryvalidation.plist DisableLibraryValidation -bool true\necho \"Install plist\"\nfi\n\nif [[ $(sw_vers -productVersion) == \"10.14.5\" ]]; then\n echo \"Latest Mojave\"\ndefaults write /Library/Preferences/com.apple.security.libraryvalidation.plist DisableLibraryValidation -bool true\necho \"Install plist\"\nfi\n\nif [[ $(sw_vers -productVersion) == \"10.14.6\" ]]; then\n echo \"Latest Mojave\"\ndefaults write /Library/Preferences/com.apple.security.libraryvalidation.plist DisableLibraryValidation -bool true\necho \"Install plist\"\nfi\n\n# pathing AGC plist\n \necho 'Patching AppleGraphicsControl.kext with iMac 2009-2011 board-id'\n/usr/libexec/PlistBuddy -c 'Add :IOKitPersonalities:AppleGraphicsDevicePolicy:ConfigMap:Mac-942B59F58194171B string none' /System/Library/Extensions/AppleGraphicsControl.kext/Contents/PlugIns/AppleGraphicsDevicePolicy.kext/Contents/Info.plist\n\n/usr/libexec/PlistBuddy -c 'Add :IOKitPersonalities:AppleGraphicsDevicePolicy:ConfigMap:Mac-942B5BF58194151B string none' /System/Library/Extensions/AppleGraphicsControl.kext/Contents/PlugIns/AppleGraphicsDevicePolicy.kext/Contents/Info.plist\n\n/usr/libexec/PlistBuddy -c 'Add :IOKitPersonalities:AppleGraphicsDevicePolicy:ConfigMap:Mac-F2268DAE string none' /System/Library/Extensions/AppleGraphicsControl.kext/Contents/PlugIns/AppleGraphicsDevicePolicy.kext/Contents/Info.plist\n\n/usr/libexec/PlistBuddy -c 'Add :IOKitPersonalities:AppleGraphicsDevicePolicy:ConfigMap:Mac-F2238AC8 string none' /System/Library/Extensions/AppleGraphicsControl.kext/Contents/PlugIns/AppleGraphicsDevicePolicy.kext/Contents/Info.plist\n\n/usr/libexec/PlistBuddy -c 'Add :IOKitPersonalities:AppleGraphicsDevicePolicy:ConfigMap:Mac-F2238BAE string none' /System/Library/Extensions/AppleGraphicsControl.kext/Contents/PlugIns/AppleGraphicsDevicePolicy.kext/Contents/Info.plist\n\n# HD3000 (new files from High Sierra, no backup)\ncp -R /\"$3\"/tmp/InstallKext/AppleIntelHD3000Graphics.kext \"${3}/System/Library/Extensions/\"\ncp -R /\"$3\"/tmp/InstallKext/AppleIntelHD3000GraphicsGA.plugin \"${3}/System/Library/Extensions/\"\ncp -R /\"$3\"/tmp/InstallKext/AppleIntelHD3000GraphicsGLDriver.bundle \"${3}/System/Library/Extensions/\"\ncp -R /\"$3\"/tmp/InstallKext/AppleIntelHD3000GraphicsVADriver.bundle \"${3}/System/Library/Extensions/\"\ncp -R /\"$3\"/tmp/InstallKext/AppleIntelSNBGraphicsFB.kext \"${3}/System/Library/Extensions/\"\ncp -R /\"$3\"/tmp/InstallKext/AppleIntelSNBVA.bundle \"${3}/System/Library/Extensions/\"\n\n# High Sierra AppleGVA Nvidia only - replacement: save the original framework\nif [ -d /\"$3\"/tmp/AppleGVA/AppleGVA.framework ]\nthen\n if [ -d \"${3}/System/Library/PrivateFrameworks/AppleGVA.framework\" ]\n then\n mv \"${3}/System/Library/PrivateFrameworks/AppleGVA.framework\" \"${3}/System/Library/PrivateFrameworks/AppleGVA.framework.original\"\n fi\n\n cp -R /\"$3\"/tmp/AppleGVA/AppleGVA.framework \"${3}/System/Library/PrivateFrameworks/\"\n \n chown -R 0:0 \"${3}/System/Library/PrivateFrameworks/AppleGVA.framework\"\n chmod -R 755 \"${3}/System/Library/PrivateFrameworks/AppleGVA.framework\"\nfi\n\n# vit9696 (new files, no backup)\ncp -R /\"$3\"/tmp/InstallKext/Lilu.kext \"${3}/System/Library/Extensions/\"\ncp -R /\"$3\"/tmp/InstallKext/WhateverGreen.kext \"${3}/System/Library/Extensions/\"\n\n# HWMonitor FakeSMC (new files, no backup)\ncp -R /\"$3\"/tmp/InstallKext/FakeSMC_CPUSensors.kext \"${3}/System/Library/Extensions/\"\ncp -R /\"$3\"/tmp/InstallKext/FakeSMC_GPUSensors.kext \"${3}/System/Library/Extensions/\"\ncp -R /\"$3\"/tmp/InstallKext/FakeSMCKeyStore.kext \"${3}/System/Library/Extensions/\"\n\n# Nvidia (without OpenCore) AppleBacklight Fixup (new file, no backup)\ncp -R /\"$3\"/tmp/InstallKext/AppleBacklightFixup.kext \"${3}/System/Library/Extensions/\"\n\nchown -R 0:0 \"${3}/System/Library/Extensions/\"\nchmod -R 755 \"${3}/System/Library/Extensions/\"\n\nkextcache -i /\n\n# kcditto\n\nrm -rf /\"$3\"/tmp/InstallKext\nrm -rf /\"$3\"/tmp/AppleGVA\nrm -rf /\"$3\"/tmp/Install\n\nexit \n", "text_preview": "#!/bin/bash # # postinstall script iMac-2001-Sleep-patch 10.14 # # By chris1111 / Ausdauersportler if [[ $(sw_vers -productVersion) == \"10.14.1\" ]]; then echo \"Latest Mojave\" defaults write /Library/Preferences/com.apple.security.libraryval", "input_sha256": "f0e9375a467e7efb7833151092f1c1e8a20aa1ebdd98c7cdb8dee3b7c07a0df1", "text_sha256": "9999dd95569ede5ac88ab2cdba87368df9aa804ff7e17e81b35bb54e0742d737", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 20057, "input_policy": "text-and-optional-url-v1", "label_policy_version": 12, "requested_model": "decision-models/baseten-mammoth-27b-latest", "backend": "baseten", "endpoint": "https://inference.baseten.co/v1/systemone", "status": "ok", "training_eligible": true, "label": {"primary": {"main_format": "Technical Writing", "sub_format": null}, "secondary": null, "tertiary": null, "content_structure": []}, "candidate_label": null, "topic": {"primary": {"main_topic": "Programming & Software Engineering", "sub_topic": null}, "secondary": null}, "scores": {"content_quality": 0, "noise_severity": 0, "missing_content_severity": 0, "factual_density": 3, "pretraining_utility": 0, "math_density": 0, "code_density": 4, "reasoning_density": 0, "education_level": 3, "creative_writing_quality": null}, "score_expectations": {"content_quality": 0.14975114697319736, "noise_severity": 0.21629126987524544, "missing_content_severity": 0.010002287343805162, "factual_density": 2.9757866828892183, "pretraining_utility": -0.05329688680381076, "math_density": 0.004423285732835392, "code_density": 3.898344862892889, "reasoning_density": 0.24216214503622868, "education_level": 2.864779845854623, "creative_writing_quality": -0.4279182017182346}, "api_choices": {"primary": "Technical Writing", "secondary": "NONE", "tertiary": "NONE", "education_level": "3", "creative_writing_quality": "not_applicable", "primary_topic": "Programming & Software Engineering", "secondary_topic": "NONE"}, "review_reasons": [], "format_slot_diagnostics": {"comparable": true, "secondary_tertiary_identical": false, "secondary_tertiary_max_abs_gap": 0.010079737591767057, "secondary_choice": "NONE", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.9764467616874729, "secondary": 0.9407730344550236, "tertiary": 0.9512910215073022, "structured_records": 0.07822107119335392, "procedural_steps": 0.21753760705076294, "worked_solution": 0.004537673484356549, "contextual_dialogue": 9.605441824974915e-06, "content_quality": 0.36291297402069633, "noise_severity": 0.8197572751039621, "missing_content_severity": 0.9916647605468291, "factual_density": 0.49628806037237416, "pretraining_utility": 0.477419253166554, "math_density": 0.9963139285559705, "code_density": 0.9152873857440739, "reasoning_density": 0.7981982124698095, "education_level": 0.34576084592401807, "creative_writing_quality": 0.9987031119826602, "primary_topic": 0.8008781069812198, "secondary_topic": 0.46155720787091525}, "probability_margin": {"primary": 0.9640010773191064, "secondary": 0.911333744052497, "tertiary": 0.9304238555556207, "education_level": 0.1269265659799081, "creative_writing_quality": 0.9984794267297942, "primary_topic": 0.696101757360925, "secondary_topic": 0.2907334160029712}, "raw_probabilities": {"primary": {"Academic Writing": 0.00012241573455473967, "Content Listing": 9.065480071658003e-05, "Creative Writing": 7.082288465055131e-05, "Customer Support Page": 8.411861496449546e-05, "Q&A Forum": 5.7096556711254404e-05, "Discussion Thread": 4.4721288699234645e-05, "Comment Section": 8.349058849955931e-05, "Missing Content": 9.94882708466063e-05, "Knowledge Article": 0.00033732572640187764, "Legal Notices": 0.0001150019013042149, "News Article": 3.132665238864227e-05, "Organizational Announcement": 6.397612746743518e-05, "Nonfiction Writing": 6.0868703709555634e-05, "Organizational About Page": 5.8967395922595774e-05, "Personal About Page": 7.154331329814238e-05, "Personal Blog": 3.9790240979993633e-05, "Product Page": 3.857764801584987e-05, "Spam / Ads": 5.93324788344723e-05, "Structured Data": 0.0006229953877118436, "Technical Writing": 0.9774281466171615, "Transcript / Interview": 7.78807730924705e-05, "Tutorial / How-To Guide": 0.01342706929805503, "User Reviews": 3.8320332587691144e-05, "Other / Unknown": 0.006876068663425917}, "secondary": {"Academic Writing": 0.00021493635219014593, "Content Listing": 0.00014802665335045994, "Creative Writing": 0.0001709953805459152, "Customer Support Page": 0.0001699116158553931, "Q&A Forum": 9.308785800292931e-05, "Discussion Thread": 7.154197540518907e-05, "Comment Section": 0.0002312023416079158, "Missing Content": 0.00031710385970969314, "Knowledge Article": 0.0006527973007360848, "Legal Notices": 0.00034494793616597424, "News Article": 0.00011855595854582857, "Organizational Announcement": 0.0001469624111882134, "Nonfiction Writing": 0.00012612263085632727, "Organizational About Page": 0.00014284964437847033, "Personal About Page": 0.0002946571990318552, "Personal Blog": 0.00014229964730886707, "Product Page": 7.131170290169373e-05, "Spam / Ads": 0.00012024569682978308, "Structured Data": 0.0009581508092406513, "Technical Writing": 0.03190708063356727, "Transcript / Interview": 0.00014391930442139814, "Tutorial / How-To Guide": 0.020107851144528222, "User Reviews": 6.461725756746704e-05, "NONE": 0.9432408246860643}, "tertiary": {"Academic Writing": 0.00016759912752279752, "Content Listing": 0.0001321896811984402, "Creative Writing": 0.0001690573759239023, "Customer Support Page": 0.00013942559615054016, "Q&A Forum": 6.423337249605693e-05, "Discussion Thread": 6.066473267665439e-05, "Comment Section": 0.00022881577909484872, "Missing Content": 0.00044790406797173555, "Knowledge Article": 0.000998315047657099, "Legal Notices": 0.0006637033336277583, "News Article": 9.620485138070261e-05, "Organizational Announcement": 0.00015742926984212702, "Nonfiction Writing": 0.00015232361125040568, "Organizational About Page": 0.00013383899442100052, "Personal About Page": 0.00046855412863036204, "Personal Blog": 0.00017933649909406875, "Product Page": 6.738070650605525e-05, "Spam / Ads": 0.0001239021284029864, "Structured Data": 0.0010978842760273914, "Technical Writing": 0.02289670672221052, "Transcript / Interview": 0.00010605999306637517, "Tutorial / How-To Guide": 0.018076099161872392, "User Reviews": 5.1809265144424284e-05, "NONE": 0.9533205622778312}, "structured_records": {"false": 0.921778928806646, "true": 0.07822107119335392}, "procedural_steps": {"false": 0.782462392949237, "true": 0.21753760705076294}, "worked_solution": {"false": 0.9954623265156435, "true": 0.004537673484356549}, "contextual_dialogue": {"false": 0.9999903945581751, "true": 9.605441824974915e-06}, "content_quality": {"-2": 0.04966535590861579, "-1": 0.20804593028375196, "0": 0.3627741862921776, "1": 0.30190126595672845, "2": 0.07761326155872622}, "noise_severity": {"0": 0.8322523621539871, "1": 0.12553429333604507, "2": 0.03757155488329531, "3": 0.002953291734080218, "4": 0.001688497892592272}, "missing_content_severity": {"0": 0.9936938660262534, "1": 0.0036799717802001096, "2": 0.001788346052614756, "3": 0.0006056411053508985, "4": 0.00023217503558071073}, "factual_density": {"0": 0.008685294316909774, "1": 0.034897079819746414, "2": 0.2184837797417441, "3": 0.44781334090041497, "4": 0.2901205052211847}, "pretraining_utility": {"-2": 0.02927163495794413, "-1": 0.28165362158608476, "0": 0.4314594690635632, "1": 0.22833054408665363, "2": 0.029284730305754316}, "math_density": {"0": 0.9969107531057886, "1": 0.0024247303562702958, "2": 0.0002531387878915946, "3": 0.00015323319941637514, "4": 0.0002581445506331953}, "code_density": {"0": 0.0004251942522985501, "1": 0.0008183161817336303, "2": 0.010629593377067167, "3": 0.07624022479858193, "4": 0.9118866713903188}, "reasoning_density": {"0": 0.8534219773853163, "1": 0.06985840081465682, "2": 0.06289927904846271, "3": 0.008776184881609849, "4": 0.005044157869954211}, "education_level": {"none": 0.0010966932924401137, "0": 0.0016715058006449568, "1": 0.005580053254691398, "2": 0.3278741389567736, "3": 0.4548007049366817, "4": 0.2089769037587683}, "creative_writing_quality": {"not_applicable": 0.9989192599855501, "-2": 0.00017575419625624926, "-1": 0.0003083092601615937, "0": 0.0004398332557559327, "1": 0.00011633727538690732, "2": 4.050602688938624e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 0.00023622242535747276, "Art & Design": 0.00038827634493179613, "Law & Crime": 0.0003051809909866057, "Education & Careers": 0.00017211470102971544, "Entertainment & Media": 0.0002409441027397286, "Fashion & Beauty": 0.00019781292366682403, "Business, Economics & Finance": 0.00024595652587773933, "Food & Dining": 0.00018191673725618954, "Games & Gaming": 0.00030270326602773053, "Electronics & Hardware": 0.07347553767742336, "Health, Healthcare & Wellness": 0.0002093407553719694, "History & Geography": 0.0002849697508329387, "Home, Pets & Hobbies": 0.00026505709987267596, "Industry & Production": 0.0002145572737469184, "Language, Literature & Philosophy": 0.00020640846783929247, "Politics & Government": 0.00014301376429829408, "Religion & Spirituality": 0.00016574254860015472, "Science, Mathematics & Engineering": 0.0003255675133335948, "Relationships & Community": 0.00013544552398876247, "Software Usage & Applications": 0.11243488396717079, "Programming & Software Engineering": 0.8085366413280959, "Sports & Fitness": 0.0002725367563093641, "Vehicles & Transportation": 0.00014891628462156115, "Travel & Tourism": 0.0001948507094406399, "Other / Uncovered Subject": 0.0004842279960733539, "Unknown / Insufficient Content": 0.00023117456510656853}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.000969308690383872, "Art & Design": 0.0008541883005560888, "Law & Crime": 0.0007789891822569128, "Education & Careers": 0.0004657451697690361, "Entertainment & Media": 0.0007039950367788561, "Fashion & Beauty": 0.00043406386188815193, "Business, Economics & Finance": 0.0008604203461377309, "Food & Dining": 0.00040585918666456396, "Games & Gaming": 0.0006831150757456589, "Electronics & Hardware": 0.19153313002675496, "Health, Healthcare & Wellness": 0.0005371225604964023, "History & Geography": 0.0005532179556974994, "Home, Pets & Hobbies": 0.0005538165661107533, "Industry & Production": 0.0004524030592199305, "Language, Literature & Philosophy": 0.0003161411835509858, "Politics & Government": 0.00038518838190277385, "Religion & Spirituality": 0.0005035178467449393, "Science, Mathematics & Engineering": 0.0006900339557404514, "Relationships & Community": 0.0003438456354556713, "Software Usage & Applications": 0.16639321967590354, "Programming & Software Engineering": 0.147077095273654, "Sports & Fitness": 0.0004521882505347278, "Vehicles & Transportation": 0.00029892493226157485, "Travel & Tourism": 0.0006269563923142603, "Other / Uncovered Subject": 0.0008609674237506092, "NONE": 0.4822665460297262}}, "probabilities": {"primary": {"Academic Writing": 0.00012241573455473964, "Content Listing": 9.065480071658001e-05, "Creative Writing": 7.08228846505513e-05, "Customer Support Page": 8.411861496449545e-05, "Q&A Forum": 5.709655671125439e-05, "Discussion Thread": 4.472128869923464e-05, "Comment Section": 8.34905884995593e-05, "Missing Content": 9.948827084660627e-05, "Knowledge Article": 0.0003373257264018776, "Legal Notices": 0.00011500190130421487, "News Article": 3.1326652388642265e-05, "Organizational Announcement": 6.397612746743517e-05, "Nonfiction Writing": 6.086870370955562e-05, "Organizational About Page": 5.896739592259576e-05, "Personal About Page": 7.154331329814237e-05, "Personal Blog": 3.979024097999363e-05, "Product Page": 3.857764801584986e-05, "Spam / Ads": 5.9332478834472284e-05, "Structured Data": 0.0006229953877118435, "Technical Writing": 0.9774281466171613, "Transcript / Interview": 7.788077309247049e-05, "Tutorial / How-To Guide": 0.013427069298055027, "User Reviews": 3.832033258769114e-05, "Other / Unknown": 0.006876068663425915}, "secondary": {"Academic Writing": 0.00021493635219014593, "Content Listing": 0.00014802665335045994, "Creative Writing": 0.0001709953805459152, "Customer Support Page": 0.0001699116158553931, "Q&A Forum": 9.308785800292931e-05, "Discussion Thread": 7.154197540518907e-05, "Comment Section": 0.0002312023416079158, "Missing Content": 0.00031710385970969314, "Knowledge Article": 0.0006527973007360848, "Legal Notices": 0.00034494793616597424, "News Article": 0.00011855595854582857, "Organizational Announcement": 0.0001469624111882134, "Nonfiction Writing": 0.00012612263085632727, "Organizational About Page": 0.00014284964437847033, "Personal About Page": 0.0002946571990318552, "Personal Blog": 0.00014229964730886707, "Product Page": 7.131170290169373e-05, "Spam / Ads": 0.00012024569682978308, "Structured Data": 0.0009581508092406513, "Technical Writing": 0.03190708063356727, "Transcript / Interview": 0.00014391930442139814, "Tutorial / How-To Guide": 0.020107851144528222, "User Reviews": 6.461725756746704e-05, "NONE": 0.9432408246860643}, "tertiary": {"Academic Writing": 0.00016759912752279754, "Content Listing": 0.00013218968119844022, "Creative Writing": 0.00016905737592390232, "Customer Support Page": 0.0001394255961505402, "Q&A Forum": 6.423337249605694e-05, "Discussion Thread": 6.0664732676654394e-05, "Comment Section": 0.00022881577909484875, "Missing Content": 0.0004479040679717356, "Knowledge Article": 0.0009983150476570992, "Legal Notices": 0.0006637033336277584, "News Article": 9.620485138070262e-05, "Organizational Announcement": 0.00015742926984212705, "Nonfiction Writing": 0.0001523236112504057, "Organizational About Page": 0.00013383899442100054, "Personal About Page": 0.0004685541286303621, "Personal Blog": 0.00017933649909406877, "Product Page": 6.738070650605526e-05, "Spam / Ads": 0.00012390212840298644, "Structured Data": 0.0010978842760273916, "Technical Writing": 0.022896706722210523, "Transcript / Interview": 0.00010605999306637518, "Tutorial / How-To Guide": 0.018076099161872396, "User Reviews": 5.180926514442429e-05, "NONE": 0.9533205622778314}, "structured_records": {"false": 0.921778928806646, "true": 0.07822107119335392}, "procedural_steps": {"false": 0.782462392949237, "true": 0.21753760705076294}, "worked_solution": {"false": 0.9954623265156435, "true": 0.004537673484356549}, "contextual_dialogue": {"false": 0.9999903945581751, "true": 9.605441824974915e-06}, "content_quality": {"-2": 0.04966535590861579, "-1": 0.20804593028375196, "0": 0.3627741862921776, "1": 0.30190126595672845, "2": 0.07761326155872622}, "noise_severity": {"0": 0.8322523621539871, "1": 0.12553429333604507, "2": 0.03757155488329531, "3": 0.002953291734080218, "4": 0.001688497892592272}, "missing_content_severity": {"0": 0.9936938660262535, "1": 0.00367997178020011, "2": 0.0017883460526147562, "3": 0.0006056411053508987, "4": 0.00023217503558071076}, "factual_density": {"0": 0.008685294316909774, "1": 0.034897079819746414, "2": 0.2184837797417441, "3": 0.44781334090041497, "4": 0.2901205052211847}, "pretraining_utility": {"-2": 0.02927163495794413, "-1": 0.28165362158608476, "0": 0.4314594690635632, "1": 0.22833054408665363, "2": 0.029284730305754316}, "math_density": {"0": 0.9969107531057886, "1": 0.0024247303562702958, "2": 0.0002531387878915946, "3": 0.00015323319941637514, "4": 0.0002581445506331953}, "code_density": {"0": 0.0004251942522985501, "1": 0.0008183161817336303, "2": 0.010629593377067167, "3": 0.07624022479858193, "4": 0.9118866713903188}, "reasoning_density": {"0": 0.8534219773853164, "1": 0.06985840081465683, "2": 0.06289927904846272, "3": 0.00877618488160985, "4": 0.005044157869954212}, "education_level": {"none": 0.0010966932924401137, "0": 0.0016715058006449568, "1": 0.005580053254691398, "2": 0.3278741389567736, "3": 0.4548007049366817, "4": 0.2089769037587683}, "creative_writing_quality": {"not_applicable": 0.9989192599855499, "-2": 0.00017575419625624923, "-1": 0.00030830926016159365, "0": 0.0004398332557559326, "1": 0.0001163372753869073, "2": 4.0506026889386234e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 0.00023622242535747278, "Art & Design": 0.0003882763449317962, "Law & Crime": 0.00030518099098660577, "Education & Careers": 0.00017211470102971546, "Entertainment & Media": 0.00024094410273972863, "Fashion & Beauty": 0.00019781292366682405, "Business, Economics & Finance": 0.0002459565258777394, "Food & Dining": 0.00018191673725618957, "Games & Gaming": 0.0003027032660277306, "Electronics & Hardware": 0.07347553767742337, "Health, Healthcare & Wellness": 0.00020934075537196943, "History & Geography": 0.0002849697508329388, "Home, Pets & Hobbies": 0.000265057099872676, "Industry & Production": 0.00021455727374691843, "Language, Literature & Philosophy": 0.0002064084678392925, "Politics & Government": 0.0001430137642982941, "Religion & Spirituality": 0.00016574254860015475, "Science, Mathematics & Engineering": 0.00032556751333359484, "Relationships & Community": 0.0001354455239887625, "Software Usage & Applications": 0.1124348839671708, "Programming & Software Engineering": 0.808536641328096, "Sports & Fitness": 0.00027253675630936413, "Vehicles & Transportation": 0.00014891628462156118, "Travel & Tourism": 0.00019485070944063993, "Other / Uncovered Subject": 0.00048422799607335395, "Unknown / Insufficient Content": 0.00023117456510656856}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0009693086903838718, "Art & Design": 0.0008541883005560886, "Law & Crime": 0.0007789891822569126, "Education & Careers": 0.000465745169769036, "Entertainment & Media": 0.000703995036778856, "Fashion & Beauty": 0.0004340638618881518, "Business, Economics & Finance": 0.0008604203461377307, "Food & Dining": 0.00040585918666456386, "Games & Gaming": 0.0006831150757456587, "Electronics & Hardware": 0.1915331300267549, "Health, Healthcare & Wellness": 0.0005371225604964022, "History & Geography": 0.0005532179556974993, "Home, Pets & Hobbies": 0.0005538165661107532, "Industry & Production": 0.0004524030592199304, "Language, Literature & Philosophy": 0.00031614118355098575, "Politics & Government": 0.00038518838190277374, "Religion & Spirituality": 0.0005035178467449392, "Science, Mathematics & Engineering": 0.0006900339557404512, "Relationships & Community": 0.0003438456354556712, "Software Usage & Applications": 0.1663932196759035, "Programming & Software Engineering": 0.14707709527365398, "Sports & Fitness": 0.0004521882505347277, "Vehicles & Transportation": 0.0002989249322615748, "Travel & Tourism": 0.0006269563923142602, "Other / Uncovered Subject": 0.000860967423750609, "NONE": 0.4822665460297261}}, "probability_diagnostics": {"primary": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "secondary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "tertiary": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "structured_records": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "procedural_steps": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "worked_solution": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "contextual_dialogue": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "content_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "noise_severity": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "missing_content_severity": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "factual_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "pretraining_utility": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "math_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "code_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "reasoning_density": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "education_level": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "creative_writing_quality": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "primary_topic": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary_topic": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}}, "usage": {"input_tokens": 9970, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 9970, "cached_share": null, "cache_discount_reported": null, "reported_cost_usd": null}, "response_metadata": {"model": "decision-models/baseten-mammoth-27b-latest"}, "scored_at_utc": "2026-10-25T18:33:07.858675+00:00", "scoring_key_slot": "assistant_1", "dataset_uid": "ca493a3e-82c5-4d43-a1e8-254fd7651c81", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "c3de081dbf0817dca2c1262f6182897cc0f5ce5c5ee41ffd438a0c26127b784c", "source_metadata": {"uuid": "ca493a3e-82c5-4d43-a1e8-254fd7651c81", "repo_name": "Ausdauersportler/iMac-2011-Mojave", "relative_path": "iMac-2011-Sleep-patch/Script/postinstall", "category": "TOOL", "algo_rel_score": 0.9746743440628052, "quality_score": 3.051912546157837, "source_meta": {"github_metadata": {"branch": "main", "commit_count": 13, "repo_created_at": "2020-12-22T18:53:33.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 2, "forks": 0, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "b5d2e86bac4efb2548c5509a2d61954d970222da", "size_bytes": 4798, "file_timestamp": 1621694918, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "1117cdf859f382c82f4f628cf23844e6b3c3f366"}}, "parsed_source_meta": {"github_metadata": {"branch": "main", "commit_count": 13, "repo_created_at": "2020-12-22T18:53:33.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 2, "forks": 0, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "b5d2e86bac4efb2548c5509a2d61954d970222da", "size_bytes": 4798, "file_timestamp": 1621694918, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "1117cdf859f382c82f4f628cf23844e6b3c3f366", "url": "https://github.com/Ausdauersportler/iMac-2011-Mojave/blob/1117cdf859f382c82f4f628cf23844e6b3c3f366/iMac-2011-Sleep-patch/Script/postinstall"}, "gpt4o_tokens": 1405, "dataset_split": "shell", "probability_weighted_scores": {"content_quality": 0.14975114697319736, "noise_severity": 0.21629126987524544, "missing_content_severity": 0.010002287343805162, "factual_density": 2.9757866828892183, "pretraining_utility": -0.05329688680381076, "math_density": 0.004423285732835392, "code_density": 3.898344862892889, "reasoning_density": 0.24216214503622868, "education_level": 2.864779845854623, "creative_writing_quality": -0.4279182017182346}, "score_applicability": {"education_level": 0.9989033067075599, "creative_writing_quality": 0.001080740014450069}} {"source_group": "shell", "source": "openbmb/UltraData-Stack-v3-L2/shell", "domain": "github.com", "language": "shell", "url": "https://github.com/vremyavnikuda/dotfiles/blob/3fde793b1f2fc33c897f69dd960efbd9d96de9b2/reset-machine-id.sh", "id": "shell-0-119da3be655aa13ef969dbb02f8ce4a7", "text": "#!/bin/sh\nset -e\n\nLOG_FILE=\"/var/log/reset-machine-id.log\"\nBACKUP_DIR=\"/var/backups/machine-id\"\nNOTIF_TITLE=\"Системное уведомление\"\n\nlog() {\n echo \"[$(date '+%Y-%m-%d %H:%M:%S')] $1\" | tee -a \"$LOG_FILE\"\n}\n\nnotify_user() {\n echo \"$1\"\n if command -v notify-send >/dev/null 2>&1; then\n notify-send \"$NOTIF_TITLE\" \"$1\"\n fi\n}\n\nrestore_from_backup() {\n if [ ! -d \"$BACKUP_DIR\" ]; then\n log \"❌ Папка резервных копий не найдена: $BACKUP_DIR\"\n return 1\n fi\n\n latest_backup=$(ls -t \"$BACKUP_DIR\"/*.bak 2>/dev/null | head -n1)\n if [ -z \"$latest_backup\" ]; then\n log \"❌ Резервные копии отсутствуют.\"\n return 1\n fi\n\n log \"🔄 Восстановление machine-id из резервной копии: $latest_backup\"\n cat \"$latest_backup\" > /etc/machine-id\n log \"✅ machine-id успешно восстановлен: $(cat \"$latest_backup\")\"\n notify_user \"machine-id успешно восстановлен из резервной копии.\"\n}\n\nmain() {\n echo \"⚠️ ВНИМАНИЕ: Этот скрипт изменит machine-id системы.\"\n echo \"Это повлияет на systemd, journal и другие компоненты системы.\"\n echo \"\"\n echo \"❗️ Изменение machine-id может повлиять на:\"\n echo \" - системные логи (journalctl)\"\n echo \" - работу некоторых сервисов\"\n echo \" - приложения, зависящие от уникального ID системы\"\n echo \"\"\n echo \"⚠️ Не рекомендуется выполнять это на продакшн-серверах без понимания последствий.\"\n echo \"\"\n\n read -p \"Хотите восстановить machine-id из резервной копии? (y/N): \" restore_choice\n if [ \"$restore_choice\" = \"y\" ] || [ \"$restore_choice\" = \"Y\" ]; then\n restore_from_backup\n exit 0\n fi\n\n read -p \"Вы всё ещё хотите продолжить? (y/N): \" confirm\n if [ \"$confirm\" != \"y\" ] && [ \"$confirm\" != \"Y\" ]; then\n log \"❌ Операция отменена пользователем.\"\n echo \"❌ Операция отменена пользователем.\"\n exit 0\n fi\n\n if [ -f /etc/machine-id ]; then\n CURRENT_ID=$(cat /etc/machine-id)\n log \"📊 Текущий machine-id: $CURRENT_ID\"\n else\n log \"⚠️ /etc/machine-id не найден. Возможно, система ещё не сгенерировала ID.\"\n CURRENT_ID=\"\"\n fi\n\n read -p \"Хотите сделать резервную копию текущего machine-id? (y/N): \" backup_choice\n if [ \"$backup_choice\" = \"y\" ] || [ \"$backup_choice\" = \"Y\" ]; then\n sudo mkdir -p \"$BACKUP_DIR\"\n TIMESTAMP=$(date +\"%Y%m%d_%H%M%S\")\n if [ -n \"$CURRENT_ID\" ]; then\n echo \"$CURRENT_ID\" | sudo tee \"$BACKUP_DIR/machine-id-$TIMESTAMP.bak\" > /dev/null\n log \"💾 Резервная копия сохранена в: $BACKUP_DIR/machine-id-$TIMESTAMP.bak\"\n else\n log \"❌ Нет данных для резервного копирования.\"\n fi\n fi\n\n read -p \"Вы уверены, что хотите удалить текущий machine-id и создать новый? (y/N): \" confirm\n if [ \"$confirm\" != \"y\" ] && [ \"$confirm\" != \"Y\" ]; then\n log \"❌ Операция отменена пользователем.\"\n echo \"❌ Операция отменена пользователем.\"\n exit 0\n fi\n\n log \"🔄 Удаление текущего /etc/machine-id...\"\n sudo rm -f /etc/machine-id\n\n log \"⚙️ Генерация нового machine-id...\"\n sudo systemd-machine-id-setup\n\n NEW_ID=$(cat /etc/machine-id)\n log \"✅ machine-id успешно изменён!\"\n log \"🆕 Новый machine-id: $NEW_ID\"\n\n notify_user \"machine-id был успешно изменён на: $NEW_ID\"\n echo \"✅ machine-id успешно изменён!\"\n echo \"🆕 Новый machine-id: $NEW_ID\"\n echo \"Операция завершена.\"\n}\n\nmain", "text_preview": "#!/bin/sh set -e LOG_FILE=\"/var/log/reset-machine-id.log\" BACKUP_DIR=\"/var/backups/machine-id\" NOTIF_TITLE=\"Системное уведомление\" log() { echo \"[$(date '+%Y-%m-%d %H:%M:%S')] $1\" | tee -a \"$LOG_FILE\" } notify_user() { echo \"$1\" if command ", "input_sha256": "778f0a2cf942719db779c7d3845ea7d4a3ae9fd1515504c5518b9d00ad2d5128", "text_sha256": "119da3be655aa13ef969dbb02f8ce4a7e8879a9ba464248a77c240b921ec49c2", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 20060, "input_policy": "text-and-optional-url-v1", "label_policy_version": 12, "requested_model": "decision-models/baseten-mammoth-27b-latest", "backend": "baseten", "endpoint": "https://inference.baseten.co/v1/systemone", "status": "ok", "training_eligible": true, "label": {"primary": {"main_format": "Technical Writing", "sub_format": null}, "secondary": null, "tertiary": null, "content_structure": []}, "candidate_label": null, "topic": {"primary": {"main_topic": "Programming & Software Engineering", "sub_topic": null}, "secondary": null}, "scores": {"content_quality": 1, "noise_severity": 0, "missing_content_severity": 0, "factual_density": 3, "pretraining_utility": 1, "math_density": 0, "code_density": 4, "reasoning_density": 0, "education_level": 2, "creative_writing_quality": null}, "score_expectations": {"content_quality": 0.8540925069605466, "noise_severity": 0.009096310846535983, "missing_content_severity": 0.0016780773063023269, "factual_density": 2.8994523654617304, "pretraining_utility": 0.5469214698993996, "math_density": 0.002091165146030706, "code_density": 3.758060145937057, "reasoning_density": 0.6934842349393945, "education_level": 2.1330789384379143, "creative_writing_quality": -0.18589865415335705}, "api_choices": {"primary": "Technical Writing", "secondary": "NONE", "tertiary": "NONE", "education_level": "2", "creative_writing_quality": "not_applicable", "primary_topic": "Programming & Software Engineering", "secondary_topic": "NONE"}, "review_reasons": [], "format_slot_diagnostics": {"comparable": true, "secondary_tertiary_identical": false, "secondary_tertiary_max_abs_gap": 0.008483103589471422, "secondary_choice": "NONE", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.9696420136025193, "secondary": 0.9258831685892149, "tertiary": 0.9327990771544568, "structured_records": 0.0003309082111328846, "procedural_steps": 0.2551594674203204, "worked_solution": 0.0046778867613080175, "contextual_dialogue": 0.0002311014368407846, "content_quality": 0.5672786437976005, "noise_severity": 0.99241974096122, "missing_content_severity": 0.998601602244748, "factual_density": 0.45083749945714524, "pretraining_utility": 0.5101966908472557, "math_density": 0.9982573623783078, "code_density": 0.7983834549475475, "reasoning_density": 0.42209647088383795, "education_level": 0.687113521522631, "creative_writing_quality": 0.99897570001346, "primary_topic": 0.9253753315614089, "secondary_topic": 0.7252143530654115}, "probability_margin": {"primary": 0.9486415580477099, "secondary": 0.8914736167687609, "tertiary": 0.9026870648120997, "education_level": 0.5745867302875347, "creative_writing_quality": 0.9986896718463355, "primary_topic": 0.8610036959501309, "secondary_topic": 0.5529637195460001}, "raw_probabilities": {"primary": {"Academic Writing": 8.735424236910557e-05, "Content Listing": 6.924314247098026e-05, "Creative Writing": 8.493464509906944e-05, "Customer Support Page": 5.7079442767046395e-05, "Q&A Forum": 4.9890900056544376e-05, "Discussion Thread": 3.47430744105745e-05, "Comment Section": 6.600657987693357e-05, "Missing Content": 6.368713535240782e-05, "Knowledge Article": 0.00034645320146890627, "Legal Notices": 7.853440278286876e-05, "News Article": 2.6355518361529862e-05, "Organizational Announcement": 4.0512014738800994e-05, "Nonfiction Writing": 5.0791188102378924e-05, "Organizational About Page": 5.404368872215964e-05, "Personal About Page": 5.57405312768457e-05, "Personal Blog": 3.194656119373029e-05, "Product Page": 3.078735157100225e-05, "Spam / Ads": 5.054277650965006e-05, "Structured Data": 0.0002176258187155404, "Technical Writing": 0.9709069297024143, "Transcript / Interview": 8.069667926739274e-05, "Tutorial / How-To Guide": 0.022265371654704488, "User Reviews": 2.7022533666946114e-05, "Other / Unknown": 0.00522370721410063}, "secondary": {"Academic Writing": 0.00032435834139918194, "Content Listing": 0.0001702218511524651, "Creative Writing": 0.00027074571672932235, "Customer Support Page": 0.00035407262827243384, "Q&A Forum": 0.0001556027134048702, "Discussion Thread": 9.906413683119748e-05, "Comment Section": 0.00020206905082623158, "Missing Content": 0.00025924562293770377, "Knowledge Article": 0.0014255036278386923, "Legal Notices": 0.001689167510893974, "News Article": 0.0001642693035742792, "Organizational Announcement": 0.0001940131088988843, "Nonfiction Writing": 0.00019212162445353878, "Organizational About Page": 0.00017693824784336, "Personal About Page": 0.00017152894274695093, "Personal Blog": 0.00015474595193335907, "Product Page": 0.00010623713540082359, "Spam / Ads": 0.0002003422911825059, "Structured Data": 0.0005896766217998737, "Technical Writing": 0.02607745870978893, "Transcript / Interview": 0.0004687031224881686, "Tutorial / How-To Guide": 0.03749775312923678, "User Reviews": 8.479071236890073e-05, "NONE": 0.9289713698979977}, "tertiary": {"Academic Writing": 0.0002566098582980344, "Content Listing": 0.00016036877675789103, "Creative Writing": 0.00026583091879790765, "Customer Support Page": 0.0006524934486340841, "Q&A Forum": 0.00015766093284618192, "Discussion Thread": 8.203683728787748e-05, "Comment Section": 0.00021709267952529451, "Missing Content": 0.00024119993948045198, "Knowledge Article": 0.0030420953355473034, "Legal Notices": 0.006073654070502794, "News Article": 0.00015319060975174775, "Organizational Announcement": 0.00021130558017512288, "Nonfiction Writing": 0.00037436417957355776, "Organizational About Page": 0.00016713200412541766, "Personal About Page": 0.00014591797044818106, "Personal Blog": 0.00014426446959194707, "Product Page": 0.00010524113960824187, "Spam / Ads": 0.00021259629111744423, "Structured Data": 0.00048612775294022594, "Technical Writing": 0.01759435512031751, "Transcript / Interview": 0.0006737205890830531, "Tutorial / How-To Guide": 0.032912050794254646, "User Reviews": 7.157509498072368e-05, "NONE": 0.9355991156063543}, "structured_records": {"false": 0.9996690917888671, "true": 0.0003309082111328846}, "procedural_steps": {"false": 0.7448405325796796, "true": 0.2551594674203204}, "worked_solution": {"false": 0.995322113238692, "true": 0.0046778867613080175}, "contextual_dialogue": {"false": 0.9997688985631592, "true": 0.0002311014368407846}, "content_quality": {"-2": 0.00787469714242238, "-1": 0.03533518619991682, "0": 0.2382920964140656, "1": 0.5318189530418822, "2": 0.186679067201713}, "noise_severity": {"0": 0.9922653457966962, "1": 0.006794389259728292, "2": 0.0006408895601683701, "3": 0.00017735906715733718, "4": 0.00012201631624973489}, "missing_content_severity": {"0": 0.9990790529865257, "1": 0.0003538181781569734, "2": 0.0004163843469148891, "3": 0.00011148751929471625, "4": 3.9256969107856644e-05}, "factual_density": {"0": 0.009185599014483304, "1": 0.04746025937982957, "2": 0.2572940017917387, "3": 0.4068364567573705, "4": 0.2792236830565779}, "pretraining_utility": {"-2": 0.008224997762003269, "-1": 0.06702917727039132, "0": 0.3616879027151543, "1": 0.49571520181110473, "2": 0.06734272044134632}, "math_density": {"0": 0.9987078652521166, "1": 0.0009226856920665012, "2": 0.00011604414084637485, "3": 7.722848761020968e-05, "4": 0.00017617642736020644}, "code_density": {"0": 0.00047762874382685223, "1": 0.0009074469448264045, "2": 0.028073768550365592, "3": 0.18115946115242526, "4": 0.7893816946085559}, "reasoning_density": {"0": 0.5990456160990105, "1": 0.18084720568530274, "2": 0.16356361406623138, "3": 0.04066445547619184, "4": 0.015879108673263344}, "education_level": {"none": 0.0014770186612980097, "0": 0.003997370735472826, "1": 0.06832567595135149, "2": 0.7392612679355258, "3": 0.16467453764799106, "4": 0.022264129068360783}, "creative_writing_quality": {"not_applicable": 0.9991464166778834, "-2": 7.306258370632648e-05, "-1": 0.00018198851943624852, "0": 0.0004567448315478699, "1": 0.00011414107879231191, "2": 2.764630863369488e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 0.00011865461120780128, "Art & Design": 0.0001900763617379252, "Law & Crime": 0.00015304836026882563, "Education & Careers": 0.00010275959887758435, "Entertainment & Media": 8.889294841682023e-05, "Fashion & Beauty": 9.196139254199782e-05, "Business, Economics & Finance": 0.0001268197293398337, "Food & Dining": 9.399632335419243e-05, "Games & Gaming": 0.00015396156171784163, "Electronics & Hardware": 0.0012503069821975686, "Health, Healthcare & Wellness": 9.361142935340391e-05, "History & Geography": 0.00014520941369512786, "Home, Pets & Hobbies": 0.00012046718674595356, "Industry & Production": 0.00011412306344635588, "Language, Literature & Philosophy": 0.00012702186794393065, "Politics & Government": 7.871003675216098e-05, "Religion & Spirituality": 8.944480118288091e-05, "Science, Mathematics & Engineering": 0.0003014605033776132, "Relationships & Community": 7.556984809018516e-05, "Software Usage & Applications": 0.06724181516660847, "Programming & Software Engineering": 0.9282455111167394, "Sports & Fitness": 0.0001332235668655438, "Vehicles & Transportation": 6.805065648631911e-05, "Travel & Tourism": 0.00010343018090248729, "Other / Uncovered Subject": 0.0005795357211234179, "Unknown / Insufficient Content": 0.00011233757102633515}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0006758137392764678, "Art & Design": 0.0004822251929388006, "Law & Crime": 0.0009340907410004865, "Education & Careers": 0.0003621574564330722, "Entertainment & Media": 0.000444663324678834, "Fashion & Beauty": 0.0002737916337847644, "Business, Economics & Finance": 0.0004976285187699992, "Food & Dining": 0.0002484366649436413, "Games & Gaming": 0.00034762489590171283, "Electronics & Hardware": 0.0012817605610633213, "Health, Healthcare & Wellness": 0.0003242796953460888, "History & Geography": 0.0003293697091623309, "Home, Pets & Hobbies": 0.0003109017307772952, "Industry & Production": 0.0002706558058135277, "Language, Literature & Philosophy": 0.0002829679084143399, "Politics & Government": 0.0002943878462580293, "Religion & Spirituality": 0.00033313369149860653, "Science, Mathematics & Engineering": 0.0007165830049242124, "Relationships & Community": 0.00021685859051420142, "Software Usage & Applications": 0.18281931224766476, "Programming & Software Engineering": 0.07120142025644098, "Sports & Fitness": 0.00024983514257334523, "Vehicles & Transportation": 0.00015735753675002082, "Travel & Tourism": 0.00037252850619546, "Other / Uncovered Subject": 0.0007891838052106682, "NONE": 0.7357830317936649}}, "probabilities": {"primary": {"Academic Writing": 8.735424236910558e-05, "Content Listing": 6.924314247098027e-05, "Creative Writing": 8.493464509906946e-05, "Customer Support Page": 5.70794427670464e-05, "Q&A Forum": 4.989090005654438e-05, "Discussion Thread": 3.4743074410574506e-05, "Comment Section": 6.600657987693358e-05, "Missing Content": 6.368713535240783e-05, "Knowledge Article": 0.0003464532014689063, "Legal Notices": 7.853440278286878e-05, "News Article": 2.6355518361529865e-05, "Organizational Announcement": 4.0512014738801e-05, "Nonfiction Writing": 5.079118810237893e-05, "Organizational About Page": 5.404368872215965e-05, "Personal About Page": 5.574053127684571e-05, "Personal Blog": 3.1946561193730296e-05, "Product Page": 3.078735157100226e-05, "Spam / Ads": 5.054277650965007e-05, "Structured Data": 0.00021762581871554042, "Technical Writing": 0.9709069297024144, "Transcript / Interview": 8.069667926739276e-05, "Tutorial / How-To Guide": 0.02226537165470449, "User Reviews": 2.7022533666946117e-05, "Other / Unknown": 0.005223707214100631}, "secondary": {"Academic Writing": 0.00032435834139918194, "Content Listing": 0.0001702218511524651, "Creative Writing": 0.00027074571672932235, "Customer Support Page": 0.00035407262827243384, "Q&A Forum": 0.0001556027134048702, "Discussion Thread": 9.906413683119748e-05, "Comment Section": 0.00020206905082623158, "Missing Content": 0.00025924562293770377, "Knowledge Article": 0.0014255036278386923, "Legal Notices": 0.001689167510893974, "News Article": 0.0001642693035742792, "Organizational Announcement": 0.0001940131088988843, "Nonfiction Writing": 0.00019212162445353878, "Organizational About Page": 0.00017693824784336, "Personal About Page": 0.00017152894274695093, "Personal Blog": 0.00015474595193335907, "Product Page": 0.00010623713540082359, "Spam / Ads": 0.0002003422911825059, "Structured Data": 0.0005896766217998737, "Technical Writing": 0.02607745870978893, "Transcript / Interview": 0.0004687031224881686, "Tutorial / How-To Guide": 0.03749775312923678, "User Reviews": 8.479071236890073e-05, "NONE": 0.9289713698979977}, "tertiary": {"Academic Writing": 0.0002566098582980344, "Content Listing": 0.00016036877675789103, "Creative Writing": 0.00026583091879790765, "Customer Support Page": 0.0006524934486340841, "Q&A Forum": 0.00015766093284618192, "Discussion Thread": 8.203683728787748e-05, "Comment Section": 0.00021709267952529451, "Missing Content": 0.00024119993948045198, "Knowledge Article": 0.0030420953355473034, "Legal Notices": 0.006073654070502794, "News Article": 0.00015319060975174775, "Organizational Announcement": 0.00021130558017512288, "Nonfiction Writing": 0.00037436417957355776, "Organizational About Page": 0.00016713200412541766, "Personal About Page": 0.00014591797044818106, "Personal Blog": 0.00014426446959194707, "Product Page": 0.00010524113960824187, "Spam / Ads": 0.00021259629111744423, "Structured Data": 0.00048612775294022594, "Technical Writing": 0.01759435512031751, "Transcript / Interview": 0.0006737205890830531, "Tutorial / How-To Guide": 0.032912050794254646, "User Reviews": 7.157509498072368e-05, "NONE": 0.9355991156063543}, "structured_records": {"false": 0.9996690917888671, "true": 0.0003309082111328846}, "procedural_steps": {"false": 0.7448405325796796, "true": 0.2551594674203204}, "worked_solution": {"false": 0.995322113238692, "true": 0.0046778867613080175}, "contextual_dialogue": {"false": 0.9997688985631592, "true": 0.0002311014368407846}, "content_quality": {"-2": 0.00787469714242238, "-1": 0.03533518619991682, "0": 0.2382920964140656, "1": 0.5318189530418822, "2": 0.186679067201713}, "noise_severity": {"0": 0.9922653457966962, "1": 0.006794389259728292, "2": 0.0006408895601683701, "3": 0.00017735906715733718, "4": 0.00012201631624973489}, "missing_content_severity": {"0": 0.9990790529865257, "1": 0.0003538181781569734, "2": 0.0004163843469148891, "3": 0.00011148751929471625, "4": 3.9256969107856644e-05}, "factual_density": {"0": 0.009185599014483304, "1": 0.04746025937982957, "2": 0.2572940017917387, "3": 0.4068364567573705, "4": 0.2792236830565779}, "pretraining_utility": {"-2": 0.00822499776200327, "-1": 0.06702917727039133, "0": 0.36168790271515433, "1": 0.4957152018111048, "2": 0.06734272044134633}, "math_density": {"0": 0.9987078652521167, "1": 0.0009226856920665013, "2": 0.00011604414084637486, "3": 7.72284876102097e-05, "4": 0.00017617642736020647}, "code_density": {"0": 0.00047762874382685223, "1": 0.0009074469448264045, "2": 0.028073768550365592, "3": 0.18115946115242526, "4": 0.7893816946085559}, "reasoning_density": {"0": 0.5990456160990106, "1": 0.18084720568530277, "2": 0.1635636140662314, "3": 0.040664455476191845, "4": 0.015879108673263347}, "education_level": {"none": 0.0014770186612980097, "0": 0.003997370735472826, "1": 0.06832567595135149, "2": 0.7392612679355258, "3": 0.16467453764799106, "4": 0.022264129068360783}, "creative_writing_quality": {"not_applicable": 0.9991464166778835, "-2": 7.306258370632649e-05, "-1": 0.00018198851943624855, "0": 0.00045674483154787, "1": 0.00011414107879231193, "2": 2.7646308633694884e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 0.0001186546112078013, "Art & Design": 0.00019007636173792522, "Law & Crime": 0.00015304836026882565, "Education & Careers": 0.00010275959887758436, "Entertainment & Media": 8.889294841682025e-05, "Fashion & Beauty": 9.196139254199783e-05, "Business, Economics & Finance": 0.00012681972933983372, "Food & Dining": 9.399632335419245e-05, "Games & Gaming": 0.00015396156171784166, "Electronics & Hardware": 0.0012503069821975688, "Health, Healthcare & Wellness": 9.361142935340393e-05, "History & Geography": 0.0001452094136951279, "Home, Pets & Hobbies": 0.00012046718674595358, "Industry & Production": 0.0001141230634463559, "Language, Literature & Philosophy": 0.00012702186794393068, "Politics & Government": 7.871003675216099e-05, "Religion & Spirituality": 8.944480118288092e-05, "Science, Mathematics & Engineering": 0.0003014605033776133, "Relationships & Community": 7.556984809018518e-05, "Software Usage & Applications": 0.06724181516660849, "Programming & Software Engineering": 0.9282455111167395, "Sports & Fitness": 0.00013322356686554384, "Vehicles & Transportation": 6.805065648631912e-05, "Travel & Tourism": 0.0001034301809024873, "Other / Uncovered Subject": 0.000579535721123418, "Unknown / Insufficient Content": 0.00011233757102633516}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0006758137392764679, "Art & Design": 0.00048222519293880065, "Law & Crime": 0.0009340907410004866, "Education & Careers": 0.00036215745643307227, "Entertainment & Media": 0.00044466332467883404, "Fashion & Beauty": 0.0002737916337847645, "Business, Economics & Finance": 0.0004976285187699994, "Food & Dining": 0.00024843666494364137, "Games & Gaming": 0.0003476248959017129, "Electronics & Hardware": 0.0012817605610633215, "Health, Healthcare & Wellness": 0.00032427969534608883, "History & Geography": 0.00032936970916233095, "Home, Pets & Hobbies": 0.00031090173077729527, "Industry & Production": 0.00027065580581352774, "Language, Literature & Philosophy": 0.00028296790841433997, "Politics & Government": 0.0002943878462580294, "Religion & Spirituality": 0.0003331336914986066, "Science, Mathematics & Engineering": 0.0007165830049242125, "Relationships & Community": 0.00021685859051420145, "Software Usage & Applications": 0.1828193122476648, "Programming & Software Engineering": 0.071201420256441, "Sports & Fitness": 0.0002498351425733453, "Vehicles & Transportation": 0.00015735753675002085, "Travel & Tourism": 0.00037252850619546007, "Other / Uncovered Subject": 0.0007891838052106683, "NONE": 0.735783031793665}}, "probability_diagnostics": {"primary": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "tertiary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "structured_records": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "procedural_steps": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "worked_solution": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "contextual_dialogue": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "content_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "noise_severity": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "missing_content_severity": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "factual_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "pretraining_utility": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "math_density": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "code_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "reasoning_density": {"raw_sum": 0.9999999999999998, "mass_delta": -2.220446049250313e-16, "missing_mass": 2.220446049250313e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "education_level": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "creative_writing_quality": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "primary_topic": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary_topic": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}}, "usage": {"input_tokens": 9565, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 9565, "cached_share": null, "cache_discount_reported": null, "reported_cost_usd": null}, "response_metadata": {"model": "decision-models/baseten-mammoth-27b-latest"}, "scored_at_utc": "2026-10-25T18:33:07.936285+00:00", "scoring_key_slot": "assistant_1", "dataset_uid": "194f0253-730c-4209-8b4b-e2560a90f67c", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "0ddabcf693096a5c5a0b78ff18de55bc83eb6b53280abd67b756d6fdf50ffae3", "source_metadata": {"uuid": "194f0253-730c-4209-8b4b-e2560a90f67c", "repo_name": "vremyavnikuda/dotfiles", "relative_path": "reset-machine-id.sh", "category": "TOOL", "algo_rel_score": 0.987898051738739, "quality_score": 4.285946846008301, "source_meta": {"github_metadata": {"branch": "main_dotfiles", "commit_count": 115, "repo_created_at": "2023-01-13T19:55:10.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 1, "forks": 0, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "c41667e54e068f5a1847b6a4bbad6f8048497be6", "size_bytes": 4302, "file_timestamp": 1747464870, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "3fde793b1f2fc33c897f69dd960efbd9d96de9b2"}}, "parsed_source_meta": {"github_metadata": {"branch": "main_dotfiles", "commit_count": 115, "repo_created_at": "2023-01-13T19:55:10.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 1, "forks": 0, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "c41667e54e068f5a1847b6a4bbad6f8048497be6", "size_bytes": 4302, "file_timestamp": 1747464870, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "3fde793b1f2fc33c897f69dd960efbd9d96de9b2", "url": "https://github.com/vremyavnikuda/dotfiles/blob/3fde793b1f2fc33c897f69dd960efbd9d96de9b2/reset-machine-id.sh"}, "gpt4o_tokens": 1021, "dataset_split": "shell", "probability_weighted_scores": {"content_quality": 0.8540925069605466, "noise_severity": 0.009096310846535983, "missing_content_severity": 0.0016780773063023269, "factual_density": 2.8994523654617304, "pretraining_utility": 0.5469214698993996, "math_density": 0.002091165146030706, "code_density": 3.758060145937057, "reasoning_density": 0.6934842349393945, "education_level": 2.1330789384379143, "creative_writing_quality": -0.18589865415335705}, "score_applicability": {"education_level": 0.998522981338702, "creative_writing_quality": 0.0008535833221164519}} {"source_group": "shell", "source": "openbmb/UltraData-Stack-v3-L2/shell", "domain": "github.com", "language": "shell", "url": "https://github.com/uqlibrary/fez-frontend/blob/3a18bc625d1b9907f0cdc17c0f82cf71dd188b11/bin/codebuild-test.sh", "id": "shell-0-56e52a014abddff6b81fa6d0628c6734", "text": "#!/bin/bash\n\nexport CI_NAME=CodeBuild\nexport COMMIT_INFO_AUTHOR=$(git show ${CI_COMMIT_ID} --no-patch --pretty=format:\"%an\")\nexport COMMIT_INFO_EMAIL=$(git show ${CI_COMMIT_ID} --no-patch --pretty=format:\"%ae\")\nexport COMMIT_INFO_MESSAGE=$(git show ${CI_COMMIT_ID} --no-patch --pretty=format:\"%B\")\nexport CI_BUILD_URL=\"https://ap-southeast-2.console.aws.amazon.com/codesuite/codepipeline/pipelines/fez-frontend/executions/${CI_BUILD_NUMBER}\"\nexport TZ='Australia/Brisbane'\n\n# Run CC only on these branches\n# NB: These branches will require 3 pipelines to run all tests, branches not in this list require only 2.\nCODE_COVERAGE_REQUIRED=false\nif [[ ($CI_BRANCH == \"master\" || $CI_BRANCH == \"staging\" || $CI_BRANCH == \"production\" || $CI_BRANCH == \"prodtest\" || $CI_BRANCH == \"codebuild\" || $CI_BRANCH == \"feature-react-18\" || $CI_BRANCH == \"feature-uqclien-1\" || $CI_BRANCH == \"feature-marcelopm-1\" || $CI_BRANCH == *\"coverage\"*) ]]; then\n CODE_COVERAGE_REQUIRED=true\nfi\n\n# Run CC check only (this occurs after test pipelines have finished and output test coverage artifacts)\nif [[ $TEST_COVERAGE == 1 ]]; then\n source bin/codebuild-coverage.sh\nfi\n\necho\necho \"Commit Info:\"\ngit show ${CI_COMMIT_ID} --no-patch\necho\necho\n\necho \"COMMIT_INFO vars:\"\nset | grep COMMIT_INFO\necho\n\nif [[ -z $CI_BUILD_NUMBER ]]; then\n printf \"(CI_BUILD_NUMBER is not defined. Build stopped.)\\n\"\n exit 1\nfi\n\nif [[ -z $CI_BRANCH ]]; then\n CI_BRANCH=$(git rev-parse --abbrev-ref HEAD)\nfi\n\nprintf \"(Build of branch \\\"$CI_BRANCH\\\")\\n\"\n\nfunction checkCodeStyle {\n FILES=$(npm run codestyles:files -s)\n if [[ \"$?\" == 0 ]]; then\n printf \"\\n\\e[92mLooks good! Well done.\\e[0m\\n\\n\"\n else\n printf \"\\n\\e[91mThese files should pass code style checks but do not:\\e[0m\\n\\n\"\n for FILE in $FILES\n do\n printf \"\\t\\e[31m$FILE\\e[0m\\n\"\n done\n printf \"\\n* Please fix code styles and try again. Running '\\e[1m npm run codestyles:fix:all \\e[0m' is a good start.\"\n printf \"\\n* You can run '\\e[1m npm run eslint \\e[0m' to view ESLint code quality issues, if any.\\n\\n\"\n exit 1\n fi\n}\n\n# required for Ubuntu 22.04 https://docs.cypress.io/guides/continuous-integration/introduction#Dependencies\nfunction installCypressDependencies {\n apt-get update && apt-get -y install libgtk2.0-0 libgtk-3-0 libgbm-dev libnotify-dev libnss3 libxss1 libasound2 libxtst6 xauth xvfb\n}\n\nif [[ $CODE_COVERAGE_REQUIRED == true ]]; then\n installCypressDependencies\nfi\n\nnpm run pretest:unit:ci\n\ncase \"$PIPE_NUM\" in\n\"1\")\n if [[ $CODE_COVERAGE_REQUIRED == true ]]; then\n set -e\n printf \"\\n--- \\e[1mRUNNING E2E TESTS GROUP 1\\e[0m ---\\n\"\n # Split the Cypress E2E tests into two groups and in this pipeline run only the ones in the first group\n source bin/codebuild-parallel.sh\n npm run test:e2e:ci1\n sed -i.bak 's,'\"$CODEBUILD_SRC_DIR\"',,g' coverage/cypress/coverage-final.json\n else\n printf \"\\n--- \\e[1mRUNNING CODE STYLE CHECKS\\e[0m ---\\n\"\n checkCodeStyle\n set -e\n printf \"\\n--- \\e[1mRUNNING UNIT TESTS 1\\e[0m ---\\n\"\n npm run test:unit:ci1:nocoverage\n fi\n;;\n\"2\")\n set -e\n\n if [[ $CODE_COVERAGE_REQUIRED == true ]]; then\n # Split the Cypress E2E tests into two groups and in this pipeline run only the ones in the second group\n source bin/codebuild-parallel.sh\n printf \"\\n--- \\e[1mRUNNING E2E TESTS GROUP 2\\e[0m ---\\n\"\n npm run test:e2e:ci2\n sed -i.bak 's,'\"$CODEBUILD_SRC_DIR\"',,g' coverage/cypress/coverage-final.json\n else\n printf \"\\n--- \\e[1mRUNNING SERIAL UNIT TESTS\\e[0m ---\\n\"\n npm run test:unit:ci:serial:nocoverage\n printf \"\\n--- \\e[1mRUNNING UNIT TESTS 2\\e[0m ---\\n\"\n npm run test:unit:ci2:nocoverage\n fi\n;;\n\"3\")\n export JEST_HTML_REPORTER_OUTPUT_PATH=coverage/jest-serial/jest-html-report.html\n if [[ $CODE_COVERAGE_REQUIRED == true ]]; then\n printf \"\\n--- \\e[1mRUNNING CODE STYLE CHECKS\\e[0m ---\\n\"\n checkCodeStyle\n set -e\n printf \"\\n--- \\e[1mRUNNING UNIT TESTS\\e[0m ---\\n\"\n # Unit tests which require --runInBand\n npm run test:unit:ci:serial\n # Replace codebuild source path as we'll compile multiple of these together to get the final code coverage\n sed -i.bak 's,'\"$CODEBUILD_SRC_DIR\"',,g' coverage/jest/coverage-final.json\n mv coverage/jest/coverage-final.json coverage-final.json\n\n # All other unit tests\n export JEST_HTML_REPORTER_OUTPUT_PATH=coverage/jest/jest-html-report.html\n npm run test:unit:ci\n sed -i.bak 's,'\"$CODEBUILD_SRC_DIR\"',,g' coverage/jest/coverage-final.json\n\n mkdir -p coverage/jest-serial && mv coverage-final.json coverage/jest-serial/coverage-final.json\n fi\n;;\n*)\n;;\nesac\n\n# Copy empty file to prevent a build failure as we only report on combined cobertura coverage when $TEST_COVERAGE=1\nmkdir -p coverage && cp cobertura-sample-coverage.xml coverage/cobertura-coverage.xml\n", "text_preview": "#!/bin/bash export CI_NAME=CodeBuild export COMMIT_INFO_AUTHOR=$(git show ${CI_COMMIT_ID} --no-patch --pretty=format:\"%an\") export COMMIT_INFO_EMAIL=$(git show ${CI_COMMIT_ID} --no-patch --pretty=format:\"%ae\") export COMMIT_INFO_MESSAGE=$(g", "input_sha256": "ff2709b74950dc6c9a449fb4b5dbc324974f3dc90dc190bcb13b9f6f787bc29e", "text_sha256": "56e52a014abddff6b81fa6d0628c6734901eda445c916801a2e6373bdae0ff8d", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 20061, "input_policy": "text-and-optional-url-v1", "label_policy_version": 12, "requested_model": "decision-models/baseten-mammoth-27b-latest", "backend": "baseten", "endpoint": "https://inference.baseten.co/v1/systemone", "status": "ok", "training_eligible": true, "label": {"primary": {"main_format": "Technical Writing", "sub_format": null}, "secondary": null, "tertiary": null, "content_structure": []}, "candidate_label": null, "topic": {"primary": {"main_topic": "Programming & Software Engineering", "sub_topic": null}, "secondary": null}, "scores": {"content_quality": 1, "noise_severity": 0, "missing_content_severity": 0, "factual_density": 4, "pretraining_utility": 1, "math_density": 0, "code_density": 4, "reasoning_density": 0, "education_level": 2, "creative_writing_quality": null}, "score_expectations": {"content_quality": 1.00805062773088, "noise_severity": 0.02630868409015871, "missing_content_severity": 0.013365649592541513, "factual_density": 3.289732102031656, "pretraining_utility": 0.3843387583441681, "math_density": 0.0021641612325376475, "code_density": 3.851240288540894, "reasoning_density": 0.47100810711220586, "education_level": 2.5623120021144383, "creative_writing_quality": -0.27275644522266096}, "api_choices": {"primary": "Technical Writing", "secondary": "NONE", "tertiary": "NONE", "education_level": "2", "creative_writing_quality": "not_applicable", "primary_topic": "Programming & Software Engineering", "secondary_topic": "NONE"}, "review_reasons": [], "format_slot_diagnostics": {"comparable": true, "secondary_tertiary_identical": false, "secondary_tertiary_max_abs_gap": 0.010130761167599367, "secondary_choice": "NONE", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.9906896249400953, "secondary": 0.9573774199744841, "tertiary": 0.9679486490189357, "structured_records": 0.005419058012340273, "procedural_steps": 0.20497804697701683, "worked_solution": 0.0010511761388290308, "contextual_dialogue": 8.600045739969279e-06, "content_quality": 0.5844452040571455, "noise_severity": 0.9780760965915344, "missing_content_severity": 0.9888619586728821, "factual_density": 0.4081100850263799, "pretraining_utility": 0.4026812456637153, "math_density": 0.9981965323062186, "code_density": 0.8760335737840785, "reasoning_density": 0.6074932440731617, "education_level": 0.3683573604527293, "creative_writing_quality": 0.9994249748673456, "primary_topic": 0.993913696801703, "secondary_topic": 0.9562202665211464}, "probability_margin": {"primary": 0.9864267435500876, "secondary": 0.935847012829084, "tertiary": 0.9559728007378511, "education_level": 0.012799563981886086, "creative_writing_quality": 0.9993019751446145, "primary_topic": 0.9900624188075049, "secondary_topic": 0.9325954461498134}, "raw_probabilities": {"primary": {"Academic Writing": 4.363634061754748e-05, "Content Listing": 3.0003333428616416e-05, "Creative Writing": 2.524292947775327e-05, "Customer Support Page": 2.4554936308807477e-05, "Q&A Forum": 1.8889950428900907e-05, "Discussion Thread": 1.4109396620998695e-05, "Comment Section": 2.1775587857780047e-05, "Missing Content": 3.570993409183703e-05, "Knowledge Article": 0.0001827229459851023, "Legal Notices": 4.468784961253551e-05, "News Article": 9.051486271973373e-06, "Organizational Announcement": 2.5975194377298428e-05, "Nonfiction Writing": 1.7985937752746452e-05, "Organizational About Page": 2.404828484433828e-05, "Personal About Page": 1.718041342194522e-05, "Personal Blog": 1.2606692217101306e-05, "Product Page": 1.2439451852175551e-05, "Spam / Ads": 1.829264126378452e-05, "Structured Data": 0.0003395384111433163, "Technical Writing": 0.9910775572342579, "Transcript / Interview": 3.162364368945107e-05, "Tutorial / How-To Guide": 0.004650813684170268, "User Reviews": 1.1643977748871083e-05, "Other / Unknown": 0.003309909742558656}, "secondary": {"Academic Writing": 0.00016561606248498352, "Content Listing": 0.00011830674482670322, "Creative Writing": 0.00013740362669728673, "Customer Support Page": 0.00017910167037514093, "Q&A Forum": 6.978607194977559e-05, "Discussion Thread": 4.677174962399777e-05, "Comment Section": 0.00012136957255876697, "Missing Content": 0.0002552980070479913, "Knowledge Article": 0.0008998599180263404, "Legal Notices": 0.00015157422092780705, "News Article": 7.345881872008104e-05, "Organizational Announcement": 0.00010709116369426705, "Nonfiction Writing": 7.542655348207763e-05, "Organizational About Page": 0.00010176459265471081, "Personal About Page": 7.608260802485428e-05, "Personal Blog": 6.54424482533593e-05, "Product Page": 5.152508313134247e-05, "Spam / Ads": 9.283846656071424e-05, "Structured Data": 0.0010776509052889125, "Technical Writing": 0.02330634797979656, "Transcript / Interview": 0.00012042466509043039, "Tutorial / How-To Guide": 0.0135104109699661, "User Reviews": 4.3087291937118545e-05, "NONE": 0.9591533608088806}, "tertiary": {"Academic Writing": 0.00010267682243049761, "Content Listing": 0.0001095435622187602, "Creative Writing": 0.00010526245521029896, "Customer Support Page": 0.0003857119537663212, "Q&A Forum": 4.6338012561248526e-05, "Discussion Thread": 3.800809337210334e-05, "Comment Section": 0.00012315333029856593, "Missing Content": 0.00027632720902681033, "Knowledge Article": 0.0014844945158995182, "Legal Notices": 0.00028129747449222303, "News Article": 4.947319170770209e-05, "Organizational Announcement": 0.00011137457452630665, "Nonfiction Writing": 7.908519542352084e-05, "Organizational About Page": 9.227924315054705e-05, "Personal About Page": 4.536089512894425e-05, "Personal Blog": 4.9181108558470273e-05, "Product Page": 4.328366850636788e-05, "Spam / Ads": 9.253988339235643e-05, "Structured Data": 0.0014011937792503088, "Technical Writing": 0.013311321238628951, "Transcript / Interview": 7.746499782968387e-05, "Tutorial / How-To Guide": 0.012377803854140884, "User Reviews": 3.270296399956593e-05, "NONE": 0.9692841219764801}, "structured_records": {"false": 0.9945809419876597, "true": 0.005419058012340273}, "procedural_steps": {"false": 0.7950219530229832, "true": 0.20497804697701683}, "worked_solution": {"false": 0.998948823861171, "true": 0.0010511761388290308}, "contextual_dialogue": {"false": 0.99999139995426, "true": 8.600045739969279e-06}, "content_quality": {"-2": 0.004901469980024415, "-1": 0.015530626594667368, "0": 0.1995419005708646, "1": 0.526667811423291, "2": 0.25335819143115273}, "noise_severity": {"0": 0.9772749848644484, "1": 0.020321573360595608, "2": 0.0015661813699350692, "3": 0.0004942936303900033, "4": 0.0003429667746307372}, "missing_content_severity": {"0": 0.9915096875072286, "1": 0.0049958088532189885, "2": 0.002306207352396778, "3": 0.0009957591140946022, "4": 0.000192537173061291}, "factual_density": {"0": 0.0033026684853222207, "1": 0.010450463420151728, "2": 0.11894109425069932, "3": 0.42782364526520134, "4": 0.4394821285786253}, "pretraining_utility": {"-2": 0.009497452332214213, "-1": 0.1124871702787681, "0": 0.4127551758755079, "1": 0.41469956973965477, "2": 0.050560631773854885}, "math_density": {"0": 0.9984127700477896, "1": 0.001296722295308467, "2": 0.00011766543401662729, "3": 5.926082234554955e-05, "4": 0.00011358140053981935}, "code_density": {"0": 0.0003467963450605098, "1": 0.0006802575095857939, "2": 0.013582560694411392, "3": 0.11816663216128356, "4": 0.8672237532896587}, "reasoning_density": {"0": 0.7051530461447574, "1": 0.1625013405339369, "2": 0.09901983213604351, "3": 0.022836022434867365, "4": 0.010489758750394958}, "education_level": {"none": 0.001093547297252039, "0": 0.001825812927979839, "1": 0.006906243066441928, "2": 0.4736311337106078, "3": 0.4608315697287217, "4": 0.05571169326899689}, "creative_writing_quality": {"not_applicable": 0.9995208123894547, "-2": 7.148329192302664e-05, "-1": 0.00010095243846851855, "0": 0.00021883724484017514, "1": 6.261175755989393e-05, "2": 2.5302877753786734e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 4.414737861958935e-05, "Art & Design": 6.360645741967298e-05, "Law & Crime": 4.942478049113427e-05, "Education & Careers": 0.00025110652877946105, "Entertainment & Media": 3.46187428955328e-05, "Fashion & Beauty": 1.9974940108937992e-05, "Business, Economics & Finance": 0.00010087045127941107, "Food & Dining": 2.435929065241625e-05, "Games & Gaming": 0.00010643354403509074, "Electronics & Hardware": 0.00014013466536423076, "Health, Healthcare & Wellness": 2.9029598991599505e-05, "History & Geography": 3.330796974836925e-05, "Home, Pets & Hobbies": 2.8487805776858906e-05, "Industry & Production": 6.592714462931499e-05, "Language, Literature & Philosophy": 4.153995565344594e-05, "Politics & Government": 3.107573793547936e-05, "Religion & Spirituality": 4.310001604767586e-05, "Science, Mathematics & Engineering": 0.0002501678737473341, "Relationships & Community": 2.362711022914611e-05, "Software Usage & Applications": 0.004085366578748046, "Programming & Software Engineering": 0.9941477853862529, "Sports & Fitness": 4.8530612610902596e-05, "Vehicles & Transportation": 2.1564532643761548e-05, "Travel & Tourism": 4.6426188759009615e-05, "Other / Uncovered Subject": 0.0002088706428569861, "Unknown / Insufficient Content": 6.051606572367215e-05}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.00033700426633226724, "Art & Design": 0.0004015466471814847, "Law & Crime": 0.00032222083528911887, "Education & Careers": 0.0010102176858970424, "Entertainment & Media": 0.00021931408664649032, "Fashion & Beauty": 0.00010493407379514703, "Business, Economics & Finance": 0.0006540469535676849, "Food & Dining": 0.00011622755593516488, "Games & Gaming": 0.00023225224692212986, "Electronics & Hardware": 0.0005107522900365297, "Health, Healthcare & Wellness": 0.00012729535093959694, "History & Geography": 0.0001638757092495425, "Home, Pets & Hobbies": 9.579437192172727e-05, "Industry & Production": 0.00016096543996421513, "Language, Literature & Philosophy": 9.40835134054304e-05, "Politics & Government": 0.00016749270239362714, "Religion & Spirituality": 0.00017045448593970054, "Science, Mathematics & Engineering": 0.00038859709510430574, "Relationships & Community": 7.704392095663027e-05, "Software Usage & Applications": 0.025308656274365814, "Programming & Software Engineering": 0.010684581710254007, "Sports & Fitness": 0.0001138183157886324, "Vehicles & Transportation": 5.868152896736375e-05, "Travel & Tourism": 0.00020843422047889663, "Other / Uncovered Subject": 0.0003676062944882872, "NONE": 0.9579041024241792}}, "probabilities": {"primary": {"Academic Writing": 4.363634061754749e-05, "Content Listing": 3.0003333428616423e-05, "Creative Writing": 2.5242929477753275e-05, "Customer Support Page": 2.4554936308807483e-05, "Q&A Forum": 1.888995042890091e-05, "Discussion Thread": 1.4109396620998698e-05, "Comment Section": 2.177558785778005e-05, "Missing Content": 3.5709934091837035e-05, "Knowledge Article": 0.00018272294598510233, "Legal Notices": 4.468784961253552e-05, "News Article": 9.051486271973375e-06, "Organizational Announcement": 2.5975194377298434e-05, "Nonfiction Writing": 1.7985937752746455e-05, "Organizational About Page": 2.4048284844338286e-05, "Personal About Page": 1.7180413421945222e-05, "Personal Blog": 1.260669221710131e-05, "Product Page": 1.2439451852175555e-05, "Spam / Ads": 1.8292641263784522e-05, "Structured Data": 0.00033953841114331635, "Technical Writing": 0.9910775572342582, "Transcript / Interview": 3.162364368945108e-05, "Tutorial / How-To Guide": 0.004650813684170269, "User Reviews": 1.1643977748871086e-05, "Other / Unknown": 0.0033099097425586567}, "secondary": {"Academic Writing": 0.00016561606248498354, "Content Listing": 0.00011830674482670323, "Creative Writing": 0.00013740362669728676, "Customer Support Page": 0.00017910167037514096, "Q&A Forum": 6.97860719497756e-05, "Discussion Thread": 4.677174962399778e-05, "Comment Section": 0.00012136957255876698, "Missing Content": 0.00025529800704799136, "Knowledge Article": 0.0008998599180263405, "Legal Notices": 0.00015157422092780708, "News Article": 7.345881872008106e-05, "Organizational Announcement": 0.00010709116369426707, "Nonfiction Writing": 7.542655348207764e-05, "Organizational About Page": 0.00010176459265471083, "Personal About Page": 7.60826080248543e-05, "Personal Blog": 6.544244825335932e-05, "Product Page": 5.152508313134248e-05, "Spam / Ads": 9.283846656071425e-05, "Structured Data": 0.0010776509052889127, "Technical Writing": 0.023306347979796565, "Transcript / Interview": 0.0001204246650904304, "Tutorial / How-To Guide": 0.013510410969966101, "User Reviews": 4.308729193711855e-05, "NONE": 0.9591533608088807}, "tertiary": {"Academic Writing": 0.00010267682243049761, "Content Listing": 0.0001095435622187602, "Creative Writing": 0.00010526245521029896, "Customer Support Page": 0.0003857119537663212, "Q&A Forum": 4.6338012561248526e-05, "Discussion Thread": 3.800809337210334e-05, "Comment Section": 0.00012315333029856593, "Missing Content": 0.00027632720902681033, "Knowledge Article": 0.0014844945158995182, "Legal Notices": 0.00028129747449222303, "News Article": 4.947319170770209e-05, "Organizational Announcement": 0.00011137457452630665, "Nonfiction Writing": 7.908519542352084e-05, "Organizational About Page": 9.227924315054705e-05, "Personal About Page": 4.536089512894425e-05, "Personal Blog": 4.9181108558470273e-05, "Product Page": 4.328366850636788e-05, "Spam / Ads": 9.253988339235643e-05, "Structured Data": 0.0014011937792503088, "Technical Writing": 0.013311321238628951, "Transcript / Interview": 7.746499782968387e-05, "Tutorial / How-To Guide": 0.012377803854140884, "User Reviews": 3.270296399956593e-05, "NONE": 0.9692841219764801}, "structured_records": {"false": 0.9945809419876597, "true": 0.005419058012340273}, "procedural_steps": {"false": 0.7950219530229832, "true": 0.20497804697701683}, "worked_solution": {"false": 0.998948823861171, "true": 0.0010511761388290308}, "contextual_dialogue": {"false": 0.99999139995426, "true": 8.600045739969279e-06}, "content_quality": {"-2": 0.004901469980024414, "-1": 0.015530626594667364, "0": 0.19954190057086454, "1": 0.5266678114232909, "2": 0.2533581914311527}, "noise_severity": {"0": 0.9772749848644486, "1": 0.02032157336059561, "2": 0.0015661813699350696, "3": 0.0004942936303900034, "4": 0.00034296677463073726}, "missing_content_severity": {"0": 0.9915096875072283, "1": 0.004995808853218988, "2": 0.0023062073523967778, "3": 0.000995759114094602, "4": 0.00019253717306129094}, "factual_density": {"0": 0.003302668485322221, "1": 0.01045046342015173, "2": 0.11894109425069933, "3": 0.4278236452652014, "4": 0.43948212857862534}, "pretraining_utility": {"-2": 0.009497452332214214, "-1": 0.11248717027876812, "0": 0.412755175875508, "1": 0.4146995697396548, "2": 0.05056063177385489}, "math_density": {"0": 0.9984127700477896, "1": 0.001296722295308467, "2": 0.00011766543401662729, "3": 5.926082234554955e-05, "4": 0.00011358140053981935}, "code_density": {"0": 0.0003467963450605098, "1": 0.0006802575095857939, "2": 0.013582560694411392, "3": 0.11816663216128356, "4": 0.8672237532896587}, "reasoning_density": {"0": 0.7051530461447574, "1": 0.1625013405339369, "2": 0.09901983213604351, "3": 0.022836022434867365, "4": 0.010489758750394958}, "education_level": {"none": 0.0010935472972520388, "0": 0.0018258129279798386, "1": 0.006906243066441926, "2": 0.47363113371060767, "3": 0.4608315697287216, "4": 0.05571169326899687}, "creative_writing_quality": {"not_applicable": 0.9995208123894547, "-2": 7.148329192302664e-05, "-1": 0.00010095243846851855, "0": 0.00021883724484017514, "1": 6.261175755989393e-05, "2": 2.5302877753786734e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 4.414737861958935e-05, "Art & Design": 6.360645741967298e-05, "Law & Crime": 4.942478049113427e-05, "Education & Careers": 0.00025110652877946105, "Entertainment & Media": 3.46187428955328e-05, "Fashion & Beauty": 1.9974940108937992e-05, "Business, Economics & Finance": 0.00010087045127941107, "Food & Dining": 2.435929065241625e-05, "Games & Gaming": 0.00010643354403509074, "Electronics & Hardware": 0.00014013466536423076, "Health, Healthcare & Wellness": 2.9029598991599505e-05, "History & Geography": 3.330796974836925e-05, "Home, Pets & Hobbies": 2.8487805776858906e-05, "Industry & Production": 6.592714462931499e-05, "Language, Literature & Philosophy": 4.153995565344594e-05, "Politics & Government": 3.107573793547936e-05, "Religion & Spirituality": 4.310001604767586e-05, "Science, Mathematics & Engineering": 0.0002501678737473341, "Relationships & Community": 2.362711022914611e-05, "Software Usage & Applications": 0.004085366578748046, "Programming & Software Engineering": 0.9941477853862529, "Sports & Fitness": 4.8530612610902596e-05, "Vehicles & Transportation": 2.1564532643761548e-05, "Travel & Tourism": 4.6426188759009615e-05, "Other / Uncovered Subject": 0.0002088706428569861, "Unknown / Insufficient Content": 6.051606572367215e-05}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.00033700426633226724, "Art & Design": 0.0004015466471814847, "Law & Crime": 0.00032222083528911887, "Education & Careers": 0.0010102176858970424, "Entertainment & Media": 0.00021931408664649032, "Fashion & Beauty": 0.00010493407379514703, "Business, Economics & Finance": 0.0006540469535676849, "Food & Dining": 0.00011622755593516488, "Games & Gaming": 0.00023225224692212986, "Electronics & Hardware": 0.0005107522900365297, "Health, Healthcare & Wellness": 0.00012729535093959694, "History & Geography": 0.0001638757092495425, "Home, Pets & Hobbies": 9.579437192172727e-05, "Industry & Production": 0.00016096543996421513, "Language, Literature & Philosophy": 9.40835134054304e-05, "Politics & Government": 0.00016749270239362714, "Religion & Spirituality": 0.00017045448593970054, "Science, Mathematics & Engineering": 0.00038859709510430574, "Relationships & Community": 7.704392095663027e-05, "Software Usage & Applications": 0.025308656274365814, "Programming & Software Engineering": 0.010684581710254007, "Sports & Fitness": 0.0001138183157886324, "Vehicles & Transportation": 5.868152896736375e-05, "Travel & Tourism": 0.00020843422047889663, "Other / Uncovered Subject": 0.0003676062944882872, "NONE": 0.9579041024241792}}, "probability_diagnostics": {"primary": {"raw_sum": 0.9999999999999998, "mass_delta": -2.220446049250313e-16, "missing_mass": 2.220446049250313e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "tertiary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "structured_records": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "procedural_steps": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "worked_solution": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "contextual_dialogue": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "content_quality": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "noise_severity": {"raw_sum": 0.9999999999999998, "mass_delta": -2.220446049250313e-16, "missing_mass": 2.220446049250313e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "missing_content_severity": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "factual_density": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "pretraining_utility": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "math_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "code_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "reasoning_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "education_level": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "creative_writing_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "primary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}}, "usage": {"input_tokens": 9992, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 9992, "cached_share": null, "cache_discount_reported": null, "reported_cost_usd": null}, "response_metadata": {"model": "decision-models/baseten-mammoth-27b-latest"}, "scored_at_utc": "2026-10-25T18:33:08.485502+00:00", "scoring_key_slot": "assistant_1", "dataset_uid": "f621bf15-2d43-4d50-aaa5-2d873d4fbfca", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "3acbfebf063040c46abc7b839668b821a8cda86c019aa9029c7a60d9d7b3b6e1", "source_metadata": {"uuid": "f621bf15-2d43-4d50-aaa5-2d873d4fbfca", "repo_name": "uqlibrary/fez-frontend", "relative_path": "bin/codebuild-test.sh", "category": "TOOL", "algo_rel_score": 0.8683847784996033, "quality_score": 6.101158142089844, "source_meta": {"github_metadata": {"branch": "master", "commit_count": 16326, "repo_created_at": "2017-03-27T07:07:08.000Z", "is_fork": false, "is_org_owned": true, "forked_from": null, "stars": 5, "forks": 7, "issues": 0, "pull_requests": 5}, "file_meta": {"content_id": "b518540b187a31e74b51f1c58826545d6b998fce", "size_bytes": 4998, "file_timestamp": 1752536947, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "3a18bc625d1b9907f0cdc17c0f82cf71dd188b11"}}, "parsed_source_meta": {"github_metadata": {"branch": "master", "commit_count": 16326, "repo_created_at": "2017-03-27T07:07:08.000Z", "is_fork": false, "is_org_owned": true, "forked_from": null, "stars": 5, "forks": 7, "issues": 0, "pull_requests": 5}, "file_meta": {"content_id": "b518540b187a31e74b51f1c58826545d6b998fce", "size_bytes": 4998, "file_timestamp": 1752536947, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "3a18bc625d1b9907f0cdc17c0f82cf71dd188b11", "url": "https://github.com/uqlibrary/fez-frontend/blob/3a18bc625d1b9907f0cdc17c0f82cf71dd188b11/bin/codebuild-test.sh"}, "gpt4o_tokens": 1470, "dataset_split": "shell", "probability_weighted_scores": {"content_quality": 1.0080506277308803, "noise_severity": 0.02630868409015871, "missing_content_severity": 0.013365649592541513, "factual_density": 3.289732102031656, "pretraining_utility": 0.3843387583441681, "math_density": 0.0021641612325376475, "code_density": 3.851240288540894, "reasoning_density": 0.47100810711220586, "education_level": 2.5623120021144383, "creative_writing_quality": -0.27275644522266096}, "score_applicability": {"education_level": 0.9989064527027479, "creative_writing_quality": 0.00047918761054540097}} {"source_group": "shell", "source": "openbmb/UltraData-Stack-v3-L2/shell", "domain": "github.com", "language": "shell", "url": "https://github.com/ferrreo/booster/blob/46357ae88d7f64dd84e66b8d6ca2be32cd659699/packaging/pikaos/regenerate_uki", "id": "shell-0-f4253a5a26446fec4d67eb9a0a0a12ff", "text": "#!/bin/bash -e\n\n#######################################################################\n### ###\n### This is a regenerate_uki variant maintained by the PikaOS team. ###\n### ###\n### The original regenerate_uki script was developed targeting Arch ###\n### and distro-specific commands and tuning needed to be made. ###\n### ###\n### This regenerate_uki variant targets PikaOS 4 specifically. ###\n### ###\n### Here there be dragons. And cute birbs, but mainly dragons. ###\n### ###\n#######################################################################\n\n# create a unified kernel image (UKI) via ukify\n# by default, the output is written to the current working directory unless specified by the user\ncreate_uki() {\n local microcodes\n local kernel=\"$1\"\n local pkgbase=\"$2\"\n local esp=\"$3\"\n local initrd=\"/boot/booster.img-${pkgbase}\"\n local osrel=\"/etc/os-release\"\n local ukisuffix=\"uki\"\n local efi_output=\"${esp}/vmlinuz-${pkgbase}-${ukisuffix}.efi\"\n #local splash=\"/usr/share/systemd/bootctl/splash-arch.bmp\"\n\n # find all microcodes and delete the trailing white space\n microcodes=$(find /boot -name '*-ucode.img' -type f -printf \"/boot/%f \" | tr -d ' ')\n microcodes_arg=\"\"\n if [ -n \"${microcodes}\" ]; then\n microcodes_arg=\"--initrd=\\\"$microcodes\\\"\"\n fi\n\n if [ -f \"$initrd\" ] && [ -n \"${DO_NOT_OVERWRITE_EXISTING_INITRD}\" ]; then\n echo \"Not regenerating initrd for ${pkgbase} at ${initrd}\"\n else\n echo \"Regenerating initrd for ${pkgbase} at ${initrd}\"\n booster build --force --kernel-version \"${kernel##/usr/lib/modules/}\" \"$initrd\" \\\n || { echo -e \"\\033[1;33mThere was an issue building the init ramdisk for ${pkgbase}.\\033[0m\"; }\n fi\n\n ukify \\\n ${microcodes_arg} \\\n --initrd=\"$initrd\" \\\n --linux=\"/boot/vmlinuz-${pkgbase}\" \\\n --os-release=\"@${osrel}\" \\\n --output=\"${efi_output}\" \\\n build \\\n || { echo -e \"\\033[1;33mThere was an issue generating the UKI for ${pkgbase}.\\033[0m\"; return; }\n\n # Automatically sign ukified EFI archive if sbctl is present.\n if [ $(command -v sbctl) ]; then\n $(command -v sbctl) sign -s \"${efi_output}\" \\\n || { echo -e \"\\033[1;31mThere was an issue signing the UKI for ${pkgbase} located at ${efi_output}.\\033[0m\"; return; }\n fi\n\n echo -e \"\\033[1;32m=== ${efi_output} successfully created ===\\033[0m\"\n echo \"\"\n}\n\nusage() {\n echo \"Usage: regenerate_uki build [path]\"\n echo \"See booster(1) for more info and examples.\"\n}\n\ncheck_for_package() {\n local target=$1\n local return_instead_of_fail=\"$2\"\n package=\"$(dpkg-query -l | grep $target || echo '')\"\n if [ -z \"$package\" ]; then\n if [ -n \"${return_instead_of_fail}\" ]; then\n echo \"failure\"\n else\n echo -e \"\\033[1;31m${target} is not installed. Please install ${target} using apt.\\033[0m\"\n usage\n exit 0\n fi\n else\n if [ -n \"${return_instead_of_fail}\" ]; then\n echo \"$package\"\n fi\n fi\n}\n\ncheck_kernel() {\n local target=$1\n local check_kernel=$(check_for_package \"$target\" true)\n if [ -z \"$check_kernel\" ] || [ \"${check_kernel}\" == \"failure\" ]; then\n echo \"0\"\n fi\n echo \"1\"\n}\n\nmain() {\n local esp\n local package\n esp=$(pwd)\n\n if ! [ \"$1\" == \"build\" ]; then\n usage\n exit 1\n fi\n\n if [ -n \"$2\" ]; then\n esp=\"$2\"\n fi\n\n if ! [ -d \"$esp\" ]; then\n echo \"Path to ESP does not exist or is not a directory: ${esp}\"\n usage\n exit 1\n fi\n\n # check if the required packages are installed.\n check_for_package \"systemd-ukify\"\n check_for_package \"systemd-boot-efi\"\n\n # check for root\n if ! [ \"$EUID\" -eq 0 ]; then\n echo \"regenerate_uki must be run as root.\"\n exit 1\n fi\n\n # find out all installed kernels\n mapfile -d '' kernels < <(find /usr/lib/modules -maxdepth 1 -type d ! -name \"modules\" -print0)\n\n for kernel in \"${kernels[@]}\"; do\n echo \"=== Processing ${kernel} ===\"\n pkgbase=\"$(basename $kernel)\"\n if [ \"$(check_kernel \"${pkgbase}\")\" == \"0\" ]; then\n echo \"$target is not a kernel installed by the system. Skipping.\"\n continue\n fi\n\n create_uki \"$kernel\" \"$pkgbase\" \"$esp\"\n done\n\n wait\n}\n\nmain \"$@\"\n", "text_preview": "#!/bin/bash -e ####################################################################### ### ### ### This is a regenerate_uki variant maintained by the PikaOS team. ### ### ### ### The original regenerate_uki script was developed targeting Ar", "input_sha256": "77b3ff515f7a60d9c612f0651974f67f13dcd820cebf05a0c970fc5eac605e9e", "text_sha256": "f4253a5a26446fec4d67eb9a0a0a12ff6149badc92cf32783b66636b77fdfb0d", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 20062, "input_policy": "text-and-optional-url-v1", "label_policy_version": 12, "requested_model": "decision-models/baseten-mammoth-27b-latest", "backend": "baseten", "endpoint": "https://inference.baseten.co/v1/systemone", "status": "ok", "training_eligible": true, "label": {"primary": {"main_format": "Technical Writing", "sub_format": null}, "secondary": null, "tertiary": null, "content_structure": []}, "candidate_label": null, "topic": {"primary": {"main_topic": "Programming & Software Engineering", "sub_topic": null}, "secondary": null}, "scores": {"content_quality": 1, "noise_severity": 0, "missing_content_severity": 0, "factual_density": 4, "pretraining_utility": 1, "math_density": 0, "code_density": 4, "reasoning_density": 0, "education_level": 2, "creative_writing_quality": null}, "score_expectations": {"content_quality": 0.5014528529198902, "noise_severity": 0.2110105582170086, "missing_content_severity": 0.004110098329820087, "factual_density": 3.2326272834900003, "pretraining_utility": 0.4833164210097743, "math_density": 0.003063032707756768, "code_density": 3.7173615725121416, "reasoning_density": 0.7877460430982918, "education_level": 2.6540948507103868, "creative_writing_quality": -0.05589205095749718}, "api_choices": {"primary": "Technical Writing", "secondary": "NONE", "tertiary": "NONE", "education_level": "2", "creative_writing_quality": "not_applicable", "primary_topic": "Programming & Software Engineering", "secondary_topic": "NONE"}, "review_reasons": [], "format_slot_diagnostics": {"comparable": true, "secondary_tertiary_identical": false, "secondary_tertiary_max_abs_gap": 0.009190279269768752, "secondary_choice": "NONE", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.9914196373181233, "secondary": 0.9428036262546184, "tertiary": 0.9494018215645251, "structured_records": 0.0003302973863363293, "procedural_steps": 0.15700768231160683, "worked_solution": 0.0007401648508275286, "contextual_dialogue": 3.6440981687387246e-06, "content_quality": 0.4076245132813331, "noise_severity": 0.8241578681524928, "missing_content_severity": 0.9965749180584833, "factual_density": 0.360522736241667, "pretraining_utility": 0.4610475917812371, "math_density": 0.9974474727435361, "code_density": 0.7644679770934513, "reasoning_density": 0.3435449640847569, "education_level": 0.33563817514510486, "creative_writing_quality": 0.9884635573442897, "primary_topic": 0.9848628028751312, "secondary_topic": 0.8658260129295173}, "probability_margin": {"primary": 0.9870627082727189, "secondary": 0.9234941628047475, "tertiary": 0.9370862402999023, "education_level": 0.015321237018684986, "creative_writing_quality": 0.9830980774208654, "primary_topic": 0.9742493062960702, "secondary_topic": 0.7836400582040658}, "raw_probabilities": {"primary": {"Academic Writing": 4.072461759287568e-05, "Content Listing": 2.390653317409646e-05, "Creative Writing": 3.9791022138416784e-05, "Customer Support Page": 3.6310040473968865e-05, "Q&A Forum": 1.715986187201001e-05, "Discussion Thread": 1.2535777339236731e-05, "Comment Section": 2.4109733429563527e-05, "Missing Content": 3.350200009822959e-05, "Knowledge Article": 0.00013370061161752287, "Legal Notices": 4.665495033937659e-05, "News Article": 9.957797722318491e-06, "Organizational Announcement": 7.157221994966201e-05, "Nonfiction Writing": 1.9052162776495177e-05, "Organizational About Page": 2.6609365230492485e-05, "Personal About Page": 1.7571956951932957e-05, "Personal Blog": 1.5126240538332884e-05, "Product Page": 1.3234744975976057e-05, "Spam / Ads": 1.7325508284167066e-05, "Structured Data": 8.245929329388933e-05, "Technical Writing": 0.9917771524298682, "Transcript / Interview": 2.544990111760247e-05, "Tutorial / How-To Guide": 0.004714444157149325, "User Reviews": 1.0867020162577916e-05, "Other / Unknown": 0.0027907820539035187}, "secondary": {"Academic Writing": 0.0003112525492347221, "Content Listing": 0.00015293023707565245, "Creative Writing": 0.0012434480569885236, "Customer Support Page": 0.0005146426691675113, "Q&A Forum": 0.00014808653116054973, "Discussion Thread": 0.0001109231112379934, "Comment Section": 0.0004580033926596182, "Missing Content": 0.00046286378625531546, "Knowledge Article": 0.0013846183300424129, "Legal Notices": 0.0009325251369148587, "News Article": 0.00023741536453242886, "Organizational Announcement": 0.003177044482008503, "Nonfiction Writing": 0.0011225767006421516, "Organizational About Page": 0.002490599894641871, "Personal About Page": 0.0002379497429507922, "Personal Blog": 0.00045138824060679506, "Product Page": 0.00011612387461637889, "Spam / Ads": 0.0002517053199341337, "Structured Data": 0.000335339464556755, "Technical Writing": 0.021692645689261904, "Transcript / Interview": 0.0002507718402607483, "Tutorial / How-To Guide": 0.018618337563721866, "User Reviews": 0.00011199952751903755, "NONE": 0.9451868084940094}, "tertiary": {"Academic Writing": 0.00022308163356947436, "Content Listing": 0.00013416841635253133, "Creative Writing": 0.001992235858108595, "Customer Support Page": 0.001440561665134629, "Q&A Forum": 0.00010576008510319679, "Discussion Thread": 7.811281547723665e-05, "Comment Section": 0.0004251375756193919, "Missing Content": 0.00037630113667664526, "Knowledge Article": 0.0019067813617073075, "Legal Notices": 0.0015792139646993329, "News Article": 0.00018443092069564, "Organizational Announcement": 0.0064682902868669, "Nonfiction Writing": 0.0015210445262566756, "Organizational About Page": 0.0036885763262359105, "Personal About Page": 0.00020230570773282125, "Personal Blog": 0.0003556535184921457, "Product Page": 9.746709339962313e-05, "Spam / Ads": 0.00028170149922113246, "Structured Data": 0.00022644603180632552, "Technical Writing": 0.012502366419493155, "Transcript / Interview": 0.0001898993377289924, "Tutorial / How-To Guide": 0.01442383869943435, "User Reviews": 8.654612085131865e-05, "NONE": 0.9515100789993366}, "structured_records": {"false": 0.9996697026136637, "true": 0.0003302973863363293}, "procedural_steps": {"false": 0.8429923176883931, "true": 0.15700768231160683}, "worked_solution": {"false": 0.9992598351491725, "true": 0.0007401648508275286}, "contextual_dialogue": {"false": 0.9999963559018312, "true": 3.6440981687387246e-06}, "content_quality": {"-2": 0.018565291782696926, "-1": 0.11075919486695195, "0": 0.32748460048926037, "1": 0.43703919436994565, "2": 0.10615171849114524}, "noise_severity": {"0": 0.8021831509592806, "1": 0.18841815116847224, "2": 0.006734809557265118, "3": 0.0015327653259218487, "4": 0.0011311229890601418}, "missing_content_severity": {"0": 0.9967945135676125, "1": 0.002548613662768638, "2": 0.00046300570511819143, "3": 0.00013999500118742596, "4": 5.3872063313196965e-05}, "factual_density": {"0": 0.004074784880186424, "1": 0.017921891272418312, "2": 0.14201707491982563, "3": 0.4132737533323477, "4": 0.42271249559522195}, "pretraining_utility": {"-2": 0.009120265375327334, "-1": 0.08072686436185487, "0": 0.39289870957667894, "1": 0.45222450524999425, "2": 0.06502965543614485}, "math_density": {"0": 0.9977217081095124, "1": 0.0018965877208732495, "2": 0.00014300304667233307, "3": 7.436559822868306e-05, "4": 0.0001643355247132007}, "code_density": {"0": 0.0004166956953856301, "1": 0.0007867368586638547, "2": 0.018406336362781776, "3": 0.24179876140476084, "4": 0.7385914696784079}, "reasoning_density": {"0": 0.5693498140976916, "1": 0.17147296320875985, "2": 0.18583788535660667, "3": 0.048760040171449075, "4": 0.024579297165492845}, "education_level": {"none": 0.0008715803782722121, "0": 0.0014638016584019708, "1": 0.005034225764263915, "2": 0.4463651459542541, "3": 0.4310439089355691, "4": 0.11522133730923877}, "creative_writing_quality": {"not_applicable": 0.9903862977869081, "-2": 0.0002916492061548011, "-1": 0.0010730807191151556, "0": 0.007288220366042753, "1": 0.000802454246117976, "2": 0.00015829767566122267}, "primary_topic": {"Adult & Explicit Sexual Content": 4.6092838722789996e-05, "Art & Design": 6.035283480503349e-05, "Law & Crime": 5.240143328976018e-05, "Education & Careers": 3.9405747647881796e-05, "Entertainment & Media": 3.7653600207564124e-05, "Fashion & Beauty": 2.7389671661201674e-05, "Business, Economics & Finance": 4.252295222758261e-05, "Food & Dining": 3.093222657470709e-05, "Games & Gaming": 4.9200050060373195e-05, "Electronics & Hardware": 0.0016428092247189152, "Health, Healthcare & Wellness": 4.00946650871663e-05, "History & Geography": 5.596873669788013e-05, "Home, Pets & Hobbies": 3.569099287385153e-05, "Industry & Production": 4.55999376087808e-05, "Language, Literature & Philosophy": 4.468327561236368e-05, "Politics & Government": 9.887985847848649e-05, "Religion & Spirituality": 4.319088186723939e-05, "Science, Mathematics & Engineering": 0.00042640638873725386, "Relationships & Community": 2.4985834372570766e-05, "Software Usage & Applications": 0.011195696468478972, "Programming & Software Engineering": 0.9854450027645492, "Sports & Fitness": 5.9093855338269916e-05, "Vehicles & Transportation": 2.6925268217771537e-05, "Travel & Tourism": 4.1828257160963544e-05, "Other / Uncovered Subject": 0.0003314207476608687, "Unknown / Insufficient Content": 5.577148734269458e-05}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.000459169593239594, "Art & Design": 0.00039778974606175974, "Law & Crime": 0.0005400303394280949, "Education & Careers": 0.00029568582791434907, "Entertainment & Media": 0.0005402229886687914, "Fashion & Beauty": 0.00018010962042241979, "Business, Economics & Finance": 0.00040733783405251663, "Food & Dining": 0.00020943513149405846, "Games & Gaming": 0.00028207799283909283, "Electronics & Hardware": 0.006392938424962503, "Health, Healthcare & Wellness": 0.0002515266854791701, "History & Geography": 0.00026260333924582005, "Home, Pets & Hobbies": 0.00019276265201644813, "Industry & Production": 0.00019405452663795464, "Language, Literature & Philosophy": 0.00015977598327460005, "Politics & Government": 0.0004973484085199037, "Religion & Spirituality": 0.0002667534946635768, "Science, Mathematics & Engineering": 0.0009021448190248155, "Relationships & Community": 0.000160387944420596, "Software Usage & Applications": 0.08734649268970088, "Programming & Software Engineering": 0.027885791361625875, "Sports & Fitness": 0.0001943844998393313, "Vehicles & Transportation": 0.0001155255264733281, "Travel & Tourism": 0.0002446157098082272, "Other / Uncovered Subject": 0.0006344839664196826, "NONE": 0.8709865508937666}}, "probabilities": {"primary": {"Academic Writing": 4.072461759287569e-05, "Content Listing": 2.3906533174096468e-05, "Creative Writing": 3.979102213841679e-05, "Customer Support Page": 3.631004047396887e-05, "Q&A Forum": 1.7159861872010012e-05, "Discussion Thread": 1.2535777339236734e-05, "Comment Section": 2.4109733429563534e-05, "Missing Content": 3.3502000098229596e-05, "Knowledge Article": 0.0001337006116175229, "Legal Notices": 4.66549503393766e-05, "News Article": 9.957797722318493e-06, "Organizational Announcement": 7.157221994966202e-05, "Nonfiction Writing": 1.905216277649518e-05, "Organizational About Page": 2.6609365230492492e-05, "Personal About Page": 1.757195695193296e-05, "Personal Blog": 1.5126240538332888e-05, "Product Page": 1.323474497597606e-05, "Spam / Ads": 1.732550828416707e-05, "Structured Data": 8.245929329388934e-05, "Technical Writing": 0.9917771524298684, "Transcript / Interview": 2.5449901117602476e-05, "Tutorial / How-To Guide": 0.004714444157149326, "User Reviews": 1.0867020162577917e-05, "Other / Unknown": 0.002790782053903519}, "secondary": {"Academic Writing": 0.00031125254923472214, "Content Listing": 0.00015293023707565247, "Creative Writing": 0.0012434480569885238, "Customer Support Page": 0.0005146426691675114, "Q&A Forum": 0.00014808653116054975, "Discussion Thread": 0.00011092311123799341, "Comment Section": 0.00045800339265961827, "Missing Content": 0.0004628637862553155, "Knowledge Article": 0.001384618330042413, "Legal Notices": 0.0009325251369148588, "News Article": 0.0002374153645324289, "Organizational Announcement": 0.0031770444820085034, "Nonfiction Writing": 0.0011225767006421518, "Organizational About Page": 0.0024905998946418715, "Personal About Page": 0.00023794974295079222, "Personal Blog": 0.0004513882406067951, "Product Page": 0.0001161238746163789, "Spam / Ads": 0.00025170531993413373, "Structured Data": 0.0003353394645567551, "Technical Writing": 0.021692645689261908, "Transcript / Interview": 0.00025077184026074835, "Tutorial / How-To Guide": 0.01861833756372187, "User Reviews": 0.00011199952751903756, "NONE": 0.9451868084940095}, "tertiary": {"Academic Writing": 0.0002230816335694744, "Content Listing": 0.00013416841635253136, "Creative Writing": 0.0019922358581085952, "Customer Support Page": 0.0014405616651346292, "Q&A Forum": 0.0001057600851031968, "Discussion Thread": 7.811281547723667e-05, "Comment Section": 0.00042513757561939196, "Missing Content": 0.0003763011366766453, "Knowledge Article": 0.0019067813617073077, "Legal Notices": 0.001579213964699333, "News Article": 0.00018443092069564003, "Organizational Announcement": 0.006468290286866901, "Nonfiction Writing": 0.0015210445262566759, "Organizational About Page": 0.003688576326235911, "Personal About Page": 0.00020230570773282128, "Personal Blog": 0.00035565351849214575, "Product Page": 9.746709339962314e-05, "Spam / Ads": 0.0002817014992211325, "Structured Data": 0.00022644603180632555, "Technical Writing": 0.012502366419493156, "Transcript / Interview": 0.00018989933772899242, "Tutorial / How-To Guide": 0.014423838699434352, "User Reviews": 8.654612085131867e-05, "NONE": 0.9515100789993367}, "structured_records": {"false": 0.9996697026136637, "true": 0.0003302973863363293}, "procedural_steps": {"false": 0.8429923176883931, "true": 0.15700768231160683}, "worked_solution": {"false": 0.9992598351491725, "true": 0.0007401648508275286}, "contextual_dialogue": {"false": 0.9999963559018312, "true": 3.6440981687387246e-06}, "content_quality": {"-2": 0.018565291782696922, "-1": 0.11075919486695192, "0": 0.3274846004892603, "1": 0.43703919436994554, "2": 0.10615171849114521}, "noise_severity": {"0": 0.8021831509592806, "1": 0.18841815116847224, "2": 0.006734809557265118, "3": 0.0015327653259218487, "4": 0.0011311229890601418}, "missing_content_severity": {"0": 0.9967945135676125, "1": 0.002548613662768638, "2": 0.00046300570511819143, "3": 0.00013999500118742596, "4": 5.3872063313196965e-05}, "factual_density": {"0": 0.004074784880186424, "1": 0.017921891272418312, "2": 0.14201707491982563, "3": 0.4132737533323477, "4": 0.42271249559522195}, "pretraining_utility": {"-2": 0.009120265375327332, "-1": 0.08072686436185486, "0": 0.39289870957667883, "1": 0.45222450524999414, "2": 0.06502965543614483}, "math_density": {"0": 0.9977217081095126, "1": 0.0018965877208732497, "2": 0.0001430030466723331, "3": 7.436559822868307e-05, "4": 0.00016433552471320072}, "code_density": {"0": 0.0004166956953856301, "1": 0.0007867368586638547, "2": 0.018406336362781776, "3": 0.24179876140476084, "4": 0.7385914696784079}, "reasoning_density": {"0": 0.5693498140976916, "1": 0.17147296320875985, "2": 0.18583788535660667, "3": 0.048760040171449075, "4": 0.024579297165492845}, "education_level": {"none": 0.0008715803782722121, "0": 0.0014638016584019708, "1": 0.005034225764263915, "2": 0.4463651459542541, "3": 0.4310439089355691, "4": 0.11522133730923877}, "creative_writing_quality": {"not_applicable": 0.9903862977869081, "-2": 0.0002916492061548011, "-1": 0.0010730807191151556, "0": 0.007288220366042753, "1": 0.000802454246117976, "2": 0.00015829767566122267}, "primary_topic": {"Adult & Explicit Sexual Content": 4.6092838722789996e-05, "Art & Design": 6.035283480503349e-05, "Law & Crime": 5.240143328976018e-05, "Education & Careers": 3.9405747647881796e-05, "Entertainment & Media": 3.7653600207564124e-05, "Fashion & Beauty": 2.7389671661201674e-05, "Business, Economics & Finance": 4.252295222758261e-05, "Food & Dining": 3.093222657470709e-05, "Games & Gaming": 4.9200050060373195e-05, "Electronics & Hardware": 0.0016428092247189152, "Health, Healthcare & Wellness": 4.00946650871663e-05, "History & Geography": 5.596873669788013e-05, "Home, Pets & Hobbies": 3.569099287385153e-05, "Industry & Production": 4.55999376087808e-05, "Language, Literature & Philosophy": 4.468327561236368e-05, "Politics & Government": 9.887985847848649e-05, "Religion & Spirituality": 4.319088186723939e-05, "Science, Mathematics & Engineering": 0.00042640638873725386, "Relationships & Community": 2.4985834372570766e-05, "Software Usage & Applications": 0.011195696468478972, "Programming & Software Engineering": 0.9854450027645492, "Sports & Fitness": 5.9093855338269916e-05, "Vehicles & Transportation": 2.6925268217771537e-05, "Travel & Tourism": 4.1828257160963544e-05, "Other / Uncovered Subject": 0.0003314207476608687, "Unknown / Insufficient Content": 5.577148734269458e-05}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.000459169593239594, "Art & Design": 0.00039778974606175974, "Law & Crime": 0.0005400303394280949, "Education & Careers": 0.00029568582791434907, "Entertainment & Media": 0.0005402229886687914, "Fashion & Beauty": 0.00018010962042241979, "Business, Economics & Finance": 0.00040733783405251663, "Food & Dining": 0.00020943513149405846, "Games & Gaming": 0.00028207799283909283, "Electronics & Hardware": 0.006392938424962503, "Health, Healthcare & Wellness": 0.0002515266854791701, "History & Geography": 0.00026260333924582005, "Home, Pets & Hobbies": 0.00019276265201644813, "Industry & Production": 0.00019405452663795464, "Language, Literature & Philosophy": 0.00015977598327460005, "Politics & Government": 0.0004973484085199037, "Religion & Spirituality": 0.0002667534946635768, "Science, Mathematics & Engineering": 0.0009021448190248155, "Relationships & Community": 0.000160387944420596, "Software Usage & Applications": 0.08734649268970088, "Programming & Software Engineering": 0.027885791361625875, "Sports & Fitness": 0.0001943844998393313, "Vehicles & Transportation": 0.0001155255264733281, "Travel & Tourism": 0.0002446157098082272, "Other / Uncovered Subject": 0.0006344839664196826, "NONE": 0.8709865508937666}}, "probability_diagnostics": {"primary": {"raw_sum": 0.9999999999999998, "mass_delta": -2.220446049250313e-16, "missing_mass": 2.220446049250313e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "tertiary": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "structured_records": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "procedural_steps": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "worked_solution": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "contextual_dialogue": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "content_quality": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "noise_severity": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "missing_content_severity": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "factual_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "pretraining_utility": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "math_density": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "code_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "reasoning_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "education_level": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "creative_writing_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "primary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}}, "usage": {"input_tokens": 9785, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 9785, "cached_share": null, "cache_discount_reported": null, "reported_cost_usd": null}, "response_metadata": {"model": "decision-models/baseten-mammoth-27b-latest"}, "scored_at_utc": "2026-10-25T18:33:08.989865+00:00", "scoring_key_slot": "assistant_1", "dataset_uid": "c4c77913-9164-4674-b045-6ac9ca683c41", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "73079d6d196d1047dd0214cdb36e5758a646c94be82e504240fbe21d8e9130d0", "source_metadata": {"uuid": "c4c77913-9164-4674-b045-6ac9ca683c41", "repo_name": "ferrreo/booster", "relative_path": "packaging/pikaos/regenerate_uki", "category": "TOOL", "algo_rel_score": 0.6697348356246948, "quality_score": 3.766862630844116, "source_meta": {"github_metadata": {"branch": "master", "commit_count": 440, "repo_created_at": "2023-09-01T15:10:58.000Z", "is_fork": true, "is_org_owned": false, "forked_from": "anatol/booster", "stars": 1, "forks": 1, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "77c4e574f5509bd9ce1e7a6a62c2f0381200cefd", "size_bytes": 4401, "file_timestamp": 1742251512, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "46357ae88d7f64dd84e66b8d6ca2be32cd659699"}}, "parsed_source_meta": {"github_metadata": {"branch": "master", "commit_count": 440, "repo_created_at": "2023-09-01T15:10:58.000Z", "is_fork": true, "is_org_owned": false, "forked_from": "anatol/booster", "stars": 1, "forks": 1, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "77c4e574f5509bd9ce1e7a6a62c2f0381200cefd", "size_bytes": 4401, "file_timestamp": 1742251512, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "46357ae88d7f64dd84e66b8d6ca2be32cd659699", "url": "https://github.com/ferrreo/booster/blob/46357ae88d7f64dd84e66b8d6ca2be32cd659699/packaging/pikaos/regenerate_uki"}, "gpt4o_tokens": 1187, "dataset_split": "shell", "probability_weighted_scores": {"content_quality": 0.5014528529198903, "noise_severity": 0.2110105582170086, "missing_content_severity": 0.004110098329820087, "factual_density": 3.2326272834900003, "pretraining_utility": 0.4833164210097743, "math_density": 0.003063032707756768, "code_density": 3.7173615725121416, "reasoning_density": 0.7877460430982918, "education_level": 2.6540948507103868, "creative_writing_quality": -0.05589205095749718}, "score_applicability": {"education_level": 0.9991284196217278, "creative_writing_quality": 0.009613702213091909}} {"source_group": "shell", "source": "openbmb/UltraData-Stack-v3-L2/shell", "domain": "github.com", "language": "shell", "url": "https://github.com/wunderfox/wunderfox/blob/f85892ea2c14c016f25c68174ddb035e06481a5e/tools/update-verify/release/common/download_mars.sh", "id": "shell-0-707ffe5fa14bb08c71da5851e1a52ccc", "text": "#!/bin/bash\n\ndownload_mars () {\n update_url=\"$1\"\n only=\"$2\"\n test_only=\"$3\"\n to_build_id=\"$4\"\n to_app_version=\"$5\"\n to_display_version=\"$6\"\n\n max_tries=5\n try=1\n # retrying until we get offered an update\n while [ \"$try\" -le \"$max_tries\" ]; do\n echo \"Using $update_url\"\n # retrying until AUS gives us any response at all\n cached_download update.xml \"${update_url}\"\n\n echo \"Got this response:\"\n cat update.xml\n # If the first line after is then we have an\n # empty snippet. Otherwise we're done\n if [ \"$(grep -A1 '' update.xml | tail -1)\" != \"\" ]; then\n break;\n fi\n echo \"Empty response, sleeping\"\n sleep 5\n try=$((try+1))\n done\n\n echo; echo; # padding\n\n update_line=$(grep -F \" found for $update_url\"\n return 1\n fi\n command=$(echo \"$update_line\" | sed -e 's/^.*.*$::' -e 's:\\&:\\&:g')\n eval \"export $command\"\n\n # buildID and some other variables further down are gathered by eval'ing\n # the massaged `update.xml` file a bit further up. Because of this, shellcheck\n # cannot verify their existence, and gets grumpy. Ideally we would do this\n # differently, but it's not worth the trouble at the time of writing.\n # shellcheck disable=SC2154\n if [ -n \"$to_build_id\" ] && [ \"$buildID\" != \"$to_build_id\" ]; then\n echo \"TEST-UNEXPECTED-FAIL: expected buildID $to_build_id does not match actual $buildID\"\n return 1\n fi\n\n # shellcheck disable=SC2154\n if [ -n \"$to_display_version\" ] && [ \"$displayVersion\" != \"$to_display_version\" ]; then\n echo \"TEST-UNEXPECTED-FAIL: expected displayVersion $to_display_version does not match actual $displayVersion\"\n return 1\n fi\n\n # shellcheck disable=SC2154\n if [ -n \"$to_app_version\" ] && [ \"$appVersion\" != \"$to_app_version\" ]; then\n echo \"TEST-UNEXPECTED-FAIL: expected appVersion $to_app_version does not match actual $appVersion\"\n return 1\n fi\n\n mkdir -p update/\n if [ -z \"$only\" ]; then\n only=\"partial complete\"\n fi\n for patch_type in $only\n do\n line=$(grep -F \"patch type=\\\"$patch_type\" update.xml)\n grep_rv=$?\n\n if [ 0 -ne $grep_rv ]; then\n echo \"TEST-UNEXPECTED-FAIL: no $patch_type update found for $update_url\"\n return 1\n fi\n\n command=$(echo \"$line\" | sed -e 's/^.*.*$::' -e 's:\\&:\\&:g')\n eval \"export $command\"\n\n if [ \"$test_only\" == \"1\" ]\n then\n echo \"Testing $URL\"\n curl -s -I -L \"$URL\"\n return\n else\n if ! cached_download \"update/${patch_type}.mar\" \"${URL}\"; then\n echo \"Could not download $patch_type!\"\n echo \"from: $URL\"\n fi\n fi\n actual_size=$(perl -e \"printf \\\"%d\\n\\\", (stat(\\\"update/$patch_type.mar\\\"))[7]\")\n # shellcheck disable=SC2154\n actual_hash=$(openssl dgst -\"$hashFunction\" update/\"$patch_type\".mar | sed -e 's/^.*= //')\n\n # shellcheck disable=SC2154\n if [ \"$actual_size\" != \"$size\" ]; then\n echo \"TEST-UNEXPECTED-FAIL: $patch_type from $update_url wrong size\"\n # shellcheck disable=SC2154\n echo \"TEST-UNEXPECTED-FAIL: update.xml size: $size\"\n echo \"TEST-UNEXPECTED-FAIL: actual size: $actual_size\"\n return 1\n fi\n\n # shellcheck disable=SC2154\n if [ \"$actual_hash\" != \"$hashValue\" ]; then\n echo \"TEST-UNEXPECTED-FAIL: $patch_type from $update_url wrong hash\"\n # shellcheck disable=SC2154\n echo \"TEST-UNEXPECTED-FAIL: update.xml hash: $hashValue\"\n echo \"TEST-UNEXPECTED-FAIL: actual hash: $actual_hash\"\n return 1\n fi\n\n cp update/\"$patch_type\".mar update/update.mar\n echo \"$actual_size\" > update/\"$patch_type\".size\n\n done\n}\n", "text_preview": "#!/bin/bash download_mars () { update_url=\"$1\" only=\"$2\" test_only=\"$3\" to_build_id=\"$4\" to_app_version=\"$5\" to_display_version=\"$6\" max_tries=5 try=1 # retrying until we get offered an update while [ \"$try\" -le \"$max_tries\" ]; do echo \"Usi", "input_sha256": "a92bb052ee3f32d46f4cb99b2f3459d7fd07653c57be3b31c7d123fc9623e262", "text_sha256": "707ffe5fa14bb08c71da5851e1a52cccf32373a258d03e5deac38017f4fb9683", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 20064, "input_policy": "text-and-optional-url-v1", "label_policy_version": 12, "requested_model": "decision-models/baseten-mammoth-27b-latest", "backend": "baseten", "endpoint": "https://inference.baseten.co/v1/systemone", "status": "ok", "training_eligible": true, "label": {"primary": {"main_format": "Technical Writing", "sub_format": null}, "secondary": null, "tertiary": null, "content_structure": []}, "candidate_label": null, "topic": {"primary": {"main_topic": "Programming & Software Engineering", "sub_topic": null}, "secondary": null}, "scores": {"content_quality": 1, "noise_severity": 0, "missing_content_severity": 0, "factual_density": 4, "pretraining_utility": 0, "math_density": 0, "code_density": 4, "reasoning_density": 0, "education_level": 2, "creative_writing_quality": null}, "score_expectations": {"content_quality": 0.8930920177739977, "noise_severity": 0.010278036819094541, "missing_content_severity": 0.012350507877165946, "factual_density": 3.104400021868684, "pretraining_utility": 0.3664460768196147, "math_density": 0.15321416771199498, "code_density": 3.886292871579226, "reasoning_density": 0.9842796782148084, "education_level": 2.348435561727916, "creative_writing_quality": -0.29690263381416937}, "api_choices": {"primary": "Technical Writing", "secondary": "NONE", "tertiary": "NONE", "education_level": "2", "creative_writing_quality": "not_applicable", "primary_topic": "Programming & Software Engineering", "secondary_topic": "NONE"}, "review_reasons": [], "format_slot_diagnostics": {"comparable": true, "secondary_tertiary_identical": false, "secondary_tertiary_max_abs_gap": 0.010214947062939461, "secondary_choice": "NONE", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.9953033416011531, "secondary": 0.9821020585842495, "tertiary": 0.9927611337803602, "structured_records": 0.0012539505543837706, "procedural_steps": 0.07528096480120065, "worked_solution": 0.0016401931900301404, "contextual_dialogue": 6.177835579486851e-06, "content_quality": 0.5327119683141702, "noise_severity": 0.9914349693174213, "missing_content_severity": 0.9897079101023617, "factual_density": 0.25366668489056965, "pretraining_utility": 0.4771703576214664, "math_density": 0.8723215269066709, "code_density": 0.9052440596493556, "reasoning_density": 0.17976693482099293, "education_level": 0.5892614192890646, "creative_writing_quality": 0.9995833286389936, "primary_topic": 0.9939478455595582, "secondary_topic": 0.9617122819423941}, "probability_margin": {"primary": 0.9932907480627379, "secondary": 0.9727490982575083, "tertiary": 0.9899668606941925, "education_level": 0.3852834455754075, "creative_writing_quality": 0.9994920851036343, "primary_topic": 0.9909375555362699, "secondary_topic": 0.9465112014021574}, "raw_probabilities": {"primary": {"Academic Writing": 2.4627264060620334e-05, "Content Listing": 1.4042018012148429e-05, "Creative Writing": 1.5544179184151148e-05, "Customer Support Page": 1.0235469705939355e-05, "Q&A Forum": 1.0812816027888626e-05, "Discussion Thread": 7.813987493034312e-06, "Comment Section": 1.2880962039447685e-05, "Missing Content": 2.4894617737621434e-05, "Knowledge Article": 8.814376172699492e-05, "Legal Notices": 2.5811120296899758e-05, "News Article": 4.756758924762048e-06, "Organizational Announcement": 1.2278704531343274e-05, "Nonfiction Writing": 1.1858307777202015e-05, "Organizational About Page": 1.2302979668018116e-05, "Personal About Page": 1.1684536472416868e-05, "Personal Blog": 6.190015117387077e-06, "Product Page": 6.568168920729896e-06, "Spam / Ads": 9.833611077139018e-06, "Structured Data": 0.0003118879140815859, "Technical Writing": 0.995499035701105, "Transcript / Interview": 1.550473794634621e-05, "Tutorial / How-To Guide": 0.002208287638367099, "User Reviews": 6.616537414353231e-06, "Other / Unknown": 0.0016483881923118231}, "secondary": {"Academic Writing": 0.00010491369447089818, "Content Listing": 5.0929932234292555e-05, "Creative Writing": 7.672945567131526e-05, "Customer Support Page": 5.144690069702556e-05, "Q&A Forum": 3.8631200682751954e-05, "Discussion Thread": 2.7214409507322137e-05, "Comment Section": 7.619691593294913e-05, "Missing Content": 0.0001532128755006008, "Knowledge Article": 0.000950615282463882, "Legal Notices": 0.00011121733206988869, "News Article": 4.6664095390940283e-05, "Organizational Announcement": 6.005896289087505e-05, "Nonfiction Writing": 0.00010435852095976383, "Organizational About Page": 5.947062489455408e-05, "Personal About Page": 4.3925369883601765e-05, "Personal Blog": 5.586737532096083e-05, "Product Page": 2.708219921238293e-05, "Spam / Ads": 4.6583482342237086e-05, "Structured Data": 0.000975410733329549, "Technical Writing": 0.010098707885730729, "Transcript / Interview": 6.367328555732876e-05, "Tutorial / How-To Guide": 0.00390345916835179, "User Reviews": 2.5824153665211647e-05, "NONE": 0.9828478061432391}, "tertiary": {"Academic Writing": 6.038156833878234e-05, "Content Listing": 2.489032512757683e-05, "Creative Writing": 3.883915183579285e-05, "Customer Support Page": 2.4896390737432752e-05, "Q&A Forum": 1.6322882198585777e-05, "Discussion Thread": 1.247164585889377e-05, "Comment Section": 6.681715234966638e-05, "Missing Content": 0.00014559627540443944, "Knowledge Article": 0.0006090502213759316, "Legal Notices": 0.00017378070843400537, "News Article": 2.7198266708615414e-05, "Organizational Announcement": 3.6961183187881165e-05, "Nonfiction Writing": 7.185045081165583e-05, "Organizational About Page": 3.6347920575347915e-05, "Personal About Page": 1.9805831776012617e-05, "Personal Blog": 3.3976053095954636e-05, "Product Page": 1.776902680233122e-05, "Spam / Ads": 2.1526138891428744e-05, "Structured Data": 0.0005318145921230104, "Technical Writing": 0.0030958925119860072, "Transcript / Interview": 2.851342154821699e-05, "Tutorial / How-To Guide": 0.0018281293798892316, "User Reviews": 1.4415694764546036e-05, "NONE": 0.9930627532061785}, "structured_records": {"false": 0.9987460494456162, "true": 0.0012539505543837706}, "procedural_steps": {"false": 0.9247190351987994, "true": 0.07528096480120065}, "worked_solution": {"false": 0.9983598068099698, "true": 0.0016401931900301404}, "contextual_dialogue": {"false": 0.9999938221644206, "true": 6.177835579486851e-06}, "content_quality": {"-2": 0.00687540951862652, "-1": 0.02648716602056123, "0": 0.26022624952749696, "1": 0.4794923470348186, "2": 0.22691882789849668}, "noise_severity": {"0": 0.9908631712626639, "1": 0.008400232430640397, "2": 0.00045342547527141676, "3": 0.00016172988778628987, "4": 0.00012144094363811017}, "missing_content_severity": {"0": 0.9937233886535359, "1": 0.001484720627963846, "2": 0.003688985190066548, "3": 0.0009238052446650841, "4": 0.00017910028376843748}, "factual_density": {"0": 0.014633793658102374, "1": 0.03670458026081713, "2": 0.17855089242589367, "3": 0.36984927786466826, "4": 0.4002614557905186}, "pretraining_utility": {"-2": 0.009689770950239882, "-1": 0.11109520511683305, "0": 0.44512138388044353, "1": 0.3712664562680394, "2": 0.06282718378444403}, "math_density": {"0": 0.8725629419713988, "1": 0.11506538959121276, "2": 0.0044790933565997315, "3": 0.0023797089155716523, "4": 0.005512866165216943}, "code_density": {"0": 0.0002148200664629896, "1": 0.00043262803242006176, "2": 0.013727724806665524, "3": 0.08409451444433014, "4": 0.9015303126501214}, "reasoning_density": {"0": 0.4842937264664372, "1": 0.2307955275518764, "2": 0.14831553330897235, "3": 0.0895277666458693, "4": 0.04706744602684486}, "education_level": {"none": 0.0010781428388650465, "0": 0.0018014972246092617, "1": 0.018235908118115346, "2": 0.6577178494075538, "3": 0.27243440383214634, "4": 0.048732198578710216}, "creative_writing_quality": {"not_applicable": 0.999652773865828, "-2": 4.602969406229112e-05, "-1": 8.306904656810998e-05, "0": 0.0001606887621936121, "1": 4.284118176837774e-05, "2": 1.4597449579747248e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 5.121149531112528e-05, "Art & Design": 4.7058240180879446e-05, "Law & Crime": 3.589627599616993e-05, "Education & Careers": 2.8470807225565678e-05, "Entertainment & Media": 4.280529496470272e-05, "Fashion & Beauty": 2.0107633188858146e-05, "Business, Economics & Finance": 4.0407408639153475e-05, "Food & Dining": 2.3890978805268607e-05, "Games & Gaming": 0.0010021093780698312, "Electronics & Hardware": 0.00022610444983534432, "Health, Healthcare & Wellness": 2.8106512563333175e-05, "History & Geography": 3.323695978766203e-05, "Home, Pets & Hobbies": 3.2762245582611534e-05, "Industry & Production": 4.388440016467744e-05, "Language, Literature & Philosophy": 4.0438113831505604e-05, "Politics & Government": 2.623560394435412e-05, "Religion & Spirituality": 3.945556520189569e-05, "Science, Mathematics & Engineering": 0.00023908746466742305, "Relationships & Community": 2.163326158705605e-05, "Software Usage & Applications": 0.0032430651940745124, "Programming & Software Engineering": 0.9941806207303444, "Sports & Fitness": 5.1102334359976006e-05, "Vehicles & Transportation": 3.364640620231534e-05, "Travel & Tourism": 4.6145432890084374e-05, "Other / Uncovered Subject": 0.00031010108946443187, "Unknown / Insufficient Content": 0.00011241672311673442}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.00029863452108382256, "Art & Design": 0.00018309106582949848, "Law & Crime": 0.0002865603840437754, "Education & Careers": 0.00013942176862431709, "Entertainment & Media": 0.00021510996679040297, "Fashion & Beauty": 9.29538719325664e-05, "Business, Economics & Finance": 0.00019964771657336028, "Food & Dining": 9.977964774510821e-05, "Games & Gaming": 0.001081018008373989, "Electronics & Hardware": 0.0005112226808102542, "Health, Healthcare & Wellness": 0.00010479649066158241, "History & Geography": 0.00011251163337531324, "Home, Pets & Hobbies": 8.461940283015518e-05, "Industry & Production": 8.921826980279154e-05, "Language, Literature & Philosophy": 8.781974088720945e-05, "Politics & Government": 0.00010913142329435391, "Religion & Spirituality": 0.00013648559328189227, "Science, Mathematics & Engineering": 0.0005927530400367355, "Relationships & Community": 7.028852854842058e-05, "Software Usage & Applications": 0.014984815309614624, "Programming & Software Engineering": 0.016673685080913853, "Sports & Fitness": 0.00011611895475792691, "Vehicles & Transportation": 6.263466750623907e-05, "Travel & Tourism": 0.00015181192866396372, "Other / Uncovered Subject": 0.00033098382094672333, "NONE": 0.9631848864830712}}, "probabilities": {"primary": {"Academic Writing": 2.4627264060620337e-05, "Content Listing": 1.404201801214843e-05, "Creative Writing": 1.554417918415115e-05, "Customer Support Page": 1.0235469705939356e-05, "Q&A Forum": 1.0812816027888627e-05, "Discussion Thread": 7.813987493034314e-06, "Comment Section": 1.2880962039447687e-05, "Missing Content": 2.4894617737621437e-05, "Knowledge Article": 8.814376172699493e-05, "Legal Notices": 2.581112029689976e-05, "News Article": 4.756758924762049e-06, "Organizational Announcement": 1.2278704531343276e-05, "Nonfiction Writing": 1.1858307777202017e-05, "Organizational About Page": 1.2302979668018117e-05, "Personal About Page": 1.168453647241687e-05, "Personal Blog": 6.190015117387078e-06, "Product Page": 6.568168920729897e-06, "Spam / Ads": 9.83361107713902e-06, "Structured Data": 0.000311887914081586, "Technical Writing": 0.9954990357011051, "Transcript / Interview": 1.5504737946346214e-05, "Tutorial / How-To Guide": 0.0022082876383670994, "User Reviews": 6.616537414353232e-06, "Other / Unknown": 0.0016483881923118233}, "secondary": {"Academic Writing": 0.00010491369447089819, "Content Listing": 5.092993223429256e-05, "Creative Writing": 7.672945567131527e-05, "Customer Support Page": 5.1446900697025564e-05, "Q&A Forum": 3.863120068275196e-05, "Discussion Thread": 2.721440950732214e-05, "Comment Section": 7.619691593294914e-05, "Missing Content": 0.00015321287550060082, "Knowledge Article": 0.0009506152824638821, "Legal Notices": 0.0001112173320698887, "News Article": 4.666409539094029e-05, "Organizational Announcement": 6.005896289087506e-05, "Nonfiction Writing": 0.00010435852095976385, "Organizational About Page": 5.947062489455409e-05, "Personal About Page": 4.392536988360177e-05, "Personal Blog": 5.586737532096084e-05, "Product Page": 2.7082199212382934e-05, "Spam / Ads": 4.658348234223709e-05, "Structured Data": 0.0009754107333295491, "Technical Writing": 0.01009870788573073, "Transcript / Interview": 6.367328555732877e-05, "Tutorial / How-To Guide": 0.0039034591683517906, "User Reviews": 2.582415366521165e-05, "NONE": 0.9828478061432392}, "tertiary": {"Academic Writing": 6.0381568338782344e-05, "Content Listing": 2.4890325127576833e-05, "Creative Writing": 3.883915183579286e-05, "Customer Support Page": 2.4896390737432756e-05, "Q&A Forum": 1.632288219858578e-05, "Discussion Thread": 1.2471645858893773e-05, "Comment Section": 6.681715234966639e-05, "Missing Content": 0.00014559627540443947, "Knowledge Article": 0.0006090502213759317, "Legal Notices": 0.0001737807084340054, "News Article": 2.7198266708615418e-05, "Organizational Announcement": 3.696118318788117e-05, "Nonfiction Writing": 7.185045081165584e-05, "Organizational About Page": 3.634792057534792e-05, "Personal About Page": 1.980583177601262e-05, "Personal Blog": 3.397605309595464e-05, "Product Page": 1.7769026802331224e-05, "Spam / Ads": 2.1526138891428747e-05, "Structured Data": 0.0005318145921230105, "Technical Writing": 0.0030958925119860077, "Transcript / Interview": 2.8513421548216994e-05, "Tutorial / How-To Guide": 0.0018281293798892318, "User Reviews": 1.4415694764546038e-05, "NONE": 0.9930627532061786}, "structured_records": {"false": 0.9987460494456162, "true": 0.0012539505543837706}, "procedural_steps": {"false": 0.9247190351987994, "true": 0.07528096480120065}, "worked_solution": {"false": 0.9983598068099698, "true": 0.0016401931900301404}, "contextual_dialogue": {"false": 0.9999938221644206, "true": 6.177835579486851e-06}, "content_quality": {"-2": 0.00687540951862652, "-1": 0.02648716602056123, "0": 0.26022624952749696, "1": 0.4794923470348186, "2": 0.22691882789849668}, "noise_severity": {"0": 0.9908631712626639, "1": 0.008400232430640397, "2": 0.00045342547527141676, "3": 0.00016172988778628987, "4": 0.00012144094363811017}, "missing_content_severity": {"0": 0.993723388653536, "1": 0.0014847206279638462, "2": 0.0036889851900665485, "3": 0.0009238052446650842, "4": 0.0001791002837684375}, "factual_density": {"0": 0.014633793658102374, "1": 0.03670458026081713, "2": 0.17855089242589367, "3": 0.36984927786466826, "4": 0.4002614557905186}, "pretraining_utility": {"-2": 0.009689770950239884, "-1": 0.11109520511683306, "0": 0.4451213838804436, "1": 0.37126645626803945, "2": 0.06282718378444405}, "math_density": {"0": 0.8725629419713989, "1": 0.11506538959121278, "2": 0.004479093356599732, "3": 0.0023797089155716527, "4": 0.005512866165216944}, "code_density": {"0": 0.00021482006646298955, "1": 0.00043262803242006165, "2": 0.013727724806665521, "3": 0.08409451444433012, "4": 0.9015303126501212}, "reasoning_density": {"0": 0.4842937264664372, "1": 0.2307955275518764, "2": 0.14831553330897235, "3": 0.0895277666458693, "4": 0.04706744602684486}, "education_level": {"none": 0.0010781428388650465, "0": 0.0018014972246092617, "1": 0.018235908118115346, "2": 0.6577178494075538, "3": 0.27243440383214634, "4": 0.048732198578710216}, "creative_writing_quality": {"not_applicable": 0.999652773865828, "-2": 4.602969406229112e-05, "-1": 8.306904656810998e-05, "0": 0.0001606887621936121, "1": 4.284118176837774e-05, "2": 1.4597449579747248e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 5.121149531112529e-05, "Art & Design": 4.705824018087945e-05, "Law & Crime": 3.589627599616994e-05, "Education & Careers": 2.847080722556568e-05, "Entertainment & Media": 4.280529496470273e-05, "Fashion & Beauty": 2.010763318885815e-05, "Business, Economics & Finance": 4.040740863915348e-05, "Food & Dining": 2.389097880526861e-05, "Games & Gaming": 0.0010021093780698315, "Electronics & Hardware": 0.00022610444983534435, "Health, Healthcare & Wellness": 2.810651256333318e-05, "History & Geography": 3.323695978766204e-05, "Home, Pets & Hobbies": 3.276224558261154e-05, "Industry & Production": 4.3884400164677445e-05, "Language, Literature & Philosophy": 4.043811383150561e-05, "Politics & Government": 2.6235603944354124e-05, "Religion & Spirituality": 3.94555652018957e-05, "Science, Mathematics & Engineering": 0.00023908746466742308, "Relationships & Community": 2.1633261587056054e-05, "Software Usage & Applications": 0.003243065194074513, "Programming & Software Engineering": 0.9941806207303445, "Sports & Fitness": 5.110233435997601e-05, "Vehicles & Transportation": 3.3646406202315344e-05, "Travel & Tourism": 4.614543289008438e-05, "Other / Uncovered Subject": 0.0003101010894644319, "Unknown / Insufficient Content": 0.00011241672311673444}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.00029863452108382256, "Art & Design": 0.00018309106582949848, "Law & Crime": 0.0002865603840437754, "Education & Careers": 0.00013942176862431709, "Entertainment & Media": 0.00021510996679040297, "Fashion & Beauty": 9.29538719325664e-05, "Business, Economics & Finance": 0.00019964771657336028, "Food & Dining": 9.977964774510821e-05, "Games & Gaming": 0.001081018008373989, "Electronics & Hardware": 0.0005112226808102542, "Health, Healthcare & Wellness": 0.00010479649066158241, "History & Geography": 0.00011251163337531324, "Home, Pets & Hobbies": 8.461940283015518e-05, "Industry & Production": 8.921826980279154e-05, "Language, Literature & Philosophy": 8.781974088720945e-05, "Politics & Government": 0.00010913142329435391, "Religion & Spirituality": 0.00013648559328189227, "Science, Mathematics & Engineering": 0.0005927530400367355, "Relationships & Community": 7.028852854842058e-05, "Software Usage & Applications": 0.014984815309614624, "Programming & Software Engineering": 0.016673685080913853, "Sports & Fitness": 0.00011611895475792691, "Vehicles & Transportation": 6.263466750623907e-05, "Travel & Tourism": 0.00015181192866396372, "Other / Uncovered Subject": 0.00033098382094672333, "NONE": 0.9631848864830712}}, "probability_diagnostics": {"primary": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "tertiary": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "structured_records": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "procedural_steps": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "worked_solution": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "contextual_dialogue": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "content_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "noise_severity": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "missing_content_severity": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "factual_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "pretraining_utility": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "math_density": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "code_density": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "reasoning_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "education_level": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "creative_writing_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "primary_topic": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}}, "usage": {"input_tokens": 9696, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 9696, "cached_share": null, "cache_discount_reported": null, "reported_cost_usd": null}, "response_metadata": {"model": "decision-models/baseten-mammoth-27b-latest"}, "scored_at_utc": "2026-10-25T18:33:10.186333+00:00", "scoring_key_slot": "assistant_1", "dataset_uid": "765c1030-61e5-400a-8a6d-d2b0d26d0b33", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "11547069fcbd3d63fa27a04b5251ac043bf12e267e5e6104486207a0855b4135", "source_metadata": {"uuid": "765c1030-61e5-400a-8a6d-d2b0d26d0b33", "repo_name": "wunderfox/wunderfox", "relative_path": "tools/update-verify/release/common/download_mars.sh", "category": "TOOL", "algo_rel_score": 0.9857649207115173, "quality_score": 5.502767562866211, "source_meta": {"github_metadata": {"branch": "main", "commit_count": 19, "repo_created_at": "2024-10-10T15:42:35.000Z", "is_fork": false, "is_org_owned": true, "forked_from": null, "stars": 4, "forks": 0, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "9457755b6340558342bc518031fb4ee54cc60f88", "size_bytes": 3999, "file_timestamp": 1733730451, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "f85892ea2c14c016f25c68174ddb035e06481a5e"}}, "parsed_source_meta": {"github_metadata": {"branch": "main", "commit_count": 19, "repo_created_at": "2024-10-10T15:42:35.000Z", "is_fork": false, "is_org_owned": true, "forked_from": null, "stars": 4, "forks": 0, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "9457755b6340558342bc518031fb4ee54cc60f88", "size_bytes": 3999, "file_timestamp": 1733730451, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "f85892ea2c14c016f25c68174ddb035e06481a5e", "url": "https://github.com/wunderfox/wunderfox/blob/f85892ea2c14c016f25c68174ddb035e06481a5e/tools/update-verify/release/common/download_mars.sh"}, "gpt4o_tokens": 1133, "dataset_split": "shell", "probability_weighted_scores": {"content_quality": 0.8930920177739977, "noise_severity": 0.010278036819094541, "missing_content_severity": 0.012350507877165946, "factual_density": 3.104400021868684, "pretraining_utility": 0.3664460768196147, "math_density": 0.15321416771199498, "code_density": 3.8862928715792266, "reasoning_density": 0.9842796782148084, "education_level": 2.348435561727916, "creative_writing_quality": -0.29690263381416937}, "score_applicability": {"education_level": 0.998921857161135, "creative_writing_quality": 0.0003472261341721382}} {"source_group": "shell", "source": "openbmb/UltraData-Stack-v3-L2/shell", "domain": "github.com", "language": "shell", "url": "https://github.com/leonardoamorim/gcp-assync/blob/43e90392fdef77bd17dd049b838b173d31aac0b4/deploy/manage-gcp.sh", "id": "shell-0-ae35ab485207a5b459ffae9554bcab38", "text": "#!/bin/bash\n\n# Script para gerenciar deploy e desinstalação de recursos no GCP\n\n\n# Nome do arquivo de deploy e undeploy\nDEPLOY_SCRIPT=\"deploy-resources.sh\"\nUNDEPLOY_SCRIPT=\"undeploy-resources.sh\"\n\n# Caminho do diretório onde este script está localizado\nSCRIPT_DIR=$(dirname \"$0\")\n\n# Verificar se o parâmetro foi passado corretamente\nif [ -z \"$1\" ]; then\n echo \"Uso: $0 [install|uninstall]\"\n exit 1\nfi\n\n# Definindo a ação (install ou uninstall)\nACTION=$1\n\n# Função para verificar se o Google Cloud SDK já está instalado\ncheck_gcloud_sdk_installed() {\n if command -v gcloud &> /dev/null\n then\n echo \"Google Cloud SDK já está instalado.\"\n return 0\n else\n return 1\n fi\n}\n\n# Função para instalar o SDK do Google Cloud\ninstall_gcloud_sdk() {\n if check_gcloud_sdk_installed; then\n echo \"Pulando instalação do SDK do Google Cloud.\"\n else\n echo \"Instalando Google Cloud SDK...\"\n curl https://sdk.cloud.google.com | bash\n exec -l $SHELL\n gcloud init\n fi\n}\n\n# Função para verificar se o usuário já está logado no GCP\ncheck_gcloud_logged_in() {\n local current_account\n current_account=$(gcloud auth list --filter=status:ACTIVE --format=\"value(account)\")\n if [ -n \"$current_account\" ]; then\n echo \"Usuário já está logado no Google Cloud como $current_account.\"\n return 0\n else\n return 1\n fi\n}\n\n# Função para autenticar no GCP se o usuário não estiver logado\nconfigure_gcp() {\n if check_gcloud_logged_in; then\n echo \"Pulando o processo de login, pois o usuário já está autenticado.\"\n else\n echo \"Autenticando no Google Cloud...\"\n gcloud auth login\n fi\n\n echo \"Definindo projeto no GCP...\"\n gcloud config set project $GCP_PROJECT\n gcloud config set compute/region $REGION\n}\n\n# Carregando as variáveis de configuração do arquivo JSON\nCONFIG_FILE=\"$SCRIPT_DIR/config.json\"\nif [ ! -f \"$CONFIG_FILE\" ]; then\n echo \"Arquivo config.json não encontrado!\"\n exit 1\nfi\n\nGCP_PROJECT=$(jq -r '.GCP_PROJECT' \"$CONFIG_FILE\")\nSERVICE_ACCOUNT=$(jq -r '.SERVICE_ACCOUNT' \"$CONFIG_FILE\")\nSERVICE_ACCOUNT_EMAIL=\"\"\nBUCKET_NAME=$(jq -r '.BUCKET_NAME' \"$CONFIG_FILE\")\nBUCKET_NAME_TRIGGER=$(jq -r '.BUCKET_NAME_TRIGGER' \"$CONFIG_FILE\")\nREGION=$(jq -r '.REGION' \"$CONFIG_FILE\")\n\n# Verificando se as variáveis foram carregadas corretamente\nif [ -z \"$GCP_PROJECT\" ] || [ -z \"$SERVICE_ACCOUNT\" ] || [ -z \"$REGION\" ] || [ -z \"$BUCKET_NAME\" ] || [ -z \"$BUCKET_NAME\" ]; then\n echo \"Erro: Variáveis de configuração não foram carregadas corretamente!\"\n exit 1\nfi\n\n# Função para verificar se existe o BUCKET_NAME no GCP\ncheck_bucket_exists() {\n local bucket=$1\n gsutil ls -b gs://\"$bucket\" &> /dev/null\n} \n\n\n# Função para criar o bucket no GCP\ncreate_bucket() {\n if check_bucket_exists \"$BUCKET_NAME\"; then\n echo \"Bucket $BUCKET_NAME já existe.\"\n else\n echo \"Criando bucket $BUCKET_NAME...\"\n gsutil mb -l \"$REGION\" gs://\"$BUCKET_NAME\"\n fi\n\n if check_bucket_exists \"$BUCKET_NAME_TRIGGER\"; then\n echo \"BUCKET_NAME_TRIGGER $BUCKET_NAME_TRIGGER já existe.\"\n else\n echo \"Criando BUCKET_NAME_TRIGGER $BUCKET_NAME_TRIGGER...\"\n gsutil mb -l \"$REGION\" gs://\"$BUCKET_NAME_TRIGGER\"\n fi\n}\n\n# Função para verificar se uma API está habilitada\ncheck_api_enabled() {\n local api=$1\n gcloud services list --enabled --filter=\"$api\" --format=\"value(config.name)\" | grep -q \"$api\"\n}\n\n# Função para verificar APIs necessárias\nenable_apis() {\n local apis=(\"cloudfunctions.googleapis.com\" \"run.googleapis.com\" \"containerregistry.googleapis.com\" \"bigquery.googleapis.com\")\n\n for api in \"${apis[@]}\"; do\n if check_api_enabled \"$api\"; then\n echo \"API $api já está habilitada.\"\n else\n echo \"Habilitando API $api...\"\n gcloud services enable \"$api\"\n fi\n done\n}\n\n# Função para verificar se a conta de serviço já existe\ncheck_service_account_exists() {\n gcloud iam service-accounts list --filter=\"email:$SERVICE_ACCOUNT_EMAIL\" --format=\"value(email)\" | grep -q \"$SERVICE_ACCOUNT_EMAIL\"\n}\n\n# Função para verificar e configurar a conta de serviço\nverify_service_account() {\n if check_service_account_exists; then\n echo \"Conta de serviço $SERVICE_ACCOUNT_EMAIL já existe.\"\n else\n echo \"Erro: A conta de serviço $SERVICE_ACCOUNT_EMAIL não existe.\"\n exit 1\n fi\n\n}\n\n# Função para verificar o status dos recursos implantados\ndeploy_resources() {\n echo \"Iniciando deploy dos recursos no GCP...\"\n\n # Verificando se o script de deploy existe\n if [ ! -f \"$SCRIPT_DIR/$DEPLOY_SCRIPT\" ]; then\n echo \"Erro: O script $DEPLOY_SCRIPT não foi encontrado no diretório deploy!\"\n exit 1\n fi\n\n # Rodar o script de deploy\n bash \"$SCRIPT_DIR/$DEPLOY_SCRIPT\"\n\n\n}\n\n# Função para desinstalar os recursos\nuninstall_resources() {\n echo \"Iniciando desinstalação dos recursos no GCP...\"\n\n # Verificando se o script de desinstalação existe\n if [ ! -f \"$SCRIPT_DIR/$UNDEPLOY_SCRIPT\" ]; then\n echo \"Erro: O script $UNDEPLOY_SCRIPT não foi encontrado no diretório deploy!\"\n exit 1\n fi\n\n # Rodar o script de desinstalação\n bash \"$SCRIPT_DIR/$UNDEPLOY_SCRIPT\"\n \n}\n\n\n# Executar instalação ou desinstalação com base na ação passada\ncase \"$ACTION\" in\n install)\n install_gcloud_sdk\n configure_gcp\n enable_apis\n verify_service_account\n create_bucket\n deploy_resources\n ;;\n uninstall)\n uninstall_resources\n ;;\n *)\n echo \"Uso: $0 [install|uninstall]\"\n exit 1\n ;;\nesac\n\necho \"Operação concluída com sucesso!\"\n", "text_preview": "#!/bin/bash # Script para gerenciar deploy e desinstalação de recursos no GCP # Nome do arquivo de deploy e undeploy DEPLOY_SCRIPT=\"deploy-resources.sh\" UNDEPLOY_SCRIPT=\"undeploy-resources.sh\" # Caminho do diretório onde este script está lo", "input_sha256": "25aa2f67c7bd504631bdd532ef35a8f0861d2f0ebc4597e9fc1f42a8dac2dcd1", "text_sha256": "ae35ab485207a5b459ffae9554bcab3870b96192c7719205088f2bb32f7ebc45", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 20065, "input_policy": "text-and-optional-url-v1", "label_policy_version": 12, "requested_model": "decision-models/baseten-mammoth-27b-latest", "backend": "baseten", "endpoint": "https://inference.baseten.co/v1/systemone", "status": "ok", "training_eligible": true, "label": {"primary": {"main_format": "Technical Writing", "sub_format": null}, "secondary": null, "tertiary": null, "content_structure": []}, "candidate_label": null, "topic": {"primary": {"main_topic": "Programming & Software Engineering", "sub_topic": null}, "secondary": null}, "scores": {"content_quality": 0, "noise_severity": 0, "missing_content_severity": 0, "factual_density": 3, "pretraining_utility": 1, "math_density": 0, "code_density": 4, "reasoning_density": 0, "education_level": 2, "creative_writing_quality": null}, "score_expectations": {"content_quality": 0.2965199264724714, "noise_severity": 0.07009541217960308, "missing_content_severity": 0.3316000158175123, "factual_density": 3.0446593219801503, "pretraining_utility": 0.5275348864310977, "math_density": 0.001220420752752675, "code_density": 3.7982399584011577, "reasoning_density": 0.8057487418357016, "education_level": 2.242616205287356, "creative_writing_quality": -0.3470440383603501}, "api_choices": {"primary": "Technical Writing", "secondary": "NONE", "tertiary": "NONE", "education_level": "2", "creative_writing_quality": "not_applicable", "primary_topic": "Programming & Software Engineering", "secondary_topic": "NONE"}, "review_reasons": [], "format_slot_diagnostics": {"comparable": true, "secondary_tertiary_identical": false, "secondary_tertiary_max_abs_gap": 0.027398098181071195, "secondary_choice": "NONE", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.9736355605160824, "secondary": 0.9263543217828515, "tertiary": 0.9549436416239693, "structured_records": 0.009707009577369976, "procedural_steps": 0.38669581773132167, "worked_solution": 0.0012485570920642813, "contextual_dialogue": 7.060856620918537e-06, "content_quality": 0.40715225572324576, "noise_severity": 0.9415871565169974, "missing_content_severity": 0.7236666534854064, "factual_density": 0.5055842135511154, "pretraining_utility": 0.5172210972386069, "math_density": 0.9989829827060395, "code_density": 0.8318666320009651, "reasoning_density": 0.32854271513691535, "education_level": 0.656711730574997, "creative_writing_quality": 0.9991292466368632, "primary_topic": 0.9759958208906093, "secondary_topic": 0.7900700736156597}, "probability_margin": {"primary": 0.9540034130497228, "secondary": 0.8876513801436038, "tertiary": 0.9345360573989822, "education_level": 0.47280581460647486, "creative_writing_quality": 0.998936358667188, "primary_topic": 0.9554429134707965, "secondary_topic": 0.632425444343981}, "raw_probabilities": {"primary": {"Academic Writing": 8.779724001860532e-05, "Content Listing": 7.825413172394104e-05, "Creative Writing": 6.60176397880462e-05, "Customer Support Page": 4.736375848032412e-05, "Q&A Forum": 4.555212674238077e-05, "Discussion Thread": 3.7541497318935645e-05, "Comment Section": 7.000073291800921e-05, "Missing Content": 7.345562805740625e-05, "Knowledge Article": 0.0002191698328324889, "Legal Notices": 7.222372455407612e-05, "News Article": 2.3635433988458706e-05, "Organizational Announcement": 4.116114001205106e-05, "Nonfiction Writing": 4.15759756946339e-05, "Organizational About Page": 4.970417576283826e-05, "Personal About Page": 4.425416702248515e-05, "Personal Blog": 2.7582479031742565e-05, "Product Page": 2.9884499684198384e-05, "Spam / Ads": 4.808330070655975e-05, "Structured Data": 0.0004322213746794731, "Technical Writing": 0.9747340788279123, "Transcript / Interview": 6.217411293469177e-05, "Tutorial / How-To Guide": 0.020730665778189508, "User Reviews": 2.5275767251216554e-05, "Other / Unknown": 0.0029123266546958824}, "secondary": {"Academic Writing": 0.00024068202348876745, "Content Listing": 0.00017204755145593112, "Creative Writing": 0.00019013558569608592, "Customer Support Page": 0.00017483350375013167, "Q&A Forum": 9.903518744711847e-05, "Discussion Thread": 7.870340621819125e-05, "Comment Section": 0.00021466294886435792, "Missing Content": 0.0035804261001872277, "Knowledge Article": 0.0007498820902149703, "Legal Notices": 0.00021740812592758763, "News Article": 0.00011709585557507918, "Organizational Announcement": 0.0001231631574872261, "Nonfiction Writing": 0.00010837231320149588, "Organizational About Page": 0.00013915386627166162, "Personal About Page": 0.0001220615461627329, "Personal Blog": 0.00010432221403267926, "Product Page": 8.745419155666894e-05, "Spam / Ads": 0.00013114101231055837, "Structured Data": 0.0010545202443591622, "Technical Writing": 0.020882917590797398, "Transcript / Interview": 0.00014685317931264648, "Tutorial / How-To Guide": 0.04177151156496222, "User Reviews": 7.072503215406732e-05, "NONE": 0.929422891708566}, "tertiary": {"Academic Writing": 0.00013244169208209464, "Content Listing": 0.00010459559310155674, "Creative Writing": 0.00012485349913480404, "Customer Support Page": 0.00014466259402323088, "Q&A Forum": 5.1891974726323996e-05, "Discussion Thread": 4.445802157611101e-05, "Comment Section": 0.00019353582422877865, "Missing Content": 0.005900083897899678, "Knowledge Article": 0.0010918581201555559, "Legal Notices": 0.0003253530543547798, "News Article": 6.838494701038079e-05, "Organizational Announcement": 7.437759436203929e-05, "Nonfiction Writing": 9.176557950707407e-05, "Organizational About Page": 0.00011053635098750398, "Personal About Page": 7.078699241566761e-05, "Personal Blog": 6.875822051042082e-05, "Product Page": 5.945377466234619e-05, "Spam / Ads": 0.00011466836813174451, "Structured Data": 0.0016387738563696558, "Technical Writing": 0.010349332478068638, "Transcript / Interview": 8.97087185468476e-05, "Tutorial / How-To Guide": 0.02228493249065511, "User Reviews": 4.379646785242952e-05, "NONE": 0.9568209898896373}, "structured_records": {"false": 0.99029299042263, "true": 0.009707009577369976}, "procedural_steps": {"false": 0.6133041822686783, "true": 0.38669581773132167}, "worked_solution": {"false": 0.9987514429079357, "true": 0.0012485570920642813}, "contextual_dialogue": {"false": 0.9999929391433791, "true": 7.060856620918537e-06}, "content_quality": {"-2": 0.021740744464038748, "-1": 0.16396719440173935, "0": 0.3807377407192114, "1": 0.36314003102773273, "2": 0.07041428938727776}, "noise_severity": {"0": 0.9383551591598407, "1": 0.055709360251616116, "2": 0.004171654341056413, "3": 0.001012561744072437, "4": 0.0007512645034142055}, "missing_content_severity": {"0": 0.7367498788224517, "1": 0.20468543569527767, "2": 0.0510058992558476, "3": 0.005332363295152814, "4": 0.0022264229312702485}, "factual_density": {"0": 0.006743568919187945, "1": 0.023341663092964097, "2": 0.2074057779357637, "3": 0.4435298571926784, "4": 0.3189791328594059}, "pretraining_utility": {"-2": 0.00828491460129468, "-1": 0.06957392612807504, "0": 0.36189730238125284, "1": 0.5068090720169927, "2": 0.053434784872384726}, "math_density": {"0": 0.9991711332400274, "1": 0.0006357926102753816, "2": 7.251813431661809e-05, "3": 4.263218767832453e-05, "4": 7.792382770227088e-05}, "code_density": {"0": 0.0005126164779066421, "1": 0.0009991123992737373, "2": 0.02410013576475253, "3": 0.14851196695988908, "4": 0.8258761683981781}, "reasoning_density": {"0": 0.5175185996190073, "1": 0.23600297080273164, "2": 0.1857090625019083, "3": 0.04474982227625792, "4": 0.016019544800094893}, "education_level": {"none": 0.0011350835468283641, "0": 0.002461018516594235, "1": 0.025523810461469627, "2": 0.7139264421458308, "3": 0.2411206275393559, "4": 0.01583301778992115}, "creative_writing_quality": {"not_applicable": 0.999274372197386, "-2": 8.923446503047191e-05, "-1": 0.00019870345024668715, "0": 0.0003380135301980366, "1": 7.40051369351868e-05, "2": 2.567122020340433e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 5.023673924648779e-05, "Art & Design": 8.390351208748658e-05, "Law & Crime": 5.8893869359824784e-05, "Education & Careers": 5.327040361499476e-05, "Entertainment & Media": 3.797252056016057e-05, "Fashion & Beauty": 3.729772181052595e-05, "Business, Economics & Finance": 0.00017363207569953793, "Food & Dining": 3.320193971652119e-05, "Games & Gaming": 6.321198453538298e-05, "Electronics & Hardware": 0.00017033723199034157, "Health, Healthcare & Wellness": 3.5410115511474024e-05, "History & Geography": 4.331045208547717e-05, "Home, Pets & Hobbies": 4.0356519392583024e-05, "Industry & Production": 5.7065484932245425e-05, "Language, Literature & Philosophy": 5.091056166668565e-05, "Politics & Government": 3.321175695714986e-05, "Religion & Spirituality": 3.9233982291581194e-05, "Science, Mathematics & Engineering": 0.00014885541474976937, "Relationships & Community": 3.054764762200142e-05, "Software Usage & Applications": 0.021476145077866337, "Programming & Software Engineering": 0.9769190585486628, "Sports & Fitness": 5.4844364389529135e-05, "Vehicles & Transportation": 2.4723439248876374e-05, "Travel & Tourism": 4.524127399037385e-05, "Other / Uncovered Subject": 0.00018457901913088466, "Unknown / Insufficient Content": 5.454834288110085e-05}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0005374375117884261, "Art & Design": 0.000416326982134328, "Law & Crime": 0.000566698676766242, "Education & Careers": 0.00034598476058460726, "Entertainment & Media": 0.0003756519191207513, "Fashion & Beauty": 0.00023970749808419599, "Business, Economics & Finance": 0.000842189877803256, "Food & Dining": 0.0002134765545301802, "Games & Gaming": 0.0003298303571318843, "Electronics & Hardware": 0.0007504799594351176, "Health, Healthcare & Wellness": 0.0002487016881956282, "History & Geography": 0.00026346208648969784, "Home, Pets & Hobbies": 0.00023545985052370548, "Industry & Production": 0.000294078478193374, "Language, Literature & Philosophy": 0.00026580295921629855, "Politics & Government": 0.0002484367802700566, "Religion & Spirituality": 0.0002945626613793148, "Science, Mathematics & Engineering": 0.0006565571325676513, "Relationships & Community": 0.0001613411520408601, "Software Usage & Applications": 0.16571885720953802, "Programming & Software Engineering": 0.02751084389124654, "Sports & Fitness": 0.00022824533158873246, "Vehicles & Transportation": 0.0001289386930450024, "Travel & Tourism": 0.00034699242833982174, "Other / Uncovered Subject": 0.0006356340064672453, "NONE": 0.798144301553519}}, "probabilities": {"primary": {"Academic Writing": 8.77972400186053e-05, "Content Listing": 7.825413172394103e-05, "Creative Writing": 6.601763978804619e-05, "Customer Support Page": 4.736375848032411e-05, "Q&A Forum": 4.5552126742380764e-05, "Discussion Thread": 3.754149731893564e-05, "Comment Section": 7.00007329180092e-05, "Missing Content": 7.345562805740623e-05, "Knowledge Article": 0.00021916983283248883, "Legal Notices": 7.222372455407611e-05, "News Article": 2.36354339884587e-05, "Organizational Announcement": 4.1161140012051054e-05, "Nonfiction Writing": 4.157597569463389e-05, "Organizational About Page": 4.970417576283825e-05, "Personal About Page": 4.4254167022485144e-05, "Personal Blog": 2.7582479031742558e-05, "Product Page": 2.9884499684198377e-05, "Spam / Ads": 4.808330070655974e-05, "Structured Data": 0.000432221374679473, "Technical Writing": 0.9747340788279121, "Transcript / Interview": 6.217411293469175e-05, "Tutorial / How-To Guide": 0.020730665778189505, "User Reviews": 2.5275767251216548e-05, "Other / Unknown": 0.002912326654695882}, "secondary": {"Academic Writing": 0.00024068202348876747, "Content Listing": 0.00017204755145593115, "Creative Writing": 0.00019013558569608595, "Customer Support Page": 0.0001748335037501317, "Q&A Forum": 9.903518744711849e-05, "Discussion Thread": 7.870340621819127e-05, "Comment Section": 0.00021466294886435795, "Missing Content": 0.003580426100187228, "Knowledge Article": 0.0007498820902149704, "Legal Notices": 0.00021740812592758766, "News Article": 0.0001170958555750792, "Organizational Announcement": 0.00012316315748722614, "Nonfiction Writing": 0.00010837231320149589, "Organizational About Page": 0.00013915386627166165, "Personal About Page": 0.00012206154616273291, "Personal Blog": 0.00010432221403267927, "Product Page": 8.745419155666896e-05, "Spam / Ads": 0.0001311410123105584, "Structured Data": 0.0010545202443591624, "Technical Writing": 0.0208829175907974, "Transcript / Interview": 0.0001468531793126465, "Tutorial / How-To Guide": 0.04177151156496223, "User Reviews": 7.072503215406733e-05, "NONE": 0.9294228917085661}, "tertiary": {"Academic Writing": 0.00013244169208209464, "Content Listing": 0.00010459559310155674, "Creative Writing": 0.00012485349913480404, "Customer Support Page": 0.00014466259402323088, "Q&A Forum": 5.1891974726323996e-05, "Discussion Thread": 4.445802157611101e-05, "Comment Section": 0.00019353582422877865, "Missing Content": 0.005900083897899678, "Knowledge Article": 0.0010918581201555559, "Legal Notices": 0.0003253530543547798, "News Article": 6.838494701038079e-05, "Organizational Announcement": 7.437759436203929e-05, "Nonfiction Writing": 9.176557950707407e-05, "Organizational About Page": 0.00011053635098750398, "Personal About Page": 7.078699241566761e-05, "Personal Blog": 6.875822051042082e-05, "Product Page": 5.945377466234619e-05, "Spam / Ads": 0.00011466836813174451, "Structured Data": 0.0016387738563696558, "Technical Writing": 0.010349332478068638, "Transcript / Interview": 8.97087185468476e-05, "Tutorial / How-To Guide": 0.02228493249065511, "User Reviews": 4.379646785242952e-05, "NONE": 0.9568209898896373}, "structured_records": {"false": 0.99029299042263, "true": 0.009707009577369976}, "procedural_steps": {"false": 0.6133041822686783, "true": 0.38669581773132167}, "worked_solution": {"false": 0.9987514429079357, "true": 0.0012485570920642813}, "contextual_dialogue": {"false": 0.9999929391433791, "true": 7.060856620918537e-06}, "content_quality": {"-2": 0.021740744464038748, "-1": 0.16396719440173935, "0": 0.3807377407192114, "1": 0.36314003102773273, "2": 0.07041428938727776}, "noise_severity": {"0": 0.9383551591598408, "1": 0.05570936025161612, "2": 0.0041716543410564135, "3": 0.0010125617440724373, "4": 0.0007512645034142056}, "missing_content_severity": {"0": 0.7367498788224517, "1": 0.20468543569527767, "2": 0.0510058992558476, "3": 0.005332363295152814, "4": 0.0022264229312702485}, "factual_density": {"0": 0.006743568919187945, "1": 0.023341663092964097, "2": 0.2074057779357637, "3": 0.4435298571926784, "4": 0.3189791328594059}, "pretraining_utility": {"-2": 0.00828491460129468, "-1": 0.06957392612807504, "0": 0.36189730238125284, "1": 0.5068090720169927, "2": 0.053434784872384726}, "math_density": {"0": 0.9991711332400274, "1": 0.0006357926102753816, "2": 7.251813431661809e-05, "3": 4.263218767832453e-05, "4": 7.792382770227088e-05}, "code_density": {"0": 0.000512616477906642, "1": 0.000999112399273737, "2": 0.024100135764752523, "3": 0.14851196695988905, "4": 0.8258761683981779}, "reasoning_density": {"0": 0.5175185996190073, "1": 0.23600297080273164, "2": 0.1857090625019083, "3": 0.04474982227625792, "4": 0.016019544800094893}, "education_level": {"none": 0.0011350835468283641, "0": 0.002461018516594235, "1": 0.025523810461469627, "2": 0.7139264421458308, "3": 0.2411206275393559, "4": 0.01583301778992115}, "creative_writing_quality": {"not_applicable": 0.9992743721973862, "-2": 8.923446503047193e-05, "-1": 0.0001987034502466872, "0": 0.00033801353019803664, "1": 7.400513693518682e-05, "2": 2.5671220203404338e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 5.023673924648777e-05, "Art & Design": 8.390351208748656e-05, "Law & Crime": 5.889386935982477e-05, "Education & Careers": 5.327040361499475e-05, "Entertainment & Media": 3.7972520560160565e-05, "Fashion & Beauty": 3.729772181052594e-05, "Business, Economics & Finance": 0.0001736320756995379, "Food & Dining": 3.320193971652118e-05, "Games & Gaming": 6.321198453538296e-05, "Electronics & Hardware": 0.00017033723199034155, "Health, Healthcare & Wellness": 3.541011551147402e-05, "History & Geography": 4.3310452085477165e-05, "Home, Pets & Hobbies": 4.035651939258302e-05, "Industry & Production": 5.706548493224541e-05, "Language, Literature & Philosophy": 5.091056166668563e-05, "Politics & Government": 3.321175695714985e-05, "Religion & Spirituality": 3.923398229158119e-05, "Science, Mathematics & Engineering": 0.00014885541474976934, "Relationships & Community": 3.0547647622001413e-05, "Software Usage & Applications": 0.021476145077866333, "Programming & Software Engineering": 0.9769190585486626, "Sports & Fitness": 5.484436438952912e-05, "Vehicles & Transportation": 2.4723439248876367e-05, "Travel & Tourism": 4.524127399037384e-05, "Other / Uncovered Subject": 0.0001845790191308846, "Unknown / Insufficient Content": 5.454834288110084e-05}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0005374375117884261, "Art & Design": 0.000416326982134328, "Law & Crime": 0.000566698676766242, "Education & Careers": 0.00034598476058460726, "Entertainment & Media": 0.0003756519191207513, "Fashion & Beauty": 0.00023970749808419599, "Business, Economics & Finance": 0.000842189877803256, "Food & Dining": 0.0002134765545301802, "Games & Gaming": 0.0003298303571318843, "Electronics & Hardware": 0.0007504799594351176, "Health, Healthcare & Wellness": 0.0002487016881956282, "History & Geography": 0.00026346208648969784, "Home, Pets & Hobbies": 0.00023545985052370548, "Industry & Production": 0.000294078478193374, "Language, Literature & Philosophy": 0.00026580295921629855, "Politics & Government": 0.0002484367802700566, "Religion & Spirituality": 0.0002945626613793148, "Science, Mathematics & Engineering": 0.0006565571325676513, "Relationships & Community": 0.0001613411520408601, "Software Usage & Applications": 0.16571885720953802, "Programming & Software Engineering": 0.02751084389124654, "Sports & Fitness": 0.00022824533158873246, "Vehicles & Transportation": 0.0001289386930450024, "Travel & Tourism": 0.00034699242833982174, "Other / Uncovered Subject": 0.0006356340064672453, "NONE": 0.798144301553519}}, "probability_diagnostics": {"primary": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "secondary": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "tertiary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "structured_records": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "procedural_steps": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "worked_solution": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "contextual_dialogue": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "content_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "noise_severity": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "missing_content_severity": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "factual_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "pretraining_utility": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "math_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "code_density": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "reasoning_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "education_level": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "creative_writing_quality": {"raw_sum": 0.9999999999999998, "mass_delta": -2.220446049250313e-16, "missing_mass": 2.220446049250313e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "primary_topic": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "secondary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}}, "usage": {"input_tokens": 10042, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 10042, "cached_share": null, "cache_discount_reported": null, "reported_cost_usd": null}, "response_metadata": {"model": "decision-models/baseten-mammoth-27b-latest"}, "scored_at_utc": "2026-10-25T18:33:10.819834+00:00", "scoring_key_slot": "assistant_1", "dataset_uid": "c7b05383-f57d-4468-ac31-a61d474bbe8a", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "dfdd55c78ff5946a1056b98ae89cf3e718e987c6afdde42d6476864dd73b0a82", "source_metadata": {"uuid": "c7b05383-f57d-4468-ac31-a61d474bbe8a", "repo_name": "leonardoamorim/gcp-assync", "relative_path": "deploy/manage-gcp.sh", "category": "TOOL", "algo_rel_score": 0.9786786437034607, "quality_score": 4.5512189865112305, "source_meta": {"github_metadata": {"branch": "main", "commit_count": 1, "repo_created_at": "2025-06-15T19:31:24.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 0, "forks": 0, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "8890689f5eadc1ad090c8dabfa79a95e9c48e89e", "size_bytes": 5778, "file_timestamp": 1750015910, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "43e90392fdef77bd17dd049b838b173d31aac0b4"}}, "parsed_source_meta": {"github_metadata": {"branch": "main", "commit_count": 1, "repo_created_at": "2025-06-15T19:31:24.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 0, "forks": 0, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "8890689f5eadc1ad090c8dabfa79a95e9c48e89e", "size_bytes": 5778, "file_timestamp": 1750015910, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "43e90392fdef77bd17dd049b838b173d31aac0b4", "url": "https://github.com/leonardoamorim/gcp-assync/blob/43e90392fdef77bd17dd049b838b173d31aac0b4/deploy/manage-gcp.sh"}, "gpt4o_tokens": 1461, "dataset_split": "shell", "probability_weighted_scores": {"content_quality": 0.2965199264724714, "noise_severity": 0.07009541217960308, "missing_content_severity": 0.3316000158175123, "factual_density": 3.0446593219801503, "pretraining_utility": 0.5275348864310977, "math_density": 0.001220420752752675, "code_density": 3.798239958401158, "reasoning_density": 0.8057487418357016, "education_level": 2.242616205287356, "creative_writing_quality": -0.3470440383603501}, "score_applicability": {"education_level": 0.9988649164531717, "creative_writing_quality": 0.0007256278026137869}} {"source_group": "shell", "source": "openbmb/UltraData-Stack-v3-L2/shell", "domain": "github.com", "language": "shell", "url": "https://github.com/psanchezg/docker-node-git/blob/ad57e8dc329626841deaeeb10b234d336f18d369/scripts/start.sh", "id": "shell-0-4b64163ebf50703cf71a9d5d3747948b", "text": "#!/bin/bash\n\n# Disable Strict Host checking for non interactive git clones\n\nmkdir -p -m 0700 /home/node/.ssh\nmkdir -p /var/log/node\n\n\n# Prevent config files from being filled to infinity by force of stop and restart the container \necho \"\" > /home/node/.ssh/config\necho -e \"Host *\\n\\tStrictHostKeyChecking no\\n\" >> /home/node/.ssh/config\n\nif [[ \"$GIT_USE_SSH\" == \"1\" ]] ; then\n echo -e \"Host *\\n\\tUser ${GIT_USERNAME}\\n\\n\" >> /home/node/.ssh/config\nfi\n\nif [ ! -z \"$SSH_KEY\" ]; then\n echo $SSH_KEY > /home/node/.ssh/id_rsa.base64\n base64 -d /home/node/.ssh/id_rsa.base64 > /home/node/.ssh/id_rsa\n chmod 600 /home/node/.ssh/id_rsa\nfi\n\n# Setup git variables\nif [ ! -z \"$GIT_EMAIL\" ]; then\n git config --global user.email \"$GIT_EMAIL\"\nfi\nif [ ! -z \"$GIT_NAME\" ]; then\n git config --global user.name \"$GIT_NAME\"\n git config --global push.default simple\nfi\n\nif [ -n \"$GIT_CONFIG_COMMANDS\" ]; then\n echo \"Ejecutando configuración de Git...\"\n while IFS= read -r cmd; do\n echo \"Ejecutando: $cmd\"\n eval \"$cmd\"\n done <<< \"$GIT_CONFIG_COMMANDS\"\nfi\n\n# Dont pull code down if the .git folder exists\nif [ ! -d \"${WEBROOT}/.git\" ]; then\n # Pull down code from git for our site!\n if [ ! -z \"$GIT_REPO\" ]; then\n # Remove the test index file if you are pulling in a git repo\n if [ ! -z ${REMOVE_FILES} ] && [ ${REMOVE_FILES} == 0 ]; then\n echo \"skiping removal of files\"\n else\n rm -Rf ${WEBROOT}/*\n chown -R node:node ${WEBROOT}\n cd ${WEBROOT}\n fi\n GIT_COMMAND='git clone '\n if [ ! -z \"$GIT_BRANCH\" ]; then\n GIT_COMMAND=${GIT_COMMAND}\" -b ${GIT_BRANCH}\"\n fi\n\n if [ -z \"$GIT_USERNAME\" ] && [ -z \"$GIT_PERSONAL_TOKEN\" ]; then\n GIT_COMMAND=${GIT_COMMAND}\" ${GIT_REPO}\"\n else\n if [[ \"$GIT_USE_SSH\" == \"1\" ]]; then\n GIT_COMMAND=${GIT_COMMAND}\" ${GIT_REPO}\"\n else\n GIT_COMMAND=${GIT_COMMAND}\" https://${GIT_USERNAME}:${GIT_PERSONAL_TOKEN}@${GIT_REPO}\"\n fi\n fi\n ${GIT_COMMAND} ${WEBROOT} || exit 1\n if [ ! -z \"$GIT_TAG\" ]; then\n git checkout ${GIT_TAG} || exit 1\n fi\n if [ ! -z \"$GIT_COMMIT\" ]; then\n git checkout ${GIT_COMMIT} || exit 1\n fi\n if [ -z \"$SKIP_CHOWN\" ]; then\n chown -Rf node:node ${WEBROOT}\n fi\n else\n mkdir -p ${WEBROOT}/src\n echo \"exec sleep 100000\" > ${WEBROOT}/src/start.sh\n chown -R node:node ${WEBROOT}\n chmod 7500 ${WEBROOT}/src/start.sh\n fi\nfi\n\n# Run custom scripts\nif [[ \"$RUN_SCRIPTS\" == \"1\" ]] ; then\n scripts_dir=\"${SCRIPTS_DIR:-${WEBROOT}/scripts}\"\n if [ -d \"$scripts_dir\" ]; then\n if [ -z \"$SKIP_CHMOD\" ]; then\n # make scripts executable incase they aren't\n chmod -Rf 750 $scripts_dir; sync;\n fi\n # run scripts in number order\n for i in `ls $scripts_dir`; do $scripts_dir/$i ; done\n else\n echo \"Can't find script directory\"\n fi\nfi\n\nif [ -z \"$SKIP_NPM\" ]; then\n if [ \"$APPLICATION_ENV\" == \"development\" ]; then\n echo \"Install npm packages and dev dependencies\"\n cd ${WEBROOT}/src; rm -rf node_modules; npm install --unsafe-perm\n else\n echo \"Install npm packages\"\n cd ${WEBROOT}/src; rm -rf node_modules; npm install --omit=dev --unsafe-perm\n fi\nfi\n\n# Set custom webhome/node\nif [ ! -z \"$WEBROOT\" ]; then\n sed -i \"s#command = /var/www/app;#command = ${WEBROOT};#g\" /etc/supervisord.conf\nfi\n\nchown -R node:node /home/node/\nchown -R node:node /var/log/node/\n\n# Start supervisord and services\n${WEBROOT}/src/start.sh\n# /usr/bin/supervisord -n -c /etc/supervisord.conf\n", "text_preview": "#!/bin/bash # Disable Strict Host checking for non interactive git clones mkdir -p -m 0700 /home/node/.ssh mkdir -p /var/log/node # Prevent config files from being filled to infinity by force of stop and restart the container echo \"\" > /hom", "input_sha256": "b74dab927edffeec3a42464a3d9ccc4be02adbf7b57855c62a9e64e3f401e904", "text_sha256": "4b64163ebf50703cf71a9d5d3747948b51da97923e85a3fd64cf9427b6559613", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 20063, "input_policy": "text-and-optional-url-v1", "label_policy_version": 12, "requested_model": "decision-models/baseten-mammoth-27b-latest", "backend": "baseten", "endpoint": "https://inference.baseten.co/v1/systemone", "status": "ok", "training_eligible": true, "label": {"primary": {"main_format": "Technical Writing", "sub_format": null}, "secondary": null, "tertiary": null, "content_structure": []}, "candidate_label": null, "topic": {"primary": {"main_topic": "Programming & Software Engineering", "sub_topic": null}, "secondary": null}, "scores": {"content_quality": 1, "noise_severity": 0, "missing_content_severity": 0, "factual_density": 4, "pretraining_utility": 1, "math_density": 0, "code_density": 4, "reasoning_density": 0, "education_level": 2, "creative_writing_quality": null}, "score_expectations": {"content_quality": 0.5930821313197243, "noise_severity": 0.022230351887704374, "missing_content_severity": 0.0067291260292219055, "factual_density": 3.28376929773524, "pretraining_utility": 0.43181449334009075, "math_density": 0.0033220275405189473, "code_density": 3.823049357894697, "reasoning_density": 0.3781527343911802, "education_level": 2.3808140974055227, "creative_writing_quality": -0.34062089047184246}, "api_choices": {"primary": "Technical Writing", "secondary": "NONE", "tertiary": "NONE", "education_level": "2", "creative_writing_quality": "not_applicable", "primary_topic": "Programming & Software Engineering", "secondary_topic": "NONE"}, "review_reasons": [], "format_slot_diagnostics": {"comparable": true, "secondary_tertiary_identical": false, "secondary_tertiary_max_abs_gap": 0.014129212155378434, "secondary_choice": "NONE", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.989316893079927, "secondary": 0.967017374639445, "tertiary": 0.9817609003667966, "structured_records": 0.0007854649538013971, "procedural_steps": 0.22623625877464193, "worked_solution": 0.0013741591337551027, "contextual_dialogue": 5.4261503567760945e-06, "content_quality": 0.46058705135478684, "noise_severity": 0.9814747067602464, "missing_content_severity": 0.9943923949756485, "factual_density": 0.4031410814460331, "pretraining_utility": 0.43411251066957457, "math_density": 0.9972316437162342, "code_density": 0.852541131578914, "reasoning_density": 0.6848727213406831, "education_level": 0.5328141869329676, "creative_writing_quality": 0.9989952142424501, "primary_topic": 0.9819335297661912, "secondary_topic": 0.8279165021984404}, "probability_margin": {"primary": 0.9832796657930838, "secondary": 0.9534083057679703, "tertiary": 0.9735517331649526, "education_level": 0.26998703271067387, "creative_writing_quality": 0.9987732285511792, "primary_topic": 0.9670011368151583, "secondary_topic": 0.7065062881921984}, "raw_probabilities": {"primary": {"Academic Writing": 4.85314174167319e-05, "Content Listing": 2.932040418840044e-05, "Creative Writing": 3.243042583609208e-05, "Customer Support Page": 2.4018390747258632e-05, "Q&A Forum": 2.1135448246715394e-05, "Discussion Thread": 1.3826849918319416e-05, "Comment Section": 3.399001964794104e-05, "Missing Content": 3.68455874532035e-05, "Knowledge Article": 0.000221269057341529, "Legal Notices": 5.186705967747356e-05, "News Article": 1.0584568051800206e-05, "Organizational Announcement": 2.020684047512303e-05, "Nonfiction Writing": 2.4322170286150014e-05, "Organizational About Page": 2.5205696395285923e-05, "Personal About Page": 2.4800959664161576e-05, "Personal Blog": 1.5007100190402868e-05, "Product Page": 1.315232210660091e-05, "Spam / Ads": 2.206030248320403e-05, "Structured Data": 0.00023236182677631762, "Technical Writing": 0.9897620225349301, "Transcript / Interview": 3.368910211203825e-05, "Tutorial / How-To Guide": 0.006482356741846232, "User Reviews": 1.2899034104432399e-05, "Other / Unknown": 0.00280809614010428}, "secondary": {"Academic Writing": 0.00013143485880484182, "Content Listing": 8.359062590226162e-05, "Creative Writing": 9.912787477877457e-05, "Customer Support Page": 8.899605808488328e-05, "Q&A Forum": 4.784221494203647e-05, "Discussion Thread": 3.6185164075596297e-05, "Comment Section": 0.00010749152022452541, "Missing Content": 0.00015198498091146048, "Knowledge Article": 0.0004760046459233483, "Legal Notices": 9.584238024987574e-05, "News Article": 6.010511913609262e-05, "Organizational Announcement": 6.43132910662052e-05, "Nonfiction Writing": 5.919085682489651e-05, "Organizational About Page": 7.458597752334602e-05, "Personal About Page": 6.524691184093173e-05, "Personal Blog": 5.460710277396305e-05, "Product Page": 3.7440074032146306e-05, "Spam / Ads": 6.918901347448427e-05, "Structured Data": 0.00034230751563679924, "Technical Writing": 0.014368929117738514, "Transcript / Interview": 7.858100078194646e-05, "Tutorial / How-To Guide": 0.01498334492816453, "User Reviews": 3.2008070973586426e-05, "NONE": 0.9683916506961349}, "tertiary": {"Academic Writing": 8.198033330529542e-05, "Content Listing": 5.7111954174457724e-05, "Creative Writing": 8.429574920895798e-05, "Customer Support Page": 5.411700673885554e-05, "Q&A Forum": 2.5466632925830524e-05, "Discussion Thread": 2.020009402038993e-05, "Comment Section": 9.254497330307986e-05, "Missing Content": 0.00015909339321614412, "Knowledge Article": 0.0006544209784086244, "Legal Notices": 0.00013287458979020214, "News Article": 3.840641012018254e-05, "Organizational Announcement": 4.37152750829114e-05, "Nonfiction Writing": 6.419108273152903e-05, "Organizational About Page": 6.579500763096285e-05, "Personal About Page": 4.39358493821954e-05, "Personal Blog": 3.556754505341414e-05, "Product Page": 2.9721452463225563e-05, "Spam / Ads": 5.282528803607803e-05, "Structured Data": 0.00024986607319468725, "Technical Writing": 0.006443338227546422, "Transcript / Interview": 5.756609206973878e-05, "Tutorial / How-To Guide": 0.008969129686560858, "User Reviews": 2.297345352264151e-05, "NONE": 0.9825208628515134}, "structured_records": {"false": 0.9992145350461986, "true": 0.0007854649538013971}, "procedural_steps": {"false": 0.7737637412253581, "true": 0.22623625877464193}, "worked_solution": {"false": 0.998625840866245, "true": 0.0013741591337551027}, "contextual_dialogue": {"false": 0.9999945738496432, "true": 5.4261503567760945e-06}, "content_quality": {"-2": 0.01268478302933896, "-1": 0.07442899969100646, "0": 0.34019435505723594, "1": 0.4525030273754286, "2": 0.12018883484699008}, "noise_severity": {"0": 0.9803013407421376, "1": 0.01794969205331684, "2": 0.0011858812475142348, "3": 0.00034344648876680916, "4": 0.0002196394682646599}, "missing_content_severity": {"0": 0.9952743973647241, "1": 0.00327667155466906, "2": 0.0010085146878044324, "3": 0.0003262404722661144, "4": 0.0001141759205364098}, "factual_density": {"0": 0.0062324408120398725, "1": 0.01572307962963143, "2": 0.13994156053857906, "3": 0.36424857905054836, "4": 0.47385433996920134}, "pretraining_utility": {"-2": 0.009756649642035192, "-1": 0.10005397231324085, "0": 0.39424735337562256, "1": 0.4405022844008007, "2": 0.055439740268300654}, "math_density": {"0": 0.9973447373157985, "1": 0.0023258690485269662, "2": 0.00012907755294281657, "3": 6.326094482079163e-05, "4": 0.00013705513791099325}, "code_density": {"0": 0.0004399906009625999, "1": 0.000858762334924078, "2": 0.018832123979070546, "3": 0.13495014473853953, "4": 0.8449189783465033}, "reasoning_density": {"0": 0.7741344350134203, "1": 0.11219221896856348, "2": 0.08444518436123433, "3": 0.019842499926979548, "4": 0.009385661729802357}, "education_level": {"none": 0.0012293300469202702, "0": 0.002112903135316827, "1": 0.015565113849951998, "2": 0.6106784891108062, "3": 0.3406914564001324, "4": 0.0297227074568724}, "creative_writing_quality": {"not_applicable": 0.9991626785353751, "-2": 9.494759568764744e-05, "-1": 0.00023832973658653793, "0": 0.00038944998419589475, "1": 8.617255124005501e-05, "2": 2.842159691499014e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 4.256462703588836e-05, "Art & Design": 7.04011965733996e-05, "Law & Crime": 4.772038271414228e-05, "Education & Careers": 5.63620872119809e-05, "Entertainment & Media": 3.502210790094795e-05, "Fashion & Beauty": 2.942688408812221e-05, "Business, Economics & Finance": 8.550658616789888e-05, "Food & Dining": 3.730048843933643e-05, "Games & Gaming": 5.931839055455177e-05, "Electronics & Hardware": 0.00029093081135601873, "Health, Healthcare & Wellness": 3.190230359389917e-05, "History & Geography": 4.748850708318966e-05, "Home, Pets & Hobbies": 3.836739465959902e-05, "Industry & Production": 7.408649531556342e-05, "Language, Literature & Philosophy": 4.040143084759582e-05, "Politics & Government": 3.054417456087634e-05, "Religion & Spirituality": 3.398504774267756e-05, "Science, Mathematics & Engineering": 0.00021496722406927755, "Relationships & Community": 2.7417024890687254e-05, "Software Usage & Applications": 0.01562725719079477, "Programming & Software Engineering": 0.982628394005953, "Sports & Fitness": 5.085406757958252e-05, "Vehicles & Transportation": 2.56641123697879e-05, "Travel & Tourism": 4.679183092204763e-05, "Other / Uncovered Subject": 0.0002581655517656523, "Unknown / Insufficient Content": 6.916007580960768e-05}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.000496526427758293, "Art & Design": 0.00035188972436203447, "Law & Crime": 0.0006059458407213807, "Education & Careers": 0.00030099412059041565, "Entertainment & Media": 0.0003301408613202472, "Fashion & Beauty": 0.00018492759706039428, "Business, Economics & Finance": 0.0006000703628984526, "Food & Dining": 0.00019604711217836726, "Games & Gaming": 0.00029520488214450184, "Electronics & Hardware": 0.0009165211352523011, "Health, Healthcare & Wellness": 0.00022832690146001034, "History & Geography": 0.00022905053860212865, "Home, Pets & Hobbies": 0.00019951896246159408, "Industry & Production": 0.0002486912930561566, "Language, Literature & Philosophy": 0.00017735610263276442, "Politics & Government": 0.00022083577586643637, "Religion & Spirituality": 0.0002589133982634604, "Science, Mathematics & Engineering": 0.0006243056920981701, "Relationships & Community": 0.00016327415622719726, "Software Usage & Applications": 0.12802881007553268, "Programming & Software Engineering": 0.02966654163675289, "Sports & Fitness": 0.00021100017644406764, "Vehicles & Transportation": 0.00011007253587114334, "Travel & Tourism": 0.000309290639862879, "Other / Uncovered Subject": 0.0005106457828510285, "NONE": 0.8345350982677311}}, "probabilities": {"primary": {"Academic Writing": 4.853141741673192e-05, "Content Listing": 2.932040418840045e-05, "Creative Writing": 3.243042583609209e-05, "Customer Support Page": 2.401839074725864e-05, "Q&A Forum": 2.1135448246715397e-05, "Discussion Thread": 1.382684991831942e-05, "Comment Section": 3.399001964794105e-05, "Missing Content": 3.6845587453203504e-05, "Knowledge Article": 0.00022126905734152905, "Legal Notices": 5.186705967747357e-05, "News Article": 1.0584568051800208e-05, "Organizational Announcement": 2.0206840475123034e-05, "Nonfiction Writing": 2.432217028615002e-05, "Organizational About Page": 2.520569639528593e-05, "Personal About Page": 2.4800959664161583e-05, "Personal Blog": 1.5007100190402872e-05, "Product Page": 1.3152322106600914e-05, "Spam / Ads": 2.2060302483204034e-05, "Structured Data": 0.00023236182677631768, "Technical Writing": 0.9897620225349303, "Transcript / Interview": 3.3689102112038255e-05, "Tutorial / How-To Guide": 0.006482356741846234, "User Reviews": 1.2899034104432402e-05, "Other / Unknown": 0.0028080961401042806}, "secondary": {"Academic Writing": 0.00013143485880484185, "Content Listing": 8.359062590226164e-05, "Creative Writing": 9.912787477877458e-05, "Customer Support Page": 8.89960580848833e-05, "Q&A Forum": 4.7842214942036473e-05, "Discussion Thread": 3.61851640755963e-05, "Comment Section": 0.00010749152022452542, "Missing Content": 0.0001519849809114605, "Knowledge Article": 0.00047600464592334837, "Legal Notices": 9.584238024987576e-05, "News Article": 6.010511913609263e-05, "Organizational Announcement": 6.431329106620521e-05, "Nonfiction Writing": 5.9190856824896516e-05, "Organizational About Page": 7.458597752334603e-05, "Personal About Page": 6.524691184093175e-05, "Personal Blog": 5.4607102773963054e-05, "Product Page": 3.744007403214631e-05, "Spam / Ads": 6.918901347448428e-05, "Structured Data": 0.0003423075156367993, "Technical Writing": 0.014368929117738516, "Transcript / Interview": 7.858100078194647e-05, "Tutorial / How-To Guide": 0.014983344928164532, "User Reviews": 3.200807097358643e-05, "NONE": 0.968391650696135}, "tertiary": {"Academic Writing": 8.198033330529542e-05, "Content Listing": 5.7111954174457724e-05, "Creative Writing": 8.429574920895798e-05, "Customer Support Page": 5.411700673885554e-05, "Q&A Forum": 2.5466632925830524e-05, "Discussion Thread": 2.020009402038993e-05, "Comment Section": 9.254497330307986e-05, "Missing Content": 0.00015909339321614412, "Knowledge Article": 0.0006544209784086244, "Legal Notices": 0.00013287458979020214, "News Article": 3.840641012018254e-05, "Organizational Announcement": 4.37152750829114e-05, "Nonfiction Writing": 6.419108273152903e-05, "Organizational About Page": 6.579500763096285e-05, "Personal About Page": 4.39358493821954e-05, "Personal Blog": 3.556754505341414e-05, "Product Page": 2.9721452463225563e-05, "Spam / Ads": 5.282528803607803e-05, "Structured Data": 0.00024986607319468725, "Technical Writing": 0.006443338227546422, "Transcript / Interview": 5.756609206973878e-05, "Tutorial / How-To Guide": 0.008969129686560858, "User Reviews": 2.297345352264151e-05, "NONE": 0.9825208628515134}, "structured_records": {"false": 0.9992145350461986, "true": 0.0007854649538013971}, "procedural_steps": {"false": 0.7737637412253581, "true": 0.22623625877464193}, "worked_solution": {"false": 0.998625840866245, "true": 0.0013741591337551027}, "contextual_dialogue": {"false": 0.9999945738496432, "true": 5.4261503567760945e-06}, "content_quality": {"-2": 0.01268478302933896, "-1": 0.07442899969100646, "0": 0.34019435505723594, "1": 0.4525030273754286, "2": 0.12018883484699008}, "noise_severity": {"0": 0.9803013407421374, "1": 0.017949692053316837, "2": 0.0011858812475142345, "3": 0.0003434464887668091, "4": 0.00021963946826465984}, "missing_content_severity": {"0": 0.9952743973647239, "1": 0.003276671554669059, "2": 0.0010085146878044322, "3": 0.00032624047226611434, "4": 0.00011417592053640978}, "factual_density": {"0": 0.0062324408120398725, "1": 0.01572307962963143, "2": 0.13994156053857906, "3": 0.36424857905054836, "4": 0.47385433996920134}, "pretraining_utility": {"-2": 0.009756649642035192, "-1": 0.10005397231324085, "0": 0.39424735337562256, "1": 0.4405022844008007, "2": 0.055439740268300654}, "math_density": {"0": 0.9973447373157985, "1": 0.0023258690485269662, "2": 0.00012907755294281657, "3": 6.326094482079163e-05, "4": 0.00013705513791099325}, "code_density": {"0": 0.0004399906009625999, "1": 0.000858762334924078, "2": 0.018832123979070546, "3": 0.13495014473853953, "4": 0.8449189783465033}, "reasoning_density": {"0": 0.7741344350134203, "1": 0.11219221896856348, "2": 0.08444518436123433, "3": 0.019842499926979548, "4": 0.009385661729802357}, "education_level": {"none": 0.00122933004692027, "0": 0.0021129031353168265, "1": 0.015565113849951994, "2": 0.6106784891108061, "3": 0.3406914564001323, "4": 0.02972270745687239}, "creative_writing_quality": {"not_applicable": 0.9991626785353749, "-2": 9.494759568764741e-05, "-1": 0.00023832973658653787, "0": 0.00038944998419589464, "1": 8.6172551240055e-05, "2": 2.8421596914990134e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 4.2564627035888355e-05, "Art & Design": 7.040119657339959e-05, "Law & Crime": 4.772038271414227e-05, "Education & Careers": 5.636208721198089e-05, "Entertainment & Media": 3.502210790094794e-05, "Fashion & Beauty": 2.94268840881222e-05, "Business, Economics & Finance": 8.550658616789886e-05, "Food & Dining": 3.730048843933642e-05, "Games & Gaming": 5.9318390554551756e-05, "Electronics & Hardware": 0.0002909308113560187, "Health, Healthcare & Wellness": 3.1902303593899166e-05, "History & Geography": 4.7488507083189644e-05, "Home, Pets & Hobbies": 3.8367394659599015e-05, "Industry & Production": 7.408649531556341e-05, "Language, Literature & Philosophy": 4.0401430847595815e-05, "Politics & Government": 3.054417456087633e-05, "Religion & Spirituality": 3.3985047742677556e-05, "Science, Mathematics & Engineering": 0.0002149672240692775, "Relationships & Community": 2.7417024890687247e-05, "Software Usage & Applications": 0.015627257190794767, "Programming & Software Engineering": 0.9826283940059528, "Sports & Fitness": 5.0854067579582506e-05, "Vehicles & Transportation": 2.5664112369787893e-05, "Travel & Tourism": 4.679183092204762e-05, "Other / Uncovered Subject": 0.00025816555176565224, "Unknown / Insufficient Content": 6.916007580960766e-05}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.000496526427758293, "Art & Design": 0.00035188972436203447, "Law & Crime": 0.0006059458407213807, "Education & Careers": 0.00030099412059041565, "Entertainment & Media": 0.0003301408613202472, "Fashion & Beauty": 0.00018492759706039428, "Business, Economics & Finance": 0.0006000703628984526, "Food & Dining": 0.00019604711217836726, "Games & Gaming": 0.00029520488214450184, "Electronics & Hardware": 0.0009165211352523011, "Health, Healthcare & Wellness": 0.00022832690146001034, "History & Geography": 0.00022905053860212865, "Home, Pets & Hobbies": 0.00019951896246159408, "Industry & Production": 0.0002486912930561566, "Language, Literature & Philosophy": 0.00017735610263276442, "Politics & Government": 0.00022083577586643637, "Religion & Spirituality": 0.0002589133982634604, "Science, Mathematics & Engineering": 0.0006243056920981701, "Relationships & Community": 0.00016327415622719726, "Software Usage & Applications": 0.12802881007553268, "Programming & Software Engineering": 0.02966654163675289, "Sports & Fitness": 0.00021100017644406764, "Vehicles & Transportation": 0.00011007253587114334, "Travel & Tourism": 0.000309290639862879, "Other / Uncovered Subject": 0.0005106457828510285, "NONE": 0.8345350982677311}}, "probability_diagnostics": {"primary": {"raw_sum": 0.9999999999999998, "mass_delta": -2.220446049250313e-16, "missing_mass": 2.220446049250313e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "tertiary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "structured_records": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "procedural_steps": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "worked_solution": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "contextual_dialogue": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "content_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "noise_severity": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "missing_content_severity": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "factual_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "pretraining_utility": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "math_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "code_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "reasoning_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "education_level": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "creative_writing_quality": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "primary_topic": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "secondary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}}, "usage": {"input_tokens": 9606, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 9606, "cached_share": null, "cache_discount_reported": null, "reported_cost_usd": null}, "response_metadata": {"model": "decision-models/baseten-mammoth-27b-latest"}, "scored_at_utc": "2026-10-25T18:33:10.889876+00:00", "scoring_key_slot": "assistant_1", "dataset_uid": "e6f0088f-c80b-4afc-9153-0bc3c7047a69", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "38d537e507e9cf86f50b1d4d9b89db3adcccf571a0a019abb25b86f914aff02c", "source_metadata": {"uuid": "e6f0088f-c80b-4afc-9153-0bc3c7047a69", "repo_name": "psanchezg/docker-node-git", "relative_path": "scripts/start.sh", "category": "TOOL", "algo_rel_score": 0.8078989386558533, "quality_score": 3.6130104064941406, "source_meta": {"github_metadata": {"branch": "main", "commit_count": 12, "repo_created_at": "2022-12-30T11:01:16.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 0, "forks": 0, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "db2670323587217fb3204705c76170d9df8509b0", "size_bytes": 3412, "file_timestamp": 1740213404, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "ad57e8dc329626841deaeeb10b234d336f18d369"}}, "parsed_source_meta": {"github_metadata": {"branch": "main", "commit_count": 12, "repo_created_at": "2022-12-30T11:01:16.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 0, "forks": 0, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "db2670323587217fb3204705c76170d9df8509b0", "size_bytes": 3412, "file_timestamp": 1740213404, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "ad57e8dc329626841deaeeb10b234d336f18d369", "url": "https://github.com/psanchezg/docker-node-git/blob/ad57e8dc329626841deaeeb10b234d336f18d369/scripts/start.sh"}, "gpt4o_tokens": 1116, "dataset_split": "shell", "probability_weighted_scores": {"content_quality": 0.5930821313197243, "noise_severity": 0.022230351887704378, "missing_content_severity": 0.006729126029221906, "factual_density": 3.28376929773524, "pretraining_utility": 0.43181449334009075, "math_density": 0.0033220275405189473, "code_density": 3.823049357894697, "reasoning_density": 0.3781527343911802, "education_level": 2.3808140974055227, "creative_writing_quality": -0.34062089047184246}, "score_applicability": {"education_level": 0.9987706699530796, "creative_writing_quality": 0.0008373214646251251}} {"source_group": "shell", "source": "openbmb/UltraData-Stack-v3-L2/shell", "domain": "github.com", "language": "shell", "url": "https://github.com/linhbngo/cloudlab_openstack/blob/59e9d72eb8caaf4cec1d0896534eba2e9b585719/etc/arptables-initscript", "id": "shell-0-88aac766a445acbf3ec22ada4d7686e2", "text": "#!/bin/bash\n#\n# init script for the ARP filter tables\n#\n# Written by <>\n# Modified by <>\n#\t <>\n# Adapted to Debian by <>\n#\n# Adapted to arptables by <>\n#\n# chkconfig: - 15 85\n# description: ARP filtering tables\n#\n### BEGIN INIT INFO\n# Provides:\t\tarptables\n# Required-Start:\t\n# Required-Stop:\t\n# Should-Start:\t\t$local_fs\n# Should-Stop:\t\t$local_fs\n# Default-Start:\tS\n# Default-Stop:\t\t0 1 6\n# Short-Description:\tarptables ruleset management\n# Description:\t\tSaves and restores the state of the arptables rulesets.\n### END INIT INFO\n\n. /lib/lsb/init-functions\n\ntest -f /sbin/arptables || exit 0\n\nARPTABLES_DUMPFILE_STEM=/etc/arptables\nARPTABLES_SUPPORTED_TABLES=\"filter\"\n\nRETVAL=0\nprog=\"arptables\"\ndesc=\"ARP filtering\"\numask 0077\n\n#default configuration\nARPTABLES_MODULES_UNLOAD=\"yes\"\nARPTABLES_LOAD_ON_START=\"no\"\nARPTABLES_SAVE_ON_STOP=\"no\"\nARPTABLES_SAVE_ON_RESTART=\"no\"\nARPTABLES_BACKUP_SUFFIX=\"~\"\n\nconfig=/etc/default/$prog\n[ -f \"$config\" ] && . \"$config\"\n\nfunction load() {\n\tRETVAL=0\n\tlog_daemon_msg \"Restoring arptables rulesets\"\n\tfor table in $ARPTABLES_SUPPORTED_TABLES; do\n\t\tlog_progress_msg \"$table\"\n\t\tif [ -s ${ARPTABLES_DUMPFILE_STEM}.$table ]; then\n\t\t\t/sbin/arptables-restore < ${ARPTABLES_DUMPFILE_STEM}.$table\n\t\t\tRET=$?\n\t\t\tif [ $RET -ne 0 ]; then\n\t\t\t\tlog_progress_msg \"(failed)\"\n\t\t\t\tRETVAL=$RET\n\t\t\tfi\n\t\telse\n\t\t\tlog_progress_msg \"(no saved state)\"\n\t\tfi\n\tdone\n\tif [ -z \"$ARPTABLES_SUPPORTED_TABLES\" ]; then\n\t\tlog_progress_msg \"no kernel support\"\n\telse\n\t\tlog_progress_msg \"done\"\n\tfi\n\tlog_end_msg $RETVAL\n}\n\nfunction clear() {\n\tRETVAL=0\n\tlog_daemon_msg \"Clearing arptables rulesets\"\n\tfor table in $ARPTABLES_SUPPORTED_TABLES; do\n\t\tlog_progress_msg \"$table\"\n\t\t/sbin/arptables -t $table -F\n\tdone\n\n\tif [ \"$ARPTABLES_MODULES_UNLOAD\" = \"yes\" ]; then\n\t\tfor mod in $(grep -E '^(arpt|arptable)_' /proc/modules | cut -d' ' -f1) arptables; do\n\t\t\trmmod $mod 2> /dev/null\n\t\tdone\n\tfi\n\tif [ -z \"$ARPTABLES_SUPPORTED_TABLES\" ]; then\n\t\tlog_progress_msg \"no kernel support\"\n\telse\n\t\tlog_progress_msg \"done\"\n\tfi\n\tlog_end_msg $RETVAL\n}\n\nfunction save() {\n\tRETVAL=0\n\tget_supported_tables\n\tlog_daemon_msg \"Saving arptables rulesets\"\n\tfor table in $ARPTABLES_SUPPORTED_TABLES; do\n\t\tlog_progress_msg \"$table\"\n\t\t[ -n \"$ARPTABLES_BACKUP_SUFFIX\" ] && [ -s ${ARPTABLES_DUMPFILE_STEM}.$table ] && \\\n\t\t mv ${ARPTABLES_DUMPFILE_STEM}.$table ${ARPTABLES_DUMPFILE_STEM}.$table$ARPTABLES_BACKUP_SUFFIX\n\t\t/sbin/arptables-save -t $table > ${ARPTABLES_DUMPFILE_STEM}.$table\n\t\tRET=$?\n\t\tif [ $RET -ne 0 ]; then\n\t\t\tlog_progress_msg \"(failed)\"\n\t\t\tRETVAL=$RET\n\t\tfi\n\tdone\n\tif [ -z \"$ARPTABLES_SUPPORTED_TABLES\" ]; then\n\t\tlog_progress_msg \"no kernel support\"\n\telse\n\t\tlog_progress_msg \"done\"\n\tfi\n\tlog_end_msg $RETVAL\n}\n\ncase \"$1\" in\n start)\n\t[ \"$ARPTABLES_LOAD_ON_START\" = \"yes\" ] && load\n\t;;\n stop)\n\t[ \"$ARPTABLES_SAVE_ON_STOP\" = \"yes\" ] && save\n\tclear\n\t;;\n restart|reload|force-reload)\n\t[ \"$ARPTABLES_SAVE_ON_RESTART\" = \"yes\" ] && save\n\tclear\n\t[ \"$ARPTABLES_LOAD_ON_START\" = \"yes\" ] && load\n\t;;\n load)\n\tload\n\t;;\n save)\n\tsave\n\t;;\n status)\n\tget_supported_tables\n\tif [ -z \"$ARPTABLES_SUPPORTED_TABLES\" ]; then\n\t\tlog_failure_msg \"No kernel support for arptables.\"\n\t\tRETVAL=1\n\telse\n\t\tlog_daemon_msg \"Arptables support available, number of installed rules\"\n\t\tfor table in $ARPTABLES_SUPPORTED_TABLES; do\n\t\t\tCOUNT=$(( $(/sbin/arptables -t $table -L | sed -e \"/^Chain/! d\" -e \"s/^.*entries: //\" -e \"s/,.*$/ +/\") 0 ))\n\t\t\tlog_progress_msg \"$table($COUNT)\"\n\t\tdone\n\t\tlog_end_msg 0\n\t\tRETVAL=0\n\tfi\n\t;;\n *)\n\techo \"Usage: $0 {start|stop|restart|reload|force-reload|load|save|status}\" >&2\n\tRETVAL=1\nesac\n\nexit $RETVAL\n", "text_preview": "#!/bin/bash # # init script for the ARP filter tables # # Written by <> # Modified by <> # <> # Adapted to Debian by <> # # Adapted to arptables by <> # # chkconfig: - 15", "input_sha256": "8429ee055da95993fb6e08c8a6c6fd08c14c85b5fc9c72a7b2e76daf08f5fbb8", "text_sha256": "88aac766a445acbf3ec22ada4d7686e2135de03a282c72d64d84ba31deb7ac11", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 20067, "input_policy": "text-and-optional-url-v1", "label_policy_version": 12, "requested_model": "decision-models/baseten-mammoth-27b-latest", "backend": "baseten", "endpoint": "https://inference.baseten.co/v1/systemone", "status": "ok", "training_eligible": true, "label": {"primary": {"main_format": "Technical Writing", "sub_format": null}, "secondary": null, "tertiary": null, "content_structure": []}, "candidate_label": null, "topic": {"primary": {"main_topic": "Programming & Software Engineering", "sub_topic": null}, "secondary": null}, "scores": {"content_quality": 1, "noise_severity": 0, "missing_content_severity": 0, "factual_density": 3, "pretraining_utility": 0, "math_density": 0, "code_density": 4, "reasoning_density": 0, "education_level": 2, "creative_writing_quality": null}, "score_expectations": {"content_quality": 0.9385438155185788, "noise_severity": 0.12990760203006146, "missing_content_severity": 0.060601169359569974, "factual_density": 3.006604380130172, "pretraining_utility": 0.28903898195510946, "math_density": 0.08193655553988728, "code_density": 3.7213956027182644, "reasoning_density": 0.3694844359454008, "education_level": 2.4984879109724796, "creative_writing_quality": -0.17192381354830144}, "api_choices": {"primary": "Technical Writing", "secondary": "NONE", "tertiary": "NONE", "education_level": "2", "creative_writing_quality": "not_applicable", "primary_topic": "Programming & Software Engineering", "secondary_topic": "NONE"}, "review_reasons": [], "format_slot_diagnostics": {"comparable": true, "secondary_tertiary_identical": false, "secondary_tertiary_max_abs_gap": 0.01980759552329281, "secondary_choice": "NONE", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.9910950906533028, "secondary": 0.9356648086548707, "tertiary": 0.9149960133262173, "structured_records": 0.05655230714715533, "procedural_steps": 0.06131977006018262, "worked_solution": 0.0015940548844213533, "contextual_dialogue": 6.707048030474511e-06, "content_quality": 0.549006538737725, "noise_severity": 0.8917436649749487, "missing_content_severity": 0.9494990255336917, "factual_density": 0.4823026322855062, "pretraining_utility": 0.5080754160179417, "math_density": 0.9317195370500939, "code_density": 0.767829668931887, "reasoning_density": 0.6920963033788327, "education_level": 0.43297558504815653, "creative_writing_quality": 0.9990955463361629, "primary_topic": 0.9505951680238501, "secondary_topic": 0.7966340601476264}, "probability_margin": {"primary": 0.9861668601848951, "secondary": 0.9097950327786659, "tertiary": 0.8875264011831231, "education_level": 0.13067608436078787, "creative_writing_quality": 0.9988295443404897, "primary_topic": 0.9102925314873739, "secondary_topic": 0.6848476471171026}, "raw_probabilities": {"primary": {"Academic Writing": 4.988195786132395e-05, "Content Listing": 2.9821079138997254e-05, "Creative Writing": 2.4871455595839144e-05, "Customer Support Page": 2.0356359880229315e-05, "Q&A Forum": 1.4656788507152726e-05, "Discussion Thread": 1.3167869792207581e-05, "Comment Section": 2.5323657300169583e-05, "Missing Content": 3.5558674826877417e-05, "Knowledge Article": 0.0002678924768997584, "Legal Notices": 0.00011050612598870063, "News Article": 8.619663479781703e-06, "Organizational Announcement": 1.752251722836036e-05, "Nonfiction Writing": 1.8807640844405985e-05, "Organizational About Page": 2.071960247757374e-05, "Personal About Page": 2.181550778885246e-05, "Personal Blog": 1.160194014060491e-05, "Product Page": 1.2034938190086062e-05, "Spam / Ads": 1.4712083905720182e-05, "Structured Data": 0.0006769472614978818, "Technical Writing": 0.9914661285427485, "Transcript / Interview": 2.795512998649719e-05, "Tutorial / How-To Guide": 0.0018004302275217178, "User Reviews": 1.140014054553182e-05, "Other / Unknown": 0.0052992683578533956}, "secondary": {"Academic Writing": 0.00041599706872441747, "Content Listing": 0.00021634676085006594, "Creative Writing": 0.00025708492303232145, "Customer Support Page": 0.00019538535949393496, "Q&A Forum": 0.00011708646651564047, "Discussion Thread": 0.0001025279534360578, "Comment Section": 0.0002481381321304409, "Missing Content": 0.000756454226053697, "Knowledge Article": 0.0015239493429468876, "Legal Notices": 0.01685547614179031, "News Article": 0.00018416826401253158, "Organizational Announcement": 0.00025833663814427176, "Nonfiction Writing": 0.00017710410561594446, "Organizational About Page": 0.0002454890756588058, "Personal About Page": 0.00022914450171582088, "Personal Blog": 0.00015126602616003098, "Product Page": 0.00010716408565147683, "Spam / Ads": 0.00019914695226027265, "Structured Data": 0.004948539690819754, "Technical Writing": 0.028550408848918483, "Transcript / Interview": 0.0002484337568300926, "Tutorial / How-To Guide": 0.005581388813661121, "User Reviews": 8.552123799324697e-05, "NONE": 0.9383454416275844}, "tertiary": {"Academic Writing": 0.00045111702269875787, "Content Listing": 0.00027907916709035436, "Creative Writing": 0.00033955235748190765, "Customer Support Page": 0.0001980525255152865, "Q&A Forum": 0.00012803260103917528, "Discussion Thread": 0.00011362434379483094, "Comment Section": 0.0003323390558736221, "Missing Content": 0.0010246012894565464, "Knowledge Article": 0.003164926285667002, "Legal Notices": 0.02964963191833951, "News Article": 0.00017064722065627925, "Organizational Announcement": 0.00034612826208081074, "Nonfiction Writing": 0.0002538963945528474, "Organizational About Page": 0.00032448582094447923, "Personal About Page": 0.00040334993715655305, "Personal Blog": 0.00018833928225799339, "Product Page": 0.00014182672627814302, "Spam / Ads": 0.0002609052996198537, "Structured Data": 0.004827547384783574, "Technical Writing": 0.031011444921168467, "Transcript / Interview": 0.00027320263575854016, "Tutorial / How-To Guide": 0.007478271102008476, "User Reviews": 0.00010115234148539264, "NONE": 0.9185378461042916}, "structured_records": {"false": 0.9434476928528447, "true": 0.05655230714715533}, "procedural_steps": {"false": 0.9386802299398174, "true": 0.06131977006018262}, "worked_solution": {"false": 0.9984059451155787, "true": 0.0015940548844213533}, "contextual_dialogue": {"false": 0.9999932929519695, "true": 6.707048030474511e-06}, "content_quality": {"-2": 0.007248806720094294, "-1": 0.026858405846414937, "0": 0.22586093714496283, "1": 0.5001638657718734, "2": 0.23986798451665445}, "noise_severity": {"0": 0.8815692936844426, "1": 0.11064270283187566, "2": 0.005099750077218044, "3": 0.0016876145821057512, "4": 0.0010006388243581214}, "missing_content_severity": {"0": 0.954474168518481, "1": 0.03347033484391398, "2": 0.00986219724853264, "3": 0.0013667575376988645, "4": 0.0008265418513735306}, "factual_density": {"0": 0.0071111607715068385, "1": 0.03825462841172413, "2": 0.20947349142564164, "3": 0.4312401086973453, "4": 0.31392061069378213}, "pretraining_utility": {"-2": 0.010707483142600963, "-1": 0.12922029312647834, "0": 0.4665203329641268, "1": 0.34742954016679795, "2": 0.04612235059999587}, "math_density": {"0": 0.9281407522475298, "1": 0.06696182284643189, "2": 0.0018998795613612773, "3": 0.0008152078079749505, "4": 0.0021823375367019935}, "code_density": {"0": 0.00046914441528562604, "1": 0.0009367693141630115, "2": 0.021799793144622336, "3": 0.23031792538885937, "4": 0.7464763677370697}, "reasoning_density": {"0": 0.7729296112473493, "1": 0.1100444481468444, "2": 0.0956201274330382, "3": 0.017423519758592472, "4": 0.003982293414175652}, "education_level": {"none": 0.0011564960893225454, "0": 0.002129753531166015, "1": 0.013164567928074033, "2": 0.5274796542067971, "3": 0.39680356984600923, "4": 0.05926595839863102}, "creative_writing_quality": {"not_applicable": 0.9992462886134691, "-2": 7.184441823690401e-05, "-1": 0.00014128217094313612, "0": 0.0004167442729794283, "1": 9.229097721349767e-05, "2": 3.1549547158121965e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 8.134457047163968e-05, "Art & Design": 0.00014270032690909804, "Law & Crime": 0.00012071009416269644, "Education & Careers": 5.667161438287115e-05, "Entertainment & Media": 6.258768894357405e-05, "Fashion & Beauty": 6.152135430496291e-05, "Business, Economics & Finance": 8.641426347871735e-05, "Food & Dining": 5.459211312223063e-05, "Games & Gaming": 0.00010535230918980764, "Electronics & Hardware": 0.001301689402587298, "Health, Healthcare & Wellness": 6.655064840968724e-05, "History & Geography": 9.592185342892485e-05, "Home, Pets & Hobbies": 6.9167679345989e-05, "Industry & Production": 8.473995095844654e-05, "Language, Literature & Philosophy": 6.619832342688852e-05, "Politics & Government": 6.43011865022472e-05, "Religion & Spirituality": 6.0689322538154816e-05, "Science, Mathematics & Engineering": 0.001119949173531759, "Relationships & Community": 4.013590349912982e-05, "Software Usage & Applications": 0.0422028223817128, "Programming & Software Engineering": 0.9524953538690867, "Sports & Fitness": 8.195063162961119e-05, "Vehicles & Transportation": 6.194730923658439e-05, "Travel & Tourism": 8.6699794037277e-05, "Other / Uncovered Subject": 0.0012250820780139566, "Unknown / Insufficient Content": 0.00010490615708892656}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.000740615387085656, "Art & Design": 0.0004625232290308435, "Law & Crime": 0.0008315673911733386, "Education & Careers": 0.00036000396284408166, "Entertainment & Media": 0.0004303326314453974, "Fashion & Beauty": 0.0002631036017803799, "Business, Economics & Finance": 0.0005274001508044914, "Food & Dining": 0.00022206990366185092, "Games & Gaming": 0.0003599157387371117, "Electronics & Hardware": 0.0025333320448315583, "Health, Healthcare & Wellness": 0.00030335299301920664, "History & Geography": 0.00033953614852283014, "Home, Pets & Hobbies": 0.00026837026537310195, "Industry & Production": 0.0002825474431875297, "Language, Literature & Philosophy": 0.00020736968928748806, "Politics & Government": 0.0004011035988154359, "Religion & Spirituality": 0.000364708136527485, "Science, Mathematics & Engineering": 0.0019388012283953295, "Relationships & Community": 0.00021984627793067437, "Software Usage & Applications": 0.1196081799479228, "Programming & Software Engineering": 0.062394538586579694, "Sports & Fitness": 0.00028189610614420336, "Vehicles & Transportation": 0.0001639565921434438, "Travel & Tourism": 0.0004487997892791408, "Other / Uncovered Subject": 0.0015903020904514944, "NONE": 0.8044558270650254}}, "probabilities": {"primary": {"Academic Writing": 4.9881957861323935e-05, "Content Listing": 2.9821079138997247e-05, "Creative Writing": 2.4871455595839138e-05, "Customer Support Page": 2.0356359880229312e-05, "Q&A Forum": 1.4656788507152723e-05, "Discussion Thread": 1.3167869792207578e-05, "Comment Section": 2.5323657300169576e-05, "Missing Content": 3.555867482687741e-05, "Knowledge Article": 0.00026789247689975833, "Legal Notices": 0.00011050612598870061, "News Article": 8.619663479781701e-06, "Organizational Announcement": 1.7522517228360357e-05, "Nonfiction Writing": 1.8807640844405982e-05, "Organizational About Page": 2.0719602477573736e-05, "Personal About Page": 2.1815507788852457e-05, "Personal Blog": 1.1601940140604907e-05, "Product Page": 1.2034938190086058e-05, "Spam / Ads": 1.4712083905720178e-05, "Structured Data": 0.0006769472614978817, "Technical Writing": 0.9914661285427483, "Transcript / Interview": 2.795512998649718e-05, "Tutorial / How-To Guide": 0.0018004302275217174, "User Reviews": 1.1400140545531818e-05, "Other / Unknown": 0.005299268357853395}, "secondary": {"Academic Writing": 0.00041599706872441747, "Content Listing": 0.00021634676085006594, "Creative Writing": 0.00025708492303232145, "Customer Support Page": 0.00019538535949393496, "Q&A Forum": 0.00011708646651564047, "Discussion Thread": 0.0001025279534360578, "Comment Section": 0.0002481381321304409, "Missing Content": 0.000756454226053697, "Knowledge Article": 0.0015239493429468876, "Legal Notices": 0.01685547614179031, "News Article": 0.00018416826401253158, "Organizational Announcement": 0.00025833663814427176, "Nonfiction Writing": 0.00017710410561594446, "Organizational About Page": 0.0002454890756588058, "Personal About Page": 0.00022914450171582088, "Personal Blog": 0.00015126602616003098, "Product Page": 0.00010716408565147683, "Spam / Ads": 0.00019914695226027265, "Structured Data": 0.004948539690819754, "Technical Writing": 0.028550408848918483, "Transcript / Interview": 0.0002484337568300926, "Tutorial / How-To Guide": 0.005581388813661121, "User Reviews": 8.552123799324697e-05, "NONE": 0.9383454416275844}, "tertiary": {"Academic Writing": 0.00045111702269875787, "Content Listing": 0.00027907916709035436, "Creative Writing": 0.00033955235748190765, "Customer Support Page": 0.0001980525255152865, "Q&A Forum": 0.00012803260103917528, "Discussion Thread": 0.00011362434379483094, "Comment Section": 0.0003323390558736221, "Missing Content": 0.0010246012894565464, "Knowledge Article": 0.003164926285667002, "Legal Notices": 0.02964963191833951, "News Article": 0.00017064722065627925, "Organizational Announcement": 0.00034612826208081074, "Nonfiction Writing": 0.0002538963945528474, "Organizational About Page": 0.00032448582094447923, "Personal About Page": 0.00040334993715655305, "Personal Blog": 0.00018833928225799339, "Product Page": 0.00014182672627814302, "Spam / Ads": 0.0002609052996198537, "Structured Data": 0.004827547384783574, "Technical Writing": 0.031011444921168467, "Transcript / Interview": 0.00027320263575854016, "Tutorial / How-To Guide": 0.007478271102008476, "User Reviews": 0.00010115234148539264, "NONE": 0.9185378461042916}, "structured_records": {"false": 0.9434476928528447, "true": 0.05655230714715533}, "procedural_steps": {"false": 0.9386802299398174, "true": 0.06131977006018262}, "worked_solution": {"false": 0.9984059451155787, "true": 0.0015940548844213533}, "contextual_dialogue": {"false": 0.9999932929519695, "true": 6.707048030474511e-06}, "content_quality": {"-2": 0.007248806720094294, "-1": 0.026858405846414937, "0": 0.22586093714496283, "1": 0.5001638657718734, "2": 0.23986798451665445}, "noise_severity": {"0": 0.8815692936844424, "1": 0.11064270283187563, "2": 0.005099750077218043, "3": 0.0016876145821057508, "4": 0.0010006388243581211}, "missing_content_severity": {"0": 0.954474168518481, "1": 0.03347033484391398, "2": 0.00986219724853264, "3": 0.0013667575376988645, "4": 0.0008265418513735306}, "factual_density": {"0": 0.0071111607715068385, "1": 0.03825462841172413, "2": 0.20947349142564164, "3": 0.4312401086973453, "4": 0.31392061069378213}, "pretraining_utility": {"-2": 0.010707483142600964, "-1": 0.12922029312647837, "0": 0.46652033296412687, "1": 0.347429540166798, "2": 0.04612235059999588}, "math_density": {"0": 0.9281407522475299, "1": 0.0669618228464319, "2": 0.0018998795613612775, "3": 0.0008152078079749506, "4": 0.002182337536701994}, "code_density": {"0": 0.00046914441528562604, "1": 0.0009367693141630115, "2": 0.021799793144622336, "3": 0.23031792538885937, "4": 0.7464763677370697}, "reasoning_density": {"0": 0.7729296112473493, "1": 0.1100444481468444, "2": 0.0956201274330382, "3": 0.017423519758592472, "4": 0.003982293414175652}, "education_level": {"none": 0.0011564960893225456, "0": 0.0021297535311660155, "1": 0.013164567928074035, "2": 0.5274796542067972, "3": 0.3968035698460093, "4": 0.059265958398631025}, "creative_writing_quality": {"not_applicable": 0.9992462886134689, "-2": 7.1844418236904e-05, "-1": 0.0001412821709431361, "0": 0.0004167442729794282, "1": 9.229097721349765e-05, "2": 3.154954715812196e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 8.134457047163968e-05, "Art & Design": 0.00014270032690909804, "Law & Crime": 0.00012071009416269644, "Education & Careers": 5.667161438287115e-05, "Entertainment & Media": 6.258768894357405e-05, "Fashion & Beauty": 6.152135430496291e-05, "Business, Economics & Finance": 8.641426347871735e-05, "Food & Dining": 5.459211312223063e-05, "Games & Gaming": 0.00010535230918980764, "Electronics & Hardware": 0.001301689402587298, "Health, Healthcare & Wellness": 6.655064840968724e-05, "History & Geography": 9.592185342892485e-05, "Home, Pets & Hobbies": 6.9167679345989e-05, "Industry & Production": 8.473995095844654e-05, "Language, Literature & Philosophy": 6.619832342688852e-05, "Politics & Government": 6.43011865022472e-05, "Religion & Spirituality": 6.0689322538154816e-05, "Science, Mathematics & Engineering": 0.001119949173531759, "Relationships & Community": 4.013590349912982e-05, "Software Usage & Applications": 0.0422028223817128, "Programming & Software Engineering": 0.9524953538690867, "Sports & Fitness": 8.195063162961119e-05, "Vehicles & Transportation": 6.194730923658439e-05, "Travel & Tourism": 8.6699794037277e-05, "Other / Uncovered Subject": 0.0012250820780139566, "Unknown / Insufficient Content": 0.00010490615708892656}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.000740615387085656, "Art & Design": 0.0004625232290308435, "Law & Crime": 0.0008315673911733386, "Education & Careers": 0.00036000396284408166, "Entertainment & Media": 0.0004303326314453974, "Fashion & Beauty": 0.0002631036017803799, "Business, Economics & Finance": 0.0005274001508044914, "Food & Dining": 0.00022206990366185092, "Games & Gaming": 0.0003599157387371117, "Electronics & Hardware": 0.0025333320448315583, "Health, Healthcare & Wellness": 0.00030335299301920664, "History & Geography": 0.00033953614852283014, "Home, Pets & Hobbies": 0.00026837026537310195, "Industry & Production": 0.0002825474431875297, "Language, Literature & Philosophy": 0.00020736968928748806, "Politics & Government": 0.0004011035988154359, "Religion & Spirituality": 0.000364708136527485, "Science, Mathematics & Engineering": 0.0019388012283953295, "Relationships & Community": 0.00021984627793067437, "Software Usage & Applications": 0.1196081799479228, "Programming & Software Engineering": 0.062394538586579694, "Sports & Fitness": 0.00028189610614420336, "Vehicles & Transportation": 0.0001639565921434438, "Travel & Tourism": 0.0004487997892791408, "Other / Uncovered Subject": 0.0015903020904514944, "NONE": 0.8044558270650254}}, "probability_diagnostics": {"primary": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "secondary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "tertiary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "structured_records": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "procedural_steps": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "worked_solution": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "contextual_dialogue": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "content_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "noise_severity": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "missing_content_severity": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "factual_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "pretraining_utility": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "math_density": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "code_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "reasoning_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "education_level": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "creative_writing_quality": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "primary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}}, "usage": {"input_tokens": 9793, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 9793, "cached_share": null, "cache_discount_reported": null, "reported_cost_usd": null}, "response_metadata": {"model": "decision-models/baseten-mammoth-27b-latest"}, "scored_at_utc": "2026-10-25T18:33:13.984932+00:00", "scoring_key_slot": "primary", "dataset_uid": "468612d4-c848-4e9f-9f83-661832d60108", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "8cdc17dd994614719b03855dc42142a36710538d53b7ac3055d58dca4bf84f2d", "source_metadata": {"uuid": "468612d4-c848-4e9f-9f83-661832d60108", "repo_name": "linhbngo/cloudlab_openstack", "relative_path": "etc/arptables-initscript", "category": "TOOL", "algo_rel_score": 0.940671980381012, "quality_score": 5.547479152679443, "source_meta": {"github_metadata": {"branch": "master", "commit_count": 13, "repo_created_at": "2018-01-17T15:17:20.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 2, "forks": 51, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "fa7b91feffa1ccf6577264bd05f79dea9ecf296e", "size_bytes": 3646, "file_timestamp": 1538788395, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "59e9d72eb8caaf4cec1d0896534eba2e9b585719"}}, "parsed_source_meta": {"github_metadata": {"branch": "master", "commit_count": 13, "repo_created_at": "2018-01-17T15:17:20.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 2, "forks": 51, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "fa7b91feffa1ccf6577264bd05f79dea9ecf296e", "size_bytes": 3646, "file_timestamp": 1538788395, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "59e9d72eb8caaf4cec1d0896534eba2e9b585719", "url": "https://github.com/linhbngo/cloudlab_openstack/blob/59e9d72eb8caaf4cec1d0896534eba2e9b585719/etc/arptables-initscript"}, "gpt4o_tokens": 1247, "dataset_split": "shell", "probability_weighted_scores": {"content_quality": 0.9385438155185788, "noise_severity": 0.1299076020300615, "missing_content_severity": 0.060601169359569974, "factual_density": 3.006604380130172, "pretraining_utility": 0.28903898195510946, "math_density": 0.08193655553988728, "code_density": 3.7213956027182644, "reasoning_density": 0.3694844359454008, "education_level": 2.4984879109724796, "creative_writing_quality": -0.17192381354830144}, "score_applicability": {"education_level": 0.9988435039106776, "creative_writing_quality": 0.000753711386531088}} {"source_group": "shell", "source": "openbmb/UltraData-Stack-v3-L2/shell", "domain": "github.com", "language": "shell", "url": "https://github.com/samjonester/dotfiles/blob/da4d10b4403fcb5c722f2b881275a2957b193282/core/utils.zsh", "id": "shell-0-fe09da79f0f0309c4a2acd6a925996f3", "text": "# Useful aliases and functions\n\n# From https://twitter.com/climagic/status/370595711483514880\n# Example: git push origin master -f || fliptable\nfliptable()\n{\n\techo \"(╯°□°)╯ ┻━┻\";\n}\n\nultraflip()\n{\n\techo \" ┻━┻ ︵╰(°□°)╯︵ ┻━┻\";\n}\n\n# Open VSCode on the current directory\nvs () {\n\tcode .\n}\n\n# Switch to the `main` branch of your current repo\ncmain () {\n git checkout main\n}\n\n# Checkout the `master` branch of your current repo\ncmaster () {\n\tgit checkout master\n}\n\n# Switch to the last branch you were on before the current one\nclast () {\n\tgit checkout @{-1}\n}\n\n# Switch to the Nth previous branch before the current one\n# If you checked out `main`, then `dev`, then `myfeature`,\n# running `clastn 2` would switch to `main`\nclastn () {\n\tgit checkout @{-$1}\n}\n\n# Grep for X in a directory\ngrll ()\n{\n\tls --color -lah --group-directories-first | grep $1\n}\n\n##\n# Create a local SSH tunnel to a remote service.\n# This is just a stub to remember the command.\ntun()\n{\n\tlocal username=\"$1\"\n\tlocal service_local=\"$2\"\n\tlocal service_remote=\"$3\"\n\tssh -f -T -N -L $service_local:$service_remote -pPORT $username@$remote_server\n}\n\n##\n# Get current OS version and other information.\nv()\n{\n\tcase $OS in\n\t\tosx)\n\t\t\tsystem_profiler SPSoftwareDataType\n\t\t\t;;\n\t\t# Note, at this point nix is technically CentOS. Update .bashrc to\n\t\t# represent more OSes.\n\t\tnix)\n\t\t\techo -e \"Operating System:\\n\"\n\t\t\techo -e \" `cat /etc/redhat-release`\\n\"\n\t\t\t;;\n\tesac\n\n\techo -e \"Kernel & Architecture:\\n\"\n\techo -e \" `uname -r -v -p`\\n\"\n}\n\n##\n# Pass a filename, with archive extension, and this will figure out the rest.\n#\n# Usage: archive . [ directory | filename ]\n#\n# For example, type \"archive updates.tar.gz updatesdir\" and this function will run the\n# necessary commands for generating an archive with .tar.gz compression.\n#\n# Note: bz2 exclusively requires that you just pass bz2 as the desiredfilename\n# because it cannot be output into a single file, but each file will be\n# individually archived with bzip2 compression.\n#\narchive()\n{\n\tcase $1 in\n\t\t*bz2) bzip2 \"${@:2}\" ;;\n\t\t*.gz) gzip -c \"${@:2}\" > $1 ;;\n\t\t*.tar) tar -cvf $1 \"${@:2}\" ;;\n\t\t*.tbz) tar -jcvf $1 \"${@:2}\" ;;\n\t\t*.tbz2) tar -jcvf $1 \"${@:2}\" ;;\n\t\t*.tar.bz2) tar -jcvf $1 \"${@:2}\" ;;\n\t\t*.tgz) tar -zcvf $1 \"${@:2}\" ;;\n\t\t*.tar.gz) tar -zcvf $1 \"${@:2}\" ;;\n\t\t*.zip) zip -r $1 \"${@:2}\" ;;\n\t\t*.ZIP) zip -r $1 \"${@:2}\" ;;\n\t\t*) echo \"'${@:2}' cannot be archived via archive()\" ;;\n\tesac\n}\n\n##\n# Usage: extract \n# Description: extracts archived files / mounts disk images\n# Note: .dmg/hdiutil is Mac OS X-specific.\n# Credit: https://github.com/holman/dotfiles\nextract ()\n{\n\tif [ -f $1 ]; then\n\t\tcase $1 in\n\t\t\t*.tar.bz2) tar -jxvf $1 ;;\n\t\t\t*.tar.gz) tar -zxvf $1 ;;\n\t\t\t*.bz2) bunzip2 $1 ;;\n\t\t\t*.dmg) hdiutil mount $1 ;;\n\t\t\t*.gz) gunzip $1 ;;\n\t\t\t*.tar) tar -xvf $1 ;;\n\t\t\t*.tbz2) tar -jxvf $1 ;;\n\t\t\t*.tgz) tar -zxvf $1 ;;\n\t\t\t*.zip) unzip $1 ;;\n\t\t\t*.ZIP) unzip $1 ;;\n\t\t\t*.pax) cat $1 | pax -r ;;\n\t\t\t*.pax.Z) uncompress $1 --stdout | pax -r ;;\n\t\t\t*.Z) uncompress $1 ;;\n\t\t\t*) echo \"'$1' cannot be extracted/mounted via extract()\" ;;\n\t\tesac\n\telse\n\t\techo \"'$1' is not a valid file\"\n\tfi\n}\n\n\n##\n# Determine size of a file or total size of a directory.\n# Credit: https://github.com/mathiasbynens/dotfiles\nfs()\n{\n\tif du -b /dev/null > /dev/null 2>&1; then\n\t\tlocal arg=-sbh;\n\telse\n\t\tlocal arg=-sh;\n\tfi\n\n\tif [[ -n \"$@\" ]]; then\n\t\tdu $arg -- \"$@\";\n\telse\n\t\tdu $arg .[^.]* *;\n\tfi\n}\n\n##\n# Get total directory and file count.\n# TODO: integrate filesizes\ntt()\n{\n\tCHECKDIR=.\n\tif [[ -n \"$1\" ]]; then\n\t\tCHECKDIR=\"$1\"\n\tfi\n\n\t# Directory listings include \".\" and \"..\"\n\tDIRECTORY_PADDING=1\n\n\tDIRECTORIES=\"`find $CHECKDIR -maxdepth 1 -type d | wc -l`\"\n\tDIRECTORIES_WITH_LINKS=\"`find $CHECKDIR -follow -maxdepth 1 -type d | wc -l`\"\n\tDIRECTORIES_LINKS=\"`expr $DIRECTORIES_WITH_LINKS - $DIRECTORIES`\"\n\tFILES=\"`find $CHECKDIR -maxdepth 1 -type f | wc -l`\"\n\tFILES_WITH_LINKS=\"`find $CHECKDIR -follow -maxdepth 1 -type f | wc -l`\"\n\tFILES_LINKS=\"`expr $FILES_WITH_LINKS - $FILES`\"\n\n\techo \"Directories: `expr $DIRECTORIES_WITH_LINKS - $DIRECTORY_PADDING` (`expr $DIRECTORIES_LINKS`)\"\n\techo \"Files: $FILES_WITH_LINKS ($FILES_LINKS)\"\n}\n\n# Find file\n# Usage: ff (file)\nff()\n{\n find . -name $1\n}\n\nget_hex ()\n{\n echo $1 | hexdump\n}\n", "text_preview": "# Useful aliases and functions # From https://twitter.com/climagic/status/370595711483514880 # Example: git push origin master -f || fliptable fliptable() { echo \"(╯°□°)╯ ┻━┻\"; } ultraflip() { echo \" ┻━┻ ︵╰(°□°)╯︵ ┻━┻\"; } # Open VSCode on t", "input_sha256": "ca6fa2f394380792b6c8e506e793d483fc216a9c00dd1d5e8ea191b37137ca32", "text_sha256": "fe09da79f0f0309c4a2acd6a925996f32d394d638dd5d193a09f38857ffd1489", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 20068, "input_policy": "text-and-optional-url-v1", "label_policy_version": 12, "requested_model": "decision-models/baseten-mammoth-27b-latest", "backend": "baseten", "endpoint": "https://inference.baseten.co/v1/systemone", "status": "ok", "training_eligible": true, "label": {"primary": {"main_format": "Technical Writing", "sub_format": null}, "secondary": null, "tertiary": null, "content_structure": []}, "candidate_label": null, "topic": {"primary": {"main_topic": "Programming & Software Engineering", "sub_topic": null}, "secondary": null}, "scores": {"content_quality": 1, "noise_severity": 0, "missing_content_severity": 0, "factual_density": 4, "pretraining_utility": 1, "math_density": 0, "code_density": 4, "reasoning_density": 0, "education_level": 2, "creative_writing_quality": null}, "score_expectations": {"content_quality": 0.6211833613242265, "noise_severity": 0.13249093648097834, "missing_content_severity": 0.1420096429323267, "factual_density": 3.3631176689403635, "pretraining_utility": 0.38308795137388457, "math_density": 0.04350672916819381, "code_density": 3.788747692726407, "reasoning_density": 0.380114135644905, "education_level": 2.0068266412462457, "creative_writing_quality": -0.10792880528562211}, "api_choices": {"primary": "Technical Writing", "secondary": "NONE", "tertiary": "NONE", "education_level": "2", "creative_writing_quality": "not_applicable", "primary_topic": "Programming & Software Engineering", "secondary_topic": "NONE"}, "review_reasons": [], "format_slot_diagnostics": {"comparable": true, "secondary_tertiary_identical": false, "secondary_tertiary_max_abs_gap": 0.021411633944157127, "secondary_choice": "NONE", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.9887591900810023, "secondary": 0.9236131340984226, "tertiary": 0.9459557086488475, "structured_records": 0.06169432802608043, "procedural_steps": 0.037132999618882466, "worked_solution": 0.0026325652485602764, "contextual_dialogue": 4.991436653444222e-06, "content_quality": 0.4926367755557217, "noise_severity": 0.8895908862658514, "missing_content_severity": 0.8816586308897277, "factual_density": 0.4692647241169693, "pretraining_utility": 0.4052270640331104, "math_density": 0.9637443923598384, "code_density": 0.8239564106053392, "reasoning_density": 0.6832382202959125, "education_level": 0.7329378851648639, "creative_writing_quality": 0.9960263330824566, "primary_topic": 0.938324788029143, "secondary_topic": 0.7044877394462346}, "probability_margin": {"primary": 0.9844269190515048, "secondary": 0.8924319400639715, "tertiary": 0.9238052276733817, "education_level": 0.672660048923591, "creative_writing_quality": 0.9945479012547065, "primary_topic": 0.8845915881877232, "secondary_topic": 0.5050246018487344}, "raw_probabilities": {"primary": {"Academic Writing": 4.29174735885463e-05, "Content Listing": 0.00010833694908283396, "Creative Writing": 7.533777797669694e-05, "Customer Support Page": 2.3387137585457335e-05, "Q&A Forum": 1.927574026962161e-05, "Discussion Thread": 1.4334838388262472e-05, "Comment Section": 3.0542776818201344e-05, "Missing Content": 4.027557757745184e-05, "Knowledge Article": 0.0002394841639262263, "Legal Notices": 3.693572716304973e-05, "News Article": 9.253334477965322e-06, "Organizational Announcement": 1.8013219956550625e-05, "Nonfiction Writing": 2.2753249658383482e-05, "Organizational About Page": 2.4704154973036366e-05, "Personal About Page": 6.12712342274262e-05, "Personal Blog": 3.132193256323101e-05, "Product Page": 1.3990258355662091e-05, "Spam / Ads": 2.116264902097958e-05, "Structured Data": 0.0008098466075111344, "Technical Writing": 0.9892275571609606, "Transcript / Interview": 2.7588126342775937e-05, "Tutorial / How-To Guide": 0.004287787505759393, "User Reviews": 1.3284294361080809e-05, "Other / Unknown": 0.004800638109455742}, "secondary": {"Academic Writing": 0.00035519380344807506, "Content Listing": 0.0013132606316135363, "Creative Writing": 0.006170412747206217, "Customer Support Page": 0.000321361259546406, "Q&A Forum": 0.00019665394722801993, "Discussion Thread": 0.00014586984052195054, "Comment Section": 0.0003430592217960101, "Missing Content": 0.0012048134722228395, "Knowledge Article": 0.0019776508973468254, "Legal Notices": 0.000304891504071452, "News Article": 0.0001716285252362129, "Organizational Announcement": 0.00017811185262572025, "Nonfiction Writing": 0.00020740056392542366, "Organizational About Page": 0.00020607780956882134, "Personal About Page": 0.00024880971677300576, "Personal Blog": 0.0003035774592855209, "Product Page": 0.00011852971851704331, "Spam / Ads": 0.0002255733650023303, "Structured Data": 0.0022718456598142546, "Technical Writing": 0.022231616821464073, "Transcript / Interview": 0.00023363481139026184, "Tutorial / How-To Guide": 0.03436398011368346, "User Reviews": 0.00011012608005752996, "NONE": 0.926795920177655}, "tertiary": {"Academic Writing": 0.0001739927827079267, "Content Listing": 0.001145513469132617, "Creative Writing": 0.005550168314717302, "Customer Support Page": 0.00019638172914222826, "Q&A Forum": 0.00010043214846679322, "Discussion Thread": 7.764785228643051e-05, "Comment Section": 0.0002533947173257366, "Missing Content": 0.001222275491845579, "Knowledge Article": 0.0016909970293503024, "Legal Notices": 0.0003450299893973146, "News Article": 9.844421162902253e-05, "Organizational Announcement": 0.00011333928608358981, "Nonfiction Writing": 0.00018269639514840224, "Organizational About Page": 0.00016116581987207234, "Personal About Page": 0.00018848438662496367, "Personal Blog": 0.00027563072538689895, "Product Page": 6.885929862250381e-05, "Spam / Ads": 0.00019835847041930547, "Structured Data": 0.0012994134757323102, "Technical Writing": 0.0138501104154483, "Transcript / Interview": 0.00014174891498326662, "Tutorial / How-To Guide": 0.024402326448430486, "User Reviews": 5.603450543462079e-05, "NONE": 0.9482075541218121}, "structured_records": {"false": 0.9383056719739196, "true": 0.06169432802608043}, "procedural_steps": {"false": 0.9628670003811175, "true": 0.037132999618882466}, "worked_solution": {"false": 0.9973674347514397, "true": 0.0026325652485602764}, "contextual_dialogue": {"false": 0.9999950085633466, "true": 4.991436653444222e-06}, "content_quality": {"-2": 0.008608586574752443, "-1": 0.06578710811098185, "0": 0.3364262780582327, "1": 0.4741684119273529, "2": 0.11500961532868016}, "noise_severity": {"0": 0.8803165999055336, "1": 0.11073643464338158, "2": 0.006321117320985791, "3": 0.0013911253247705965, "4": 0.0012347228053283454}, "missing_content_severity": {"0": 0.8656734913070868, "1": 0.12897051576839325, "2": 0.0036888103735208647, "3": 0.0010072237871044383, "4": 0.0006599587638946022}, "factual_density": {"0": 0.0051993916791898435, "1": 0.010521907810629533, "2": 0.12045878157707732, "3": 0.3436014777568342, "4": 0.520218441176269}, "pretraining_utility": {"-2": 0.009215744861884572, "-1": 0.11641097494162632, "0": 0.40485060142428514, "1": 0.42111494150512796, "2": 0.04840773726707603}, "math_density": {"0": 0.9617600993075128, "1": 0.035062892467606105, "2": 0.0019175180343810935, "3": 0.00042916013017514957, "4": 0.0008303300603250187}, "code_density": {"0": 0.0004280389003078038, "1": 0.0010512588287559315, "2": 0.025963334151154052, "3": 0.15445970688378585, "4": 0.8180976612359964}, "reasoning_density": {"0": 0.7133316886534703, "1": 0.20102376854047996, "2": 0.07954978502688795, "3": 0.004388234065997877, "4": 0.0017065237131638686}, "education_level": {"none": 0.0015372319727874918, "0": 0.004130228847989289, "1": 0.10463460318628132, "2": 0.7774482376373866, "3": 0.10478818871379561, "4": 0.007461509641759798}, "creative_writing_quality": {"not_applicable": 0.9966886109020472, "-2": 0.00018460794175561608, "-1": 0.0005432839008410633, "0": 0.0021407096473406773, "1": 0.0003304697008559246, "2": 0.00011231790715925965}, "primary_topic": {"Adult & Explicit Sexual Content": 9.024266365794627e-05, "Art & Design": 0.00015981904135442865, "Law & Crime": 0.00012931695468746448, "Education & Careers": 9.208882302142395e-05, "Entertainment & Media": 0.0002763958677423051, "Fashion & Beauty": 7.30237825207546e-05, "Business, Economics & Finance": 0.00010783465438253272, "Food & Dining": 7.296426381505208e-05, "Games & Gaming": 0.00013383455880248128, "Electronics & Hardware": 0.00026162783187239894, "Health, Healthcare & Wellness": 6.613114154028631e-05, "History & Geography": 9.657809357140705e-05, "Home, Pets & Hobbies": 0.00011543214165455057, "Industry & Production": 7.603761253351012e-05, "Language, Literature & Philosophy": 9.919113276584193e-05, "Politics & Government": 5.402327823789515e-05, "Religion & Spirituality": 7.286854408122164e-05, "Science, Mathematics & Engineering": 0.0001441424678458978, "Relationships & Community": 6.52669468131435e-05, "Software Usage & Applications": 0.056105323378760355, "Programming & Software Engineering": 0.9406969115664836, "Sports & Fitness": 0.00013938295337926438, "Vehicles & Transportation": 4.7472300136377776e-05, "Travel & Tourism": 9.216279947034225e-05, "Other / Uncovered Subject": 0.0005976898606193237, "Unknown / Insufficient Content": 0.00013423734025002008}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0007989019667814809, "Art & Design": 0.000738407073316047, "Law & Crime": 0.0005874736189138323, "Education & Careers": 0.00036315265687160333, "Entertainment & Media": 0.005762476913183583, "Fashion & Beauty": 0.0003004700941425339, "Business, Economics & Finance": 0.000591803769861464, "Food & Dining": 0.00026365399720562475, "Games & Gaming": 0.0006711978383481883, "Electronics & Hardware": 0.0008090892538786511, "Health, Healthcare & Wellness": 0.00032765177845160416, "History & Geography": 0.00032176227121084275, "Home, Pets & Hobbies": 0.00033369538692567434, "Industry & Production": 0.0002571037496131194, "Language, Literature & Philosophy": 0.0002394224911179057, "Politics & Government": 0.00022935838543263422, "Religion & Spirituality": 0.00032415787432228866, "Science, Mathematics & Engineering": 0.0005322245522417995, "Relationships & Community": 0.00026733208608932215, "Software Usage & Applications": 0.21082899377264497, "Programming & Software Engineering": 0.057901280214853856, "Sports & Fitness": 0.00032418523445884194, "Vehicles & Transportation": 0.00014782034374164838, "Travel & Tourism": 0.00039925160709727945, "Other / Uncovered Subject": 0.0008255374479156782, "NONE": 0.7158535956213794}}, "probabilities": {"primary": {"Academic Writing": 4.291747358854629e-05, "Content Listing": 0.00010833694908283393, "Creative Writing": 7.533777797669693e-05, "Customer Support Page": 2.3387137585457328e-05, "Q&A Forum": 1.9275740269621607e-05, "Discussion Thread": 1.4334838388262469e-05, "Comment Section": 3.054277681820134e-05, "Missing Content": 4.027557757745183e-05, "Knowledge Article": 0.00023948416392622626, "Legal Notices": 3.693572716304972e-05, "News Article": 9.25333447796532e-06, "Organizational Announcement": 1.8013219956550622e-05, "Nonfiction Writing": 2.275324965838348e-05, "Organizational About Page": 2.470415497303636e-05, "Personal About Page": 6.127123422742618e-05, "Personal Blog": 3.1321932563231004e-05, "Product Page": 1.3990258355662088e-05, "Spam / Ads": 2.1162649020979577e-05, "Structured Data": 0.0008098466075111342, "Technical Writing": 0.9892275571609603, "Transcript / Interview": 2.758812634277593e-05, "Tutorial / How-To Guide": 0.004287787505759392, "User Reviews": 1.3284294361080805e-05, "Other / Unknown": 0.004800638109455741}, "secondary": {"Academic Writing": 0.00035519380344807506, "Content Listing": 0.0013132606316135363, "Creative Writing": 0.006170412747206217, "Customer Support Page": 0.000321361259546406, "Q&A Forum": 0.00019665394722801993, "Discussion Thread": 0.00014586984052195054, "Comment Section": 0.0003430592217960101, "Missing Content": 0.0012048134722228395, "Knowledge Article": 0.0019776508973468254, "Legal Notices": 0.000304891504071452, "News Article": 0.0001716285252362129, "Organizational Announcement": 0.00017811185262572025, "Nonfiction Writing": 0.00020740056392542366, "Organizational About Page": 0.00020607780956882134, "Personal About Page": 0.00024880971677300576, "Personal Blog": 0.0003035774592855209, "Product Page": 0.00011852971851704331, "Spam / Ads": 0.0002255733650023303, "Structured Data": 0.0022718456598142546, "Technical Writing": 0.022231616821464073, "Transcript / Interview": 0.00023363481139026184, "Tutorial / How-To Guide": 0.03436398011368346, "User Reviews": 0.00011012608005752996, "NONE": 0.926795920177655}, "tertiary": {"Academic Writing": 0.0001739927827079267, "Content Listing": 0.001145513469132617, "Creative Writing": 0.005550168314717302, "Customer Support Page": 0.00019638172914222826, "Q&A Forum": 0.00010043214846679322, "Discussion Thread": 7.764785228643051e-05, "Comment Section": 0.0002533947173257366, "Missing Content": 0.001222275491845579, "Knowledge Article": 0.0016909970293503024, "Legal Notices": 0.0003450299893973146, "News Article": 9.844421162902253e-05, "Organizational Announcement": 0.00011333928608358981, "Nonfiction Writing": 0.00018269639514840224, "Organizational About Page": 0.00016116581987207234, "Personal About Page": 0.00018848438662496367, "Personal Blog": 0.00027563072538689895, "Product Page": 6.885929862250381e-05, "Spam / Ads": 0.00019835847041930547, "Structured Data": 0.0012994134757323102, "Technical Writing": 0.0138501104154483, "Transcript / Interview": 0.00014174891498326662, "Tutorial / How-To Guide": 0.024402326448430486, "User Reviews": 5.603450543462079e-05, "NONE": 0.9482075541218121}, "structured_records": {"false": 0.9383056719739196, "true": 0.06169432802608043}, "procedural_steps": {"false": 0.9628670003811175, "true": 0.037132999618882466}, "worked_solution": {"false": 0.9973674347514397, "true": 0.0026325652485602764}, "contextual_dialogue": {"false": 0.9999950085633466, "true": 4.991436653444222e-06}, "content_quality": {"-2": 0.008608586574752443, "-1": 0.06578710811098185, "0": 0.3364262780582327, "1": 0.4741684119273529, "2": 0.11500961532868016}, "noise_severity": {"0": 0.8803165999055337, "1": 0.11073643464338159, "2": 0.006321117320985792, "3": 0.0013911253247705967, "4": 0.0012347228053283456}, "missing_content_severity": {"0": 0.8656734913070868, "1": 0.12897051576839325, "2": 0.0036888103735208647, "3": 0.0010072237871044383, "4": 0.0006599587638946022}, "factual_density": {"0": 0.005199391679189844, "1": 0.010521907810629534, "2": 0.12045878157707733, "3": 0.34360147775683425, "4": 0.5202184411762691}, "pretraining_utility": {"-2": 0.009215744861884572, "-1": 0.11641097494162632, "0": 0.40485060142428514, "1": 0.42111494150512796, "2": 0.04840773726707603}, "math_density": {"0": 0.9617600993075126, "1": 0.0350628924676061, "2": 0.001917518034381093, "3": 0.00042916013017514946, "4": 0.0008303300603250185}, "code_density": {"0": 0.0004280389003078038, "1": 0.0010512588287559315, "2": 0.025963334151154052, "3": 0.15445970688378585, "4": 0.8180976612359964}, "reasoning_density": {"0": 0.7133316886534703, "1": 0.20102376854047996, "2": 0.07954978502688795, "3": 0.004388234065997877, "4": 0.0017065237131638686}, "education_level": {"none": 0.0015372319727874918, "0": 0.004130228847989289, "1": 0.10463460318628132, "2": 0.7774482376373866, "3": 0.10478818871379561, "4": 0.007461509641759798}, "creative_writing_quality": {"not_applicable": 0.9966886109020474, "-2": 0.00018460794175561613, "-1": 0.0005432839008410634, "0": 0.0021407096473406778, "1": 0.00033046970085592463, "2": 0.00011231790715925967}, "primary_topic": {"Adult & Explicit Sexual Content": 9.024266365794629e-05, "Art & Design": 0.00015981904135442868, "Law & Crime": 0.0001293169546874645, "Education & Careers": 9.208882302142398e-05, "Entertainment & Media": 0.0002763958677423052, "Fashion & Beauty": 7.302378252075461e-05, "Business, Economics & Finance": 0.00010783465438253275, "Food & Dining": 7.29642638150521e-05, "Games & Gaming": 0.0001338345588024813, "Electronics & Hardware": 0.000261627831872399, "Health, Healthcare & Wellness": 6.613114154028632e-05, "History & Geography": 9.657809357140707e-05, "Home, Pets & Hobbies": 0.0001154321416545506, "Industry & Production": 7.603761253351014e-05, "Language, Literature & Philosophy": 9.919113276584196e-05, "Politics & Government": 5.402327823789516e-05, "Religion & Spirituality": 7.286854408122165e-05, "Science, Mathematics & Engineering": 0.00014414246784589784, "Relationships & Community": 6.526694681314351e-05, "Software Usage & Applications": 0.05610532337876037, "Programming & Software Engineering": 0.9406969115664838, "Sports & Fitness": 0.0001393829533792644, "Vehicles & Transportation": 4.747230013637779e-05, "Travel & Tourism": 9.216279947034228e-05, "Other / Uncovered Subject": 0.0005976898606193238, "Unknown / Insufficient Content": 0.0001342373402500201}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.000798901966781481, "Art & Design": 0.0007384070733160471, "Law & Crime": 0.0005874736189138324, "Education & Careers": 0.0003631526568716034, "Entertainment & Media": 0.005762476913183584, "Fashion & Beauty": 0.00030047009414253394, "Business, Economics & Finance": 0.0005918037698614641, "Food & Dining": 0.0002636539972056248, "Games & Gaming": 0.0006711978383481884, "Electronics & Hardware": 0.0008090892538786512, "Health, Healthcare & Wellness": 0.0003276517784516042, "History & Geography": 0.0003217622712108428, "Home, Pets & Hobbies": 0.0003336953869256744, "Industry & Production": 0.00025710374961311947, "Language, Literature & Philosophy": 0.00023942249111790571, "Politics & Government": 0.00022935838543263425, "Religion & Spirituality": 0.0003241578743222887, "Science, Mathematics & Engineering": 0.0005322245522417996, "Relationships & Community": 0.0002673320860893222, "Software Usage & Applications": 0.210828993772645, "Programming & Software Engineering": 0.05790128021485386, "Sports & Fitness": 0.000324185234458842, "Vehicles & Transportation": 0.0001478203437416484, "Travel & Tourism": 0.0003992516070972795, "Other / Uncovered Subject": 0.0008255374479156783, "NONE": 0.7158535956213795}}, "probability_diagnostics": {"primary": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "secondary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "tertiary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "structured_records": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "procedural_steps": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "worked_solution": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "contextual_dialogue": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "content_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "noise_severity": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "missing_content_severity": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "factual_density": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "pretraining_utility": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "math_density": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "code_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "reasoning_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "education_level": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "creative_writing_quality": {"raw_sum": 0.9999999999999998, "mass_delta": -2.220446049250313e-16, "missing_mass": 2.220446049250313e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "primary_topic": {"raw_sum": 0.9999999999999998, "mass_delta": -2.220446049250313e-16, "missing_mass": 2.220446049250313e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary_topic": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}}, "usage": {"input_tokens": 10086, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 10086, "cached_share": null, "cache_discount_reported": null, "reported_cost_usd": null}, "response_metadata": {"model": "decision-models/baseten-mammoth-27b-latest"}, "scored_at_utc": "2026-10-25T18:33:14.386917+00:00", "scoring_key_slot": "primary", "dataset_uid": "52f5674b-b9b0-41a5-8671-b73fda2fbcd4", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "eeb023e8a44a6fd6f17a432d338ec10f8eb0d836afdf34743194ff570095e845", "source_metadata": {"uuid": "52f5674b-b9b0-41a5-8671-b73fda2fbcd4", "repo_name": "samjonester/dotfiles", "relative_path": "core/utils.zsh", "category": "TOOL", "algo_rel_score": 0.9975531697273254, "quality_score": 4.081889629364014, "source_meta": {"github_metadata": {"branch": "main", "commit_count": 137, "repo_created_at": "2015-11-04T01:20:17.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 4, "forks": 1, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "07eab543fc9e9c0c2cc0135d0043a336292993cd", "size_bytes": 4410, "file_timestamp": 1737733448, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "da4d10b4403fcb5c722f2b881275a2957b193282"}}, "parsed_source_meta": {"github_metadata": {"branch": "main", "commit_count": 137, "repo_created_at": "2015-11-04T01:20:17.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 4, "forks": 1, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "07eab543fc9e9c0c2cc0135d0043a336292993cd", "size_bytes": 4410, "file_timestamp": 1737733448, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "da4d10b4403fcb5c722f2b881275a2957b193282", "url": "https://github.com/samjonester/dotfiles/blob/da4d10b4403fcb5c722f2b881275a2957b193282/core/utils.zsh"}, "gpt4o_tokens": 1437, "dataset_split": "shell", "probability_weighted_scores": {"content_quality": 0.6211833613242265, "noise_severity": 0.13249093648097834, "missing_content_severity": 0.1420096429323267, "factual_density": 3.3631176689403635, "pretraining_utility": 0.38308795137388457, "math_density": 0.04350672916819381, "code_density": 3.788747692726407, "reasoning_density": 0.380114135644905, "education_level": 2.0068266412462457, "creative_writing_quality": -0.10792880528562211}, "score_applicability": {"education_level": 0.9984627680272126, "creative_writing_quality": 0.0033113890979525416}} {"source_group": "shell", "source": "openbmb/UltraData-Stack-v3-L2/shell", "domain": "github.com", "language": "shell", "url": "https://github.com/khafidmedheb/kallitests/blob/af47f1a7f92478043d2a25d61f9f5d6b0165f5d2/admin/Install_kallitests/generate_ssh_key_for_repo.sh", "id": "shell-0-be0eea286b6816686b14b9bd0eaecc1f", "text": "#!/bin/bash\n\n################################################################################\n# Author : \n# Created on : 2025-06-04\n# Last update : 2025-06-04\n# Description : This script generates a new SSH key, copies it to clipboard,\n# adds it to the local SSH agent, and uploads it to your GitHub\n# account using the API. It also tests SSH access to GitHub.\n################################################################################\n\n# ANSI color codes for styled terminal output\nRED='\\033[1;31m'\nGREEN='\\033[1;32m'\nYELLOW='\\033[1;33m'\nNC='\\033[0m' # No Color\n\n# ------------------------------------------------------------------------------\n# INPUTS FROM THE USER\n# ------------------------------------------------------------------------------\n\n# Ask for the GitHub repository name (e.g., user/repo)\nread -p \"GitHub repository name (format: user/repo): \" REPO_NAME\n\n# Ask for GitHub token (PAT with 'admin:public_key' scope)\nread -p \"Your GitHub Personal Access Token (PAT with 'admin:public_key' scope): \" GITHUB_TOKEN\n\n# Ask for the title to be associated with the SSH key in GitHub\nread -p \"Title for the SSH key (e.g., work-laptop-key): \" KEY_TITLE\n\n# Extract GitHub username from the repository name\nGITHUB_USER=$(echo \"$REPO_NAME\" | cut -d'/' -f1)\n\n# Define SSH key filenames\nKEY_NAME=\"id_rsa_${GITHUB_USER}\"\nSSH_DIR=\"$HOME/.ssh\"\nKEY_PATH=\"$SSH_DIR/$KEY_NAME\"\nPUB_KEY=\"${KEY_PATH}.pub\"\n\n# ------------------------------------------------------------------------------\n# GENERATE SSH KEY PAIR\n# ------------------------------------------------------------------------------\n\n# Ensure the .ssh directory exists and is secured\nmkdir -p \"$SSH_DIR\"\nchmod 700 \"$SSH_DIR\"\n\n# Generate a new RSA 4096 SSH key pair\nssh-keygen -t rsa -b 4096 -f \"$KEY_PATH\" -C \"$REPO_NAME\" -N \"\"\n\n# ------------------------------------------------------------------------------\n# COPY PUBLIC KEY TO CLIPBOARD\n# ------------------------------------------------------------------------------\n\n# Try to copy the public key to clipboard using available tools\nif command -v pbcopy &> /dev/null; then\n cat \"$PUB_KEY\" | pbcopy\n echo -e \"${GREEN}[INFO] Public key copied to clipboard (pbcopy).${NC}\"\nelif command -v xclip &> /dev/null; then\n cat \"$PUB_KEY\" | xclip -selection clipboard\n echo -e \"${GREEN}[INFO] Public key copied to clipboard (xclip).${NC}\"\nelif command -v wl-copy &> /dev/null; then\n cat \"$PUB_KEY\" | wl-copy\n echo -e \"${GREEN}[INFO] Public key copied to clipboard (wl-copy).${NC}\"\nelse\n echo -e \"${YELLOW}[WARNING] No clipboard tool found. Here's your public key:${NC}\"\n cat \"$PUB_KEY\"\nfi\n\n# ------------------------------------------------------------------------------\n# ADD KEY TO SSH AGENT\n# ------------------------------------------------------------------------------\n\n# Start the SSH agent and add the newly created key\neval \"$(ssh-agent -s)\"\nssh-add \"$KEY_PATH\"\n\n# ------------------------------------------------------------------------------\n# UPLOAD SSH KEY TO GITHUB\n# ------------------------------------------------------------------------------\n\n# Read public key content\nPUB_KEY_CONTENT=$(cat \"$PUB_KEY\")\n\necho -e \"\\n[INFO] Attempting to add the SSH key to your GitHub account...\"\n\n# Make a POST request to GitHub API to upload the SSH key\nRESPONSE=$(curl -s -o /tmp/github_add_key_response.json -w \"%{http_code}\" \\\n -X POST https://api.github.com/user/keys \\\n -H \"Authorization: token $GITHUB_TOKEN\" \\\n -H \"Accept: application/vnd.github+json\" \\\n -d \"{\\\"title\\\":\\\"$KEY_TITLE\\\",\\\"key\\\":\\\"$PUB_KEY_CONTENT\\\"}\"\n)\n\n# Handle GitHub API response\nif [ \"$RESPONSE\" == \"201\" ]; then\n echo -e \"${GREEN}[SUCCESS] SSH key successfully added to your GitHub account.${NC}\"\nelse\n echo -e \"${RED}[ERROR] Failed to add SSH key to GitHub (HTTP $RESPONSE).${NC}\"\n cat /tmp/github_add_key_response.json\nfi\n\n# ------------------------------------------------------------------------------\n# TEST SSH CONNECTION TO GITHUB\n# ------------------------------------------------------------------------------\n\necho -e \"\\n[INFO] Testing SSH connection to GitHub...\"\n\n# Attempt SSH connection and save output\nssh -T git@github.com &> /tmp/ssh_test_output\n\n# Check for success message\nif grep -q \"successfully authenticated\" /tmp/ssh_test_output || grep -q \"Hi \" /tmp/ssh_test_output; then\n echo -e \"${GREEN}[SUCCESS] SSH connection to GitHub successful!${NC}\"\nelse\n echo -e \"${RED}[ERROR] SSH connection to GitHub failed. Make sure the key is added and active.${NC}\"\n cat /tmp/ssh_test_output\nfi\n\n# ------------------------------------------------------------------------------\n# CLEANUP\n# ------------------------------------------------------------------------------\n\n# Remove temporary files\nrm -f /tmp/ssh_test_output /tmp/github_add_key_response.json\n", "text_preview": "#!/bin/bash ################################################################################ # Author : # Created on : 2025-06-04 # Last update : 2025-06-04 # Description : This script generates a new SSH key, copies it to clipboard,", "input_sha256": "c62a6edb87a8b65854ffb4afca03c15c0ab4aec72e00d47926101edfac41cd38", "text_sha256": "be0eea286b6816686b14b9bd0eaecc1f9e77ddba32058d155c4593bbe1670132", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 20070, "input_policy": "text-and-optional-url-v1", "label_policy_version": 12, "requested_model": "decision-models/baseten-mammoth-27b-latest", "backend": "baseten", "endpoint": "https://inference.baseten.co/v1/systemone", "status": "ok", "training_eligible": true, "label": {"primary": {"main_format": "Technical Writing", "sub_format": null}, "secondary": null, "tertiary": null, "content_structure": []}, "candidate_label": null, "topic": {"primary": {"main_topic": "Programming & Software Engineering", "sub_topic": null}, "secondary": null}, "scores": {"content_quality": 1, "noise_severity": 0, "missing_content_severity": 0, "factual_density": 3, "pretraining_utility": 1, "math_density": 0, "code_density": 4, "reasoning_density": 0, "education_level": 2, "creative_writing_quality": null}, "score_expectations": {"content_quality": 1.0026445024658917, "noise_severity": 0.13657462295752676, "missing_content_severity": 0.1120343913850394, "factual_density": 3.1314764519949407, "pretraining_utility": 0.7452842871882662, "math_density": 0.008724839743992557, "code_density": 3.668173858693742, "reasoning_density": 0.7512866690057796, "education_level": 2.1981668616022834, "creative_writing_quality": -0.10410095956931269}, "api_choices": {"primary": "Technical Writing", "secondary": "NONE", "tertiary": "NONE", "education_level": "2", "creative_writing_quality": "not_applicable", "primary_topic": "Programming & Software Engineering", "secondary_topic": "NONE"}, "review_reasons": [], "format_slot_diagnostics": {"comparable": true, "secondary_tertiary_identical": false, "secondary_tertiary_max_abs_gap": 0.10892650284775685, "secondary_choice": "NONE", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.9280016934022611, "secondary": 0.7611898952067011, "tertiary": 0.8748523329608822, "structured_records": 0.0018424023860529463, "procedural_steps": 0.49578104495600944, "worked_solution": 0.005583524760639298, "contextual_dialogue": 1.7910522541408807e-05, "content_quality": 0.5730707523510845, "noise_severity": 0.886187814202061, "missing_content_severity": 0.9066380071791338, "factual_density": 0.46639590968901, "pretraining_utility": 0.6053003837159525, "math_density": 0.9927293002133395, "code_density": 0.723478215578118, "reasoning_density": 0.3739277758285171, "education_level": 0.6919362716998867, "creative_writing_quality": 0.9988360963891598, "primary_topic": 0.9556753673875171, "secondary_topic": 0.6824620905519321}, "probability_margin": {"primary": 0.867852589152224, "secondary": 0.6448908320259049, "tertiary": 0.8084851697294314, "education_level": 0.5317907579799613, "creative_writing_quality": 0.9983733543804731, "primary_topic": 0.9167435681312919, "secondary_topic": 0.4727007572886849}, "raw_probabilities": {"primary": {"Academic Writing": 0.00016785138116588304, "Content Listing": 0.00016026850150585074, "Creative Writing": 0.0001414461681649456, "Customer Support Page": 0.00014994889953425162, "Q&A Forum": 0.00010808791281031508, "Discussion Thread": 7.959303197325009e-05, "Comment Section": 0.00012688751029837352, "Missing Content": 0.00012486962086070554, "Knowledge Article": 0.0004644245788411633, "Legal Notices": 0.00010989349361592185, "News Article": 5.531573244687342e-05, "Organizational Announcement": 9.336328732508302e-05, "Nonfiction Writing": 9.42038740658355e-05, "Organizational About Page": 0.00011758685286213821, "Personal About Page": 8.952205596674698e-05, "Personal Blog": 6.384647637013352e-05, "Product Page": 6.865219801173379e-05, "Spam / Ads": 0.00011045872788393516, "Structured Data": 0.00024241364345834701, "Technical Writing": 0.9310016228438336, "Transcript / Interview": 0.0001254485804546788, "Tutorial / How-To Guide": 0.06314903369160957, "User Reviews": 5.771927858440142e-05, "Other / Unknown": 0.0030975416583561644}, "secondary": {"Academic Writing": 0.0007286453972202663, "Content Listing": 0.000366786211077149, "Creative Writing": 0.0005880792760888486, "Customer Support Page": 0.0006563236227129909, "Q&A Forum": 0.00033513164000854856, "Discussion Thread": 0.00024050206387702357, "Comment Section": 0.0005254954564828601, "Missing Content": 0.0011195835766945408, "Knowledge Article": 0.0019396449847080657, "Legal Notices": 0.0005791088401607534, "News Article": 0.0003633764458340992, "Organizational Announcement": 0.00038040888955973793, "Nonfiction Writing": 0.0004008136507005512, "Organizational About Page": 0.0004278027083636715, "Personal About Page": 0.0003646496167165543, "Personal Blog": 0.0003297562884767714, "Product Page": 0.00027420828358716836, "Spam / Ads": 0.0003926511510412593, "Structured Data": 0.0006900350546998795, "Technical Writing": 0.09115532730310244, "Transcript / Interview": 0.000533542039775007, "Tutorial / How-To Guide": 0.12624948421385027, "User Reviews": 0.00021832704550638635, "NONE": 0.7711403162397552}, "tertiary": {"Academic Writing": 0.000267723637130651, "Content Listing": 0.00013514079323863072, "Creative Writing": 0.00019233545672583382, "Customer Support Page": 0.00029811992879582634, "Q&A Forum": 0.00010444056306618295, "Discussion Thread": 8.226697246313549e-05, "Comment Section": 0.00022788965257497808, "Missing Content": 0.001259485574801981, "Knowledge Article": 0.0020244440014145666, "Legal Notices": 0.0007304485795290943, "News Article": 0.00012168629146967686, "Organizational Announcement": 0.0001487709599120393, "Nonfiction Writing": 0.0001864635234824446, "Organizational About Page": 0.0001834206029572692, "Personal About Page": 0.00016349713589980562, "Personal Blog": 0.00013270639899846384, "Product Page": 0.00010877337566270183, "Spam / Ads": 0.00017315986616368663, "Structured Data": 0.0005319222211813017, "Technical Writing": 0.04099063516679452, "Transcript / Interview": 0.0002156684973400337, "Tutorial / How-To Guide": 0.0715816493580806, "User Reviews": 7.253235480460378e-05, "NONE": 0.880066819087512}, "structured_records": {"false": 0.9981575976139471, "true": 0.0018424023860529463}, "procedural_steps": {"false": 0.5042189550439906, "true": 0.49578104495600944}, "worked_solution": {"false": 0.9944164752393607, "true": 0.005583524760639298}, "contextual_dialogue": {"false": 0.9999820894774586, "true": 1.7910522541408807e-05}, "content_quality": {"-2": 0.006225276456647114, "-1": 0.021744954317039693, "0": 0.19266955935238275, "1": 0.5218804100516354, "2": 0.257479799822295}, "noise_severity": {"0": 0.8766069395336286, "1": 0.11420212512513052, "2": 0.006493526586410991, "3": 0.001404190359744456, "4": 0.0012932183950852127}, "missing_content_severity": {"0": 0.8979543649496905, "1": 0.09484437202834493, "2": 0.005341428298308882, "3": 0.0009321761345468245, "4": 0.0009276585891090634}, "factual_density": {"0": 0.005261614176671237, "1": 0.02264351098871, "2": 0.19335236368168984, "3": 0.3928418309688646, "4": 0.3859006801840643}, "pretraining_utility": {"-2": 0.005945503441617896, "-1": 0.03220152939493754, "0": 0.2819380570615666, "1": 0.5704529967373163, "2": 0.10946191336456161}, "math_density": {"0": 0.9927026223120701, "1": 0.006476484707828484, "2": 0.00042030883769290445, "3": 0.00019459920885576878, "4": 0.00020598493355273922}, "code_density": {"0": 0.0004853093562043138, "1": 0.0010667890313043084, "2": 0.03013090135907466, "3": 0.26642273406937894, "4": 0.7018942661840377}, "reasoning_density": {"0": 0.5788971651166681, "1": 0.16780868161535165, "2": 0.19360340874686852, "3": 0.04249180818775555, "4": 0.017198936333356035}, "education_level": {"none": 0.0009357074625429652, "0": 0.0024504643556211387, "1": 0.03076512366387368, "2": 0.7432802264165722, "3": 0.21148946843661084, "4": 0.011079009664779267}, "creative_writing_quality": {"not_applicable": 0.9990300803242999, "-2": 5.4819330805486226e-05, "-1": 0.00013723817252389727, "0": 0.0006567259438266742, "1": 9.636519189924685e-05, "2": 2.4771036645030703e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 8.221771305849658e-05, "Art & Design": 0.00010207559765061614, "Law & Crime": 0.00010685587880504041, "Education & Careers": 5.385470892538425e-05, "Entertainment & Media": 5.1003933255851904e-05, "Fashion & Beauty": 4.360634285662276e-05, "Business, Economics & Finance": 8.492965702777049e-05, "Food & Dining": 4.293292998206586e-05, "Games & Gaming": 7.949784422822205e-05, "Electronics & Hardware": 0.0001396139710149815, "Health, Healthcare & Wellness": 4.7371877724518796e-05, "History & Geography": 7.005170341822689e-05, "Home, Pets & Hobbies": 5.4598793634810635e-05, "Industry & Production": 5.689221672575091e-05, "Language, Literature & Philosophy": 5.719263947147574e-05, "Politics & Government": 3.703832270801333e-05, "Religion & Spirituality": 4.42165679910938e-05, "Science, Mathematics & Engineering": 0.000434007704769802, "Relationships & Community": 3.993824573376576e-05, "Software Usage & Applications": 0.040636592818243805, "Programming & Software Engineering": 0.9573801609495357, "Sports & Fitness": 7.001383436629897e-05, "Vehicles & Transportation": 3.7323300353280206e-05, "Travel & Tourism": 5.516870591544272e-05, "Other / Uncovered Subject": 0.00014072796620329654, "Unknown / Insufficient Content": 5.211577639956154e-05}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.000839891748237356, "Art & Design": 0.0005594090255139425, "Law & Crime": 0.0032016592412986897, "Education & Careers": 0.00040438098508315836, "Entertainment & Media": 0.000498837432698769, "Fashion & Beauty": 0.0002990190091316058, "Business, Economics & Finance": 0.0007170350500109241, "Food & Dining": 0.0002649567120235819, "Games & Gaming": 0.0003955210811978325, "Electronics & Hardware": 0.0007524179486647701, "Health, Healthcare & Wellness": 0.00039310949057755427, "History & Geography": 0.00034855016315573213, "Home, Pets & Hobbies": 0.0003432715896652936, "Industry & Production": 0.000288899405759906, "Language, Literature & Philosophy": 0.0002539501450160559, "Politics & Government": 0.0002840303825425897, "Religion & Spirituality": 0.00041122743261463326, "Science, Mathematics & Engineering": 0.004947820255500856, "Relationships & Community": 0.0002495643312690076, "Software Usage & Applications": 0.22197432978048057, "Programming & Software Engineering": 0.06547921300416315, "Sports & Fitness": 0.00030756539960443373, "Vehicles & Transportation": 0.00018347554987003514, "Travel & Tourism": 0.00047403655063935854, "Other / Uncovered Subject": 0.0014527412161146952, "NONE": 0.6946750870691655}}, "probabilities": {"primary": {"Academic Writing": 0.00016785138116588307, "Content Listing": 0.00016026850150585077, "Creative Writing": 0.00014144616816494563, "Customer Support Page": 0.00014994889953425165, "Q&A Forum": 0.0001080879128103151, "Discussion Thread": 7.95930319732501e-05, "Comment Section": 0.00012688751029837355, "Missing Content": 0.00012486962086070557, "Knowledge Article": 0.0004644245788411634, "Legal Notices": 0.00010989349361592186, "News Article": 5.5315732446873425e-05, "Organizational Announcement": 9.336328732508303e-05, "Nonfiction Writing": 9.420387406583552e-05, "Organizational About Page": 0.00011758685286213822, "Personal About Page": 8.9522055966747e-05, "Personal Blog": 6.384647637013354e-05, "Product Page": 6.86521980117338e-05, "Spam / Ads": 0.00011045872788393518, "Structured Data": 0.00024241364345834704, "Technical Writing": 0.9310016228438337, "Transcript / Interview": 0.00012544858045467882, "Tutorial / How-To Guide": 0.06314903369160958, "User Reviews": 5.7719278584401425e-05, "Other / Unknown": 0.003097541658356165}, "secondary": {"Academic Writing": 0.0007286453972202663, "Content Listing": 0.000366786211077149, "Creative Writing": 0.0005880792760888486, "Customer Support Page": 0.0006563236227129909, "Q&A Forum": 0.00033513164000854856, "Discussion Thread": 0.00024050206387702357, "Comment Section": 0.0005254954564828601, "Missing Content": 0.0011195835766945408, "Knowledge Article": 0.0019396449847080657, "Legal Notices": 0.0005791088401607534, "News Article": 0.0003633764458340992, "Organizational Announcement": 0.00038040888955973793, "Nonfiction Writing": 0.0004008136507005512, "Organizational About Page": 0.0004278027083636715, "Personal About Page": 0.0003646496167165543, "Personal Blog": 0.0003297562884767714, "Product Page": 0.00027420828358716836, "Spam / Ads": 0.0003926511510412593, "Structured Data": 0.0006900350546998795, "Technical Writing": 0.09115532730310244, "Transcript / Interview": 0.000533542039775007, "Tutorial / How-To Guide": 0.12624948421385027, "User Reviews": 0.00021832704550638635, "NONE": 0.7711403162397552}, "tertiary": {"Academic Writing": 0.000267723637130651, "Content Listing": 0.00013514079323863072, "Creative Writing": 0.00019233545672583382, "Customer Support Page": 0.00029811992879582634, "Q&A Forum": 0.00010444056306618295, "Discussion Thread": 8.226697246313549e-05, "Comment Section": 0.00022788965257497808, "Missing Content": 0.001259485574801981, "Knowledge Article": 0.0020244440014145666, "Legal Notices": 0.0007304485795290943, "News Article": 0.00012168629146967686, "Organizational Announcement": 0.0001487709599120393, "Nonfiction Writing": 0.0001864635234824446, "Organizational About Page": 0.0001834206029572692, "Personal About Page": 0.00016349713589980562, "Personal Blog": 0.00013270639899846384, "Product Page": 0.00010877337566270183, "Spam / Ads": 0.00017315986616368663, "Structured Data": 0.0005319222211813017, "Technical Writing": 0.04099063516679452, "Transcript / Interview": 0.0002156684973400337, "Tutorial / How-To Guide": 0.0715816493580806, "User Reviews": 7.253235480460378e-05, "NONE": 0.880066819087512}, "structured_records": {"false": 0.9981575976139471, "true": 0.0018424023860529463}, "procedural_steps": {"false": 0.5042189550439906, "true": 0.49578104495600944}, "worked_solution": {"false": 0.9944164752393607, "true": 0.005583524760639298}, "contextual_dialogue": {"false": 0.9999820894774586, "true": 1.7910522541408807e-05}, "content_quality": {"-2": 0.006225276456647114, "-1": 0.021744954317039693, "0": 0.19266955935238275, "1": 0.5218804100516354, "2": 0.257479799822295}, "noise_severity": {"0": 0.8766069395336288, "1": 0.11420212512513055, "2": 0.006493526586410993, "3": 0.0014041903597444563, "4": 0.0012932183950852129}, "missing_content_severity": {"0": 0.8979543649496903, "1": 0.0948443720283449, "2": 0.0053414282983088816, "3": 0.0009321761345468243, "4": 0.0009276585891090632}, "factual_density": {"0": 0.005261614176671237, "1": 0.02264351098871, "2": 0.19335236368168984, "3": 0.3928418309688646, "4": 0.3859006801840643}, "pretraining_utility": {"-2": 0.005945503441617896, "-1": 0.03220152939493754, "0": 0.2819380570615666, "1": 0.5704529967373163, "2": 0.10946191336456161}, "math_density": {"0": 0.9927026223120701, "1": 0.006476484707828484, "2": 0.00042030883769290445, "3": 0.00019459920885576878, "4": 0.00020598493355273922}, "code_density": {"0": 0.00048530935620431383, "1": 0.0010667890313043086, "2": 0.030130901359074664, "3": 0.266422734069379, "4": 0.7018942661840378}, "reasoning_density": {"0": 0.5788971651166682, "1": 0.16780868161535167, "2": 0.19360340874686854, "3": 0.04249180818775556, "4": 0.01719893633335604}, "education_level": {"none": 0.0009357074625429652, "0": 0.0024504643556211387, "1": 0.03076512366387368, "2": 0.7432802264165722, "3": 0.21148946843661084, "4": 0.011079009664779267}, "creative_writing_quality": {"not_applicable": 0.9990300803242996, "-2": 5.481933080548621e-05, "-1": 0.00013723817252389724, "0": 0.0006567259438266741, "1": 9.636519189924682e-05, "2": 2.4771036645030696e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 8.22177130584966e-05, "Art & Design": 0.00010207559765061616, "Law & Crime": 0.00010685587880504042, "Education & Careers": 5.3854708925384254e-05, "Entertainment & Media": 5.100393325585191e-05, "Fashion & Beauty": 4.360634285662277e-05, "Business, Economics & Finance": 8.49296570277705e-05, "Food & Dining": 4.2932929982065865e-05, "Games & Gaming": 7.949784422822207e-05, "Electronics & Hardware": 0.00013961397101498152, "Health, Healthcare & Wellness": 4.73718777245188e-05, "History & Geography": 7.00517034182269e-05, "Home, Pets & Hobbies": 5.459879363481064e-05, "Industry & Production": 5.6892216725750915e-05, "Language, Literature & Philosophy": 5.719263947147575e-05, "Politics & Government": 3.7038322708013334e-05, "Religion & Spirituality": 4.4216567991093806e-05, "Science, Mathematics & Engineering": 0.00043400770476980207, "Relationships & Community": 3.993824573376577e-05, "Software Usage & Applications": 0.04063659281824381, "Programming & Software Engineering": 0.9573801609495358, "Sports & Fitness": 7.001383436629899e-05, "Vehicles & Transportation": 3.732330035328021e-05, "Travel & Tourism": 5.516870591544273e-05, "Other / Uncovered Subject": 0.00014072796620329657, "Unknown / Insufficient Content": 5.211577639956155e-05}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.000839891748237356, "Art & Design": 0.0005594090255139425, "Law & Crime": 0.0032016592412986897, "Education & Careers": 0.00040438098508315836, "Entertainment & Media": 0.000498837432698769, "Fashion & Beauty": 0.0002990190091316058, "Business, Economics & Finance": 0.0007170350500109241, "Food & Dining": 0.0002649567120235819, "Games & Gaming": 0.0003955210811978325, "Electronics & Hardware": 0.0007524179486647701, "Health, Healthcare & Wellness": 0.00039310949057755427, "History & Geography": 0.00034855016315573213, "Home, Pets & Hobbies": 0.0003432715896652936, "Industry & Production": 0.000288899405759906, "Language, Literature & Philosophy": 0.0002539501450160559, "Politics & Government": 0.0002840303825425897, "Religion & Spirituality": 0.00041122743261463326, "Science, Mathematics & Engineering": 0.004947820255500856, "Relationships & Community": 0.0002495643312690076, "Software Usage & Applications": 0.22197432978048057, "Programming & Software Engineering": 0.06547921300416315, "Sports & Fitness": 0.00030756539960443373, "Vehicles & Transportation": 0.00018347554987003514, "Travel & Tourism": 0.00047403655063935854, "Other / Uncovered Subject": 0.0014527412161146952, "NONE": 0.6946750870691655}}, "probability_diagnostics": {"primary": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "tertiary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "structured_records": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "procedural_steps": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "worked_solution": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "contextual_dialogue": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "content_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "noise_severity": {"raw_sum": 0.9999999999999998, "mass_delta": -2.220446049250313e-16, "missing_mass": 2.220446049250313e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "missing_content_severity": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "factual_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "pretraining_utility": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "math_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "code_density": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "reasoning_density": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "education_level": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "creative_writing_quality": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "primary_topic": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}}, "usage": {"input_tokens": 9648, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 9648, "cached_share": null, "cache_discount_reported": null, "reported_cost_usd": null}, "response_metadata": {"model": "decision-models/baseten-mammoth-27b-latest"}, "scored_at_utc": "2026-10-25T18:34:06.369188+00:00", "scoring_key_slot": "primary", "dataset_uid": "ab538912-e0b2-4f87-8659-cea0a5aad421", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "ed498357bba72b96f968f1aa9d69b8f0467862064b9bf03de937720be8a95dc2", "source_metadata": {"uuid": "ab538912-e0b2-4f87-8659-cea0a5aad421", "repo_name": "khafidmedheb/kallitests", "relative_path": "admin/Install_kallitests/generate_ssh_key_for_repo.sh", "category": "TOOL", "algo_rel_score": 0.9944796562194824, "quality_score": 4.039764881134033, "source_meta": {"github_metadata": {"branch": "main", "commit_count": 16, "repo_created_at": "2024-08-22T11:04:41.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 1, "forks": 0, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "3bec353c55c4d444b57414e9b3acb8358ab3eee3", "size_bytes": 5006, "file_timestamp": 1749206713, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "af47f1a7f92478043d2a25d61f9f5d6b0165f5d2"}}, "parsed_source_meta": {"github_metadata": {"branch": "main", "commit_count": 16, "repo_created_at": "2024-08-22T11:04:41.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 1, "forks": 0, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "3bec353c55c4d444b57414e9b3acb8358ab3eee3", "size_bytes": 5006, "file_timestamp": 1749206713, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "af47f1a7f92478043d2a25d61f9f5d6b0165f5d2", "url": "https://github.com/khafidmedheb/kallitests/blob/af47f1a7f92478043d2a25d61f9f5d6b0165f5d2/admin/Install_kallitests/generate_ssh_key_for_repo.sh"}, "gpt4o_tokens": 1070, "dataset_split": "shell", "probability_weighted_scores": {"content_quality": 1.0026445024658917, "noise_severity": 0.13657462295752676, "missing_content_severity": 0.1120343913850394, "factual_density": 3.1314764519949407, "pretraining_utility": 0.7452842871882662, "math_density": 0.008724839743992557, "code_density": 3.668173858693741, "reasoning_density": 0.7512866690057796, "education_level": 2.1981668616022834, "creative_writing_quality": -0.10410095956931269}, "score_applicability": {"education_level": 0.9990642925374571, "creative_writing_quality": 0.0009699196757003351}} {"source_group": "shell", "source": "openbmb/UltraData-Stack-v3-L2/shell", "domain": "github.com", "language": "shell", "url": "https://github.com/acch/nagios-plugins/blob/6076783c745ba661c33f4856bd8a932e436735c6/check_sonas_inodes.sh", "id": "shell-0-863520a3bbe6fb2930d67643051a6cf0", "text": "#!/bin/bash\n\n################################################################################\n# The MIT License (MIT) #\n# #\n# Copyright (c) 2016 #\n# #\n# Permission is hereby granted, free of charge, to any person obtaining a copy #\n# of this software and associated documentation files (the \"Software\"), to deal#\n# in the Software without restriction, including without limitation the rights #\n# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell #\n# copies of the Software, and to permit persons to whom the Software is #\n# furnished to do so, subject to the following conditions: #\n# #\n# The above copyright notice and this permission notice shall be included in #\n# all copies or substantial portions of the Software. #\n# #\n# THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR #\n# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, #\n# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE #\n# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER #\n# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,#\n# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE#\n# SOFTWARE. #\n################################################################################\n\n# Name: Check IBM Storwize V7000 Unified / SONAS Inodes\n# Author: - achim(dot)christ(at)gmail(dot)com\n# Version: 1.0\n# Dependencies: openssh - OpenSSH SSH client (remote login program)\n# bc - An arbitrary precision calculator language\n# Website: https://github.com/acch/nagios-plugins\n\n# This bash script reports on the number of inodes in an IBM Storwize V7000 Unified / SONAS system.\n# The number of used and maximum inodes for the given fileset in the given filesystem is reported, along with a utilization percentage.\n# The plugin produces Nagios performance data so it can be graphed.\n\n# The actual code is managed in the following GitHub rebository - please use the Issue Tracker to ask questions, report problems or request enhancements.\n# https://github.com/acch/nagios-plugins\n\n# Disclaimer: This sample is provided 'as is', without any warranty or support. It is provided solely for demonstrative purposes - the end user must test and modify this sample to suit his or her particular environment. This code is provided for your convenience, only - though being tested, there's no guarantee that it doesn't seriously break things in your environment! If you decide to run it, you do so on your own risk!\n\n# The script requires SSH Public Key Authentication for connecting to the Storwize V7000 Unified / SONAS system. SSH Public Key Authentication needs to be set up first, before running the script. To test your SSH configuration, try to login to Storwize V7000 Unified / SONAS via SSH from the Nagios server as the Nagios user - if this works without prompting you for a password you seem to have properly configured Public Key Authentication. If you get a \"Permission denied\" error when running the script, the most likely reason for that is Public Key Authentication not being configured correctly for the Nagios user (by default called 'nagios').\n\n# It is strongly recommended to create a dedicated read-only Storwize V7000 Unified / SONAS user to be used by this script. This eases problem determination, allows for proper audit tracing and helps avoiding undesired side-effects. Also, it eliminates the risk of script errors having an impact on your actual production environment...\n\n# To create a read-only user 'nagios' with password '' on Storwize V7000 Unified / SONAS, run the following commands as the Nagios operating-system user (by default called 'nagios', too):\n# ssh admin@ mkuser nagios -p secret -g Monitor\n# ssh admin@ chuser nagios -k \\\"`cat ~/.ssh/id_rsa.pub`\\\"\n# Note that you may need to modify the last command to point to the actual location of your SSH public key file used for authentication\n\n# You may want to define the following Nagios constructs to use this script:\n# define command{\n# command_name check_sonas_inodes\n# command_line /path/to/check_sonas_inodes.sh -H $HOSTADDRESS$ -u $ARG1$ -F $ARG2$ -f $ARG3$\n# }\n# define service{\n# host_name \n# service_description Fileset Inodes\n# check_command check_sonas_inodes!nagios!filesystem!fileset\n# }\n\n# Version History:\n# 1.0 15.6.2016 Initial Release\n\n#####################\n### Configuration ###\n#####################\n\n# Warning threshold (inode utilization %)\nwarn_thresh=80 # This is the default which can be overridden with commandline parameters\n# Critical threshold (inode utilization %))\ncrit_thresh=90 # This is the default which can be overridden with commandline parameters\n\n# Modify the following filenames to match your environment\n\n# Path to the SSH private key file used for authentication: (create a private/public key pair with the 'ssh-keygen' command)\nidentity_file=\"$HOME/.ssh/id_rsa\" # Be sure this is readable by Nagios user!\n\n# Path to a temporary file holding the remote command output while it is being parsed by the script:\ntmp_file=\"/tmp/check_sonas_inodes_$RANDOM.tmp\" # Be sure that this is writable by Nagios user!\n\n####################################\n### Do not edit below this line! ###\n####################################\n\nerror_usage () {\n echo \"Usage: $0 -H -u -F -f [-w ] [-c ]\"\n exit 3\n}\n\nerror_login () {\n echo \"Error executing remote command - [$rsh] `cat $tmp_file`\"\n rm $tmp_file\n exit 3\n}\n\nerror_response () {\n echo \"Error parsing remote command output: $*\"\n rm $tmp_file\n exit 3\n}\n\n# Check number of commandline options\nif [ $# -ne 8 ] && [ $# -ne 10 ] && [ $# -ne 12 ]; then error_usage; fi\n\n# Check commandline options\nwhile getopts 'H:u:F:f:w:c:' OPT; do\n case $OPT in\n H) hostaddress=$OPTARG ;;\n u) username=$OPTARG ;;\n F) filesystem=$OPTARG ;;\n f) fileset=$OPTARG ;;\n w) warn_thresh=$OPTARG ;;\n c) crit_thresh=$OPTARG ;;\n *) error_usage ;;\n esac\ndone\n\n# Check for mandatory options\nif [ -z \"$hostaddress\" ] || [ -z \"$username\" ] || [ -z \"$filesystem\" ] || [ -z \"$fileset\" ]; then error_usage; fi\n\n# Check if thresholds are numbers\nif ! [[ \"$warn_thresh\" =~ ^[[:digit:]]+$ ]] || ! [[ \"$crit_thresh\" =~ ^[[:digit:]]+$ ]]; then error_usage; fi\n\n#################\n# Sanity checks #\n#################\n\n# Check for dependencies\nif [ ! -x /usr/bin/ssh ]\nthen\n echo \"'openssh' not found - please install it!\"\n exit 3\nfi\n\nif [ ! -x /usr/bin/bc ]\nthen\n echo \"'bc' not found - please install it!\"\n exit 3\nfi\n\n# Check if identity file is readable\nif [ ! -r \"$identity_file\" ]\nthen\n echo \"${identity_file} is not readable - please adjust its path!\"\n exit 3\nfi\n\n# Check if temporary file is writable\nif ! touch $tmp_file 2> /dev/null\nthen\n echo \"${tmp_file} is not writable - please adjust its path!\"\n exit 3\nfi\n\n# Compile SSH command using commandline options\nrsh=\"/usr/bin/ssh \\\n -o PasswordAuthentication=no \\\n -o PubkeyAuthentication=yes \\\n -o StrictHostKeyChecking=no \\\n -o ConnectTimeout=10 \\\n -i $identity_file \\\n $username@$hostaddress\"\n\n# Initialize return code\nreturn_code=0\nreturn_status=\"OK\"\n\n# Initialize performance data and output\nperfdata=\"\"\noutput=\"\"\n\n# Initialize counter\nfileset_found=0\n\n##########################\n# Check number of inodes #\n##########################\n\n# Execute remote command\n$rsh \"lsfset ${filesystem} -v -Y\" &> $tmp_file\nRC=$?\n\n# Check SSH return code\nif [ \"$RC\" -ne 0 ] && [ \"$RC\" -ne 9 ]; then error_login; fi\n\n# Remove header from remote command output\nsed '/HEADER/d' -i $tmp_file\n\n# Check for errors\nif grep -q 'EFSSP0010C' $tmp_file\nthen\n # EFSSP0010C - filesystem does not exist\n echo \"Filesystem ${filesystem} not found!\"\n rm $tmp_file\n exit 3\nfi\n\n# Parse remote command output\nwhile read line\ndo\n # Check for specified fileset\n if [ \"$(echo $line | cut -d : -f 8)\" == \"$fileset\" ]\n then\n # Remember that fileset was found\n fileset_found=1\n\n # Retrieve used and max. inodes\n inodes_used=$(echo \"$line\" | cut -d : -f 17)\n inodes_max=$(echo \"$line\" | cut -d : -f 20)\n\n # Produce output\n utilization=$(echo \"100*${inodes_used}/${inodes_max}\" | bc)\n output=\"${utilization} % inodes used (${inodes_used} out of ${inodes_max})\"\n\n # Produce performance data\n perfdata=\"inodes=${utilization}%;${warn_thresh};${crit_thresh};0;100\"\n\n # Check if utilization is above threshold\n if [ $(echo \"${utilization}>=${crit_thresh}\" | bc) -eq 1 ] && [ \"$return_code\" -lt 2 ]\n then\n return_code=2\n return_status=\"CRITICAL\"\n elif [ $(echo \"${utilization}>=${warn_thresh}\" | bc) -eq 1 ] && [ \"$return_code\" -lt 1 ]\n then\n return_code=1\n return_status=\"WARNING\"\n fi\n fi\ndone < $tmp_file\n\n# Check if fileset was found\nif [ \"$fileset_found\" -eq 0 ]\nthen\n # Fileset does not exist\n echo \"Fileset ${fileset} not found!\"\n rm $tmp_file\n exit 3\nfi\n\n# Cleanup\nrm $tmp_file\n\n# Produce Nagios output\necho \"INODES ${return_status} - ${output} |${perfdata}\"\nexit $return_code\n", "text_preview": "#!/bin/bash ################################################################################ # The MIT License (MIT) # # # # Copyright (c) 2016 # # # # Permission is hereby granted, free of charge, to any person obtaining a copy # # ", "input_sha256": "84cbedde55dffc70dab02d2ff2a8bd5dbf44988ed8377ef09ced7152611f8100", "text_sha256": "863520a3bbe6fb2930d67643051a6cf06d39ef6cb68533d142efec34e428f861", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 20066, "input_policy": "text-and-optional-url-v1", "label_policy_version": 12, "requested_model": "decision-models/baseten-mammoth-27b-latest", "backend": "baseten", "endpoint": "https://inference.baseten.co/v1/systemone", "status": "needs_review", "training_eligible": false, "label": null, "candidate_label": {"primary": {"main_format": "Technical Writing", "sub_format": null}, "secondary": {"main_format": "Legal Notices", "sub_format": null}, "tertiary": {"main_format": "Legal Notices", "sub_format": null}, "content_structure": ["procedural_steps"]}, "topic": {"primary": {"main_topic": "Programming & Software Engineering", "sub_topic": null}, "secondary": null}, "scores": {"content_quality": 1, "noise_severity": 1, "missing_content_severity": 0, "factual_density": 3, "pretraining_utility": 1, "math_density": 1, "code_density": 3, "reasoning_density": 0, "education_level": 2, "creative_writing_quality": null}, "score_expectations": {"content_quality": 1.0110090241352734, "noise_severity": 0.7159765227331648, "missing_content_severity": 0.07152153040738934, "factual_density": 3.074385879561539, "pretraining_utility": 0.5879737065993674, "math_density": 0.969197808927555, "code_density": 3.3608585851209156, "reasoning_density": 1.481803119455393, "education_level": 2.470917723250128, "creative_writing_quality": -0.11821170127130372}, "api_choices": {"primary": "Technical Writing", "secondary": "Legal Notices", "tertiary": "Legal Notices", "education_level": "2", "creative_writing_quality": "not_applicable", "primary_topic": "Programming & Software Engineering", "secondary_topic": "NONE"}, "review_reasons": ["Duplicate Document Type slots", "tertiary probability 0.5869 below 0.70"], "format_slot_diagnostics": {"comparable": true, "secondary_tertiary_identical": false, "secondary_tertiary_max_abs_gap": 0.19605580043047, "secondary_choice": "Legal Notices", "tertiary_choice": "Legal Notices"}, "confidence": {"primary": 0.9677602007118747, "secondary": 0.7735319544117618, "tertiary": 0.5689519887451843, "structured_records": 0.017742688682404518, "procedural_steps": 0.74664535673438, "worked_solution": 0.010288077789027558, "contextual_dialogue": 1.1419071823255561e-05, "content_quality": 0.5502286641830316, "noise_severity": 0.5413967217810105, "missing_content_severity": 0.9403987246605089, "factual_density": 0.5156150119527244, "pretraining_utility": 0.522346679452717, "math_density": 0.6387314504025254, "code_density": 0.5749491087738487, "reasoning_density": 0.0, "education_level": 0.4574840502324707, "creative_writing_quality": 0.9965818534983111, "primary_topic": 0.9537878472038486, "secondary_topic": 0.6037579515159174}, "probability_margin": {"primary": 0.9503098148325992, "secondary": 0.6679143282398762, "tertiary": 0.401350324674842, "education_level": 0.17146093180378702, "creative_writing_quality": 0.9954865534314271, "primary_topic": 0.9233277955701862, "secondary_topic": 0.40507619906949727}, "raw_probabilities": {"primary": {"Academic Writing": 0.00010137131016852728, "Content Listing": 7.670070870407723e-05, "Creative Writing": 5.59353783195646e-05, "Customer Support Page": 0.0001341986337109363, "Q&A Forum": 5.375685992339798e-05, "Discussion Thread": 3.1902248377362535e-05, "Comment Section": 7.635193221822308e-05, "Missing Content": 8.174003557580092e-05, "Knowledge Article": 0.0003694919262084837, "Legal Notices": 0.007852074185549712, "News Article": 3.093829940190624e-05, "Organizational Announcement": 6.673329888391813e-05, "Nonfiction Writing": 4.5260519324418915e-05, "Organizational About Page": 7.92627943934157e-05, "Personal About Page": 4.594374965974958e-05, "Personal Blog": 3.5035459802557234e-05, "Product Page": 3.667913635623961e-05, "Spam / Ads": 4.722204066612071e-05, "Structured Data": 0.00020506666778686314, "Technical Writing": 0.9691035256822133, "Transcript / Interview": 6.844834876390193e-05, "Tutorial / How-To Guide": 0.018793710849613985, "User Reviews": 3.405032661900973e-05, "Other / Unknown": 0.0025745996077585543}, "secondary": {"Academic Writing": 0.00045170711756049734, "Content Listing": 0.000440520986782518, "Creative Writing": 0.0003263648967984057, "Customer Support Page": 0.0011973551352277457, "Q&A Forum": 0.0003122662475727002, "Discussion Thread": 0.000201721319753148, "Comment Section": 0.00047784731067859434, "Missing Content": 0.0004350654262894172, "Knowledge Article": 0.0020249582589798643, "Legal Notices": 0.7829681229779384, "News Article": 0.00031050423946608186, "Organizational Announcement": 0.0005481031339462256, "Nonfiction Writing": 0.0003605244014413628, "Organizational About Page": 0.0005413046570693577, "Personal About Page": 0.00028393038242323316, "Personal Blog": 0.0002503800502742452, "Product Page": 0.0003162320102189918, "Spam / Ads": 0.00029929682126680505, "Structured Data": 0.0005196308955620309, "Technical Writing": 0.05029406400085194, "Transcript / Interview": 0.00039978826804683466, "Tutorial / How-To Guide": 0.11505379473806225, "User Reviews": 0.00021322365371250813, "NONE": 0.04177329307007691}, "tertiary": {"Academic Writing": 0.0005618949116688576, "Content Listing": 0.0005804461254677285, "Creative Writing": 0.0005509990294717407, "Customer Support Page": 0.0019225887650199884, "Q&A Forum": 0.00042169617880331584, "Discussion Thread": 0.00031068997785027315, "Comment Section": 0.0006246692331468731, "Missing Content": 0.0006253272665217339, "Knowledge Article": 0.005526188311544977, "Legal Notices": 0.5869123225474683, "News Article": 0.000496307670361279, "Organizational Announcement": 0.0009093400776154091, "Nonfiction Writing": 0.0006876255367221869, "Organizational About Page": 0.001107357746760368, "Personal About Page": 0.0005001403962150539, "Personal Blog": 0.0003727883278763709, "Product Page": 0.0005171072430558602, "Spam / Ads": 0.0004817701572292065, "Structured Data": 0.0006542058656888751, "Technical Writing": 0.026909975542736164, "Transcript / Interview": 0.0006233721858687364, "Tutorial / How-To Guide": 0.1855619978726263, "User Reviews": 0.0003415634862365329, "NONE": 0.18279962554404372}, "structured_records": {"false": 0.9822573113175955, "true": 0.017742688682404518}, "procedural_steps": {"false": 0.25335464326561996, "true": 0.74664535673438}, "worked_solution": {"false": 0.9897119222109725, "true": 0.010288077789027558}, "contextual_dialogue": {"false": 0.9999885809281768, "true": 1.1419071823255561e-05}, "content_quality": {"-2": 0.004802174866200726, "-1": 0.02375633110036387, "0": 0.20243910262321443, "1": 0.4936350778524033, "2": 0.2753673135578177}, "noise_severity": {"0": 0.4171737055648113, "1": 0.46011722183158327, "2": 0.11516080131439876, "3": 0.004655386884042393, "4": 0.0028928844051641896}, "missing_content_severity": {"0": 0.9419012668473905, "1": 0.04783889089555848, "2": 0.007866299938042593, "3": 0.001624129640286962, "4": 0.0007694126787211927}, "factual_density": {"0": 0.0037548528167101647, "1": 0.025657290640505113, "2": 0.19085891331645513, "3": 0.4519050106171948, "4": 0.32782393260913484}, "pretraining_utility": {"-2": 0.007697004825887008, "-1": 0.0693044667008645, "0": 0.3309051911492961, "1": 0.5115144916958988, "2": 0.08057884562805358}, "math_density": {"0": 0.2321622252947072, "1": 0.6055802559064511, "2": 0.13732271763378034, "3": 0.010767086906702002, "4": 0.014167714258359299}, "code_density": {"0": 0.0009776914099712641, "1": 0.0024591468689413526, "2": 0.06674987420743649, "3": 0.4943534602175023, "4": 0.43545982729614857}, "reasoning_density": {"0": 0.2800359190306062, "1": 0.25574418648617586, "2": 0.24307979103616337, "3": 0.14466106289132832, "4": 0.07647904055572632}, "education_level": {"none": 0.001048672354495453, "0": 0.0020539185604141336, "1": 0.01567130080648306, "2": 0.5479033751937256, "3": 0.37644244338993854, "4": 0.05688028969494323}, "creative_writing_quality": {"not_applicable": 0.9971515445819259, "-2": 0.0001405706079506068, "-1": 0.0006033623934916719, "0": 0.0016649911504988157, "1": 0.00033127968383938456, "2": 0.00010825158229374231}, "primary_topic": {"Adult & Explicit Sexual Content": 7.583638241229344e-05, "Art & Design": 0.00014378081377345748, "Law & Crime": 0.00019404496926167308, "Education & Careers": 6.802063560544502e-05, "Entertainment & Media": 6.64518466224616e-05, "Fashion & Beauty": 6.53062536769792e-05, "Business, Economics & Finance": 0.00016439486400129295, "Food & Dining": 6.262011502049978e-05, "Games & Gaming": 0.0001124464513670047, "Electronics & Hardware": 0.008564217793883095, "Health, Healthcare & Wellness": 8.113620555940453e-05, "History & Geography": 0.00011614933976456142, "Home, Pets & Hobbies": 7.601418015226796e-05, "Industry & Production": 0.0003341327538754959, "Language, Literature & Philosophy": 6.971921789374665e-05, "Politics & Government": 5.16805937770076e-05, "Religion & Spirituality": 7.083685921932683e-05, "Science, Mathematics & Engineering": 0.0004424634210542764, "Relationships & Community": 4.942204147039655e-05, "Software Usage & Applications": 0.032237442125822045, "Programming & Software Engineering": 0.9555652376960082, "Sports & Fitness": 0.00011186123069740223, "Vehicles & Transportation": 4.95244958127243e-05, "Travel & Tourism": 7.58861209230482e-05, "Other / Uncovered Subject": 0.0010586027441191921, "Unknown / Insufficient Content": 9.277084822642052e-05}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.000923104600599243, "Art & Design": 0.0008464528610662149, "Law & Crime": 0.04286371742328008, "Education & Careers": 0.0005872819033719813, "Entertainment & Media": 0.0006412004791663117, "Fashion & Beauty": 0.0004245252502304937, "Business, Economics & Finance": 0.0016523425394388345, "Food & Dining": 0.00038867990368224363, "Games & Gaming": 0.0005502883567872441, "Electronics & Hardware": 0.03386013381535424, "Health, Healthcare & Wellness": 0.0005309360028649167, "History & Geography": 0.0005518102663024765, "Home, Pets & Hobbies": 0.00046263639019395895, "Industry & Production": 0.0008506163186563728, "Language, Literature & Philosophy": 0.00031302051373422525, "Politics & Government": 0.0004385375878319925, "Religion & Spirituality": 0.0005125329897081196, "Science, Mathematics & Engineering": 0.0011422434294140432, "Relationships & Community": 0.00032163058095049886, "Software Usage & Applications": 0.2139218312342694, "Programming & Software Engineering": 0.07607683309328453, "Sports & Fitness": 0.0004074309461788502, "Vehicles & Transportation": 0.0002796031653785322, "Travel & Tourism": 0.0005279869445777044, "Other / Uncovered Subject": 0.001926593099910945, "NONE": 0.6189980303037667}}, "probabilities": {"primary": {"Academic Writing": 0.00010137131016852728, "Content Listing": 7.670070870407723e-05, "Creative Writing": 5.59353783195646e-05, "Customer Support Page": 0.0001341986337109363, "Q&A Forum": 5.375685992339798e-05, "Discussion Thread": 3.1902248377362535e-05, "Comment Section": 7.635193221822308e-05, "Missing Content": 8.174003557580092e-05, "Knowledge Article": 0.0003694919262084837, "Legal Notices": 0.007852074185549712, "News Article": 3.093829940190624e-05, "Organizational Announcement": 6.673329888391813e-05, "Nonfiction Writing": 4.5260519324418915e-05, "Organizational About Page": 7.92627943934157e-05, "Personal About Page": 4.594374965974958e-05, "Personal Blog": 3.5035459802557234e-05, "Product Page": 3.667913635623961e-05, "Spam / Ads": 4.722204066612071e-05, "Structured Data": 0.00020506666778686314, "Technical Writing": 0.9691035256822133, "Transcript / Interview": 6.844834876390193e-05, "Tutorial / How-To Guide": 0.018793710849613985, "User Reviews": 3.405032661900973e-05, "Other / Unknown": 0.0025745996077585543}, "secondary": {"Academic Writing": 0.00045170711756049734, "Content Listing": 0.000440520986782518, "Creative Writing": 0.0003263648967984057, "Customer Support Page": 0.0011973551352277457, "Q&A Forum": 0.0003122662475727002, "Discussion Thread": 0.000201721319753148, "Comment Section": 0.00047784731067859434, "Missing Content": 0.0004350654262894172, "Knowledge Article": 0.0020249582589798643, "Legal Notices": 0.7829681229779384, "News Article": 0.00031050423946608186, "Organizational Announcement": 0.0005481031339462256, "Nonfiction Writing": 0.0003605244014413628, "Organizational About Page": 0.0005413046570693577, "Personal About Page": 0.00028393038242323316, "Personal Blog": 0.0002503800502742452, "Product Page": 0.0003162320102189918, "Spam / Ads": 0.00029929682126680505, "Structured Data": 0.0005196308955620309, "Technical Writing": 0.05029406400085194, "Transcript / Interview": 0.00039978826804683466, "Tutorial / How-To Guide": 0.11505379473806225, "User Reviews": 0.00021322365371250813, "NONE": 0.04177329307007691}, "tertiary": {"Academic Writing": 0.0005618949116688577, "Content Listing": 0.0005804461254677286, "Creative Writing": 0.0005509990294717408, "Customer Support Page": 0.0019225887650199886, "Q&A Forum": 0.0004216961788033159, "Discussion Thread": 0.0003106899778502732, "Comment Section": 0.0006246692331468732, "Missing Content": 0.000625327266521734, "Knowledge Article": 0.005526188311544978, "Legal Notices": 0.5869123225474684, "News Article": 0.0004963076703612792, "Organizational Announcement": 0.0009093400776154092, "Nonfiction Writing": 0.000687625536722187, "Organizational About Page": 0.0011073577467603682, "Personal About Page": 0.000500140396215054, "Personal Blog": 0.00037278832787637095, "Product Page": 0.0005171072430558603, "Spam / Ads": 0.00048177015722920656, "Structured Data": 0.0006542058656888752, "Technical Writing": 0.026909975542736168, "Transcript / Interview": 0.0006233721858687365, "Tutorial / How-To Guide": 0.18556199787262634, "User Reviews": 0.00034156348623653294, "NONE": 0.18279962554404375}, "structured_records": {"false": 0.9822573113175955, "true": 0.017742688682404518}, "procedural_steps": {"false": 0.25335464326561996, "true": 0.74664535673438}, "worked_solution": {"false": 0.9897119222109725, "true": 0.010288077789027558}, "contextual_dialogue": {"false": 0.9999885809281768, "true": 1.1419071823255561e-05}, "content_quality": {"-2": 0.004802174866200726, "-1": 0.02375633110036387, "0": 0.20243910262321443, "1": 0.4936350778524033, "2": 0.2753673135578177}, "noise_severity": {"0": 0.41717370556481137, "1": 0.4601172218315833, "2": 0.11516080131439878, "3": 0.004655386884042394, "4": 0.00289288440516419}, "missing_content_severity": {"0": 0.9419012668473907, "1": 0.04783889089555849, "2": 0.007866299938042595, "3": 0.0016241296402869625, "4": 0.0007694126787211929}, "factual_density": {"0": 0.0037548528167101647, "1": 0.025657290640505113, "2": 0.19085891331645513, "3": 0.4519050106171948, "4": 0.32782393260913484}, "pretraining_utility": {"-2": 0.007697004825887008, "-1": 0.0693044667008645, "0": 0.3309051911492961, "1": 0.5115144916958988, "2": 0.08057884562805358}, "math_density": {"0": 0.2321622252947072, "1": 0.6055802559064511, "2": 0.13732271763378034, "3": 0.010767086906702002, "4": 0.014167714258359299}, "code_density": {"0": 0.0009776914099712641, "1": 0.0024591468689413526, "2": 0.06674987420743649, "3": 0.4943534602175023, "4": 0.43545982729614857}, "reasoning_density": {"0": 0.2800359190306062, "1": 0.25574418648617586, "2": 0.24307979103616337, "3": 0.14466106289132832, "4": 0.07647904055572632}, "education_level": {"none": 0.001048672354495453, "0": 0.0020539185604141336, "1": 0.01567130080648306, "2": 0.5479033751937256, "3": 0.37644244338993854, "4": 0.05688028969494323}, "creative_writing_quality": {"not_applicable": 0.9971515445819257, "-2": 0.00014057060795060679, "-1": 0.0006033623934916718, "0": 0.0016649911504988152, "1": 0.0003312796838393845, "2": 0.00010825158229374228}, "primary_topic": {"Adult & Explicit Sexual Content": 7.583638241229345e-05, "Art & Design": 0.0001437808137734575, "Law & Crime": 0.00019404496926167313, "Education & Careers": 6.802063560544503e-05, "Entertainment & Media": 6.645184662246161e-05, "Fashion & Beauty": 6.530625367697922e-05, "Business, Economics & Finance": 0.00016439486400129298, "Food & Dining": 6.262011502049979e-05, "Games & Gaming": 0.00011244645136700473, "Electronics & Hardware": 0.008564217793883097, "Health, Healthcare & Wellness": 8.113620555940454e-05, "History & Geography": 0.00011614933976456144, "Home, Pets & Hobbies": 7.601418015226798e-05, "Industry & Production": 0.00033413275387549594, "Language, Literature & Philosophy": 6.971921789374667e-05, "Politics & Government": 5.168059377700761e-05, "Religion & Spirituality": 7.083685921932684e-05, "Science, Mathematics & Engineering": 0.0004424634210542765, "Relationships & Community": 4.942204147039656e-05, "Software Usage & Applications": 0.03223744212582205, "Programming & Software Engineering": 0.9555652376960084, "Sports & Fitness": 0.00011186123069740225, "Vehicles & Transportation": 4.9524495812724314e-05, "Travel & Tourism": 7.588612092304821e-05, "Other / Uncovered Subject": 0.0010586027441191923, "Unknown / Insufficient Content": 9.277084822642055e-05}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.000923104600599243, "Art & Design": 0.0008464528610662149, "Law & Crime": 0.04286371742328008, "Education & Careers": 0.0005872819033719813, "Entertainment & Media": 0.0006412004791663117, "Fashion & Beauty": 0.0004245252502304937, "Business, Economics & Finance": 0.0016523425394388345, "Food & Dining": 0.00038867990368224363, "Games & Gaming": 0.0005502883567872441, "Electronics & Hardware": 0.03386013381535424, "Health, Healthcare & Wellness": 0.0005309360028649167, "History & Geography": 0.0005518102663024765, "Home, Pets & Hobbies": 0.00046263639019395895, "Industry & Production": 0.0008506163186563728, "Language, Literature & Philosophy": 0.00031302051373422525, "Politics & Government": 0.0004385375878319925, "Religion & Spirituality": 0.0005125329897081196, "Science, Mathematics & Engineering": 0.0011422434294140432, "Relationships & Community": 0.00032163058095049886, "Software Usage & Applications": 0.2139218312342694, "Programming & Software Engineering": 0.07607683309328453, "Sports & Fitness": 0.0004074309461788502, "Vehicles & Transportation": 0.0002796031653785322, "Travel & Tourism": 0.0005279869445777044, "Other / Uncovered Subject": 0.001926593099910945, "NONE": 0.6189980303037667}}, "probability_diagnostics": {"primary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "tertiary": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "structured_records": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "procedural_steps": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "worked_solution": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "contextual_dialogue": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "content_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "noise_severity": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "missing_content_severity": {"raw_sum": 0.9999999999999998, "mass_delta": -2.220446049250313e-16, "missing_mass": 2.220446049250313e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "factual_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "pretraining_utility": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "math_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "code_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "reasoning_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "education_level": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "creative_writing_quality": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "primary_topic": {"raw_sum": 0.9999999999999998, "mass_delta": -2.220446049250313e-16, "missing_mass": 2.220446049250313e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}}, "usage": {"input_tokens": 10983, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 10983, "cached_share": null, "cache_discount_reported": null, "reported_cost_usd": null}, "response_metadata": {"model": "decision-models/baseten-mammoth-27b-latest"}, "scored_at_utc": "2026-10-25T18:34:06.679646+00:00", "scoring_key_slot": "primary", "dataset_uid": "381936a1-794a-4751-a209-91201d655182", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "344fa167c29313a158fb7f0492d3cd22062e6c7490cd19453a54c4a6d4302c93", "source_metadata": {"uuid": "381936a1-794a-4751-a209-91201d655182", "repo_name": "acch/nagios-plugins", "relative_path": "check_sonas_inodes.sh", "category": "TOOL", "algo_rel_score": 0.9691519141197205, "quality_score": 3.8528897762298584, "source_meta": {"github_metadata": {"branch": "master", "commit_count": 121, "repo_created_at": "2016-01-28T08:52:02.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 5, "forks": 4, "issues": 1, "pull_requests": 0}, "file_meta": {"content_id": "a9226cd71bc87ef84c12187f66ec91f071736167", "size_bytes": 9815, "file_timestamp": 1534250638, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "6076783c745ba661c33f4856bd8a932e436735c6"}}, "parsed_source_meta": {"github_metadata": {"branch": "master", "commit_count": 121, "repo_created_at": "2016-01-28T08:52:02.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 5, "forks": 4, "issues": 1, "pull_requests": 0}, "file_meta": {"content_id": "a9226cd71bc87ef84c12187f66ec91f071736167", "size_bytes": 9815, "file_timestamp": 1534250638, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "6076783c745ba661c33f4856bd8a932e436735c6", "url": "https://github.com/acch/nagios-plugins/blob/6076783c745ba661c33f4856bd8a932e436735c6/check_sonas_inodes.sh"}, "gpt4o_tokens": 2360, "dataset_split": "shell", "probability_weighted_scores": {"content_quality": 1.0110090241352734, "noise_severity": 0.7159765227331648, "missing_content_severity": 0.07152153040738934, "factual_density": 3.074385879561539, "pretraining_utility": 0.5879737065993674, "math_density": 0.969197808927555, "code_density": 3.3608585851209156, "reasoning_density": 1.481803119455393, "education_level": 2.470917723250128, "creative_writing_quality": -0.11821170127130372}, "score_applicability": {"education_level": 0.9989513276455045, "creative_writing_quality": 0.002848455418074221}} {"source_group": "shell", "source": "openbmb/UltraData-Stack-v3-L2/shell", "domain": "github.com", "language": "shell", "url": "https://github.com/lakshmanachimata/test_root/blob/2e0ed7fda46e5142acb5c37d8ed30240d0d3d349/usr/lib/doodlelabs/lib/stats-proto.sh", "id": "shell-0-dca1e68399d5396396f42d921cd980bf", "text": "#!/bin/sh\n\ninit_log () {\n\tPHY=$(/usr/share/simpleconfig/get_fes_phy.sh)\n\tif [ -z \"$PHY\" ]; then\n\t\techo \"WARNING: unable to find the main PHY. Exiting\"\n\t\texit 0\n\tfi\t\n\n\tMODE=$(uci get wireless.wifi${PHY}.mode)\n\tif [ -z \"$MODE\" ]; then\n\t\techo \"WARNING: unable to find the MODE. Exiting\"\n\t\texit 0\n\tfi\t\n\n\tATHDIR=\"/sys/kernel/debug/ieee80211/phy$PHY/ath9k\"\n\tif [ -z \"$ATHDIR\" ]; then\n\t\techo \"WARNING: unable to find ATHDIR. Exiting\"\n\t\texit 0\n\tfi\t\n\n\trm -r $LOGDIR\n\n\t# make the log directory\n\tmkdir -p $LOGDIR\n\techo \"INFO: Log directory set to ${LOGDIR}\"\n}\n\nget_starting_info() {\n\t\t# some starting info\n\tinfo=$(iw wlan\"$PHY\" survey dump | grep -A 5 \"in use\")\n\tbusy1=$(echo \"$info\" | grep \"busy\" | awk '{printf \"%.2f\", $4/1000}')\n\t[ -z ${busy1} ] && busy1=0\n\tactive1=$(echo \"$info\" | grep \"active\" | awk '{printf \"%.2f\", $4/1000}')\n\t[ -z ${active1} ] && active1=0\n\tbits1=$(cat /sys/kernel/debug/ieee80211/phy${PHY}/ath9k/recv | grep BYTES | awk '{printf \"%d\", $NF/125}')\n\t[ -z ${bits1} ] && bits1=0\n\tbits2=$(cat /sys/kernel/debug/ieee80211/phy${PHY}/ath9k/xmit | grep Bytes | awk '{print $(NF-3)\" \"$(NF-2)\" \"$(NF-1)\" \"$NF}' | awk '{printf \"%d\", ($1+$2+$3+$4)/125}')\n\t[ -z ${bits2} ] && bits2=0\n}\n\nget_ipv6list() {\n\tip -6 neigh | grep -vi \"failed\" | awk '{print $1}' > $LOGDIR/ipv6list\n\n\t# for each ipv6 address, ping\n\tIPV6LIST=\"[\"\n\tnumstations=0\n\tFIRST=0\n\twhile read ip6address\n\tdo\n\t\t[ \"$PING\" -eq 0 ] && break\n\t\t# print the address\n\t\t[ \"$FIRST\" -eq 1 ] && IP6ADDRESS=','\n\t\tIP6ADDRESS=${IP6ADDRESS}'{\"ip6address\":\"'${ip6address}'\"'\n\t\tFIRST=1\n\n\t\t# ping and print the RTT\n\t\tiptoping=\"${ip6address}\"%br-wan\n\t\ttmpnum=$(ping6 -c1 -W 1 -w 1 $iptoping | grep \"min/avg/max\" | awk '{print $4}' | awk -F \"/\" '{print $1}')\n\t\t[ -z ${tmpnum} ] && tmpnum=\"x\"\n\t\tRTT=',\"rtt\":\"'${tmpnum}'\"}'\n\t\tIPV6LIST=${IPV6LIST}${IP6ADDRESS}${RTT}\n\n\t\t# check if MAX stations is exceeded\n\t\tnumstations=$((numstations+1))\n\t\tif [ \"$numstations\" -ge \"$MAXSTATIONS\" ]; then\n\t\t\tbreak\n\t\tfi\n\tdone < $LOGDIR/ipv6list\n\tIPV6LIST=',\"ipv6list\":'${IPV6LIST}']'\n\techo ${IPV6LIST}\n}\n\nget_stationlist() {\n\tiwinfo wlan${PHY} assoclist | grep -i \"00:30:1A\" | awk '{print $1}' > $LOGDIR/stationlist\n\tnumstations=0\n\tfirststation=0\n\tSTATIONLIST=\"[\"\n\twhile read currstation\n\tdo\n\t\t# print the station MAC\n\t\t[ \"$firststation\" -eq 1 ] && CURRSTATION=','\n\t\tCURRSTATION=${CURRSTATION}'{\"station\":\"'${currstation}'\"'\n\t\tfirststation=1\n\n\t\t# get iw information\n\t\tiwtmp=$(iw wlan${PHY} station get ${currstation} | grep \"inactive time:\\|signal: \" | tr -d \"inactive time: signal: dBm\" | sed 's/\\[/,/g' | sed 's/\\]//g' )\n\n\t\t# print the last seen via iwinfo\n\t\t# tmpnum=$(iwinfo wlan$PHY assoclist | grep -i \"${currstation}\" | awk '{print $(NF-2)}' 2> /dev/null)\n\t\ttmpnum=$(echo ${iwtmp} | awk '{print $1}')\n\t\t[ -z ${tmpnum} ] && tmpnum=\"x\"\n\t\tIWSEEN=',\"iwseen\":\"'${tmpnum}'\"'\n\n\t\t# print the RSSI for each antenna\n\t\t# tmpnum=$(iwinfo wlan$PHY assoclist | grep -i \"${currstation}\" | awk '{print $2}' 2> /dev/null)\n\t\ttmpnum=$(echo ${iwtmp} | awk '{print $2}')\n\t\t[ -z ${tmpnum} ] && tmpnum=\"x,x,x\"\n\t\tRSSI=',\"RSSI\":\"'${tmpnum}'\"'\n\n\t\tstation_folder=$(find /sys/kernel/debug/ieee80211/phy$PHY/ -iname $currstation)\n\n\t\t# print the MCSrate and probability\n\t\ttmpnum=$(cat ${station_folder}/rc_stats | grep HT20 | grep A | awk '{print $(NF-11)\",\"$(NF-6)}')\n\t\t[ -z ${tmpnum} ] && tmpnum=\"x,x\"\n\t\tRATE=',\"RATE\":\"'${tmpnum}'\"'\n\n\t\tSTATIONLIST=${STATIONLIST}${CURRSTATION}${IWSEEN}${RSSI}${RATE}'}'\n\t\t# check if MAX stations is exceeded\n\t\tnumstations=$((numstations+1))\n\t\tif [ \"$numstations\" -ge \"$MAXSTATIONS\" ]; then\n\t\t\tbreak\n\t\tfi\n\tdone < $LOGDIR/stationlist\n\tSTATIONLIST=',\"stationlist\":'${STATIONLIST}']'\n\techo ${STATIONLIST}\n}\n\nget_wireless_stats () {\n\n\t# check how noisy it is\n\ttmpcheck=$(which get_noise_stats.sh)\n\t[ \"$NOISE\" -eq 0 ] && tmpcheck=\"\"\n\tif [ ! -z \"$tmpcheck\" ]; then\n\t\ttmpnum=$(get_noise_stats.sh 10 | grep \"75%\" | awk '{print $(NF-1)}' 2>/dev/null)\n\t\t[ -z ${tmpnum} ] && tmpnum=\"x\"\n\t\tTMPNOISE='\"noise\":\"'${tmpnum}'\",'\n\tfi\n\n\t# check busy/active times and packet rates\n\toldbits1=$bits1\n\toldbits2=$bits2\n\toldbusy1=$busy1\n\toldactive1=$active1\n\tinfo=$(iw wlan\"$PHY\" survey dump | grep -A 5 \"in use\")\n\tbusy1=$(echo \"$info\" | grep \"busy\" | awk '{printf \"%.2f\", $4/1000}') # ms to s\n\t[ -z ${busy1} ] && busy1=0\n\tactive1=$(echo \"$info\" | grep \"active\" | awk '{printf \"%.2f\", $4/1000}')\n\t[ -z ${active1} ] && active1=0\n\tbits1=$(cat /sys/kernel/debug/ieee80211/phy${PHY}/ath9k/recv | grep BYTES | awk '{printf \"%d\", $NF/125}')\n\t[ -z ${bits1} ] && bits1=0\n\tbits2=$(cat /sys/kernel/debug/ieee80211/phy${PHY}/ath9k/xmit | grep Bytes | awk '{print $(NF-3)\" \"$(NF-2)\" \"$(NF-1)\" \"$NF}' | awk '{printf \"%d\", ($1+$2+$3+$4)/125}')\n\t[ -z ${bits2} ] && bits2=0\n\n\techo $busy1 $active1 $bits1 $bits2 > /tmp/stats_variables\n\n\tactive=$(echo $active1 $oldactive1 | awk '{print $1-$2}')\n\tbusy=$(echo $busy1 $oldbusy1 | awk '{print $1-$2}')\n\tbitsRX=$(echo $bits1 $oldbits1 | awk '{print $1-$2}')\n\tbitsTX=$(echo $bits2 $oldbits2 | awk '{print $1-$2}')\n\n\tACTIVE_='\"act_s\":'${active}''\n\tBUSY_=',\"bus_s\":'${busy}''\n\tRX_KB_=',\"RX_kb\":'${bitsRX}''\n\tTX_KB_=',\"TX_kb\":'${bitsTX}''\n\n\t# print some ath9k flags\n\ttmpnum=$(cat $ATHDIR/reset | grep -i \"User reset\" | awk '{print $NF}' 2>/dev/null)\n\t[ -z ${tmpnum} ] && tmpnum=\"x\"\n\tUSERRST_=',\"usrrst\":'${tmpnum}''\n\n\ttmpnum=$(cat $ATHDIR/reset | grep -i \"Fatal\" | awk '{print $NF}' 2>/dev/null)\n\t[ -z ${tmpnum} ] && tmpnum=\"x\"\n\tFATAL_=',\"Fatal\":'${tmpnum}''\n\n\ttmpnum=$(cat $ATHDIR/reset | grep -i \"TX Path\" | awk '{print $NF}' 2>/dev/null)\n\t[ -z ${tmpnum} ] && tmpnum=\"x\"\n\tTXPATH_=',\"TXPath\":'${tmpnum}''\n\n\ttmpnum=$(cat $ATHDIR/reset | grep -i \"Baseband Hang\" | awk '{print $NF}' 2>/dev/null)\n\t[ -z ${tmpnum} ] && tmpnum=\"x\"\n\tBBHANG_=',\"bbhang\":'${tmpnum}''\n\n\ttmpnum=$(cat $ATHDIR/reset | grep -i \"deaf hang\" | awk '{print $NF}' 2>/dev/null)\n\t[ -z ${tmpnum} ] && tmpnum=\"x\"\n\tDEAFHANG_=',\"deafhang\":'${tmpnum}''\n\n\ttmpnum=$(cat $ATHDIR/../aqm | grep back | awk '{print $NF}')\n\t[ -z ${tmpnum} ] && tmpnum=\"x\"\n\tBACKLOG_=',\"backlog\":'${tmpnum}''\n\n\t# get the current channel/bandwidth/frequency\n\tiw_info_result=$(iw wlan\"$PHY\" info | grep channel)\n\tiw_channel=$(echo \"$iw_info_result\" | awk -F 'channel ' '{print $2}' | awk '{print $1}')\n\tiw_freq=$(echo \"$iw_info_result\" | awk -F 'center1: ' '{print $2}' | awk '{print $1}')\n\tiw_bandwidth=$(cat /sys/kernel/debug/ieee80211/phy${PHY}/ath9k/chanbw)\n\tiw_channel=',\"channel\":'${iw_channel}''\n\tiw_freq=',\"frequency\":'${iw_freq}''\n\tiw_bandwidth=',\"bandwidth\":'${iw_bandwidth}''\n\n\tWIRELESS_STATS=',\"wirelessStats\":{'${TMPNOISE}${ACTIVE_}${BUSY_}${RX_KB_}${TX_KB_}${USERRST_}${FATAL_}${TXPATH_}${BBHANG_}${DEAFHANG_}${BACKLOG_}${iw_channel}${iw_freq}${iw_bandwidth}'}'\n\techo ${WIRELESS_STATS}\n}\n\nget_assoc_stations() {\n\tlocal wlan=$1\n\tlocal idx=0\n\tlocal json\n\tlocal iwinfo_assoc\n\tlocal station_info\n\tlocal mac signal inactive tx_mcs rx_mcs tx_packets rx_packets\n\tiwinfo_assoc=\"$(ubus call iwinfo assoclist '{\"device\": \"'${wlan}'\"}' | jsonfilter -e '@[*]')\"\n\n\tif [ -n \"${iwinfo_assoc}\" ]; then\n\t\tstation_info=$(echo ${iwinfo_assoc} | jsonfilter -e '@[0]')\n\t\tjson_init\n\t\tjson_add_array associations\n\t\twhile [ -n \"$station_info\" ]; do\n\t\t\tjson_add_object \"\"\n\t\t\tmac=$(echo $station_info | jsonfilter -e '@.mac')\n\t\t\t[ -n \"$mac\" ] && json_add_string mac $mac\n\t\t\tsignal=$(echo $station_info | jsonfilter -e '@.signal')\n\t\t\t[ -n \"$signal\" ] && json_add_int signal $signal\n\t\t\tinactive=$(echo $station_info | jsonfilter -e '@.mac')\n\t\t\t[ -n \"$inactive\" ] && json_add_int inactive $inactive\n\t\t\ttx_mcs=$(echo $station_info | jsonfilter -e '@.tx.rate')\n\t\t\t[ -n \"$tx_mcs\" ] && json_add_int tx_mcs $tx_mcs\n\t\t\trx_mcs=$(echo $station_info | jsonfilter -e '@.rx.rate')\n\t\t\t[ -n \"$rx_mcs\" ] && json_add_int rx_mcs $rx_mcs\n\t\t\ttx_packets=$(echo $station_info | jsonfilter -e '@.tx.packets')\n\t\t\t[ -n \"$tx_packets\" ] && json_add_int tx_packets $tx_packets\n\t\t\trx_packets=$(echo $station_info | jsonfilter -e '@.rx.packets')\n\t\t\t[ -n \"$rx_packets\" ] && json_add_int rx_packets $rx_packets\n\t\t\tjson_close_object\n\t\t\tidx=$(( idx + 1 ))\n\t\t\tstation_info=$(echo ${iwinfo_assoc} | jsonfilter -e '@['${idx}']')\n\t\tdone\n\t\tjson_close_array\n\t\tjson=$(json_dump | jsonfilter -e '@.associations')\n\t\t[ -n \"$json\" ] && echo '\"associations\":'${json}\n\tfi\n\techo \"\"\n}\n\nget_batctl_oj() {\n\tlocal idx=0\n\tlocal json\n\tlocal batctl_o\n\tlocal mesh_station\n\tlocal best orig_address last_seen_msecs tq\n\tbatctl_o=\"$(batctl oj)\"\n\t\n\tif [ -n \"${batctl_o}\" ]; then\n\t\tmesh_station=$(echo ${batctl_o} | jsonfilter -e '@[0]')\n\t\tjson_init\n\t\tjson_add_array Batman_originator\n\t\twhile [ -n \"$mesh_station\" ]; do\n\t\t\tbest=$(echo $mesh_station | jsonfilter -e '@.best')\n\t\t\tif [ -n \"$best\" ] && [ \"${best}\" == \"true\" ]; then\n\t\t\t\tjson_add_object \"\"\n\t\t\t\t[ -n \"$best\" ] && json_add_string best $best\n\t\t\t\torig_address=$(echo $mesh_station | jsonfilter -e '@.orig_address')\n\t\t\t\t[ -n \"$orig_address\" ] && json_add_string orig_address $orig_address\n\t\t\t\tlast_seen_msecs=$(echo $mesh_station | jsonfilter -e '@.last_seen_msecs')\n\t\t\t\t[ -n \"$last_seen_msecs\" ] && json_add_int last_seen_msecs $last_seen_msecs\n\t\t\t\ttq=$(echo $mesh_station | jsonfilter -e '@.tq')\n\t\t\t\t[ -n \"$tq\" ] && json_add_int tq $tq\n\t\t\t\tjson_close_object\n\t\t\tfi\n\t\t\tidx=$(( idx + 1 ))\n\t\t\tmesh_station=$(echo ${batctl_o} | jsonfilter -e '@['${idx}']')\n\t\tdone\n\t\tjson_close_array\n\t\tjson=$(json_dump | jsonfilter -e '@.Batman_originator')\n\t\t[ -n \"$json\" ] && echo '\"Batman_originator\":'${json}\n\tfi\n\techo \"\"\n}\n", "text_preview": "#!/bin/sh init_log () { PHY=$(/usr/share/simpleconfig/get_fes_phy.sh) if [ -z \"$PHY\" ]; then echo \"WARNING: unable to find the main PHY. Exiting\" exit 0 fi MODE=$(uci get wireless.wifi${PHY}.mode) if [ -z \"$MODE\" ]; then echo \"WARNING: unab", "input_sha256": "e23451e6822de881cbc3a33eb44b9cdc5b131bdbcfa0cf4ba22cab6ae1e4fbbd", "text_sha256": "dca1e68399d5396396f42d921cd980bf0b884646a4e22434d33db46b8d630321", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 20071, "input_policy": "text-and-optional-url-v1", "label_policy_version": 12, "requested_model": "decision-models/baseten-mammoth-27b-latest", "backend": "baseten", "endpoint": "https://inference.baseten.co/v1/systemone", "status": "ok", "training_eligible": true, "label": {"primary": {"main_format": "Technical Writing", "sub_format": null}, "secondary": null, "tertiary": null, "content_structure": []}, "candidate_label": null, "topic": {"primary": {"main_topic": "Programming & Software Engineering", "sub_topic": null}, "secondary": null}, "scores": {"content_quality": 1, "noise_severity": 0, "missing_content_severity": 0, "factual_density": 3, "pretraining_utility": 0, "math_density": 0, "code_density": 4, "reasoning_density": 0, "education_level": 3, "creative_writing_quality": null}, "score_expectations": {"content_quality": 0.4495088938176734, "noise_severity": 0.024763974370378753, "missing_content_severity": 0.02705910596114426, "factual_density": 3.0848378951609976, "pretraining_utility": 0.3051112181753025, "math_density": 0.5591231173560517, "code_density": 3.8755053897139504, "reasoning_density": 0.4002564293276325, "education_level": 2.887088661359468, "creative_writing_quality": -0.5131395742018762}, "api_choices": {"primary": "Technical Writing", "secondary": "NONE", "tertiary": "NONE", "education_level": "3", "creative_writing_quality": "not_applicable", "primary_topic": "Programming & Software Engineering", "secondary_topic": "NONE"}, "review_reasons": [], "format_slot_diagnostics": {"comparable": true, "secondary_tertiary_identical": false, "secondary_tertiary_max_abs_gap": 0.03503136112036298, "secondary_choice": "NONE", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.9961459536103632, "secondary": 0.9089754754433249, "tertiary": 0.945529939221095, "structured_records": 0.05674377662344811, "procedural_steps": 0.024245101393753975, "worked_solution": 0.0007954498106914708, "contextual_dialogue": 5.777834891874705e-06, "content_quality": 0.38366090560949273, "noise_severity": 0.979363354691351, "missing_content_severity": 0.9774507450323798, "factual_density": 0.4395694646923374, "pretraining_utility": 0.4799621942994501, "math_density": 0.5340640688699569, "code_density": 0.8962544914282919, "reasoning_density": 0.6664529755603062, "education_level": 0.49608233976917315, "creative_writing_quality": 0.9997595374813438, "primary_topic": 0.9762795200585928, "secondary_topic": 0.7013715708037622}, "probability_margin": {"primary": 0.9948546089259246, "secondary": 0.8580287589628931, "tertiary": 0.9124454951415771, "education_level": 0.32078736148688636, "creative_writing_quality": 0.9997373622544756, "primary_topic": 0.9630600898572866, "secondary_topic": 0.5753984792623703}, "raw_probabilities": {"primary": {"Academic Writing": 2.3180607247732413e-05, "Content Listing": 1.5421010389206348e-05, "Creative Writing": 1.1126224188065283e-05, "Customer Support Page": 6.7484926341689e-06, "Q&A Forum": 8.39124120587216e-06, "Discussion Thread": 6.1940702834859085e-06, "Comment Section": 1.0237927038323958e-05, "Missing Content": 1.8905914794792807e-05, "Knowledge Article": 8.391197460488076e-05, "Legal Notices": 2.7828854449218833e-05, "News Article": 3.42612314181521e-06, "Organizational Announcement": 7.77392955282633e-06, "Nonfiction Writing": 8.47867285326866e-06, "Organizational About Page": 9.85977979369913e-06, "Personal About Page": 1.004668885314896e-05, "Personal Blog": 5.712313160428157e-06, "Product Page": 5.876545895531581e-06, "Spam / Ads": 8.654470878816757e-06, "Structured Data": 0.001451929950673417, "Technical Writing": 0.996306538876598, "Transcript / Interview": 1.533487983163726e-05, "Tutorial / How-To Guide": 0.0005418356077497453, "User Reviews": 5.20494850306506e-06, "Other / Unknown": 0.0014073808956788039}, "secondary": {"Academic Writing": 0.0004177068133887205, "Content Listing": 0.000409222922202448, "Creative Writing": 0.00030870771703428435, "Customer Support Page": 0.0002281209760806191, "Q&A Forum": 0.00017217405660202378, "Discussion Thread": 0.0001413237527263533, "Comment Section": 0.0008184602859106132, "Missing Content": 0.0007090655043347965, "Knowledge Article": 0.0013359856942983172, "Legal Notices": 0.0004592433552582587, "News Article": 0.00020750911611479487, "Organizational Announcement": 0.00018870762254773285, "Nonfiction Writing": 0.0002212154811945074, "Organizational About Page": 0.00023084796736295112, "Personal About Page": 0.00017934019970006733, "Personal Blog": 0.00019267956501343344, "Product Page": 0.00012916158166808328, "Spam / Ads": 0.00020276529876574553, "Structured Data": 0.054739405003626604, "Technical Writing": 0.02079092648531185, "Transcript / Interview": 0.00031626217182403855, "Tutorial / How-To Guide": 0.004731850603980732, "User Reviews": 0.00010115385853334638, "NONE": 0.9127681639665197}, "tertiary": {"Academic Writing": 0.00015772970102860353, "Content Listing": 0.0001786381245266886, "Creative Writing": 0.00013694674811327365, "Customer Support Page": 0.0001029552838476028, "Q&A Forum": 5.866847453076465e-05, "Discussion Thread": 5.232099411370282e-05, "Comment Section": 0.00024901117779381563, "Missing Content": 0.0003841165802303327, "Knowledge Article": 0.000997295095569877, "Legal Notices": 0.0003118997275109426, "News Article": 8.411785054917208e-05, "Organizational Announcement": 7.327798858933451e-05, "Nonfiction Writing": 0.00010661243865223764, "Organizational About Page": 0.00013201502521584268, "Personal About Page": 7.385327843058282e-05, "Personal Blog": 7.58935457599754e-05, "Product Page": 6.246608529621219e-05, "Spam / Ads": 0.00011312818923112, "Structured Data": 0.03535402994530554, "Technical Writing": 0.009886856270883579, "Transcript / Interview": 0.00014287029595288665, "Tutorial / How-To Guide": 0.003426912654055753, "User Reviews": 3.885943792955165e-05, "NONE": 0.9477995250868827}, "structured_records": {"false": 0.9432562233765519, "true": 0.05674377662344811}, "procedural_steps": {"false": 0.975754898606246, "true": 0.024245101393753975}, "worked_solution": {"false": 0.9992045501893085, "true": 0.0007954498106914708}, "contextual_dialogue": {"false": 0.9999942221651081, "true": 5.777834891874705e-06}, "content_quality": {"-2": 0.016156143814385574, "-1": 0.11185939096421867, "0": 0.37286179635387356, "1": 0.40456476532438107, "2": 0.09455790354314104}, "noise_severity": {"0": 0.9784783530497615, "1": 0.019215550746543485, "2": 0.0016117985220263549, "3": 0.0004523641468914705, "4": 0.00024193353477703608}, "missing_content_severity": {"0": 0.9861832745216859, "1": 0.004117854647735487, "2": 0.006580375745693546, "3": 0.002693480517518169, "4": 0.00042501456736679215}, "factual_density": {"0": 0.014588000735562184, "1": 0.038412057078637235, "2": 0.17325125724013796, "3": 0.3950714161805667, "4": 0.37867726876509605}, "pretraining_utility": {"-2": 0.011193749007309267, "-1": 0.13707957631806017, "0": 0.43686614892855336, "1": 0.3651427589841733, "2": 0.049717766761903946}, "math_density": {"0": 0.5931814703861908, "1": 0.2999259163927403, "2": 0.07884704085597695, "3": 0.01067917020900938, "4": 0.017366402156082303}, "code_density": {"0": 0.0002578601816307583, "1": 0.00049888394061081, "2": 0.014801354323044328, "3": 0.09236380909160558, "4": 0.8920780924631084}, "reasoning_density": {"0": 0.7840366170384957, "1": 0.08839232383294068, "2": 0.08682065985991007, "3": 0.024778811299742798, "4": 0.015971587968910822}, "education_level": {"none": 0.0008397784308202934, "0": 0.0011131189157968732, "1": 0.0029643791968595404, "2": 0.2592812549874246, "3": 0.580068616474311, "4": 0.1557328519947878}, "creative_writing_quality": {"not_applicable": 0.9997996145677865, "-2": 4.4675053680403535e-05, "-1": 5.8359403406766144e-05, "0": 6.225231331091463e-05, "1": 2.5313508225853047e-05, "2": 9.785153589682241e-06}, "primary_topic": {"Adult & Explicit Sexual Content": 4.247492955313967e-05, "Art & Design": 6.194472188514335e-05, "Law & Crime": 5.287255037959308e-05, "Education & Careers": 3.703771853553894e-05, "Entertainment & Media": 3.078832967694223e-05, "Fashion & Beauty": 3.07594216480549e-05, "Business, Economics & Finance": 5.772836843807343e-05, "Food & Dining": 3.317610434817745e-05, "Games & Gaming": 5.48061309703278e-05, "Electronics & Hardware": 0.014131756352898688, "Health, Healthcare & Wellness": 3.646489293178948e-05, "History & Geography": 4.661754100228804e-05, "Home, Pets & Hobbies": 4.021951775194239e-05, "Industry & Production": 4.838774014989901e-05, "Language, Literature & Philosophy": 3.6126058330786876e-05, "Politics & Government": 3.450887776643373e-05, "Religion & Spirituality": 3.501733135463671e-05, "Science, Mathematics & Engineering": 0.002833627383889145, "Relationships & Community": 2.5329231148901822e-05, "Software Usage & Applications": 0.004027765294755762, "Programming & Software Engineering": 0.9771918462101853, "Sports & Fitness": 4.9883326540360015e-05, "Vehicles & Transportation": 3.955390891088647e-05, "Travel & Tourism": 5.205601461412416e-05, "Other / Uncovered Subject": 0.00088790508998593, "Unknown / Insufficient Content": 8.134695234823637e-05}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0005654154032971053, "Art & Design": 0.0005353801945754995, "Law & Crime": 0.0005709472075032125, "Education & Careers": 0.0003430821127732411, "Entertainment & Media": 0.0004319190959229353, "Fashion & Beauty": 0.00025664670219751484, "Business, Economics & Finance": 0.0007225058806704769, "Food & Dining": 0.0002700281020810698, "Games & Gaming": 0.00039770941379311967, "Electronics & Hardware": 0.13745880035663188, "Health, Healthcare & Wellness": 0.0003726757321363943, "History & Geography": 0.00038130124108445157, "Home, Pets & Hobbies": 0.00028957895207485783, "Industry & Production": 0.0003003853764539233, "Language, Literature & Philosophy": 0.00019820964261811576, "Politics & Government": 0.00031380093731123165, "Religion & Spirituality": 0.00040334378885331174, "Science, Mathematics & Engineering": 0.005458396848178558, "Relationships & Community": 0.00021675899656081206, "Software Usage & Applications": 0.061714985359860704, "Programming & Software Engineering": 0.07362924925888319, "Sports & Fitness": 0.000299765094432182, "Vehicles & Transportation": 0.00021322706927482714, "Travel & Tourism": 0.0004688741486178762, "Other / Uncovered Subject": 0.0013297334652113103, "NONE": 0.7128572796190021}}, "probabilities": {"primary": {"Academic Writing": 2.3180607247732413e-05, "Content Listing": 1.5421010389206348e-05, "Creative Writing": 1.1126224188065283e-05, "Customer Support Page": 6.7484926341689e-06, "Q&A Forum": 8.39124120587216e-06, "Discussion Thread": 6.1940702834859085e-06, "Comment Section": 1.0237927038323958e-05, "Missing Content": 1.8905914794792807e-05, "Knowledge Article": 8.391197460488076e-05, "Legal Notices": 2.7828854449218833e-05, "News Article": 3.42612314181521e-06, "Organizational Announcement": 7.77392955282633e-06, "Nonfiction Writing": 8.47867285326866e-06, "Organizational About Page": 9.85977979369913e-06, "Personal About Page": 1.004668885314896e-05, "Personal Blog": 5.712313160428157e-06, "Product Page": 5.876545895531581e-06, "Spam / Ads": 8.654470878816757e-06, "Structured Data": 0.001451929950673417, "Technical Writing": 0.996306538876598, "Transcript / Interview": 1.533487983163726e-05, "Tutorial / How-To Guide": 0.0005418356077497453, "User Reviews": 5.20494850306506e-06, "Other / Unknown": 0.0014073808956788039}, "secondary": {"Academic Writing": 0.0004177068133887205, "Content Listing": 0.000409222922202448, "Creative Writing": 0.00030870771703428435, "Customer Support Page": 0.0002281209760806191, "Q&A Forum": 0.00017217405660202378, "Discussion Thread": 0.0001413237527263533, "Comment Section": 0.0008184602859106132, "Missing Content": 0.0007090655043347965, "Knowledge Article": 0.0013359856942983172, "Legal Notices": 0.0004592433552582587, "News Article": 0.00020750911611479487, "Organizational Announcement": 0.00018870762254773285, "Nonfiction Writing": 0.0002212154811945074, "Organizational About Page": 0.00023084796736295112, "Personal About Page": 0.00017934019970006733, "Personal Blog": 0.00019267956501343344, "Product Page": 0.00012916158166808328, "Spam / Ads": 0.00020276529876574553, "Structured Data": 0.054739405003626604, "Technical Writing": 0.02079092648531185, "Transcript / Interview": 0.00031626217182403855, "Tutorial / How-To Guide": 0.004731850603980732, "User Reviews": 0.00010115385853334638, "NONE": 0.9127681639665197}, "tertiary": {"Academic Writing": 0.00015772970102860353, "Content Listing": 0.0001786381245266886, "Creative Writing": 0.00013694674811327365, "Customer Support Page": 0.0001029552838476028, "Q&A Forum": 5.866847453076465e-05, "Discussion Thread": 5.232099411370282e-05, "Comment Section": 0.00024901117779381563, "Missing Content": 0.0003841165802303327, "Knowledge Article": 0.000997295095569877, "Legal Notices": 0.0003118997275109426, "News Article": 8.411785054917208e-05, "Organizational Announcement": 7.327798858933451e-05, "Nonfiction Writing": 0.00010661243865223764, "Organizational About Page": 0.00013201502521584268, "Personal About Page": 7.385327843058282e-05, "Personal Blog": 7.58935457599754e-05, "Product Page": 6.246608529621219e-05, "Spam / Ads": 0.00011312818923112, "Structured Data": 0.03535402994530554, "Technical Writing": 0.009886856270883579, "Transcript / Interview": 0.00014287029595288665, "Tutorial / How-To Guide": 0.003426912654055753, "User Reviews": 3.885943792955165e-05, "NONE": 0.9477995250868827}, "structured_records": {"false": 0.9432562233765519, "true": 0.05674377662344811}, "procedural_steps": {"false": 0.975754898606246, "true": 0.024245101393753975}, "worked_solution": {"false": 0.9992045501893085, "true": 0.0007954498106914708}, "contextual_dialogue": {"false": 0.9999942221651081, "true": 5.777834891874705e-06}, "content_quality": {"-2": 0.016156143814385578, "-1": 0.11185939096421868, "0": 0.3728617963538736, "1": 0.4045647653243811, "2": 0.09455790354314106}, "noise_severity": {"0": 0.9784783530497616, "1": 0.019215550746543488, "2": 0.001611798522026355, "3": 0.0004523641468914706, "4": 0.0002419335347770361}, "missing_content_severity": {"0": 0.986183274521686, "1": 0.004117854647735488, "2": 0.006580375745693547, "3": 0.0026934805175181696, "4": 0.0004250145673667922}, "factual_density": {"0": 0.014588000735562184, "1": 0.038412057078637235, "2": 0.17325125724013796, "3": 0.3950714161805667, "4": 0.37867726876509605}, "pretraining_utility": {"-2": 0.011193749007309267, "-1": 0.13707957631806017, "0": 0.43686614892855336, "1": 0.3651427589841733, "2": 0.049717766761903946}, "math_density": {"0": 0.593181470386191, "1": 0.29992591639274035, "2": 0.07884704085597696, "3": 0.010679170209009381, "4": 0.017366402156082306}, "code_density": {"0": 0.00025786018163075834, "1": 0.0004988839406108101, "2": 0.01480135432304433, "3": 0.09236380909160559, "4": 0.8920780924631085}, "reasoning_density": {"0": 0.7840366170384957, "1": 0.08839232383294068, "2": 0.08682065985991007, "3": 0.024778811299742798, "4": 0.015971587968910822}, "education_level": {"none": 0.0008397784308202934, "0": 0.0011131189157968732, "1": 0.0029643791968595404, "2": 0.2592812549874246, "3": 0.580068616474311, "4": 0.1557328519947878}, "creative_writing_quality": {"not_applicable": 0.9997996145677863, "-2": 4.467505368040353e-05, "-1": 5.835940340676613e-05, "0": 6.225231331091462e-05, "1": 2.531350822585304e-05, "2": 9.78515358968224e-06}, "primary_topic": {"Adult & Explicit Sexual Content": 4.247492955313967e-05, "Art & Design": 6.194472188514335e-05, "Law & Crime": 5.287255037959308e-05, "Education & Careers": 3.703771853553894e-05, "Entertainment & Media": 3.078832967694223e-05, "Fashion & Beauty": 3.07594216480549e-05, "Business, Economics & Finance": 5.772836843807343e-05, "Food & Dining": 3.317610434817745e-05, "Games & Gaming": 5.48061309703278e-05, "Electronics & Hardware": 0.014131756352898688, "Health, Healthcare & Wellness": 3.646489293178948e-05, "History & Geography": 4.661754100228804e-05, "Home, Pets & Hobbies": 4.021951775194239e-05, "Industry & Production": 4.838774014989901e-05, "Language, Literature & Philosophy": 3.6126058330786876e-05, "Politics & Government": 3.450887776643373e-05, "Religion & Spirituality": 3.501733135463671e-05, "Science, Mathematics & Engineering": 0.002833627383889145, "Relationships & Community": 2.5329231148901822e-05, "Software Usage & Applications": 0.004027765294755762, "Programming & Software Engineering": 0.9771918462101853, "Sports & Fitness": 4.9883326540360015e-05, "Vehicles & Transportation": 3.955390891088647e-05, "Travel & Tourism": 5.205601461412416e-05, "Other / Uncovered Subject": 0.00088790508998593, "Unknown / Insufficient Content": 8.134695234823637e-05}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0005654154032971054, "Art & Design": 0.0005353801945754996, "Law & Crime": 0.0005709472075032126, "Education & Careers": 0.00034308211277324114, "Entertainment & Media": 0.00043191909592293535, "Fashion & Beauty": 0.0002566467021975149, "Business, Economics & Finance": 0.000722505880670477, "Food & Dining": 0.00027002810208106984, "Games & Gaming": 0.0003977094137931197, "Electronics & Hardware": 0.1374588003566319, "Health, Healthcare & Wellness": 0.00037267573213639436, "History & Geography": 0.0003813012410844516, "Home, Pets & Hobbies": 0.0002895789520748579, "Industry & Production": 0.00030038537645392334, "Language, Literature & Philosophy": 0.00019820964261811578, "Politics & Government": 0.0003138009373112317, "Religion & Spirituality": 0.0004033437888533118, "Science, Mathematics & Engineering": 0.0054583968481785585, "Relationships & Community": 0.0002167589965608121, "Software Usage & Applications": 0.06171498535986071, "Programming & Software Engineering": 0.0736292492588832, "Sports & Fitness": 0.00029976509443218203, "Vehicles & Transportation": 0.00021322706927482716, "Travel & Tourism": 0.00046887414861787624, "Other / Uncovered Subject": 0.0013297334652113105, "NONE": 0.7128572796190022}}, "probability_diagnostics": {"primary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "tertiary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "structured_records": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "procedural_steps": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "worked_solution": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "contextual_dialogue": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "content_quality": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "noise_severity": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "missing_content_severity": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "factual_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "pretraining_utility": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "math_density": {"raw_sum": 0.9999999999999998, "mass_delta": -2.220446049250313e-16, "missing_mass": 2.220446049250313e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "code_density": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "reasoning_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "education_level": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "creative_writing_quality": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "primary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary_topic": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}}, "usage": {"input_tokens": 12003, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 12003, "cached_share": null, "cache_discount_reported": null, "reported_cost_usd": null}, "response_metadata": {"model": "decision-models/baseten-mammoth-27b-latest"}, "scored_at_utc": "2026-10-25T18:34:06.810809+00:00", "scoring_key_slot": "assistant_1", "dataset_uid": "61a7c3e3-abd0-42d0-9292-768c259eeeee", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "eca5d991b31aa0853453a9ce3ba43c4fcaaa2c9cf0eac383e37ed80dbae003ce", "source_metadata": {"uuid": "61a7c3e3-abd0-42d0-9292-768c259eeeee", "repo_name": "lakshmanachimata/test_root", "relative_path": "usr/lib/doodlelabs/lib/stats-proto.sh", "category": "TOOL", "algo_rel_score": 0.9953945279121399, "quality_score": 3.176730155944824, "source_meta": {"github_metadata": {"branch": "main", "commit_count": 1, "repo_created_at": "2025-03-15T03:41:44.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 0, "forks": 0, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "cef8bc8ecfce37147d0308f7e58c9f5915e7e596", "size_bytes": 9354, "file_timestamp": 1742010163, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "2e0ed7fda46e5142acb5c37d8ed30240d0d3d349"}}, "parsed_source_meta": {"github_metadata": {"branch": "main", "commit_count": 1, "repo_created_at": "2025-03-15T03:41:44.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 0, "forks": 0, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "cef8bc8ecfce37147d0308f7e58c9f5915e7e596", "size_bytes": 9354, "file_timestamp": 1742010163, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "2e0ed7fda46e5142acb5c37d8ed30240d0d3d349", "url": "https://github.com/lakshmanachimata/test_root/blob/2e0ed7fda46e5142acb5c37d8ed30240d0d3d349/usr/lib/doodlelabs/lib/stats-proto.sh"}, "gpt4o_tokens": 3359, "dataset_split": "shell", "probability_weighted_scores": {"content_quality": 0.4495088938176734, "noise_severity": 0.024763974370378753, "missing_content_severity": 0.02705910596114426, "factual_density": 3.0848378951609976, "pretraining_utility": 0.3051112181753025, "math_density": 0.5591231173560517, "code_density": 3.8755053897139504, "reasoning_density": 0.4002564293276325, "education_level": 2.887088661359468, "creative_writing_quality": -0.5131395742018762}, "score_applicability": {"education_level": 0.9991602215691798, "creative_writing_quality": 0.00020038543221361955}} {"source_group": "shell", "source": "openbmb/UltraData-Stack-v3-L2/shell", "domain": "github.com", "language": "shell", "url": "https://github.com/mmichie/dotfiles/blob/2d9c7e601c7876404e3847597ac4f9cb86995a56/zsh/.zsh/lib/path_manager.zsh", "id": "shell-0-f505199461d3d776d6778c740ce38319", "text": "#!/usr/bin/env zsh\n# ~/.zsh/lib/path_manager.zsh\n# \n# Centralized PATH management system\n# All PATH modifications should go through this module\n\n# Path groups with priority (lower number = higher priority)\ntypeset -gA PATH_GROUPS\nPATH_GROUPS=(\n [user]=1 # Personal scripts and binaries\n [language]=2 # Programming language paths (go, rust, python, etc)\n [tools]=3 # Development tools (homebrew, etc)\n [system]=4 # System overrides (/usr/local/bin)\n [default]=5 # OS defaults (preserved from path_helper)\n)\n\n# Storage for path entries\ntypeset -gA PATH_REGISTRY # Full registry with metadata\ntypeset -ga PATH_ORDER # Ordered list for building\n\n# Initialize path management\npath_init() {\n PATH_REGISTRY=()\n PATH_ORDER=()\n}\n\n# Add a path with group classification\n# Usage: path_add [--group=GROUP | --user | --language | --tools | --system] PATH...\npath_add() {\n local group=\"tools\" # sensible default\n local paths=()\n \n # Parse arguments\n while [[ $# -gt 0 ]]; do\n case \"$1\" in\n --user|--mine)\n group=\"user\"\n shift\n ;;\n --lang|--language|--dev)\n group=\"language\"\n shift\n ;;\n --tools|--apps)\n group=\"tools\"\n shift\n ;;\n --system|--sys)\n group=\"system\"\n shift\n ;;\n --default|--os)\n group=\"default\"\n shift\n ;;\n --group=*)\n group=\"${1#--group=}\"\n shift\n ;;\n --)\n shift\n paths+=(\"$@\")\n break\n ;;\n -*)\n echo \"path_add: unknown option: $1\" >&2\n return 1\n ;;\n *)\n paths+=(\"$1\")\n shift\n ;;\n esac\n done\n \n # Get priority for this group\n local priority=\"${PATH_GROUPS[$group]:-3}\"\n \n # Add each path\n for p in \"${paths[@]}\"; do\n # Expand tilde and variables\n p=\"${~p}\"\n \n # Create a unique key\n local key=\"${priority}_${group}_${p//\\//_}\"\n \n # Store in registry\n PATH_REGISTRY[$key]=\"$p:$group:$priority\"\n done\n}\n\n# Build PATH from registry\npath_build() {\n local -a new_path\n local -A seen\n \n # Sort keys by priority (numeric sort)\n local sorted_keys=(${(kon)PATH_REGISTRY})\n \n # Build path array\n for key in $sorted_keys; do\n local entry=\"${PATH_REGISTRY[$key]}\"\n local p=\"${entry%%:*}\" # Extract path part\n \n # Expand path\n p=\"${~p}\"\n \n # Add if exists and not seen\n if [[ -d \"$p\" ]] && [[ -z \"${seen[$p]}\" ]]; then\n new_path+=(\"$p\")\n seen[$p]=1\n fi\n done\n \n # Export as PATH with deduplication\n typeset -U new_path\n export PATH=\"${(j.:.)new_path}\"\n}\n\n# Add system paths that aren't already registered\npath_add_system() {\n for p in ${(s.:.)PATH}; do\n # Check if this path is already registered\n local found=0\n for entry in ${PATH_REGISTRY}; do\n local registered_path=\"${entry%%:*}\"\n [[ \"$p\" == \"$registered_path\" ]] && found=1 && break\n done\n \n # Add if not found\n if [[ $found -eq 0 ]]; then\n path_add --default \"$p\"\n fi\n done\n}\n\n# Show current PATH configuration\npath_show() {\n echo \"Current PATH entries by group:\"\n echo \"==============================\"\n \n local last_group=\"\"\n local index=1\n \n # Sort and display\n for key in ${(kon)PATH_REGISTRY}; do\n local entry=\"${PATH_REGISTRY[$key]}\"\n local p=\"${entry%%:*}\"\n local group=\"${${entry#*:}%%:*}\"\n \n # Expand path for display\n p=\"${~p}\"\n \n # Group header\n if [[ \"$group\" != \"$last_group\" ]]; then\n echo\n echo \"[$group] (priority: ${PATH_GROUPS[$group]:-?})\"\n last_group=\"$group\"\n fi\n \n # Check existence\n local exists=\"[✓]\"\n [[ ! -d \"$p\" ]] && exists=\"[✗]\"\n \n printf \" %2d. %-50s %s\\n\" $index \"$p\" \"$exists\"\n ((index++))\n done\n \n echo\n echo \"Current PATH:\"\n echo \"$PATH\" | tr ':' '\\n' | nl\n}\n\n# Find which PATH entry provides a command\npath_which() {\n local cmd=\"$1\"\n local full_path=\"$(command -v \"$cmd\" 2>/dev/null)\"\n \n if [[ -z \"$full_path\" ]]; then\n echo \"$cmd: command not found\"\n return 1\n fi\n \n echo \"$cmd is $full_path\"\n \n # Find which PATH entry provides it\n local cmd_dir=\"$(dirname \"$full_path\")\"\n local index=1\n \n for p in ${(s.:.)PATH}; do\n if [[ \"$p\" == \"$cmd_dir\" ]]; then\n echo \"Provided by PATH entry #$index: $p\"\n \n # Find in registry\n for key in ${(k)PATH_REGISTRY}; do\n local entry=\"${PATH_REGISTRY[$key]}\"\n local reg_path=\"${entry%%:*}\"\n reg_path=\"${~reg_path}\"\n if [[ \"$reg_path\" == \"$p\" ]]; then\n local group=\"${${entry#*:}%%:*}\"\n echo \"Registered as group: $group\"\n break\n fi\n done\n break\n fi\n ((index++))\n done\n}\n\n# Clear a group or specific path\npath_remove() {\n local target=\"$1\"\n \n if [[ -n \"${PATH_GROUPS[$target]}\" ]]; then\n # Remove all paths in a group\n for key in ${(k)PATH_REGISTRY}; do\n local entry=\"${PATH_REGISTRY[$key]}\"\n local group=\"${${entry#*:}%%:*}\"\n [[ \"$group\" == \"$target\" ]] && unset \"PATH_REGISTRY[$key]\"\n done\n echo \"Removed all paths from group: $target\"\n else\n # Remove specific path\n for key in ${(k)PATH_REGISTRY}; do\n local entry=\"${PATH_REGISTRY[$key]}\"\n local p=\"${entry%%:*}\"\n p=\"${~p}\"\n if [[ \"$p\" == \"$target\" ]]; then\n unset \"PATH_REGISTRY[$key]\"\n echo \"Removed path: $target\"\n break\n fi\n done\n fi\n}\n\n# Register a lazy-loaded path (won't fail if doesn't exist yet)\npath_add_lazy() {\n local group=\"$1\"\n shift\n \n # Add paths without checking existence\n for p in \"$@\"; do\n # Expand tilde and variables\n p=\"${~p}\"\n \n # Get priority for this group\n local priority=\"${PATH_GROUPS[$group]:-3}\"\n \n # Create a unique key\n local key=\"${priority}_${group}_${p//\\//_}\"\n \n # Store in registry with a lazy flag\n PATH_REGISTRY[$key]=\"$p:$group:$priority:lazy\"\n done\n}\n\n# Convenience aliases\nalias path_list='path_show'\nalias path_find='path_which'", "text_preview": "#!/usr/bin/env zsh # ~/.zsh/lib/path_manager.zsh # # Centralized PATH management system # All PATH modifications should go through this module # Path groups with priority (lower number = higher priority) typeset -gA PATH_GROUPS PATH_GROUPS=", "input_sha256": "9424cedd29633a2666784b6f42eef222a0d87dacfd5a954119217ccb070724ef", "text_sha256": "f505199461d3d776d6778c740ce38319c77b164ef995a1d45745040f6bae7f1c", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 20069, "input_policy": "text-and-optional-url-v1", "label_policy_version": 12, "requested_model": "decision-models/baseten-mammoth-27b-latest", "backend": "baseten", "endpoint": "https://inference.baseten.co/v1/systemone", "status": "ok", "training_eligible": true, "label": {"primary": {"main_format": "Technical Writing", "sub_format": null}, "secondary": null, "tertiary": null, "content_structure": []}, "candidate_label": null, "topic": {"primary": {"main_topic": "Programming & Software Engineering", "sub_topic": null}, "secondary": null}, "scores": {"content_quality": 1, "noise_severity": 0, "missing_content_severity": 0, "factual_density": 3, "pretraining_utility": 1, "math_density": 0, "code_density": 4, "reasoning_density": 0, "education_level": 2, "creative_writing_quality": null}, "score_expectations": {"content_quality": 0.8476883317306563, "noise_severity": 0.011120935378870031, "missing_content_severity": 0.007654175721269181, "factual_density": 3.1735187537222336, "pretraining_utility": 0.5634262345396702, "math_density": 0.007526171210745169, "code_density": 3.820684545081572, "reasoning_density": 0.6013331988549491, "education_level": 2.163110602793311, "creative_writing_quality": -0.03382919781272148}, "api_choices": {"primary": "Technical Writing", "secondary": "NONE", "tertiary": "NONE", "education_level": "2", "creative_writing_quality": "not_applicable", "primary_topic": "Programming & Software Engineering", "secondary_topic": "NONE"}, "review_reasons": [], "format_slot_diagnostics": {"comparable": true, "secondary_tertiary_identical": false, "secondary_tertiary_max_abs_gap": 0.004080153078546657, "secondary_choice": "NONE", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.9958469864044762, "secondary": 0.9626376250246644, "tertiary": 0.962246495332486, "structured_records": 0.15808497461296075, "procedural_steps": 0.02213612961992628, "worked_solution": 0.004609729709657413, "contextual_dialogue": 3.6988234910901775e-06, "content_quality": 0.5410633542950923, "noise_severity": 0.9907325538509416, "missing_content_severity": 0.9936215202322757, "factual_density": 0.48170745713740104, "pretraining_utility": 0.4955556941710396, "math_density": 0.9937281906577123, "code_density": 0.850570454234643, "reasoning_density": 0.4988890009542093, "education_level": 0.6906148487551734, "creative_writing_quality": 0.9995426603620058, "primary_topic": 0.9790561023011627, "secondary_topic": 0.8919206761575226}, "probability_margin": {"primary": 0.9942525532348954, "secondary": 0.9464559479971842, "tertiary": 0.9501612684540599, "education_level": 0.5600668005610963, "creative_writing_quality": 0.9994312044303271, "primary_topic": 0.9611530963269092, "secondary_topic": 0.81350259336677}, "raw_probabilities": {"primary": {"Academic Writing": 2.6547297797926017e-05, "Content Listing": 1.5537059727172414e-05, "Creative Writing": 1.3800877528040067e-05, "Customer Support Page": 9.6196596908193e-06, "Q&A Forum": 9.450234463750477e-06, "Discussion Thread": 7.232584000365548e-06, "Comment Section": 1.4857341484300694e-05, "Missing Content": 1.872543364994131e-05, "Knowledge Article": 0.0001365284036180566, "Legal Notices": 2.6856361219733502e-05, "News Article": 4.640470265673586e-06, "Organizational Announcement": 9.263063290652678e-06, "Nonfiction Writing": 1.1563981353151928e-05, "Organizational About Page": 1.0387399651458373e-05, "Personal About Page": 1.5700788097350975e-05, "Personal Blog": 9.820786760727257e-06, "Product Page": 7.393286555480694e-06, "Spam / Ads": 9.22146956576951e-06, "Structured Data": 0.0006839400994166363, "Technical Writing": 0.9960200286376231, "Transcript / Interview": 1.2413193378134341e-05, "Tutorial / How-To Guide": 0.0011522326315599547, "User Reviews": 6.763536574027318e-06, "Other / Unknown": 0.0017674754027276597}, "secondary": {"Academic Writing": 0.00019976549896844444, "Content Listing": 0.00012582847751332644, "Creative Writing": 0.00012757021325883407, "Customer Support Page": 8.828187239013526e-05, "Q&A Forum": 6.111876602467668e-05, "Discussion Thread": 4.793363711753516e-05, "Comment Section": 0.0001235818082354298, "Missing Content": 0.0001781318425726544, "Knowledge Article": 0.0015576503658748016, "Legal Notices": 0.00015680977464189923, "News Article": 7.285060963135551e-05, "Organizational Announcement": 7.613999240165513e-05, "Nonfiction Writing": 8.388109031883064e-05, "Organizational About Page": 9.676357485851122e-05, "Personal About Page": 8.316488819689283e-05, "Personal Blog": 8.867021843777266e-05, "Product Page": 5.931210995518787e-05, "Spam / Ads": 7.334356779916808e-05, "Structured Data": 0.011074717964929651, "Technical Writing": 0.01773844265145251, "Transcript / Interview": 0.00010055502962941412, "Tutorial / How-To Guide": 0.0035529534192037374, "User Reviews": 3.814197795069789e-05, "NONE": 0.9641943906486368}, "tertiary": {"Academic Writing": 0.00013518096137646904, "Content Listing": 0.00012607048285588466, "Creative Writing": 8.935559315241374e-05, "Customer Support Page": 7.387178849607384e-05, "Q&A Forum": 3.630216902943004e-05, "Discussion Thread": 3.203184699583364e-05, "Comment Section": 0.0001211575776275966, "Missing Content": 0.00016479637334001102, "Knowledge Article": 0.0017142780946060878, "Legal Notices": 0.00020694494794361233, "News Article": 4.756021928806171e-05, "Organizational Announcement": 4.927038366147562e-05, "Nonfiction Writing": 7.154380768413868e-05, "Organizational About Page": 8.015247154055817e-05, "Personal About Page": 6.144369205276227e-05, "Personal Blog": 6.145614523466527e-05, "Product Page": 4.409531848376525e-05, "Spam / Ads": 5.5095289882187224e-05, "Structured Data": 0.01307948601390707, "Technical Writing": 0.013658289572905857, "Transcript / Interview": 6.86756670174992e-05, "Tutorial / How-To Guide": 0.00617582575526512, "User Reviews": 2.7557800687763007e-05, "NONE": 0.9638195580269657}, "structured_records": {"false": 0.8419150253870392, "true": 0.15808497461296075}, "procedural_steps": {"false": 0.9778638703800737, "true": 0.02213612961992628}, "worked_solution": {"false": 0.9953902702903425, "true": 0.004609729709657413}, "contextual_dialogue": {"false": 0.999996301176509, "true": 3.6988234910901775e-06}, "content_quality": {"-2": 0.010763935641640535, "-1": 0.0464443153631493, "0": 0.2263373839063963, "1": 0.5172482118005413, "2": 0.19920615328827268}, "noise_severity": {"0": 0.9904193718775419, "1": 0.008605289570051841, "2": 0.0005912853947719288, "3": 0.0002031376112629919, "4": 0.00018091554637133904}, "missing_content_severity": {"0": 0.9955799138811421, "1": 0.001853967624827738, "2": 0.00204749859887108, "3": 0.00036926868193748566, "4": 0.00014935121322170647}, "factual_density": {"0": 0.0048300600030936405, "1": 0.017962518701306433, "2": 0.17380093144454886, "3": 0.40567158727237507, "4": 0.3977349025786761}, "pretraining_utility": {"-2": 0.008166225969900895, "-1": 0.06734480731954696, "0": 0.3617651736787445, "1": 0.47834409226459634, "2": 0.08437970076721134}, "math_density": {"0": 0.9937145406364805, "1": 0.00566736806702428, "2": 0.0002522580213999226, "3": 0.00010904599946134846, "4": 0.0002567872756342498}, "code_density": {"0": 0.0003575710015913639, "1": 0.0006914198839020944, "2": 0.015702291581275344, "3": 0.14440632809780604, "4": 0.8388423894354252}, "reasoning_density": {"0": 0.6942555406801668, "1": 0.11430210356479, "2": 0.11974348816555425, "3": 0.03925135139890479, "4": 0.032447516190584016}, "education_level": {"none": 0.0010014296033496318, "0": 0.0018644085221378986, "1": 0.053707308790286235, "2": 0.7421790406293112, "3": 0.1821122400682149, "4": 0.019135572386700238}, "creative_writing_quality": {"not_applicable": 0.9996188836350048, "-2": 3.424185701322253e-05, "-1": 6.371411729281059e-05, "0": 0.00018767920467777067, "1": 7.165740160488427e-05, "2": 2.382378440663954e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 5.3628856815085945e-05, "Art & Design": 7.058653731078894e-05, "Law & Crime": 5.9326135085262537e-05, "Education & Careers": 4.753975118183049e-05, "Entertainment & Media": 3.6349253422389736e-05, "Fashion & Beauty": 2.9783397294532904e-05, "Business, Economics & Finance": 5.268020449109755e-05, "Food & Dining": 3.312396957109663e-05, "Games & Gaming": 6.0966965815862194e-05, "Electronics & Hardware": 0.00021967949360355839, "Health, Healthcare & Wellness": 2.6265150837681514e-05, "History & Geography": 4.5532431988462265e-05, "Home, Pets & Hobbies": 4.37572207107845e-05, "Industry & Production": 4.252621890413246e-05, "Language, Literature & Philosophy": 5.8731923832223513e-05, "Politics & Government": 2.914834281532458e-05, "Religion & Spirituality": 3.52916866842875e-05, "Science, Mathematics & Engineering": 0.00011084696408782702, "Relationships & Community": 2.9951565500089743e-05, "Software Usage & Applications": 0.018708540501131937, "Programming & Software Engineering": 0.9798616368280411, "Sports & Fitness": 4.878613179649023e-05, "Vehicles & Transportation": 2.2742248163142698e-05, "Travel & Tourism": 4.765786568759262e-05, "Other / Uncovered Subject": 0.00017192013507439136, "Unknown / Insufficient Content": 5.300022015299127e-05}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.00037111460037484947, "Art & Design": 0.00021180206529924114, "Law & Crime": 0.00025235153175596814, "Education & Careers": 0.000177304771650557, "Entertainment & Media": 0.0002000653209246416, "Fashion & Beauty": 0.00010884974423307086, "Business, Economics & Finance": 0.000260285688027352, "Food & Dining": 0.00010644248318150206, "Games & Gaming": 0.00017357236560568105, "Electronics & Hardware": 0.0005189618791244386, "Health, Healthcare & Wellness": 0.0001148464944476738, "History & Geography": 0.00014979485209761306, "Home, Pets & Hobbies": 0.00013226411079644777, "Industry & Production": 0.00011921754357187904, "Language, Literature & Philosophy": 0.00012228155838057929, "Politics & Government": 0.0001329060606075094, "Religion & Spirituality": 0.00015511117195359146, "Science, Mathematics & Engineering": 0.0003344838320434966, "Relationships & Community": 0.00010282915177329103, "Software Usage & Applications": 0.08257497986161712, "Programming & Software Engineering": 0.016873520021746812, "Sports & Fitness": 0.00011413868134003127, "Vehicles & Transportation": 6.400792631989203e-05, "Travel & Tourism": 0.00022556740050487832, "Other / Uncovered Subject": 0.00032572765423474217, "NONE": 0.8960775732283871}}, "probabilities": {"primary": {"Academic Writing": 2.654729779792602e-05, "Content Listing": 1.5537059727172417e-05, "Creative Writing": 1.3800877528040069e-05, "Customer Support Page": 9.619659690819302e-06, "Q&A Forum": 9.450234463750479e-06, "Discussion Thread": 7.2325840003655485e-06, "Comment Section": 1.4857341484300696e-05, "Missing Content": 1.8725433649941312e-05, "Knowledge Article": 0.00013652840361805664, "Legal Notices": 2.6856361219733505e-05, "News Article": 4.640470265673587e-06, "Organizational Announcement": 9.26306329065268e-06, "Nonfiction Writing": 1.156398135315193e-05, "Organizational About Page": 1.0387399651458375e-05, "Personal About Page": 1.5700788097350978e-05, "Personal Blog": 9.820786760727259e-06, "Product Page": 7.393286555480695e-06, "Spam / Ads": 9.221469565769511e-06, "Structured Data": 0.0006839400994166365, "Technical Writing": 0.9960200286376232, "Transcript / Interview": 1.2413193378134343e-05, "Tutorial / How-To Guide": 0.001152232631559955, "User Reviews": 6.763536574027319e-06, "Other / Unknown": 0.00176747540272766}, "secondary": {"Academic Writing": 0.00019976549896844447, "Content Listing": 0.00012582847751332646, "Creative Writing": 0.0001275702132588341, "Customer Support Page": 8.828187239013527e-05, "Q&A Forum": 6.11187660246767e-05, "Discussion Thread": 4.7933637117535165e-05, "Comment Section": 0.00012358180823542983, "Missing Content": 0.00017813184257265443, "Knowledge Article": 0.0015576503658748019, "Legal Notices": 0.00015680977464189926, "News Article": 7.285060963135552e-05, "Organizational Announcement": 7.613999240165514e-05, "Nonfiction Writing": 8.388109031883065e-05, "Organizational About Page": 9.676357485851124e-05, "Personal About Page": 8.316488819689284e-05, "Personal Blog": 8.867021843777267e-05, "Product Page": 5.9312109955187876e-05, "Spam / Ads": 7.33435677991681e-05, "Structured Data": 0.011074717964929653, "Technical Writing": 0.017738442651452514, "Transcript / Interview": 0.00010055502962941413, "Tutorial / How-To Guide": 0.003552953419203738, "User Reviews": 3.81419779506979e-05, "NONE": 0.9641943906486369}, "tertiary": {"Academic Writing": 0.00013518096137646904, "Content Listing": 0.00012607048285588466, "Creative Writing": 8.935559315241374e-05, "Customer Support Page": 7.387178849607384e-05, "Q&A Forum": 3.630216902943004e-05, "Discussion Thread": 3.203184699583364e-05, "Comment Section": 0.0001211575776275966, "Missing Content": 0.00016479637334001102, "Knowledge Article": 0.0017142780946060878, "Legal Notices": 0.00020694494794361233, "News Article": 4.756021928806171e-05, "Organizational Announcement": 4.927038366147562e-05, "Nonfiction Writing": 7.154380768413868e-05, "Organizational About Page": 8.015247154055817e-05, "Personal About Page": 6.144369205276227e-05, "Personal Blog": 6.145614523466527e-05, "Product Page": 4.409531848376525e-05, "Spam / Ads": 5.5095289882187224e-05, "Structured Data": 0.01307948601390707, "Technical Writing": 0.013658289572905857, "Transcript / Interview": 6.86756670174992e-05, "Tutorial / How-To Guide": 0.00617582575526512, "User Reviews": 2.7557800687763007e-05, "NONE": 0.9638195580269657}, "structured_records": {"false": 0.8419150253870392, "true": 0.15808497461296075}, "procedural_steps": {"false": 0.9778638703800737, "true": 0.02213612961992628}, "worked_solution": {"false": 0.9953902702903425, "true": 0.004609729709657413}, "contextual_dialogue": {"false": 0.999996301176509, "true": 3.6988234910901775e-06}, "content_quality": {"-2": 0.010763935641640535, "-1": 0.0464443153631493, "0": 0.2263373839063963, "1": 0.5172482118005413, "2": 0.19920615328827268}, "noise_severity": {"0": 0.9904193718775419, "1": 0.008605289570051841, "2": 0.0005912853947719288, "3": 0.0002031376112629919, "4": 0.00018091554637133904}, "missing_content_severity": {"0": 0.9955799138811421, "1": 0.001853967624827738, "2": 0.00204749859887108, "3": 0.00036926868193748566, "4": 0.00014935121322170647}, "factual_density": {"0": 0.0048300600030936405, "1": 0.017962518701306433, "2": 0.17380093144454886, "3": 0.40567158727237507, "4": 0.3977349025786761}, "pretraining_utility": {"-2": 0.008166225969900895, "-1": 0.06734480731954696, "0": 0.3617651736787445, "1": 0.47834409226459634, "2": 0.08437970076721134}, "math_density": {"0": 0.9937145406364802, "1": 0.005667368067024279, "2": 0.0002522580213999225, "3": 0.00010904599946134844, "4": 0.00025678727563424977}, "code_density": {"0": 0.0003575710015913639, "1": 0.0006914198839020944, "2": 0.015702291581275344, "3": 0.14440632809780604, "4": 0.8388423894354252}, "reasoning_density": {"0": 0.6942555406801669, "1": 0.11430210356479001, "2": 0.11974348816555426, "3": 0.039251351398904795, "4": 0.03244751619058402}, "education_level": {"none": 0.0010014296033496318, "0": 0.0018644085221378986, "1": 0.053707308790286235, "2": 0.7421790406293112, "3": 0.1821122400682149, "4": 0.019135572386700238}, "creative_writing_quality": {"not_applicable": 0.9996188836350046, "-2": 3.424185701322252e-05, "-1": 6.371411729281058e-05, "0": 0.0001876792046777706, "1": 7.165740160488426e-05, "2": 2.3823784406639532e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 5.362885681508595e-05, "Art & Design": 7.058653731078895e-05, "Law & Crime": 5.932613508526254e-05, "Education & Careers": 4.75397511818305e-05, "Entertainment & Media": 3.634925342238974e-05, "Fashion & Beauty": 2.9783397294532907e-05, "Business, Economics & Finance": 5.2680204491097555e-05, "Food & Dining": 3.3123969571096635e-05, "Games & Gaming": 6.09669658158622e-05, "Electronics & Hardware": 0.0002196794936035584, "Health, Healthcare & Wellness": 2.6265150837681518e-05, "History & Geography": 4.553243198846227e-05, "Home, Pets & Hobbies": 4.375722071078451e-05, "Industry & Production": 4.2526218904132464e-05, "Language, Literature & Philosophy": 5.873192383222352e-05, "Politics & Government": 2.9148342815324582e-05, "Religion & Spirituality": 3.529168668428751e-05, "Science, Mathematics & Engineering": 0.00011084696408782703, "Relationships & Community": 2.9951565500089747e-05, "Software Usage & Applications": 0.01870854050113194, "Programming & Software Engineering": 0.9798616368280412, "Sports & Fitness": 4.8786131796490236e-05, "Vehicles & Transportation": 2.27422481631427e-05, "Travel & Tourism": 4.765786568759263e-05, "Other / Uncovered Subject": 0.0001719201350743914, "Unknown / Insufficient Content": 5.3000220152991277e-05}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.00037111460037484947, "Art & Design": 0.00021180206529924114, "Law & Crime": 0.00025235153175596814, "Education & Careers": 0.000177304771650557, "Entertainment & Media": 0.0002000653209246416, "Fashion & Beauty": 0.00010884974423307086, "Business, Economics & Finance": 0.000260285688027352, "Food & Dining": 0.00010644248318150206, "Games & Gaming": 0.00017357236560568105, "Electronics & Hardware": 0.0005189618791244386, "Health, Healthcare & Wellness": 0.0001148464944476738, "History & Geography": 0.00014979485209761306, "Home, Pets & Hobbies": 0.00013226411079644777, "Industry & Production": 0.00011921754357187904, "Language, Literature & Philosophy": 0.00012228155838057929, "Politics & Government": 0.0001329060606075094, "Religion & Spirituality": 0.00015511117195359146, "Science, Mathematics & Engineering": 0.0003344838320434966, "Relationships & Community": 0.00010282915177329103, "Software Usage & Applications": 0.08257497986161712, "Programming & Software Engineering": 0.016873520021746812, "Sports & Fitness": 0.00011413868134003127, "Vehicles & Transportation": 6.400792631989203e-05, "Travel & Tourism": 0.00022556740050487832, "Other / Uncovered Subject": 0.00032572765423474217, "NONE": 0.8960775732283871}}, "probability_diagnostics": {"primary": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "tertiary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "structured_records": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "procedural_steps": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "worked_solution": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "contextual_dialogue": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "content_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "noise_severity": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "missing_content_severity": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "factual_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "pretraining_utility": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "math_density": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "code_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "reasoning_density": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "education_level": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "creative_writing_quality": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "primary_topic": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}}, "usage": {"input_tokens": 10261, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 10261, "cached_share": null, "cache_discount_reported": null, "reported_cost_usd": null}, "response_metadata": {"model": "decision-models/baseten-mammoth-27b-latest"}, "scored_at_utc": "2026-10-25T18:34:07.617893+00:00", "scoring_key_slot": "assistant_1", "dataset_uid": "9c6e3950-a49d-4918-bd2c-c8670a63d1e5", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "ba2e9b40720717b869015f46a47e521f460c710c7d2d4195e2fa6bee763c4a86", "source_metadata": {"uuid": "9c6e3950-a49d-4918-bd2c-c8670a63d1e5", "repo_name": "mmichie/dotfiles", "relative_path": "zsh/.zsh/lib/path_manager.zsh", "category": "TOOL", "algo_rel_score": 0.9974727034568787, "quality_score": 5.633580207824707, "source_meta": {"github_metadata": {"branch": "master", "commit_count": 331, "repo_created_at": "2013-04-19T21:48:02.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 1, "forks": 0, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "7e824b617769bf70b54665fdf9bf4fc52e3c4f79", "size_bytes": 6896, "file_timestamp": 1752008094, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "2d9c7e601c7876404e3847597ac4f9cb86995a56"}}, "parsed_source_meta": {"github_metadata": {"branch": "master", "commit_count": 331, "repo_created_at": "2013-04-19T21:48:02.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 1, "forks": 0, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "7e824b617769bf70b54665fdf9bf4fc52e3c4f79", "size_bytes": 6896, "file_timestamp": 1752008094, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "2d9c7e601c7876404e3847597ac4f9cb86995a56", "url": "https://github.com/mmichie/dotfiles/blob/2d9c7e601c7876404e3847597ac4f9cb86995a56/zsh/.zsh/lib/path_manager.zsh"}, "gpt4o_tokens": 1676, "dataset_split": "shell", "probability_weighted_scores": {"content_quality": 0.8476883317306563, "noise_severity": 0.011120935378870031, "missing_content_severity": 0.007654175721269181, "factual_density": 3.1735187537222336, "pretraining_utility": 0.5634262345396702, "math_density": 0.007526171210745169, "code_density": 3.820684545081572, "reasoning_density": 0.6013331988549491, "education_level": 2.163110602793311, "creative_writing_quality": -0.03382919781272148}, "score_applicability": {"education_level": 0.9989985703966504, "creative_writing_quality": 0.0003811163649953275}} {"source_group": "shell", "source": "openbmb/UltraData-Stack-v3-L2/shell", "domain": "github.com", "language": "shell", "url": "https://github.com/zcups/RetroPie/blob/e5542a57d28d63fc61119efea431cc751ec85338/scriptmodules/system.sh", "id": "shell-0-0bb0e247321184d8d5bdb878eca30cab", "text": "#!/usr/bin/env bash\n\n# This file is part of The RetroPie Project\n# \n# The RetroPie Project is the legal property of its developers, whose names are\n# too numerous to list here. Please refer to the COPYRIGHT.md file distributed with this source.\n# \n# See the LICENSE.md file at the top-level directory of this distribution and \n# at https://raw.githubusercontent.com/RetroPie/RetroPie-Setup/master/LICENSE.md\n#\n\nfunction setup_env() {\n\n __ERRMSGS=()\n __INFMSGS=()\n\n __memory_phys=$(free -m | awk '/^Mem:/{print $2}')\n __memory_total=$(free -m -t | awk '/^Total:/{print $2}')\n\n get_platform\n\n get_os_version\n get_default_gcc\n get_retropie_depends\n\n # set default gcc version\n if [[ -n \"$__default_gcc_version\" ]]; then\n set_default_gcc \"$__default_gcc_version\"\n fi\n\n # set location of binary downloads\n __binary_host=\"files.retropie.org.uk\"\n [[ \"$__has_binaries\" -eq 1 ]] && __binary_url=\"http://$__binary_host/binaries/$__raspbian_name/$__platform\"\n\n __archive_url=\"http://files.retropie.org.uk/archives\"\n\n # -pipe is faster but will use more memory - so let's only add it if we have more thans 256M free ram.\n [[ $__memory_phys -ge 256 ]] && __default_cflags+=\" -pipe\"\n\n [[ -z \"${CFLAGS}\" ]] && export CFLAGS=\"${__default_cflags}\"\n [[ -z \"${CXXFLAGS}\" ]] && export CXXFLAGS=\"${__default_cflags}\"\n [[ -z \"${ASFLAGS}\" ]] && export ASFLAGS=\"${__default_asflags}\"\n [[ -z \"${MAKEFLAGS}\" ]] && export MAKEFLAGS=\"${__default_makeflags}\"\n\n # test if we are in a chroot\n if [[ \"$(stat -c %d:%i /)\" != \"$(stat -c %d:%i /proc/1/root/.)\" ]]; then\n [[ -z \"$QEMU_CPU\" && -n \"$__qemu_cpu\" ]] && export QEMU_CPU=$__qemu_cpu\n __chroot=1\n else\n __chroot=0\n fi\n\n if [[ -z \"$__nodialog\" ]]; then\n __nodialog=0\n fi\n}\n\nfunction get_os_version() {\n if [[ -f /etc/debian_version ]]; then\n local ver=$( /dev/null\n for i in gcc cpp g++ gcov; do\n set_default $i $1\n done\n popd > /dev/null\n}\n\nfunction get_retropie_depends() {\n # add rasberrypi repository if it's missing (needed for libraspberrypi-dev etc) - not used on osmc\n local config=\"/etc/apt/sources.list.d/raspi.list\"\n if [[ ! -f \"$config\" ]] && hasPackage raspberrypi-bootloader; then\n # add key\n wget -q http://archive.raspberrypi.org/debian/raspberrypi.gpg.key -O- | apt-key add - >/dev/null\n echo \"deb http://archive.raspberrypi.org/debian/ $__raspbian_name main\" >>$config\n fi\n\n local depends=(git dialog wget gcc g++ build-essential unzip xmlstarlet)\n if [[ -n \"$__default_gcc_version\" ]]; then\n depends+=(gcc-$__default_gcc_version g++-$__default_gcc_version)\n fi\n if ! getDepends \"${depends[@]}\"; then\n fatalError \"Unable to install packages required by $0 - ${md_ret_errors[@]}\"\n fi\n}\n\nfunction get_platform() {\n local architecture=$(uname --machine)\n if [[ -z \"$__platform\" ]]; then\n case $(sed -n '/^Hardware/s/^.*: \\(.*\\)/\\1/p' < /proc/cpuinfo) in\n BCM2708)\n __platform=\"rpi1\"\n ;;\n BCM2709)\n local revision=$(sed -n '/^Revision/s/^.*: \\(.*\\)/\\1/p' < /proc/cpuinfo)\n if [[ \"$revision\" == \"a02082\" || \"$revision\" == \"a22082\" ]]; then\n if [[ \"$architecture\" == \"aarch64\" ]]; then\n __platform=\"rpi3-64\"\n else\n __platform=\"rpi3\"\n fi\n else\n __platform=\"rpi2\"\n fi\n ;;\n ODROIDC)\n __platform=\"odroid-c1\"\n ;;\n *)\n case $architecture in\n i686|x86_64|amd64)\n __platform=\"x86\"\n ;;\n esac\n ;;\n esac\n fi\n\n if ! fnExists \"platform_${__platform}\"; then\n fatalError \"Unknown platform - please manually set the __platform variable to one of the following: $(compgen -A function platform_ | cut -b10- | paste -s -d' ')\"\n fi\n\n platform_${__platform}\n}\n\nfunction platform_rpi1() {\n # values to be used for configure/make\n __default_cflags=\"-O2 -mfpu=vfp -march=armv6j -mfloat-abi=hard\"\n __default_asflags=\"\"\n __default_makeflags=\"\"\n __platform_flags=\"arm armv6 rpi\"\n # if building in a chroot, what cpu should be set by qemu\n # make chroot identify as arm6l\n __qemu_cpu=arm1176\n # do we have prebuild binaries for this platform\n __has_binaries=1\n}\n\nfunction platform_rpi2() {\n __default_cflags=\"-O3 -mcpu=cortex-a7 -mfpu=neon-vfpv4 -mfloat-abi=hard -funsafe-math-optimizations\"\n __default_asflags=\"\"\n __default_makeflags=\"-j2\"\n __platform_flags=\"arm armv7 neon rpi\"\n # there is no support in qemu for cortex-a7 it seems, but it does have cortex-a15 which is architecturally\n # aligned with the a7, and allows the a7 targetted code to be run in a chroot/emulated environment\n __qemu_cpu=cortex-a15\n __has_binaries=1\n}\n\n# note the rpi3 currently uses the rpi2 binaries - for ease of maintenance - rebuilding from source\n# could improve performance with the compiler options below but needs further testing\nfunction platform_rpi3() {\n __default_cflags=\"-O3 -mcpu=cortex-a53 -mfpu=neon-fp-armv8 -mfloat-abi=hard -funsafe-math-optimizations\"\n __default_asflags=\"\"\n __default_makeflags=\"-j2\"\n __platform_flags=\"arm armv8 neon rpi\"\n __has_binaries=1\n}\n\nfunction platform_rpi3-64() {\n platform_rpi3\n __has_binaries=0\n}\n\nfunction platform_odroid-c1() {\n __default_cflags=\"-O3 -mcpu=cortex-a5 -mfpu=neon-vfpv4 -mfloat-abi=hard -funsafe-math-optimizations\"\n __default_asflags=\"\"\n __default_makeflags=\"-j2\"\n __platform_flags=\"arm armv7 neon mali\"\n __qemu_cpu=cortex-a9\n __has_binaries=0\n}\n\nfunction platform_x86() {\n __default_cflags=\"-O3 -march=native\"\n __default_asflags=\"\"\n __default_makeflags=\"-j$(nproc)\"\n __platform_flags=\"x11\"\n __has_binaries=0\n}\n\nfunction platform_generic-x11() {\n __default_cflags=\"-O3\"\n __default_asflags=\"\"\n __default_makeflags=\"-j$(nproc)\"\n __platform_flags=\"x11\"\n __has_binaries=0\n}\n\nfunction platform_armv7-mali() {\n __default_cflags=\"-O3 -march=armv7-a -mfpu=neon-vfpv4 -mfloat-abi=hard -funsafe-math-optimizations\"\n __default_asflags=\"\"\n __default_makeflags=\"-j$(nproc)\"\n __platform_flags=\"arm armv7 neon mali\"\n __has_binaries=0\n}\n", "text_preview": "#!/usr/bin/env bash # This file is part of The RetroPie Project # # The RetroPie Project is the legal property of its developers, whose names are # too numerous to list here. Please refer to the COPYRIGHT.md file distributed with this sourc", "input_sha256": "4f3e288c4ff8aaf90b85dc0fad853279236c97ac575a405a51c34a94f7496259", "text_sha256": "0bb0e247321184d8d5bdb878eca30cabf2eab1e25a767309f1bb72b7d6f99e84", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 20073, "input_policy": "text-and-optional-url-v1", "label_policy_version": 12, "requested_model": "decision-models/baseten-mammoth-27b-latest", "backend": "baseten", "endpoint": "https://inference.baseten.co/v1/systemone", "status": "ok", "training_eligible": true, "label": {"primary": {"main_format": "Technical Writing", "sub_format": null}, "secondary": null, "tertiary": null, "content_structure": []}, "candidate_label": null, "topic": {"primary": {"main_topic": "Programming & Software Engineering", "sub_topic": null}, "secondary": null}, "scores": {"content_quality": 1, "noise_severity": 0, "missing_content_severity": 0, "factual_density": 4, "pretraining_utility": 0, "math_density": 0, "code_density": 4, "reasoning_density": 0, "education_level": 2, "creative_writing_quality": null}, "score_expectations": {"content_quality": 0.867846995723898, "noise_severity": 0.17034401364419577, "missing_content_severity": 0.10935493857742228, "factual_density": 3.371082529987692, "pretraining_utility": 0.31581293294703994, "math_density": 0.07690693597563945, "code_density": 3.830286962796834, "reasoning_density": 1.2048902293794237, "education_level": 2.42326388396874, "creative_writing_quality": -0.1996800759918681}, "api_choices": {"primary": "Technical Writing", "secondary": "NONE", "tertiary": "NONE", "education_level": "2", "creative_writing_quality": "not_applicable", "primary_topic": "Programming & Software Engineering", "secondary_topic": "NONE"}, "review_reasons": [], "format_slot_diagnostics": {"comparable": true, "secondary_tertiary_identical": false, "secondary_tertiary_max_abs_gap": 0.024074040850922962, "secondary_choice": "NONE", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.996546000741252, "secondary": 0.6510533992739961, "tertiary": 0.6464138664862192, "structured_records": 0.14033786024211506, "procedural_steps": 0.04062287273004599, "worked_solution": 0.0015401798913343679, "contextual_dialogue": 5.4067564907101e-06, "content_quality": 0.5525577915702538, "noise_severity": 0.8580466552965036, "missing_content_severity": 0.9088708845188148, "factual_density": 0.4759021083230769, "pretraining_utility": 0.4815809753632163, "math_density": 0.9359108866869671, "code_density": 0.8585724689973615, "reasoning_density": 0.0, "education_level": 0.5359976429974358, "creative_writing_quality": 0.9993412481435131, "primary_topic": 0.9682398228546486, "secondary_topic": 0.5795559102763795}, "probability_margin": {"primary": 0.9952422785097647, "secondary": 0.37223736226566734, "tertiary": 0.3437171024931249, "education_level": 0.30748770785111806, "creative_writing_quality": 0.9992025334797124, "primary_topic": 0.9573108380313562, "secondary_topic": 0.3958696718667633}, "raw_probabilities": {"primary": {"Academic Writing": 2.4765034586039447e-05, "Content Listing": 2.5231755031707684e-05, "Creative Writing": 1.3715134299990032e-05, "Customer Support Page": 1.0828735149131593e-05, "Q&A Forum": 9.593645284169935e-06, "Discussion Thread": 7.091164629702785e-06, "Comment Section": 1.1546195403193049e-05, "Missing Content": 2.7133626292020584e-05, "Knowledge Article": 7.80900488483902e-05, "Legal Notices": 0.0006477310843408959, "News Article": 4.641079913641685e-06, "Organizational Announcement": 2.1527154050617117e-05, "Nonfiction Writing": 9.947208075370793e-06, "Organizational About Page": 1.8263656641137082e-05, "Personal About Page": 1.0544313284795368e-05, "Personal Blog": 7.702008806113951e-06, "Product Page": 6.6818166521120065e-06, "Spam / Ads": 9.472277528523729e-06, "Structured Data": 0.00044308118792302605, "Technical Writing": 0.9966899173770332, "Transcript / Interview": 1.5068473045513919e-05, "Tutorial / How-To Guide": 0.0004531946501173799, "User Reviews": 6.593505794574585e-06, "Other / Unknown": 0.0014476388672685048}, "secondary": {"Academic Writing": 0.0006149243349589904, "Content Listing": 0.000564934318920209, "Creative Writing": 0.0006326294519918874, "Customer Support Page": 0.0004207297620956047, "Q&A Forum": 0.00034454339349133885, "Discussion Thread": 0.0002723229406328449, "Comment Section": 0.000521904390615384, "Missing Content": 0.0008674672582456083, "Knowledge Article": 0.0011832037910630862, "Legal Notices": 0.29335547870524553, "News Article": 0.0005537082747545216, "Organizational Announcement": 0.0008159023322089048, "Nonfiction Writing": 0.0005786124280057371, "Organizational About Page": 0.0015437082608449997, "Personal About Page": 0.000476845222738165, "Personal Blog": 0.00031474074004059536, "Product Page": 0.0004002293462666708, "Spam / Ads": 0.00044012971344243457, "Structured Data": 0.0014931920901633728, "Technical Writing": 0.025829108911313778, "Transcript / Interview": 0.0006277733403840462, "Tutorial / How-To Guide": 0.0022897925900962584, "User Reviews": 0.0002652774315671562, "NONE": 0.6655928409709129}, "tertiary": {"Academic Writing": 0.0004899096166431768, "Content Listing": 0.00042703137335227306, "Creative Writing": 0.0005541998076354973, "Customer Support Page": 0.0002945735312833658, "Q&A Forum": 0.00023824541769991014, "Discussion Thread": 0.0001874283105690644, "Comment Section": 0.0004184859862107143, "Missing Content": 0.0005219023596217028, "Knowledge Article": 0.0011322021886808, "Legal Notices": 0.3174295195561685, "News Article": 0.00040090643037739206, "Organizational Announcement": 0.0005114545932227962, "Nonfiction Writing": 0.00044786916435950375, "Organizational About Page": 0.0014279111047564733, "Personal About Page": 0.00032650799360872684, "Personal Blog": 0.00022394878398741233, "Product Page": 0.0003221135585298678, "Spam / Ads": 0.0003256844935533163, "Structured Data": 0.0007187081893966801, "Technical Writing": 0.010780140173214494, "Transcript / Interview": 0.00044441221420641583, "Tutorial / How-To Guide": 0.0010539485496759396, "User Reviews": 0.00017627455395255256, "NONE": 0.6611466220492934}, "structured_records": {"false": 0.859662139757885, "true": 0.14033786024211506}, "procedural_steps": {"false": 0.959377127269954, "true": 0.04062287273004599}, "worked_solution": {"false": 0.9984598201086656, "true": 0.0015401798913343679}, "contextual_dialogue": {"false": 0.9999945932435093, "true": 5.4067564907101e-06}, "content_quality": {"-2": 0.005731725030700701, "-1": 0.029461626625703403, "0": 0.25842339885238985, "1": 0.5039944265714092, "2": 0.20238882291979668}, "noise_severity": {"0": 0.8372071545902773, "1": 0.1582634344672585, "2": 0.002573378194976976, "3": 0.0008903082029654651, "4": 0.001065724544521724}, "missing_content_severity": {"0": 0.9402280888001492, "1": 0.021987725611977912, "2": 0.027347183097343904, "3": 0.009075163191359238, "4": 0.001361839299169711}, "factual_density": {"0": 0.003264686657736995, "1": 0.0081272267913656, "2": 0.090283836164881, "3": 0.41090937067750094, "4": 0.4874148797085156}, "pretraining_utility": {"-2": 0.010893293403107566, "-1": 0.13135836150233518, "0": 0.4395854310552228, "1": 0.36736794682307866, "2": 0.05079496721625579}, "math_density": {"0": 0.9341555120651536, "1": 0.05977121081748463, "2": 0.003063131070571395, "3": 0.001031121170150262, "4": 0.001979024876640317}, "code_density": {"0": 0.00027894413504549794, "1": 0.0005712263356410347, "2": 0.012225815181349098, "3": 0.14243195129336295, "4": 0.8444920630546014}, "reasoning_density": {"0": 0.366557987835826, "1": 0.2605375628878782, "2": 0.21914055593117102, "3": 0.1089840187512957, "4": 0.04477987459382911}, "education_level": {"none": 0.0011756166946569314, "0": 0.0016607352464765915, "1": 0.011911046033935889, "2": 0.6133313691645298, "3": 0.30584366131341173, "4": 0.06607757154698907}, "creative_writing_quality": {"not_applicable": 0.9994510401195943, "-2": 6.76072730814136e-05, "-1": 0.00011936773442160835, "0": 0.0002485066398818038, "1": 8.199053609360392e-05, "2": 3.1487696927449424e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 6.63825465388568e-05, "Art & Design": 0.00010549276444951904, "Law & Crime": 8.906781783892597e-05, "Education & Careers": 5.24233744110254e-05, "Entertainment & Media": 0.00026308995619813, "Fashion & Beauty": 4.7684639196594146e-05, "Business, Economics & Finance": 7.948224440549378e-05, "Food & Dining": 4.668640484931002e-05, "Games & Gaming": 0.00874697580765426, "Electronics & Hardware": 0.012150530098113671, "Health, Healthcare & Wellness": 4.430502903988518e-05, "History & Geography": 7.878526576915325e-05, "Home, Pets & Hobbies": 0.00042160059057934904, "Industry & Production": 5.660234383115685e-05, "Language, Literature & Philosophy": 5.3796945620816e-05, "Politics & Government": 4.5085446158738426e-05, "Religion & Spirituality": 5.7241106218858344e-05, "Science, Mathematics & Engineering": 0.0003802342044973757, "Relationships & Community": 3.245043966001489e-05, "Software Usage & Applications": 0.007271150603515243, "Programming & Software Engineering": 0.9694613681294698, "Sports & Fitness": 7.532508260483633e-05, "Vehicles & Transportation": 3.2861022667796374e-05, "Travel & Tourism": 5.309843950042439e-05, "Other / Uncovered Subject": 0.00021059925546988224, "Unknown / Insufficient Content": 7.768044174083957e-05}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0010237819721399487, "Art & Design": 0.001063367490586838, "Law & Crime": 0.007595013033475414, "Education & Careers": 0.0005855204343516372, "Entertainment & Media": 0.002699967363536568, "Fashion & Beauty": 0.0004911079903219264, "Business, Economics & Finance": 0.0013229298472004056, "Food & Dining": 0.0004667815314619601, "Games & Gaming": 0.04340434683156485, "Electronics & Hardware": 0.19985716493744782, "Health, Healthcare & Wellness": 0.0005776796441480321, "History & Geography": 0.0006310996027172056, "Home, Pets & Hobbies": 0.001501626392891202, "Industry & Production": 0.0004537618469629774, "Language, Literature & Philosophy": 0.00034167943801635144, "Politics & Government": 0.0006547994027961841, "Religion & Spirituality": 0.0006767931196836692, "Science, Mathematics & Engineering": 0.0016052305016199316, "Relationships & Community": 0.00031069313445012526, "Software Usage & Applications": 0.07154488318569309, "Programming & Software Engineering": 0.06486747858288582, "Sports & Fitness": 0.0005012548403878338, "Vehicles & Transportation": 0.00026751009157889756, "Travel & Tourism": 0.0006513831530524306, "Other / Uncovered Subject": 0.00117730882681778, "NONE": 0.5957268368042111}}, "probabilities": {"primary": {"Academic Writing": 2.4765034586039454e-05, "Content Listing": 2.523175503170769e-05, "Creative Writing": 1.3715134299990037e-05, "Customer Support Page": 1.0828735149131596e-05, "Q&A Forum": 9.593645284169939e-06, "Discussion Thread": 7.091164629702788e-06, "Comment Section": 1.1546195403193052e-05, "Missing Content": 2.7133626292020594e-05, "Knowledge Article": 7.809004884839022e-05, "Legal Notices": 0.0006477310843408962, "News Article": 4.6410799136416865e-06, "Organizational Announcement": 2.1527154050617124e-05, "Nonfiction Writing": 9.947208075370796e-06, "Organizational About Page": 1.826365664113709e-05, "Personal About Page": 1.0544313284795371e-05, "Personal Blog": 7.702008806113955e-06, "Product Page": 6.681816652112009e-06, "Spam / Ads": 9.472277528523732e-06, "Structured Data": 0.0004430811879230262, "Technical Writing": 0.9966899173770335, "Transcript / Interview": 1.5068473045513924e-05, "Tutorial / How-To Guide": 0.00045319465011738004, "User Reviews": 6.5935057945745875e-06, "Other / Unknown": 0.0014476388672685053}, "secondary": {"Academic Writing": 0.0006149243349589904, "Content Listing": 0.000564934318920209, "Creative Writing": 0.0006326294519918874, "Customer Support Page": 0.0004207297620956047, "Q&A Forum": 0.00034454339349133885, "Discussion Thread": 0.0002723229406328449, "Comment Section": 0.000521904390615384, "Missing Content": 0.0008674672582456083, "Knowledge Article": 0.0011832037910630862, "Legal Notices": 0.29335547870524553, "News Article": 0.0005537082747545216, "Organizational Announcement": 0.0008159023322089048, "Nonfiction Writing": 0.0005786124280057371, "Organizational About Page": 0.0015437082608449997, "Personal About Page": 0.000476845222738165, "Personal Blog": 0.00031474074004059536, "Product Page": 0.0004002293462666708, "Spam / Ads": 0.00044012971344243457, "Structured Data": 0.0014931920901633728, "Technical Writing": 0.025829108911313778, "Transcript / Interview": 0.0006277733403840462, "Tutorial / How-To Guide": 0.0022897925900962584, "User Reviews": 0.0002652774315671562, "NONE": 0.6655928409709129}, "tertiary": {"Academic Writing": 0.0004899096166431768, "Content Listing": 0.00042703137335227306, "Creative Writing": 0.0005541998076354973, "Customer Support Page": 0.0002945735312833658, "Q&A Forum": 0.00023824541769991014, "Discussion Thread": 0.0001874283105690644, "Comment Section": 0.0004184859862107143, "Missing Content": 0.0005219023596217028, "Knowledge Article": 0.0011322021886808, "Legal Notices": 0.3174295195561685, "News Article": 0.00040090643037739206, "Organizational Announcement": 0.0005114545932227962, "Nonfiction Writing": 0.00044786916435950375, "Organizational About Page": 0.0014279111047564733, "Personal About Page": 0.00032650799360872684, "Personal Blog": 0.00022394878398741233, "Product Page": 0.0003221135585298678, "Spam / Ads": 0.0003256844935533163, "Structured Data": 0.0007187081893966801, "Technical Writing": 0.010780140173214494, "Transcript / Interview": 0.00044441221420641583, "Tutorial / How-To Guide": 0.0010539485496759396, "User Reviews": 0.00017627455395255256, "NONE": 0.6611466220492934}, "structured_records": {"false": 0.859662139757885, "true": 0.14033786024211506}, "procedural_steps": {"false": 0.959377127269954, "true": 0.04062287273004599}, "worked_solution": {"false": 0.9984598201086656, "true": 0.0015401798913343679}, "contextual_dialogue": {"false": 0.9999945932435093, "true": 5.4067564907101e-06}, "content_quality": {"-2": 0.0057317250307007015, "-1": 0.029461626625703407, "0": 0.2584233988523899, "1": 0.5039944265714094, "2": 0.2023888229197967}, "noise_severity": {"0": 0.8372071545902774, "1": 0.15826343446725852, "2": 0.0025733781949769763, "3": 0.0008903082029654652, "4": 0.0010657245445217242}, "missing_content_severity": {"0": 0.9402280888001492, "1": 0.021987725611977912, "2": 0.027347183097343904, "3": 0.009075163191359238, "4": 0.001361839299169711}, "factual_density": {"0": 0.003264686657736994, "1": 0.008127226791365598, "2": 0.09028383616488099, "3": 0.41090937067750083, "4": 0.4874148797085155}, "pretraining_utility": {"-2": 0.010893293403107566, "-1": 0.13135836150233518, "0": 0.4395854310552228, "1": 0.36736794682307866, "2": 0.05079496721625579}, "math_density": {"0": 0.9341555120651533, "1": 0.05977121081748461, "2": 0.003063131070571394, "3": 0.0010311211701502618, "4": 0.0019790248766403166}, "code_density": {"0": 0.00027894413504549794, "1": 0.0005712263356410347, "2": 0.012225815181349098, "3": 0.14243195129336295, "4": 0.8444920630546014}, "reasoning_density": {"0": 0.366557987835826, "1": 0.2605375628878782, "2": 0.21914055593117102, "3": 0.1089840187512957, "4": 0.04477987459382911}, "education_level": {"none": 0.0011756166946569314, "0": 0.0016607352464765915, "1": 0.011911046033935889, "2": 0.6133313691645298, "3": 0.30584366131341173, "4": 0.06607757154698907}, "creative_writing_quality": {"not_applicable": 0.9994510401195941, "-2": 6.760727308141358e-05, "-1": 0.00011936773442160832, "0": 0.00024850663988180375, "1": 8.199053609360391e-05, "2": 3.148769692744942e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 6.63825465388568e-05, "Art & Design": 0.00010549276444951904, "Law & Crime": 8.906781783892597e-05, "Education & Careers": 5.24233744110254e-05, "Entertainment & Media": 0.00026308995619813, "Fashion & Beauty": 4.7684639196594146e-05, "Business, Economics & Finance": 7.948224440549378e-05, "Food & Dining": 4.668640484931002e-05, "Games & Gaming": 0.00874697580765426, "Electronics & Hardware": 0.012150530098113671, "Health, Healthcare & Wellness": 4.430502903988518e-05, "History & Geography": 7.878526576915325e-05, "Home, Pets & Hobbies": 0.00042160059057934904, "Industry & Production": 5.660234383115685e-05, "Language, Literature & Philosophy": 5.3796945620816e-05, "Politics & Government": 4.5085446158738426e-05, "Religion & Spirituality": 5.7241106218858344e-05, "Science, Mathematics & Engineering": 0.0003802342044973757, "Relationships & Community": 3.245043966001489e-05, "Software Usage & Applications": 0.007271150603515243, "Programming & Software Engineering": 0.9694613681294698, "Sports & Fitness": 7.532508260483633e-05, "Vehicles & Transportation": 3.2861022667796374e-05, "Travel & Tourism": 5.309843950042439e-05, "Other / Uncovered Subject": 0.00021059925546988224, "Unknown / Insufficient Content": 7.768044174083957e-05}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0010237819721399487, "Art & Design": 0.001063367490586838, "Law & Crime": 0.007595013033475414, "Education & Careers": 0.0005855204343516372, "Entertainment & Media": 0.002699967363536568, "Fashion & Beauty": 0.0004911079903219264, "Business, Economics & Finance": 0.0013229298472004056, "Food & Dining": 0.0004667815314619601, "Games & Gaming": 0.04340434683156485, "Electronics & Hardware": 0.19985716493744782, "Health, Healthcare & Wellness": 0.0005776796441480321, "History & Geography": 0.0006310996027172056, "Home, Pets & Hobbies": 0.001501626392891202, "Industry & Production": 0.0004537618469629774, "Language, Literature & Philosophy": 0.00034167943801635144, "Politics & Government": 0.0006547994027961841, "Religion & Spirituality": 0.0006767931196836692, "Science, Mathematics & Engineering": 0.0016052305016199316, "Relationships & Community": 0.00031069313445012526, "Software Usage & Applications": 0.07154488318569309, "Programming & Software Engineering": 0.06486747858288582, "Sports & Fitness": 0.0005012548403878338, "Vehicles & Transportation": 0.00026751009157889756, "Travel & Tourism": 0.0006513831530524306, "Other / Uncovered Subject": 0.00117730882681778, "NONE": 0.5957268368042111}}, "probability_diagnostics": {"primary": {"raw_sum": 0.9999999999999997, "mass_delta": -3.3306690738754696e-16, "missing_mass": 3.3306690738754696e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "tertiary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "structured_records": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "procedural_steps": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "worked_solution": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "contextual_dialogue": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "content_quality": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "noise_severity": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "missing_content_severity": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "factual_density": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "pretraining_utility": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "math_density": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "code_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "reasoning_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "education_level": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "creative_writing_quality": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "primary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}}, "usage": {"input_tokens": 10898, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 10898, "cached_share": null, "cache_discount_reported": null, "reported_cost_usd": null}, "response_metadata": {"model": "decision-models/baseten-mammoth-27b-latest"}, "scored_at_utc": "2026-10-25T18:34:07.814483+00:00", "scoring_key_slot": "primary", "dataset_uid": "7f6edeb5-51ba-431a-9de7-91a5dc55f73a", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "bac483db95b5181aa78144038efb0f00bfe37765e2e08596cb8e9f15e655906e", "source_metadata": {"uuid": "7f6edeb5-51ba-431a-9de7-91a5dc55f73a", "repo_name": "zcups/RetroPie", "relative_path": "scriptmodules/system.sh", "category": "TOOL", "algo_rel_score": 0.9963322281837463, "quality_score": 4.497887134552002, "source_meta": {"github_metadata": {"branch": "master", "commit_count": 3430, "repo_created_at": "2016-07-04T10:42:21.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 0, "forks": 0, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "74969dea67507b6985f12cb01d691a9ea284361c", "size_bytes": 8128, "file_timestamp": 1467594828, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "e5542a57d28d63fc61119efea431cc751ec85338"}}, "parsed_source_meta": {"github_metadata": {"branch": "master", "commit_count": 3430, "repo_created_at": "2016-07-04T10:42:21.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 0, "forks": 0, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "74969dea67507b6985f12cb01d691a9ea284361c", "size_bytes": 8128, "file_timestamp": 1467594828, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "e5542a57d28d63fc61119efea431cc751ec85338", "url": "https://github.com/zcups/RetroPie/blob/e5542a57d28d63fc61119efea431cc751ec85338/scriptmodules/system.sh"}, "gpt4o_tokens": 2251, "dataset_split": "shell", "probability_weighted_scores": {"content_quality": 0.867846995723898, "noise_severity": 0.17034401364419577, "missing_content_severity": 0.10935493857742228, "factual_density": 3.3710825299876923, "pretraining_utility": 0.31581293294703994, "math_density": 0.07690693597563947, "code_density": 3.830286962796834, "reasoning_density": 1.2048902293794237, "education_level": 2.42326388396874, "creative_writing_quality": -0.1996800759918681}, "score_applicability": {"education_level": 0.9988243833053431, "creative_writing_quality": 0.000548959880405879}} {"source_group": "shell", "source": "openbmb/UltraData-Stack-v3-L2/shell", "domain": "github.com", "language": "shell", "url": "https://github.com/priximmo/tutos-kubernetes-fr/blob/122de6fe869c3455b670bb4f9927d65df98e33b5/45-rancher-elk/install_elk.sh", "id": "shell-0-fe83e03f27f64eab4c1f5dcd73b56f9f", "text": "#!/bin/bash\n\nVERSION=\"7.6.1\"\n#VERSION=\"7.4.1\"\nIP=$(hostname -I | cut -d \" \" -f 2)\n\n\n# Checking whether user has enough permission to run this script\nsudo -n true\nif [ $? -ne 0 ]\n then\n echo \"This script requires user to have passwordless sudo access\"\n exit\nfi\n\ndependency_check_deb() {\njava -version\nif [ $? -ne 0 ]\n then\n # Installing Java 7 if it's not installed\n sudo apt-get install openjdk-7-jre-headless -y\n # Checking if java installed is less than version 7. If yes, installing Java 7. As logstash & Elasticsearch require Java 7 or later.\n elif [ \"`java -version 2> /tmp/version && awk '/version/ { gsub(/\"/, \"\", $NF); print ( $NF < 1.7 ) ? \"YES\" : \"NO\" }' /tmp/version`\" == \"YES\" ]\n then\n sudo apt-get install openjdk-7-jre-headless -y\nfi\n}\n\ndependency_check_rpm() {\n java -version\n if [ $? -ne 0 ]\n then\n #Installing Java 7 if it's not installed\n sudo yum install jre-1.7.0-openjdk -y\n # Checking if java installed is less than version 7. If yes, installing Java 7. As logstash & Elasticsearch require Java 7 or later.\n elif [ \"`java -version 2> /tmp/version && awk '/version/ { gsub(/\"/, \"\", $NF); print ( $NF < 1.7 ) ? \"YES\" : \"NO\" }' /tmp/version`\" == \"YES\" ]\n then\n sudo yum install jre-1.7.0-openjdk -y\n fi\n}\n\ndebian_elk() {\n # resynchronize the package index files from their sources.\n sudo apt-get update\n # Downloading debian package of logstash\n sudo wget --directory-prefix=/opt/ https://artifacts.elastic.co/downloads/logstash/logstash-${VERSION}.deb\n # Install logstash debian package\n sudo dpkg -i /opt/logstash*.deb\n # Downloading debian package of elasticsearch\n sudo wget --directory-prefix=/opt/ https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-${VERSION}-amd64.deb\n # Install debian package of elasticsearch\n sudo dpkg -i /opt/elasticsearch*.deb\n # Download kibana tarball in /opt\n sudo wget --directory-prefix=/opt/ https://artifacts.elastic.co/downloads/kibana/kibana-${VERSION}-amd64.deb\n # Extracting kibana tarball\n sudo dpkg -i /opt/kibana*.deb\n # Starting The Services\n sudo service logstash start\n sudo service elasticsearch start\n sudo service kibana start\n}\n\nrpm_elk() {\n #Installing wget.\n sudo yum install wget -y\n # Downloading rpm package of logstash\n sudo wget --directory-prefix=/opt/ https://artifacts.elastic.co/downloads/logstash/logstash-${VERSION}.rpm\n # Install logstash rpm package\n sudo rpm -ivh /opt/logstash*.rpm\n # Downloading rpm package of elasticsearch\n sudo wget --directory-prefix=/opt/ https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-${VERSION}-x86_64.rpm\n # Install rpm package of elasticsearch\n sudo rpm -ivh /opt/elasticsearch*.rpm\n # Download kibana tarball in /opt\n sudo wget --directory-prefix=/opt/ https://artifacts.elastic.co/downloads/kibana/kibana-${VERSION}-x86_64.rpm\n # Extracting kibana tarball\n sudo rpm -ivh /opt/kibana*.rpm\n # Starting The Services\n sudo systemctl enable logstash\n sudo systemctl start logstash\n sudo systemctl enable elasticsearch\n sudo systemctl start elasticsearch\n sudo systemctl enable kibana\n sudo systemctl start kibana\n}\n\nvagrant_steps(){\nsudo systemctl stop firewalld\nsudo systemctl disable firewalld\nsed -i s/\"#server.host: \\\"localhost\\\"\"/\"server.host: \\\"0.0.0.0\\\"\"/g /etc/kibana/kibana.yml\nsudo systemctl restart kibana\nsed -i s/\"#discovery.seed_hosts:\".*/\"discovery.seed_hosts: [\\\"${IP}\\\", \\\"127.0.0.1\\\"]\"/g /etc/elasticsearch/elasticsearch.yml\nsed -i s/\"#network.host:\".*/\"network.host: 0.0.0.0\"/g /etc/elasticsearch/elasticsearch.yml\nsudo systemctl restart elasticsearch\n}\n\n# Installing ELK Stack\nif [ \"$(grep -Ei 'debian|buntu|mint' /etc/*release)\" ]\n then\n echo \" It's a Debian based system\"\n dependency_check_deb\n debian_elk\nelif [ \"$(grep -Ei 'fedora|redhat|centos' /etc/*release)\" ]\n then\n echo \"It's a RedHat based system.\"\n dependency_check_rpm\n rpm_elk\n\t\t\t\tvagrant_steps\nelse\n echo \"This script doesn't support ELK installation on this OS.\"\nfi\n", "text_preview": "#!/bin/bash VERSION=\"7.6.1\" #VERSION=\"7.4.1\" IP=$(hostname -I | cut -d \" \" -f 2) # Checking whether user has enough permission to run this script sudo -n true if [ $? -ne 0 ] then echo \"This script requires user to have passwordless sudo ac", "input_sha256": "097d9e205aa9cf39dff85ab9588b1b655ff82ad1e0e8fe4188f405cd8e483cf6", "text_sha256": "fe83e03f27f64eab4c1f5dcd73b56f9fdc5f8eedd221176e379c9bb79425762d", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 20074, "input_policy": "text-and-optional-url-v1", "label_policy_version": 12, "requested_model": "decision-models/baseten-mammoth-27b-latest", "backend": "baseten", "endpoint": "https://inference.baseten.co/v1/systemone", "status": "ok", "training_eligible": true, "label": {"primary": {"main_format": "Technical Writing", "sub_format": null}, "secondary": null, "tertiary": null, "content_structure": []}, "candidate_label": null, "topic": {"primary": {"main_topic": "Programming & Software Engineering", "sub_topic": null}, "secondary": null}, "scores": {"content_quality": 1, "noise_severity": 0, "missing_content_severity": 0, "factual_density": 3, "pretraining_utility": 1, "math_density": 0, "code_density": 4, "reasoning_density": 0, "education_level": 2, "creative_writing_quality": null}, "score_expectations": {"content_quality": 0.2870085809202655, "noise_severity": 0.026540979947746467, "missing_content_severity": 0.05471602657382246, "factual_density": 3.12340599732004, "pretraining_utility": 0.48969866639638765, "math_density": 0.05214349327751839, "code_density": 3.948253682668312, "reasoning_density": 0.9673192569861047, "education_level": 2.392911563719453, "creative_writing_quality": -0.34489756198166527}, "api_choices": {"primary": "Technical Writing", "secondary": "NONE", "tertiary": "NONE", "education_level": "2", "creative_writing_quality": "not_applicable", "primary_topic": "Programming & Software Engineering", "secondary_topic": "NONE"}, "review_reasons": [], "format_slot_diagnostics": {"comparable": true, "secondary_tertiary_identical": false, "secondary_tertiary_max_abs_gap": 0.08413753290499326, "secondary_choice": "NONE", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.8853171965016126, "secondary": 0.8310617546685708, "tertiary": 0.9188574411781287, "structured_records": 0.0021483788059588234, "procedural_steps": 0.5933856371925773, "worked_solution": 0.005452482802366276, "contextual_dialogue": 7.97855159010857e-06, "content_quality": 0.25206747883540803, "noise_severity": 0.9778825167102113, "missing_content_severity": 0.9544033111884813, "factual_density": 0.47428201269535153, "pretraining_utility": 0.4782381858944815, "math_density": 0.9565470889354013, "code_density": 0.9568780688902604, "reasoning_density": 0.19390061917824641, "education_level": 0.5260547749070111, "creative_writing_quality": 0.9992062556915957, "primary_topic": 0.8255160444388904, "secondary_topic": 0.5764165660962827}, "probability_margin": {"primary": 0.7868479180828708, "secondary": 0.7398460857568206, "tertiary": 0.8742920886163482, "education_level": 0.26679677965277465, "creative_writing_quality": 0.9990180284040289, "primary_topic": 0.6693080708892446, "secondary_topic": 0.30935380157272996}, "raw_probabilities": {"primary": {"Academic Writing": 0.00021124481660656752, "Content Listing": 0.00021425766138407544, "Creative Writing": 0.0001688373349061634, "Customer Support Page": 0.00015914489570713992, "Q&A Forum": 0.0001260252104898711, "Discussion Thread": 9.163607708722465e-05, "Comment Section": 0.00015058607873464792, "Missing Content": 0.00014573403934989185, "Knowledge Article": 0.0004869445849670822, "Legal Notices": 0.0001343522300526371, "News Article": 6.746698538218788e-05, "Organizational Announcement": 0.00011666591923108305, "Nonfiction Writing": 0.00012040453968866346, "Organizational About Page": 0.0001408681575779629, "Personal About Page": 9.157483648776748e-05, "Personal Blog": 7.72032219355782e-05, "Product Page": 8.34352793831984e-05, "Spam / Ads": 0.00013513686357273123, "Structured Data": 0.00037329141523946124, "Technical Writing": 0.8900956466473787, "Transcript / Interview": 0.00015118677392010247, "Tutorial / How-To Guide": 0.10324772856450795, "User Reviews": 7.429377673572724e-05, "Other / Unknown": 0.0033363340896739244}, "secondary": {"Academic Writing": 0.0003888199102879673, "Content Listing": 0.0002421875316422306, "Creative Writing": 0.0002931913141767795, "Customer Support Page": 0.00036792898899992704, "Q&A Forum": 0.0001694742557819368, "Discussion Thread": 0.0001205493886683669, "Comment Section": 0.00024041238184719158, "Missing Content": 0.000301188012710556, "Knowledge Article": 0.0008832224350636287, "Legal Notices": 0.00023584457899228427, "News Article": 0.00019067481836389634, "Organizational Announcement": 0.00017572137570196248, "Nonfiction Writing": 0.0001819643527207458, "Organizational About Page": 0.00021072834445160323, "Personal About Page": 0.0001584368180615386, "Personal Blog": 0.0001716396632501431, "Product Page": 0.00013007401259040353, "Spam / Ads": 0.00020084390541830023, "Structured Data": 0.0006176017470970438, "Technical Writing": 0.058046045838387385, "Transcript / Interview": 0.00021258182037907169, "Tutorial / How-To Guide": 0.09825476246722635, "User Reviews": 0.00010525781413385365, "NONE": 0.838100848224047}, "tertiary": {"Academic Writing": 0.00013759137346575618, "Content Listing": 9.060312981657403e-05, "Creative Writing": 0.00010343823015385327, "Customer Support Page": 0.00015885944614806163, "Q&A Forum": 4.686695697740838e-05, "Discussion Thread": 4.1074257215918744e-05, "Comment Section": 0.00010167100980043336, "Missing Content": 0.00015611350212531714, "Knowledge Article": 0.0011136062285223012, "Legal Notices": 0.00021308465443341704, "News Article": 6.788042124881562e-05, "Organizational Announcement": 6.106823467071386e-05, "Nonfiction Writing": 7.955651603468054e-05, "Organizational About Page": 0.00010452451631085879, "Personal About Page": 6.108809746983038e-05, "Personal Blog": 5.959686964957651e-05, "Product Page": 5.814817173509196e-05, "Spam / Ads": 8.97507099878143e-05, "Structured Data": 0.0003857405013934203, "Technical Writing": 0.02657281454730066, "Transcript / Interview": 7.549526466709286e-05, "Tutorial / How-To Guide": 0.04794629251269178, "User Reviews": 3.675371914071968e-05, "NONE": 0.92223838112904}, "structured_records": {"false": 0.9978516211940411, "true": 0.0021483788059588234}, "procedural_steps": {"false": 0.4066143628074227, "true": 0.5933856371925773}, "worked_solution": {"false": 0.9945475171976337, "true": 0.005452482802366276}, "contextual_dialogue": {"false": 0.9999920214484099, "true": 7.97855159010857e-06}, "content_quality": {"-2": 0.04036588782376858, "-1": 0.1706753562289623, "0": 0.34280684630939207, "1": 0.3538881064789891, "2": 0.0922638031588879}, "noise_severity": {"0": 0.9767653934118607, "1": 0.020842687860869225, "2": 0.0017167632794090836, "3": 0.00043585626338500444, "4": 0.0002392991844760155}, "missing_content_severity": {"0": 0.9615200251727315, "1": 0.025084984383778645, "2": 0.011097137143063419, "3": 0.00175464529778849, "4": 0.0005432080026378755}, "factual_density": {"0": 0.0067528493922342355, "1": 0.024078336782653146, "2": 0.18531257198076018, "3": 0.4067224508015434, "4": 0.3771337910428089}, "pretraining_utility": {"-2": 0.009612385254080409, "-1": 0.0830071022228602, "0": 0.3733563950571556, "1": 0.4761176958043988, "2": 0.05790642166150493}, "math_density": {"0": 0.953615552522985, "1": 0.04318593957472602, "2": 0.0016832297226739685, "3": 0.0004700184610160785, "4": 0.0010452597185990498}, "code_density": {"0": 0.00012922282201290514, "1": 0.00023760960737946978, "2": 0.004302357341302334, "3": 0.041911882538892824, "4": 0.9534189276904126}, "reasoning_density": {"0": 0.47529308511905727, "1": 0.214111278863453, "2": 0.216693010416688, "3": 0.055788545113930506, "4": 0.038114080486870934}, "education_level": {"none": 0.001255351968371941, "0": 0.0022682860686489004, "1": 0.015885890919788433, "2": 0.6050456457558426, "3": 0.338248866103068, "4": 0.037295959184280025}, "creative_writing_quality": {"not_applicable": 0.9993385464096631, "-2": 8.258868655393194e-05, "-1": 0.000171993572766463, "0": 0.00032051800563426383, "1": 6.366943556134715e-05, "2": 2.2683889820883666e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 0.00020279391730339115, "Art & Design": 0.0002667357940929089, "Law & Crime": 0.00023562956804931262, "Education & Careers": 0.00016399658939571056, "Entertainment & Media": 0.00018304277702222544, "Fashion & Beauty": 0.00014886346868403597, "Business, Economics & Finance": 0.0002144071444295829, "Food & Dining": 0.00012691420746731261, "Games & Gaming": 0.00023952880474339153, "Electronics & Hardware": 0.00040533069578942745, "Health, Healthcare & Wellness": 0.00015092348233666873, "History & Geography": 0.00024037710250402486, "Home, Pets & Hobbies": 0.00017356332580504687, "Industry & Production": 0.0002133163982425372, "Language, Literature & Philosophy": 0.00016591675388413549, "Politics & Government": 0.00010621821578593405, "Religion & Spirituality": 0.00013554308793258955, "Science, Mathematics & Engineering": 0.0003555302160422762, "Relationships & Community": 0.00010454797188885528, "Software Usage & Applications": 0.1629188949173808, "Programming & Software Engineering": 0.8322269658066254, "Sports & Fitness": 0.0002543466095758148, "Vehicles & Transportation": 9.937310131287618e-05, "Travel & Tourism": 0.00014990687665502258, "Other / Uncovered Subject": 0.00034966991362219037, "Unknown / Insufficient Content": 0.00016766325342873457}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0007661050021043414, "Art & Design": 0.0005977948101795819, "Law & Crime": 0.0005896240286612331, "Education & Careers": 0.00048657300571510115, "Entertainment & Media": 0.000514238021736607, "Fashion & Beauty": 0.00035538198601103133, "Business, Economics & Finance": 0.0006446622903896838, "Food & Dining": 0.000291964125757234, "Games & Gaming": 0.00041559003828942103, "Electronics & Hardware": 0.0012369644727291795, "Health, Healthcare & Wellness": 0.00038728829024120017, "History & Geography": 0.0004125372205458613, "Home, Pets & Hobbies": 0.00034183727311373464, "Industry & Production": 0.0003813970446467883, "Language, Literature & Philosophy": 0.000268565104426206, "Politics & Government": 0.0002901991688600239, "Religion & Spirituality": 0.0004078173485432676, "Science, Mathematics & Engineering": 0.0009240501174976489, "Relationships & Community": 0.0002623290396560342, "Software Usage & Applications": 0.28335443505831104, "Programming & Software Engineering": 0.1124528207627068, "Sports & Fitness": 0.00038356079711455965, "Vehicles & Transportation": 0.00019866911902834407, "Travel & Tourism": 0.0004916231094962319, "Other / Uncovered Subject": 0.0008357361331977696, "NONE": 0.592708236631041}}, "probabilities": {"primary": {"Academic Writing": 0.00021124481660656744, "Content Listing": 0.00021425766138407533, "Creative Writing": 0.00016883733490616332, "Customer Support Page": 0.00015914489570713984, "Q&A Forum": 0.00012602521048987104, "Discussion Thread": 9.163607708722461e-05, "Comment Section": 0.00015058607873464787, "Missing Content": 0.0001457340393498918, "Knowledge Article": 0.000486944584967082, "Legal Notices": 0.00013435223005263703, "News Article": 6.746698538218785e-05, "Organizational Announcement": 0.000116665919231083, "Nonfiction Writing": 0.00012040453968866341, "Organizational About Page": 0.00014086815757796285, "Personal About Page": 9.157483648776744e-05, "Personal Blog": 7.720322193557816e-05, "Product Page": 8.343527938319836e-05, "Spam / Ads": 0.00013513686357273118, "Structured Data": 0.0003732914152394611, "Technical Writing": 0.8900956466473783, "Transcript / Interview": 0.00015118677392010241, "Tutorial / How-To Guide": 0.10324772856450791, "User Reviews": 7.429377673572721e-05, "Other / Unknown": 0.003336334089673923}, "secondary": {"Academic Writing": 0.0003888199102879672, "Content Listing": 0.00024218753164223055, "Creative Writing": 0.0002931913141767794, "Customer Support Page": 0.00036792898899992694, "Q&A Forum": 0.00016947425578193678, "Discussion Thread": 0.00012054938866836687, "Comment Section": 0.00024041238184719152, "Missing Content": 0.00030118801271055595, "Knowledge Article": 0.0008832224350636285, "Legal Notices": 0.0002358445789922842, "News Article": 0.00019067481836389629, "Organizational Announcement": 0.00017572137570196245, "Nonfiction Writing": 0.00018196435272074577, "Organizational About Page": 0.00021072834445160318, "Personal About Page": 0.00015843681806153857, "Personal Blog": 0.00017163966325014308, "Product Page": 0.0001300740125904035, "Spam / Ads": 0.00020084390541830018, "Structured Data": 0.0006176017470970437, "Technical Writing": 0.05804604583838737, "Transcript / Interview": 0.00021258182037907163, "Tutorial / How-To Guide": 0.09825476246722632, "User Reviews": 0.00010525781413385362, "NONE": 0.8381008482240467}, "tertiary": {"Academic Writing": 0.00013759137346575618, "Content Listing": 9.060312981657403e-05, "Creative Writing": 0.00010343823015385327, "Customer Support Page": 0.00015885944614806163, "Q&A Forum": 4.686695697740838e-05, "Discussion Thread": 4.1074257215918744e-05, "Comment Section": 0.00010167100980043336, "Missing Content": 0.00015611350212531714, "Knowledge Article": 0.0011136062285223012, "Legal Notices": 0.00021308465443341704, "News Article": 6.788042124881562e-05, "Organizational Announcement": 6.106823467071386e-05, "Nonfiction Writing": 7.955651603468054e-05, "Organizational About Page": 0.00010452451631085879, "Personal About Page": 6.108809746983038e-05, "Personal Blog": 5.959686964957651e-05, "Product Page": 5.814817173509196e-05, "Spam / Ads": 8.97507099878143e-05, "Structured Data": 0.0003857405013934203, "Technical Writing": 0.02657281454730066, "Transcript / Interview": 7.549526466709286e-05, "Tutorial / How-To Guide": 0.04794629251269178, "User Reviews": 3.675371914071968e-05, "NONE": 0.92223838112904}, "structured_records": {"false": 0.9978516211940411, "true": 0.0021483788059588234}, "procedural_steps": {"false": 0.4066143628074227, "true": 0.5933856371925773}, "worked_solution": {"false": 0.9945475171976337, "true": 0.005452482802366276}, "contextual_dialogue": {"false": 0.9999920214484099, "true": 7.97855159010857e-06}, "content_quality": {"-2": 0.040365887823768584, "-1": 0.17067535622896232, "0": 0.3428068463093921, "1": 0.35388810647898916, "2": 0.09226380315888791}, "noise_severity": {"0": 0.9767653934118607, "1": 0.020842687860869225, "2": 0.0017167632794090836, "3": 0.00043585626338500444, "4": 0.0002392991844760155}, "missing_content_severity": {"0": 0.9615200251727316, "1": 0.02508498438377865, "2": 0.01109713714306342, "3": 0.0017546452977884903, "4": 0.0005432080026378756}, "factual_density": {"0": 0.006752849392234236, "1": 0.02407833678265315, "2": 0.1853125719807602, "3": 0.40672245080154346, "4": 0.377133791042809}, "pretraining_utility": {"-2": 0.00961238525408041, "-1": 0.08300710222286022, "0": 0.3733563950571557, "1": 0.47611769580439883, "2": 0.057906421661504934}, "math_density": {"0": 0.9536155525229848, "1": 0.043185939574726016, "2": 0.001683229722673968, "3": 0.0004700184610160784, "4": 0.0010452597185990496}, "code_density": {"0": 0.0001292228220129051, "1": 0.00023760960737946973, "2": 0.004302357341302333, "3": 0.04191188253889282, "4": 0.9534189276904124}, "reasoning_density": {"0": 0.47529308511905743, "1": 0.21411127886345308, "2": 0.2166930104166881, "3": 0.05578854511393053, "4": 0.03811408048687095}, "education_level": {"none": 0.0012553519683719413, "0": 0.002268286068648901, "1": 0.015885890919788436, "2": 0.6050456457558427, "3": 0.33824886610306804, "4": 0.03729595918428003}, "creative_writing_quality": {"not_applicable": 0.9993385464096631, "-2": 8.258868655393194e-05, "-1": 0.000171993572766463, "0": 0.00032051800563426383, "1": 6.366943556134715e-05, "2": 2.2683889820883666e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 0.0002027939173033911, "Art & Design": 0.0002667357940929088, "Law & Crime": 0.00023562956804931256, "Education & Careers": 0.00016399658939571053, "Entertainment & Media": 0.0001830427770222254, "Fashion & Beauty": 0.00014886346868403595, "Business, Economics & Finance": 0.00021440714442958286, "Food & Dining": 0.0001269142074673126, "Games & Gaming": 0.00023952880474339147, "Electronics & Hardware": 0.00040533069578942735, "Health, Healthcare & Wellness": 0.0001509234823366687, "History & Geography": 0.0002403771025040248, "Home, Pets & Hobbies": 0.00017356332580504685, "Industry & Production": 0.00021331639824253713, "Language, Literature & Philosophy": 0.00016591675388413546, "Politics & Government": 0.00010621821578593402, "Religion & Spirituality": 0.00013554308793258953, "Science, Mathematics & Engineering": 0.00035553021604227614, "Relationships & Community": 0.00010454797188885526, "Software Usage & Applications": 0.16291889491738076, "Programming & Software Engineering": 0.8322269658066251, "Sports & Fitness": 0.00025434660957581476, "Vehicles & Transportation": 9.937310131287615e-05, "Travel & Tourism": 0.00014990687665502255, "Other / Uncovered Subject": 0.0003496699136221903, "Unknown / Insufficient Content": 0.00016766325342873454}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0007661050021043415, "Art & Design": 0.000597794810179582, "Law & Crime": 0.0005896240286612332, "Education & Careers": 0.0004865730057151012, "Entertainment & Media": 0.0005142380217366071, "Fashion & Beauty": 0.0003553819860110314, "Business, Economics & Finance": 0.0006446622903896839, "Food & Dining": 0.0002919641257572341, "Games & Gaming": 0.0004155900382894211, "Electronics & Hardware": 0.0012369644727291797, "Health, Healthcare & Wellness": 0.0003872882902412002, "History & Geography": 0.00041253722054586134, "Home, Pets & Hobbies": 0.0003418372731137347, "Industry & Production": 0.00038139704464678834, "Language, Literature & Philosophy": 0.00026856510442620603, "Politics & Government": 0.00029019916886002394, "Religion & Spirituality": 0.00040781734854326764, "Science, Mathematics & Engineering": 0.000924050117497649, "Relationships & Community": 0.00026232903965603426, "Software Usage & Applications": 0.2833544350583111, "Programming & Software Engineering": 0.11245282076270681, "Sports & Fitness": 0.0003835607971145597, "Vehicles & Transportation": 0.0001986691190283441, "Travel & Tourism": 0.000491623109496232, "Other / Uncovered Subject": 0.0008357361331977697, "NONE": 0.5927082366310411}}, "probability_diagnostics": {"primary": {"raw_sum": 1.0000000000000004, "mass_delta": 4.440892098500626e-16, "missing_mass": 0.0, "excess_mass": 4.440892098500626e-16, "valid": true, "normalized": false}, "secondary": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "tertiary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "structured_records": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "procedural_steps": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "worked_solution": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "contextual_dialogue": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "content_quality": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "noise_severity": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "missing_content_severity": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "factual_density": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "pretraining_utility": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "math_density": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "code_density": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "reasoning_density": {"raw_sum": 0.9999999999999997, "mass_delta": -3.3306690738754696e-16, "missing_mass": 3.3306690738754696e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "education_level": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "creative_writing_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "primary_topic": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "secondary_topic": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}}, "usage": {"input_tokens": 9708, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 9708, "cached_share": null, "cache_discount_reported": null, "reported_cost_usd": null}, "response_metadata": {"model": "decision-models/baseten-mammoth-27b-latest"}, "scored_at_utc": "2026-10-25T18:34:07.903460+00:00", "scoring_key_slot": "primary", "dataset_uid": "e229fe13-d86f-431e-9ddb-0a788ea993b9", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "7e344b8c0355422652e52fff5c9be3c80149708e6dab46ffd7cb846a9561343e", "source_metadata": {"uuid": "e229fe13-d86f-431e-9ddb-0a788ea993b9", "repo_name": "priximmo/tutos-kubernetes-fr", "relative_path": "45-rancher-elk/install_elk.sh", "category": "TOOL", "algo_rel_score": 0.993802547454834, "quality_score": 3.174203872680664, "source_meta": {"github_metadata": {"branch": "master", "commit_count": 99, "repo_created_at": "2020-06-12T20:14:23.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 9, "forks": 11, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "10b6c8b9703c3e4c4bf703c977ff1573d385c907", "size_bytes": 4203, "file_timestamp": 1626022081, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "122de6fe869c3455b670bb4f9927d65df98e33b5"}}, "parsed_source_meta": {"github_metadata": {"branch": "master", "commit_count": 99, "repo_created_at": "2020-06-12T20:14:23.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 9, "forks": 11, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "10b6c8b9703c3e4c4bf703c977ff1573d385c907", "size_bytes": 4203, "file_timestamp": 1626022081, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "122de6fe869c3455b670bb4f9927d65df98e33b5", "url": "https://github.com/priximmo/tutos-kubernetes-fr/blob/122de6fe869c3455b670bb4f9927d65df98e33b5/45-rancher-elk/install_elk.sh"}, "gpt4o_tokens": 1180, "dataset_split": "shell", "probability_weighted_scores": {"content_quality": 0.2870085809202655, "noise_severity": 0.026540979947746467, "missing_content_severity": 0.05471602657382246, "factual_density": 3.12340599732004, "pretraining_utility": 0.48969866639638765, "math_density": 0.052143493277518396, "code_density": 3.9482536826683123, "reasoning_density": 0.9673192569861047, "education_level": 2.392911563719453, "creative_writing_quality": -0.34489756198166527}, "score_applicability": {"education_level": 0.9987446480316281, "creative_writing_quality": 0.0006614535903368896}} {"source_group": "shell", "source": "openbmb/UltraData-Stack-v3-L2/shell", "domain": "github.com", "language": "shell", "url": "https://github.com/xpillons/azure-hpc/blob/7274981d6c4655fa80afe10cc7205d3a4be72622/Compute-Grid-Infra/Ganglia/install_ganglia.sh", "id": "shell-0-77b16515216fd5ce3a2139bd716b4c46", "text": "#!/bin/bash\n\nset -x\n#set -xeuo pipefail\n\nif [[ $(id -u) -ne 0 ]] ; then\n echo \"Must be run as root\"\n exit 1\nfi\n\nif [ $# != 3 ]; then\n echo \"Usage: $0 \"\n exit 1\nfi\n\n# management server\nMGMT_HOSTNAME=$1\nCLUSTER_NAME=$2\nCLUSTER_PORT=$3\n\n# Returns 0 if this node is the management node.\n#\nis_mgmt()\n{\n hostname | grep \"$MGMT_HOSTNAME\"\n return $?\n}\n\ninstall_ganglia_gmetad()\n{\n\techo \"Installing Ganglia gmetad\"\n yum -y install epel-release\n\t\n\t#web server\n\t# curl-devel is commented as it can't be sucessfully downloaded from the endpoints used in Azure VMs.\n yum -y install httpd php php-mysql php-gd php-ldap php-odbc php-pear php-xml php-xmlrpc php-mbstring php-snmp php-soap curl #curl-devel\n\n\t#ganglia server\n\tyum -y install rrdtool rrdtool-devel ganglia-web ganglia-metad ganglia-gmond ganglia-gmond-python httpd apr-devel zlib-devel libconfuse-devel expat-devel pcre-devel\n\n\n\tGMETAD_CONFIG=/etc/ganglia/gmetad.conf\t\n\n\t#configure Ganglia server\t\n\tsed -i 's/^data_source.*/data_source \"'$MGMT_HOSTNAME' cluster\" '$MGMT_HOSTNAME'/g' $GMETAD_CONFIG\n\tsed -i 's/# gridname \"MyGrid\".*/gridname \"Azure Grid\"/g' $GMETAD_CONFIG\n\tsed -i 's/# setuid off.*/setuid off/g' $GMETAD_CONFIG\n\tsed -i 's/setuid_username ganglia.*/#setuid_username ganglia/g' $GMETAD_CONFIG\n\t\n\n\t#TODO add authority server\t\n\t#sed -i 's,^#authority .*,authority \"http://dnsname/ganglia/\",g' $GMETAD_CONFIG\n\t\n\t#configure Ganglia web server\n\tsed -i '0,/Require local/{s/Require local/Require all granted/}' /etc/httpd/conf.d/ganglia.conf\n\t\n\t# not sure if this is required\n\tchown root:root -R /var/lib/ganglia/rrds/\n\t\n\tsystemctl restart httpd\n\tsystemctl restart gmetad\n\n\tsystemctl enable httpd\n\tsystemctl enable gmetad\t\n\n}\n\ninstall_gmond()\n{\n\techo \"Installing Ganglia gmond\"\n\n yum -y install epel-release\t\n\tyum -y install ganglia-gmond\n\n\tGMOND_CONFIG=/etc/ganglia/gmond.conf\t\n\t#configure Ganglia monitoring\n\tsed -i '0,/name = \"unspecified\"/{s/name = \"unspecified\"/name = \"'$CLUSTER_NAME'\"/}' $GMOND_CONFIG \n\tsed -i '0,/mcast_join = 192.168.3.11/{s/mcast_join = 192.168.3.11/host = '$MGMT_HOSTNAME'/}' $GMOND_CONFIG\n\tsed -i '0,/mcast_join = 192.168.3.11/{s/mcast_join = 192.168.3.11//}' $GMOND_CONFIG\n\tsed -i '0,/bind = 192.168.3.11/{s/bind = 192.168.3.11//}' $GMOND_CONFIG\n\tsed -i '0,/retry_bind = true/{s/retry_bind = true//}' $GMOND_CONFIG\n\tsed -i '0,/send_metadata_interval = 0/{s/send_metadata_interval = 0/send_metadata_interval = 60/}' $GMOND_CONFIG\n\tsed -i '0,/port = 8649/{s/port = 8649/port = '$CLUSTER_PORT'/}' $GMOND_CONFIG\n\tsed -i '0,/port = 8649/{s/port = 8649/port = '$CLUSTER_PORT'/}' $GMOND_CONFIG\n\tsed -i '0,/port = 8649/{s/port = 8649/port = '$CLUSTER_PORT'/}' $GMOND_CONFIG\n\tsed -i 's/#bind_hostname = yes.*/bind_hostname = yes/g' $GMOND_CONFIG\n\t#sed -i 's/deaf = no.*/deaf = yes/g' $GMOND_CONFIG\n\n\t# ovveride hostname to avoid using reverse DNS\n\t#name=`hostname`\n\t#sed -i 's/# override_hostname = \"mywebserver.domain.com\".*/override_hostname =\"'${name,,}'\"/g' $GMOND_CONFIG\n\n\tsystemctl restart gmond\n\tsystemctl enable gmond\n}\n\nmkdir -p /var/local\nSETUP_MARKER=/var/local/install_ganglia.marker\nif [ -e \"$SETUP_MARKER\" ]; then\n echo \"We're already configured, exiting...\"\n exit 0\nfi\n\n# Disable SELinux\nsed -i 's/SELINUX=.*/SELINUX=disabled/g' /etc/selinux/config\nsetenforce 0\n\n# Disable firewall\nsystemctl stop firewalld\nsystemctl disable firewalld\n\nif is_mgmt; then\n\tinstall_ganglia_gmetad\nfi\n\ninstall_gmond\n\n# Create marker file so we know we're configured\ntouch $SETUP_MARKER\n\n", "text_preview": "#!/bin/bash set -x #set -xeuo pipefail if [[ $(id -u) -ne 0 ]] ; then echo \"Must be run as root\" exit 1 fi if [ $# != 3 ]; then echo \"Usage: $0 \" exit 1 fi # management server MGMT_HOSTNAME=$1 CLU", "input_sha256": "c1da61c43b3162b9bc48e44c8fd7d35a8b9ae32368fa95c92eef99f345447304", "text_sha256": "77b16515216fd5ce3a2139bd716b4c46a418fe960e3efe9e0533a001709f5527", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 20076, "input_policy": "text-and-optional-url-v1", "label_policy_version": 12, "requested_model": "decision-models/baseten-mammoth-27b-latest", "backend": "baseten", "endpoint": "https://inference.baseten.co/v1/systemone", "status": "ok", "training_eligible": true, "label": {"primary": {"main_format": "Technical Writing", "sub_format": null}, "secondary": null, "tertiary": null, "content_structure": []}, "candidate_label": null, "topic": {"primary": {"main_topic": "Programming & Software Engineering", "sub_topic": null}, "secondary": null}, "scores": {"content_quality": 0, "noise_severity": 0, "missing_content_severity": 0, "factual_density": 4, "pretraining_utility": 1, "math_density": 0, "code_density": 4, "reasoning_density": 0, "education_level": 2, "creative_writing_quality": null}, "score_expectations": {"content_quality": 0.32809460602938456, "noise_severity": 0.11290294192206697, "missing_content_severity": 0.19000360507911043, "factual_density": 3.270717126470422, "pretraining_utility": 0.4348962642860183, "math_density": 0.021484180975235113, "code_density": 3.889595662712699, "reasoning_density": 0.3822034823500927, "education_level": 2.470983702176829, "creative_writing_quality": -0.29562315488059404}, "api_choices": {"primary": "Technical Writing", "secondary": "NONE", "tertiary": "NONE", "education_level": "2", "creative_writing_quality": "not_applicable", "primary_topic": "Programming & Software Engineering", "secondary_topic": "NONE"}, "review_reasons": [], "format_slot_diagnostics": {"comparable": true, "secondary_tertiary_identical": false, "secondary_tertiary_max_abs_gap": 0.04277784117925343, "secondary_choice": "NONE", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.9463184952161448, "secondary": 0.9023901173964957, "tertiary": 0.9470278647139775, "structured_records": 0.0020223024963422643, "procedural_steps": 0.48929592624941326, "worked_solution": 0.004204125898112667, "contextual_dialogue": 6.445556385066831e-06, "content_quality": 0.42116683220483286, "noise_severity": 0.9059142150649442, "missing_content_severity": 0.8416636624340746, "factual_density": 0.3922642720586852, "pretraining_utility": 0.4405007899348722, "math_density": 0.9820965158539707, "code_density": 0.9079963855939156, "reasoning_density": 0.6814970980415894, "education_level": 0.44679507170770555, "creative_writing_quality": 0.9993909073501763, "primary_topic": 0.8757614310892784, "secondary_topic": 0.5916768095925051}, "probability_margin": {"primary": 0.9036004496413758, "secondary": 0.8562950101890996, "tertiary": 0.9182257455783303, "education_level": 0.12676667208496262, "creative_writing_quality": 0.9992678066560827, "primary_topic": 0.7671737020241121, "secondary_topic": 0.32611155808084413}, "raw_probabilities": {"primary": {"Academic Writing": 0.0001311600182266001, "Content Listing": 0.00012471631469554293, "Creative Writing": 0.0001064684358545638, "Customer Support Page": 9.993012421545621e-05, "Q&A Forum": 8.896390115870213e-05, "Discussion Thread": 5.903377386076778e-05, "Comment Section": 0.00012118397588456364, "Missing Content": 9.835430283099032e-05, "Knowledge Article": 0.0004272230605620198, "Legal Notices": 9.73890123060804e-05, "News Article": 4.30768069253231e-05, "Organizational Announcement": 6.79637238950036e-05, "Nonfiction Writing": 7.213295580949085e-05, "Organizational About Page": 8.398917164875727e-05, "Personal About Page": 6.148431002320944e-05, "Personal Blog": 5.0190526707360166e-05, "Product Page": 4.858176750960413e-05, "Spam / Ads": 6.783095007115321e-05, "Structured Data": 0.00028241867491926305, "Technical Writing": 0.9485552245821387, "Transcript / Interview": 9.771304214791528e-05, "Tutorial / How-To Guide": 0.04495477494076295, "User Reviews": 4.746961186643025e-05, "Other / Unknown": 0.004212726015979743}, "secondary": {"Academic Writing": 0.00032122323442629005, "Content Listing": 0.00017477067118586742, "Creative Writing": 0.00023618568828269224, "Customer Support Page": 0.00029184989004301846, "Q&A Forum": 0.00014548841254316227, "Discussion Thread": 0.0001023827256657714, "Comment Section": 0.00031257905576503913, "Missing Content": 0.0007556507636260761, "Knowledge Article": 0.0009677159386358939, "Legal Notices": 0.0002708729429087271, "News Article": 0.0001445698261212594, "Organizational Announcement": 0.00015114557076414522, "Nonfiction Writing": 0.0001615181821226039, "Organizational About Page": 0.00015768906967252301, "Personal About Page": 0.0001431549843775406, "Personal Blog": 0.0001449722836954159, "Product Page": 9.872452750450642e-05, "Spam / Ads": 0.00015612178814215734, "Structured Data": 0.0005938891158824845, "Technical Writing": 0.037776109318404395, "Transcript / Interview": 0.00018649663749299074, "Tutorial / How-To Guide": 0.050162185649208685, "User Reviews": 8.750788522053828e-05, "NONE": 0.9064571958383083}, "tertiary": {"Academic Writing": 0.00013383013579207492, "Content Listing": 6.180955492078085e-05, "Creative Writing": 0.00011170095703879265, "Customer Support Page": 0.00014323153881231655, "Q&A Forum": 5.753174520136642e-05, "Discussion Thread": 4.675389011591955e-05, "Comment Section": 0.00022553800822089983, "Missing Content": 0.0012413981824494736, "Knowledge Article": 0.0014830431908550669, "Legal Notices": 0.0003669042869556103, "News Article": 6.386648555842486e-05, "Organizational Announcement": 7.083581437663566e-05, "Nonfiction Writing": 9.718065389403396e-05, "Organizational About Page": 9.106273933851945e-05, "Personal About Page": 5.746761454356002e-05, "Personal Blog": 7.779317406802394e-05, "Product Page": 5.379561806033346e-05, "Spam / Ads": 8.70238679262466e-05, "Structured Data": 0.00039142726459336124, "Technical Writing": 0.014765409617309174, "Transcript / Interview": 8.523721219025066e-05, "Tutorial / How-To Guide": 0.031009291439231493, "User Reviews": 4.282999098600639e-05, "NONE": 0.9492350370175617}, "structured_records": {"false": 0.9979776975036577, "true": 0.0020223024963422643}, "procedural_steps": {"false": 0.5107040737505868, "true": 0.48929592624941326}, "worked_solution": {"false": 0.9957958741018873, "true": 0.004204125898112667}, "contextual_dialogue": {"false": 0.9999935544436149, "true": 6.445556385066831e-06}, "content_quality": {"-2": 0.017123364811947556, "-1": 0.14900586803851285, "0": 0.403301578895357, "1": 0.3497911728165728, "2": 0.08077801543760986}, "noise_severity": {"0": 0.9037441516478081, "1": 0.08340951674239891, "2": 0.010191254558277327, "3": 0.0015093921429496318, "4": 0.001145684908566128}, "missing_content_severity": {"0": 0.8180211331817057, "1": 0.17684554577707087, "2": 0.0030102671210035293, "3": 0.0013546906208464988, "4": 0.0007683632993732416}, "factual_density": {"0": 0.004112077587672124, "1": 0.011455421356644641, "2": 0.13599576834032776, "3": 0.40647676242829983, "4": 0.44195997028705564}, "pretraining_utility": {"-2": 0.009027685380655084, "-1": 0.09460125857844362, "0": 0.40196582059721503, "1": 0.44125757726160053, "2": 0.05314765818208578}, "math_density": {"0": 0.980883930510832, "1": 0.017894092624919217, "2": 0.0005269592921439765, "3": 0.00024390052239130794, "4": 0.00045111704971350475}, "code_density": {"0": 0.0002906294177014295, "1": 0.0005855121881846419, "2": 0.010694004881194466, "3": 0.08609727328955272, "4": 0.9023325802233668}, "reasoning_density": {"0": 0.7290494699610726, "1": 0.1745085924955885, "2": 0.08540656822252045, "3": 0.007259723873810154, "4": 0.003775645447008197}, "education_level": {"none": 0.0010770082869454214, "0": 0.002099331422867251, "1": 0.009583733907923641, "2": 0.5389958930897546, "3": 0.412229221004792, "4": 0.03601481228771721}, "creative_writing_quality": {"not_applicable": 0.9994924227918136, "-2": 5.845057050247048e-05, "-1": 0.00013807615177137335, "0": 0.00022461613573084737, "1": 6.794298321594301e-05, "2": 1.8491366965457414e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 0.00016356434277632736, "Art & Design": 0.0002627337329646226, "Law & Crime": 0.00022562140203500795, "Education & Careers": 0.00013422261766744074, "Entertainment & Media": 0.00015654718330837254, "Fashion & Beauty": 0.00012275951123399875, "Business, Economics & Finance": 0.00036814949108589484, "Food & Dining": 0.00010754278026984642, "Games & Gaming": 0.00023335051568615728, "Electronics & Hardware": 0.0009601862467551939, "Health, Healthcare & Wellness": 0.00012019154431848105, "History & Geography": 0.00018251332848723866, "Home, Pets & Hobbies": 0.00014966962052409782, "Industry & Production": 0.0002070689878789613, "Language, Literature & Philosophy": 0.00013909241336277598, "Politics & Government": 0.0001017799448144245, "Religion & Spirituality": 0.00011346373990040495, "Science, Mathematics & Engineering": 0.001267288145400298, "Relationships & Community": 7.834379162902585e-05, "Software Usage & Applications": 0.1133661355617326, "Programming & Software Engineering": 0.8805398375858446, "Sports & Fitness": 0.00016125849240036685, "Vehicles & Transportation": 8.562475121494659e-05, "Travel & Tourism": 0.00014125140974049114, "Other / Uncovered Subject": 0.0004665657473133449, "Unknown / Insufficient Content": 0.00014523711165512695}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.00085769079143946, "Art & Design": 0.0007169405587430546, "Law & Crime": 0.0008727966247041733, "Education & Careers": 0.00047582485300317527, "Entertainment & Media": 0.0005932662480236377, "Fashion & Beauty": 0.0004565359817590596, "Business, Economics & Finance": 0.0019355438888804574, "Food & Dining": 0.00038418363495702404, "Games & Gaming": 0.000549132038482417, "Electronics & Hardware": 0.003977191951822908, "Health, Healthcare & Wellness": 0.00044998000098074706, "History & Geography": 0.0005024494799002201, "Home, Pets & Hobbies": 0.0004421840083764356, "Industry & Production": 0.000545713060152043, "Language, Literature & Philosophy": 0.00032293292540274836, "Politics & Government": 0.000381131371328248, "Religion & Spirituality": 0.00047364061073127913, "Science, Mathematics & Engineering": 0.0025676465062352146, "Relationships & Community": 0.0002830428253299411, "Software Usage & Applications": 0.281269989604257, "Programming & Software Engineering": 0.09189148058428048, "Sports & Fitness": 0.0004025478530493925, "Vehicles & Transportation": 0.00026451717183214663, "Travel & Tourism": 0.0005485963000784699, "Other / Uncovered Subject": 0.0014534934411491347, "NONE": 0.6073815476851011}}, "probabilities": {"primary": {"Academic Writing": 0.00013116001822660006, "Content Listing": 0.0001247163146955429, "Creative Writing": 0.00010646843585456377, "Customer Support Page": 9.993012421545619e-05, "Q&A Forum": 8.896390115870211e-05, "Discussion Thread": 5.9033773860767766e-05, "Comment Section": 0.00012118397588456361, "Missing Content": 9.835430283099029e-05, "Knowledge Article": 0.0004272230605620197, "Legal Notices": 9.738901230608037e-05, "News Article": 4.3076806925323095e-05, "Organizational Announcement": 6.796372389500359e-05, "Nonfiction Writing": 7.213295580949083e-05, "Organizational About Page": 8.398917164875726e-05, "Personal About Page": 6.148431002320943e-05, "Personal Blog": 5.019052670736015e-05, "Product Page": 4.858176750960412e-05, "Spam / Ads": 6.78309500711532e-05, "Structured Data": 0.000282418674919263, "Technical Writing": 0.9485552245821385, "Transcript / Interview": 9.771304214791525e-05, "Tutorial / How-To Guide": 0.04495477494076294, "User Reviews": 4.746961186643024e-05, "Other / Unknown": 0.004212726015979742}, "secondary": {"Academic Writing": 0.00032122323442629005, "Content Listing": 0.00017477067118586742, "Creative Writing": 0.00023618568828269224, "Customer Support Page": 0.00029184989004301846, "Q&A Forum": 0.00014548841254316227, "Discussion Thread": 0.0001023827256657714, "Comment Section": 0.00031257905576503913, "Missing Content": 0.0007556507636260761, "Knowledge Article": 0.0009677159386358939, "Legal Notices": 0.0002708729429087271, "News Article": 0.0001445698261212594, "Organizational Announcement": 0.00015114557076414522, "Nonfiction Writing": 0.0001615181821226039, "Organizational About Page": 0.00015768906967252301, "Personal About Page": 0.0001431549843775406, "Personal Blog": 0.0001449722836954159, "Product Page": 9.872452750450642e-05, "Spam / Ads": 0.00015612178814215734, "Structured Data": 0.0005938891158824845, "Technical Writing": 0.037776109318404395, "Transcript / Interview": 0.00018649663749299074, "Tutorial / How-To Guide": 0.050162185649208685, "User Reviews": 8.750788522053828e-05, "NONE": 0.9064571958383083}, "tertiary": {"Academic Writing": 0.00013383013579207492, "Content Listing": 6.180955492078085e-05, "Creative Writing": 0.00011170095703879265, "Customer Support Page": 0.00014323153881231655, "Q&A Forum": 5.753174520136642e-05, "Discussion Thread": 4.675389011591955e-05, "Comment Section": 0.00022553800822089983, "Missing Content": 0.0012413981824494736, "Knowledge Article": 0.0014830431908550669, "Legal Notices": 0.0003669042869556103, "News Article": 6.386648555842486e-05, "Organizational Announcement": 7.083581437663566e-05, "Nonfiction Writing": 9.718065389403396e-05, "Organizational About Page": 9.106273933851945e-05, "Personal About Page": 5.746761454356002e-05, "Personal Blog": 7.779317406802394e-05, "Product Page": 5.379561806033346e-05, "Spam / Ads": 8.70238679262466e-05, "Structured Data": 0.00039142726459336124, "Technical Writing": 0.014765409617309174, "Transcript / Interview": 8.523721219025066e-05, "Tutorial / How-To Guide": 0.031009291439231493, "User Reviews": 4.282999098600639e-05, "NONE": 0.9492350370175617}, "structured_records": {"false": 0.9979776975036577, "true": 0.0020223024963422643}, "procedural_steps": {"false": 0.5107040737505868, "true": 0.48929592624941326}, "worked_solution": {"false": 0.9957958741018873, "true": 0.004204125898112667}, "contextual_dialogue": {"false": 0.9999935544436149, "true": 6.445556385066831e-06}, "content_quality": {"-2": 0.017123364811947556, "-1": 0.14900586803851285, "0": 0.403301578895357, "1": 0.3497911728165728, "2": 0.08077801543760986}, "noise_severity": {"0": 0.9037441516478081, "1": 0.08340951674239891, "2": 0.010191254558277327, "3": 0.0015093921429496318, "4": 0.001145684908566128}, "missing_content_severity": {"0": 0.8180211331817059, "1": 0.1768455457770709, "2": 0.00301026712100353, "3": 0.001354690620846499, "4": 0.0007683632993732418}, "factual_density": {"0": 0.004112077587672124, "1": 0.011455421356644641, "2": 0.13599576834032776, "3": 0.40647676242829983, "4": 0.44195997028705564}, "pretraining_utility": {"-2": 0.009027685380655084, "-1": 0.09460125857844362, "0": 0.40196582059721503, "1": 0.44125757726160053, "2": 0.05314765818208578}, "math_density": {"0": 0.980883930510832, "1": 0.017894092624919217, "2": 0.0005269592921439765, "3": 0.00024390052239130794, "4": 0.00045111704971350475}, "code_density": {"0": 0.0002906294177014295, "1": 0.0005855121881846419, "2": 0.010694004881194466, "3": 0.08609727328955272, "4": 0.9023325802233668}, "reasoning_density": {"0": 0.7290494699610727, "1": 0.17450859249558853, "2": 0.08540656822252046, "3": 0.0072597238738101545, "4": 0.0037756454470081976}, "education_level": {"none": 0.0010770082869454214, "0": 0.002099331422867251, "1": 0.009583733907923641, "2": 0.5389958930897546, "3": 0.412229221004792, "4": 0.03601481228771721}, "creative_writing_quality": {"not_applicable": 0.9994924227918139, "-2": 5.84505705024705e-05, "-1": 0.0001380761517713734, "0": 0.00022461613573084745, "1": 6.794298321594304e-05, "2": 1.849136696545742e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 0.00016356434277632736, "Art & Design": 0.0002627337329646226, "Law & Crime": 0.00022562140203500795, "Education & Careers": 0.00013422261766744074, "Entertainment & Media": 0.00015654718330837254, "Fashion & Beauty": 0.00012275951123399875, "Business, Economics & Finance": 0.00036814949108589484, "Food & Dining": 0.00010754278026984642, "Games & Gaming": 0.00023335051568615728, "Electronics & Hardware": 0.0009601862467551939, "Health, Healthcare & Wellness": 0.00012019154431848105, "History & Geography": 0.00018251332848723866, "Home, Pets & Hobbies": 0.00014966962052409782, "Industry & Production": 0.0002070689878789613, "Language, Literature & Philosophy": 0.00013909241336277598, "Politics & Government": 0.0001017799448144245, "Religion & Spirituality": 0.00011346373990040495, "Science, Mathematics & Engineering": 0.001267288145400298, "Relationships & Community": 7.834379162902585e-05, "Software Usage & Applications": 0.1133661355617326, "Programming & Software Engineering": 0.8805398375858446, "Sports & Fitness": 0.00016125849240036685, "Vehicles & Transportation": 8.562475121494659e-05, "Travel & Tourism": 0.00014125140974049114, "Other / Uncovered Subject": 0.0004665657473133449, "Unknown / Insufficient Content": 0.00014523711165512695}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.00085769079143946, "Art & Design": 0.0007169405587430546, "Law & Crime": 0.0008727966247041733, "Education & Careers": 0.00047582485300317527, "Entertainment & Media": 0.0005932662480236377, "Fashion & Beauty": 0.0004565359817590596, "Business, Economics & Finance": 0.0019355438888804574, "Food & Dining": 0.00038418363495702404, "Games & Gaming": 0.000549132038482417, "Electronics & Hardware": 0.003977191951822908, "Health, Healthcare & Wellness": 0.00044998000098074706, "History & Geography": 0.0005024494799002201, "Home, Pets & Hobbies": 0.0004421840083764356, "Industry & Production": 0.000545713060152043, "Language, Literature & Philosophy": 0.00032293292540274836, "Politics & Government": 0.000381131371328248, "Religion & Spirituality": 0.00047364061073127913, "Science, Mathematics & Engineering": 0.0025676465062352146, "Relationships & Community": 0.0002830428253299411, "Software Usage & Applications": 0.281269989604257, "Programming & Software Engineering": 0.09189148058428048, "Sports & Fitness": 0.0004025478530493925, "Vehicles & Transportation": 0.00026451717183214663, "Travel & Tourism": 0.0005485963000784699, "Other / Uncovered Subject": 0.0014534934411491347, "NONE": 0.6073815476851011}}, "probability_diagnostics": {"primary": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "secondary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "tertiary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "structured_records": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "procedural_steps": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "worked_solution": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "contextual_dialogue": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "content_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "noise_severity": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "missing_content_severity": {"raw_sum": 0.9999999999999998, "mass_delta": -2.220446049250313e-16, "missing_mass": 2.220446049250313e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "factual_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "pretraining_utility": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "math_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "code_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "reasoning_density": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "education_level": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "creative_writing_quality": {"raw_sum": 0.9999999999999997, "mass_delta": -3.3306690738754696e-16, "missing_mass": 3.3306690738754696e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "primary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}}, "usage": {"input_tokens": 9755, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 9755, "cached_share": null, "cache_discount_reported": null, "reported_cost_usd": null}, "response_metadata": {"model": "decision-models/baseten-mammoth-27b-latest"}, "scored_at_utc": "2026-10-25T18:34:09.078379+00:00", "scoring_key_slot": "assistant_1", "dataset_uid": "d1b3ea2c-b2db-4f8d-88a7-2bdbcb22779f", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "18fe1a7338787de9fd4df841041c456098d835ba5c8690fb297a5c6b8df9dd3f", "source_metadata": {"uuid": "d1b3ea2c-b2db-4f8d-88a7-2bdbcb22779f", "repo_name": "xpillons/azure-hpc", "relative_path": "Compute-Grid-Infra/Ganglia/install_ganglia.sh", "category": "TOOL", "algo_rel_score": 0.6024472117424011, "quality_score": 3.0632665157318115, "source_meta": {"github_metadata": {"branch": "master", "commit_count": 634, "repo_created_at": "2016-04-25T10:49:16.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 8, "forks": 18, "issues": 5, "pull_requests": 0}, "file_meta": {"content_id": "5a951bbeb8abaecfb3c9a4f3bddfffd1ebf6f3ac", "size_bytes": 3543, "file_timestamp": 1504729686, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "7274981d6c4655fa80afe10cc7205d3a4be72622"}}, "parsed_source_meta": {"github_metadata": {"branch": "master", "commit_count": 634, "repo_created_at": "2016-04-25T10:49:16.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 8, "forks": 18, "issues": 5, "pull_requests": 0}, "file_meta": {"content_id": "5a951bbeb8abaecfb3c9a4f3bddfffd1ebf6f3ac", "size_bytes": 3543, "file_timestamp": 1504729686, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "7274981d6c4655fa80afe10cc7205d3a4be72622", "url": "https://github.com/xpillons/azure-hpc/blob/7274981d6c4655fa80afe10cc7205d3a4be72622/Compute-Grid-Infra/Ganglia/install_ganglia.sh"}, "gpt4o_tokens": 1192, "dataset_split": "shell", "probability_weighted_scores": {"content_quality": 0.32809460602938456, "noise_severity": 0.11290294192206697, "missing_content_severity": 0.19000360507911043, "factual_density": 3.270717126470422, "pretraining_utility": 0.4348962642860183, "math_density": 0.021484180975235113, "code_density": 3.889595662712699, "reasoning_density": 0.3822034823500927, "education_level": 2.470983702176829, "creative_writing_quality": -0.29562315488059404}, "score_applicability": {"education_level": 0.9989229917130547, "creative_writing_quality": 0.0005075772081860918}} {"source_group": "shell", "source": "openbmb/UltraData-Stack-v3-L2/shell", "domain": "github.com", "language": "shell", "url": "https://github.com/mgeeky/Penetration-Testing-Tools/blob/cce4364defa48623451681e7384bee00b76c78f1/clouds/aws/evaluate-iam-role.sh", "id": "shell-0-a952af57dd18de7512be39ac04cb31dc", "text": "#!/bin/bash\n#\n# Evaluates specified AWS IAM Role or Policy given their name/Arn.\n# Dumps all of the attached policies in case of Role and all of defined\n# policy statements. Then goes through allowed permissions to pick all of them out.\n# Finally, checks every allowed permission against a list of known troublesome ones.\n#\n# , mgeeky '19, <>\n# v0.1\n#\n\nif [ $# -lt 2 ] ; then\n\techo \"Usage: evaluate-iam-role.sh [-v] \"\n\techo\n\techo -e \"-v\\t\\t\\tVerbose mode. Dumps full roles/policies contents.\"\n\techo -e \"profile\\t\\t\\tAWS credentials profile name.\"\n\techo -e \"role-name|policy-name\\tEither IAM Role name or Policy Arn to evaluate.\"\n\techo -e \"\\t\\t\\tIf 'all' was specified, will evaluate ALL used IAM Roles\"\n\texit 1\nfi\n\nVERBOSE=0\nif [[ \"$1\" == \"-v\" ]]; then\n\tVERBOSE=1\n\tshift\nfi\n\nPROFILE=$1\nROLE_NAME=$2\n\nknown_potentially_dangerous_permissions=(\n\t\".+:\\*\"\n\t\".*:Add.*\"\n\t\".*:Attach.*\"\n\t\".*:Batch.*\"\n\t\".*:Change.*\"\n\t\".*:Command.*\"\n\t\".*:Create.*\"\n\t\".*:Delete.*\"\n\t\".*:Execute.*\"\n\t\".*:Invoke.*\"\n\t\".*:Modify.*\"\n\t\".*:Put.*\"\n\t\".*:Reboot.*\"\n\t\".*:Register.*\"\n\t\".*:Replace.*\"\n\t\".*:Run.*\"\n\t\".*:Send.*\"\n\t\".*:Set.*\"\n\t\".*:Start.*\"\n\t\".*:Update.*\"\n)\n\nknown_dangerous_permissions=(\n\t\"\\*:\\*\"\n\t\"cloudformation:CreateStack\"\n\t\"datapipeline:CreatePipeline\"\n\t\"datapipeline:PutPipelineDefinition\"\n\t\"ec2:RunInstances\"\n\t\"glue:CreateDevEndpoint\"\n\t\"glue:UpdateDevEndpoint\"\n\t\"iam:\\*\"\n\t\"iam:AddUserToGroup\"\n\t\"iam:AttachGroupPolicy\"\n\t\"iam:AttachRolePolicy\"\n\t\"iam:AttachUserPolicy\"\n\t\"iam:CreateAccessKey\"\n\t\"iam:CreateLoginProfile\"\n\t\"iam:CreatePolicyVersion\"\n\t\"iam:PassRole\"\n\t\"iam:PassRole\"\n\t\"iam:PutGroupPolicy\"\n\t\"iam:PutRolePolicy\"\n\t\"iam:PutUserPolicy\"\n\t\"iam:SetDefaultPolicyVersion\"\n\t\"iam:UpdateAssumeRolePolicy\"\n\t\"iam:UpdateLoginProfile\"\n\t\"lambda:CreateEventSourceMapping\"\n\t\"lambda:CreateFunction\"\n\t\"lambda:InvokeFunction\"\n\t\"lambda:UpdateFunctionCode\"\n\t\"sts:AssumeRole\"\n)\n\nknown_dangerous_aws_managed_policies=(\n\t\"arn:aws:iam::aws:policy/service-role/AmazonEC2RoleforSSM\"\n\t\"arn:aws:iam::aws:policy/service-role/AmazonMachineLearningRoleforRedshiftDataSource\"\n)\n\ndangerous_permissions=()\npotentially_dangerous_permissions=()\nall_perms=()\nused_bad_policies=()\n\nfunction examine_policy() {\n\tpolicy=$1\n\trole_name=$2\n\n\tout=$(aws --profile $PROFILE iam get-policy --policy-arn $policy)\n\tversion_id=$(echo \"$out\" | jq -r '.Policy.DefaultVersionId')\n\tpolicy_name=$(echo \"$out\" | jq -r '.Policy.PolicyName')\n\n\tpolicy_version=$(aws --profile $PROFILE iam get-policy-version --policy-arn $policy --version-id $version_id)\n\n\tif [[ $VERBOSE == 1 ]]; then\n\t\techo -e \"\\n------------[ Policy Arn: $policy ]------------\"\n\t\techo \"$policy_version\"\n\tfi\n\n\tpermissions=($(echo \"$policy_version\" | jq -r '.PolicyVersion.Document.Statement[] | select(.Effect==\"Allow\") | if .Action|type==\"string\" then [.Action] else .Action end | .[]'))\n\n\tpath=\"\"\n\tif [[ \"$role_name\" != \"\" ]]; then\n\t\tpath=\"$role_name.$policy_name.\"\n\telse\n\t\tpath=\"$policy_name.\"\n\tfi\n\n\tif [[ \"$ROLE_NAME\" != \"all\" ]] ; then\n\t\tpath=\"\"\n\tfi\n\n\tfor bad_policy in \"${known_dangerous_aws_managed_policies[@]}\"; do\n\t\tif echo \"$policy\" | grep -iq \"$bad_policy\" ; then\n\t\t\tused_bad_policies+=(\"$path$bad_policy\")\n\t\tfi\n\tdone\n\n\tfor perm in \"${permissions[@]}\" ; do\n\t\tpermadd=\"$path$perm\"\n\t\tall_perms+=(\"$permadd\")\n\n\t\tfor potdangperm in \"${known_potentially_dangerous_permissions[@]}\"; do\n\t\t\tif [[ \"$perm\" == \"iam:*\" ]]; then continue ; fi\n\t\t\tif echo \"$perm\" | grep -Piq \"$potdangperm\" ; then\n\t\t\t\tpotentially_dangerous_permissions+=(\"$permadd\")\n\t\t\tfi\n\t\tdone\n\n\t\tfor dangperm in \"${known_dangerous_permissions[@]}\"; do\n\t\t\tif echo \"$perm\" | grep -iq \"$dangperm\" ; then\n\t\t\t\tdangerous_permissions+=(\"$permadd\")\n\t\t\tfi\n\t\tdone\n\tdone\n}\n\nfunction examine_role() {\n\trole_name=$1\n\n\trole_policy=$(aws --profile $PROFILE iam get-role --role-name $role_name)\n\n\tif [[ $VERBOSE == 1 ]]; then\n\t\techo -e \"------------[ Role: $role_name ]------------\"\n\t\techo \"$role_policy\"\n\tfi\n\n\tattached_role_policies=($(aws --profile $PROFILE iam list-attached-role-policies --role-name $role_name | jq -r '.AttachedPolicies[].PolicyArn'))\n\n\tif [[ $VERBOSE == 1 ]]; then\n\t\techo\n\tfi\n\techo \"[+] Role ($role_name) has following policies attached:\"\n\tfor policy in \"${attached_role_policies[@]}\" ; do\n\t\techo -e \"\\t- $policy\"\n\tdone\n\n\tif [[ $VERBOSE == 1 ]]; then\n\t\techo\n\tfi\n\n\tfor policy in \"${attached_role_policies[@]}\" ; do\n\t\texamine_policy $policy $role_name\n\tdone\n}\n\n#\n#------------------------------------------------------------------\n#\n\nIFS=$'\\n'\n\nif [[ \"$ROLE_NAME\" == \"all\" ]]; then\n\techo \"[+] Evaluating ALL used IAM Roles\"\n\techo\n\n\tout=($(aws --profile $PROFILE iam list-roles --query 'Roles[*].RoleName' --output text | tr '\\t' '\\n'))\n\n\tfor role in \"${out[@]}\"; do\n\t\texamine_role $role\n\tdone\n\nelif echo \"$ROLE_NAME\" | grep -q \"arn:aws:iam:\" && echo \"$ROLE_NAME\" | grep -q \":policy/\" ; then\n\techo \"[+] Working on specified Policy Arn: $ROLE_NAME\"\n\techo\n\n\texamine_policy $ROLE_NAME\nelse\n\techo \"[+] Working on specified Role: $ROLE_NAME\"\n\techo\n\n\texamine_role $ROLE_NAME\nfi\n\n#------------------------------------------------------------------\n\nif [[ ${#used_bad_policies[@]} -gt 0 ]]; then\n\techo -e \"\\n\\n[-] =============== Found AWS Managed Insecure Policies in Use ===============\"\n\techo\n\tsorted=($(echo \"${used_bad_policies[@]}\" | tr ' ' '\\n' | sort -u ))\n\tfor pol in \"${sorted[@]}\"; do\n\t\techo -e \"\\t$pol\"\n\tdone\nfi\n\nif [[ ${#all_perms[@]} -gt 0 ]]; then\n\techo -e \"\\n\\n[+] =============== Permissions granted ===============\"\n\techo\n\tsorted=($(echo \"${all_perms[@]}\" | tr ' ' '\\n' | sort -u ))\n\tfor perm in \"${sorted[@]}\"; do\n\t\techo -e \"\\t$perm\" | sed -r 's/\\./ -> /g'\n\tdone\n\n\tif [[ ${#potentially_dangerous_permissions[@]} -gt 0 ]]; then\n\t\techo -e \"\\n\\n[-] =============== Detected POTENTIALLY dangerous permissions granted ===============\"\n\t\techo\n\t\tsorted=($(echo \"${potentially_dangerous_permissions[@]}\" | tr ' ' '\\n' | sort -u ))\n\t\tfor dangperm in \"${sorted[@]}\"; do\n\t\t\techo -e \"\\t$dangperm\" | sed -r 's/\\./ -> /g'\n\t\tdone\n\tfi\n\n\tif [[ ${#dangerous_permissions[@]} -gt 0 ]]; then\n\t\techo -e \"\\n\\n[!] =============== Detected DANGEROUS permissions granted ===============\"\n\t\techo\n\t\tsorted=($(echo \"${dangerous_permissions[@]}\" | tr ' ' '\\n' | sort -u ))\n\t\tfor dangperm in \"${sorted[@]}\"; do\n\t\t\techo -e \"\\t$dangperm\" | sed -r 's/\\./ -> /g'\n\t\tdone\n\tfi\nelse\n\techo -e \"\\nNo permissions were found to be granted.\"\nfi\n\necho\n", "text_preview": "#!/bin/bash # # Evaluates specified AWS IAM Role or Policy given their name/Arn. # Dumps all of the attached policies in case of Role and all of defined # policy statements. Then goes through allowed permissions to pick all of them out. # F", "input_sha256": "28d65d092f512333fe62a0e8d332d643b841a874016d9ae35af9adcc28bd3602", "text_sha256": "a952af57dd18de7512be39ac04cb31dc449323af35e16b60cf07e6618aeb5e16", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 20075, "input_policy": "text-and-optional-url-v1", "label_policy_version": 12, "requested_model": "decision-models/baseten-mammoth-27b-latest", "backend": "baseten", "endpoint": "https://inference.baseten.co/v1/systemone", "status": "ok", "training_eligible": true, "label": {"primary": {"main_format": "Technical Writing", "sub_format": null}, "secondary": null, "tertiary": null, "content_structure": []}, "candidate_label": null, "topic": {"primary": {"main_topic": "Programming & Software Engineering", "sub_topic": null}, "secondary": null}, "scores": {"content_quality": 1, "noise_severity": 0, "missing_content_severity": 0, "factual_density": 3, "pretraining_utility": 1, "math_density": 0, "code_density": 4, "reasoning_density": 0, "education_level": 3, "creative_writing_quality": null}, "score_expectations": {"content_quality": 0.5570376912622038, "noise_severity": 0.11274267375161828, "missing_content_severity": 0.04021834791055666, "factual_density": 3.074379898924761, "pretraining_utility": 0.5621331416418152, "math_density": 0.008724582458284941, "code_density": 3.8098608101557008, "reasoning_density": 1.2078263945925038, "education_level": 2.704516442802813, "creative_writing_quality": -0.24981195549085014}, "api_choices": {"primary": "Technical Writing", "secondary": "NONE", "tertiary": "NONE", "education_level": "3", "creative_writing_quality": "not_applicable", "primary_topic": "Programming & Software Engineering", "secondary_topic": "NONE"}, "review_reasons": [], "format_slot_diagnostics": {"comparable": true, "secondary_tertiary_identical": false, "secondary_tertiary_max_abs_gap": 0.010594022036223616, "secondary_choice": "NONE", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.9887287932768862, "secondary": 0.8668060715640518, "tertiary": 0.8778607032540242, "structured_records": 0.27067672648026225, "procedural_steps": 0.05280510078880533, "worked_solution": 0.002538880937771802, "contextual_dialogue": 4.763755841825053e-06, "content_quality": 0.4326531093529806, "noise_severity": 0.9060477718736515, "missing_content_severity": 0.9664847100745361, "factual_density": 0.5026135455389277, "pretraining_utility": 0.5079074909115868, "math_density": 0.9927295146180959, "code_density": 0.8415506751297509, "reasoning_density": 0.0, "education_level": 0.3923835932838571, "creative_writing_quality": 0.9988493532389426, "primary_topic": 0.9480590081239865, "secondary_topic": 0.6547294702109638}, "probability_margin": {"primary": 0.9830067292815658, "secondary": 0.8203626745684535, "tertiary": 0.8382840407183235, "education_level": 0.1063886743032913, "creative_writing_quality": 0.9985929648043619, "primary_topic": 0.9126322225540303, "secondary_topic": 0.4989678258986935}, "raw_probabilities": {"primary": {"Academic Writing": 5.083746625859184e-05, "Content Listing": 4.457046297740068e-05, "Creative Writing": 2.5154097433813123e-05, "Customer Support Page": 2.5759243140982908e-05, "Q&A Forum": 2.0428509535213784e-05, "Discussion Thread": 1.564756922506489e-05, "Comment Section": 3.0379635547967225e-05, "Missing Content": 3.423935308991411e-05, "Knowledge Article": 0.0002400939684244767, "Legal Notices": 5.6791662497232114e-05, "News Article": 1.0342892568517542e-05, "Organizational Announcement": 2.0177401675874508e-05, "Nonfiction Writing": 2.272918977591527e-05, "Organizational About Page": 2.5265001616631287e-05, "Personal About Page": 2.4251023851360742e-05, "Personal Blog": 1.4816685862536654e-05, "Product Page": 1.6187335806915796e-05, "Spam / Ads": 2.0472684286488302e-05, "Structured Data": 0.0015072336483967592, "Technical Writing": 0.9891984268903493, "Transcript / Interview": 2.673084167323072e-05, "Tutorial / How-To Guide": 0.006191697608783503, "User Reviews": 1.5326855421749133e-05, "Other / Unknown": 0.0023624399718003885}, "secondary": {"Academic Writing": 0.0005967495950074027, "Content Listing": 0.0005669147738833608, "Creative Writing": 0.00044057129150298544, "Customer Support Page": 0.00039383370748042945, "Q&A Forum": 0.00024286066454830434, "Discussion Thread": 0.00018049997887613104, "Comment Section": 0.0003410580448255364, "Missing Content": 0.0006380495594157014, "Knowledge Article": 0.002720922319646482, "Legal Notices": 0.0025544957277012777, "News Article": 0.0002688907095936356, "Organizational Announcement": 0.00030742434376048903, "Nonfiction Writing": 0.00030936943507193745, "Organizational About Page": 0.000320109124081247, "Personal About Page": 0.00031172583116306074, "Personal Blog": 0.0002468018787461906, "Product Page": 0.00020539205761446543, "Spam / Ads": 0.0003056568616235368, "Structured Data": 0.05199314401376276, "Technical Writing": 0.036972953073634025, "Transcript / Interview": 0.0004109914062993433, "Tutorial / How-To Guide": 0.02716497855815512, "User Reviews": 0.00015078846139044336, "NONE": 0.8723558185822162}, "tertiary": {"Academic Writing": 0.0003794589028413389, "Content Listing": 0.0006548937928626082, "Creative Writing": 0.0003081803241894929, "Customer Support Page": 0.000405739916626092, "Q&A Forum": 0.00015572561008761793, "Discussion Thread": 0.00012781420384950696, "Comment Section": 0.00025577118489162394, "Missing Content": 0.00047604251254906377, "Knowledge Article": 0.00372782312365083, "Legal Notices": 0.005360302159172873, "News Article": 0.00017577311906695988, "Organizational Announcement": 0.00022147831127664085, "Nonfiction Writing": 0.0002566388216648899, "Organizational About Page": 0.00028008364466037124, "Personal About Page": 0.0002626147405571062, "Personal Blog": 0.00015507108834127308, "Product Page": 0.00016242068324625027, "Spam / Ads": 0.0002169117737068404, "Structured Data": 0.04466579990011632, "Technical Writing": 0.031854638677989065, "Transcript / Interview": 0.0002675820807564461, "Tutorial / How-To Guide": 0.026576207587513213, "User Reviews": 0.00010318722194369206, "NONE": 0.8829498406184398}, "structured_records": {"false": 0.7293232735197377, "true": 0.27067672648026225}, "procedural_steps": {"false": 0.9471948992111947, "true": 0.05280510078880533}, "worked_solution": {"false": 0.9974611190622282, "true": 0.002538880937771802}, "contextual_dialogue": {"false": 0.9999952362441582, "true": 4.763755841825053e-06}, "content_quality": {"-2": 0.013644560298644009, "-1": 0.09201856718029543, "0": 0.33691847350058673, "1": 0.4384914190011602, "2": 0.11892698001931351}, "noise_severity": {"0": 0.900006545064471, "1": 0.09095527356645826, "2": 0.006485632494010772, "3": 0.0013940603031019157, "4": 0.0011584885719581816}, "missing_content_severity": {"0": 0.9654734622353439, "1": 0.03065603575804906, "2": 0.0025396513385585206, "3": 0.0008403931968033106, "4": 0.0004904574712451574}, "factual_density": {"0": 0.005494911085293434, "1": 0.031709874047907496, "2": 0.18133744186256773, "3": 0.4458359508652075, "4": 0.3356218221390238}, "pretraining_utility": {"-2": 0.009267045495372741, "-1": 0.07061048505666763, "0": 0.34516682803268683, "1": 0.4986335651413174, "2": 0.07632207627395544}, "math_density": {"0": 0.9935198612553426, "1": 0.00536897362344682, "2": 0.00041480911882473974, "3": 0.0002594334123541765, "4": 0.00043692259003152745}, "code_density": {"0": 0.0004002088944005147, "1": 0.0007997837078292065, "2": 0.019573626506947998, "3": 0.14699175012931323, "4": 0.8322346307615092}, "reasoning_density": {"0": 0.504901252331928, "1": 0.09102912108099363, "2": 0.18206180184107262, "3": 0.1353576291546579, "4": 0.08665019559134783}, "education_level": {"none": 0.0010409949380314565, "0": 0.0017650587174451392, "1": 0.006297698633000394, "2": 0.3872643200999229, "3": 0.4936529944032142, "4": 0.10997893320838593}, "creative_writing_quality": {"not_applicable": 0.9990411276991189, "-2": 0.00010963752162388262, "-1": 0.00023258967338727552, "0": 0.00044816289475698584, "1": 0.00012463747014007358, "2": 4.384474097291972e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 0.00011597814423042825, "Art & Design": 0.00013854514345330342, "Law & Crime": 0.0048018547651198324, "Education & Careers": 8.977703793593012e-05, "Entertainment & Media": 8.026460786740936e-05, "Fashion & Beauty": 6.371180303241225e-05, "Business, Economics & Finance": 0.000168095011970699, "Food & Dining": 6.80025936580182e-05, "Games & Gaming": 0.0001201224643145256, "Electronics & Hardware": 0.0002288778473788522, "Health, Healthcare & Wellness": 6.70369893183499e-05, "History & Geography": 0.00010883559215307971, "Home, Pets & Hobbies": 7.879386374705492e-05, "Industry & Production": 8.860848872682807e-05, "Language, Literature & Philosophy": 7.614164484469168e-05, "Politics & Government": 0.0001225981927643817, "Religion & Spirituality": 7.615831165753012e-05, "Science, Mathematics & Engineering": 0.00032985829218218116, "Relationships & Community": 4.65839095672589e-05, "Software Usage & Applications": 0.03742451602672587, "Programming & Software Engineering": 0.9500567385807562, "Sports & Fitness": 9.929251096356986e-05, "Vehicles & Transportation": 4.7087895742936745e-05, "Travel & Tourism": 0.00010758536767629353, "Other / Uncovered Subject": 0.00528870902253783, "Unknown / Insufficient Content": 0.00010622589167433685}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0011728659825904102, "Art & Design": 0.0006561486828939257, "Law & Crime": 0.028456267213491277, "Education & Careers": 0.0005112923288740918, "Entertainment & Media": 0.0005702580897975203, "Fashion & Beauty": 0.00041019561211262613, "Business, Economics & Finance": 0.0012083312021808818, "Food & Dining": 0.00034231216519898394, "Games & Gaming": 0.0005848289756562056, "Electronics & Hardware": 0.000776374212784523, "Health, Healthcare & Wellness": 0.00046622562649789904, "History & Geography": 0.000464693961106689, "Home, Pets & Hobbies": 0.0004334219359380282, "Industry & Production": 0.0004260856806487944, "Language, Literature & Philosophy": 0.00031269296795071675, "Politics & Government": 0.0006175590771894675, "Religion & Spirituality": 0.0005935712141743026, "Science, Mathematics & Engineering": 0.0008432322152848768, "Relationships & Community": 0.0002633243002956297, "Software Usage & Applications": 0.16904128007338715, "Programming & Software Engineering": 0.11264636911232527, "Sports & Fitness": 0.00040137038411976883, "Vehicles & Transportation": 0.00021689281155295548, "Travel & Tourism": 0.0007266988135924047, "Other / Uncovered Subject": 0.00984860138827503, "NONE": 0.6680091059720806}}, "probabilities": {"primary": {"Academic Writing": 5.083746625859185e-05, "Content Listing": 4.457046297740069e-05, "Creative Writing": 2.5154097433813127e-05, "Customer Support Page": 2.575924314098291e-05, "Q&A Forum": 2.0428509535213787e-05, "Discussion Thread": 1.5647569225064895e-05, "Comment Section": 3.037963554796723e-05, "Missing Content": 3.4239353089914114e-05, "Knowledge Article": 0.00024009396842447674, "Legal Notices": 5.679166249723212e-05, "News Article": 1.0342892568517544e-05, "Organizational Announcement": 2.017740167587451e-05, "Nonfiction Writing": 2.2729189775915274e-05, "Organizational About Page": 2.526500161663129e-05, "Personal About Page": 2.4251023851360745e-05, "Personal Blog": 1.4816685862536656e-05, "Product Page": 1.61873358069158e-05, "Spam / Ads": 2.0472684286488306e-05, "Structured Data": 0.0015072336483967594, "Technical Writing": 0.9891984268903494, "Transcript / Interview": 2.6730841673230725e-05, "Tutorial / How-To Guide": 0.006191697608783504, "User Reviews": 1.5326855421749137e-05, "Other / Unknown": 0.002362439971800389}, "secondary": {"Academic Writing": 0.0005967495950074027, "Content Listing": 0.0005669147738833608, "Creative Writing": 0.00044057129150298544, "Customer Support Page": 0.00039383370748042945, "Q&A Forum": 0.00024286066454830434, "Discussion Thread": 0.00018049997887613104, "Comment Section": 0.0003410580448255364, "Missing Content": 0.0006380495594157014, "Knowledge Article": 0.002720922319646482, "Legal Notices": 0.0025544957277012777, "News Article": 0.0002688907095936356, "Organizational Announcement": 0.00030742434376048903, "Nonfiction Writing": 0.00030936943507193745, "Organizational About Page": 0.000320109124081247, "Personal About Page": 0.00031172583116306074, "Personal Blog": 0.0002468018787461906, "Product Page": 0.00020539205761446543, "Spam / Ads": 0.0003056568616235368, "Structured Data": 0.05199314401376276, "Technical Writing": 0.036972953073634025, "Transcript / Interview": 0.0004109914062993433, "Tutorial / How-To Guide": 0.02716497855815512, "User Reviews": 0.00015078846139044336, "NONE": 0.8723558185822162}, "tertiary": {"Academic Writing": 0.0003794589028413389, "Content Listing": 0.0006548937928626082, "Creative Writing": 0.0003081803241894929, "Customer Support Page": 0.000405739916626092, "Q&A Forum": 0.00015572561008761793, "Discussion Thread": 0.00012781420384950696, "Comment Section": 0.00025577118489162394, "Missing Content": 0.00047604251254906377, "Knowledge Article": 0.00372782312365083, "Legal Notices": 0.005360302159172873, "News Article": 0.00017577311906695988, "Organizational Announcement": 0.00022147831127664085, "Nonfiction Writing": 0.0002566388216648899, "Organizational About Page": 0.00028008364466037124, "Personal About Page": 0.0002626147405571062, "Personal Blog": 0.00015507108834127308, "Product Page": 0.00016242068324625027, "Spam / Ads": 0.0002169117737068404, "Structured Data": 0.04466579990011632, "Technical Writing": 0.031854638677989065, "Transcript / Interview": 0.0002675820807564461, "Tutorial / How-To Guide": 0.026576207587513213, "User Reviews": 0.00010318722194369206, "NONE": 0.8829498406184398}, "structured_records": {"false": 0.7293232735197377, "true": 0.27067672648026225}, "procedural_steps": {"false": 0.9471948992111947, "true": 0.05280510078880533}, "worked_solution": {"false": 0.9974611190622282, "true": 0.002538880937771802}, "contextual_dialogue": {"false": 0.9999952362441582, "true": 4.763755841825053e-06}, "content_quality": {"-2": 0.01364456029864401, "-1": 0.09201856718029544, "0": 0.3369184735005868, "1": 0.43849141900116023, "2": 0.11892698001931352}, "noise_severity": {"0": 0.900006545064471, "1": 0.09095527356645826, "2": 0.006485632494010772, "3": 0.0013940603031019157, "4": 0.0011584885719581816}, "missing_content_severity": {"0": 0.9654734622353439, "1": 0.03065603575804906, "2": 0.0025396513385585206, "3": 0.0008403931968033106, "4": 0.0004904574712451574}, "factual_density": {"0": 0.005494911085293434, "1": 0.031709874047907496, "2": 0.18133744186256773, "3": 0.4458359508652075, "4": 0.3356218221390238}, "pretraining_utility": {"-2": 0.009267045495372741, "-1": 0.07061048505666763, "0": 0.34516682803268683, "1": 0.4986335651413174, "2": 0.07632207627395544}, "math_density": {"0": 0.9935198612553428, "1": 0.005368973623446821, "2": 0.0004148091188247398, "3": 0.00025943341235417657, "4": 0.0004369225900315275}, "code_density": {"0": 0.0004002088944005146, "1": 0.0007997837078292063, "2": 0.019573626506947994, "3": 0.1469917501293132, "4": 0.8322346307615089}, "reasoning_density": {"0": 0.504901252331928, "1": 0.09102912108099363, "2": 0.18206180184107262, "3": 0.1353576291546579, "4": 0.08665019559134783}, "education_level": {"none": 0.0010409949380314565, "0": 0.0017650587174451392, "1": 0.006297698633000394, "2": 0.3872643200999229, "3": 0.4936529944032142, "4": 0.10997893320838593}, "creative_writing_quality": {"not_applicable": 0.9990411276991189, "-2": 0.00010963752162388262, "-1": 0.00023258967338727552, "0": 0.00044816289475698584, "1": 0.00012463747014007358, "2": 4.384474097291972e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 0.00011597814423042827, "Art & Design": 0.00013854514345330344, "Law & Crime": 0.004801854765119833, "Education & Careers": 8.977703793593013e-05, "Entertainment & Media": 8.026460786740938e-05, "Fashion & Beauty": 6.371180303241227e-05, "Business, Economics & Finance": 0.00016809501197069903, "Food & Dining": 6.800259365801822e-05, "Games & Gaming": 0.00012012246431452562, "Electronics & Hardware": 0.00022887784737885222, "Health, Healthcare & Wellness": 6.703698931834991e-05, "History & Geography": 0.00010883559215307973, "Home, Pets & Hobbies": 7.879386374705493e-05, "Industry & Production": 8.860848872682808e-05, "Language, Literature & Philosophy": 7.61416448446917e-05, "Politics & Government": 0.00012259819276438173, "Religion & Spirituality": 7.615831165753013e-05, "Science, Mathematics & Engineering": 0.0003298582921821812, "Relationships & Community": 4.6583909567258904e-05, "Software Usage & Applications": 0.037424516026725876, "Programming & Software Engineering": 0.9500567385807563, "Sports & Fitness": 9.929251096356987e-05, "Vehicles & Transportation": 4.708789574293675e-05, "Travel & Tourism": 0.00010758536767629354, "Other / Uncovered Subject": 0.005288709022537831, "Unknown / Insufficient Content": 0.00010622589167433686}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0011728659825904102, "Art & Design": 0.0006561486828939257, "Law & Crime": 0.028456267213491277, "Education & Careers": 0.0005112923288740918, "Entertainment & Media": 0.0005702580897975203, "Fashion & Beauty": 0.00041019561211262613, "Business, Economics & Finance": 0.0012083312021808818, "Food & Dining": 0.00034231216519898394, "Games & Gaming": 0.0005848289756562056, "Electronics & Hardware": 0.000776374212784523, "Health, Healthcare & Wellness": 0.00046622562649789904, "History & Geography": 0.000464693961106689, "Home, Pets & Hobbies": 0.0004334219359380282, "Industry & Production": 0.0004260856806487944, "Language, Literature & Philosophy": 0.00031269296795071675, "Politics & Government": 0.0006175590771894675, "Religion & Spirituality": 0.0005935712141743026, "Science, Mathematics & Engineering": 0.0008432322152848768, "Relationships & Community": 0.0002633243002956297, "Software Usage & Applications": 0.16904128007338715, "Programming & Software Engineering": 0.11264636911232527, "Sports & Fitness": 0.00040137038411976883, "Vehicles & Transportation": 0.00021689281155295548, "Travel & Tourism": 0.0007266988135924047, "Other / Uncovered Subject": 0.00984860138827503, "NONE": 0.6680091059720806}}, "probability_diagnostics": {"primary": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "tertiary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "structured_records": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "procedural_steps": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "worked_solution": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "contextual_dialogue": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "content_quality": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "noise_severity": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "missing_content_severity": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "factual_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "pretraining_utility": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "math_density": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "code_density": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "reasoning_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "education_level": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "creative_writing_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "primary_topic": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}}, "usage": {"input_tokens": 10503, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 10503, "cached_share": null, "cache_discount_reported": null, "reported_cost_usd": null}, "response_metadata": {"model": "decision-models/baseten-mammoth-27b-latest"}, "scored_at_utc": "2026-10-25T18:34:09.257977+00:00", "scoring_key_slot": "assistant_1", "dataset_uid": "e1171f30-afbe-447d-9e46-177267d060b7", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "8853994914b17be5b250b6a9cec0f5d2340dd2666c71084e1527a4ab5eeec9bf", "source_metadata": {"uuid": "e1171f30-afbe-447d-9e46-177267d060b7", "repo_name": "mgeeky/Penetration-Testing-Tools", "relative_path": "clouds/aws/evaluate-iam-role.sh", "category": "TOOL", "algo_rel_score": 0.9866054654121399, "quality_score": 4.058646202087402, "source_meta": {"github_metadata": {"branch": "master", "commit_count": 662, "repo_created_at": "2018-02-02T21:24:03.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 2749, "forks": 533, "issues": 3, "pull_requests": 1}, "file_meta": {"content_id": "78ace76264cbe6967dc1d5903c934ed2e6dae02b", "size_bytes": 6324, "file_timestamp": 1687893405, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "cce4364defa48623451681e7384bee00b76c78f1"}}, "parsed_source_meta": {"github_metadata": {"branch": "master", "commit_count": 662, "repo_created_at": "2018-02-02T21:24:03.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 2749, "forks": 533, "issues": 3, "pull_requests": 1}, "file_meta": {"content_id": "78ace76264cbe6967dc1d5903c934ed2e6dae02b", "size_bytes": 6324, "file_timestamp": 1687893405, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "cce4364defa48623451681e7384bee00b76c78f1", "url": "https://github.com/mgeeky/Penetration-Testing-Tools/blob/cce4364defa48623451681e7384bee00b76c78f1/clouds/aws/evaluate-iam-role.sh"}, "gpt4o_tokens": 1895, "dataset_split": "shell", "probability_weighted_scores": {"content_quality": 0.5570376912622038, "noise_severity": 0.11274267375161828, "missing_content_severity": 0.04021834791055666, "factual_density": 3.074379898924761, "pretraining_utility": 0.5621331416418152, "math_density": 0.008724582458284941, "code_density": 3.809860810155701, "reasoning_density": 1.2078263945925038, "education_level": 2.704516442802813, "creative_writing_quality": -0.24981195549085014}, "score_applicability": {"education_level": 0.9989590050619686, "creative_writing_quality": 0.0009588723008811373}} {"source_group": "shell", "source": "openbmb/UltraData-Stack-v3-L2/shell", "domain": "github.com", "language": "shell", "url": "https://github.com/PlumyCat/my-first-MCP-server/blob/301f031e7e9af4cf6fd5a191ae6d62fb43bcbbbe/deploiement/azure-update-http.ps1", "id": "shell-0-2925a828eced1a03b4554b9d059407ac", "text": "#!/usr/bin/env pwsh\n<#\n.SYNOPSIS\n Met à jour le déploiement Azure pour utiliser le serveur HTTP\n.DESCRIPTION\n Ce script met à jour le container Azure existant pour utiliser le serveur HTTP\n au lieu du serveur stdio, permettant les tests via HTTP/REST.\n#>\n\nparam(\n [string]$ResourceGroup = \"mcp-weather-rg\",\n [string]$ContainerName = \"mcp-weather-server\",\n [string]$RegistryName = \"mcpweatheracr3590\",\n [string]$ImageTag = \"http\"\n)\n\n# Configuration\n$ErrorActionPreference = \"Stop\"\n\nWrite-Host \"🔄 MISE À JOUR DÉPLOIEMENT AZURE VERS HTTP\" -ForegroundColor Cyan\nWrite-Host \"=\" * 50\n\n# Vérifier Azure CLI\ntry {\n $azVersion = az version --query '\"azure-cli\"' -o tsv\n Write-Host \"✅ Azure CLI version: $azVersion\" -ForegroundColor Green\n} catch {\n Write-Host \"❌ Azure CLI non trouvé\" -ForegroundColor Red\n exit 1\n}\n\n# Vérifier la connexion Azure\ntry {\n $account = az account show --query \"name\" -o tsv\n Write-Host \"✅ Connecté à Azure: $account\" -ForegroundColor Green\n} catch {\n Write-Host \"❌ Non connecté à Azure\" -ForegroundColor Red\n Write-Host \"💡 Connectez-vous avec: az login\" -ForegroundColor Yellow\n exit 1\n}\n\n# Vérifier si le container existe\nWrite-Host \"🔍 Vérification du container existant...\" -ForegroundColor Yellow\ntry {\n $containerState = az container show --resource-group $ResourceGroup --name $ContainerName --query \"instanceView.state\" -o tsv\n Write-Host \"✅ Container trouvé (État: $containerState)\" -ForegroundColor Green\n} catch {\n Write-Host \"❌ Container non trouvé\" -ForegroundColor Red\n exit 1\n}\n\n# Construire la nouvelle image HTTP\nWrite-Host \"🔨 Construction de l'image HTTP...\" -ForegroundColor Yellow\ntry {\n Write-Host \" 📄 Utilisation de Dockerfile.http\"\n \n # Vérifier si Dockerfile.http existe\n if (-not (Test-Path \"Dockerfile.http\")) {\n Write-Host \"❌ Dockerfile.http non trouvé\" -ForegroundColor Red\n exit 1\n }\n \n # Construire l'image dans Azure Container Registry\n az acr build --registry $RegistryName --image \"mcp-weather-server:$ImageTag\" --file Dockerfile.http .\n \n if ($LASTEXITCODE -eq 0) {\n Write-Host \"✅ Image HTTP construite avec succès\" -ForegroundColor Green\n } else {\n Write-Host \"❌ Échec de construction de l'image\" -ForegroundColor Red\n exit 1\n }\n} catch {\n Write-Host \"❌ Erreur lors de la construction: $_\" -ForegroundColor Red\n exit 1\n}\n\n# Arrêter le container existant\nWrite-Host \"🛑 Arrêt du container existant...\" -ForegroundColor Yellow\ntry {\n az container stop --resource-group $ResourceGroup --name $ContainerName\n Write-Host \"✅ Container arrêté\" -ForegroundColor Green\n} catch {\n Write-Host \"⚠️ Erreur lors de l'arrêt (peut être déjà arrêté)\" -ForegroundColor Yellow\n}\n\n# Supprimer le container existant\nWrite-Host \"🗑️ Suppression du container existant...\" -ForegroundColor Yellow\ntry {\n az container delete --resource-group $ResourceGroup --name $ContainerName --yes\n Write-Host \"✅ Container supprimé\" -ForegroundColor Green\n} catch {\n Write-Host \"⚠️ Erreur lors de la suppression\" -ForegroundColor Yellow\n}\n\n# Attendre un peu\nWrite-Host \"⏳ Attente 10 secondes...\" -ForegroundColor Yellow\nStart-Sleep -Seconds 10\n\n# Redéployer avec la nouvelle image HTTP\nWrite-Host \"🚀 Redéploiement avec serveur HTTP...\" -ForegroundColor Yellow\n\n# Récupérer les variables d'environnement du fichier .env\n$envVars = @()\nif (Test-Path \".env\") {\n Get-Content \".env\" | ForEach-Object {\n if ($_ -match \"^([^#][^=]+)=(.+)$\") {\n $name = $matches[1].Trim()\n $value = $matches[2].Trim()\n \n # Ajouter seulement les variables nécessaires\n if ($name -in @(\"OPENWEATHER_API_KEY\", \"AZURE_AD_TENANT_ID\", \"AZURE_AD_CLIENT_ID\", \"AZURE_AD_CLIENT_SECRET\")) {\n $envVars += \"$name=$value\"\n }\n }\n }\n}\n\nif ($envVars.Count -eq 0) {\n Write-Host \"⚠️ Aucune variable d'environnement trouvée dans .env\" -ForegroundColor Yellow\n}\n\n# Construire la commande de déploiement\n$deployCmd = @(\n \"az\", \"container\", \"create\",\n \"--resource-group\", $ResourceGroup,\n \"--name\", $ContainerName,\n \"--image\", \"$RegistryName.azurecr.io/mcp-weather-server:$ImageTag\",\n \"--registry-login-server\", \"$RegistryName.azurecr.io\",\n \"--registry-username\", $RegistryName,\n \"--registry-password\", (az acr credential show --name $RegistryName --query \"passwords[0].value\" -o tsv),\n \"--dns-name-label\", $ContainerName,\n \"--ports\", \"8000\",\n \"--protocol\", \"TCP\",\n \"--os-type\", \"Linux\",\n \"--cpu\", \"1\",\n \"--memory\", \"1.5\"\n)\n\n# Ajouter les variables d'environnement\nforeach ($envVar in $envVars) {\n $deployCmd += \"--environment-variables\"\n $deployCmd += $envVar\n}\n\ntry {\n Write-Host \" 🔧 Déploiement en cours...\"\n & $deployCmd[0] $deployCmd[1..($deployCmd.Length-1)]\n \n if ($LASTEXITCODE -eq 0) {\n Write-Host \"✅ Container redéployé avec succès\" -ForegroundColor Green\n } else {\n Write-Host \"❌ Échec du redéploiement\" -ForegroundColor Red\n exit 1\n }\n} catch {\n Write-Host \"❌ Erreur lors du redéploiement: $_\" -ForegroundColor Red\n exit 1\n}\n\n# Attendre que le container soit prêt\nWrite-Host \"⏳ Attente du démarrage du container...\" -ForegroundColor Yellow\n$maxAttempts = 12\n$attempt = 0\n\ndo {\n Start-Sleep -Seconds 10\n $attempt++\n \n try {\n $state = az container show --resource-group $ResourceGroup --name $ContainerName --query \"instanceView.state\" -o tsv\n Write-Host \" Tentative $attempt/$maxAttempts - État: $state\"\n \n if ($state -eq \"Running\") {\n break\n }\n } catch {\n Write-Host \" Tentative $attempt/$maxAttempts - Vérification...\"\n }\n} while ($attempt -lt $maxAttempts)\n\nif ($attempt -ge $maxAttempts) {\n Write-Host \"⚠️ Timeout - vérifiez manuellement l'état du container\" -ForegroundColor Yellow\n} else {\n Write-Host \"✅ Container en cours d'exécution\" -ForegroundColor Green\n}\n\n# Afficher les informations de connexion\nWrite-Host \"`n📋 INFORMATIONS DE CONNEXION\" -ForegroundColor Cyan\nWrite-Host \"=\" * 40\n\ntry {\n $containerInfo = az container show --resource-group $ResourceGroup --name $ContainerName --query \"{fqdn: ipAddress.fqdn, ip: ipAddress.ip, state: instanceView.state}\" -o json | ConvertFrom-Json\n \n $url = \"https://$($containerInfo.fqdn):8000\"\n \n Write-Host \"🌐 URL du serveur: $url\" -ForegroundColor Green\n Write-Host \"🔗 Health check: $url/health\" -ForegroundColor Green\n Write-Host \"🛠️ API MCP: $url/mcp\" -ForegroundColor Green\n Write-Host \"📊 État: $($containerInfo.state)\" -ForegroundColor Green\n \n # Mettre à jour le fichier .env avec la nouvelle URL\n if (Test-Path \".env\") {\n $envContent = Get-Content \".env\"\n $newEnvContent = @()\n $urlUpdated = $false\n \n foreach ($line in $envContent) {\n if ($line -match \"^AZURE_SERVER_URL=\") {\n $newEnvContent += \"AZURE_SERVER_URL=$url\"\n $urlUpdated = $true\n } else {\n $newEnvContent += $line\n }\n }\n \n if (-not $urlUpdated) {\n $newEnvContent += \"AZURE_SERVER_URL=$url\"\n }\n \n $newEnvContent | Set-Content \".env\"\n Write-Host \"✅ Fichier .env mis à jour avec la nouvelle URL\" -ForegroundColor Green\n }\n \n} catch {\n Write-Host \"⚠️ Impossible de récupérer les informations du container\" -ForegroundColor Yellow\n}\n\n# Test de connectivité\nWrite-Host \"`n🧪 TEST DE CONNECTIVITÉ\" -ForegroundColor Cyan\nWrite-Host \"=\" * 30\n\ntry {\n $healthUrl = \"https://$($containerInfo.fqdn):8000/health\"\n Write-Host \"🔍 Test de $healthUrl...\"\n \n # Attendre un peu plus pour que le serveur soit prêt\n Start-Sleep -Seconds 5\n \n $response = Invoke-RestMethod -Uri $healthUrl -Method Get -TimeoutSec 10\n \n if ($response.status -eq \"healthy\") {\n Write-Host \"✅ Serveur HTTP accessible et fonctionnel!\" -ForegroundColor Green\n Write-Host \"🎉 Mise à jour réussie - vous pouvez maintenant tester avec:\" -ForegroundColor Green\n Write-Host \" python test/test_azure_deployment.py\" -ForegroundColor Yellow\n } else {\n Write-Host \"⚠️ Serveur accessible mais réponse inattendue\" -ForegroundColor Yellow\n }\n} catch {\n Write-Host \"⚠️ Test de connectivité échoué: $_\" -ForegroundColor Yellow\n Write-Host \"💡 Le serveur peut encore être en cours de démarrage\" -ForegroundColor Yellow\n Write-Host \" Réessayez dans quelques minutes avec:\" -ForegroundColor Yellow\n Write-Host \" python test/test_azure_deployment.py\" -ForegroundColor Yellow\n}\n\nWrite-Host \"`n🎉 MISE À JOUR TERMINÉE!\" -ForegroundColor Green\nWrite-Host \"Le serveur Azure utilise maintenant le mode HTTP et peut être testé.\" -ForegroundColor Green ", "text_preview": "#!/usr/bin/env pwsh <# .SYNOPSIS Met à jour le déploiement Azure pour utiliser le serveur HTTP .DESCRIPTION Ce script met à jour le container Azure existant pour utiliser le serveur HTTP au lieu du serveur stdio, permettant les tests via HT", "input_sha256": "ceb55c7b71d8af30a8d4c7baf318ba3673341013f46d7ea75e14765ac632b6de", "text_sha256": "2925a828eced1a03b4554b9d059407aca3a24feb80c7069453b4e930416b6c62", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 20072, "input_policy": "text-and-optional-url-v1", "label_policy_version": 12, "requested_model": "decision-models/baseten-mammoth-27b-latest", "backend": "baseten", "endpoint": "https://inference.baseten.co/v1/systemone", "status": "ok", "training_eligible": true, "label": {"primary": {"main_format": "Technical Writing", "sub_format": null}, "secondary": null, "tertiary": null, "content_structure": []}, "candidate_label": null, "topic": {"primary": {"main_topic": "Programming & Software Engineering", "sub_topic": null}, "secondary": null}, "scores": {"content_quality": 1, "noise_severity": 0, "missing_content_severity": 0, "factual_density": 3, "pretraining_utility": 1, "math_density": 0, "code_density": 4, "reasoning_density": 0, "education_level": 3, "creative_writing_quality": null}, "score_expectations": {"content_quality": 0.9928279463552843, "noise_severity": 0.0730558929728311, "missing_content_severity": 0.00456073535282739, "factual_density": 3.02467074611515, "pretraining_utility": 0.6894262355572577, "math_density": 0.03621832644028036, "code_density": 3.760546069973851, "reasoning_density": 0.7659595482063472, "education_level": 2.579197194586045, "creative_writing_quality": -0.2114364756090107}, "api_choices": {"primary": "Technical Writing", "secondary": "NONE", "tertiary": "NONE", "education_level": "3", "creative_writing_quality": "not_applicable", "primary_topic": "Programming & Software Engineering", "secondary_topic": "NONE"}, "review_reasons": [], "format_slot_diagnostics": {"comparable": true, "secondary_tertiary_identical": false, "secondary_tertiary_max_abs_gap": 0.07577625022649792, "secondary_choice": "NONE", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.9303772895805487, "secondary": 0.7658256793057165, "tertiary": 0.8448965491072796, "structured_records": 0.009799697182916362, "procedural_steps": 0.6598164891038072, "worked_solution": 0.007656137761650188, "contextual_dialogue": 6.042501464308766e-06, "content_quality": 0.5556835235584403, "noise_severity": 0.9391200891893074, "missing_content_severity": 0.9961993872059772, "factual_density": 0.4960979215041391, "pretraining_utility": 0.6080416988579673, "math_density": 0.9698180612997663, "code_density": 0.8004550583115423, "reasoning_density": 0.36170037649471065, "education_level": 0.37675258172788734, "creative_writing_quality": 0.9994188597931872, "primary_topic": 0.9918326669542297, "secondary_topic": 0.8774038259887571}, "probability_margin": {"primary": 0.8717596580955141, "secondary": 0.6612772612679956, "tertiary": 0.7731427239466621, "education_level": 0.02182053612143592, "creative_writing_quality": 0.9992753301910037, "primary_topic": 0.9854628527221814, "secondary_topic": 0.8022260782015264}, "raw_probabilities": {"primary": {"Academic Writing": 0.00016018858283482298, "Content Listing": 0.00014955715538664548, "Creative Writing": 0.00012834881929911298, "Customer Support Page": 0.00015784682884106098, "Q&A Forum": 9.234912538482113e-05, "Discussion Thread": 6.872153442161866e-05, "Comment Section": 0.00011552368806609231, "Missing Content": 9.991908432890453e-05, "Knowledge Article": 0.00033256958757115255, "Legal Notices": 9.787202166477006e-05, "News Article": 6.367997997239406e-05, "Organizational Announcement": 9.958674172397279e-05, "Nonfiction Writing": 9.31631210973695e-05, "Organizational About Page": 0.00010809868445666735, "Personal About Page": 7.607146798060218e-05, "Personal Blog": 6.031621139084547e-05, "Product Page": 6.294285769848149e-05, "Spam / Ads": 9.030773030146473e-05, "Structured Data": 0.00031156627574995693, "Technical Writing": 0.9332782358480258, "Transcript / Interview": 0.00012204473901111921, "Tutorial / How-To Guide": 0.061518577752511676, "User Reviews": 5.5020012807640445e-05, "Other / Unknown": 0.0026574921494729375}, "secondary": {"Academic Writing": 0.0006743314663121061, "Content Listing": 0.00034560094652527564, "Creative Writing": 0.00043623355033047976, "Customer Support Page": 0.0005752432004319734, "Q&A Forum": 0.0002913224368205857, "Discussion Thread": 0.0001858818620089004, "Comment Section": 0.0005015358277104068, "Missing Content": 0.0004555354891220681, "Knowledge Article": 0.0013640466121002397, "Legal Notices": 0.0003634690295773087, "News Article": 0.0002979402765272711, "Organizational Announcement": 0.0003210087804799751, "Nonfiction Writing": 0.0003135705267732539, "Organizational About Page": 0.0003287319323366086, "Personal About Page": 0.00026862078297964657, "Personal Blog": 0.00027799254808454587, "Product Page": 0.0002124107234670345, "Spam / Ads": 0.0002889926407234012, "Structured Data": 0.0012906050640762751, "Technical Writing": 0.10076691400873049, "Transcript / Interview": 0.0003697432079110969, "Tutorial / How-To Guide": 0.11430568139998273, "User Reviews": 0.00018164501901002476, "NONE": 0.7755829426679783}, "tertiary": {"Academic Writing": 0.0003061642725239625, "Content Listing": 0.0001701144587310257, "Creative Writing": 0.0002528999659708703, "Customer Support Page": 0.000495887044528774, "Q&A Forum": 0.00012791095024981144, "Discussion Thread": 0.00010163851179625958, "Comment Section": 0.0005597160044705924, "Missing Content": 0.000341136038736315, "Knowledge Article": 0.0017834602334921696, "Legal Notices": 0.00034989457995404806, "News Article": 0.00015445877486820457, "Organizational Announcement": 0.00017851422496945705, "Nonfiction Writing": 0.00018916979773762093, "Organizational About Page": 0.00020622106478159047, "Personal About Page": 0.0001531464582960193, "Personal Blog": 0.0001402604738215094, "Product Page": 0.00012438850630316692, "Spam / Ads": 0.00017169198917185182, "Structured Data": 0.0014967260702678836, "Technical Writing": 0.06282550702138877, "Transcript / Interview": 0.00020173089017106979, "Tutorial / How-To Guide": 0.07821646894781417, "User Reviews": 9.370082547859574e-05, "NONE": 0.8513591928944763}, "structured_records": {"false": 0.9902003028170836, "true": 0.009799697182916362}, "procedural_steps": {"false": 0.3401835108961928, "true": 0.6598164891038072}, "worked_solution": {"false": 0.9923438622383498, "true": 0.007656137761650188}, "contextual_dialogue": {"false": 0.9999939574985357, "true": 6.042501464308766e-06}, "content_quality": {"-2": 0.007236901091849612, "-1": 0.02910977643890854, "0": 0.19024565653392778, "1": 0.5104038068927362, "2": 0.2630038590425779}, "noise_severity": {"0": 0.9360286500831555, "1": 0.0572924053463309, "2": 0.0049768077469330525, "3": 0.0009986751616886957, "4": 0.0007034616618920083}, "missing_content_severity": {"0": 0.9972384651787819, "1": 0.0014236126767302488, "2": 0.00097144140261837, "3": 0.0002716830966183514, "4": 9.479764525133715e-05}, "factual_density": {"0": 0.005368677750626378, "1": 0.026177625450938543, "2": 0.2215445898861853, "3": 0.43223248675715825, "4": 0.31467662015509157}, "pretraining_utility": {"-2": 0.005947429992355987, "-1": 0.04012888668497813, "0": 0.2923617995595665, "1": 0.5816737852992511, "2": 0.07988809846384845}, "math_density": {"0": 0.9680164624714378, "1": 0.02961138699227377, "2": 0.0012331948770435846, "3": 0.000415272943060206, "4": 0.0007236827161847022}, "code_density": {"0": 0.00043941167023064704, "1": 0.0008026762546664179, "2": 0.019176073751588044, "3": 0.19693610707805131, "4": 0.7826457312454634}, "reasoning_density": {"0": 0.5563797003852311, "1": 0.21142013017564895, "2": 0.16491707786671966, "3": 0.04442710399234207, "4": 0.02285598758005817}, "education_level": {"none": 0.0008499590853375319, "0": 0.0015358594031975043, "1": 0.005070453823794685, "2": 0.4588066153184702, "3": 0.48062715143990614, "4": 0.05310996092929391}, "creative_writing_quality": {"not_applicable": 0.9995157164943227, "-2": 5.014241591793183e-05, "-1": 0.00010775477909971874, "0": 0.0002403863033190124, "1": 6.635560138179309e-05, "2": 1.9644405958896758e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 3.74863301623183e-05, "Art & Design": 3.2130717373041754e-05, "Law & Crime": 3.1171516037419105e-05, "Education & Careers": 2.990097688224825e-05, "Entertainment & Media": 2.1290440380296802e-05, "Fashion & Beauty": 1.3452065253888075e-05, "Business, Economics & Finance": 5.0437814836949743e-05, "Food & Dining": 1.9208884708933158e-05, "Games & Gaming": 4.1624614408769236e-05, "Electronics & Hardware": 0.00014541870845900473, "Health, Healthcare & Wellness": 2.2845109763336755e-05, "History & Geography": 2.8076941341143395e-05, "Home, Pets & Hobbies": 2.4189979210597585e-05, "Industry & Production": 3.6323850623943533e-05, "Language, Literature & Philosophy": 3.0382886366432726e-05, "Politics & Government": 1.9189943027990703e-05, "Religion & Spirituality": 2.3650608310675776e-05, "Science, Mathematics & Engineering": 0.00027452041429974923, "Relationships & Community": 1.57470933643856e-05, "Software Usage & Applications": 0.00668394242611641, "Programming & Software Engineering": 0.9921467951482977, "Sports & Fitness": 3.2567538852248936e-05, "Vehicles & Transportation": 1.8248917627598163e-05, "Travel & Tourism": 4.2797669994859e-05, "Other / Uncovered Subject": 0.00014038203332686613, "Unknown / Insufficient Content": 3.8217370973255346e-05}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0007848108332387684, "Art & Design": 0.00040288542914226064, "Law & Crime": 0.0005944198484120544, "Education & Careers": 0.0004311228756556225, "Entertainment & Media": 0.0003950170036619687, "Fashion & Beauty": 0.00022534140609109757, "Business, Economics & Finance": 0.0009134956650740433, "Food & Dining": 0.00023803372245367952, "Games & Gaming": 0.00034653244581929726, "Electronics & Hardware": 0.0010835063946563002, "Health, Healthcare & Wellness": 0.00041143544685548364, "History & Geography": 0.00029411144956738614, "Home, Pets & Hobbies": 0.00024076989008980473, "Industry & Production": 0.00032504462968088797, "Language, Literature & Philosophy": 0.0002776038782453607, "Politics & Government": 0.0003112362262502458, "Religion & Spirituality": 0.0003059366180252603, "Science, Mathematics & Engineering": 0.0020156445955884015, "Relationships & Community": 0.000122391450517168, "Software Usage & Applications": 0.07989298524920159, "Programming & Software Engineering": 0.026485094562003948, "Sports & Fitness": 0.00023035128763997624, "Vehicles & Transportation": 0.00013338020606824783, "Travel & Tourism": 0.00047045266665678766, "Other / Uncovered Subject": 0.0009493327686763869, "NONE": 0.882119063450728}}, "probabilities": {"primary": {"Academic Writing": 0.00016018858283482298, "Content Listing": 0.00014955715538664548, "Creative Writing": 0.00012834881929911298, "Customer Support Page": 0.00015784682884106098, "Q&A Forum": 9.234912538482113e-05, "Discussion Thread": 6.872153442161866e-05, "Comment Section": 0.00011552368806609231, "Missing Content": 9.991908432890453e-05, "Knowledge Article": 0.00033256958757115255, "Legal Notices": 9.787202166477006e-05, "News Article": 6.367997997239406e-05, "Organizational Announcement": 9.958674172397279e-05, "Nonfiction Writing": 9.31631210973695e-05, "Organizational About Page": 0.00010809868445666735, "Personal About Page": 7.607146798060218e-05, "Personal Blog": 6.031621139084547e-05, "Product Page": 6.294285769848149e-05, "Spam / Ads": 9.030773030146473e-05, "Structured Data": 0.00031156627574995693, "Technical Writing": 0.9332782358480258, "Transcript / Interview": 0.00012204473901111921, "Tutorial / How-To Guide": 0.061518577752511676, "User Reviews": 5.5020012807640445e-05, "Other / Unknown": 0.0026574921494729375}, "secondary": {"Academic Writing": 0.0006743314663121061, "Content Listing": 0.00034560094652527564, "Creative Writing": 0.00043623355033047976, "Customer Support Page": 0.0005752432004319734, "Q&A Forum": 0.0002913224368205857, "Discussion Thread": 0.0001858818620089004, "Comment Section": 0.0005015358277104068, "Missing Content": 0.0004555354891220681, "Knowledge Article": 0.0013640466121002397, "Legal Notices": 0.0003634690295773087, "News Article": 0.0002979402765272711, "Organizational Announcement": 0.0003210087804799751, "Nonfiction Writing": 0.0003135705267732539, "Organizational About Page": 0.0003287319323366086, "Personal About Page": 0.00026862078297964657, "Personal Blog": 0.00027799254808454587, "Product Page": 0.0002124107234670345, "Spam / Ads": 0.0002889926407234012, "Structured Data": 0.0012906050640762751, "Technical Writing": 0.10076691400873049, "Transcript / Interview": 0.0003697432079110969, "Tutorial / How-To Guide": 0.11430568139998273, "User Reviews": 0.00018164501901002476, "NONE": 0.7755829426679783}, "tertiary": {"Academic Writing": 0.0003061642725239625, "Content Listing": 0.0001701144587310257, "Creative Writing": 0.0002528999659708703, "Customer Support Page": 0.000495887044528774, "Q&A Forum": 0.00012791095024981144, "Discussion Thread": 0.00010163851179625958, "Comment Section": 0.0005597160044705924, "Missing Content": 0.000341136038736315, "Knowledge Article": 0.0017834602334921696, "Legal Notices": 0.00034989457995404806, "News Article": 0.00015445877486820457, "Organizational Announcement": 0.00017851422496945705, "Nonfiction Writing": 0.00018916979773762093, "Organizational About Page": 0.00020622106478159047, "Personal About Page": 0.0001531464582960193, "Personal Blog": 0.0001402604738215094, "Product Page": 0.00012438850630316692, "Spam / Ads": 0.00017169198917185182, "Structured Data": 0.0014967260702678836, "Technical Writing": 0.06282550702138877, "Transcript / Interview": 0.00020173089017106979, "Tutorial / How-To Guide": 0.07821646894781417, "User Reviews": 9.370082547859574e-05, "NONE": 0.8513591928944763}, "structured_records": {"false": 0.9902003028170836, "true": 0.009799697182916362}, "procedural_steps": {"false": 0.3401835108961928, "true": 0.6598164891038072}, "worked_solution": {"false": 0.9923438622383498, "true": 0.007656137761650188}, "contextual_dialogue": {"false": 0.9999939574985357, "true": 6.042501464308766e-06}, "content_quality": {"-2": 0.007236901091849612, "-1": 0.02910977643890854, "0": 0.19024565653392778, "1": 0.5104038068927362, "2": 0.2630038590425779}, "noise_severity": {"0": 0.9360286500831553, "1": 0.057292405346330885, "2": 0.004976807746933052, "3": 0.0009986751616886955, "4": 0.0007034616618920082}, "missing_content_severity": {"0": 0.9972384651787817, "1": 0.0014236126767302485, "2": 0.0009714414026183698, "3": 0.00027168309661835133, "4": 9.479764525133712e-05}, "factual_density": {"0": 0.005368677750626378, "1": 0.026177625450938543, "2": 0.2215445898861853, "3": 0.43223248675715825, "4": 0.31467662015509157}, "pretraining_utility": {"-2": 0.005947429992355985, "-1": 0.040128886684978125, "0": 0.2923617995595664, "1": 0.581673785299251, "2": 0.07988809846384844}, "math_density": {"0": 0.9680164624714378, "1": 0.02961138699227377, "2": 0.0012331948770435846, "3": 0.000415272943060206, "4": 0.0007236827161847022}, "code_density": {"0": 0.0004394116702306471, "1": 0.000802676254666418, "2": 0.019176073751588047, "3": 0.19693610707805134, "4": 0.7826457312454635}, "reasoning_density": {"0": 0.5563797003852311, "1": 0.21142013017564895, "2": 0.16491707786671966, "3": 0.04442710399234207, "4": 0.02285598758005817}, "education_level": {"none": 0.0008499590853375319, "0": 0.0015358594031975043, "1": 0.005070453823794685, "2": 0.4588066153184702, "3": 0.48062715143990614, "4": 0.05310996092929391}, "creative_writing_quality": {"not_applicable": 0.9995157164943227, "-2": 5.014241591793183e-05, "-1": 0.00010775477909971874, "0": 0.0002403863033190124, "1": 6.635560138179309e-05, "2": 1.9644405958896758e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 3.74863301623183e-05, "Art & Design": 3.2130717373041754e-05, "Law & Crime": 3.1171516037419105e-05, "Education & Careers": 2.990097688224825e-05, "Entertainment & Media": 2.1290440380296802e-05, "Fashion & Beauty": 1.3452065253888075e-05, "Business, Economics & Finance": 5.0437814836949743e-05, "Food & Dining": 1.9208884708933158e-05, "Games & Gaming": 4.1624614408769236e-05, "Electronics & Hardware": 0.00014541870845900473, "Health, Healthcare & Wellness": 2.2845109763336755e-05, "History & Geography": 2.8076941341143395e-05, "Home, Pets & Hobbies": 2.4189979210597585e-05, "Industry & Production": 3.6323850623943533e-05, "Language, Literature & Philosophy": 3.0382886366432726e-05, "Politics & Government": 1.9189943027990703e-05, "Religion & Spirituality": 2.3650608310675776e-05, "Science, Mathematics & Engineering": 0.00027452041429974923, "Relationships & Community": 1.57470933643856e-05, "Software Usage & Applications": 0.00668394242611641, "Programming & Software Engineering": 0.9921467951482977, "Sports & Fitness": 3.2567538852248936e-05, "Vehicles & Transportation": 1.8248917627598163e-05, "Travel & Tourism": 4.2797669994859e-05, "Other / Uncovered Subject": 0.00014038203332686613, "Unknown / Insufficient Content": 3.8217370973255346e-05}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0007848108332387684, "Art & Design": 0.00040288542914226064, "Law & Crime": 0.0005944198484120544, "Education & Careers": 0.0004311228756556225, "Entertainment & Media": 0.0003950170036619687, "Fashion & Beauty": 0.00022534140609109757, "Business, Economics & Finance": 0.0009134956650740433, "Food & Dining": 0.00023803372245367952, "Games & Gaming": 0.00034653244581929726, "Electronics & Hardware": 0.0010835063946563002, "Health, Healthcare & Wellness": 0.00041143544685548364, "History & Geography": 0.00029411144956738614, "Home, Pets & Hobbies": 0.00024076989008980473, "Industry & Production": 0.00032504462968088797, "Language, Literature & Philosophy": 0.0002776038782453607, "Politics & Government": 0.0003112362262502458, "Religion & Spirituality": 0.0003059366180252603, "Science, Mathematics & Engineering": 0.0020156445955884015, "Relationships & Community": 0.000122391450517168, "Software Usage & Applications": 0.07989298524920159, "Programming & Software Engineering": 0.026485094562003948, "Sports & Fitness": 0.00023035128763997624, "Vehicles & Transportation": 0.00013338020606824783, "Travel & Tourism": 0.00047045266665678766, "Other / Uncovered Subject": 0.0009493327686763869, "NONE": 0.882119063450728}}, "probability_diagnostics": {"primary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "tertiary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "structured_records": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "procedural_steps": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "worked_solution": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "contextual_dialogue": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "content_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "noise_severity": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "missing_content_severity": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "factual_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "pretraining_utility": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "math_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "code_density": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "reasoning_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "education_level": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "creative_writing_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "primary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}}, "usage": {"input_tokens": 10975, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 10975, "cached_share": null, "cache_discount_reported": null, "reported_cost_usd": null}, "response_metadata": {"model": "decision-models/baseten-mammoth-27b-latest"}, "scored_at_utc": "2026-10-25T18:34:09.303729+00:00", "scoring_key_slot": "primary", "dataset_uid": "4d523de9-f4e5-49b7-ae6e-3ae1fdc059d8", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "c30082e213ce0480e414c2e2e048354fcc90b8d03e2a7cd895c266f0281a93bd", "source_metadata": {"uuid": "4d523de9-f4e5-49b7-ae6e-3ae1fdc059d8", "repo_name": "PlumyCat/my-first-MCP-server", "relative_path": "deploiement/azure-update-http.ps1", "category": "TOOL", "algo_rel_score": 0.9603869318962097, "quality_score": 4.51859188079834, "source_meta": {"github_metadata": {"branch": "main", "commit_count": 5, "repo_created_at": "2025-06-16T18:40:53.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 0, "forks": 0, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "d77fbe6b0915d48f6ee53446ba54bf88d1c144c1", "size_bytes": 9006, "file_timestamp": 1750166694, "language": "powershell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "301f031e7e9af4cf6fd5a191ae6d62fb43bcbbbe"}}, "parsed_source_meta": {"github_metadata": {"branch": "main", "commit_count": 5, "repo_created_at": "2025-06-16T18:40:53.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 0, "forks": 0, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "d77fbe6b0915d48f6ee53446ba54bf88d1c144c1", "size_bytes": 9006, "file_timestamp": 1750166694, "language": "powershell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "301f031e7e9af4cf6fd5a191ae6d62fb43bcbbbe", "url": "https://github.com/PlumyCat/my-first-MCP-server/blob/301f031e7e9af4cf6fd5a191ae6d62fb43bcbbbe/deploiement/azure-update-http.ps1"}, "gpt4o_tokens": 2371, "dataset_split": "shell", "probability_weighted_scores": {"content_quality": 0.9928279463552843, "noise_severity": 0.07305589297283112, "missing_content_severity": 0.00456073535282739, "factual_density": 3.02467074611515, "pretraining_utility": 0.6894262355572578, "math_density": 0.03621832644028036, "code_density": 3.760546069973851, "reasoning_density": 0.7659595482063472, "education_level": 2.579197194586045, "creative_writing_quality": -0.2114364756090107}, "score_applicability": {"education_level": 0.9991500409146624, "creative_writing_quality": 0.0004842835056773528}} {"source_group": "shell", "source": "openbmb/UltraData-Stack-v3-L2/shell", "domain": "github.com", "language": "shell", "url": "https://github.com/paypal/SeLion/blob/694d12d0df76db48d0360b16192770c6a4fbdfd2/utilities/travis-push-javadoc-to-gh-pages.sh", "id": "shell-0-c7dc98d63d39c7aaa5247f2a61cf2bba", "text": "#!/bin/bash\nset -ev\n\n#########################################################################################\n# This script generates javadocs for develop branch, moves them into gh-pages branch,\n# and pushes the changes to the paypal/SeLion repository on github.\n#\n# Generally timestamp is changed in the javadoc files each time we generate\n# the files from mvn javadoc:jar\n#\n# Commit is not performed if the changes are only related to timestamp.\n#########################################################################################\n\nISDEVELOP=false\n\n################################\n# uverfiy that the\n# $TRAVIS_BRANCH is a develop\n# branch\n################################\ncheck_branch() {\n for developBranch in develop\n do\n if [ \"$TRAVIS_BRANCH\" = \"$developBranch\" ]; then\n ISDEVELOP=true\n fi\n done\n}\n\n################################\n# update the global git config\n# user.name and user.email\n################################\nupdate_git_config() {\n # update user email and name in git config for travis\n git config --global user.email \"\"\n git config --global user.name \"travis-ci\"\n}\n\n###############################\n# checkout the develop branch\n###############################\nswitch_to_develop() {\n git checkout $TRAVIS_BRANCH\n # verify that we are on a develop branch, otherwise exit with error code\n output=$(git rev-parse --abbrev-ref HEAD)\n if [ \"$output\" = \"$TRAVIS_BRANCH\" ]; then\n echo \"On a develop branch\"\n else\n echo \"Failed to switch to a develop branch\"\n exit 1\n fi\n}\n\n##############################\n# checkout gh-pages branch\n##############################\nswitch_to_ghpages() {\n # add a writable remote that\n git remote add -t gh-pages writable https://${GH_TOKEN}@github.com/paypal/SeLion\n # get all the tracking branches\n git fetch -pq --all\n # checkout the gh-pages branch\n git checkout -q -b gh-pages -t writable/gh-pages\n # verify that we are on gh-pages branch, otherwise exit with error code\n output=$(git rev-parse --abbrev-ref HEAD)\n if [ \"$output\" = \"gh-pages\" ]; then\n echo \"On gh-pages branch\"\n else\n echo \"Failed to switch to gh-pages branch\"\n exit 1\n fi\n}\n\n##############################\n# replaces the current html\n# apidocs on the 'gh-pages'\n# branch with content from\n# the maven build\n##############################\nupdate_pages_from_output() {\n # empty the folders html/java-docs/develop/{artifact}\n rm -rf html/java-docs/$TRAVIS_BRANCH/server-apis/*\n rm -rf html/java-docs/$TRAVIS_BRANCH/client-apis/*\n rm -rf html/java-docs/$TRAVIS_BRANCH/codegen-apis/*\n rm -rf html/java-docs/$TRAVIS_BRANCH/dataproviders-apis/*\n rm -rf html/java-docs/$TRAVIS_BRANCH/common-apis/*\n\n # copy the javadoc files to respective folders from develop branch into gh-pages branch\n cp -R client/target/apidocs/* html/java-docs/$TRAVIS_BRANCH/client-apis/\n cp -R codegen/target/apidocs/* html/java-docs/$TRAVIS_BRANCH/codegen-apis/\n cp -R server/target/apidocs/* html/java-docs/$TRAVIS_BRANCH/server-apis/\n cp -R dataproviders/target/apidocs/* html/java-docs/$TRAVIS_BRANCH/dataproviders-apis/\n cp -R common/target/apidocs/* html/java-docs/$TRAVIS_BRANCH/common-apis/\n}\n\n##############################\n# computes a diff of the\n# pending 'gh-pages' branch\n# and writes it to a\n# changesDiff.txt file\n##############################\ncreate_changes_diff() {\n # create a temporary gh-pages-target dir\n rm -rf gh-pages-target ; mkdir gh-pages-target\n # get only the lines that are changed in the files (either added or deleted lines and/or files) and store them in target/changesDiff.txt\n git diff HEAD --color=always|perl -wlne 'print $1 if /^\\e\\[32m\\+\\e\\[m\\e\\[32m(.*)\\e\\[m$/' > gh-pages-target/changesDiff.txt\n}\n\n\n# Generate the javadocs only if the following conditions are satisfied\n# 1. The build is for the project paypal/SeLion, not on a fork\n# 2. The project is built on oraclejdk8\n# 3. The build is not on a pull request\n# 4. The build is on a develop branch\ncheck_branch\nif [ \"$TRAVIS_REPO_SLUG\" = \"paypal/SeLion\" ] && [ \"$TRAVIS_JDK_VERSION\" = \"oraclejdk8\" ] && [ \"$TRAVIS_PULL_REQUEST\" = \"false\" ] && [ \"$ISDEVELOP\" = true ]; then\n echo \"Publishing javadocs...\\n\"\n\n # start on the develop branch\n switch_to_develop\n\n # generate javadocs for files from the develop branch\n mvn javadoc:jar -DskipTests=true -B -V\n\n # switch into the gh-pages branch, writable remote\n switch_to_ghpages\n\n # update the apidocs on gh-pages from the mvn output\n update_pages_from_output\n\n # create a diff of the new apidocs against the previous gh-pages HEAD\n create_changes_diff\n\n # if the changes in the javadoc files are not meta data, commit the changes in gh-pages branch and push the changes to remote\n # otherwise stash the changes\n if egrep -civ '^( \"$TEMP_FILE\" < 90%\n- [ ] NSFW detection working\n- [ ] GPU optimization complete\" \\\n'\"ai\", \"computer-vision\", \"media\"'\n\ncreate_issue \"Build transformer-based recommendation engine\" \\\n\"**Epic:** AI/ML Models\n\n**Description:**\n- Implement two-tower neural network\n- Build user/content embeddings\n- Create real-time inference pipeline\n- Set up A/B testing framework\n\n**Acceptance Criteria:**\n- [ ] CTR improvement > 25%\n- [ ] Inference < 50ms\n- [ ] Embeddings updated hourly\n- [ ] A/B tests automated\" \\\n'\"ai\", \"recommendations\", \"ml\"'\n\ncreate_issue \"Implement privacy-preserving federated learning\" \\\n\"**Epic:** AI/ML Models\n\n**Description:**\n- Set up federated learning framework\n- Implement differential privacy\n- Build secure aggregation\n- Create model update protocol\n\n**Acceptance Criteria:**\n- [ ] On-device training working\n- [ ] Privacy guarantees met\n- [ ] Model convergence achieved\n- [ ] Bandwidth optimized\" \\\n'\"ai\", \"privacy\", \"federated-learning\"'\n\n# Epic 5: Testing Framework\necho -e \"${BLUE}Epic 5: Testing Framework${NC}\"\n\ncreate_issue \"Comprehensive unit tests for all components\" \\\n\"**Epic:** Testing Framework\n\n**Description:**\n- Agent behavior tests\n- Smart contract tests\n- API endpoint tests\n- ML model tests\n\n**Acceptance Criteria:**\n- [ ] 90% code coverage\n- [ ] All edge cases covered\n- [ ] Tests run in < 5 minutes\n- [ ] Mocking framework ready\" \\\n'\"testing\", \"quality\", \"required\"'\n\ncreate_issue \"End-to-end integration test suite\" \\\n\"**Epic:** Testing Framework\n\n**Description:**\n- Multi-agent interaction tests\n- Blockchain integration tests\n- Full user journey tests\n- Performance benchmarks\n\n**Acceptance Criteria:**\n- [ ] All workflows tested\n- [ ] Load tests passing\n- [ ] Latency requirements met\n- [ ] Failure scenarios covered\" \\\n'\"testing\", \"integration\", \"e2e\"'\n\ncreate_issue \"Specialized testing for AI/ML components\" \\\n\"**Epic:** Testing Framework\n\n**Description:**\n- Model drift detection\n- Bias and fairness testing\n- Adversarial testing\n- Performance regression tests\n\n**Acceptance Criteria:**\n- [ ] Drift detection automated\n- [ ] Bias metrics tracked\n- [ ] Robustness verified\n- [ ] Performance baselines set\" \\\n'\"testing\", \"ai\", \"ml\"'\n\n# Epic 6: Security & Compliance\necho -e \"${BLUE}Epic 6: Security & Compliance${NC}\"\n\ncreate_issue \"Implement comprehensive security measures\" \\\n\"**Epic:** Security & Compliance\n\n**Description:**\n- Smart contract auditing\n- API security (rate limiting, auth)\n- Encryption at rest/transit\n- Security monitoring\n\n**Acceptance Criteria:**\n- [ ] Audit reports clean\n- [ ] OWASP top 10 addressed\n- [ ] Encryption implemented\n- [ ] Monitoring alerts working\" \\\n'\"security\", \"high-priority\", \"compliance\"'\n\ncreate_issue \"Implement AI safety and alignment features\" \\\n\"**Epic:** Security & Compliance\n\n**Description:**\n- Constitutional AI implementation\n- Jailbreak prevention\n- Content watermarking\n- Bias mitigation\n\n**Acceptance Criteria:**\n- [ ] Safety checks integrated\n- [ ] Jailbreak attempts blocked\n- [ ] AI content marked\n- [ ] Bias metrics acceptable\" \\\n'\"ai-safety\", \"ethics\", \"required\"'\n\ncreate_issue \"GDPR and privacy regulation compliance\" \\\n\"**Epic:** Security & Compliance\n\n**Description:**\n- Data deletion mechanisms\n- Consent management\n- Privacy policy automation\n- Audit trail system\n\n**Acceptance Criteria:**\n- [ ] GDPR compliant\n- [ ] Right to deletion working\n- [ ] Consent tracked\n- [ ] Audit logs complete\" \\\n'\"privacy\", \"compliance\", \"legal\"'\n\n# Epic 7: Performance Optimization\necho -e \"${BLUE}Epic 7: Performance Optimization${NC}\"\n\ncreate_issue \"Optimize AI models for production\" \\\n\"**Epic:** Performance Optimization\n\n**Description:**\n- Model quantization (INT8/INT4)\n- Knowledge distillation\n- Pruning implementation\n- Edge deployment prep\n\n**Acceptance Criteria:**\n- [ ] Model size reduced 75%\n- [ ] Inference speed 3x faster\n- [ ] Accuracy drop < 2%\n- [ ] Edge deployment ready\" \\\n'\"performance\", \"ai\", \"optimization\"'\n\ncreate_issue \"Implement auto-scaling and optimization\" \\\n\"**Epic:** Performance Optimization\n\n**Description:**\n- Kubernetes HPA setup\n- Database sharding\n- Cache optimization\n- CDN configuration\n\n**Acceptance Criteria:**\n- [ ] Auto-scaling working\n- [ ] Database queries < 50ms\n- [ ] Cache hit rate > 90%\n- [ ] Global latency < 100ms\" \\\n'\"infrastructure\", \"scaling\", \"performance\"'\n\n# Epic 8: Frontend Development\necho -e \"${BLUE}Epic 8: Frontend Development${NC}\"\n\ncreate_issue \"Build modern React frontend with Web3\" \\\n\"**Epic:** Frontend Development\n\n**Description:**\n- React 18 with TypeScript\n- Web3 wallet integration\n- Real-time updates\n- Responsive design\n\n**Acceptance Criteria:**\n- [ ] Wallet connection working\n- [ ] Real-time feed updates\n- [ ] Mobile responsive\n- [ ] Accessibility compliant\" \\\n'\"frontend\", \"ui\", \"web3\"'\n\ncreate_issue \"React Native mobile application\" \\\n\"**Epic:** Frontend Development\n\n**Description:**\n- iOS and Android apps\n- Push notifications\n- Offline support\n- Native performance\n\n**Acceptance Criteria:**\n- [ ] Apps published to stores\n- [ ] Performance smooth\n- [ ] Offline mode working\n- [ ] Push notifications live\" \\\n'\"mobile\", \"react-native\", \"apps\"'\n\n# Epic 9: Monitoring & Analytics\necho -e \"${BLUE}Epic 9: Monitoring & Analytics${NC}\"\n\ncreate_issue \"Set up monitoring and observability\" \\\n\"**Epic:** Monitoring & Analytics\n\n**Description:**\n- Prometheus + Grafana setup\n- Custom AI metrics\n- Business analytics\n- Alert system\n\n**Acceptance Criteria:**\n- [ ] All services monitored\n- [ ] AI metrics tracked\n- [ ] Dashboards created\n- [ ] Alerts configured\" \\\n'\"monitoring\", \"devops\", \"observability\"'\n\ncreate_issue \"MLOps pipeline with experiment tracking\" \\\n\"**Epic:** Monitoring & Analytics\n\n**Description:**\n- Weights & Biases integration\n- MLflow setup\n- Model versioning\n- A/B test tracking\n\n**Acceptance Criteria:**\n- [ ] Experiments tracked\n- [ ] Models versioned\n- [ ] Rollback capability\n- [ ] Performance compared\" \\\n'\"mlops\", \"ai\", \"tracking\"'\n\necho \"\"\necho -e \"${BLUE}Summary:${NC}\"\necho -e \"${GREEN}Successfully created: $CREATED issues${NC}\"\necho -e \"${RED}Failed to create: $FAILED issues${NC}\"\necho \"\"\necho \"Visit https://github.com/$REPO_OWNER/$REPO_NAME/issues to view all issues.\" ", "text_preview": "#!/bin/bash # Starling.ai Complete GitHub Issues Creation Script # This script creates ALL 26 GitHub issues defined in GITHUB_ISSUES.md # Set your GitHub personal access token GITHUB_TOKEN=\"${GITHUB_TOKEN:-$1}\" REPO_OWNER=\"isaacbuz\" REPO_NA", "input_sha256": "eccf4d5f011aed9420761b30f3db92c3a21d3fcc5969ef932e48a2237e1d2124", "text_sha256": "f6696c0a077f4f27afeea01ee9158089f837e02e123e4510004ed0e94dc41c84", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 20079, "input_policy": "text-and-optional-url-v1", "label_policy_version": 12, "requested_model": "decision-models/baseten-mammoth-27b-latest", "backend": "baseten", "endpoint": "https://inference.baseten.co/v1/systemone", "status": "ok", "training_eligible": true, "label": {"primary": {"main_format": "Technical Writing", "sub_format": null}, "secondary": null, "tertiary": null, "content_structure": ["structured_records"]}, "candidate_label": null, "topic": {"primary": {"main_topic": "Programming & Software Engineering", "sub_topic": null}, "secondary": null}, "scores": {"content_quality": 1, "noise_severity": 0, "missing_content_severity": 0, "factual_density": 4, "pretraining_utility": 1, "math_density": 0, "code_density": 4, "reasoning_density": 0, "education_level": 3, "creative_writing_quality": null}, "score_expectations": {"content_quality": 0.6529506653665204, "noise_severity": 0.3613194697295883, "missing_content_severity": 0.019295901541124358, "factual_density": 3.307306725107476, "pretraining_utility": 0.4956634061452668, "math_density": 0.02088996408364345, "code_density": 3.3074989362025664, "reasoning_density": 0.23606132628957355, "education_level": 2.7800845197143347, "creative_writing_quality": 0.18043996049248634}, "api_choices": {"primary": "Technical Writing", "secondary": "NONE", "tertiary": "NONE", "education_level": "3", "creative_writing_quality": "not_applicable", "primary_topic": "Programming & Software Engineering", "secondary_topic": "NONE"}, "review_reasons": [], "format_slot_diagnostics": {"comparable": true, "secondary_tertiary_identical": false, "secondary_tertiary_max_abs_gap": 0.09286864107134829, "secondary_choice": "NONE", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.9481687246055726, "secondary": 0.523405236801294, "tertiary": 0.6203116448757444, "structured_records": 0.8328801150792814, "procedural_steps": 0.35798868739610107, "worked_solution": 0.00903872027463227, "contextual_dialogue": 6.8962802861945645e-06, "content_quality": 0.41955834885370835, "noise_severity": 0.6989004418920097, "missing_content_severity": 0.983920082049063, "factual_density": 0.42275560425623004, "pretraining_utility": 0.4372842768573483, "math_density": 0.9825916965969638, "code_density": 0.42291578016880493, "reasoning_density": 0.8032822280920221, "education_level": 0.40785875064694055, "creative_writing_quality": 0.9851134848769998, "primary_topic": 0.9845791911949948, "secondary_topic": 0.6823960593713162}, "probability_margin": {"primary": 0.9154121009928354, "secondary": 0.3632591960440558, "tertiary": 0.5299863674762886, "education_level": 0.1597212232988397, "creative_writing_quality": 0.9807353923899105, "primary_topic": 0.9786577144823948, "secondary_topic": 0.5995103673473658}, "raw_probabilities": {"primary": {"Academic Writing": 0.0001815994518443267, "Content Listing": 0.002212201309034724, "Creative Writing": 0.0001580741676899374, "Customer Support Page": 0.00010566984552557438, "Q&A Forum": 0.00011035586931694425, "Discussion Thread": 8.533811432165727e-05, "Comment Section": 0.00012450190704757518, "Missing Content": 0.0001106442972002496, "Knowledge Article": 0.00026694205295847045, "Legal Notices": 0.00011763846148314281, "News Article": 6.660777470842842e-05, "Organizational Announcement": 0.0002340009948711439, "Nonfiction Writing": 0.00010038553159517053, "Organizational About Page": 0.0001327377060097255, "Personal About Page": 9.281036724645752e-05, "Personal Blog": 8.259906553029984e-05, "Product Page": 9.871799763987175e-05, "Spam / Ads": 0.00029926928196471493, "Structured Data": 0.005011284592729231, "Technical Writing": 0.9503283610803404, "Transcript / Interview": 0.00014163583645205937, "Tutorial / How-To Guide": 0.034916260087504966, "User Reviews": 5.807569898082456e-05, "Other / Unknown": 0.004964288508003997}, "secondary": {"Academic Writing": 0.001396199234245285, "Content Listing": 0.05695813720755164, "Creative Writing": 0.0011370852192576191, "Customer Support Page": 0.0008438241809499797, "Q&A Forum": 0.0009494167663427083, "Discussion Thread": 0.0006723675634172503, "Comment Section": 0.0008835833651377095, "Missing Content": 0.0012754044843297607, "Knowledge Article": 0.0027802296800986024, "Legal Notices": 0.0008860786000864864, "News Article": 0.0008117528258604173, "Organizational Announcement": 0.0014004171884219859, "Nonfiction Writing": 0.0009491754987398254, "Organizational About Page": 0.001006652097699418, "Personal About Page": 0.0007338119549612868, "Personal Blog": 0.0007177572171534524, "Product Page": 0.000748470306296322, "Spam / Ads": 0.001453172221205624, "Structured Data": 0.07232515001132714, "Technical Writing": 0.1800041558905176, "Transcript / Interview": 0.0009620145278800516, "Tutorial / How-To Guide": 0.1273133287517865, "User Reviews": 0.0005284632721600104, "NONE": 0.5432633519345734}, "tertiary": {"Academic Writing": 0.001162445453628221, "Content Listing": 0.07387396191262924, "Creative Writing": 0.0011775980734393921, "Customer Support Page": 0.0007988890595028422, "Q&A Forum": 0.0008664501409844687, "Discussion Thread": 0.0006952084005760108, "Comment Section": 0.0007505537410397159, "Missing Content": 0.0012039522739449352, "Knowledge Article": 0.003599740442541227, "Legal Notices": 0.0010142283704075942, "News Article": 0.0006403411727829553, "Organizational Announcement": 0.0014584254165506208, "Nonfiction Writing": 0.0008925499109209708, "Organizational About Page": 0.000897510404435027, "Personal About Page": 0.000606749857994307, "Personal Blog": 0.0006402211860090991, "Product Page": 0.000779626670078597, "Spam / Ads": 0.001612408030487178, "Structured Data": 0.08718719915534767, "Technical Writing": 0.10614562552963312, "Transcript / Interview": 0.0007978185741033606, "Tutorial / How-To Guide": 0.07667214415739458, "User Reviews": 0.00039435905964709526, "NONE": 0.6361319930059217}, "structured_records": {"false": 0.1671198849207186, "true": 0.8328801150792814}, "procedural_steps": {"false": 0.6420113126038989, "true": 0.35798868739610107}, "worked_solution": {"false": 0.9909612797253677, "true": 0.00903872027463227}, "contextual_dialogue": {"false": 0.9999931037197138, "true": 6.8962802861945645e-06}, "content_quality": {"-2": 0.01974618362594065, "-1": 0.11081323083996407, "0": 0.24092464544676473, "1": 0.45377561671629535, "2": 0.1747403233710352}, "noise_severity": {"0": 0.7273639147223528, "1": 0.19791335373791927, "2": 0.06467756898179083, "3": 0.006129672203661581, "4": 0.003915490354275673}, "missing_content_severity": {"0": 0.9886018982869899, "1": 0.005932202117341561, "2": 0.0034355961156090123, "3": 0.0016287067276725162, "4": 0.0004015967523868045}, "factual_density": {"0": 0.0022305891341510933, "1": 0.006246279726095106, "2": 0.12386880970829495, "3": 0.4172944597610443, "4": 0.4503598616704145}, "pretraining_utility": {"-2": 0.009387165971961976, "-1": 0.12065280521390002, "0": 0.32033062246927163, "1": 0.46416826938664196, "2": 0.08546113695822441}, "math_density": {"0": 0.9825107937340724, "1": 0.015123427895167196, "2": 0.001645048251329603, "3": 0.00040648079190596314, "4": 0.0003142493275247888}, "code_density": {"0": 0.0017703790111001248, "1": 0.005112175945597498, "2": 0.13903513545515506, "3": 0.39201274900593086, "4": 0.4620695605822164}, "reasoning_density": {"0": 0.8419079429861328, "1": 0.08823106584070661, "2": 0.06365587404403251, "3": 0.004301956155709719, "4": 0.0019031609734181767}, "education_level": {"none": 0.0006741559038829683, "0": 0.001607638217138488, "1": 0.004152694724722345, "2": 0.34682773557361074, "3": 0.5065489588724504, "4": 0.14018881670819514}, "creative_writing_quality": {"not_applicable": 0.9875945707308331, "-2": 0.00032328439450859963, "-1": 0.0014337951283246227, "0": 0.006859178340922657, "1": 0.003259543726259255, "2": 0.0005296276791516804}, "primary_topic": {"Adult & Explicit Sexual Content": 4.1027961082153964e-05, "Art & Design": 0.00011675913629956918, "Law & Crime": 0.00033960688879057445, "Education & Careers": 5.18523330621782e-05, "Entertainment & Media": 0.00011614698439968508, "Fashion & Beauty": 2.6447286053682876e-05, "Business, Economics & Finance": 0.0013905979770355284, "Food & Dining": 2.561175532244781e-05, "Games & Gaming": 6.792675224279162e-05, "Electronics & Hardware": 7.092397367749638e-05, "Health, Healthcare & Wellness": 3.328244446151885e-05, "History & Geography": 4.5569019183198124e-05, "Home, Pets & Hobbies": 3.030091837528917e-05, "Industry & Production": 4.32320208811918e-05, "Language, Literature & Philosophy": 3.884899405025929e-05, "Politics & Government": 9.729167242816999e-05, "Religion & Spirituality": 3.831648156776251e-05, "Science, Mathematics & Engineering": 0.006514584743561675, "Relationships & Community": 0.00014390670887697574, "Software Usage & Applications": 0.0034729609170208583, "Programming & Software Engineering": 0.9851722992259565, "Sports & Fitness": 4.419230872390783e-05, "Vehicles & Transportation": 2.1901777286506633e-05, "Travel & Tourism": 6.265495509121822e-05, "Other / Uncovered Subject": 0.0019444552241156413, "Unknown / Insufficient Content": 4.930154045314177e-05}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0010784934260884736, "Art & Design": 0.0022646791890425463, "Law & Crime": 0.07039897857122258, "Education & Careers": 0.0007121078200768514, "Entertainment & Media": 0.002187875717543727, "Fashion & Beauty": 0.00044308540175456567, "Business, Economics & Finance": 0.017276650844844945, "Food & Dining": 0.0003863255593663232, "Games & Gaming": 0.0008315247084454972, "Electronics & Hardware": 0.0009602730536692665, "Health, Healthcare & Wellness": 0.0006931811543799968, "History & Geography": 0.0005487142115878618, "Home, Pets & Hobbies": 0.000428477410361377, "Industry & Production": 0.0005277489120355255, "Language, Literature & Philosophy": 0.00045811605003549284, "Politics & Government": 0.0038466734275989962, "Religion & Spirituality": 0.0006493453362753815, "Science, Mathematics & Engineering": 0.09510122820197664, "Relationships & Community": 0.0007578234044971102, "Software Usage & Applications": 0.010477324530736219, "Programming & Software Engineering": 0.08819650011977591, "Sports & Fitness": 0.000444712700148667, "Vehicles & Transportation": 0.00023388662812142522, "Travel & Tourism": 0.0006370184937022885, "Other / Uncovered Subject": 0.0058476595773697205, "NONE": 0.6946115955493425}}, "probabilities": {"primary": {"Academic Writing": 0.00018159945184432672, "Content Listing": 0.0022122013090347245, "Creative Writing": 0.00015807416768993742, "Customer Support Page": 0.0001056698455255744, "Q&A Forum": 0.00011035586931694426, "Discussion Thread": 8.533811432165729e-05, "Comment Section": 0.0001245019070475752, "Missing Content": 0.00011064429720024962, "Knowledge Article": 0.0002669420529584705, "Legal Notices": 0.00011763846148314282, "News Article": 6.660777470842844e-05, "Organizational Announcement": 0.00023400099487114393, "Nonfiction Writing": 0.00010038553159517055, "Organizational About Page": 0.00013273770600972552, "Personal About Page": 9.281036724645753e-05, "Personal Blog": 8.259906553029985e-05, "Product Page": 9.871799763987177e-05, "Spam / Ads": 0.000299269281964715, "Structured Data": 0.0050112845927292315, "Technical Writing": 0.9503283610803405, "Transcript / Interview": 0.0001416358364520594, "Tutorial / How-To Guide": 0.03491626008750497, "User Reviews": 5.8075698980824564e-05, "Other / Unknown": 0.004964288508003998}, "secondary": {"Academic Writing": 0.001396199234245285, "Content Listing": 0.05695813720755164, "Creative Writing": 0.0011370852192576191, "Customer Support Page": 0.0008438241809499797, "Q&A Forum": 0.0009494167663427083, "Discussion Thread": 0.0006723675634172503, "Comment Section": 0.0008835833651377095, "Missing Content": 0.0012754044843297607, "Knowledge Article": 0.0027802296800986024, "Legal Notices": 0.0008860786000864864, "News Article": 0.0008117528258604173, "Organizational Announcement": 0.0014004171884219859, "Nonfiction Writing": 0.0009491754987398254, "Organizational About Page": 0.001006652097699418, "Personal About Page": 0.0007338119549612868, "Personal Blog": 0.0007177572171534524, "Product Page": 0.000748470306296322, "Spam / Ads": 0.001453172221205624, "Structured Data": 0.07232515001132714, "Technical Writing": 0.1800041558905176, "Transcript / Interview": 0.0009620145278800516, "Tutorial / How-To Guide": 0.1273133287517865, "User Reviews": 0.0005284632721600104, "NONE": 0.5432633519345734}, "tertiary": {"Academic Writing": 0.001162445453628221, "Content Listing": 0.07387396191262924, "Creative Writing": 0.0011775980734393921, "Customer Support Page": 0.0007988890595028422, "Q&A Forum": 0.0008664501409844687, "Discussion Thread": 0.0006952084005760108, "Comment Section": 0.0007505537410397159, "Missing Content": 0.0012039522739449352, "Knowledge Article": 0.003599740442541227, "Legal Notices": 0.0010142283704075942, "News Article": 0.0006403411727829553, "Organizational Announcement": 0.0014584254165506208, "Nonfiction Writing": 0.0008925499109209708, "Organizational About Page": 0.000897510404435027, "Personal About Page": 0.000606749857994307, "Personal Blog": 0.0006402211860090991, "Product Page": 0.000779626670078597, "Spam / Ads": 0.001612408030487178, "Structured Data": 0.08718719915534767, "Technical Writing": 0.10614562552963312, "Transcript / Interview": 0.0007978185741033606, "Tutorial / How-To Guide": 0.07667214415739458, "User Reviews": 0.00039435905964709526, "NONE": 0.6361319930059217}, "structured_records": {"false": 0.1671198849207186, "true": 0.8328801150792814}, "procedural_steps": {"false": 0.6420113126038989, "true": 0.35798868739610107}, "worked_solution": {"false": 0.9909612797253677, "true": 0.00903872027463227}, "contextual_dialogue": {"false": 0.9999931037197138, "true": 6.8962802861945645e-06}, "content_quality": {"-2": 0.01974618362594065, "-1": 0.11081323083996407, "0": 0.24092464544676473, "1": 0.45377561671629535, "2": 0.1747403233710352}, "noise_severity": {"0": 0.7273639147223527, "1": 0.1979133537379192, "2": 0.06467756898179082, "3": 0.006129672203661579, "4": 0.003915490354275672}, "missing_content_severity": {"0": 0.9886018982869901, "1": 0.005932202117341563, "2": 0.003435596115609013, "3": 0.0016287067276725166, "4": 0.0004015967523868046}, "factual_density": {"0": 0.0022305891341510937, "1": 0.006246279726095107, "2": 0.12386880970829496, "3": 0.41729445976104435, "4": 0.45035986167041453}, "pretraining_utility": {"-2": 0.009387165971961976, "-1": 0.12065280521390002, "0": 0.32033062246927163, "1": 0.46416826938664196, "2": 0.08546113695822441}, "math_density": {"0": 0.9825107937340725, "1": 0.015123427895167197, "2": 0.0016450482513296033, "3": 0.0004064807919059632, "4": 0.00031424932752478887}, "code_density": {"0": 0.001770379011100125, "1": 0.005112175945597499, "2": 0.13903513545515508, "3": 0.3920127490059309, "4": 0.46206956058221643}, "reasoning_density": {"0": 0.841907942986133, "1": 0.08823106584070663, "2": 0.06365587404403253, "3": 0.00430195615570972, "4": 0.001903160973418177}, "education_level": {"none": 0.0006741559038829682, "0": 0.0016076382171384875, "1": 0.004152694724722344, "2": 0.3468277355736107, "3": 0.5065489588724503, "4": 0.1401888167081951}, "creative_writing_quality": {"not_applicable": 0.9875945707308332, "-2": 0.0003232843945085997, "-1": 0.001433795128324623, "0": 0.006859178340922658, "1": 0.0032595437262592556, "2": 0.0005296276791516805}, "primary_topic": {"Adult & Explicit Sexual Content": 4.102796108215397e-05, "Art & Design": 0.00011675913629956919, "Law & Crime": 0.0003396068887905745, "Education & Careers": 5.1852333062178204e-05, "Entertainment & Media": 0.0001161469843996851, "Fashion & Beauty": 2.644728605368288e-05, "Business, Economics & Finance": 0.0013905979770355286, "Food & Dining": 2.5611755322447812e-05, "Games & Gaming": 6.792675224279163e-05, "Electronics & Hardware": 7.092397367749639e-05, "Health, Healthcare & Wellness": 3.3282444461518856e-05, "History & Geography": 4.556901918319813e-05, "Home, Pets & Hobbies": 3.0300918375289175e-05, "Industry & Production": 4.3232020881191804e-05, "Language, Literature & Philosophy": 3.88489940502593e-05, "Politics & Government": 9.729167242817e-05, "Religion & Spirituality": 3.831648156776252e-05, "Science, Mathematics & Engineering": 0.006514584743561676, "Relationships & Community": 0.00014390670887697577, "Software Usage & Applications": 0.0034729609170208588, "Programming & Software Engineering": 0.9851722992259566, "Sports & Fitness": 4.4192308723907834e-05, "Vehicles & Transportation": 2.1901777286506636e-05, "Travel & Tourism": 6.265495509121823e-05, "Other / Uncovered Subject": 0.0019444552241156415, "Unknown / Insufficient Content": 4.9301540453141774e-05}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0010784934260884738, "Art & Design": 0.0022646791890425467, "Law & Crime": 0.0703989785712226, "Education & Careers": 0.0007121078200768515, "Entertainment & Media": 0.0021878757175437273, "Fashion & Beauty": 0.0004430854017545657, "Business, Economics & Finance": 0.01727665084484495, "Food & Dining": 0.00038632555936632325, "Games & Gaming": 0.0008315247084454973, "Electronics & Hardware": 0.0009602730536692666, "Health, Healthcare & Wellness": 0.0006931811543799969, "History & Geography": 0.0005487142115878619, "Home, Pets & Hobbies": 0.00042847741036137706, "Industry & Production": 0.0005277489120355256, "Language, Literature & Philosophy": 0.0004581160500354929, "Politics & Government": 0.0038466734275989967, "Religion & Spirituality": 0.0006493453362753816, "Science, Mathematics & Engineering": 0.09510122820197665, "Relationships & Community": 0.0007578234044971103, "Software Usage & Applications": 0.01047732453073622, "Programming & Software Engineering": 0.08819650011977592, "Sports & Fitness": 0.00044471270014866706, "Vehicles & Transportation": 0.00023388662812142525, "Travel & Tourism": 0.0006370184937022886, "Other / Uncovered Subject": 0.005847659577369721, "NONE": 0.6946115955493426}}, "probability_diagnostics": {"primary": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "tertiary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "structured_records": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "procedural_steps": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "worked_solution": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "contextual_dialogue": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "content_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "noise_severity": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "missing_content_severity": {"raw_sum": 0.9999999999999998, "mass_delta": -2.220446049250313e-16, "missing_mass": 2.220446049250313e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "factual_density": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "pretraining_utility": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "math_density": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "code_density": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "reasoning_density": {"raw_sum": 0.9999999999999998, "mass_delta": -2.220446049250313e-16, "missing_mass": 2.220446049250313e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "education_level": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "creative_writing_quality": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "primary_topic": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary_topic": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}}, "usage": {"input_tokens": 12014, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 12014, "cached_share": null, "cache_discount_reported": null, "reported_cost_usd": null}, "response_metadata": {"model": "decision-models/baseten-mammoth-27b-latest"}, "scored_at_utc": "2026-10-25T18:34:11.079431+00:00", "scoring_key_slot": "assistant_1", "dataset_uid": "8ccbd157-67da-4912-87d8-b23911de73c5", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "813c3bc2ef98d59bf7761f6645a6d65712b41cc18c31a777f2975a2201679d0b", "source_metadata": {"uuid": "8ccbd157-67da-4912-87d8-b23911de73c5", "repo_name": "isaacbuz/connectShphere", "relative_path": "scripts/create_all_github_issues.sh", "category": "TOOL", "algo_rel_score": 0.9969792366027832, "quality_score": 4.963430881500244, "source_meta": {"github_metadata": {"branch": "main", "commit_count": 6, "repo_created_at": "2025-06-25T19:52:36.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 0, "forks": 0, "issues": 10, "pull_requests": 0}, "file_meta": {"content_id": "6dcc6dff5bf2046159a83596a24a9bd0de3149da", "size_bytes": 13509, "file_timestamp": 1750896529, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "2793fa48ed98e0f624f29946ed41580c161338e2"}}, "parsed_source_meta": {"github_metadata": {"branch": "main", "commit_count": 6, "repo_created_at": "2025-06-25T19:52:36.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 0, "forks": 0, "issues": 10, "pull_requests": 0}, "file_meta": {"content_id": "6dcc6dff5bf2046159a83596a24a9bd0de3149da", "size_bytes": 13509, "file_timestamp": 1750896529, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "2793fa48ed98e0f624f29946ed41580c161338e2", "url": "https://github.com/isaacbuz/connectShphere/blob/2793fa48ed98e0f624f29946ed41580c161338e2/scripts/create_all_github_issues.sh"}, "gpt4o_tokens": 3340, "dataset_split": "shell", "probability_weighted_scores": {"content_quality": 0.6529506653665204, "noise_severity": 0.3613194697295883, "missing_content_severity": 0.019295901541124358, "factual_density": 3.307306725107476, "pretraining_utility": 0.4956634061452668, "math_density": 0.02088996408364345, "code_density": 3.3074989362025664, "reasoning_density": 0.23606132628957355, "education_level": 2.7800845197143347, "creative_writing_quality": 0.18043996049248634}, "score_applicability": {"education_level": 0.9993258440961169, "creative_writing_quality": 0.012405429269166816}} {"source_group": "shell", "source": "openbmb/UltraData-Stack-v3-L2/shell", "domain": "github.com", "language": "shell", "url": "https://github.com/kevine323/powershell/blob/087c9985ac22c62bca847968dba529e5ad3e1f1c/Ftp-Get-And-Route.ps1", "id": "shell-0-c3af2d5dd2600b7605f66c3cdaf2c79a", "text": "##\n# Ftp-Get-And-Route\n#\n# To use:\n# Edit the imageDestinationPath to be the desired target folder where image files should be routed;\n# designated whether to use Prod or Sandbox credentials by toggling 'useProduction' accordingly\n##\nparam (\n [switch]$useProduction = $false,\n [string]$imageDestinationPath = \"C:\\Temp\\Eleos\",\n [string]$eleosFtpServer = \"ftp://ftp.driveaxleapp.com\",\n [string]$prodFtpUsername = \"\",\n [string]$prodFtpPassword = \"\",\n [string]$devFtpUsername = \"\",\n [string]$devFtpPassword = \"\"\n)\n\nif($useProduction) {\n $ftpUsername = $prodFtpUsername\n $ftpPassword = $prodFtp\n} else {\n $ftpUsername = $devFtpUsername\n $ftpPassword = $devFtpPassword\n}\n\nfunction New-TemporaryDirectory {\n $parent = [System.IO.Path]::GetTempPath()\n $name = [System.IO.Path]::GetRandomFileName()\n New-Item -ItemType Directory -Path (Join-Path $parent $name)\n}\n\nfunction Ftp-GetFileList($server, $username, $password)\n{\n $uri = [system.URI]$server\n $request = [System.Net.FtpWebRequest]::create($uri) \n\n $request.Credentials = \n New-Object System.Net.NetworkCredential($username, $password)\n \n $request.Method = [System.Net.WebRequestMethods+Ftp]::ListDirectory\n $request.KeepAlive = $true\n $request.UsePassive = $true\n $request.Timeout = 30000\n\n try {\n $response = $request.GetResponse()\n } catch {\n Write-Host \"Failed: $_\"\n Exit\n }\n\n $stream = $response.GetResponseStream()\n\n# Write-Host $response.StatusCode -nonewline\n# Write-Host $response.StatusDescription\n\n\n $stream = $response.GetResponseStream()\n $reader = New-Object System.IO.StreamReader($stream,'UTF-8')\n $fileList = $reader.ReadToEnd()\n\n $reader.Close()\n $response.Close()\n\n return $fileList.Split(\"`n\")\n}\n\nfunction Ftp-GetFile($source, $target, $username, $password)\n{\n $uri = [system.URI]$source\n $request = [System.Net.FtpWebRequest]::create($uri) \n\n $request.Credentials = \n New-Object System.Net.NetworkCredential($username, $password)\n \n $request.Method = [System.Net.WebRequestMethods+Ftp]::DownloadFile\n $request.Timeout = 15000\n $request.UseBinary = $true\n $request.KeepAlive = $true\n $request.EnableSsl = $false\n\n try {\n $response = $request.GetResponse()\n } catch {\n Write-Host \"Failed: $_\"\n Exit\n }\n\n# Write-Host $response.StatusDescription \" write to $target\"\n $stream = $response.GetResponseStream()\n\n try {\n $imageFile = New-Object IO.FileStream ($target, [IO.FileMode]::Create)\n } catch {\n Write-Host \"Failed: $_\"\n $stream.Close()\n $response.Close()\n Exit\n }\n\n [byte[]]$readBuffer = New-Object byte[] 1024\n $readLength = 0\n do {\n $readLength = $stream.Read($readBuffer, 0, 1024)\n $imageFile.Write($readBuffer, 0, $readLength)\n } while ($readLength -ne 0)\n $imageFile.Close()\n $stream.Close()\n $response.Close()\n}\n\nclear\nWrite-Host \"Starting\"\nif(Test-Path $imageDestinationPath) {\n $tempDirectory = New-TemporaryDirectory\n Write-Host \" Retrieving images from \"$eleosFtpServer\n $fileList = Ftp-GetFileList $eleosFtpServer $ftpUsername $ftpPassword\n\n $totalNumFiles = 0\n foreach ($imgFile in $fileList) {\n if($imgFile -ne '') {\n $fileName = $imgFile.ToString().Trim()\n Write-Host \" found \"$fileName\n\n $source = $eleosFtpServer + '/' + $fileName\n $target = Join-Path $tempDirectory.FullName $fileName\n\n Ftp-GetFile $source $target $ftpUsername $ftpPassword\n $totalNumFiles = $totalNumFiles + 1\n }\n }\n\n Write-Host \" Total Image Files Retrieved: \" $totalNumFiles\n\n foreach ($imgFile in $fileList) {\n if($imgFile -ne '') {\n $fileName = $imgFile.ToString().Trim()\n Write-Host \" expanding \"$fileName\n\n $tempImgDirectory = New-TemporaryDirectory\n $target = Join-Path $tempDirectory.FullName $fileName\n Expand-Archive -Path $target -DestinationPath $tempImgDirectory\n\n Get-ChildItem -Path $tempImgDirectory -Include *.xml -Recurse | \n Foreach-Object {\n #Remove-Item $_.FullName\n Write-Host $_.FullName\n }\n Get-ChildItem -Path $tempImgDirectory -Include *.json -Recurse | \n Foreach-Object {\n #Remove-Item $_.FullName\n Write-Host $_.FullName\n }\n\n # ensure filename is unique when staged for processing\n # else, risk overwriting an image file if imaging system\n # cannot keep up with number of retrieved images\n Get-ChildItem $tempImgDirectory | \n Foreach-Object {\n $randomNum = [string](Get-Random -Maximum 99999999)\n $uniqFileName = $randomNum + $_.Extension\n $newImgFileName = Join-Path $imageDestinationPath $uniqFileName\n while(Test-Path $newImgFileName) {\n $randomNum = [string](Get-Random -Maximum 99999999)\n $uniqFileName = $randomNum + $_.Extension\n $newImgFileName = Join-Path $imageDestinationPath $uniqFileName\n }\n Write-Host \" moving image to \"$imageDestinationPath\n Move-Item -Path $_.FullName -Destination $newImgFileName\n }\n Remove-Item $tempImgDirectory -Force -Recurse\n }\n }\n Write-Host \" cleaning up\"\n Remove-Item $tempDirectory -Force -Recurse\n}\nelse {\n Write-Host \"Aborting: '\"$imageDestinationPath\"' not found!\"\n}\nWrite-Host \"Done\"\n\n", "text_preview": "## # Ftp-Get-And-Route # # To use: # Edit the imageDestinationPath to be the desired target folder where image files should be routed; # designated whether to use Prod or Sandbox credentials by toggling 'useProduction' accordingly ## param ", "input_sha256": "d88ed5391b3d9c910c0f225b8f29568f0633ebbf9e6194e13ac1163f0ac8c2fc", "text_sha256": "c3af2d5dd2600b7605f66c3cdaf2c79a78464f97cfefc0be111764dfb02eaac3", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 20077, "input_policy": "text-and-optional-url-v1", "label_policy_version": 12, "requested_model": "decision-models/baseten-mammoth-27b-latest", "backend": "baseten", "endpoint": "https://inference.baseten.co/v1/systemone", "status": "ok", "training_eligible": true, "label": {"primary": {"main_format": "Technical Writing", "sub_format": null}, "secondary": null, "tertiary": null, "content_structure": []}, "candidate_label": null, "topic": {"primary": {"main_topic": "Programming & Software Engineering", "sub_topic": null}, "secondary": null}, "scores": {"content_quality": 1, "noise_severity": 0, "missing_content_severity": 0, "factual_density": 4, "pretraining_utility": 1, "math_density": 0, "code_density": 4, "reasoning_density": 0, "education_level": 2, "creative_writing_quality": null}, "score_expectations": {"content_quality": 0.3848194892792296, "noise_severity": 0.13476206203283222, "missing_content_severity": 0.1362618790013237, "factual_density": 3.212664918407122, "pretraining_utility": 0.4848729556034407, "math_density": 0.15170007950122877, "code_density": 3.7430916728350145, "reasoning_density": 0.43649743490320625, "education_level": 2.1165650222639694, "creative_writing_quality": -0.2479336757637886}, "api_choices": {"primary": "Technical Writing", "secondary": "NONE", "tertiary": "NONE", "education_level": "2", "creative_writing_quality": "not_applicable", "primary_topic": "Programming & Software Engineering", "secondary_topic": "NONE"}, "review_reasons": [], "format_slot_diagnostics": {"comparable": true, "secondary_tertiary_identical": false, "secondary_tertiary_max_abs_gap": 0.1922888551889842, "secondary_choice": "NONE", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.9826877376642493, "secondary": 0.6955556607022566, "tertiary": 0.8962049008994575, "structured_records": 0.005713893267914643, "procedural_steps": 0.342032631637826, "worked_solution": 0.001912158819853511, "contextual_dialogue": 6.8706490760670414e-06, "content_quality": 0.3280155001629954, "noise_severity": 0.8876982816393064, "missing_content_severity": 0.8864484341655636, "factual_density": 0.34388743200593486, "pretraining_utility": 0.45331350535621506, "math_density": 0.8735832670823094, "code_density": 0.7859097273625123, "reasoning_density": 0.6362521375806616, "education_level": 0.729520303826798, "creative_writing_quality": 0.9985956288047403, "primary_topic": 0.9853146642048992, "secondary_topic": 0.9078720502178362}, "probability_margin": {"primary": 0.9703346405527982, "secondary": 0.4738139452852508, "tertiary": 0.8262451349169633, "education_level": 0.6235413027848384, "creative_writing_quality": 0.9982089580048968, "primary_topic": 0.9751031433204955, "secondary_topic": 0.8501278118014899}, "raw_probabilities": {"primary": {"Academic Writing": 6.249127578936398e-05, "Content Listing": 4.6775646387028834e-05, "Creative Writing": 4.5755361337861614e-05, "Customer Support Page": 3.795090835472801e-05, "Q&A Forum": 3.646234651630966e-05, "Discussion Thread": 3.1634867060643345e-05, "Comment Section": 4.617852165493383e-05, "Missing Content": 6.816007658575624e-05, "Knowledge Article": 0.00023771766047112584, "Legal Notices": 5.540624618308206e-05, "News Article": 1.595413366516234e-05, "Organizational Announcement": 2.9393948827511248e-05, "Nonfiction Writing": 3.152095703142887e-05, "Organizational About Page": 3.599890395224764e-05, "Personal About Page": 3.536199360341576e-05, "Personal Blog": 2.278627236377067e-05, "Product Page": 2.24474494050595e-05, "Spam / Ads": 3.0529810017904604e-05, "Structured Data": 0.0004890533247400576, "Technical Writing": 0.983409081928239, "Transcript / Interview": 4.5386952568677456e-05, "Tutorial / How-To Guide": 0.013074441375440794, "User Reviews": 1.915936669869985e-05, "Other / Unknown": 0.0020703506731056492}, "secondary": {"Academic Writing": 0.0007664933859649028, "Content Listing": 0.00046648280031070345, "Creative Writing": 0.0005822788605703275, "Customer Support Page": 0.0008411674249659123, "Q&A Forum": 0.00039354796506387376, "Discussion Thread": 0.0003044948190302393, "Comment Section": 0.0005583978651419576, "Missing Content": 0.000823662033761473, "Knowledge Article": 0.0014795414791695495, "Legal Notices": 0.0005965708882879409, "News Article": 0.0004028893310800279, "Organizational Announcement": 0.0003867820438101984, "Nonfiction Writing": 0.0004560999854924941, "Organizational About Page": 0.0004697950142699659, "Personal About Page": 0.0004068296855193862, "Personal Blog": 0.00036178850186107596, "Product Page": 0.0003135159809484292, "Spam / Ads": 0.0004074416065030105, "Structured Data": 0.0012750996873794101, "Technical Writing": 0.0451747500914236, "Transcript / Interview": 0.0005937545051262598, "Tutorial / How-To Guide": 0.2344268962210785, "User Reviews": 0.0002708783169115144, "NONE": 0.7082408415063293}, "tertiary": {"Academic Writing": 0.000264654743876923, "Content Listing": 0.0001713201358416339, "Creative Writing": 0.00020464688129999642, "Customer Support Page": 0.00033518375638754154, "Q&A Forum": 0.00010703736275204845, "Discussion Thread": 0.00010083216902785207, "Comment Section": 0.0002876144465279271, "Missing Content": 0.00105763409010603, "Knowledge Article": 0.0010808432040532946, "Legal Notices": 0.0007808369032323699, "News Article": 0.00011485694435343817, "Organizational Announcement": 0.00012737916729422473, "Nonfiction Writing": 0.00015118040581492355, "Organizational About Page": 0.0001795453853500934, "Personal About Page": 0.0001313247664074907, "Personal Blog": 0.00012427195312532323, "Product Page": 0.0001058502850621405, "Spam / Ads": 0.00018051328173832216, "Structured Data": 0.0014619108594302421, "Technical Writing": 0.017974464527775486, "Transcript / Interview": 0.00017175225771374092, "Tutorial / How-To Guide": 0.07428456177835017, "User Reviews": 7.208799916530319e-05, "NONE": 0.9005296966953135}, "structured_records": {"false": 0.9942861067320854, "true": 0.005713893267914643}, "procedural_steps": {"false": 0.6579673683621741, "true": 0.342032631637826}, "worked_solution": {"false": 0.9980878411801465, "true": 0.001912158819853511}, "contextual_dialogue": {"false": 0.9999931293509239, "true": 6.8706490760670414e-06}, "content_quality": {"-2": 0.03352033732103575, "-1": 0.1304496800840488, "0": 0.34932058313138303, "1": 0.3911089549217147, "2": 0.09560044454181758}, "noise_severity": {"0": 0.8955478896621322, "1": 0.08323198847088935, "2": 0.01352990853493394, "3": 0.006290596836103168, "4": 0.001399616495941373}, "missing_content_severity": {"0": 0.8958633685148047, "1": 0.0768187713112726, "2": 0.023465386154407086, "3": 0.0028975606968249, "4": 0.0009549133226905476}, "factual_density": {"0": 0.007838791895752848, "1": 0.027559871559966136, "2": 0.1487927282537674, "3": 0.3757148428224335, "4": 0.44009376546808}, "pretraining_utility": {"-2": 0.010989942104590488, "-1": 0.08273596537740666, "0": 0.3871336619159659, "1": 0.44869205601404577, "2": 0.07044837458799127}, "math_density": {"0": 0.8690266163597827, "1": 0.12040933754249988, "2": 0.004669239760927604, "3": 0.001626962910286282, "4": 0.004267843426503714}, "code_density": {"0": 0.0004539172537296616, "1": 0.0008952945439171772, "2": 0.025885746532733036, "3": 0.20063528145284892, "4": 0.7721297602167712}, "reasoning_density": {"0": 0.7324179239674112, "1": 0.14821692581372198, "2": 0.08349567320780969, "3": 0.022188745370363337, "4": 0.013680731640693711}, "education_level": {"none": 0.0015081128696846997, "0": 0.0030847601579262734, "1": 0.05599868259767718, "2": 0.7746002531889983, "3": 0.1510589504041598, "4": 0.013749240781553816}, "creative_writing_quality": {"not_applicable": 0.9988296906706169, "-2": 0.00011109039509377402, "-1": 0.00027721859030117846, "0": 0.0006207326657200731, "1": 0.00011329506986195099, "2": 4.797260840608885e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 6.0366029138583505e-05, "Art & Design": 8.257457731442405e-05, "Law & Crime": 7.255746341730575e-05, "Education & Careers": 6.616211351024243e-05, "Entertainment & Media": 5.317132071067905e-05, "Fashion & Beauty": 7.727171892403237e-05, "Business, Economics & Finance": 0.00030901230951103914, "Food & Dining": 5.269764883907578e-05, "Games & Gaming": 7.942744119991506e-05, "Electronics & Hardware": 0.0004926769761211066, "Health, Healthcare & Wellness": 4.9481873030411475e-05, "History & Geography": 5.986895910778842e-05, "Home, Pets & Hobbies": 5.878062689778744e-05, "Industry & Production": 0.00010794407691021216, "Language, Literature & Philosophy": 5.896562712082355e-05, "Politics & Government": 4.1648864871921874e-05, "Religion & Spirituality": 4.7793826129309684e-05, "Science, Mathematics & Engineering": 0.0003333674808918059, "Relationships & Community": 4.2828178740584085e-05, "Software Usage & Applications": 0.010776341491907544, "Programming & Software Engineering": 0.9858794848124031, "Sports & Fitness": 9.09827589461488e-05, "Vehicles & Transportation": 0.0003967202553532897, "Travel & Tourism": 6.195276121103696e-05, "Other / Uncovered Subject": 0.0005433222633126423, "Unknown / Insufficient Content": 0.00010459854447925817}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.000542360005635726, "Art & Design": 0.0007899261517144196, "Law & Crime": 0.0005469728149561084, "Education & Careers": 0.0003053719453871294, "Entertainment & Media": 0.0004392433261188238, "Fashion & Beauty": 0.0003099240478604946, "Business, Economics & Finance": 0.0008993480965472503, "Food & Dining": 0.0002084236934774443, "Games & Gaming": 0.0003307581353149604, "Electronics & Hardware": 0.0012691976241810583, "Health, Healthcare & Wellness": 0.00023593962103711575, "History & Geography": 0.00022113951381887202, "Home, Pets & Hobbies": 0.0002087923368103708, "Industry & Production": 0.0002780620868870785, "Language, Literature & Philosophy": 0.00016089070479523542, "Politics & Government": 0.00020151713941875282, "Religion & Spirituality": 0.00023407796263461667, "Science, Mathematics & Engineering": 0.0006820748626156441, "Relationships & Community": 0.00014227805993308957, "Software Usage & Applications": 0.061287621100275705, "Programming & Software Engineering": 0.017507596001327005, "Sports & Fitness": 0.00021379426315479045, "Vehicles & Transportation": 0.0005249056289722646, "Travel & Tourism": 0.0002505472179525077, "Other / Uncovered Subject": 0.0007938047574078737, "NONE": 0.9114154329017656}}, "probabilities": {"primary": {"Academic Writing": 6.249127578936397e-05, "Content Listing": 4.677564638702882e-05, "Creative Writing": 4.575536133786161e-05, "Customer Support Page": 3.7950908354728004e-05, "Q&A Forum": 3.6462346516309655e-05, "Discussion Thread": 3.163486706064334e-05, "Comment Section": 4.617852165493382e-05, "Missing Content": 6.816007658575622e-05, "Knowledge Article": 0.0002377176604711258, "Legal Notices": 5.540624618308205e-05, "News Article": 1.5954133665162336e-05, "Organizational Announcement": 2.939394882751124e-05, "Nonfiction Writing": 3.152095703142886e-05, "Organizational About Page": 3.599890395224763e-05, "Personal About Page": 3.5361993603415754e-05, "Personal Blog": 2.2786272363770665e-05, "Product Page": 2.2447449405059496e-05, "Spam / Ads": 3.05298100179046e-05, "Structured Data": 0.0004890533247400575, "Technical Writing": 0.9834090819282387, "Transcript / Interview": 4.538695256867745e-05, "Tutorial / How-To Guide": 0.01307444137544079, "User Reviews": 1.9159366698699848e-05, "Other / Unknown": 0.002070350673105649}, "secondary": {"Academic Writing": 0.0007664933859649028, "Content Listing": 0.00046648280031070345, "Creative Writing": 0.0005822788605703275, "Customer Support Page": 0.0008411674249659123, "Q&A Forum": 0.00039354796506387376, "Discussion Thread": 0.0003044948190302393, "Comment Section": 0.0005583978651419576, "Missing Content": 0.000823662033761473, "Knowledge Article": 0.0014795414791695495, "Legal Notices": 0.0005965708882879409, "News Article": 0.0004028893310800279, "Organizational Announcement": 0.0003867820438101984, "Nonfiction Writing": 0.0004560999854924941, "Organizational About Page": 0.0004697950142699659, "Personal About Page": 0.0004068296855193862, "Personal Blog": 0.00036178850186107596, "Product Page": 0.0003135159809484292, "Spam / Ads": 0.0004074416065030105, "Structured Data": 0.0012750996873794101, "Technical Writing": 0.0451747500914236, "Transcript / Interview": 0.0005937545051262598, "Tutorial / How-To Guide": 0.2344268962210785, "User Reviews": 0.0002708783169115144, "NONE": 0.7082408415063293}, "tertiary": {"Academic Writing": 0.000264654743876923, "Content Listing": 0.0001713201358416339, "Creative Writing": 0.00020464688129999642, "Customer Support Page": 0.00033518375638754154, "Q&A Forum": 0.00010703736275204845, "Discussion Thread": 0.00010083216902785207, "Comment Section": 0.0002876144465279271, "Missing Content": 0.00105763409010603, "Knowledge Article": 0.0010808432040532946, "Legal Notices": 0.0007808369032323699, "News Article": 0.00011485694435343817, "Organizational Announcement": 0.00012737916729422473, "Nonfiction Writing": 0.00015118040581492355, "Organizational About Page": 0.0001795453853500934, "Personal About Page": 0.0001313247664074907, "Personal Blog": 0.00012427195312532323, "Product Page": 0.0001058502850621405, "Spam / Ads": 0.00018051328173832216, "Structured Data": 0.0014619108594302421, "Technical Writing": 0.017974464527775486, "Transcript / Interview": 0.00017175225771374092, "Tutorial / How-To Guide": 0.07428456177835017, "User Reviews": 7.208799916530319e-05, "NONE": 0.9005296966953135}, "structured_records": {"false": 0.9942861067320854, "true": 0.005713893267914643}, "procedural_steps": {"false": 0.6579673683621741, "true": 0.342032631637826}, "worked_solution": {"false": 0.9980878411801465, "true": 0.001912158819853511}, "contextual_dialogue": {"false": 0.9999931293509239, "true": 6.8706490760670414e-06}, "content_quality": {"-2": 0.03352033732103576, "-1": 0.13044968008404884, "0": 0.3493205831313831, "1": 0.39110895492171477, "2": 0.0956004445418176}, "noise_severity": {"0": 0.8955478896621322, "1": 0.08323198847088935, "2": 0.01352990853493394, "3": 0.006290596836103168, "4": 0.001399616495941373}, "missing_content_severity": {"0": 0.8958633685148049, "1": 0.07681877131127261, "2": 0.02346538615440709, "3": 0.0028975606968249003, "4": 0.0009549133226905477}, "factual_density": {"0": 0.00783879189575285, "1": 0.02755987155996614, "2": 0.14879272825376744, "3": 0.37571484282243356, "4": 0.44009376546808004}, "pretraining_utility": {"-2": 0.010989942104590488, "-1": 0.08273596537740666, "0": 0.3871336619159659, "1": 0.44869205601404577, "2": 0.07044837458799127}, "math_density": {"0": 0.8690266163597825, "1": 0.12040933754249986, "2": 0.004669239760927603, "3": 0.0016269629102862815, "4": 0.004267843426503713}, "code_density": {"0": 0.0004539172537296616, "1": 0.0008952945439171772, "2": 0.025885746532733036, "3": 0.20063528145284892, "4": 0.7721297602167712}, "reasoning_density": {"0": 0.7324179239674112, "1": 0.14821692581372198, "2": 0.08349567320780969, "3": 0.022188745370363337, "4": 0.013680731640693711}, "education_level": {"none": 0.0015081128696846997, "0": 0.0030847601579262734, "1": 0.05599868259767718, "2": 0.7746002531889983, "3": 0.1510589504041598, "4": 0.013749240781553816}, "creative_writing_quality": {"not_applicable": 0.9988296906706169, "-2": 0.00011109039509377402, "-1": 0.00027721859030117846, "0": 0.0006207326657200731, "1": 0.00011329506986195099, "2": 4.797260840608885e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 6.0366029138583505e-05, "Art & Design": 8.257457731442405e-05, "Law & Crime": 7.255746341730575e-05, "Education & Careers": 6.616211351024243e-05, "Entertainment & Media": 5.317132071067905e-05, "Fashion & Beauty": 7.727171892403237e-05, "Business, Economics & Finance": 0.00030901230951103914, "Food & Dining": 5.269764883907578e-05, "Games & Gaming": 7.942744119991506e-05, "Electronics & Hardware": 0.0004926769761211066, "Health, Healthcare & Wellness": 4.9481873030411475e-05, "History & Geography": 5.986895910778842e-05, "Home, Pets & Hobbies": 5.878062689778744e-05, "Industry & Production": 0.00010794407691021216, "Language, Literature & Philosophy": 5.896562712082355e-05, "Politics & Government": 4.1648864871921874e-05, "Religion & Spirituality": 4.7793826129309684e-05, "Science, Mathematics & Engineering": 0.0003333674808918059, "Relationships & Community": 4.2828178740584085e-05, "Software Usage & Applications": 0.010776341491907544, "Programming & Software Engineering": 0.9858794848124031, "Sports & Fitness": 9.09827589461488e-05, "Vehicles & Transportation": 0.0003967202553532897, "Travel & Tourism": 6.195276121103696e-05, "Other / Uncovered Subject": 0.0005433222633126423, "Unknown / Insufficient Content": 0.00010459854447925817}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.000542360005635726, "Art & Design": 0.0007899261517144196, "Law & Crime": 0.0005469728149561084, "Education & Careers": 0.0003053719453871294, "Entertainment & Media": 0.0004392433261188238, "Fashion & Beauty": 0.0003099240478604946, "Business, Economics & Finance": 0.0008993480965472503, "Food & Dining": 0.0002084236934774443, "Games & Gaming": 0.0003307581353149604, "Electronics & Hardware": 0.0012691976241810583, "Health, Healthcare & Wellness": 0.00023593962103711575, "History & Geography": 0.00022113951381887202, "Home, Pets & Hobbies": 0.0002087923368103708, "Industry & Production": 0.0002780620868870785, "Language, Literature & Philosophy": 0.00016089070479523542, "Politics & Government": 0.00020151713941875282, "Religion & Spirituality": 0.00023407796263461667, "Science, Mathematics & Engineering": 0.0006820748626156441, "Relationships & Community": 0.00014227805993308957, "Software Usage & Applications": 0.061287621100275705, "Programming & Software Engineering": 0.017507596001327005, "Sports & Fitness": 0.00021379426315479045, "Vehicles & Transportation": 0.0005249056289722646, "Travel & Tourism": 0.0002505472179525077, "Other / Uncovered Subject": 0.0007938047574078737, "NONE": 0.9114154329017656}}, "probability_diagnostics": {"primary": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "secondary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "tertiary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "structured_records": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "procedural_steps": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "worked_solution": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "contextual_dialogue": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "content_quality": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "noise_severity": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "missing_content_severity": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "factual_density": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "pretraining_utility": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "math_density": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "code_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "reasoning_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "education_level": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "creative_writing_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "primary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}}, "usage": {"input_tokens": 10081, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 10081, "cached_share": null, "cache_discount_reported": null, "reported_cost_usd": null}, "response_metadata": {"model": "decision-models/baseten-mammoth-27b-latest"}, "scored_at_utc": "2026-10-25T18:34:11.789522+00:00", "scoring_key_slot": "assistant_1", "dataset_uid": "7e12b0ac-ddf2-45d1-ba3d-341a88ffa421", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "ed879a067d0ce9dac12af179c7bb73bff42abcc336a6c09520c126d2f2097f68", "source_metadata": {"uuid": "7e12b0ac-ddf2-45d1-ba3d-341a88ffa421", "repo_name": "kevine323/powershell", "relative_path": "Ftp-Get-And-Route.ps1", "category": "TOOL", "algo_rel_score": 0.7682713270187378, "quality_score": 4.117963790893555, "source_meta": {"github_metadata": {"branch": "main", "commit_count": 1, "repo_created_at": "2023-08-30T21:33:04.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 0, "forks": 0, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "b18322a735d185f1c628ad5c5c0168637aa7044f", "size_bytes": 5751, "file_timestamp": 1693431609, "language": "powershell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "087c9985ac22c62bca847968dba529e5ad3e1f1c"}}, "parsed_source_meta": {"github_metadata": {"branch": "main", "commit_count": 1, "repo_created_at": "2023-08-30T21:33:04.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 0, "forks": 0, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "b18322a735d185f1c628ad5c5c0168637aa7044f", "size_bytes": 5751, "file_timestamp": 1693431609, "language": "powershell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "087c9985ac22c62bca847968dba529e5ad3e1f1c", "url": "https://github.com/kevine323/powershell/blob/087c9985ac22c62bca847968dba529e5ad3e1f1c/Ftp-Get-And-Route.ps1"}, "gpt4o_tokens": 1507, "dataset_split": "shell", "probability_weighted_scores": {"content_quality": 0.3848194892792296, "noise_severity": 0.13476206203283222, "missing_content_severity": 0.1362618790013237, "factual_density": 3.212664918407122, "pretraining_utility": 0.4848729556034407, "math_density": 0.15170007950122877, "code_density": 3.7430916728350145, "reasoning_density": 0.43649743490320625, "education_level": 2.1165650222639694, "creative_writing_quality": -0.2479336757637886}, "score_applicability": {"education_level": 0.9984918871303153, "creative_writing_quality": 0.0011703093293830653}} {"source_group": "shell", "source": "openbmb/UltraData-Stack-v3-L2/shell", "domain": "github.com", "language": "shell", "url": "https://github.com/samrocketman/home/blob/a250717b1d813b073826ba49531c55177fede669/bin/codeowners.sh", "id": "shell-0-3db8fc330396ac88921b5bd504ec8cab", "text": "#!/bin/bash\n# Created by \n# MIT Licensed Copyright 2025 \n# https://github.com/samrocketman/home/blob/main/bin/codeowners.sh\n# Wed Mar 24 21:16:02 EDT 2025\n# Pop!_OS 22.04 LTS\n# Linux 6.9.3-76060903-generic x86_64\n# GNU bash, version 5.1.16(1)-release (x86_64-pc-linux-gnu)\n# git version 2.34.1\n# mawk: 1.3.4 (awk version)\n# yq (https://github.com/mikefarah/yq/) version v4.45.1\n# codeowners 1.2.1 (https://github.com/hmarr/codeowners)\n#\n# DESCRIPTION\n# This script will produce a human and machine readable version of CODEOWNERS\n# ownership of a project. See helpdoc for details or codeowners.sh --help\n\nset -euo pipefail\n\nhelpdoc() {\ncat <<'EOF'\nSYNOPSIS\n codeowners.sh [-] [--skip-unowned-files] [git-ref] [--] [PASSTHROUGH...]\n\n\nDESCRIPTION\n This script will produce a human and machine readable version of CODEOWNERS\n ownership of a project. It relies on `yq` and `codeonwers` CLI.\n\n Converts output of codeowners CLI into YAML. The YAML has two root keys.\n\n - overall_approvers (optional; commented out if no overall approvers)\n - codeowners_by_file (A list of zero or more files)\n\n This script will create a codeowners.yaml file and determine overall\n approvers.\n\n This script will exit non-zero if no CODEOWNERS is available. This is the\n behavior of codeowners CLI.\n\n\nARGUMENTS\n -- (double hyphen)\n Stop all argument processing. Any extra arguments are strictly considered\n PASSTHROUGH options.\n\n - (hyphen)\n Read from stdin. Ignored if PASSTHROUGH options provided.\n\n --skip-unowned-files\n Skip files which are unowned (not covered by CODEOWNERS).\n\n git-ref\n If no additinal args the git comparison will be against the provided\n git-ref. Ignored if PASSTHROUGH options provided.\n\n PASSTHROUGH...\n Pass through one or more options directly as arguments to codeowners CLI.\n Additional arguments can be options for codeowners CLI or they can be files\n and folders for codeowners CLI to evaluate.\n\n\nEXAMPLES\n Get CODEOWNERS of current branch compared to origin/main\n codeowners.sh\n\n Get files to evaluate with CODEOWNERS from stdin\n git diff --name-only HEAD~1 HEAD | bin/codeowners.sh -\n\n Manually provide comparison ref for CODEOWNERS instead of origin/main.\n codeowners.sh upstream/main\n CODEOWNERS_REMOTE=upstream/main codeowners.sh\n\n Evaluate specific files or paths for CODEOWNERS ownership.\n codeowners.sh \"some file\" \"another file\"\n\n Read from stdin\n echo some_file | codeowners.sh -\n\n Skip unowned files in CODEOWNERS review.\n codeowners.sh --skip-unowned-files\n\n Read from stdin and skip unowned files.\n echo hello | codeowners.sh - --skip-unowned-files\n\n\nAUTHOR\n codeowners.sh created by \n MIT Licensed\n\n\nSEE ALSO\n https://github.com/samrocketman/home/blob/main/bin/codeowners.sh\n https://github.com/mikefarah/yq\n https://github.com/hmarr/codeowners\nEOF\n}\n\nget_remote() {\n if [ -n \"${CODEOWNERS_REMOTE:-}\" ]; then\n echo \"${CODEOWNERS_REMOTE}\"\n elif [ -n \"${CHANGE_TARGET:-}\" ]; then\n echo \"origin/${CHANGE_TARGET}\"\n elif git show-ref refs/remotes/origin/main &> /dev/null; then\n echo \"origin/main\"\n elif git show-ref refs/remotes/origin/master &> /dev/null; then\n echo \"origin/master\"\n else\n echo 'ERROR: set CODEOWNERS_REMOTE to git ref for comparison.' >&2\n echo 'Attempted to detect origin/{main,master} but no refs found.' >&2\n exit 1\n fi\n}\n\ncodeowners_awk_script() {\ncat <<'EOF'\nBEGIN {\n FS=\"\\t\"\n print \"codeowners_by_file:\"\n};\n{\n print \" - file: \\\"\"$1\"\\\"\\n reviewers:\";\n for(i=2; i<=NF; i++) {\n print \" - \\\"\"$i\"\\\"\";\n }\n}\nEOF\n}\n\ncodeowners_by_file_is_array() {\n [ \"$(yq '.codeowners_by_file | tag == \"!!seq\"' \"$TMP_DIR\"/codeowners.yaml)\" = true ]\n}\n\nget_all_approvers_from_yaml() {\n if codeowners_by_file_is_array; then\n yq '.codeowners_by_file[].reviewers | .[]' \\\n | LC_ALL=C sort -u \\\n | grep -vF '(anyone_with_write_access)'\n else\n cat > /dev/null\n fi\n}\n\n# This searches codeowners.yaml for overall approvers.\napprover_can_approve_every_file() {\n local anyone_with_write_access approver_can_approve can_approve_all_files\n approver_can_approve='(.reviewers | any_c(. == \"'\"$1\"'\"))'\n anyone_with_write_access='(.reviewers | any_c(. == \"(anyone_with_write_access)\"))'\n can_approve_all_files=\"all_c(${approver_can_approve} or ${anyone_with_write_access})\"\n\n # For each file, check if the provided approve can approver everything.\n # If so, the approver is considered an \"overall approver\".\n if codeowners_by_file_is_array; then\n yq \".codeowners_by_file | ${can_approve_all_files}\" \"$TMP_DIR\"/codeowners.yaml\n fi\n}\n\nget_codeowners_yaml_with_overall_approvers() {\n local overall_approvers\n overall_approvers=()\n while read -r approver; do\n if [ \"$(approver_can_approve_every_file \"$approver\")\" = true ]; then\n overall_approvers+=( \"$approver\" )\n fi\n done <<< \"$(get_all_approvers_from_yaml < \"$TMP_DIR\"/codeowners.yaml)\"\n if [ -n \"${overall_approvers:-}\" ]; then\n echo 'overall_approvers:' > \"$TMP_DIR\"/overall.yaml\n local x\n for x in \"${overall_approvers[@]}\"; do\n echo \" - \\\"${x}\\\"\" >> \"$TMP_DIR\"/overall.yaml\n done\n else\n echo '# overall_approvers: There are no overall approvers from CODEOWNERS.' > \"$TMP_DIR\"/overall.yaml\n fi\n if ! codeowners_by_file_is_array; then\n echo 'codeowners_by_file: [] # no files require specific review from CODEOWNERS.' > \"$TMP_DIR\"/codeowners.yaml\n fi\n cat \"$TMP_DIR\"/overall.yaml \"$TMP_DIR\"/codeowners.yaml\n}\n\nchanged_files() {\n if [ \"$read_stdin\" = true ]; then\n cat\n else\n git diff \\\n --name-only \\\n \"$(git merge-base \"$(get_remote)\" HEAD)\" HEAD\n fi\n}\n\ncodeowners_to_tsv() {\n # https://github.com/hmarr/codeowners/blob/b0f609d21eb672b5cb2973f47a80210185102504/cmd/codeowners/main.go#L117\n # codeowners always has a minimum of two spaces between file and groups\n # codeowners does not offer alternate formatting\n # this function is to account for spaces in file names... hopefully, there are\n # no files with two spaces in their name...\n sed 's/ *\\([@(]\\)/\\t\\1/g' | awk 'BEGIN {FS=\"\\t\";OFS=\"\\t\"};{gsub(\" \", \"\\t\", $2);}{print $0}'\n}\n\ncodeowners_to_yaml() {\n (\n if [ \"${skip_unowned}\" = true ]; then\n cat | (grep -vF '(unowned)' || true;)\n else\n cat\n fi\n ) | \\\n sed 's/(unowned)/(anyone_with_write_access)/g' | \\\n codeowners_to_tsv | awk \"$(codeowners_awk_script)\"\n}\n\n#\n# MAIN\n#\nexport CODEOWNERS_REMOTE TMP_DIR read_stdin skip_unowned\nread_stdin=false\nargs_changed=true\nskip_unowned=false\nTMP_DIR=\"$(mktemp -d)\"\ntrap '[ ! -d \"$TMP_DIR\" ] || rm -r \"$TMP_DIR\"' EXIT\n\nwhile [ \"$#\" -gt 0 ] && [ \"$args_changed\" = true ]; do\n if [ \"$1\" = '--' ]; then\n shift\n break\n fi\n args_changed=false\n for arg in \"$@\"; do\n case \"$arg\" in\n -)\n read_stdin=true\n shift\n args_changed=true\n continue\n ;;\n --skip-unowned-files)\n skip_unowned=true\n shift\n args_changed=true\n continue\n ;;\n -h|--help)\n helpdoc\n exit\n ;;\n esac\n if git show-ref \"$arg\" &> /dev/null; then\n CODEOWNERS_REMOTE=\"$1\"\n shift\n args_changed=true\n continue\n fi\n done\ndone\n# process remaining args (potentially passed directly to codeowners CLI)\n(\n if [ \"$#\" -eq 0 ]; then\n changed_files | tr '\\n' '\\0' | xargs -0 codeowners | codeowners_to_yaml\n else\n codeowners \"$@\" | codeowners_to_yaml\n fi\n) > \"$TMP_DIR\"/codeowners.yaml\nget_codeowners_yaml_with_overall_approvers\n", "text_preview": "#!/bin/bash # Created by # MIT Licensed Copyright 2025 # https://github.com/samrocketman/home/blob/main/bin/codeowners.sh # Wed Mar 24 21:16:02 EDT 2025 # Pop!_OS 22.04 LTS # Linux 6.9.3-76060903-generic x86_64 # GNU bash, ver", "input_sha256": "0124be008c56eb4ee3eeec7df66587f175611703834c46d5d36047d7ebf0ed8f", "text_sha256": "3db8fc330396ac88921b5bd504ec8cab13e389a458501789e318aab23c4aaff7", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 20080, "input_policy": "text-and-optional-url-v1", "label_policy_version": 12, "requested_model": "decision-models/baseten-mammoth-27b-latest", "backend": "baseten", "endpoint": "https://inference.baseten.co/v1/systemone", "status": "needs_review", "training_eligible": false, "label": null, "candidate_label": {"primary": {"main_format": "Technical Writing", "sub_format": null}, "secondary": null, "tertiary": {"main_format": "Legal Notices", "sub_format": null}, "content_structure": []}, "topic": {"primary": {"main_topic": "Programming & Software Engineering", "sub_topic": null}, "secondary": null}, "scores": {"content_quality": 1, "noise_severity": 0, "missing_content_severity": 0, "factual_density": 3, "pretraining_utility": 1, "math_density": 0, "code_density": 4, "reasoning_density": 0, "education_level": 2, "creative_writing_quality": null}, "score_expectations": {"content_quality": 0.9472241147983955, "noise_severity": 0.21759860243491735, "missing_content_severity": 0.06233928696922373, "factual_density": 3.194285463120985, "pretraining_utility": 0.6270243306233192, "math_density": 0.004816909212233725, "code_density": 3.4935529505132203, "reasoning_density": 1.1970434661486191, "education_level": 2.427102634504395, "creative_writing_quality": -0.12383409466895753}, "api_choices": {"primary": "Technical Writing", "secondary": "NONE", "tertiary": "Legal Notices", "education_level": "2", "creative_writing_quality": "not_applicable", "primary_topic": "Programming & Software Engineering", "secondary_topic": "NONE"}, "review_reasons": ["Tertiary without secondary", "tertiary probability 0.4605 below 0.70", "tertiary vs NONE margin 0.0402 below 0.10"], "format_slot_diagnostics": {"comparable": true, "secondary_tertiary_identical": false, "secondary_tertiary_max_abs_gap": 0.2706386116635892, "secondary_choice": "NONE", "tertiary_choice": "Legal Notices"}, "confidence": {"primary": 0.9931993069212812, "secondary": 0.4429116920914966, "tertiary": 0.4370016618195384, "structured_records": 0.03139507155356648, "procedural_steps": 0.23117103211150258, "worked_solution": 0.0033204514930641757, "contextual_dialogue": 4.704194858871345e-06, "content_quality": 0.5402721866039228, "noise_severity": 0.8186678313042355, "missing_content_severity": 0.9480505941923135, "factual_density": 0.5002005157059299, "pretraining_utility": 0.5585207450887032, "math_density": 0.9959859089898052, "code_density": 0.5779607920943505, "reasoning_density": 0.0024637782094840688, "education_level": 0.49880445328840184, "creative_writing_quality": 0.9983281392232184, "primary_topic": 0.9893229256548965, "secondary_topic": 0.86163034625635}, "probability_margin": {"primary": 0.9893957506933149, "secondary": 0.2763023906742159, "tertiary": 0.04017395824750253, "education_level": 0.21627611867001256, "creative_writing_quality": 0.9978794770641283, "primary_topic": 0.9812921850790459, "secondary_topic": 0.7757622824975146}, "raw_probabilities": {"primary": {"Academic Writing": 2.799657793997119e-05, "Content Listing": 2.1654028531646802e-05, "Creative Writing": 1.4860371790472166e-05, "Customer Support Page": 3.23564328955344e-05, "Q&A Forum": 1.2758484170244413e-05, "Discussion Thread": 1.0234273753318224e-05, "Comment Section": 1.599167885222191e-05, "Missing Content": 2.4285313932471526e-05, "Knowledge Article": 0.0001350502343736561, "Legal Notices": 0.00015382487450801084, "News Article": 5.554486954370214e-06, "Organizational Announcement": 1.6117103143954185e-05, "Nonfiction Writing": 1.1838838129354587e-05, "Organizational About Page": 1.6851063846536807e-05, "Personal About Page": 2.0897468841413846e-05, "Personal Blog": 1.0533617759096414e-05, "Product Page": 9.049902963521719e-06, "Spam / Ads": 1.2282088839340371e-05, "Structured Data": 0.00041339245165463047, "Technical Writing": 0.9934826691328945, "Transcript / Interview": 1.928793601465703e-05, "Tutorial / How-To Guide": 0.004086918439579701, "User Reviews": 8.762503891984946e-06, "Other / Unknown": 0.0014368326947393124}, "secondary": {"Academic Writing": 0.0010597180344521842, "Content Listing": 0.001152617453996679, "Creative Writing": 0.000733980478060053, "Customer Support Page": 0.0015269714919324694, "Q&A Forum": 0.0005766410614334031, "Discussion Thread": 0.0004194376896767607, "Comment Section": 0.0007058762640679877, "Missing Content": 0.0009338169445117908, "Knowledge Article": 0.002156375323676217, "Legal Notices": 0.1898213142468017, "News Article": 0.0006044212722621061, "Organizational Announcement": 0.0008418177802800705, "Nonfiction Writing": 0.0007612369976295958, "Organizational About Page": 0.0009951484634735915, "Personal About Page": 0.0006115807012755127, "Personal Blog": 0.0005598431015829285, "Product Page": 0.0005103439107934034, "Spam / Ads": 0.0005797902671140372, "Structured Data": 0.0021775046479600244, "Technical Writing": 0.17916167444866926, "Transcript / Interview": 0.0010337786552882628, "Tutorial / How-To Guide": 0.14651994391002418, "User Reviews": 0.00043246193402018404, "NONE": 0.4661237049210176}, "tertiary": {"Academic Writing": 0.001010495358957776, "Content Listing": 0.00221605168368929, "Creative Writing": 0.0008507276670834899, "Customer Support Page": 0.0009972075716231212, "Q&A Forum": 0.0004475981681136918, "Discussion Thread": 0.0003831046580835289, "Comment Section": 0.0006378939608779117, "Missing Content": 0.000969943225599311, "Knowledge Article": 0.002030364943701161, "Legal Notices": 0.46045992591039103, "News Article": 0.0005097725586088304, "Organizational Announcement": 0.0008059479846709782, "Nonfiction Writing": 0.0006258203141093454, "Organizational About Page": 0.0008570435723415393, "Personal About Page": 0.0006227654659846593, "Personal Blog": 0.00047931900732298984, "Product Page": 0.0004918992299209865, "Spam / Ads": 0.000618914890389059, "Structured Data": 0.002961794223082639, "Technical Writing": 0.03402850753166371, "Transcript / Interview": 0.0008465939405005433, "Tutorial / How-To Guide": 0.0665132306736088, "User Reviews": 0.00034910979678722003, "NONE": 0.4202859676628885}, "structured_records": {"false": 0.9686049284464335, "true": 0.03139507155356648}, "procedural_steps": {"false": 0.7688289678884974, "true": 0.23117103211150258}, "worked_solution": {"false": 0.9966795485069359, "true": 0.0033204514930641757}, "contextual_dialogue": {"false": 0.9999952958051411, "true": 4.704194858871345e-06}, "content_quality": {"-2": 0.005858840396995121, "-1": 0.03420113127131478, "0": 0.2162458469048336, "1": 0.49424543599001236, "2": 0.24944874543684412}, "noise_severity": {"0": 0.8010285198444352, "1": 0.18511733351058607, "2": 0.010429894697635056, "3": 0.002075528260313513, "4": 0.0013487236870301563}, "missing_content_severity": {"0": 0.9519595075295845, "1": 0.036776268557931195, "2": 0.009014883578520616, "3": 0.0014641100816040792, "4": 0.0007852302523597688}, "factual_density": {"0": 0.0031062104632920136, "1": 0.01618278666955726, "2": 0.161052754286959, "3": 0.4226358264432574, "4": 0.3970224221369344}, "pretraining_utility": {"-2": 0.007033548444728686, "-1": 0.05599684614604848, "0": 0.31828105000883544, "1": 0.5402888371419498, "2": 0.07839971825843767}, "math_density": {"0": 0.9967135205670573, "1": 0.0025354010513918878, "2": 0.00028035426599261863, "3": 0.00016209683337671584, "4": 0.0003086272821816134}, "code_density": {"0": 0.0006252244544699726, "1": 0.001432616217506749, "2": 0.0482706120060657, "3": 0.4031070790042479, "4": 0.5465644683177097}, "reasoning_density": {"0": 0.43703655313727113, "1": 0.18885362919161267, "2": 0.18457421977210578, "3": 0.11910099418324671, "4": 0.0704346037157637}, "education_level": {"none": 0.0010471460003268723, "0": 0.0016797796593832914, "1": 0.01126539304062557, "2": 0.5823370444070015, "3": 0.36606092573698895, "4": 0.03760971115567374}, "creative_writing_quality": {"not_applicable": 0.9986067826860153, "-2": 0.00012583323403492713, "-1": 0.00026304926482512495, "0": 0.0007273056218870973, "1": 0.0002118704583346657, "2": 6.515873490294688e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 4.0063931057629214e-05, "Art & Design": 5.2329865601576385e-05, "Law & Crime": 0.00019167618981350253, "Education & Careers": 4.764009210236226e-05, "Entertainment & Media": 2.830538155511623e-05, "Fashion & Beauty": 2.4346163157028754e-05, "Business, Economics & Finance": 0.00022385859809285046, "Food & Dining": 2.5130218918977264e-05, "Games & Gaming": 3.8740004977254786e-05, "Electronics & Hardware": 8.577666310733618e-05, "Health, Healthcare & Wellness": 2.2342030232658103e-05, "History & Geography": 3.659727249798826e-05, "Home, Pets & Hobbies": 6.276356752006233e-05, "Industry & Production": 3.379575607104503e-05, "Language, Literature & Philosophy": 4.2587111699778486e-05, "Politics & Government": 3.0872545837282876e-05, "Religion & Spirituality": 3.077656605722509e-05, "Science, Mathematics & Engineering": 0.00010606817921108964, "Relationships & Community": 3.165630994806853e-05, "Software Usage & Applications": 0.008441397281431616, "Programming & Software Engineering": 0.9897335823604775, "Sports & Fitness": 5.0579909783470177e-05, "Vehicles & Transportation": 1.6179728867940807e-05, "Travel & Tourism": 4.346348650700919e-05, "Other / Uncovered Subject": 0.0005126850559930841, "Unknown / Insufficient Content": 4.6785729480464126e-05}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0005531162119074095, "Art & Design": 0.0003786263446812749, "Law & Crime": 0.004261917623632381, "Education & Careers": 0.0003307983783022881, "Entertainment & Media": 0.0003593344818990207, "Fashion & Beauty": 0.00020064108073237518, "Business, Economics & Finance": 0.0016551043607605602, "Food & Dining": 0.00018235766807249537, "Games & Gaming": 0.0002675123797873662, "Electronics & Hardware": 0.0007291976731247868, "Health, Healthcare & Wellness": 0.00021496053833504333, "History & Geography": 0.00024256685792162198, "Home, Pets & Hobbies": 0.000308150002666398, "Industry & Production": 0.00020558139967252135, "Language, Literature & Philosophy": 0.0001933938345848897, "Politics & Government": 0.00023625159390639226, "Religion & Spirituality": 0.0002581196107738935, "Science, Mathematics & Engineering": 0.0005536875176262188, "Relationships & Community": 0.00017482635851769307, "Software Usage & Applications": 0.09118997351820668, "Programming & Software Engineering": 0.02899071367707999, "Sports & Fitness": 0.00019610728563980572, "Vehicles & Transportation": 0.0001061069918051933, "Travel & Tourism": 0.0003077053973570783, "Other / Uncovered Subject": 0.0009509931972853576, "NONE": 0.8669522560157212}}, "probabilities": {"primary": {"Academic Writing": 2.7996577939971194e-05, "Content Listing": 2.1654028531646805e-05, "Creative Writing": 1.4860371790472168e-05, "Customer Support Page": 3.235643289553441e-05, "Q&A Forum": 1.2758484170244415e-05, "Discussion Thread": 1.0234273753318226e-05, "Comment Section": 1.5991678852221913e-05, "Missing Content": 2.428531393247153e-05, "Knowledge Article": 0.00013505023437365612, "Legal Notices": 0.00015382487450801087, "News Article": 5.554486954370215e-06, "Organizational Announcement": 1.6117103143954188e-05, "Nonfiction Writing": 1.1838838129354589e-05, "Organizational About Page": 1.685106384653681e-05, "Personal About Page": 2.089746884141385e-05, "Personal Blog": 1.0533617759096416e-05, "Product Page": 9.04990296352172e-06, "Spam / Ads": 1.2282088839340373e-05, "Structured Data": 0.0004133924516546305, "Technical Writing": 0.9934826691328946, "Transcript / Interview": 1.9287936014657035e-05, "Tutorial / How-To Guide": 0.004086918439579702, "User Reviews": 8.762503891984948e-06, "Other / Unknown": 0.0014368326947393126}, "secondary": {"Academic Writing": 0.0010597180344521842, "Content Listing": 0.001152617453996679, "Creative Writing": 0.000733980478060053, "Customer Support Page": 0.0015269714919324694, "Q&A Forum": 0.0005766410614334031, "Discussion Thread": 0.0004194376896767607, "Comment Section": 0.0007058762640679877, "Missing Content": 0.0009338169445117908, "Knowledge Article": 0.002156375323676217, "Legal Notices": 0.1898213142468017, "News Article": 0.0006044212722621061, "Organizational Announcement": 0.0008418177802800705, "Nonfiction Writing": 0.0007612369976295958, "Organizational About Page": 0.0009951484634735915, "Personal About Page": 0.0006115807012755127, "Personal Blog": 0.0005598431015829285, "Product Page": 0.0005103439107934034, "Spam / Ads": 0.0005797902671140372, "Structured Data": 0.0021775046479600244, "Technical Writing": 0.17916167444866926, "Transcript / Interview": 0.0010337786552882628, "Tutorial / How-To Guide": 0.14651994391002418, "User Reviews": 0.00043246193402018404, "NONE": 0.4661237049210176}, "tertiary": {"Academic Writing": 0.0010104953589577758, "Content Listing": 0.0022160516836892898, "Creative Writing": 0.0008507276670834897, "Customer Support Page": 0.000997207571623121, "Q&A Forum": 0.0004475981681136917, "Discussion Thread": 0.0003831046580835288, "Comment Section": 0.0006378939608779116, "Missing Content": 0.0009699432255993107, "Knowledge Article": 0.0020303649437011604, "Legal Notices": 0.4604599259103909, "News Article": 0.0005097725586088303, "Organizational Announcement": 0.000805947984670978, "Nonfiction Writing": 0.0006258203141093453, "Organizational About Page": 0.0008570435723415391, "Personal About Page": 0.0006227654659846592, "Personal Blog": 0.00047931900732298973, "Product Page": 0.0004918992299209864, "Spam / Ads": 0.0006189148903890588, "Structured Data": 0.002961794223082638, "Technical Writing": 0.034028507531663706, "Transcript / Interview": 0.0008465939405005431, "Tutorial / How-To Guide": 0.06651323067360879, "User Reviews": 0.00034910979678722, "NONE": 0.4202859676628884}, "structured_records": {"false": 0.9686049284464335, "true": 0.03139507155356648}, "procedural_steps": {"false": 0.7688289678884974, "true": 0.23117103211150258}, "worked_solution": {"false": 0.9966795485069359, "true": 0.0033204514930641757}, "contextual_dialogue": {"false": 0.9999952958051411, "true": 4.704194858871345e-06}, "content_quality": {"-2": 0.005858840396995121, "-1": 0.03420113127131478, "0": 0.2162458469048336, "1": 0.49424543599001236, "2": 0.24944874543684412}, "noise_severity": {"0": 0.8010285198444352, "1": 0.18511733351058607, "2": 0.010429894697635056, "3": 0.002075528260313513, "4": 0.0013487236870301563}, "missing_content_severity": {"0": 0.9519595075295842, "1": 0.03677626855793119, "2": 0.009014883578520615, "3": 0.001464110081604079, "4": 0.0007852302523597685}, "factual_density": {"0": 0.0031062104632920136, "1": 0.01618278666955726, "2": 0.161052754286959, "3": 0.4226358264432574, "4": 0.3970224221369344}, "pretraining_utility": {"-2": 0.007033548444728686, "-1": 0.05599684614604848, "0": 0.31828105000883544, "1": 0.5402888371419498, "2": 0.07839971825843767}, "math_density": {"0": 0.9967135205670571, "1": 0.0025354010513918873, "2": 0.0002803542659926186, "3": 0.0001620968333767158, "4": 0.0003086272821816133}, "code_density": {"0": 0.0006252244544699726, "1": 0.001432616217506749, "2": 0.0482706120060657, "3": 0.4031070790042479, "4": 0.5465644683177097}, "reasoning_density": {"0": 0.43703655313727113, "1": 0.18885362919161267, "2": 0.18457421977210578, "3": 0.11910099418324671, "4": 0.0704346037157637}, "education_level": {"none": 0.0010471460003268725, "0": 0.0016797796593832916, "1": 0.011265393040625571, "2": 0.5823370444070016, "3": 0.366060925736989, "4": 0.03760971115567375}, "creative_writing_quality": {"not_applicable": 0.9986067826860153, "-2": 0.00012583323403492713, "-1": 0.00026304926482512495, "0": 0.0007273056218870973, "1": 0.0002118704583346657, "2": 6.515873490294688e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 4.006393105762922e-05, "Art & Design": 5.232986560157639e-05, "Law & Crime": 0.00019167618981350256, "Education & Careers": 4.764009210236227e-05, "Entertainment & Media": 2.8305381555116232e-05, "Fashion & Beauty": 2.4346163157028758e-05, "Business, Economics & Finance": 0.00022385859809285048, "Food & Dining": 2.5130218918977267e-05, "Games & Gaming": 3.874000497725479e-05, "Electronics & Hardware": 8.57766631073362e-05, "Health, Healthcare & Wellness": 2.2342030232658107e-05, "History & Geography": 3.659727249798827e-05, "Home, Pets & Hobbies": 6.276356752006234e-05, "Industry & Production": 3.3795756071045036e-05, "Language, Literature & Philosophy": 4.258711169977849e-05, "Politics & Government": 3.087254583728288e-05, "Religion & Spirituality": 3.07765660572251e-05, "Science, Mathematics & Engineering": 0.00010606817921108965, "Relationships & Community": 3.1656309948068537e-05, "Software Usage & Applications": 0.008441397281431617, "Programming & Software Engineering": 0.9897335823604776, "Sports & Fitness": 5.057990978347018e-05, "Vehicles & Transportation": 1.617972886794081e-05, "Travel & Tourism": 4.34634865070092e-05, "Other / Uncovered Subject": 0.0005126850559930842, "Unknown / Insufficient Content": 4.678572948046413e-05}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0005531162119074095, "Art & Design": 0.0003786263446812749, "Law & Crime": 0.004261917623632381, "Education & Careers": 0.0003307983783022881, "Entertainment & Media": 0.0003593344818990207, "Fashion & Beauty": 0.00020064108073237518, "Business, Economics & Finance": 0.0016551043607605602, "Food & Dining": 0.00018235766807249537, "Games & Gaming": 0.0002675123797873662, "Electronics & Hardware": 0.0007291976731247868, "Health, Healthcare & Wellness": 0.00021496053833504333, "History & Geography": 0.00024256685792162198, "Home, Pets & Hobbies": 0.000308150002666398, "Industry & Production": 0.00020558139967252135, "Language, Literature & Philosophy": 0.0001933938345848897, "Politics & Government": 0.00023625159390639226, "Religion & Spirituality": 0.0002581196107738935, "Science, Mathematics & Engineering": 0.0005536875176262188, "Relationships & Community": 0.00017482635851769307, "Software Usage & Applications": 0.09118997351820668, "Programming & Software Engineering": 0.02899071367707999, "Sports & Fitness": 0.00019610728563980572, "Vehicles & Transportation": 0.0001061069918051933, "Travel & Tourism": 0.0003077053973570783, "Other / Uncovered Subject": 0.0009509931972853576, "NONE": 0.8669522560157212}}, "probability_diagnostics": {"primary": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "tertiary": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "structured_records": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "procedural_steps": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "worked_solution": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "contextual_dialogue": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "content_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "noise_severity": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "missing_content_severity": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "factual_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "pretraining_utility": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "math_density": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "code_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "reasoning_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "education_level": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "creative_writing_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "primary_topic": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}}, "usage": {"input_tokens": 10778, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 10778, "cached_share": null, "cache_discount_reported": null, "reported_cost_usd": null}, "response_metadata": {"model": "decision-models/baseten-mammoth-27b-latest"}, "scored_at_utc": "2026-10-25T18:34:12.350539+00:00", "scoring_key_slot": "assistant_1", "dataset_uid": "2df577b0-a1be-4334-acf1-94936b0e0d4d", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "6b11348dd02b4ae26e7a9f9cd8b7a76be537bc77bca107db39285f7a06e6159d", "source_metadata": {"uuid": "2df577b0-a1be-4334-acf1-94936b0e0d4d", "repo_name": "samrocketman/home", "relative_path": "bin/codeowners.sh", "category": "TOOL", "algo_rel_score": 0.9285863041877747, "quality_score": 5.14689826965332, "source_meta": {"github_metadata": {"branch": "main", "commit_count": 576, "repo_created_at": "2014-07-22T22:06:39.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 40, "forks": 22, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "9c9a20a6b9b8b016c39daeb5a66a1b2b440787f0", "size_bytes": 7518, "file_timestamp": 1752196020, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "a250717b1d813b073826ba49531c55177fede669"}}, "parsed_source_meta": {"github_metadata": {"branch": "main", "commit_count": 576, "repo_created_at": "2014-07-22T22:06:39.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 40, "forks": 22, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "9c9a20a6b9b8b016c39daeb5a66a1b2b440787f0", "size_bytes": 7518, "file_timestamp": 1752196020, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "a250717b1d813b073826ba49531c55177fede669", "url": "https://github.com/samrocketman/home/blob/a250717b1d813b073826ba49531c55177fede669/bin/codeowners.sh"}, "gpt4o_tokens": 2162, "dataset_split": "shell", "probability_weighted_scores": {"content_quality": 0.9472241147983955, "noise_severity": 0.21759860243491735, "missing_content_severity": 0.06233928696922374, "factual_density": 3.194285463120985, "pretraining_utility": 0.6270243306233192, "math_density": 0.004816909212233726, "code_density": 3.4935529505132203, "reasoning_density": 1.1970434661486191, "education_level": 2.427102634504395, "creative_writing_quality": -0.12383409466895753}, "score_applicability": {"education_level": 0.9989528539996733, "creative_writing_quality": 0.001393217313984762}} {"source_group": "shell", "source": "openbmb/UltraData-Stack-v3-L2/shell", "domain": "github.com", "language": "shell", "url": "https://github.com/Cyberwatch/cbw-security-fixes/blob/922262e4de70d56de86b5d2359e51e3c0b499c75/Red_Hat_7/x86_64/2015/RHSA-2015%3A1513.sh", "id": "shell-0-a8263676cdda3be87dccb3e44bfacb52", "text": "#!/bin/sh\n# - 2017\n#\n# Security fix for RHSA-2015:1513\n#\n# Security announcement date: 2015-07-29 00:37:48 UTC\n# Script generation date: 2017-01-16 21:16:57 UTC\n#\n# Operating System: Red Hat 7\n# Architecture: x86_64\n#\n# Vulnerable packages fix on version:\n# - bind-license.noarch:9.9.4-18.el7_1.3\n# - bind-debuginfo.i686:9.9.4-18.el7_1.3\n# - bind-debuginfo.x86_64:9.9.4-18.el7_1.3\n# - bind-libs.i686:9.9.4-18.el7_1.3\n# - bind-libs.x86_64:9.9.4-18.el7_1.3\n# - bind-libs-lite.i686:9.9.4-18.el7_1.3\n# - bind-libs-lite.x86_64:9.9.4-18.el7_1.3\n# - bind-utils.x86_64:9.9.4-18.el7_1.3\n# - bind.x86_64:9.9.4-18.el7_1.3\n# - bind-chroot.x86_64:9.9.4-18.el7_1.3\n# - bind-devel.i686:9.9.4-18.el7_1.3\n# - bind-devel.x86_64:9.9.4-18.el7_1.3\n# - bind-lite-devel.i686:9.9.4-18.el7_1.3\n# - bind-lite-devel.x86_64:9.9.4-18.el7_1.3\n# - bind-sdb.x86_64:9.9.4-18.el7_1.3\n# - bind-sdb-chroot.x86_64:9.9.4-18.el7_1.3\n# - bind-license.noarch:9.9.4-18.ael7b_1.3\n#\n# Last versions recommanded by security team:\n# - bind-license.noarch:9.9.4-38.el7_3.1\n# - bind-debuginfo.i686:9.9.4-38.el7_3.1\n# - bind-debuginfo.x86_64:9.9.4-38.el7_3.1\n# - bind-libs.i686:9.9.4-38.el7_3.1\n# - bind-libs.x86_64:9.9.4-38.el7_3.1\n# - bind-libs-lite.i686:9.9.4-38.el7_3.1\n# - bind-libs-lite.x86_64:9.9.4-38.el7_3.1\n# - bind-utils.x86_64:9.9.4-38.el7_3.1\n# - bind.x86_64:9.9.4-38.el7_3.1\n# - bind-chroot.x86_64:9.9.4-38.el7_3.1\n# - bind-devel.i686:9.9.4-38.el7_3.1\n# - bind-devel.x86_64:9.9.4-38.el7_3.1\n# - bind-lite-devel.i686:9.9.4-38.el7_3.1\n# - bind-lite-devel.x86_64:9.9.4-38.el7_3.1\n# - bind-sdb.x86_64:9.9.4-38.el7_3.1\n# - bind-sdb-chroot.x86_64:9.9.4-38.el7_3.1\n# - bind-license.noarch:9.9.4-38.el7_3.1\n#\n# CVE List:\n# - CVE-2015-5477\n#\n# More details:\n# - https://www.cyberwatch.fr/vulnerabilites\n#\n# Licence: Released under The MIT License (MIT), See LICENSE FILE\nsudo yum install bind-license.noarch-9.9.4 -y \nsudo yum install bind-debuginfo.i686-9.9.4 -y \nsudo yum install bind-debuginfo.x86_64-9.9.4 -y \nsudo yum install bind-libs.i686-9.9.4 -y \nsudo yum install bind-libs.x86_64-9.9.4 -y \nsudo yum install bind-libs-lite.i686-9.9.4 -y \nsudo yum install bind-libs-lite.x86_64-9.9.4 -y \nsudo yum install bind-utils.x86_64-9.9.4 -y \nsudo yum install bind.x86_64-9.9.4 -y \nsudo yum install bind-chroot.x86_64-9.9.4 -y \nsudo yum install bind-devel.i686-9.9.4 -y \nsudo yum install bind-devel.x86_64-9.9.4 -y \nsudo yum install bind-lite-devel.i686-9.9.4 -y \nsudo yum install bind-lite-devel.x86_64-9.9.4 -y \nsudo yum install bind-sdb.x86_64-9.9.4 -y \nsudo yum install bind-sdb-chroot.x86_64-9.9.4 -y \nsudo yum install bind-license.noarch-9.9.4 -y \n", "text_preview": "#!/bin/sh # - 2017 # # Security fix for RHSA-2015:1513 # # Security announcement date: 2015-07-29 00:37:48 UTC # Script generation date: 2017-01-16 21:16:57 UTC # # Operating System: Red Hat 7 # Architecture: x86_64 # # Vulnerable pa", "input_sha256": "6c5b62132e74eba2eabe061fa590734236245a2cf8926688790522c1c5dd0d7e", "text_sha256": "a8263676cdda3be87dccb3e44bfacb5263922d86d9229a73150c4e3a2f9cec44", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 20081, "input_policy": "text-and-optional-url-v1", "label_policy_version": 12, "requested_model": "decision-models/baseten-mammoth-27b-latest", "backend": "baseten", "endpoint": "https://inference.baseten.co/v1/systemone", "status": "ok", "training_eligible": true, "label": {"primary": {"main_format": "Technical Writing", "sub_format": null}, "secondary": null, "tertiary": null, "content_structure": []}, "candidate_label": null, "topic": {"primary": {"main_topic": "Programming & Software Engineering", "sub_topic": null}, "secondary": null}, "scores": {"content_quality": 0, "noise_severity": 0, "missing_content_severity": 0, "factual_density": 3, "pretraining_utility": -1, "math_density": 0, "code_density": 3, "reasoning_density": 0, "education_level": 2, "creative_writing_quality": null}, "score_expectations": {"content_quality": 0.19481923985202892, "noise_severity": 0.4417062856513305, "missing_content_severity": 0.05431541820360312, "factual_density": 3.0713952339941044, "pretraining_utility": -0.4627455039546654, "math_density": 0.001933295106279083, "code_density": 2.8232418830326056, "reasoning_density": 0.036437021287755195, "education_level": 2.1875521364976422, "creative_writing_quality": -0.4333103557950537}, "api_choices": {"primary": "Technical Writing", "secondary": "NONE", "tertiary": "NONE", "education_level": "2", "creative_writing_quality": "not_applicable", "primary_topic": "Programming & Software Engineering", "secondary_topic": "NONE"}, "review_reasons": [], "format_slot_diagnostics": {"comparable": true, "secondary_tertiary_identical": false, "secondary_tertiary_max_abs_gap": 0.2157859432493761, "secondary_choice": "NONE", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.8170601272204818, "secondary": 0.45768937406384486, "tertiary": 0.4419754780419733, "structured_records": 0.6250466046222817, "procedural_steps": 0.42825698240914817, "worked_solution": 0.00600962568109018, "contextual_dialogue": 7.5556695699981745e-06, "content_quality": 0.3606742760666807, "noise_severity": 0.6319114286238912, "missing_content_severity": 0.9547371514969974, "factual_density": 0.5814359874884236, "pretraining_utility": 0.44849878368565166, "math_density": 0.9983889207447675, "code_density": 0.5014388694910292, "reasoning_density": 0.9696358155935373, "education_level": 0.5792140351947027, "creative_writing_quality": 0.9990098012955873, "primary_topic": 0.5944853039617677, "secondary_topic": 0.5654472686083226}, "probability_margin": {"primary": 0.6887606301629211, "secondary": 0.297801923563624, "tertiary": 0.1739785613522215, "education_level": 0.4382609706759664, "creative_writing_quality": 0.9988451204213336, "primary_topic": 0.2709364321089769, "secondary_topic": 0.36769415655574994}, "raw_probabilities": {"primary": {"Academic Writing": 0.0003997884755335386, "Content Listing": 0.0013619920985935732, "Creative Writing": 0.0002605437092949428, "Customer Support Page": 0.0007663569751262527, "Q&A Forum": 0.0002833531436004214, "Discussion Thread": 0.00016933776600403698, "Comment Section": 0.00027271279595567245, "Missing Content": 0.0003627987282288316, "Knowledge Article": 0.0033396618662736135, "Legal Notices": 0.0005612640127910691, "News Article": 0.0003180981203001226, "Organizational Announcement": 0.0006859455345151438, "Nonfiction Writing": 0.00024071869722085663, "Organizational About Page": 0.00031090412366030756, "Personal About Page": 0.000182671430786993, "Personal Blog": 0.00017433838255945892, "Product Page": 0.00019351792862485413, "Spam / Ads": 0.00033744541836375604, "Structured Data": 0.013755718179549908, "Technical Writing": 0.8246826219196284, "Transcript / Interview": 0.00024729306578175395, "Tutorial / How-To Guide": 0.1359219917567073, "User Reviews": 0.00013384507972973971, "Other / Unknown": 0.015037080791169397}, "secondary": {"Academic Writing": 0.0013038905178091172, "Content Listing": 0.01421356107922164, "Creative Writing": 0.0005701653696604555, "Customer Support Page": 0.0010237853581731785, "Q&A Forum": 0.0004554566832721595, "Discussion Thread": 0.0003429130397235037, "Comment Section": 0.0006214056590953923, "Missing Content": 0.0012599514075438416, "Knowledge Article": 0.018502856638955165, "Legal Notices": 0.0754619951886269, "News Article": 0.0013917930562769754, "Organizational Announcement": 0.0024054472833670943, "Nonfiction Writing": 0.0007876183588716447, "Organizational About Page": 0.0009018801704570647, "Personal About Page": 0.0005573948161356373, "Personal Blog": 0.0005264461050678131, "Product Page": 0.0006896639805366942, "Spam / Ads": 0.0011486756400782838, "Structured Data": 0.18248372658089398, "Technical Writing": 0.08457913873112652, "Transcript / Interview": 0.0006685230275281511, "Tutorial / How-To Guide": 0.12943995803197886, "User Reviews": 0.0003781031310819759, "NONE": 0.480285650144518}, "tertiary": {"Academic Writing": 0.0012406896429549652, "Content Listing": 0.01283050049302697, "Creative Writing": 0.0007864432525826432, "Customer Support Page": 0.0010078908174845772, "Q&A Forum": 0.00048282679221477463, "Discussion Thread": 0.000434567531333271, "Comment Section": 0.0007160899975837563, "Missing Content": 0.0015041121477626005, "Knowledge Article": 0.0142426513791808, "Legal Notices": 0.29124793843800295, "News Article": 0.0017935624920432133, "Organizational Announcement": 0.002879258881557023, "Nonfiction Writing": 0.0008481065482249385, "Organizational About Page": 0.0009810723133701507, "Personal About Page": 0.0005469688785162776, "Personal Blog": 0.00045882279212527066, "Product Page": 0.0009073145772692069, "Spam / Ads": 0.0015405192122631948, "Structured Data": 0.10769434881925162, "Technical Writing": 0.029218672542735535, "Transcript / Interview": 0.0007583275994655583, "Tutorial / How-To Guide": 0.062280697257797675, "User Reviews": 0.00037211780302849406, "NONE": 0.46522649979022446}, "structured_records": {"false": 0.3749533953777183, "true": 0.6250466046222817}, "procedural_steps": {"false": 0.5717430175908518, "true": 0.42825698240914817}, "worked_solution": {"false": 0.9939903743189098, "true": 0.00600962568109018}, "contextual_dialogue": {"false": 0.99999244433043, "true": 7.5556695699981745e-06}, "content_quality": {"-2": 0.051212360114406656, "-1": 0.18376109420516376, "0": 0.3672585351304274, "1": 0.31453096681399834, "2": 0.08323704373600384}, "noise_severity": {"0": 0.6566877892068289, "1": 0.25680702244673914, "2": 0.07788107472481563, "3": 0.005359340731505506, "4": 0.0032647728901109016}, "missing_content_severity": {"0": 0.9579943373042765, "1": 0.03250457564368687, "2": 0.007516522526387128, "3": 0.0011604605954554986, "4": 0.0008241039301938726}, "factual_density": {"0": 0.0027366154820903884, "1": 0.013277349366880985, "2": 0.1806762453298606, "3": 0.5164737653171703, "4": 0.2868360245039978}, "pretraining_utility": {"-2": 0.062273481765941656, "-1": 0.4455923347025368, "0": 0.39348782369538243, "1": 0.08989892539252362, "2": 0.008747434443615533}, "math_density": {"0": 0.9987526861109648, "1": 0.000881072929478332, "2": 0.00016221684995422164, "3": 8.830796151790297e-05, "4": 0.00011571614808464963}, "code_density": {"0": 0.005298529014773517, "1": 0.031888676459420125, "2": 0.30784279682591903, "3": 0.4442123778782021, "4": 0.21075761982168512}, "reasoning_density": {"0": 0.973479654977724, "1": 0.01815346253893736, "2": 0.007175380746117853, "3": 0.0008332096923009025, "4": 0.0003582920449198555}, "education_level": {"none": 0.0020940462735617896, "0": 0.006765068515087308, "1": 0.09060604081220858, "2": 0.6493450293289189, "3": 0.2110840586529525, "4": 0.040105756417271016}, "creative_writing_quality": {"not_applicable": 0.9991748344129894, "-2": 0.0001403626330580647, "-1": 0.00023216159411485485, "0": 0.00032971399165583214, "1": 9.052067023004762e-05, "2": 3.240669795177513e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 0.0002913384667940337, "Art & Design": 0.0005209705215500313, "Law & Crime": 0.0013539242745985666, "Education & Careers": 0.00022495282591678068, "Entertainment & Media": 0.00028662630871253953, "Fashion & Beauty": 0.000278652987876023, "Business, Economics & Finance": 0.0003769994950173681, "Food & Dining": 0.0002544513683872635, "Games & Gaming": 0.00041691395324509927, "Electronics & Hardware": 0.0012461508927122224, "Health, Healthcare & Wellness": 0.00033576180082194404, "History & Geography": 0.00033404795684880524, "Home, Pets & Hobbies": 0.0003102734363670092, "Industry & Production": 0.00035418628478798127, "Language, Literature & Philosophy": 0.0002986634873621191, "Politics & Government": 0.0003789440027136859, "Religion & Spirituality": 0.00027323364393957994, "Science, Mathematics & Engineering": 0.0007174177775701394, "Relationships & Community": 0.00017635944927560913, "Software Usage & Applications": 0.33914559093118435, "Programming & Software Engineering": 0.6100820230401612, "Sports & Fitness": 0.0004514998669326621, "Vehicles & Transportation": 0.00018440307916153348, "Travel & Tourism": 0.00048514359937171854, "Other / Uncovered Subject": 0.04075291131860859, "Unknown / Insufficient Content": 0.00046855923008317914}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0006616864113647305, "Art & Design": 0.0007001846983231228, "Law & Crime": 0.017314498886274295, "Education & Careers": 0.00044986906516056443, "Entertainment & Media": 0.0006321685455792788, "Fashion & Beauty": 0.000467498809230117, "Business, Economics & Finance": 0.0008440058423840664, "Food & Dining": 0.00034795393206110567, "Games & Gaming": 0.0004862229203695313, "Electronics & Hardware": 0.0031952483607365885, "Health, Healthcare & Wellness": 0.0004782957166437704, "History & Geography": 0.0005197116824958394, "Home, Pets & Hobbies": 0.00040492212774345524, "Industry & Production": 0.00041507463838074576, "Language, Literature & Philosophy": 0.0002942936094558432, "Politics & Government": 0.0009279200573446745, "Religion & Spirituality": 0.0004659100832701844, "Science, Mathematics & Engineering": 0.000983359019588785, "Relationships & Community": 0.000299062077095387, "Software Usage & Applications": 0.16933107477699644, "Programming & Software Engineering": 0.2144666786445602, "Sports & Fitness": 0.0003845160752762154, "Vehicles & Transportation": 0.00021553281119663964, "Travel & Tourism": 0.0005360178843690837, "Other / Uncovered Subject": 0.0030174581237891102, "NONE": 0.5821608352003101}}, "probabilities": {"primary": {"Academic Writing": 0.00039978847553353864, "Content Listing": 0.0013619920985935734, "Creative Writing": 0.00026054370929494284, "Customer Support Page": 0.0007663569751262528, "Q&A Forum": 0.00028335314360042145, "Discussion Thread": 0.000169337766004037, "Comment Section": 0.0002727127959556725, "Missing Content": 0.0003627987282288317, "Knowledge Article": 0.003339661866273614, "Legal Notices": 0.0005612640127910692, "News Article": 0.0003180981203001227, "Organizational Announcement": 0.0006859455345151439, "Nonfiction Writing": 0.00024071869722085666, "Organizational About Page": 0.0003109041236603076, "Personal About Page": 0.00018267143078699302, "Personal Blog": 0.00017433838255945895, "Product Page": 0.00019351792862485416, "Spam / Ads": 0.0003374454183637561, "Structured Data": 0.01375571817954991, "Technical Writing": 0.8246826219196285, "Transcript / Interview": 0.000247293065781754, "Tutorial / How-To Guide": 0.13592199175670733, "User Reviews": 0.00013384507972973974, "Other / Unknown": 0.015037080791169399}, "secondary": {"Academic Writing": 0.0013038905178091172, "Content Listing": 0.01421356107922164, "Creative Writing": 0.0005701653696604555, "Customer Support Page": 0.0010237853581731785, "Q&A Forum": 0.0004554566832721595, "Discussion Thread": 0.0003429130397235037, "Comment Section": 0.0006214056590953923, "Missing Content": 0.0012599514075438416, "Knowledge Article": 0.018502856638955165, "Legal Notices": 0.0754619951886269, "News Article": 0.0013917930562769754, "Organizational Announcement": 0.0024054472833670943, "Nonfiction Writing": 0.0007876183588716447, "Organizational About Page": 0.0009018801704570647, "Personal About Page": 0.0005573948161356373, "Personal Blog": 0.0005264461050678131, "Product Page": 0.0006896639805366942, "Spam / Ads": 0.0011486756400782838, "Structured Data": 0.18248372658089398, "Technical Writing": 0.08457913873112652, "Transcript / Interview": 0.0006685230275281511, "Tutorial / How-To Guide": 0.12943995803197886, "User Reviews": 0.0003781031310819759, "NONE": 0.480285650144518}, "tertiary": {"Academic Writing": 0.0012406896429549654, "Content Listing": 0.012830500493026972, "Creative Writing": 0.0007864432525826433, "Customer Support Page": 0.0010078908174845774, "Q&A Forum": 0.0004828267922147747, "Discussion Thread": 0.00043456753133327107, "Comment Section": 0.0007160899975837564, "Missing Content": 0.0015041121477626007, "Knowledge Article": 0.014242651379180802, "Legal Notices": 0.291247938438003, "News Article": 0.0017935624920432135, "Organizational Announcement": 0.0028792588815570236, "Nonfiction Writing": 0.0008481065482249386, "Organizational About Page": 0.000981072313370151, "Personal About Page": 0.0005469688785162777, "Personal Blog": 0.0004588227921252707, "Product Page": 0.000907314577269207, "Spam / Ads": 0.001540519212263195, "Structured Data": 0.10769434881925163, "Technical Writing": 0.029218672542735538, "Transcript / Interview": 0.0007583275994655584, "Tutorial / How-To Guide": 0.06228069725779768, "User Reviews": 0.0003721178030284941, "NONE": 0.4652264997902245}, "structured_records": {"false": 0.3749533953777183, "true": 0.6250466046222817}, "procedural_steps": {"false": 0.5717430175908518, "true": 0.42825698240914817}, "worked_solution": {"false": 0.9939903743189098, "true": 0.00600962568109018}, "contextual_dialogue": {"false": 0.99999244433043, "true": 7.5556695699981745e-06}, "content_quality": {"-2": 0.051212360114406656, "-1": 0.18376109420516376, "0": 0.3672585351304274, "1": 0.31453096681399834, "2": 0.08323704373600384}, "noise_severity": {"0": 0.6566877892068289, "1": 0.25680702244673914, "2": 0.07788107472481563, "3": 0.005359340731505506, "4": 0.0032647728901109016}, "missing_content_severity": {"0": 0.9579943373042766, "1": 0.032504575643686875, "2": 0.007516522526387129, "3": 0.0011604605954554988, "4": 0.0008241039301938727}, "factual_density": {"0": 0.0027366154820903884, "1": 0.013277349366880985, "2": 0.1806762453298606, "3": 0.5164737653171703, "4": 0.2868360245039978}, "pretraining_utility": {"-2": 0.062273481765941656, "-1": 0.4455923347025368, "0": 0.39348782369538243, "1": 0.08989892539252362, "2": 0.008747434443615533}, "math_density": {"0": 0.9987526861109649, "1": 0.0008810729294783321, "2": 0.00016221684995422166, "3": 8.830796151790298e-05, "4": 0.00011571614808464965}, "code_density": {"0": 0.005298529014773518, "1": 0.03188867645942013, "2": 0.3078427968259191, "3": 0.44421237787820217, "4": 0.21075761982168514}, "reasoning_density": {"0": 0.973479654977724, "1": 0.01815346253893736, "2": 0.007175380746117853, "3": 0.0008332096923009025, "4": 0.0003582920449198555}, "education_level": {"none": 0.0020940462735617896, "0": 0.006765068515087308, "1": 0.09060604081220858, "2": 0.6493450293289189, "3": 0.2110840586529525, "4": 0.040105756417271016}, "creative_writing_quality": {"not_applicable": 0.9991748344129894, "-2": 0.0001403626330580647, "-1": 0.00023216159411485485, "0": 0.00032971399165583214, "1": 9.052067023004762e-05, "2": 3.240669795177513e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 0.0002913384667940337, "Art & Design": 0.0005209705215500313, "Law & Crime": 0.0013539242745985666, "Education & Careers": 0.00022495282591678068, "Entertainment & Media": 0.00028662630871253953, "Fashion & Beauty": 0.000278652987876023, "Business, Economics & Finance": 0.0003769994950173681, "Food & Dining": 0.0002544513683872635, "Games & Gaming": 0.00041691395324509927, "Electronics & Hardware": 0.0012461508927122224, "Health, Healthcare & Wellness": 0.00033576180082194404, "History & Geography": 0.00033404795684880524, "Home, Pets & Hobbies": 0.0003102734363670092, "Industry & Production": 0.00035418628478798127, "Language, Literature & Philosophy": 0.0002986634873621191, "Politics & Government": 0.0003789440027136859, "Religion & Spirituality": 0.00027323364393957994, "Science, Mathematics & Engineering": 0.0007174177775701394, "Relationships & Community": 0.00017635944927560913, "Software Usage & Applications": 0.33914559093118435, "Programming & Software Engineering": 0.6100820230401612, "Sports & Fitness": 0.0004514998669326621, "Vehicles & Transportation": 0.00018440307916153348, "Travel & Tourism": 0.00048514359937171854, "Other / Uncovered Subject": 0.04075291131860859, "Unknown / Insufficient Content": 0.00046855923008317914}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0006616864113647306, "Art & Design": 0.0007001846983231229, "Law & Crime": 0.017314498886274298, "Education & Careers": 0.0004498690651605645, "Entertainment & Media": 0.0006321685455792789, "Fashion & Beauty": 0.00046749880923011705, "Business, Economics & Finance": 0.0008440058423840665, "Food & Dining": 0.0003479539320611057, "Games & Gaming": 0.00048622292036953137, "Electronics & Hardware": 0.003195248360736589, "Health, Healthcare & Wellness": 0.0004782957166437705, "History & Geography": 0.0005197116824958395, "Home, Pets & Hobbies": 0.0004049221277434553, "Industry & Production": 0.0004150746383807458, "Language, Literature & Philosophy": 0.00029429360945584326, "Politics & Government": 0.0009279200573446746, "Religion & Spirituality": 0.00046591008327018447, "Science, Mathematics & Engineering": 0.0009833590195887853, "Relationships & Community": 0.00029906207709538704, "Software Usage & Applications": 0.16933107477699647, "Programming & Software Engineering": 0.21446667864456023, "Sports & Fitness": 0.00038451607527621544, "Vehicles & Transportation": 0.00021553281119663967, "Travel & Tourism": 0.0005360178843690838, "Other / Uncovered Subject": 0.0030174581237891107, "NONE": 0.5821608352003103}}, "probability_diagnostics": {"primary": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "tertiary": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "structured_records": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "procedural_steps": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "worked_solution": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "contextual_dialogue": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "content_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "noise_severity": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "missing_content_severity": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "factual_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "pretraining_utility": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "math_density": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "code_density": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "reasoning_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "education_level": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "creative_writing_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "primary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary_topic": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}}, "usage": {"input_tokens": 9975, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 9975, "cached_share": null, "cache_discount_reported": null, "reported_cost_usd": null}, "response_metadata": {"model": "decision-models/baseten-mammoth-27b-latest"}, "scored_at_utc": "2026-10-25T18:34:12.809560+00:00", "scoring_key_slot": "primary", "dataset_uid": "4171e63e-6775-40d0-aee2-561e5e2a1a0d", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "9986083538a45b8e7977becf8ee0de246a07d08e5f27556df661a124e83f9932", "source_metadata": {"uuid": "4171e63e-6775-40d0-aee2-561e5e2a1a0d", "repo_name": "Cyberwatch/cbw-security-fixes", "relative_path": "Red_Hat_7/x86_64/2015/RHSA-2015:1513.sh", "category": "TOOL", "algo_rel_score": 0.9499843716621399, "quality_score": 3.4954915046691895, "source_meta": {"github_metadata": {"branch": "master", "commit_count": 1766, "repo_created_at": "2015-08-19T16:16:18.000Z", "is_fork": false, "is_org_owned": true, "forked_from": null, "stars": 6, "forks": 1, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "723ffa5223c4cc444289d0e2ed9fbe56083627bc", "size_bytes": 2691, "file_timestamp": 1486502097, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "922262e4de70d56de86b5d2359e51e3c0b499c75"}}, "parsed_source_meta": {"github_metadata": {"branch": "master", "commit_count": 1766, "repo_created_at": "2015-08-19T16:16:18.000Z", "is_fork": false, "is_org_owned": true, "forked_from": null, "stars": 6, "forks": 1, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "723ffa5223c4cc444289d0e2ed9fbe56083627bc", "size_bytes": 2691, "file_timestamp": 1486502097, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "922262e4de70d56de86b5d2359e51e3c0b499c75", "url": "https://github.com/Cyberwatch/cbw-security-fixes/blob/922262e4de70d56de86b5d2359e51e3c0b499c75/Red_Hat_7/x86_64/2015/RHSA-2015%3A1513.sh"}, "gpt4o_tokens": 1296, "dataset_split": "shell", "probability_weighted_scores": {"content_quality": 0.19481923985202892, "noise_severity": 0.4417062856513305, "missing_content_severity": 0.05431541820360312, "factual_density": 3.0713952339941044, "pretraining_utility": -0.4627455039546654, "math_density": 0.001933295106279083, "code_density": 2.8232418830326056, "reasoning_density": 0.036437021287755195, "education_level": 2.1875521364976422, "creative_writing_quality": -0.4333103557950537}, "score_applicability": {"education_level": 0.9979059537264383, "creative_writing_quality": 0.0008251655870105745}} {"source_group": "shell", "source": "openbmb/UltraData-Stack-v3-L2/shell", "domain": "github.com", "language": "shell", "url": "https://github.com/MbahPinguinSakti/DndServerAutomation/blob/28f5260c4b508e8667c6c66c551b1856c7771647/install.sh", "id": "shell-0-0c73c426b07536948fe31c4da4019f21", "text": "#!/bin/bash\n\nset -e\n\n# Root Checker\nif [ \"$(id -u)\" -ne 0 ]; then\n echo \"This script must be run as root. Please use 'sudo' or log in as root.\"\n exit 1\nfi\n\n# Checking for internet connection\nwhile true; do\n\n ping -c 1 google.com &>/dev/null &\n ping_pid=$!\n echo -n \"Checking host connections: \"\n for i in {1..10}; do\n if ps -p $ping_pid >/dev/null; then\n printf \">\"\n sleep 0.6\n else\n break\n fi\n done\n\n wait $ping_pid\n\n if [ $? -eq 0 ]; then\n echo \"Internet: OK!\"\n sleep 0.5\n break\n else\n echo \"Internet ERR: not connected\"\n sleep 0.5\n break\n clear\n fi\ndone\n\nhijau=\"\\033[32m\"\nend=\"\\033[0m\"\n\necho \"\"\necho -e \"${hijau} █████╗ ██╗   ██╗████████╗ ██████╗     ██████╗ ███╗   ██╗███████╗${end}\"\necho -e \"${hijau}██╔══██╗██║   ██║╚══██╔══╝██╔═══██╗    ██╔══██╗████╗  ██║██╔════╝${end}\"\necho -e \"${hijau}███████║██║   ██║   ██║   ██║   ██║    ██║  ██║██╔██╗ ██║███████${end}\"\necho -e \"${hijau}██╔══██║██║   ██║   ██║   ██║   ██║    ██║  ██║██║╚██╗██║╚════██║${end}\"\necho -e \"${hijau}██║  ██║╚██████╔╝   ██║   ╚██████╔╝    ██████╔╝██║ ╚████║███████║${end}\"\necho -e \"${hijau}╚═╝  ╚═╝ ╚═════╝    ╚═╝    ╚═════╝     ╚═════╝ ╚═╝  ╚═══╝╚══════╝ ${end}\"\necho -e \"${hijau} by EdWArd ${end}\"\necho \"\"\n\n# Check if bind9 service is running\necho \"Checking bind9 service\"\nif ! systemctl is-active --quiet named; then\n echo \"bind9 does not exist, installing bind9...\"\n apt update\n apt upgrade\n apt install bind9 -y\n echo \"bind9 has been successfully installed\"\nelse\n echo \"bind9 already exists.\"\nfi\n\n# Backup records & zone files\necho \"Backing up files...\"\ncp /etc/bind/db.127 /etc/bind.127.bak\ncp /etc/bind/db.local /etc/bind/local.bak\ncp /etc/bind/named.conf.default-zones /etc/bind/named.conf.default-zones.bak\n\n# Get domain name from user\nread -p \"Enter your domain (e.g., example.com, example.id, example.io): \" domain\n\n# Set forward zone file name\nforward=\"/etc/bind/db.${domain}\"\n\n# Get first octet of IP address\nread -p \"First octet of your IP address: \" first_octet\nreverse=\"/etc/bind/db.${first_octet}\"\n\nsleep 1\n\n# Get IP address from user\nread -p \"Enter your IP address: \" ip_add\necho \"Creating configuration\"\noctets=(${ip_add//./ })\n\n# Remove the fourth octet\noctets=(\"${octets[0]}\" \"${octets[1]}\" \"${octets[2]}\")\n\n# Reverse the order of octets\nreversed_octets=(\"${octets[2]}\" \"${octets[1]}\" \"${octets[0]}\")\n\n# Join the reversed octets with dots\nreversed_ip=\"${reversed_octets[0]}.${reversed_octets[1]}.${reversed_octets[2]}\"\n\necho \"$reversed_ip\"\n\nsleep 1\n\n# Configure forward zone file\ncp /etc/bind/db.127 /etc/bind/db.$first_octet\n\ncp /etc/bind/db.local ${forward}_temp &&\n sed -i \"s/localhost/${domain}/g\" ${forward}_temp &&\n sed -i \"s/127.0.0.1/${ip_add}/g\" ${forward}_temp &&\n sed -i \"/AAA/d\" ${forward}_temp &&\n mv ${forward}_temp ${forward}\n\necho \"${forward} zone has been successfully configured\"\n\nsleep 1\n\n# Configure reverse zone file\ncp /etc/bind/db.127 ${reverse}_temp &&\n sed -i \"s/localhost/${domain}/g\" ${reverse}_temp &&\n mv ${reverse}_temp ${reverse}\n\necho \"${reverse} zone has been successfully configured\"\n\nnamed=\"/etc/bind/named.conf.default-zones\"\n\ncp ${named} ${named}_temp\n\nsed -i \"s/localhost/${domain}/g\" \"${named}_temp\"\n if [ $? -ne 0 ]; then\n echo \"Error in sed-1\"\n else\n echo \"sed done\"\n fi\n\nsed -i \"s/127.in-addr.arpa/${reversed_ip}.in-addr.arpa/g\" \"${named}_temp\"\n if [ $? -ne 0 ]; then\n echo \"Error in sed-1\"\n else\n echo \"sed done\"\n fi\n\nsed -i \"s/db.local/db.${domain}/g\" \"${named}_temp\"\n if [ $? -ne 0 ]; then\n echo \"Error in sed-1\"\n else\n echo \"sed done\"\n fi\n\nsed -i \"s/db.127/db.${first_octet}/g\" \"${named}_temp\"\n if [ $? -ne 0 ]; then\n echo \"Error in sed-1\"\n else\n echo \"sed done\"\n fi\n\nmv ${named}_temp ${named}\n\n#\necho \"Process successfully completed\"\nsleep 0.5\n\necho \"Restarting bind9 service..\"\nsleep 0.2\n\nsystemctl restart bind9.service", "text_preview": "#!/bin/bash set -e # Root Checker if [ \"$(id -u)\" -ne 0 ]; then echo \"This script must be run as root. Please use 'sudo' or log in as root.\" exit 1 fi # Checking for internet connection while true; do ping -c 1 google.com &>/dev/null & ping", "input_sha256": "93cab19af3281db589f4bb9dd58cf3fc41b46b584f9d18e2fc4b73d099a5cfc8", "text_sha256": "0c73c426b07536948fe31c4da4019f211eb10603e709a1759e52c3edf189fd06", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 20082, "input_policy": "text-and-optional-url-v1", "label_policy_version": 12, "requested_model": "decision-models/baseten-mammoth-27b-latest", "backend": "baseten", "endpoint": "https://inference.baseten.co/v1/systemone", "status": "ok", "training_eligible": true, "label": {"primary": {"main_format": "Technical Writing", "sub_format": null}, "secondary": null, "tertiary": null, "content_structure": []}, "candidate_label": null, "topic": {"primary": {"main_topic": "Programming & Software Engineering", "sub_topic": null}, "secondary": null}, "scores": {"content_quality": 0, "noise_severity": 0, "missing_content_severity": 0, "factual_density": 3, "pretraining_utility": 0, "math_density": 0, "code_density": 4, "reasoning_density": 0, "education_level": 2, "creative_writing_quality": null}, "score_expectations": {"content_quality": 0.05497392846313226, "noise_severity": 0.6791565191140967, "missing_content_severity": 0.0157180609053382, "factual_density": 2.908399173930034, "pretraining_utility": 0.32527439345844034, "math_density": 0.08671862064171658, "code_density": 3.7825346565551032, "reasoning_density": 0.7933951194303812, "education_level": 2.309863012946272, "creative_writing_quality": -0.43305857399516384}, "api_choices": {"primary": "Technical Writing", "secondary": "NONE", "tertiary": "NONE", "education_level": "2", "creative_writing_quality": "not_applicable", "primary_topic": "Programming & Software Engineering", "secondary_topic": "NONE"}, "review_reasons": [], "format_slot_diagnostics": {"comparable": true, "secondary_tertiary_identical": false, "secondary_tertiary_max_abs_gap": 0.00992667598940208, "secondary_choice": "NONE", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.9734027700848005, "secondary": 0.9210475965491135, "tertiary": 0.9231232960101732, "structured_records": 0.0008638316673464132, "procedural_steps": 0.2774060686059713, "worked_solution": 0.02136485954289537, "contextual_dialogue": 5.7467386317284e-05, "content_quality": 0.395666212201674, "noise_severity": 0.4340362340715861, "missing_content_severity": 0.9869016159122181, "factual_density": 0.37212287251060217, "pretraining_utility": 0.47649483319496067, "math_density": 0.9277344827985695, "code_density": 0.8187788804625858, "reasoning_density": 0.33883740047468236, "education_level": 0.6066105111592729, "creative_writing_quality": 0.9978886604293136, "primary_topic": 0.8882097634454729, "secondary_topic": 0.6213265857378284}, "probability_margin": {"primary": 0.9552481588570404, "secondary": 0.8910527448300374, "tertiary": 0.899474529147406, "education_level": 0.399622645741305, "creative_writing_quality": 0.9974066558632327, "primary_topic": 0.8007016667571576, "secondary_topic": 0.3852172064558206}, "raw_probabilities": {"primary": {"Academic Writing": 8.494599910091404e-05, "Content Listing": 7.094627768554302e-05, "Creative Writing": 0.00012833253826276988, "Customer Support Page": 5.4933384520679665e-05, "Q&A Forum": 4.777638472872955e-05, "Discussion Thread": 3.468944486640589e-05, "Comment Section": 6.37437467450688e-05, "Missing Content": 7.10643742850953e-05, "Knowledge Article": 0.00026247934990034294, "Legal Notices": 8.836348033955567e-05, "News Article": 2.239974692161516e-05, "Organizational Announcement": 4.0049684628420994e-05, "Nonfiction Writing": 5.221175106223659e-05, "Organizational About Page": 5.497832608265985e-05, "Personal About Page": 6.397864851808939e-05, "Personal Blog": 3.0033182208192933e-05, "Product Page": 3.0149578622745924e-05, "Spam / Ads": 7.382193217237875e-05, "Structured Data": 0.0002470457548154816, "Technical Writing": 0.9745109879979338, "Transcript / Interview": 6.868556217390108e-05, "Tutorial / How-To Guide": 0.019262829140893337, "User Reviews": 2.6860790898834434e-05, "Other / Unknown": 0.004608692922633398}, "secondary": {"Academic Writing": 0.0003261473874397952, "Content Listing": 0.00015472391773602623, "Creative Writing": 0.0061488459405713205, "Customer Support Page": 0.0002679736524784655, "Q&A Forum": 0.00016922691924432922, "Discussion Thread": 0.00010447321402604911, "Comment Section": 0.0002080471847651099, "Missing Content": 0.0002891698656406899, "Knowledge Article": 0.0006413852967085983, "Legal Notices": 0.00028629141975849195, "News Article": 0.0001614490444756224, "Organizational Announcement": 0.00017508172227760765, "Nonfiction Writing": 0.0001755107780651348, "Organizational About Page": 0.0002068400073635688, "Personal About Page": 0.0002849466449802336, "Personal Blog": 0.00018214015094967947, "Product Page": 0.00010654560042308028, "Spam / Ads": 0.0013296201442743439, "Structured Data": 0.0005342283635059816, "Technical Writing": 0.030240089263773078, "Transcript / Interview": 0.0002941972670171751, "Tutorial / How-To Guide": 0.03328453519619636, "User Reviews": 9.125099209555101e-05, "NONE": 0.9243372800262337}, "tertiary": {"Academic Writing": 0.00032475416832208084, "Content Listing": 0.00015487348719195793, "Creative Writing": 0.013147609994882242, "Customer Support Page": 0.00029810611632527376, "Q&A Forum": 0.00014486624068848925, "Discussion Thread": 0.00011310376262306952, "Comment Section": 0.0002486362649045207, "Missing Content": 0.00034051135106626476, "Knowledge Article": 0.0013329200237731998, "Legal Notices": 0.0005547949473703834, "News Article": 0.00015611385500036162, "Organizational Announcement": 0.00021433571154942774, "Nonfiction Writing": 0.00024465490746216554, "Organizational About Page": 0.0003123860120377803, "Personal About Page": 0.0005056902490971937, "Personal Blog": 0.0002218784000192661, "Product Page": 0.00011735973092934935, "Spam / Ads": 0.0069325864842808785, "Structured Data": 0.0006593472622244067, "Technical Writing": 0.020313413274370997, "Transcript / Interview": 0.00038663320385481513, "Tutorial / How-To Guide": 0.026851962862343225, "User Reviews": 9.696967993349015e-05, "NONE": 0.9263264920097493}, "structured_records": {"false": 0.9991361683326536, "true": 0.0008638316673464132}, "procedural_steps": {"false": 0.7225939313940287, "true": 0.2774060686059713}, "worked_solution": {"false": 0.9786351404571046, "true": 0.02136485954289537}, "contextual_dialogue": {"false": 0.9999425326136827, "true": 5.7467386317284e-05}, "content_quality": {"-2": 0.04910214759404933, "-1": 0.23690901325933078, "0": 0.38610598424641046, "1": 0.26567847288985724, "2": 0.06220438201035223}, "noise_severity": {"0": 0.49838014674982717, "1": 0.36385780360118614, "2": 0.10791216653047138, "3": 0.019925150022094027, "4": 0.00992473309642145}, "missing_content_severity": {"0": 0.9893056880850828, "1": 0.006746207989259077, "2": 0.003087855664471206, "3": 0.0006448514576110572, "4": 0.00021539680357588427}, "factual_density": {"0": 0.01775496686668353, "1": 0.07330146862411478, "2": 0.2226588516803414, "3": 0.3553588493702046, "4": 0.3309258634586557}, "pretraining_utility": {"-2": 0.015023613111534178, "-1": 0.12141867713073509, "0": 0.43382209510191483, "1": 0.38273093249938805, "2": 0.047004682156427856}, "math_density": {"0": 0.9357338356371984, "1": 0.05156701007089112, "2": 0.006865850991225654, "3": 0.0019133046143641607, "4": 0.00391999868632041}, "code_density": {"0": 0.00036854925496276284, "1": 0.0008379998519706967, "2": 0.023536661649902323, "3": 0.16640382356932923, "4": 0.808852965673835}, "reasoning_density": {"0": 0.5713012830349306, "1": 0.16282255893843312, "2": 0.19116897525061424, "3": 0.050594121113368626, "4": 0.024113061662653396}, "education_level": {"none": 0.0012090667152606165, "0": 0.002294809205517114, "1": 0.02067020989983495, "2": 0.6721754259660607, "3": 0.2725527802247557, "4": 0.03109770798857089}, "creative_writing_quality": {"not_applicable": 0.9982405503577613, "-2": 0.00025089539605232814, "-1": 0.0004925613698560118, "0": 0.0008338944945285565, "1": 0.0001317893547267439, "2": 5.030902707490026e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 0.00022850437168997796, "Art & Design": 0.00031411488397433573, "Law & Crime": 0.00024686075175376347, "Education & Careers": 0.00021546521207789778, "Entertainment & Media": 0.00047193256470579286, "Fashion & Beauty": 0.0001373199715364587, "Business, Economics & Finance": 0.0002070253951152549, "Food & Dining": 0.00013387754254178683, "Games & Gaming": 0.01053184645725898, "Electronics & Hardware": 0.0005113232467541099, "Health, Healthcare & Wellness": 0.00011578889473421505, "History & Geography": 0.00017471300558104496, "Home, Pets & Hobbies": 0.00018629620524489524, "Industry & Production": 0.00016791333214046528, "Language, Literature & Philosophy": 0.00014623916407762195, "Politics & Government": 0.00010954332444536924, "Religion & Spirituality": 0.0001378498673287507, "Science, Mathematics & Engineering": 0.00038804345808841255, "Relationships & Community": 9.976815834784357e-05, "Software Usage & Applications": 0.0918077211711818, "Programming & Software Engineering": 0.8925093879283393, "Sports & Fitness": 0.00019033080408391797, "Vehicles & Transportation": 0.0001004093554810173, "Travel & Tourism": 0.00014988283831549333, "Other / Uncovered Subject": 0.0005248370432532714, "Unknown / Insufficient Content": 0.0001930050519482486}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.001167739475307342, "Art & Design": 0.0009882652710352321, "Law & Crime": 0.0011031758409270863, "Education & Careers": 0.0005659588453500442, "Entertainment & Media": 0.002783857472407263, "Fashion & Beauty": 0.00034515909936838287, "Business, Economics & Finance": 0.0006513652514815988, "Food & Dining": 0.0003325596766166652, "Games & Gaming": 0.02197220845723771, "Electronics & Hardware": 0.0008949574527444647, "Health, Healthcare & Wellness": 0.0003944521886382828, "History & Geography": 0.00039421902664562317, "Home, Pets & Hobbies": 0.0003918725497794132, "Industry & Production": 0.0003276297978615575, "Language, Literature & Philosophy": 0.00027519650519362284, "Politics & Government": 0.00030652599979826104, "Religion & Spirituality": 0.0004971319642942964, "Science, Mathematics & Engineering": 0.0007338261936718917, "Relationships & Community": 0.0002663837485649246, "Software Usage & Applications": 0.25067374136901444, "Programming & Software Engineering": 0.07693125082827841, "Sports & Fitness": 0.0003718676372716414, "Vehicles & Transportation": 0.00020418887580223797, "Travel & Tourism": 0.0005433953506876441, "Other / Uncovered Subject": 0.000992123297186929, "NONE": 0.635890947824835}}, "probabilities": {"primary": {"Academic Writing": 8.494599910091403e-05, "Content Listing": 7.094627768554301e-05, "Creative Writing": 0.00012833253826276985, "Customer Support Page": 5.493338452067965e-05, "Q&A Forum": 4.777638472872954e-05, "Discussion Thread": 3.4689444866405886e-05, "Comment Section": 6.374374674506879e-05, "Missing Content": 7.106437428509529e-05, "Knowledge Article": 0.0002624793499003429, "Legal Notices": 8.836348033955565e-05, "News Article": 2.2399746921615158e-05, "Organizational Announcement": 4.004968462842099e-05, "Nonfiction Writing": 5.221175106223658e-05, "Organizational About Page": 5.497832608265984e-05, "Personal About Page": 6.397864851808937e-05, "Personal Blog": 3.0033182208192926e-05, "Product Page": 3.0149578622745917e-05, "Spam / Ads": 7.382193217237874e-05, "Structured Data": 0.00024704575481548154, "Technical Writing": 0.9745109879979336, "Transcript / Interview": 6.868556217390107e-05, "Tutorial / How-To Guide": 0.019262829140893334, "User Reviews": 2.6860790898834428e-05, "Other / Unknown": 0.004608692922633397}, "secondary": {"Academic Writing": 0.0003261473874397952, "Content Listing": 0.00015472391773602623, "Creative Writing": 0.0061488459405713205, "Customer Support Page": 0.0002679736524784655, "Q&A Forum": 0.00016922691924432922, "Discussion Thread": 0.00010447321402604911, "Comment Section": 0.0002080471847651099, "Missing Content": 0.0002891698656406899, "Knowledge Article": 0.0006413852967085983, "Legal Notices": 0.00028629141975849195, "News Article": 0.0001614490444756224, "Organizational Announcement": 0.00017508172227760765, "Nonfiction Writing": 0.0001755107780651348, "Organizational About Page": 0.0002068400073635688, "Personal About Page": 0.0002849466449802336, "Personal Blog": 0.00018214015094967947, "Product Page": 0.00010654560042308028, "Spam / Ads": 0.0013296201442743439, "Structured Data": 0.0005342283635059816, "Technical Writing": 0.030240089263773078, "Transcript / Interview": 0.0002941972670171751, "Tutorial / How-To Guide": 0.03328453519619636, "User Reviews": 9.125099209555101e-05, "NONE": 0.9243372800262337}, "tertiary": {"Academic Writing": 0.00032475416832208084, "Content Listing": 0.00015487348719195793, "Creative Writing": 0.013147609994882242, "Customer Support Page": 0.00029810611632527376, "Q&A Forum": 0.00014486624068848925, "Discussion Thread": 0.00011310376262306952, "Comment Section": 0.0002486362649045207, "Missing Content": 0.00034051135106626476, "Knowledge Article": 0.0013329200237731998, "Legal Notices": 0.0005547949473703834, "News Article": 0.00015611385500036162, "Organizational Announcement": 0.00021433571154942774, "Nonfiction Writing": 0.00024465490746216554, "Organizational About Page": 0.0003123860120377803, "Personal About Page": 0.0005056902490971937, "Personal Blog": 0.0002218784000192661, "Product Page": 0.00011735973092934935, "Spam / Ads": 0.0069325864842808785, "Structured Data": 0.0006593472622244067, "Technical Writing": 0.020313413274370997, "Transcript / Interview": 0.00038663320385481513, "Tutorial / How-To Guide": 0.026851962862343225, "User Reviews": 9.696967993349015e-05, "NONE": 0.9263264920097493}, "structured_records": {"false": 0.9991361683326536, "true": 0.0008638316673464132}, "procedural_steps": {"false": 0.7225939313940287, "true": 0.2774060686059713}, "worked_solution": {"false": 0.9786351404571046, "true": 0.02136485954289537}, "contextual_dialogue": {"false": 0.9999425326136827, "true": 5.7467386317284e-05}, "content_quality": {"-2": 0.04910214759404933, "-1": 0.23690901325933078, "0": 0.38610598424641046, "1": 0.26567847288985724, "2": 0.06220438201035223}, "noise_severity": {"0": 0.49838014674982706, "1": 0.3638578036011861, "2": 0.10791216653047135, "3": 0.019925150022094024, "4": 0.009924733096421449}, "missing_content_severity": {"0": 0.9893056880850828, "1": 0.006746207989259077, "2": 0.003087855664471206, "3": 0.0006448514576110572, "4": 0.00021539680357588427}, "factual_density": {"0": 0.01775496686668353, "1": 0.07330146862411478, "2": 0.2226588516803414, "3": 0.3553588493702046, "4": 0.3309258634586557}, "pretraining_utility": {"-2": 0.015023613111534178, "-1": 0.12141867713073509, "0": 0.43382209510191483, "1": 0.38273093249938805, "2": 0.047004682156427856}, "math_density": {"0": 0.9357338356371987, "1": 0.05156701007089114, "2": 0.006865850991225657, "3": 0.0019133046143641613, "4": 0.003919998686320412}, "code_density": {"0": 0.00036854925496276284, "1": 0.0008379998519706967, "2": 0.023536661649902323, "3": 0.16640382356932923, "4": 0.808852965673835}, "reasoning_density": {"0": 0.5713012830349307, "1": 0.16282255893843314, "2": 0.19116897525061427, "3": 0.05059412111336863, "4": 0.0241130616626534}, "education_level": {"none": 0.0012090667152606165, "0": 0.002294809205517114, "1": 0.02067020989983495, "2": 0.6721754259660607, "3": 0.2725527802247557, "4": 0.03109770798857089}, "creative_writing_quality": {"not_applicable": 0.9982405503577615, "-2": 0.0002508953960523282, "-1": 0.0004925613698560119, "0": 0.0008338944945285567, "1": 0.00013178935472674393, "2": 5.0309027074900274e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 0.00022850437168997796, "Art & Design": 0.00031411488397433573, "Law & Crime": 0.00024686075175376347, "Education & Careers": 0.00021546521207789778, "Entertainment & Media": 0.00047193256470579286, "Fashion & Beauty": 0.0001373199715364587, "Business, Economics & Finance": 0.0002070253951152549, "Food & Dining": 0.00013387754254178683, "Games & Gaming": 0.01053184645725898, "Electronics & Hardware": 0.0005113232467541099, "Health, Healthcare & Wellness": 0.00011578889473421505, "History & Geography": 0.00017471300558104496, "Home, Pets & Hobbies": 0.00018629620524489524, "Industry & Production": 0.00016791333214046528, "Language, Literature & Philosophy": 0.00014623916407762195, "Politics & Government": 0.00010954332444536924, "Religion & Spirituality": 0.0001378498673287507, "Science, Mathematics & Engineering": 0.00038804345808841255, "Relationships & Community": 9.976815834784357e-05, "Software Usage & Applications": 0.0918077211711818, "Programming & Software Engineering": 0.8925093879283393, "Sports & Fitness": 0.00019033080408391797, "Vehicles & Transportation": 0.0001004093554810173, "Travel & Tourism": 0.00014988283831549333, "Other / Uncovered Subject": 0.0005248370432532714, "Unknown / Insufficient Content": 0.0001930050519482486}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.001167739475307342, "Art & Design": 0.0009882652710352321, "Law & Crime": 0.0011031758409270863, "Education & Careers": 0.0005659588453500442, "Entertainment & Media": 0.002783857472407263, "Fashion & Beauty": 0.00034515909936838287, "Business, Economics & Finance": 0.0006513652514815988, "Food & Dining": 0.0003325596766166652, "Games & Gaming": 0.02197220845723771, "Electronics & Hardware": 0.0008949574527444647, "Health, Healthcare & Wellness": 0.0003944521886382828, "History & Geography": 0.00039421902664562317, "Home, Pets & Hobbies": 0.0003918725497794132, "Industry & Production": 0.0003276297978615575, "Language, Literature & Philosophy": 0.00027519650519362284, "Politics & Government": 0.00030652599979826104, "Religion & Spirituality": 0.0004971319642942964, "Science, Mathematics & Engineering": 0.0007338261936718917, "Relationships & Community": 0.0002663837485649246, "Software Usage & Applications": 0.25067374136901444, "Programming & Software Engineering": 0.07693125082827841, "Sports & Fitness": 0.0003718676372716414, "Vehicles & Transportation": 0.00020418887580223797, "Travel & Tourism": 0.0005433953506876441, "Other / Uncovered Subject": 0.000992123297186929, "NONE": 0.635890947824835}}, "probability_diagnostics": {"primary": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "secondary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "tertiary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "structured_records": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "procedural_steps": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "worked_solution": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "contextual_dialogue": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "content_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "noise_severity": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "missing_content_severity": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "factual_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "pretraining_utility": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "math_density": {"raw_sum": 0.9999999999999997, "mass_delta": -3.3306690738754696e-16, "missing_mass": 3.3306690738754696e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "code_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "reasoning_density": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "education_level": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "creative_writing_quality": {"raw_sum": 0.9999999999999998, "mass_delta": -2.220446049250313e-16, "missing_mass": 2.220446049250313e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "primary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}}, "usage": {"input_tokens": 9944, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 9944, "cached_share": null, "cache_discount_reported": null, "reported_cost_usd": null}, "response_metadata": {"model": "decision-models/baseten-mammoth-27b-latest"}, "scored_at_utc": "2026-10-25T18:34:14.746846+00:00", "scoring_key_slot": "primary", "dataset_uid": "1f5085aa-2882-4aec-a63b-e8d3fa7c0b6b", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "d88e577c71032ab224fd2fcfc643ad109bdd39c2cdc34b354083427d13682c13", "source_metadata": {"uuid": "1f5085aa-2882-4aec-a63b-e8d3fa7c0b6b", "repo_name": "MbahPinguinSakti/DndServerAutomation", "relative_path": "install.sh", "category": "TOOL", "algo_rel_score": 0.9764387607574463, "quality_score": 3.998743772506714, "source_meta": {"github_metadata": {"branch": "main", "commit_count": 31, "repo_created_at": "2024-09-05T11:14:38.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 3, "forks": 1, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "f28b25c7000f6ae92b71e8b92d781186bcc2f659", "size_bytes": 4654, "file_timestamp": 1725888061, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "28f5260c4b508e8667c6c66c551b1856c7771647"}}, "parsed_source_meta": {"github_metadata": {"branch": "main", "commit_count": 31, "repo_created_at": "2024-09-05T11:14:38.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 3, "forks": 1, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "f28b25c7000f6ae92b71e8b92d781186bcc2f659", "size_bytes": 4654, "file_timestamp": 1725888061, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "28f5260c4b508e8667c6c66c551b1856c7771647", "url": "https://github.com/MbahPinguinSakti/DndServerAutomation/blob/28f5260c4b508e8667c6c66c551b1856c7771647/install.sh"}, "gpt4o_tokens": 1381, "dataset_split": "shell", "probability_weighted_scores": {"content_quality": 0.05497392846313226, "noise_severity": 0.6791565191140967, "missing_content_severity": 0.0157180609053382, "factual_density": 2.908399173930034, "pretraining_utility": 0.32527439345844034, "math_density": 0.08671862064171658, "code_density": 3.7825346565551032, "reasoning_density": 0.7933951194303812, "education_level": 2.309863012946272, "creative_writing_quality": -0.43305857399516384}, "score_applicability": {"education_level": 0.9987909332847393, "creative_writing_quality": 0.001759449642238541}} {"source_group": "shell", "source": "openbmb/UltraData-Stack-v3-L2/shell", "domain": "github.com", "language": "shell", "url": "https://github.com/cms-sw/cmssw/blob/e152e7e2b26dd10cb2a20a5f1bc26ac6f8e4f0e6/RecoTracker/MkFitCore/standalone/web/collectBenchmarks-multi.sh", "id": "shell-0-3c38800cbe34714b6eb742d4332cd56f", "text": "#! /bin/bash\n\n###########\n## Input ##\n###########\n\ndir=${1:-\"benchmarks\"}\nsuite=${2:-\"forConf\"} # which set of benchmarks to run: full, forPR, forConf\nuseARCH=${3:-0}\nwhichcands=${4:-\"build\"}\n\n###################\n## Configuration ##\n###################\nsource xeon_scripts/common-variables.sh ${suite} ${useARCH}\nsource xeon_scripts/init-env.sh\nexport MIMI=\"CE mimi\"\ndeclare -a val_builds=(MIMI)\n\n######################################\n## Move Physics Performance Results ##\n######################################\n\n# Make SimTrack Validation directories\nsimdir=(\"SIMVAL_MTV_iter4\" \"SIMVAL_MTV_SEED_iter4\" \"SIMVAL_MTV_iter22\" \"SIMVAL_MTV_SEED_iter22\" \"SIMVAL_MTV_iter23\" \"SIMVAL_MTV_SEED_iter23\" \"SIMVAL_MTV_iter5\" \"SIMVAL_MTV_SEED_iter5\" \"SIMVAL_MTV_iter24\" \"SIMVAL_MTV_SEED_iter24\" \"SIMVAL_MTV_iter7\" \"SIMVAL_MTV_SEED_iter7\" \"SIMVAL_MTV_iter8\" \"SIMVAL_MTV_SEED_iter8\" \"SIMVAL_MTV_iter9\" \"SIMVAL_MTV_SEED_iter9\" \"SIMVAL_MTV_iter10\" \"SIMVAL_MTV_SEED_iter10\" \"SIMVAL_MTV_iter6\" \"SIMVAL_MTV_SEED_iter6\" )\nsimval=(\"SIMVAL_iter4\" \"SIMVALSEED_iter4\" \"SIMVAL_iter22\" \"SIMVALSEED_iter22\" \"SIMVAL_iter23\" \"SIMVALSEED_iter23\" \"SIMVAL_iter5\" \"SIMVALSEED_iter5\" \"SIMVAL_iter24\" \"SIMVALSEED_iter24\" \"SIMVAL_iter7\" \"SIMVALSEED_iter7\" \"SIMVAL_iter8\" \"SIMVALSEED_iter8\" \"SIMVAL_iter9\" \"SIMVALSEED_iter9\" \"SIMVAL_iter10\" \"SIMVALSEED_iter10\" \"SIMVAL_iter6\" \"SIMVALSEED_iter6\" )\n\nfor((i=0;i<${#simdir[@]};++i));do\n\nmkdir -p ${dir}/${simdir[i]}\nmkdir -p ${dir}/${simdir[i]}/logx\nmkdir -p ${dir}/${simdir[i]}/diffs\nmkdir -p ${dir}/${simdir[i]}/nHits\nmkdir -p ${dir}/${simdir[i]}/score\n\n# Move text file dumps for SimTrack Validation\nfor build in \"${val_builds[@]}\"\ndo echo ${!build} | while read -r bN bO\n do\n vBase=${val_arch}_${sample}_${bN}\n mv \"validation\"_${vBase}_${simval[i]}/\"totals_validation\"_${vBase}_${simval[i]}.txt ${dir}/${simdir[i]}\n done\ndone\n\n# Move dummy CMSSW text file (SimTrack Validation)\nvBase=${val_arch}_${sample}_CMSSW\nmv validation_${vBase}_${simval[i]}/totals_validation_${vBase}_${simval[i]}.txt ${dir}/${simdir[i]}\n\n# Move rate plots for SimTrack Validation\nfor rate in eff ineff_brl ineff_trans ineff_ec dr fr\ndo\n for pt in 0p0 0p9 2p0\n do\n for var in phi eta nLayers\n do\n mv ${val_arch}_${sample}_${rate}_${var}_${whichcands}_\"pt\"${pt}_${simval[i]}.png ${dir}/${simdir[i]}\n done\n done\n\n # only copy pt > 0 for pt rate plots\n for var in pt pt_zoom\n do\n mv ${val_arch}_${sample}_${rate}_${var}_${whichcands}_\"pt0p0\"_${simval[i]}.png ${dir}/${simdir[i]}\n done\n\n mv ${val_arch}_${sample}_${rate}_\"pt_logx\"_${whichcands}_\"pt0p0\"_${simval[i]}.png ${dir}/${simdir[i]}/logx\ndone\n\n# Move kinematic diff plots for SimTrack Validation\nfor coll in bestmatch allmatch\ndo\n for var in nHits invpt phi eta\n do\n for pt in 0p0 0p9 2p0\n do\n mv ${val_arch}_${sample}_${coll}_\"d\"${var}_${whichcands}_\"pt\"${pt}_${simval[i]}.png ${dir}/${simdir[i]}/diffs\n done\n done\ndone\n\n# Move track quality plots for SimTrack Validation (nHits,score)\nfor coll in allreco fake bestmatch allmatch\ndo\n for pt in 0p0 0p9 2p0\n do\n for qual in nHits score\n do\n mv ${val_arch}_${sample}_${coll}_${qual}_${whichcands}_\"pt\"${pt}_${simval[i]}.png ${dir}/${simdir[i]}/${qual}\n done\n done\ndone\ndone\n\n# Final message\necho \"Finished collecting benchmark plots into ${dir}!\"\n\nfind ${dir} -mindepth 0 -type d -exec cp web/index.php {} \\;\n\nrm -rf log_*.txt\nrm -rf *.root\nrm -rf *.png\nrm -rf validation_*\n\n", "text_preview": "#! /bin/bash ########### ## Input ## ########### dir=${1:-\"benchmarks\"} suite=${2:-\"forConf\"} # which set of benchmarks to run: full, forPR, forConf useARCH=${3:-0} whichcands=${4:-\"build\"} ################### ## Configuration ## ##########", "input_sha256": "728f0e0c91259f1e66be416f3abb38eb37ab0bee5b66bfc6782df2522fad7a20", "text_sha256": "3c38800cbe34714b6eb742d4332cd56f79e97884ef5a37a600a4dda95822830a", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 20084, "input_policy": "text-and-optional-url-v1", "label_policy_version": 12, "requested_model": "decision-models/baseten-mammoth-27b-latest", "backend": "baseten", "endpoint": "https://inference.baseten.co/v1/systemone", "status": "needs_review", "training_eligible": false, "label": null, "candidate_label": {"primary": {"main_format": "Technical Writing", "sub_format": null}, "secondary": null, "tertiary": null, "content_structure": []}, "topic": {"primary": {"main_topic": "Programming & Software Engineering", "sub_topic": null}, "secondary": {"main_topic": "Science, Mathematics & Engineering", "sub_topic": null}}, "scores": {"content_quality": 1, "noise_severity": 0, "missing_content_severity": 0, "factual_density": 3, "pretraining_utility": 0, "math_density": 0, "code_density": 4, "reasoning_density": 0, "education_level": 3, "creative_writing_quality": null}, "score_expectations": {"content_quality": 0.8239888396388163, "noise_severity": 0.056362168041049994, "missing_content_severity": 0.006261771769057115, "factual_density": 2.758706257161186, "pretraining_utility": -0.006652294418103145, "math_density": 0.041780064842931994, "code_density": 3.905042692149135, "reasoning_density": 0.06879159761832156, "education_level": 2.8471627676905436, "creative_writing_quality": -0.31694797277181946}, "api_choices": {"primary": "Technical Writing", "secondary": "NONE", "tertiary": "NONE", "education_level": "3", "creative_writing_quality": "not_applicable", "primary_topic": "Programming & Software Engineering", "secondary_topic": "Science, Mathematics & Engineering"}, "review_reasons": ["secondary_topic probability 0.4473 below 0.70", "secondary_topic vs NONE margin 0.0498 below 0.10"], "format_slot_diagnostics": {"comparable": true, "secondary_tertiary_identical": false, "secondary_tertiary_max_abs_gap": 0.010429152695598853, "secondary_choice": "NONE", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.981657607406584, "secondary": 0.9416183795400571, "tertiary": 0.9525009736572038, "structured_records": 0.057316848095607616, "procedural_steps": 0.12808207101236593, "worked_solution": 0.0008887427006743482, "contextual_dialogue": 5.778738625653445e-06, "content_quality": 0.5321142781716108, "noise_severity": 0.9530315266324584, "missing_content_severity": 0.994781856859119, "factual_density": 0.34605143694018703, "pretraining_utility": 0.5120442757057488, "math_density": 0.9651832792975567, "code_density": 0.9208689101242791, "reasoning_density": 0.9426736686513987, "education_level": 0.3330317172148762, "creative_writing_quality": 0.9994925108124466, "primary_topic": 0.9040388787910447, "secondary_topic": 0.4251915971583186}, "probability_margin": {"primary": 0.9713690957212368, "secondary": 0.9219815896094954, "tertiary": 0.9400239968903612, "education_level": 0.10910921343899632, "creative_writing_quality": 0.9993908359882792, "primary_topic": 0.8221225898150257, "secondary_topic": 0.049810486234626694}, "raw_probabilities": {"primary": {"Academic Writing": 9.079804773487703e-05, "Content Listing": 5.781545348693341e-05, "Creative Writing": 4.431666248404483e-05, "Customer Support Page": 2.5644566485126647e-05, "Q&A Forum": 2.7187858478064897e-05, "Discussion Thread": 2.2374074120842632e-05, "Comment Section": 3.0338420335506514e-05, "Missing Content": 4.97173194959648e-05, "Knowledge Article": 0.0001032414619414427, "Legal Notices": 4.732347295468697e-05, "News Article": 1.598781106721997e-05, "Organizational Announcement": 3.2979124199727946e-05, "Nonfiction Writing": 2.981153601284635e-05, "Organizational About Page": 3.5816889822437356e-05, "Personal About Page": 2.4749928663838892e-05, "Personal Blog": 1.9349459450773577e-05, "Product Page": 1.7813083881017092e-05, "Spam / Ads": 2.977295238898886e-05, "Structured Data": 0.0010000939167944232, "Technical Writing": 0.9824218737646431, "Transcript / Interview": 4.2947734341011814e-05, "Tutorial / How-To Guide": 0.011052778043406361, "User Reviews": 1.6586468166483076e-05, "Other / Unknown": 0.0047606819496442635}, "secondary": {"Academic Writing": 0.0016206752885359575, "Content Listing": 0.0006235738062557614, "Creative Writing": 0.00017754725128509358, "Customer Support Page": 0.00013515992996769244, "Q&A Forum": 8.784462369448224e-05, "Discussion Thread": 7.169173526388884e-05, "Comment Section": 0.000132293130361744, "Missing Content": 0.00022648416296141977, "Knowledge Article": 0.0006661467771079694, "Legal Notices": 0.00013481865149182236, "News Article": 0.00012502813396284742, "Organizational Announcement": 0.00012190157565555493, "Nonfiction Writing": 0.00012591246127521938, "Organizational About Page": 0.0001263539853262983, "Personal About Page": 9.652446033713018e-05, "Personal Blog": 0.00010865119068163746, "Product Page": 6.351884026305733e-05, "Spam / Ads": 0.00011315156276164271, "Structured Data": 0.012013603388899936, "Technical Writing": 0.022069357449726, "Transcript / Interview": 0.0001521968131733716, "Tutorial / How-To Guide": 0.016898650662816424, "User Reviews": 5.796705897357709e-05, "NONE": 0.9440509470592214}, "tertiary": {"Academic Writing": 0.002737921695928366, "Content Listing": 0.0008201002787958022, "Creative Writing": 0.0001340421737187029, "Customer Support Page": 9.519169384360149e-05, "Q&A Forum": 5.921540615475075e-05, "Discussion Thread": 5.203888888206915e-05, "Comment Section": 0.00010154293480426129, "Missing Content": 0.000264952226808885, "Knowledge Article": 0.0009074575198095327, "Legal Notices": 0.00018527144239950278, "News Article": 0.00010179769804185482, "Organizational Announcement": 0.000112463027463547, "Nonfiction Writing": 0.00011825362247276685, "Organizational About Page": 0.00011764210540016399, "Personal About Page": 7.062303653386085e-05, "Personal Blog": 7.790784612239127e-05, "Product Page": 5.8313370421423104e-05, "Spam / Ads": 9.125352103215892e-05, "Structured Data": 0.011013933784087118, "Technical Writing": 0.014456102864459086, "Transcript / Interview": 0.00010799678634804728, "Tutorial / How-To Guide": 0.013794320200219472, "User Reviews": 4.155812143233383e-05, "NONE": 0.9544800997548203}, "structured_records": {"false": 0.9426831519043923, "true": 0.057316848095607616}, "procedural_steps": {"false": 0.8719179289876341, "true": 0.12808207101236593}, "worked_solution": {"false": 0.9991112572993257, "true": 0.0008887427006743482}, "contextual_dialogue": {"false": 0.9999942212613744, "true": 5.778738625653445e-06}, "content_quality": {"-2": 0.011943395745735252, "-1": 0.04077833664529333, "0": 0.25135015274983297, "1": 0.5032022619426968, "2": 0.19272585291644165}, "noise_severity": {"0": 0.9522196186548997, "1": 0.04157295980142596, "2": 0.00454214198887594, "3": 0.0009561939573218663, "4": 0.0007090855974766383}, "missing_content_severity": {"0": 0.9967272373100409, "1": 0.0011985257884268075, "2": 0.0013286165758009858, "3": 0.0005764684738966381, "4": 0.00016915185183460506}, "factual_density": {"0": 0.0327066422221739, "1": 0.08389657341319438, "2": 0.24710293576238426, "3": 0.3645715821857667, "4": 0.27172226641648073}, "pretraining_utility": {"-2": 0.026271154949318375, "-1": 0.2435572718869655, "0": 0.4710183544904004, "1": 0.22885914997913212, "2": 0.03029406869418349}, "math_density": {"0": 0.969015912603367, "1": 0.026005838154914467, "2": 0.0015542595831058905, "3": 0.001030251112645056, "4": 0.0023937385459676438}, "code_density": {"0": 0.00029060019077612625, "1": 0.0005286651260215068, "2": 0.008646590843659478, "3": 0.07491573002237711, "4": 0.9156184138171658}, "reasoning_density": {"0": 0.9477941090834502, "1": 0.03825577817533837, "2": 0.011983296306028528, "3": 0.0012980389098063863, "4": 0.0006687775253767449}, "education_level": {"none": 0.001701124250132923, "0": 0.0021898003912951994, "1": 0.00925201507091333, "2": 0.33508388424006713, "3": 0.44419309767906345, "4": 0.207580078368528}, "creative_writing_quality": {"not_applicable": 0.9995770923437055, "-2": 6.837422017341197e-05, "-1": 9.108823617095591e-05, "0": 0.00018625635542637332, "1": 6.058073686142367e-05, "2": 1.6608107662103243e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 0.00010890916264091457, "Art & Design": 0.00020900091686121898, "Law & Crime": 0.00018427036203085676, "Education & Careers": 0.0001295374307214676, "Entertainment & Media": 0.00012247146869740996, "Fashion & Beauty": 9.751016298974768e-05, "Business, Economics & Finance": 0.00016129136541450552, "Food & Dining": 0.00011284779493822198, "Games & Gaming": 0.00016108829788344796, "Electronics & Hardware": 0.0005083369449116679, "Health, Healthcare & Wellness": 0.00021918351441060715, "History & Geography": 0.0001875967085469898, "Home, Pets & Hobbies": 0.00011764898847166353, "Industry & Production": 0.00016774367615592212, "Language, Literature & Philosophy": 0.00011667294695035172, "Politics & Government": 8.888686390327243e-05, "Religion & Spirituality": 0.00010863971011290748, "Science, Mathematics & Engineering": 0.08560710133020952, "Relationships & Community": 5.382268120665867e-05, "Software Usage & Applications": 0.001208395057593722, "Programming & Software Engineering": 0.9077296911452353, "Sports & Fitness": 0.00015174516511866324, "Vehicles & Transportation": 8.882242036043034e-05, "Travel & Tourism": 0.00014646764666052816, "Other / Uncovered Subject": 0.0019290918571529905, "Unknown / Insufficient Content": 0.00028322638082090273}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0006105274828178945, "Art & Design": 0.0009052842440840199, "Law & Crime": 0.0006965793115329764, "Education & Careers": 0.0005025756080200568, "Entertainment & Media": 0.0005077220717751823, "Fashion & Beauty": 0.0003925076759962185, "Business, Economics & Finance": 0.0005468452303297037, "Food & Dining": 0.00030242562028510913, "Games & Gaming": 0.0004384637784120446, "Electronics & Hardware": 0.0014234882720006435, "Health, Healthcare & Wellness": 0.0006958499493297762, "History & Geography": 0.0005369919292922774, "Home, Pets & Hobbies": 0.0003236249685830468, "Industry & Production": 0.00042320826774638827, "Language, Literature & Philosophy": 0.00025191808468205717, "Politics & Government": 0.0003253680202168693, "Religion & Spirituality": 0.0005001254606775445, "Science, Mathematics & Engineering": 0.4472996126522294, "Relationships & Community": 0.0001857987228128851, "Software Usage & Applications": 0.002730145840517291, "Programming & Software Engineering": 0.13977153441308185, "Sports & Fitness": 0.00045535703729280007, "Vehicles & Transportation": 0.00022951056577029448, "Travel & Tourism": 0.0005247596699781237, "Other / Uncovered Subject": 0.0019306487049329617, "NONE": 0.3974891264176027}}, "probabilities": {"primary": {"Academic Writing": 9.079804773487703e-05, "Content Listing": 5.781545348693341e-05, "Creative Writing": 4.431666248404483e-05, "Customer Support Page": 2.5644566485126647e-05, "Q&A Forum": 2.7187858478064897e-05, "Discussion Thread": 2.2374074120842632e-05, "Comment Section": 3.0338420335506514e-05, "Missing Content": 4.97173194959648e-05, "Knowledge Article": 0.0001032414619414427, "Legal Notices": 4.732347295468697e-05, "News Article": 1.598781106721997e-05, "Organizational Announcement": 3.2979124199727946e-05, "Nonfiction Writing": 2.981153601284635e-05, "Organizational About Page": 3.5816889822437356e-05, "Personal About Page": 2.4749928663838892e-05, "Personal Blog": 1.9349459450773577e-05, "Product Page": 1.7813083881017092e-05, "Spam / Ads": 2.977295238898886e-05, "Structured Data": 0.0010000939167944232, "Technical Writing": 0.9824218737646431, "Transcript / Interview": 4.2947734341011814e-05, "Tutorial / How-To Guide": 0.011052778043406361, "User Reviews": 1.6586468166483076e-05, "Other / Unknown": 0.0047606819496442635}, "secondary": {"Academic Writing": 0.0016206752885359575, "Content Listing": 0.0006235738062557614, "Creative Writing": 0.00017754725128509358, "Customer Support Page": 0.00013515992996769244, "Q&A Forum": 8.784462369448224e-05, "Discussion Thread": 7.169173526388884e-05, "Comment Section": 0.000132293130361744, "Missing Content": 0.00022648416296141977, "Knowledge Article": 0.0006661467771079694, "Legal Notices": 0.00013481865149182236, "News Article": 0.00012502813396284742, "Organizational Announcement": 0.00012190157565555493, "Nonfiction Writing": 0.00012591246127521938, "Organizational About Page": 0.0001263539853262983, "Personal About Page": 9.652446033713018e-05, "Personal Blog": 0.00010865119068163746, "Product Page": 6.351884026305733e-05, "Spam / Ads": 0.00011315156276164271, "Structured Data": 0.012013603388899936, "Technical Writing": 0.022069357449726, "Transcript / Interview": 0.0001521968131733716, "Tutorial / How-To Guide": 0.016898650662816424, "User Reviews": 5.796705897357709e-05, "NONE": 0.9440509470592214}, "tertiary": {"Academic Writing": 0.002737921695928366, "Content Listing": 0.0008201002787958022, "Creative Writing": 0.0001340421737187029, "Customer Support Page": 9.519169384360149e-05, "Q&A Forum": 5.921540615475075e-05, "Discussion Thread": 5.203888888206915e-05, "Comment Section": 0.00010154293480426129, "Missing Content": 0.000264952226808885, "Knowledge Article": 0.0009074575198095327, "Legal Notices": 0.00018527144239950278, "News Article": 0.00010179769804185482, "Organizational Announcement": 0.000112463027463547, "Nonfiction Writing": 0.00011825362247276685, "Organizational About Page": 0.00011764210540016399, "Personal About Page": 7.062303653386085e-05, "Personal Blog": 7.790784612239127e-05, "Product Page": 5.8313370421423104e-05, "Spam / Ads": 9.125352103215892e-05, "Structured Data": 0.011013933784087118, "Technical Writing": 0.014456102864459086, "Transcript / Interview": 0.00010799678634804728, "Tutorial / How-To Guide": 0.013794320200219472, "User Reviews": 4.155812143233383e-05, "NONE": 0.9544800997548203}, "structured_records": {"false": 0.9426831519043923, "true": 0.057316848095607616}, "procedural_steps": {"false": 0.8719179289876341, "true": 0.12808207101236593}, "worked_solution": {"false": 0.9991112572993257, "true": 0.0008887427006743482}, "contextual_dialogue": {"false": 0.9999942212613744, "true": 5.778738625653445e-06}, "content_quality": {"-2": 0.011943395745735252, "-1": 0.04077833664529333, "0": 0.25135015274983297, "1": 0.5032022619426968, "2": 0.19272585291644165}, "noise_severity": {"0": 0.9522196186548997, "1": 0.04157295980142596, "2": 0.00454214198887594, "3": 0.0009561939573218663, "4": 0.0007090855974766383}, "missing_content_severity": {"0": 0.996727237310041, "1": 0.0011985257884268078, "2": 0.001328616575800986, "3": 0.0005764684738966382, "4": 0.00016915185183460509}, "factual_density": {"0": 0.0327066422221739, "1": 0.08389657341319438, "2": 0.24710293576238426, "3": 0.3645715821857667, "4": 0.27172226641648073}, "pretraining_utility": {"-2": 0.02627115494931838, "-1": 0.24355727188696552, "0": 0.47101835449040047, "1": 0.22885914997913215, "2": 0.030294068694183492}, "math_density": {"0": 0.969015912603367, "1": 0.026005838154914467, "2": 0.0015542595831058905, "3": 0.001030251112645056, "4": 0.0023937385459676438}, "code_density": {"0": 0.00029060019077612625, "1": 0.0005286651260215068, "2": 0.008646590843659478, "3": 0.07491573002237711, "4": 0.9156184138171658}, "reasoning_density": {"0": 0.94779410908345, "1": 0.038255778175338366, "2": 0.011983296306028525, "3": 0.001298038909806386, "4": 0.0006687775253767448}, "education_level": {"none": 0.001701124250132923, "0": 0.0021898003912951994, "1": 0.00925201507091333, "2": 0.33508388424006713, "3": 0.44419309767906345, "4": 0.207580078368528}, "creative_writing_quality": {"not_applicable": 0.9995770923437057, "-2": 6.837422017341198e-05, "-1": 9.108823617095593e-05, "0": 0.00018625635542637338, "1": 6.0580736861423684e-05, "2": 1.6608107662103246e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 0.00010890916264091458, "Art & Design": 0.000209000916861219, "Law & Crime": 0.00018427036203085679, "Education & Careers": 0.00012953743072146762, "Entertainment & Media": 0.00012247146869740999, "Fashion & Beauty": 9.75101629897477e-05, "Business, Economics & Finance": 0.00016129136541450555, "Food & Dining": 0.00011284779493822199, "Games & Gaming": 0.00016108829788344798, "Electronics & Hardware": 0.000508336944911668, "Health, Healthcare & Wellness": 0.00021918351441060717, "History & Geography": 0.00018759670854698982, "Home, Pets & Hobbies": 0.00011764898847166354, "Industry & Production": 0.00016774367615592214, "Language, Literature & Philosophy": 0.00011667294695035173, "Politics & Government": 8.888686390327245e-05, "Religion & Spirituality": 0.0001086397101129075, "Science, Mathematics & Engineering": 0.08560710133020953, "Relationships & Community": 5.3822681206658675e-05, "Software Usage & Applications": 0.0012083950575937222, "Programming & Software Engineering": 0.9077296911452354, "Sports & Fitness": 0.00015174516511866327, "Vehicles & Transportation": 8.882242036043035e-05, "Travel & Tourism": 0.0001464676466605282, "Other / Uncovered Subject": 0.0019290918571529907, "Unknown / Insufficient Content": 0.0002832263808209028}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0006105274828178945, "Art & Design": 0.0009052842440840199, "Law & Crime": 0.0006965793115329764, "Education & Careers": 0.0005025756080200568, "Entertainment & Media": 0.0005077220717751823, "Fashion & Beauty": 0.0003925076759962185, "Business, Economics & Finance": 0.0005468452303297037, "Food & Dining": 0.00030242562028510913, "Games & Gaming": 0.0004384637784120446, "Electronics & Hardware": 0.0014234882720006435, "Health, Healthcare & Wellness": 0.0006958499493297762, "History & Geography": 0.0005369919292922774, "Home, Pets & Hobbies": 0.0003236249685830468, "Industry & Production": 0.00042320826774638827, "Language, Literature & Philosophy": 0.00025191808468205717, "Politics & Government": 0.0003253680202168693, "Religion & Spirituality": 0.0005001254606775445, "Science, Mathematics & Engineering": 0.4472996126522294, "Relationships & Community": 0.0001857987228128851, "Software Usage & Applications": 0.002730145840517291, "Programming & Software Engineering": 0.13977153441308185, "Sports & Fitness": 0.00045535703729280007, "Vehicles & Transportation": 0.00022951056577029448, "Travel & Tourism": 0.0005247596699781237, "Other / Uncovered Subject": 0.0019306487049329617, "NONE": 0.3974891264176027}}, "probability_diagnostics": {"primary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "tertiary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "structured_records": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "procedural_steps": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "worked_solution": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "contextual_dialogue": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "content_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "noise_severity": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "missing_content_severity": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "factual_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "pretraining_utility": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "math_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "code_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "reasoning_density": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "education_level": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "creative_writing_quality": {"raw_sum": 0.9999999999999998, "mass_delta": -2.220446049250313e-16, "missing_mass": 2.220446049250313e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "primary_topic": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}}, "usage": {"input_tokens": 9715, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 9715, "cached_share": null, "cache_discount_reported": null, "reported_cost_usd": null}, "response_metadata": {"model": "decision-models/baseten-mammoth-27b-latest"}, "scored_at_utc": "2026-10-25T18:34:17.467788+00:00", "scoring_key_slot": "assistant_1", "dataset_uid": "7b887c48-1b7c-4d2c-8add-32163dc7d792", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "3a0d206771091ced99926b79c08d8b6b951d7d4787c460354f4f9af9f85ee9c5", "source_metadata": {"uuid": "7b887c48-1b7c-4d2c-8add-32163dc7d792", "repo_name": "cms-sw/cmssw", "relative_path": "RecoTracker/MkFitCore/standalone/web/collectBenchmarks-multi.sh", "category": "TOOL", "algo_rel_score": 0.9867000579833984, "quality_score": 3.7323079109191895, "source_meta": {"github_metadata": {"branch": "master", "commit_count": 251237, "repo_created_at": "2013-06-26T14:09:07.000Z", "is_fork": false, "is_org_owned": true, "forked_from": null, "stars": 1144, "forks": 4480, "issues": 947, "pull_requests": 108}, "file_meta": {"content_id": "6f53246cc40f5fa9b18b9fd2ea497f459e56fedc", "size_bytes": 3530, "file_timestamp": 1752730772, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "e152e7e2b26dd10cb2a20a5f1bc26ac6f8e4f0e6"}}, "parsed_source_meta": {"github_metadata": {"branch": "master", "commit_count": 251237, "repo_created_at": "2013-06-26T14:09:07.000Z", "is_fork": false, "is_org_owned": true, "forked_from": null, "stars": 1144, "forks": 4480, "issues": 947, "pull_requests": 108}, "file_meta": {"content_id": "6f53246cc40f5fa9b18b9fd2ea497f459e56fedc", "size_bytes": 3530, "file_timestamp": 1752730772, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "e152e7e2b26dd10cb2a20a5f1bc26ac6f8e4f0e6", "url": "https://github.com/cms-sw/cmssw/blob/e152e7e2b26dd10cb2a20a5f1bc26ac6f8e4f0e6/RecoTracker/MkFitCore/standalone/web/collectBenchmarks-multi.sh"}, "gpt4o_tokens": 1167, "dataset_split": "shell", "probability_weighted_scores": {"content_quality": 0.8239888396388163, "noise_severity": 0.056362168041049994, "missing_content_severity": 0.006261771769057115, "factual_density": 2.758706257161186, "pretraining_utility": -0.006652294418103145, "math_density": 0.041780064842931994, "code_density": 3.905042692149135, "reasoning_density": 0.06879159761832156, "education_level": 2.8471627676905436, "creative_writing_quality": -0.31694797277181946}, "score_applicability": {"education_level": 0.9982988757498671, "creative_writing_quality": 0.0004229076562942682}} {"source_group": "shell", "source": "openbmb/UltraData-Stack-v3-L2/shell", "domain": "github.com", "language": "shell", "url": "https://github.com/haniokasai/netwalker-rootfs/blob/d08f7bf370a82b6970387bb9f165d374a9d9092b/usr/bin/screen-profiles-export", "id": "shell-0-f2b356d409dbe85a30c91f28a773edab", "text": "#!/bin/sh -e\n#\n# screen-profile-export\n# Copyright (C) 2008 Canonical Ltd.\n#\n# Authors: <>\n#\n# This program is free software: you can redistribute it and/or modify\n# it under the terms of the GNU General Public License as published by\n# the Free Software Foundation, version 3 of the License.\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU General Public License for more details.\n#\n# You should have received a copy of the GNU General Public License\n# along with this program. If not, see .\n\nPROG=\"screen-profiles\"\nSHARE=\"/usr/share/$PROG\"\nTMPDIR=`mktemp -d screen-profiles.XXXXXXXX` || error \"Could not create a temporary directory\"\n# Grab list of available colors\ncolors=`find $SHARE/profiles/ -type f | sed \"s/^.*\\///\" | sed \"s/^.*-//\" | sort -u | egrep -v \"common|plain\"`\n\n# Make sure we clean up $TMPDIR if we exit for any reason\ntrap \"rm -rf \"$TMPDIR\" 2>/dev/null || true\" EXIT HUP INT QUIT TERM\n\nusage() {\n\techo\n\techo \"Usage:\"\n\techo \" $0 [-c COLOR] -f TARGET.tar.gz\"\n\techo\n\techo \"TARGET.tar.gz is required\"\n\techo\n\techo \"COLOR is obtained interactively if unspecified; or one of:\"\n\tfor c in $colors; do\n\t\techo \" * $c\"\n\tdone\n\techo\n\texit 1\n}\n\nerror() {\n\techo \"ERROR: $1\" 1>&2\n\texit 1\n}\n\nchoose() {\n\ti=0\n\tx=\n\tselected=\n\tfor x in $@; do\n\t\ti=$(expr $i + 1)\n\t\t[ $i -lt 10 ] && i=\" $i\"\n\t\techo \" $i. $x\" 1>&2\n\tdone\n\techo\n\tcount=1\n\twhile /bin/true; do\n\t\tif [ $count -gt 5 ]; then\n\t\t\techo `gettext \"ERROR: Invalid selection\"`\n\t\t\texit 1\n\t\tfi\n\t\tcount=`expr $count + 1`\n\t\tif ! test $selected -gt 0 2>/dev/null; then\n\t\t\tread -p \"`gettext 'Choose'` [1 -$i]: \" -r selected\n\t\telif ! test $selected -le $i 2>/dev/null; then\n\t\t\tread -p \"`gettext 'Choose'` [1 -$i]: \" -r selected\n\t\telse\n\t\t\tbreak\n\t\tfi\n\tdone\n\ti=0\n\tfor x in $@; do\n\t\ti=$(expr $i + 1)\n\t\tif [ \"$i\" = \"$selected\" ]; then\n\t\t\tSELECTED=\"$x\"\n\t\t\treturn 0\n\t\tfi\n\tdone\n\texit 1\n}\n\nstatus_config() {\n\t# Generate the status configuration\n\t# Disable the menu, since screen-profiles configurator is not available\n\t# Enable user@host in its place\n\tfor i in $(ls /var/lib/screen-profiles/); do\n\t\tcase \"$i\" in\n\t\t\tcpu-count|cpu-freq|hostname|load-average|logo|mem-available|mem-used|reboot-required|release|updates-available|whoami)\n\t\t\t\techo \"$i=1\"\n\t\t\t;;\n\t\t\t*)\n\t\t\t\techo \"$i=0\"\n\t\t\t;;\n\t\tesac\n\tdone\n}\n\nhr() {\n\techo \"###############################################################################\"\n}\n\nheader() {\n\thr\n\techo \"# This GNU Screen profile was generated by the screen-profile-export\"\n\techo \"# program, which is part of the screen-profiles package, and contains a\"\n\techo \"# subset of the functionality available from the full package.\"\n\techo \"#\"\n\techo \"# For more information, source code, questions, and bugs, see:\"\n\techo \"# * https://launchpad.net/screen-profiles\"\n\techo \"#\"\n\techo \"# Copyright (C) 2008 Canonical Ltd.\"\n\techo \"#\"\n\techo \"# Author: <>\"\n\techo \"#\"\n\techo \"# This program is free software: you can redistribute it and/or modify\"\n\techo \"# it under the terms of the GNU General Public License as published by\"\n\techo \"# the Free Software Foundation, version 3 of the License.\"\n\techo \"#\"\n\techo \"# This program is distributed in the hope that it will be useful,\"\n\techo \"# but WITHOUT ANY WARRANTY; without even the implied warranty of\"\n\techo \"# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\"\n\techo \"# GNU General Public License for more details.\"\n\techo \"#\"\n\techo \"# You should have received a copy of the GNU General Public License\"\n\techo \"# along with this program. If not, see .\"\n\thr\n}\n\nsources() {\n\t# insert the common profile, replace the status exe path\n\techo\n\tcat $SHARE/profiles/common | sed \"s:$PROG-status:\\$HOME/.$PROG/$PROG-status:\"\n\thr\n\techo\n\tcat $SHARE/keybindings/common\n\thr\n\techo\n\thr\n\tcat \"$SOURCE\"\n\thr\n}\n\n\n# Handle command line parameters\ncolor=\nfile=\nwhile [ $# -gt 1 ]; do\n\tcase \"$1\" in\n\t\t-c)\n\t\t\tcolor=\"$2\"\n\t\t\tshift 2\n\t\t;;\n\t\t-f)\n\t\t\tfile=\"$2\"\n\t\t\tshift 2\n\t\t;;\n\t\t*)\n\t\t\tusage\n\t\t;;\n\tesac\ndone\n\n[ $# -eq 1 ] && file=\"$1\"\n\n[ -z \"$file\" ] && usage\necho \"$file\" | grep -qs \"\\.tar\\.gz$\" || error \"Target file must be a '.tar.gz' archive\"\nif [ -e \"$file\" ]; then\n\techo `gettext \"File exists\"` \" [$file]\"\n\tread -p \"`gettext 'Remove file? [y/N] '`\" -r remove\n\tif [ \"$remove\" = \"Y\" -o \"$remove\" = \"y\" ]; then\n\t\trm -f \"$file\"\n\telse\n\t\texit 1\n\tfi\nfi\n\n# Obtain selections\ncount=1\ndistro=\"ubuntu\"\nwhile /bin/true; do\n\tif [ $count -gt 5 ]; then\n\t\techo `gettext \"ERROR: Invalid selection\"`\n\t\texit 1\n\tfi\n\tSOURCE=\"$SHARE\"/profiles/\"$distro\"-\"$color\"\n\tif [ -f \"$SOURCE\" ]; then\n\t\tbreak\n\telse\n\t\t# Try in the misc directory too\n\t\tSOURCE=\"$SHARE\"/profiles/misc/\"$distro\"-\"$color\"\n\t\tif [ -f \"$SOURCE\" ]; then\n\t\t\tbreak\n\t\tfi\n\tfi\n\techo\n\techo `gettext \"Select a color: \"`\n\tchoose $colors\n\tcolor=$SELECTED\n\tcount=`expr $count + 1`\ndone\n\n# Create workspace\nPROFILE=\"$TMPDIR/.screenrc\"\nSTATUS=\"$TMPDIR/.$PROG/status\"\nmkdir -p \"$TMPDIR/.$PROG/bin\"\n\n# Copy status scripts\ncp -a /var/lib/$PROG/* \"$TMPDIR/.$PROG/bin\"\ncp -a /usr/bin/$PROG-status \"$TMPDIR/.$PROG\"\n\n# Generate the monolithic profile\nheader > \"$PROFILE\"\nsources >> \"$PROFILE\"\nstatus_config > \"$STATUS\"\n\n# Some gardening\n# Drop additional \"source\" calls\nsed -i \"s:^source .*::\" \"$PROFILE\"\n# Use .screenrc instead\nsed -i \"s:.$PROG/profile\\\":\\.screenrc\\\":\" \"$PROFILE\"\n# Drop the F9->Menu key\nsed -i \"s:^bindkey -k k9 screen -t help:#bindkey -k k9 screen -t help:\" \"$PROFILE\"\n\n# tar up the results\ntar -zcf \"$file\" -C \"$TMPDIR\" . || error \"Could not create archive\"\n\necho\necho \"Success!\"\necho\necho \" \"`gettext \"Profile\"` \": [$distro-$color]\"\necho \" \"`gettext \"Archive\"` \": [$file]\"\necho\necho `gettext \"Extract the archive in your home directory on the target system.\"`\necho\n", "text_preview": "#!/bin/sh -e # # screen-profile-export # Copyright (C) 2008 Canonical Ltd. # # Authors: <> # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as publ", "input_sha256": "035710f29b4cda5d5e5d46ad3d545ed4d8754158a9defceeb3a383233b44168f", "text_sha256": "f2b356d409dbe85a30c91f28a773edab4fa23720e4f9818a1563127549d7d474", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 20083, "input_policy": "text-and-optional-url-v1", "label_policy_version": 12, "requested_model": "decision-models/baseten-mammoth-27b-latest", "backend": "baseten", "endpoint": "https://inference.baseten.co/v1/systemone", "status": "ok", "training_eligible": true, "label": {"primary": {"main_format": "Technical Writing", "sub_format": null}, "secondary": {"main_format": "Legal Notices", "sub_format": null}, "tertiary": null, "content_structure": []}, "candidate_label": null, "topic": {"primary": {"main_topic": "Programming & Software Engineering", "sub_topic": null}, "secondary": null}, "scores": {"content_quality": 1, "noise_severity": 0, "missing_content_severity": 0, "factual_density": 3, "pretraining_utility": 0, "math_density": 0, "code_density": 4, "reasoning_density": 0, "education_level": 2, "creative_writing_quality": null}, "score_expectations": {"content_quality": 1.0132396069371157, "noise_severity": 0.3135650091592445, "missing_content_severity": 0.02868989727095697, "factual_density": 3.0606691433108217, "pretraining_utility": 0.28356524183722914, "math_density": 0.11674142322029085, "code_density": 3.7532304104814282, "reasoning_density": 0.801184883807925, "education_level": 2.2055339850615114, "creative_writing_quality": -0.1182132881093068}, "api_choices": {"primary": "Technical Writing", "secondary": "Legal Notices", "tertiary": "NONE", "education_level": "2", "creative_writing_quality": "not_applicable", "primary_topic": "Programming & Software Engineering", "secondary_topic": "NONE"}, "review_reasons": [], "format_slot_diagnostics": {"comparable": true, "secondary_tertiary_identical": false, "secondary_tertiary_max_abs_gap": 0.5858348707212504, "secondary_choice": "Legal Notices", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.9875952263398367, "secondary": 0.7568087817634317, "tertiary": 0.7476663450482178, "structured_records": 0.026473491297388043, "procedural_steps": 0.08071147791895225, "worked_solution": 0.0024755322390982893, "contextual_dialogue": 1.741624363666243e-05, "content_quality": 0.5767391593746397, "noise_severity": 0.7386958257006295, "missing_content_severity": 0.9760917522742025, "factual_density": 0.44105987760760035, "pretraining_utility": 0.4853583267413911, "math_density": 0.9027154806497576, "code_density": 0.7943586754011902, "reasoning_density": 0.33234593016006253, "education_level": 0.6594767752681999, "creative_writing_quality": 0.9983595437274677, "primary_topic": 0.9533329935495528, "secondary_topic": 0.7949536991942744}, "probability_margin": {"primary": 0.9822848933025489, "secondary": 0.5945963725733305, "tertiary": 0.5521064262458315, "education_level": 0.509476466025431, "creative_writing_quality": 0.9978191432187502, "primary_topic": 0.9156110145492943, "secondary_topic": 0.7065458126616754}, "raw_probabilities": {"primary": {"Academic Writing": 4.9244955871040406e-05, "Content Listing": 3.9620731740582945e-05, "Creative Writing": 3.90162911260485e-05, "Customer Support Page": 3.5092031723886195e-05, "Q&A Forum": 2.1030795851788886e-05, "Discussion Thread": 1.6127854099818638e-05, "Comment Section": 3.3468401240110905e-05, "Missing Content": 6.044785653840092e-05, "Knowledge Article": 0.00013902754867594692, "Legal Notices": 0.005827198606461284, "News Article": 1.357553077339372e-05, "Organizational Announcement": 5.046608827935198e-05, "Nonfiction Writing": 2.3596406070390176e-05, "Organizational About Page": 3.891178149924976e-05, "Personal About Page": 2.4337822216223838e-05, "Personal Blog": 1.591432695797739e-05, "Product Page": 1.7732791483246797e-05, "Spam / Ads": 2.367803132583257e-05, "Structured Data": 0.0002376310087590239, "Technical Writing": 0.9881120919090102, "Transcript / Interview": 3.4202126628256975e-05, "Tutorial / How-To Guide": 0.002013343955456953, "User Reviews": 1.5070335122587519e-05, "Other / Unknown": 0.0031191728130886853}, "secondary": {"Academic Writing": 0.00048108156802338756, "Content Listing": 0.00046541059610410643, "Creative Writing": 0.0004846681976374766, "Customer Support Page": 0.0005060470935134537, "Q&A Forum": 0.00023957992619622905, "Discussion Thread": 0.00020542360170691036, "Comment Section": 0.00042277986762498024, "Missing Content": 0.0005567364996660115, "Knowledge Article": 0.0009098277639029638, "Legal Notices": 0.7669417491899554, "News Article": 0.0003623045450657806, "Organizational Announcement": 0.0006037024343547962, "Nonfiction Writing": 0.0003254906169064855, "Organizational About Page": 0.000580019605763293, "Personal About Page": 0.00033877913583146916, "Personal Blog": 0.00022324139412043358, "Product Page": 0.00030083488713018104, "Spam / Ads": 0.0003095515351085475, "Structured Data": 0.0005407295033702787, "Technical Writing": 0.050250016795481606, "Transcript / Interview": 0.0005223495615879612, "Tutorial / How-To Guide": 0.0018959482448264824, "User Reviews": 0.00018835081949659376, "NONE": 0.17234537661662488}, "tertiary": {"Academic Writing": 0.0004755956960045587, "Content Listing": 0.0004416358795268738, "Creative Writing": 0.0005066908983295926, "Customer Support Page": 0.0006060957050719127, "Q&A Forum": 0.00021240248851108617, "Discussion Thread": 0.00018067972940056344, "Comment Section": 0.00033616972072789445, "Missing Content": 0.0005619251264866596, "Knowledge Article": 0.0010710418996826882, "Legal Notices": 0.20607382109204386, "News Article": 0.00037416365255404916, "Organizational Announcement": 0.0005678634393390482, "Nonfiction Writing": 0.00036260031893843114, "Organizational About Page": 0.0005949750398807214, "Personal About Page": 0.0003304802216879398, "Personal Blog": 0.0002524528297947007, "Product Page": 0.00027708597231001543, "Spam / Ads": 0.00039300460562710377, "Structured Data": 0.0006951198243836018, "Technical Writing": 0.020510828480990825, "Transcript / Interview": 0.0004750508251543267, "Tutorial / How-To Guide": 0.0063392565004910225, "User Reviews": 0.0001808127151872008, "NONE": 0.7581802473378754}, "structured_records": {"false": 0.9735265087026119, "true": 0.026473491297388043}, "procedural_steps": {"false": 0.9192885220810477, "true": 0.08071147791895225}, "worked_solution": {"false": 0.9975244677609018, "true": 0.0024755322390982893}, "contextual_dialogue": {"false": 0.9999825837563633, "true": 1.741624363666243e-05}, "content_quality": {"-2": 0.005429193263169518, "-1": 0.017073551748458968, "0": 0.1969020176202319, "1": 0.5200189295243656, "2": 0.26057630784377395}, "noise_severity": {"0": 0.7195427590588549, "1": 0.2529298903492222, "2": 0.02366728659991794, "3": 0.002139710357833326, "4": 0.0017203536341716074}, "missing_content_severity": {"0": 0.978186060872681, "1": 0.016906213445301976, "2": 0.0034862300272844333, "3": 0.0008747588478442632, "4": 0.0005467368068883347}, "factual_density": {"0": 0.007664761675734151, "1": 0.04277444487679661, "2": 0.1964863269992333, "3": 0.3873758213573854, "4": 0.3656986450908506}, "pretraining_utility": {"-2": 0.011101070574412654, "-1": 0.1448002418877254, "0": 0.4483805531602297, "1": 0.3408686438814844, "2": 0.05484949049614771}, "math_density": {"0": 0.893655007821305, "1": 0.10110433562034496, "2": 0.002328407534646784, "3": 0.0006687235641600933, "4": 0.0022435254595430058}, "code_density": {"0": 0.0002821586856709498, "1": 0.0005662916145805235, "2": 0.014305476910600835, "3": 0.2153311261109447, "4": 0.7695149466782029}, "reasoning_density": {"0": 0.5637134331253957, "1": 0.18618534952397245, "2": 0.16297275553828489, "3": 0.05945982404200513, "4": 0.027668637770341835}, "education_level": {"none": 0.0017466133423589384, "0": 0.002781845793185129, "1": 0.04699630711219256, "2": 0.7162306460568333, "3": 0.2067541800314023, "4": 0.02549040766402772}, "creative_writing_quality": {"not_applicable": 0.9986329531062231, "-2": 0.00010019028937087618, "-1": 0.0002333540804750233, "0": 0.0008138098874728879, "1": 0.000167253722012432, "2": 5.2438914445681004e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 0.00012157084487723515, "Art & Design": 0.0006157360042269964, "Law & Crime": 0.00119248679285898, "Education & Careers": 0.00010693119007650973, "Entertainment & Media": 9.684522073114109e-05, "Fashion & Beauty": 9.712056355414705e-05, "Business, Economics & Finance": 0.00018364695702562743, "Food & Dining": 8.260338846622357e-05, "Games & Gaming": 0.00017279557861539643, "Electronics & Hardware": 0.0005609506211465919, "Health, Healthcare & Wellness": 8.329517165570625e-05, "History & Geography": 0.00013598153457404028, "Home, Pets & Hobbies": 0.00011122966179389174, "Industry & Production": 0.00010066622392236972, "Language, Literature & Philosophy": 0.00010471949452983678, "Politics & Government": 0.00017710760024700759, "Religion & Spirituality": 8.875506508581116e-05, "Science, Mathematics & Engineering": 0.00023486989090260954, "Relationships & Community": 6.580973010485658e-05, "Software Usage & Applications": 0.039516863863737275, "Programming & Software Engineering": 0.9551278784130316, "Sports & Fitness": 0.00012486819114184634, "Vehicles & Transportation": 5.476197635980743e-05, "Travel & Tourism": 9.419003921643523e-05, "Other / Uncovered Subject": 0.0005742748143773682, "Unknown / Insufficient Content": 0.00017404116774055874}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0007808931671577147, "Art & Design": 0.0020551380472029522, "Law & Crime": 0.05567008583937674, "Education & Careers": 0.0004758219092279974, "Entertainment & Media": 0.0005147781752296172, "Fashion & Beauty": 0.00035424633973273496, "Business, Economics & Finance": 0.0011097978269071604, "Food & Dining": 0.0002781809690348165, "Games & Gaming": 0.00041653214533326967, "Electronics & Hardware": 0.001100205565804121, "Health, Healthcare & Wellness": 0.00032916515764038336, "History & Geography": 0.00041310368711347214, "Home, Pets & Hobbies": 0.0003534602251521743, "Industry & Production": 0.0002397878892680582, "Language, Literature & Philosophy": 0.00026662810445418313, "Politics & Government": 0.0015109019055429423, "Religion & Spirituality": 0.0004154827801413338, "Science, Mathematics & Engineering": 0.0006581288130779201, "Relationships & Community": 0.00021624875117345587, "Software Usage & Applications": 0.0962942827174346, "Programming & Software Engineering": 0.03196397642476877, "Sports & Fitness": 0.00027802846677576386, "Vehicles & Transportation": 0.0001461579108302899, "Travel & Tourism": 0.000386146052222909, "Other / Uncovered Subject": 0.0009327257502867036, "NONE": 0.8028400953791099}}, "probabilities": {"primary": {"Academic Writing": 4.924495587104039e-05, "Content Listing": 3.962073174058294e-05, "Creative Writing": 3.9016291126048494e-05, "Customer Support Page": 3.509203172388619e-05, "Q&A Forum": 2.1030795851788883e-05, "Discussion Thread": 1.6127854099818634e-05, "Comment Section": 3.34684012401109e-05, "Missing Content": 6.044785653840091e-05, "Knowledge Article": 0.0001390275486759469, "Legal Notices": 0.0058271986064612835, "News Article": 1.3575530773393717e-05, "Organizational Announcement": 5.046608827935197e-05, "Nonfiction Writing": 2.359640607039017e-05, "Organizational About Page": 3.8911781499249754e-05, "Personal About Page": 2.433782221622383e-05, "Personal Blog": 1.5914326957977386e-05, "Product Page": 1.7732791483246794e-05, "Spam / Ads": 2.3678031325832562e-05, "Structured Data": 0.00023763100875902384, "Technical Writing": 0.98811209190901, "Transcript / Interview": 3.420212662825697e-05, "Tutorial / How-To Guide": 0.0020133439554569526, "User Reviews": 1.5070335122587515e-05, "Other / Unknown": 0.0031191728130886844}, "secondary": {"Academic Writing": 0.0004810815680233877, "Content Listing": 0.0004654105961041066, "Creative Writing": 0.00048466819763747675, "Customer Support Page": 0.000506047093513454, "Q&A Forum": 0.00023957992619622913, "Discussion Thread": 0.00020542360170691044, "Comment Section": 0.0004227798676249804, "Missing Content": 0.0005567364996660117, "Knowledge Article": 0.0009098277639029641, "Legal Notices": 0.7669417491899556, "News Article": 0.0003623045450657807, "Organizational Announcement": 0.0006037024343547964, "Nonfiction Writing": 0.0003254906169064856, "Organizational About Page": 0.0005800196057632932, "Personal About Page": 0.00033877913583146927, "Personal Blog": 0.00022324139412043366, "Product Page": 0.00030083488713018115, "Spam / Ads": 0.0003095515351085476, "Structured Data": 0.0005407295033702789, "Technical Writing": 0.05025001679548162, "Transcript / Interview": 0.0005223495615879614, "Tutorial / How-To Guide": 0.001895948244826483, "User Reviews": 0.00018835081949659382, "NONE": 0.17234537661662494}, "tertiary": {"Academic Writing": 0.0004755956960045587, "Content Listing": 0.0004416358795268738, "Creative Writing": 0.0005066908983295926, "Customer Support Page": 0.0006060957050719127, "Q&A Forum": 0.00021240248851108617, "Discussion Thread": 0.00018067972940056344, "Comment Section": 0.00033616972072789445, "Missing Content": 0.0005619251264866596, "Knowledge Article": 0.0010710418996826882, "Legal Notices": 0.20607382109204386, "News Article": 0.00037416365255404916, "Organizational Announcement": 0.0005678634393390482, "Nonfiction Writing": 0.00036260031893843114, "Organizational About Page": 0.0005949750398807214, "Personal About Page": 0.0003304802216879398, "Personal Blog": 0.0002524528297947007, "Product Page": 0.00027708597231001543, "Spam / Ads": 0.00039300460562710377, "Structured Data": 0.0006951198243836018, "Technical Writing": 0.020510828480990825, "Transcript / Interview": 0.0004750508251543267, "Tutorial / How-To Guide": 0.0063392565004910225, "User Reviews": 0.0001808127151872008, "NONE": 0.7581802473378754}, "structured_records": {"false": 0.9735265087026119, "true": 0.026473491297388043}, "procedural_steps": {"false": 0.9192885220810477, "true": 0.08071147791895225}, "worked_solution": {"false": 0.9975244677609018, "true": 0.0024755322390982893}, "contextual_dialogue": {"false": 0.9999825837563633, "true": 1.741624363666243e-05}, "content_quality": {"-2": 0.005429193263169519, "-1": 0.01707355174845897, "0": 0.19690201762023193, "1": 0.5200189295243657, "2": 0.260576307843774}, "noise_severity": {"0": 0.7195427590588549, "1": 0.2529298903492222, "2": 0.02366728659991794, "3": 0.002139710357833326, "4": 0.0017203536341716074}, "missing_content_severity": {"0": 0.978186060872681, "1": 0.016906213445301976, "2": 0.0034862300272844333, "3": 0.0008747588478442632, "4": 0.0005467368068883347}, "factual_density": {"0": 0.007664761675734151, "1": 0.04277444487679661, "2": 0.1964863269992333, "3": 0.3873758213573854, "4": 0.3656986450908506}, "pretraining_utility": {"-2": 0.011101070574412656, "-1": 0.14480024188772542, "0": 0.44838055316022973, "1": 0.34086864388148447, "2": 0.054849490496147714}, "math_density": {"0": 0.8936550078213051, "1": 0.10110433562034497, "2": 0.0023284075346467845, "3": 0.0006687235641600934, "4": 0.002243525459543006}, "code_density": {"0": 0.00028215868567094983, "1": 0.0005662916145805236, "2": 0.014305476910600837, "3": 0.21533112611094474, "4": 0.769514946678203}, "reasoning_density": {"0": 0.5637134331253957, "1": 0.18618534952397245, "2": 0.16297275553828489, "3": 0.05945982404200513, "4": 0.027668637770341835}, "education_level": {"none": 0.0017466133423589387, "0": 0.0027818457931851294, "1": 0.04699630711219257, "2": 0.7162306460568334, "3": 0.20675418003140233, "4": 0.025490407664027725}, "creative_writing_quality": {"not_applicable": 0.9986329531062231, "-2": 0.00010019028937087618, "-1": 0.0002333540804750233, "0": 0.0008138098874728879, "1": 0.000167253722012432, "2": 5.2438914445681004e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 0.00012157084487723517, "Art & Design": 0.0006157360042269965, "Law & Crime": 0.0011924867928589803, "Education & Careers": 0.00010693119007650974, "Entertainment & Media": 9.68452207311411e-05, "Fashion & Beauty": 9.712056355414707e-05, "Business, Economics & Finance": 0.00018364695702562746, "Food & Dining": 8.260338846622358e-05, "Games & Gaming": 0.00017279557861539646, "Electronics & Hardware": 0.000560950621146592, "Health, Healthcare & Wellness": 8.329517165570626e-05, "History & Geography": 0.0001359815345740403, "Home, Pets & Hobbies": 0.00011122966179389176, "Industry & Production": 0.00010066622392236973, "Language, Literature & Philosophy": 0.0001047194945298368, "Politics & Government": 0.0001771076002470076, "Religion & Spirituality": 8.875506508581117e-05, "Science, Mathematics & Engineering": 0.00023486989090260957, "Relationships & Community": 6.58097301048566e-05, "Software Usage & Applications": 0.03951686386373728, "Programming & Software Engineering": 0.9551278784130317, "Sports & Fitness": 0.00012486819114184637, "Vehicles & Transportation": 5.4761976359807435e-05, "Travel & Tourism": 9.419003921643524e-05, "Other / Uncovered Subject": 0.0005742748143773683, "Unknown / Insufficient Content": 0.00017404116774055877}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0007808931671577147, "Art & Design": 0.0020551380472029522, "Law & Crime": 0.05567008583937674, "Education & Careers": 0.0004758219092279974, "Entertainment & Media": 0.0005147781752296172, "Fashion & Beauty": 0.00035424633973273496, "Business, Economics & Finance": 0.0011097978269071604, "Food & Dining": 0.0002781809690348165, "Games & Gaming": 0.00041653214533326967, "Electronics & Hardware": 0.001100205565804121, "Health, Healthcare & Wellness": 0.00032916515764038336, "History & Geography": 0.00041310368711347214, "Home, Pets & Hobbies": 0.0003534602251521743, "Industry & Production": 0.0002397878892680582, "Language, Literature & Philosophy": 0.00026662810445418313, "Politics & Government": 0.0015109019055429423, "Religion & Spirituality": 0.0004154827801413338, "Science, Mathematics & Engineering": 0.0006581288130779201, "Relationships & Community": 0.00021624875117345587, "Software Usage & Applications": 0.0962942827174346, "Programming & Software Engineering": 0.03196397642476877, "Sports & Fitness": 0.00027802846677576386, "Vehicles & Transportation": 0.0001461579108302899, "Travel & Tourism": 0.000386146052222909, "Other / Uncovered Subject": 0.0009327257502867036, "NONE": 0.8028400953791099}}, "probability_diagnostics": {"primary": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "secondary": {"raw_sum": 0.9999999999999997, "mass_delta": -3.3306690738754696e-16, "missing_mass": 3.3306690738754696e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "tertiary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "structured_records": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "procedural_steps": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "worked_solution": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "contextual_dialogue": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "content_quality": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "noise_severity": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "missing_content_severity": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "factual_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "pretraining_utility": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "math_density": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "code_density": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "reasoning_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "education_level": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "creative_writing_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "primary_topic": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}}, "usage": {"input_tokens": 10366, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 10366, "cached_share": null, "cache_discount_reported": null, "reported_cost_usd": null}, "response_metadata": {"model": "decision-models/baseten-mammoth-27b-latest"}, "scored_at_utc": "2026-10-25T18:35:02.174041+00:00", "scoring_key_slot": "primary", "dataset_uid": "2d033726-21c2-4498-9c19-d1e29ebce614", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "cd1e12cbfbeb9e7fed7845875bc7cd4afe47ab16d015b0ede361386f994b2676", "source_metadata": {"uuid": "2d033726-21c2-4498-9c19-d1e29ebce614", "repo_name": "haniokasai/netwalker-rootfs", "relative_path": "usr/bin/screen-profiles-export", "category": "TOOL", "algo_rel_score": 0.9974740147590637, "quality_score": 4.1431803703308105, "source_meta": {"github_metadata": {"branch": "master", "commit_count": 2, "repo_created_at": "2015-05-29T12:51:46.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 2, "forks": 1, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "18f396bf3d3e46562599689bdf1bb2dc54d03396", "size_bytes": 5889, "file_timestamp": 1452578990, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "d08f7bf370a82b6970387bb9f165d374a9d9092b"}}, "parsed_source_meta": {"github_metadata": {"branch": "master", "commit_count": 2, "repo_created_at": "2015-05-29T12:51:46.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 2, "forks": 1, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "18f396bf3d3e46562599689bdf1bb2dc54d03396", "size_bytes": 5889, "file_timestamp": 1452578990, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "d08f7bf370a82b6970387bb9f165d374a9d9092b", "url": "https://github.com/haniokasai/netwalker-rootfs/blob/d08f7bf370a82b6970387bb9f165d374a9d9092b/usr/bin/screen-profiles-export"}, "gpt4o_tokens": 1782, "dataset_split": "shell", "probability_weighted_scores": {"content_quality": 1.0132396069371157, "noise_severity": 0.3135650091592445, "missing_content_severity": 0.02868989727095697, "factual_density": 3.0606691433108217, "pretraining_utility": 0.28356524183722914, "math_density": 0.11674142322029085, "code_density": 3.7532304104814282, "reasoning_density": 0.801184883807925, "education_level": 2.2055339850615114, "creative_writing_quality": -0.1182132881093068}, "score_applicability": {"education_level": 0.9982533866576412, "creative_writing_quality": 0.0013670468937769004}} {"source_group": "shell", "source": "openbmb/UltraData-Stack-v3-L2/shell", "domain": "github.com", "language": "shell", "url": "https://github.com/ClemaX/ft_services/blob/8ba2f2de9c5894488f9d419d3f13dd48eefbf142/setup.sh", "id": "shell-0-5194242fb0e77aca96854e3372a6dba9", "text": "#!/usr/bin/env bash\n\nset -e # Abort on error\n\ncase \"${OSTYPE}\" in\n\tdarwin*\t)\tDEFAULT_DRIVER=\"virtualbox\";;\n\t*\t\t)\tDEFAULT_DRIVER=\"docker\";;\nesac\n\nDRIVER=\"${DRIVER:-${DEFAULT_DRIVER}}\"\t# Driver to use with minikube\nNAME=ft.services\t# Minikube profile\nPREFIX=ft_services # Docker build prefix\nSRCDIR=srcs # Directory which contains the deployments\n\nRETRY=5\t\t\t\t# Maximum number of tries to start minikube\n\nKEYDIR=keys # Directory where keys and certs will be stored\nKEYHOST=ft.services # Load balancer hostname\n\n# Container units\nDAEMONSETS=(\"telegraf\")\nUNITS=(\"mysql\" \"wordpress\" \"phpmyadmin\" \"nginx\" \"ftps\" \"influxdb\" \"grafana\" \"${DAEMONSETS[@]}\")\nADDONS=(\"metrics-server\" \"dashboard\")\n\nelement_in()\n{\n local e match=\"${1}\"\n shift\n for e; do [[ \"${e}\" == \"${match}\" ]] && return 0; done\n return 1\n}\n\nstart_minikube()\n{\n\t# Start minikube\n\tlocal n=0\n\tuntil [ \"${n}\" -ge \"${RETRY}\" ]; do\n\t\tminikube -p \"${NAME}\" start \"--driver=${DRIVER}\" && break\n\t\tn=$((n+1))\n\t\tsleep 2\n\tdone\n\n\tif [ \"${n}\" -eq \"${RETRY}\" ]; then\n\t\techo \"Failed to start minikube after ${RETRY} tries!\"\n\t\texit 1\n\tfi\n}\n\nstop_minikube()\n{\n\t# Stop minikube\n\tminikube -p \"${NAME}\" stop\n}\n\ndelete_minikube()\n{\n\tread -p \"Are you sure you want to delete the cluster? [y/N] \" -n1 -r ANSWER\n\techo\n\n\tif [[ ${ANSWER} =~ ^[Yy]$ ]]; then\n\t\t# Delete the minikube cluster\n\t\tminikube -p \"${NAME}\" delete\n\t\trm -rf \"${KEYDIR}\"\n\tfi\n}\n\nsetup_minikube()\n{\n\t# Start minikube\n\tstart_minikube\n\n\t# Enable addons\n\tfor ADDON in ${ADDONS[@]}; do\n\t\tminikube -p \"${NAME}\" addons enable \"${ADDON}\"\n\tdone\n\n\t# Setup MetalLB\n\tkubectl apply -f https://raw.githubusercontent.com/metallb/metallb/v0.9.3/manifests/namespace.yaml\n\tkubectl apply -f https://raw.githubusercontent.com/metallb/metallb/v0.9.3/manifests/metallb.yaml\n\n\t# Setup namespaces\n\tkubectl apply -f \"${SRCDIR}/namespaces.yaml\"\n}\n\nsetup_networking()\n{\n\t# Split IP by '.'\n\tOLDIFS=${IFS}\n\tIFS=.; set -- $(minikube -p \"${NAME}\" ip)\n\t# Assign free range to MetalLB\n\tif [ \"${4}\" -gt 127 ]; then\n\t\tLB_RANGE=\"${1}.${2}.${3}.1/32\"\n\telse\n\t\tLB_RANGE=\"${1}.${2}.${3}.128/32\"\n\tfi\n\t# Restore IFS\n\tIFS=${OLDIFS}\n\n\tCONFIGMAP=$(cat <<- EOF\n\t\taddress-pools:\n\t\t- name: default\n\t\t protocol: layer2\n\t\t addresses:\n\t\t - ${LB_RANGE}\n\tEOF\n\t)\n\n\t# Update MetalLB configmap\n\tkubectl --namespace metallb-system delete configmap config || :\n\tkubectl --namespace metallb-system create configmap config --from-literal=\"config=${CONFIGMAP}\"\n}\n\nstart_dashboard()\n{\n\t# Show web dashboard url\n\tminikube -p \"${NAME}\" dashboard --url\n}\n\nbuild_unit()\n{\n\techo \"Building ${1}...\"\n\tdocker build -qt \"${PREFIX}/${1}\" \"${SRCDIR}/${1}\"\n}\n\nbuild_units()\n{\n\t# Use minikube docker-env\n\teval $(minikube -p \"${NAME}\" docker-env)\n\n\t# Build docker images\n\tfor UNIT in ${UNITS[@]}; do\n\t\tbuild_unit \"${UNIT}\"\n\tdone\n}\n\nbuild_certs()\n{\n\tANSWER=\"Y\"\n\tif [ -f \"${KEYDIR}/${KEYHOST}.csr\" ] || [ -f \"${KEYDIR}/${KEYHOST}.key\" ]; then\n\t\tread -p \"Do you want to overwrite the existing certificates? [y/N] \" -n1 -r ANSWER\n\t\techo\n\tfi\n\n\tif [[ ${ANSWER} =~ ^[Yy]$ ]]; then\n\t\t# Generate TLS keys\n\t\tmkdir -p \"${KEYDIR}\"\n\n\t\topenssl req -x509 -nodes -days 365\\\n\t\t\t-newkey rsa:2048\\\n\t\t\t-keyout \"${KEYDIR}/${KEYHOST}.key\"\\\n\t\t\t-out \"${KEYDIR}/${KEYHOST}.csr\"\\\n\t\t\t-subj \"/CN=*.${KEYHOST}/O=${KEYHOST}\"\n\tfi\n\n\t# Update TLS secret\n\tkubectl delete secret default-tls || :\n\tkubectl create secret tls default-tls --key \"${KEYDIR}/${KEYHOST}.key\" --cert \"${KEYDIR}/${KEYHOST}.csr\"\n\tkubectl delete secret -n monitoring default-tls || :\n\tkubectl create secret -n monitoring tls default-tls --key \"${KEYDIR}/${KEYHOST}.key\" --cert \"${KEYDIR}/${KEYHOST}.csr\"\n\n\t# Update MetalLB secret\n\tkubectl delete secret -n metallb-system memberlist || :\n\tkubectl create secret generic -n metallb-system memberlist --from-literal=secretkey=\"$(openssl rand -base64 128)\"\n\n\t# Update Grafana secret\n\tkubectl delete secret -n monitoring grafana-secretkey || :\n\tkubectl create secret generic -n monitoring grafana-secretkey --from-literal=secretkey=\"$(openssl rand -base64 20)\"\n}\n\nupdate_unit()\n{\n\tif [[ \"${1}\" = \"\" ]]; then\n\t\techo -e \"Usage: ${0} update [UNIT]\n\nUnits:\"\n\t\tprintf '\t%s\\n' ${UNITS[@]}\n\t\texit 1\n\tfi\n\tif element_in \"${1}\" \"${UNITS[@]}\"; then\n\t\teval $(minikube -p \"${NAME}\" docker-env)\n\t\tbuild_unit \"${1}\"\n\t\tkubectl delete -f \"${SRCDIR}/${1}/deployment.yaml\" || :\n\t\tkubectl apply -k \"${SRCDIR}\"\n\telse\n\t\techo \"${1} is not a valid unit!\"\n\t\texit 1\n\tfi\n}\n\nkill_unit_process()\n{\n\tif [[ \"${1}\" = \"\" || \"${2}\" = \"\" ]]; then\n\t\techo -e \"Usage: ${0} kill [UNIT] [PROCESS]\n\nUnits:\"\n\t\tprintf '\t%s\\n' ${UNITS[@]}\n\t\texit 1\n\tfi\n\tif element_in \"${1}\" \"${DAEMONSETS[@]}\"; then\n\t\tCONTAINER=\"$(minikube -p \"${NAME}\" ssh -- docker ps -qf \"name=^/k8s_${1}\" | tr -d '\\r')\"\n\n\t\techo \"Killing '${2}' running in '${CONTAINER}' on minikube node...\"\n\n\t\tminikube -p \"${NAME}\" ssh -- docker exec -it \"${CONTAINER}\" pkill \"${2}\"\n\telif element_in \"${1}\" \"${UNITS[@]}\"; then\n\t\tPODSPEC=($(kubectl get pod -o custom-columns=:metadata.name,:metadata.namespace --all-namespaces | grep \"${1}\"))\n\t\tPOD=\"${PODSPEC[0]}\"\n\t\tNAMESPACE=\"${PODSPEC[1]}\"\n\n\t\techo \"Killing '${2}' running in '${POD}' on namespace '${NAMESPACE}'...\"\n\n\t\tkubectl exec -n \"${NAMESPACE}\" -it \"${POD}\" -- pkill \"${2}\"\n\telse\n\t\techo \"${1} is not a valid unit!\"\n\t\texit 1\n\tfi\n\techo \"Done!\"\n}\n\nsetup()\n{\n\tsetup_minikube\n\tsetup_networking\n\tbuild_units\n\tbuild_certs\n\tkubectl apply -k \"${SRCDIR}\"\n\techo \"To open the Kubernetes dashboard, please run 'minikube -p \\\"${NAME}\\\" dashboard' in your terminal.\"\n}\n\nprint_help()\n{\n\techo -e \"Usage: ${0} [COMMAND]\n\nCommands:\n\tsetup\t\tSetup and start the cluster\n\tstart\t\tStart an existing cluster and apply changes\n\tstop\t\tStop the running cluster\n\trestart\t\tRestart the running cluster\n\tupdate\t\tUpdate an unit's image\n\tdelete\t\tDelete the cluster\n\tdashboard\tShow the Kubernetes dashboard\n\thelp\t\tShow this help message\n\tkill\t\tKill an unit's process\n\nIf no argument is provided, 'setup' will be assumed.\"\n}\n\ncase \"${1}\" in\n\t\"setup\" | \"\")\tsetup;;\n\t\"start\"\t\t)\tstart_minikube;;\n\t\"stop\"\t\t)\tstop_minikube;;\n\t\"restart\"\t)\tstop_minikube; start_minikube;;\n\t\"delete\"\t)\tdelete_minikube;;\n\t\"dashboard\"\t)\tstart_dashboard;;\n\t\"update\"\t)\tupdate_unit \"${2}\";;\n\t\"kill\"\t\t)\tkill_unit_process \"${2}\" \"${3}\";;\n\t*\t\t\t)\tprint_help;;\nesac\n", "text_preview": "#!/usr/bin/env bash set -e # Abort on error case \"${OSTYPE}\" in darwin* ) DEFAULT_DRIVER=\"virtualbox\";; * ) DEFAULT_DRIVER=\"docker\";; esac DRIVER=\"${DRIVER:-${DEFAULT_DRIVER}}\" # Driver to use with minikube NAME=ft.services # Minikube profi", "input_sha256": "6fc41333aa5a5a94500a06dc608b38e8987d9bc33d0f48f1e53483f25db36d7d", "text_sha256": "5194242fb0e77aca96854e3372a6dba9ca856b4cce46f06437fd85733faa8a39", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 20086, "input_policy": "text-and-optional-url-v1", "label_policy_version": 12, "requested_model": "decision-models/baseten-mammoth-27b-latest", "backend": "baseten", "endpoint": "https://inference.baseten.co/v1/systemone", "status": "ok", "training_eligible": true, "label": {"primary": {"main_format": "Technical Writing", "sub_format": null}, "secondary": null, "tertiary": null, "content_structure": []}, "candidate_label": null, "topic": {"primary": {"main_topic": "Programming & Software Engineering", "sub_topic": null}, "secondary": null}, "scores": {"content_quality": 1, "noise_severity": 0, "missing_content_severity": 0, "factual_density": 4, "pretraining_utility": 1, "math_density": 0, "code_density": 4, "reasoning_density": 0, "education_level": 3, "creative_writing_quality": null}, "score_expectations": {"content_quality": 0.9375198101153572, "noise_severity": 0.012314984929864282, "missing_content_severity": 0.003214039877087631, "factual_density": 3.3617644949299237, "pretraining_utility": 0.6045888919862467, "math_density": 0.18144904720354263, "code_density": 3.875330443278209, "reasoning_density": 0.7123471729667555, "education_level": 2.6726397804123287, "creative_writing_quality": -0.12146525008549935}, "api_choices": {"primary": "Technical Writing", "secondary": "NONE", "tertiary": "NONE", "education_level": "3", "creative_writing_quality": "not_applicable", "primary_topic": "Programming & Software Engineering", "secondary_topic": "NONE"}, "review_reasons": [], "format_slot_diagnostics": {"comparable": true, "secondary_tertiary_identical": false, "secondary_tertiary_max_abs_gap": 0.027619905226156094, "secondary_choice": "NONE", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.9728485631065216, "secondary": 0.8934346989127645, "tertiary": 0.9222554695835362, "structured_records": 0.048994814291303236, "procedural_steps": 0.3864454714627639, "worked_solution": 0.004497824673048092, "contextual_dialogue": 1.7478239351987043e-05, "content_quality": 0.5385940123908417, "noise_severity": 0.9897375125584464, "missing_content_severity": 0.9973216334357603, "factual_density": 0.46813707910826974, "pretraining_utility": 0.5295272329827883, "math_density": 0.8487924606637145, "code_density": 0.8961087027318408, "reasoning_density": 0.40637735586103707, "education_level": 0.42628435521626784, "creative_writing_quality": 0.9987414941635538, "primary_topic": 0.9746922103697523, "secondary_topic": 0.8270605694993148}, "probability_margin": {"primary": 0.9538009865364505, "secondary": 0.8382612464818503, "tertiary": 0.8832580026878081, "education_level": 0.12976880318488676, "creative_writing_quality": 0.9983561850654828, "primary_topic": 0.9530397325603734, "secondary_topic": 0.717842079135052}, "raw_probabilities": {"primary": {"Academic Writing": 8.843845875801089e-05, "Content Listing": 0.00011360413097447063, "Creative Writing": 5.931941974098072e-05, "Customer Support Page": 7.022548927222786e-05, "Q&A Forum": 4.308288713652469e-05, "Discussion Thread": 3.384621555045216e-05, "Comment Section": 5.8783017050436186e-05, "Missing Content": 6.233915930849152e-05, "Knowledge Article": 0.0002483388939695161, "Legal Notices": 7.626736875809693e-05, "News Article": 2.4011046021661858e-05, "Organizational Announcement": 4.2652588725118905e-05, "Nonfiction Writing": 4.1565344704692625e-05, "Organizational About Page": 5.173278001980778e-05, "Personal About Page": 5.457966716952139e-05, "Personal Blog": 3.188469858875934e-05, "Product Page": 3.278651771806478e-05, "Spam / Ads": 4.51660034445269e-05, "Structured Data": 0.0006895362684034815, "Technical Writing": 0.9739798729770832, "Transcript / Interview": 6.58084335397509e-05, "Tutorial / How-To Guide": 0.020178886440632697, "User Reviews": 2.6580669486339433e-05, "Other / Unknown": 0.003880691523943108}, "secondary": {"Academic Writing": 0.0004616385756454034, "Content Listing": 0.0016874140967221023, "Creative Writing": 0.0003255196305682371, "Customer Support Page": 0.0010166190003605663, "Q&A Forum": 0.00018603857089352096, "Discussion Thread": 0.00014500316733521558, "Comment Section": 0.000292557106276149, "Missing Content": 0.0004428582602877388, "Knowledge Article": 0.001231451853187208, "Legal Notices": 0.0003023380949971501, "News Article": 0.00020795976287632731, "Organizational Announcement": 0.00020773805364223763, "Nonfiction Writing": 0.00019673205487988696, "Organizational About Page": 0.00024629881908502755, "Personal About Page": 0.0002274566069329961, "Personal Blog": 0.00020502951398820713, "Product Page": 0.00015357289845409724, "Spam / Ads": 0.00022354369547319426, "Structured Data": 0.006684336708392235, "Technical Writing": 0.027664116301385603, "Transcript / Interview": 0.0002927683887108322, "Tutorial / How-To Guide": 0.05961367330954908, "User Reviews": 0.0001104157389575594, "NONE": 0.8978749197913993}, "tertiary": {"Academic Writing": 0.00027216359313254494, "Content Listing": 0.0026048749293084345, "Creative Writing": 0.0002166455265835196, "Customer Support Page": 0.0007567479263335638, "Q&A Forum": 0.00011068120607541168, "Discussion Thread": 8.234519637755094e-05, "Comment Section": 0.00022021580575347857, "Missing Content": 0.0003331699958664327, "Knowledge Article": 0.0021102707023919897, "Legal Notices": 0.000372243427282306, "News Article": 0.00013077944104010825, "Organizational Announcement": 0.0001512576651987929, "Nonfiction Writing": 0.00014292429186703738, "Organizational About Page": 0.00018009376116377644, "Personal About Page": 0.000172896435205463, "Personal Blog": 0.00012163269664989214, "Product Page": 0.00011710824719170006, "Spam / Ads": 0.00016035783982906845, "Structured Data": 0.005946224049165497, "Technical Writing": 0.017763983753706462, "Transcript / Interview": 0.00023221590844409306, "Tutorial / How-To Guide": 0.04223682232974747, "User Reviews": 6.952025412987671e-05, "NONE": 0.9254948250175555}, "structured_records": {"false": 0.9510051857086967, "true": 0.048994814291303236}, "procedural_steps": {"false": 0.6135545285372361, "true": 0.3864454714627639}, "worked_solution": {"false": 0.995502175326952, "true": 0.004497824673048092}, "contextual_dialogue": {"false": 0.9999825217606481, "true": 1.7478239351987043e-05}, "content_quality": {"-2": 0.007443406235551014, "-1": 0.03214463049159071, "0": 0.22146420781798193, "1": 0.4933442578317029, "2": 0.24560349762317354}, "noise_severity": {"0": 0.9896260419739964, "1": 0.009174487762284952, "2": 0.0006927763401162427, "3": 0.00027183120706257834, "4": 0.0002348627165397774}, "missing_content_severity": {"0": 0.998222015732418, "1": 0.0008029215516352819, "2": 0.0006086324932256237, "3": 0.0002718675518841929, "4": 9.456267083713093e-05}, "factual_density": {"0": 0.0033142640881846396, "1": 0.007097012878845959, "2": 0.10762601491511577, "3": 0.3884353802505684, "4": 0.49352732786728526}, "pretraining_utility": {"-2": 0.00833883869186906, "-1": 0.056986761601614595, "0": 0.34099917493836734, "1": 0.5090971185646986, "2": 0.08457810620345037}, "math_density": {"0": 0.8370216787904352, "1": 0.15247077312830418, "2": 0.005725535858231604, "3": 0.0016008465333411533, "4": 0.0031811656896879484}, "code_density": {"0": 0.00039639058338684354, "1": 0.0007081159642180544, "2": 0.014132778702978568, "3": 0.09269408908963225, "4": 0.8920686256597843}, "reasoning_density": {"0": 0.604477912221146, "1": 0.14895376430047144, "2": 0.19141533970884797, "3": 0.04004920582955004, "4": 0.015103777939984516}, "education_level": {"none": 0.0008916910879645226, "0": 0.0015932271426391696, "1": 0.004543478022631265, "2": 0.39213482616200307, "3": 0.5219036293468898, "4": 0.07893314823787217}, "creative_writing_quality": {"not_applicable": 0.9989512451362949, "-2": 8.495243286853809e-05, "-1": 0.00018731513249633535, "0": 0.0005950600708120296, "1": 0.00013302172862143973, "2": 4.840549890682018e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 4.6792765593252804e-05, "Art & Design": 6.70007638515478e-05, "Law & Crime": 5.5288997653322716e-05, "Education & Careers": 5.90547065221947e-05, "Entertainment & Media": 3.446741824900037e-05, "Fashion & Beauty": 3.2001349899118896e-05, "Business, Economics & Finance": 7.004788633584057e-05, "Food & Dining": 3.389916915506369e-05, "Games & Gaming": 6.719705458988963e-05, "Electronics & Hardware": 0.00026975518936292535, "Health, Healthcare & Wellness": 3.934197314639017e-05, "History & Geography": 4.7757143457231836e-05, "Home, Pets & Hobbies": 4.283812090468855e-05, "Industry & Production": 5.922130728060504e-05, "Language, Literature & Philosophy": 4.418311436519613e-05, "Politics & Government": 2.537067940217584e-05, "Religion & Spirituality": 3.52176036437987e-05, "Science, Mathematics & Engineering": 0.0003023997343839255, "Relationships & Community": 2.467047414053579e-05, "Software Usage & Applications": 0.022625854333619144, "Programming & Software Engineering": 0.9756655868939926, "Sports & Fitness": 4.893183849205482e-05, "Vehicles & Transportation": 2.53637362825495e-05, "Travel & Tourism": 4.1838175263548894e-05, "Other / Uncovered Subject": 0.00018110774376451142, "Unknown / Insufficient Content": 5.4811826648741925e-05}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0005834950519132226, "Art & Design": 0.0004601940804450882, "Law & Crime": 0.0005542848378664227, "Education & Careers": 0.00041708286330010793, "Entertainment & Media": 0.0004162091029040506, "Fashion & Beauty": 0.00021671253702680313, "Business, Economics & Finance": 0.000562383012724803, "Food & Dining": 0.0002141978708698217, "Games & Gaming": 0.00032704786861749343, "Electronics & Hardware": 0.0015544309455356178, "Health, Healthcare & Wellness": 0.00026459165592841944, "History & Geography": 0.00027779668013049025, "Home, Pets & Hobbies": 0.00027132749814688965, "Industry & Production": 0.00028058623910152307, "Language, Literature & Philosophy": 0.00019569917861220792, "Politics & Government": 0.00023670751362255192, "Religion & Spirituality": 0.0002681234755889232, "Science, Mathematics & Engineering": 0.0010553152669042138, "Relationships & Community": 0.0001777741829265432, "Software Usage & Applications": 0.1158700069219815, "Programming & Software Engineering": 0.04088537355455424, "Sports & Fitness": 0.00022636720738352466, "Vehicles & Transportation": 0.00012758697481259665, "Travel & Tourism": 0.00031790371844746794, "Other / Uncovered Subject": 0.0005267157036219027, "NONE": 0.8337120860570335}}, "probabilities": {"primary": {"Academic Writing": 8.843845875801089e-05, "Content Listing": 0.00011360413097447063, "Creative Writing": 5.931941974098072e-05, "Customer Support Page": 7.022548927222786e-05, "Q&A Forum": 4.308288713652469e-05, "Discussion Thread": 3.384621555045216e-05, "Comment Section": 5.8783017050436186e-05, "Missing Content": 6.233915930849152e-05, "Knowledge Article": 0.0002483388939695161, "Legal Notices": 7.626736875809693e-05, "News Article": 2.4011046021661858e-05, "Organizational Announcement": 4.2652588725118905e-05, "Nonfiction Writing": 4.1565344704692625e-05, "Organizational About Page": 5.173278001980778e-05, "Personal About Page": 5.457966716952139e-05, "Personal Blog": 3.188469858875934e-05, "Product Page": 3.278651771806478e-05, "Spam / Ads": 4.51660034445269e-05, "Structured Data": 0.0006895362684034815, "Technical Writing": 0.9739798729770832, "Transcript / Interview": 6.58084335397509e-05, "Tutorial / How-To Guide": 0.020178886440632697, "User Reviews": 2.6580669486339433e-05, "Other / Unknown": 0.003880691523943108}, "secondary": {"Academic Writing": 0.00046163857564540347, "Content Listing": 0.0016874140967221025, "Creative Writing": 0.00032551963056823714, "Customer Support Page": 0.0010166190003605665, "Q&A Forum": 0.00018603857089352098, "Discussion Thread": 0.0001450031673352156, "Comment Section": 0.00029255710627614905, "Missing Content": 0.00044285826028773887, "Knowledge Article": 0.0012314518531872081, "Legal Notices": 0.00030233809499715015, "News Article": 0.00020795976287632734, "Organizational Announcement": 0.00020773805364223766, "Nonfiction Writing": 0.00019673205487988698, "Organizational About Page": 0.0002462988190850276, "Personal About Page": 0.00022745660693299612, "Personal Blog": 0.00020502951398820716, "Product Page": 0.00015357289845409727, "Spam / Ads": 0.0002235436954731943, "Structured Data": 0.006684336708392236, "Technical Writing": 0.027664116301385606, "Transcript / Interview": 0.00029276838871083224, "Tutorial / How-To Guide": 0.05961367330954909, "User Reviews": 0.00011041573895755941, "NONE": 0.8978749197913994}, "tertiary": {"Academic Writing": 0.00027216359313254494, "Content Listing": 0.0026048749293084345, "Creative Writing": 0.0002166455265835196, "Customer Support Page": 0.0007567479263335638, "Q&A Forum": 0.00011068120607541168, "Discussion Thread": 8.234519637755094e-05, "Comment Section": 0.00022021580575347857, "Missing Content": 0.0003331699958664327, "Knowledge Article": 0.0021102707023919897, "Legal Notices": 0.000372243427282306, "News Article": 0.00013077944104010825, "Organizational Announcement": 0.0001512576651987929, "Nonfiction Writing": 0.00014292429186703738, "Organizational About Page": 0.00018009376116377644, "Personal About Page": 0.000172896435205463, "Personal Blog": 0.00012163269664989214, "Product Page": 0.00011710824719170006, "Spam / Ads": 0.00016035783982906845, "Structured Data": 0.005946224049165497, "Technical Writing": 0.017763983753706462, "Transcript / Interview": 0.00023221590844409306, "Tutorial / How-To Guide": 0.04223682232974747, "User Reviews": 6.952025412987671e-05, "NONE": 0.9254948250175555}, "structured_records": {"false": 0.9510051857086967, "true": 0.048994814291303236}, "procedural_steps": {"false": 0.6135545285372361, "true": 0.3864454714627639}, "worked_solution": {"false": 0.995502175326952, "true": 0.004497824673048092}, "contextual_dialogue": {"false": 0.9999825217606481, "true": 1.7478239351987043e-05}, "content_quality": {"-2": 0.007443406235551014, "-1": 0.03214463049159071, "0": 0.22146420781798193, "1": 0.4933442578317029, "2": 0.24560349762317354}, "noise_severity": {"0": 0.9896260419739964, "1": 0.009174487762284952, "2": 0.0006927763401162427, "3": 0.00027183120706257834, "4": 0.0002348627165397774}, "missing_content_severity": {"0": 0.9982220157324178, "1": 0.0008029215516352817, "2": 0.0006086324932256235, "3": 0.0002718675518841928, "4": 9.45626708371309e-05}, "factual_density": {"0": 0.0033142640881846396, "1": 0.007097012878845959, "2": 0.10762601491511577, "3": 0.3884353802505684, "4": 0.49352732786728526}, "pretraining_utility": {"-2": 0.00833883869186906, "-1": 0.056986761601614595, "0": 0.34099917493836734, "1": 0.5090971185646986, "2": 0.08457810620345037}, "math_density": {"0": 0.8370216787904352, "1": 0.15247077312830418, "2": 0.005725535858231604, "3": 0.0016008465333411533, "4": 0.0031811656896879484}, "code_density": {"0": 0.00039639058338684354, "1": 0.0007081159642180544, "2": 0.014132778702978568, "3": 0.09269408908963225, "4": 0.8920686256597843}, "reasoning_density": {"0": 0.604477912221146, "1": 0.14895376430047144, "2": 0.19141533970884797, "3": 0.04004920582955004, "4": 0.015103777939984516}, "education_level": {"none": 0.0008916910879645226, "0": 0.0015932271426391696, "1": 0.004543478022631265, "2": 0.39213482616200307, "3": 0.5219036293468898, "4": 0.07893314823787217}, "creative_writing_quality": {"not_applicable": 0.9989512451362949, "-2": 8.495243286853809e-05, "-1": 0.00018731513249633535, "0": 0.0005950600708120296, "1": 0.00013302172862143973, "2": 4.840549890682018e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 4.679276559325281e-05, "Art & Design": 6.700076385154781e-05, "Law & Crime": 5.528899765332272e-05, "Education & Careers": 5.9054706522194706e-05, "Entertainment & Media": 3.4467418249000375e-05, "Fashion & Beauty": 3.20013498991189e-05, "Business, Economics & Finance": 7.004788633584058e-05, "Food & Dining": 3.38991691550637e-05, "Games & Gaming": 6.719705458988964e-05, "Electronics & Hardware": 0.0002697551893629254, "Health, Healthcare & Wellness": 3.934197314639018e-05, "History & Geography": 4.775714345723184e-05, "Home, Pets & Hobbies": 4.2838120904688556e-05, "Industry & Production": 5.922130728060505e-05, "Language, Literature & Philosophy": 4.418311436519614e-05, "Politics & Government": 2.5370679402175845e-05, "Religion & Spirituality": 3.521760364379871e-05, "Science, Mathematics & Engineering": 0.00030239973438392554, "Relationships & Community": 2.4670474140535793e-05, "Software Usage & Applications": 0.022625854333619147, "Programming & Software Engineering": 0.9756655868939927, "Sports & Fitness": 4.8931838492054824e-05, "Vehicles & Transportation": 2.5363736282549504e-05, "Travel & Tourism": 4.18381752635489e-05, "Other / Uncovered Subject": 0.00018110774376451145, "Unknown / Insufficient Content": 5.481182664874193e-05}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0005834950519132227, "Art & Design": 0.00046019408044508823, "Law & Crime": 0.0005542848378664228, "Education & Careers": 0.000417082863300108, "Entertainment & Media": 0.00041620910290405064, "Fashion & Beauty": 0.00021671253702680316, "Business, Economics & Finance": 0.0005623830127248032, "Food & Dining": 0.00021419787086982171, "Games & Gaming": 0.0003270478686174935, "Electronics & Hardware": 0.001554430945535618, "Health, Healthcare & Wellness": 0.0002645916559284195, "History & Geography": 0.0002777966801304903, "Home, Pets & Hobbies": 0.0002713274981468897, "Industry & Production": 0.0002805862391015231, "Language, Literature & Philosophy": 0.00019569917861220795, "Politics & Government": 0.00023670751362255194, "Religion & Spirituality": 0.00026812347558892327, "Science, Mathematics & Engineering": 0.001055315266904214, "Relationships & Community": 0.00017777418292654323, "Software Usage & Applications": 0.11587000692198152, "Programming & Software Engineering": 0.040885373554554245, "Sports & Fitness": 0.00022636720738352468, "Vehicles & Transportation": 0.00012758697481259667, "Travel & Tourism": 0.000317903718447468, "Other / Uncovered Subject": 0.0005267157036219028, "NONE": 0.8337120860570336}}, "probability_diagnostics": {"primary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "tertiary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "structured_records": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "procedural_steps": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "worked_solution": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "contextual_dialogue": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "content_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "noise_severity": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "missing_content_severity": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "factual_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "pretraining_utility": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "math_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "code_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "reasoning_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "education_level": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "creative_writing_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "primary_topic": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary_topic": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}}, "usage": {"input_tokens": 10572, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 10572, "cached_share": null, "cache_discount_reported": null, "reported_cost_usd": null}, "response_metadata": {"model": "decision-models/baseten-mammoth-27b-latest"}, "scored_at_utc": "2026-10-25T18:35:06.463257+00:00", "scoring_key_slot": "primary", "dataset_uid": "d8ae412a-42ee-4053-a022-9acbde2d876f", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "43863dcc2800154f6d60b312b0da2dbbc85147501bf63b586ff92a7699783437", "source_metadata": {"uuid": "d8ae412a-42ee-4053-a022-9acbde2d876f", "repo_name": "ClemaX/ft_services", "relative_path": "setup.sh", "category": "TOOL", "algo_rel_score": 0.9902201294898987, "quality_score": 4.010931491851807, "source_meta": {"github_metadata": {"branch": "master", "commit_count": 175, "repo_created_at": "2020-03-17T17:35:05.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 2, "forks": 0, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "beb55bbe026a0add3b3e54d33a1a55b3d5132597", "size_bytes": 6203, "file_timestamp": 1605235382, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "8ba2f2de9c5894488f9d419d3f13dd48eefbf142"}}, "parsed_source_meta": {"github_metadata": {"branch": "master", "commit_count": 175, "repo_created_at": "2020-03-17T17:35:05.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 2, "forks": 0, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "beb55bbe026a0add3b3e54d33a1a55b3d5132597", "size_bytes": 6203, "file_timestamp": 1605235382, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "8ba2f2de9c5894488f9d419d3f13dd48eefbf142", "url": "https://github.com/ClemaX/ft_services/blob/8ba2f2de9c5894488f9d419d3f13dd48eefbf142/setup.sh"}, "gpt4o_tokens": 1973, "dataset_split": "shell", "probability_weighted_scores": {"content_quality": 0.9375198101153572, "noise_severity": 0.012314984929864282, "missing_content_severity": 0.003214039877087631, "factual_density": 3.3617644949299237, "pretraining_utility": 0.6045888919862467, "math_density": 0.18144904720354263, "code_density": 3.875330443278209, "reasoning_density": 0.7123471729667555, "education_level": 2.6726397804123287, "creative_writing_quality": -0.12146525008549935}, "score_applicability": {"education_level": 0.9991083089120355, "creative_writing_quality": 0.001048754863705163}} {"source_group": "shell", "source": "openbmb/UltraData-Stack-v3-L2/shell", "domain": "github.com", "language": "shell", "url": "https://github.com/HRPatel2000/kube/blob/18b62d74b54592c08fab4e35b348f9035b6dd893/apps/toolbox/kube/scripts/cicd/buildEWSApps.sh", "id": "shell-0-b3fe20e627596795be328d5f1115a39e", "text": "#!/bin/bash\n\nset -e\n\necho \"START @@@ KUBE>>>DOCKER>>>KUBERNETES ::: CURRENT DIRECTORY :::>>> ${bamboo_working_directory}\"\nls -al ${bamboo_working_directory}\n\n#Convert $MICROSERVICE to UNIX Format - i.e. kube-lookups to kube_lookups\nconvertToUnix() {\n\n echo \"${kubeDirTrim}\" | tr - _\n}\n\necho \"KUBE>>>DOCKER>>>KUBERNETES ::: Running on BAMBOO HOST :::>>> ${HOSTNAME}\"\n\nfor kubeDir in */ ; do\n\n echo \"KUBE>>>DOCKER>>>KUBERNETES ::: KUBE Microservice Directory ::: $kubeDir\"\n\n kubeRelease=yes\n\n kubeDirTrim=${kubeDir%?}\n echo \"KUBE>>>DOCKER>>>KUBERNETES ::: KUBE Domain ::: ${kubeDirTrim:4}\"\n\n if [ \"$kubeDirTrim\" == \"kube-toolbox\" ] || [ \"$kubeDirTrim\" == \"artifacts\" ]\n then\n kubeRelease=no\n continue\n fi\n\n kubeDirTrimUnix=\"$(convertToUnix ${kubeDirTrim})\"\n echo \"$kubeDirTrim :::>>> Evaluated kubeDirTrimUnix <<<${kubeDirTrimUnix}>>>\"\n\n eval \"isReleasing=\\${bamboo_${kubeDirTrimUnix}}\"\n echo \"$kubeDirTrim :::>>> Evaluated isReleasing <<<${isReleasing}>>>\"\n\n if [ \"$isReleasing\" == \"yes\" ]\n then\n\n echo \"$kubeDirTrim :::>>> Build Microservice <<<$kubeVersion>>>\"\n\n kubeWorkingDirectory=\"${bamboo_working_directory}/$kubeDirTrim/\"\n\n cd \"${kubeWorkingDirectory}\"\n\n while read line; do\n if echo \"$line\" | grep -q \"version=\"; then\n echo \"$kubeDirTrim :::>>> Evaluated GRADLE kubeVersion <<<${line}>>>\";\n kubeVersion=${line:8}\n fi\n done < \"gradle.properties\"\n\n echo \"$kubeDirTrim :::>>> Evaluated kubeVersion <<<${kubeVersion}>>>\"\n\n ./gradlew clean build sonarqube --no-daemon -Prelease.releaseVersion=${kubeVersion}_${bamboo_buildNumber}\n\n echo \"$kubeDirTrim :::>>> Built KUBE Microservice DOCKER Image <<<$kubeVersion>>>\"\n\n if [ \"${bamboo_kube_docker_publish}\" = \"yes\" ]\n then\n\n echo \"$kubeDirTrim :::>>> Publish KUBE Microservice Image on Docker Registry <<<$kubeVersion>>>\"\n\n kubeDockerWorkingDirectory=\"${bamboo_working_directory}/kube-toolbox/kube/docker/build/\"\n\n cp ${kubeWorkingDirectory}/build/libs/*.jar ${kubeDockerWorkingDirectory}/\n\n kubeKubeDirectory=\"${bamboo_working_directory}/kube-toolbox/kube/scripts/cicd\"\n\n ${kubeKubeDirectory}/publishKUBEDockerImage.sh ${bamboo_working_directory} ${kubeDirTrim} ${kubeVersion}_${bamboo_buildNumber} ${bamboo_kube_docker_registry_host} ${bamboo_kube_docker_registry_port} ${bamboo_kube_release_type}\n\n echo \"$kubeDirTrim :::>>> Published KUBE Microservice Image on Docker Registry <<<$kubeVersion>>>\"\n\n else\n echo \"$kubeDirTrim :::>>> [[[SKIP]]] Publish KUBE Microservice Image on Docker Registry <<<$kubeVersion>>>\"\n fi\n\n else\n kubeVersion=${isReleasing}\n kubeRelease=no\n echo \"$kubeDirTrim :::>>> [[[SKIP]]] Build Microservice <<<$kubeVersion>>>\"\n fi\n\n# if [ ! -z \"${isReleasing}\" ] && [ \"${isReleasing}\" != \"yes\" ]\n# then\n# kubeVersion=${isReleasing}\n# fi\n\n if [ \"${bamboo_kube_docker_deploy}\" = \"yes\" ] && [ \"$kubeRelease\" == \"yes\" ]\n then\n\n echo \"$kubeDirTrim :::>>> Deploy KUBE Microservice Pod on Kubernetes Cluster <<<$kubeVersion>>>\"\n\nssh -o StrictHostKeyChecking=no ${bamboo_kube_admin_host} << EOF\n\nsudo su -\n\necho \"Hurrey on Kubernetes Master!!!\"\n\nid\n\npwd\n\n/opt/mw/app/kube/install/scripts/cicd/deployKUBEKubernetesPod.sh ${bamboo_kube_kube_cluster} ${kubeDirTrim} ${kubeVersion}_${bamboo_buildNumber} ${bamboo_kube_docker_registry_host} ${bamboo_kube_docker_registry_port} ${bamboo_kube_release_type}\n\nEOF\n\n echo \"$kubeDirTrim :::>>> Deployed KUBE Microservice Pod on Kubernetes Cluster <<<$kubeVersion>>>\"\n\n else\n echo \"$kubeDirTrim :::>>> [[[SKIP]]] Deploy KUBE Microservice DOCKER Image <<<$kubeVersion>>>\"\n fi\n\ndone\n\necho \"END @@@ KUBE>>>DOCKER>>>KUBERNETES ::: CURRENT DIRECTORY :::>>> ${bamboo_working_directory}\"\n\nexit 0\n", "text_preview": "#!/bin/bash set -e echo \"START @@@ KUBE>>>DOCKER>>>KUBERNETES ::: CURRENT DIRECTORY :::>>> ${bamboo_working_directory}\" ls -al ${bamboo_working_directory} #Convert $MICROSERVICE to UNIX Format - i.e. kube-lookups to kube_lookups convertToUn", "input_sha256": "83c23ce96a031a4a2eec0a00a3170aa4c0621ae1c63d3453c94c118cbb2b331b", "text_sha256": "b3fe20e627596795be328d5f1115a39ed500c95f89fb8a257da6b5ae978bb877", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 20085, "input_policy": "text-and-optional-url-v1", "label_policy_version": 12, "requested_model": "decision-models/baseten-mammoth-27b-latest", "backend": "baseten", "endpoint": "https://inference.baseten.co/v1/systemone", "status": "ok", "training_eligible": true, "label": {"primary": {"main_format": "Technical Writing", "sub_format": null}, "secondary": null, "tertiary": null, "content_structure": []}, "candidate_label": null, "topic": {"primary": {"main_topic": "Programming & Software Engineering", "sub_topic": null}, "secondary": null}, "scores": {"content_quality": 0, "noise_severity": 0, "missing_content_severity": 0, "factual_density": 3, "pretraining_utility": 0, "math_density": 0, "code_density": 4, "reasoning_density": 0, "education_level": 3, "creative_writing_quality": null}, "score_expectations": {"content_quality": 0.2756323512882461, "noise_severity": 0.11153519094223273, "missing_content_severity": 0.016928636978469688, "factual_density": 2.8877677685386876, "pretraining_utility": 0.3112442556891323, "math_density": 0.0013655338533460216, "code_density": 3.8978750934852617, "reasoning_density": 0.40150220414307103, "education_level": 2.7109149113449282, "creative_writing_quality": -0.47291516717312404}, "api_choices": {"primary": "Technical Writing", "secondary": "NONE", "tertiary": "NONE", "education_level": "3", "creative_writing_quality": "not_applicable", "primary_topic": "Programming & Software Engineering", "secondary_topic": "NONE"}, "review_reasons": [], "format_slot_diagnostics": {"comparable": true, "secondary_tertiary_identical": false, "secondary_tertiary_max_abs_gap": 0.019175947294374884, "secondary_choice": "NONE", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.9895058260218992, "secondary": 0.9648912519627091, "tertiary": 0.9849009360959698, "structured_records": 0.001217692138006693, "procedural_steps": 0.15643635343715362, "worked_solution": 0.0022913706318092655, "contextual_dialogue": 9.991257254487205e-06, "content_quality": 0.3990606477776609, "noise_severity": 0.9070540075481394, "missing_content_severity": 0.985892802517942, "factual_density": 0.40379618207713797, "pretraining_utility": 0.47707507030610685, "math_density": 0.9988620551222116, "code_density": 0.914895911237718, "reasoning_density": 0.665414829880774, "education_level": 0.46063212980332885, "creative_writing_quality": 0.999317424988746, "primary_topic": 0.9947513750673365, "secondary_topic": 0.9692680125272658}, "probability_margin": {"primary": 0.9832821991655533, "secondary": 0.9489929053840741, "tertiary": 0.9779131562313471, "education_level": 0.19265241812931372, "creative_writing_quality": 0.9992179348690062, "primary_topic": 0.9919824204665987, "secondary_topic": 0.957020508665618}, "raw_probabilities": {"primary": {"Academic Writing": 4.0119578761893886e-05, "Content Listing": 2.5534384872771534e-05, "Creative Writing": 3.237505940861974e-05, "Customer Support Page": 1.7368713233239874e-05, "Q&A Forum": 2.2126995812219832e-05, "Discussion Thread": 1.3680481484499834e-05, "Comment Section": 2.3089688905258355e-05, "Missing Content": 3.085282378470231e-05, "Knowledge Article": 0.00014675838926650584, "Legal Notices": 3.951636422257994e-05, "News Article": 9.361224020845932e-06, "Organizational Announcement": 2.0716253206766453e-05, "Nonfiction Writing": 1.799193398672753e-05, "Organizational About Page": 2.2066347674788402e-05, "Personal About Page": 2.0967667275233485e-05, "Personal Blog": 1.2515065596272152e-05, "Product Page": 1.2140398520403258e-05, "Spam / Ads": 2.7644281251809373e-05, "Structured Data": 0.00012968871425288772, "Technical Writing": 0.9899430832709867, "Transcript / Interview": 2.96808043471447e-05, "Tutorial / How-To Guide": 0.006660884105433379, "User Reviews": 1.0853639663754517e-05, "Other / Unknown": 0.0026909838140312154}, "secondary": {"Academic Writing": 0.00012275395154859653, "Content Listing": 8.880668952645442e-05, "Creative Writing": 0.00011033720119731822, "Customer Support Page": 6.784064633964359e-05, "Q&A Forum": 4.7395488600044954e-05, "Discussion Thread": 3.1624304346281345e-05, "Comment Section": 7.808269044372842e-05, "Missing Content": 0.00016165012868170985, "Knowledge Article": 0.0004072116183495756, "Legal Notices": 9.350931017411774e-05, "News Article": 6.333752050747323e-05, "Organizational Announcement": 6.625477480388053e-05, "Nonfiction Writing": 5.49035965981347e-05, "Organizational About Page": 6.243830684201079e-05, "Personal About Page": 5.904086124088825e-05, "Personal Blog": 4.9372939061949065e-05, "Product Page": 3.9890017138915205e-05, "Spam / Ads": 6.816835370051137e-05, "Structured Data": 0.0002666393062746832, "Technical Writing": 0.014228549988007376, "Transcript / Interview": 8.706783632647256e-05, "Tutorial / How-To Guide": 0.017361211080188697, "User Reviews": 2.9796925838694488e-05, "NONE": 0.9663541164642628}, "tertiary": {"Academic Writing": 7.625290730709525e-05, "Content Listing": 6.849681240440926e-05, "Creative Writing": 9.46039685600436e-05, "Customer Support Page": 4.771796384699704e-05, "Q&A Forum": 2.6577466927284726e-05, "Discussion Thread": 1.894683088625388e-05, "Comment Section": 7.631729206243331e-05, "Missing Content": 0.0001798902049925243, "Knowledge Article": 0.00040958832668620777, "Legal Notices": 0.00011297389323944971, "News Article": 4.061542560044413e-05, "Organizational Announcement": 5.379620410171462e-05, "Nonfiction Writing": 4.864807322789319e-05, "Organizational About Page": 5.659451976250974e-05, "Personal About Page": 3.825503968590845e-05, "Personal Blog": 3.393466540830441e-05, "Product Page": 2.7001717213727994e-05, "Spam / Ads": 8.034790433550588e-05, "Structured Data": 0.00021001492062929723, "Technical Writing": 0.0050586429574488705, "Transcript / Interview": 7.263041844791792e-05, "Tutorial / How-To Guide": 0.007616907527290587, "User Reviews": 2.118120129687296e-05, "NONE": 0.9855300637586377}, "structured_records": {"false": 0.9987823078619933, "true": 0.001217692138006693}, "procedural_steps": {"false": 0.8435636465628464, "true": 0.15643635343715362}, "worked_solution": {"false": 0.9977086293681907, "true": 0.0022913706318092655}, "contextual_dialogue": {"false": 0.9999900087427455, "true": 9.991257254487205e-06}, "content_quality": {"-2": 0.03198803627157144, "-1": 0.15877136314613746, "0": 0.38582748817091056, "1": 0.3484464378452348, "2": 0.07496667456614581}, "noise_severity": {"0": 0.9132893612419511, "1": 0.065721283386953, "2": 0.018213315343763067, "3": 0.001716883241577686, "4": 0.0010591567857551338}, "missing_content_severity": {"0": 0.9867361647909801, "1": 0.010640009235431758, "2": 0.0018042023769502705, "3": 0.0005982713974142589, "4": 0.00022135219922365305}, "factual_density": {"0": 0.023162269692393034, "1": 0.0588542537007861, "2": 0.22664309000562205, "3": 0.38973421157813787, "4": 0.301606175023061}, "pretraining_utility": {"-2": 0.012779878896499657, "-1": 0.13257307217877043, "0": 0.42868106214726626, "1": 0.3825548878940254, "2": 0.04341109888343831}, "math_density": {"0": 0.9991354941982186, "1": 0.0006244036617654879, "2": 8.389390316642794e-05, "3": 5.1490562150156127e-05, "4": 0.00010471767469930231}, "code_density": {"0": 0.0002528935120467006, "1": 0.00048141636440537575, "2": 0.010620026852214522, "3": 0.07842902966890644, "4": 0.910216633602427}, "reasoning_density": {"0": 0.7749486827626104, "1": 0.08994616974198892, "2": 0.10107857638664362, "3": 0.02670740280723366, "4": 0.007319168301523475}, "education_level": {"none": 0.0010383348629644897, "0": 0.0016044015808578205, "1": 0.005017830697689232, "2": 0.35787435670679363, "3": 0.5505267748361073, "4": 0.08393830131558762}, "creative_writing_quality": {"not_applicable": 0.9994311874906217, "-2": 9.421102117063563e-05, "-1": 0.00018087351098644187, "0": 0.0002132526216154748, "1": 6.065522084740893e-05, "2": 1.9820134758671883e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 3.758711461578236e-05, "Art & Design": 4.100854246272518e-05, "Law & Crime": 3.890598387453676e-05, "Education & Careers": 3.934400944518745e-05, "Entertainment & Media": 2.6141237191525975e-05, "Fashion & Beauty": 1.782187083167174e-05, "Business, Economics & Finance": 0.0001006808524659166, "Food & Dining": 2.668652352998611e-05, "Games & Gaming": 5.5379170707470335e-05, "Electronics & Hardware": 0.0003172007424610163, "Health, Healthcare & Wellness": 4.057829170931639e-05, "History & Geography": 3.5822171690122836e-05, "Home, Pets & Hobbies": 2.814203968191655e-05, "Industry & Production": 0.00011087760629678844, "Language, Literature & Philosophy": 3.676947932990668e-05, "Politics & Government": 2.1989387575132225e-05, "Religion & Spirituality": 3.298581208340782e-05, "Science, Mathematics & Engineering": 0.0005905033100015803, "Relationships & Community": 1.8927053176015715e-05, "Software Usage & Applications": 0.002970824790455623, "Programming & Software Engineering": 0.9949532452570543, "Sports & Fitness": 4.534280084788317e-05, "Vehicles & Transportation": 2.4695055584887797e-05, "Travel & Tourism": 3.9289566117535096e-05, "Other / Uncovered Subject": 0.0002904052954063814, "Unknown / Insufficient Content": 5.8846035403277754e-05}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.00014446442632660454, "Art & Design": 0.00011132546166024605, "Law & Crime": 0.00016120521529319843, "Education & Careers": 0.00012783499071104593, "Entertainment & Media": 0.00011706384803533052, "Fashion & Beauty": 6.501841651204368e-05, "Business, Economics & Finance": 0.00035035774846413993, "Food & Dining": 6.754948556235615e-05, "Games & Gaming": 0.00011242041596531834, "Electronics & Hardware": 0.000789293052217358, "Health, Healthcare & Wellness": 9.021052528006104e-05, "History & Geography": 8.014401201917558e-05, "Home, Pets & Hobbies": 5.4044173944178315e-05, "Industry & Production": 0.0001538845694019723, "Language, Literature & Philosophy": 5.597189871484554e-05, "Politics & Government": 6.992611949656204e-05, "Religion & Spirituality": 9.656395673794156e-05, "Science, Mathematics & Engineering": 0.0007058877375496505, "Relationships & Community": 5.125839960485661e-05, "Software Usage & Applications": 0.012254213362394444, "Programming & Software Engineering": 0.013429503379829875, "Sports & Fitness": 7.958318173227422e-05, "Vehicles & Transportation": 3.9753641705553716e-05, "Travel & Tourism": 9.879222161855688e-05, "Other / Uncovered Subject": 0.00024371771377458453, "NONE": 0.9704500120454479}}, "probabilities": {"primary": {"Academic Writing": 4.011957876189388e-05, "Content Listing": 2.5534384872771528e-05, "Creative Writing": 3.2375059408619735e-05, "Customer Support Page": 1.736871323323987e-05, "Q&A Forum": 2.212699581221983e-05, "Discussion Thread": 1.368048148449983e-05, "Comment Section": 2.308968890525835e-05, "Missing Content": 3.08528237847023e-05, "Knowledge Article": 0.0001467583892665058, "Legal Notices": 3.951636422257993e-05, "News Article": 9.36122402084593e-06, "Organizational Announcement": 2.071625320676645e-05, "Nonfiction Writing": 1.7991933986727525e-05, "Organizational About Page": 2.20663476747884e-05, "Personal About Page": 2.0967667275233482e-05, "Personal Blog": 1.2515065596272149e-05, "Product Page": 1.2140398520403254e-05, "Spam / Ads": 2.7644281251809367e-05, "Structured Data": 0.0001296887142528877, "Technical Writing": 0.9899430832709865, "Transcript / Interview": 2.9680804347144693e-05, "Tutorial / How-To Guide": 0.006660884105433377, "User Reviews": 1.0853639663754515e-05, "Other / Unknown": 0.002690983814031215}, "secondary": {"Academic Writing": 0.00012275395154859653, "Content Listing": 8.880668952645442e-05, "Creative Writing": 0.00011033720119731822, "Customer Support Page": 6.784064633964359e-05, "Q&A Forum": 4.7395488600044954e-05, "Discussion Thread": 3.1624304346281345e-05, "Comment Section": 7.808269044372842e-05, "Missing Content": 0.00016165012868170985, "Knowledge Article": 0.0004072116183495756, "Legal Notices": 9.350931017411774e-05, "News Article": 6.333752050747323e-05, "Organizational Announcement": 6.625477480388053e-05, "Nonfiction Writing": 5.49035965981347e-05, "Organizational About Page": 6.243830684201079e-05, "Personal About Page": 5.904086124088825e-05, "Personal Blog": 4.9372939061949065e-05, "Product Page": 3.9890017138915205e-05, "Spam / Ads": 6.816835370051137e-05, "Structured Data": 0.0002666393062746832, "Technical Writing": 0.014228549988007376, "Transcript / Interview": 8.706783632647256e-05, "Tutorial / How-To Guide": 0.017361211080188697, "User Reviews": 2.9796925838694488e-05, "NONE": 0.9663541164642628}, "tertiary": {"Academic Writing": 7.625290730709525e-05, "Content Listing": 6.849681240440926e-05, "Creative Writing": 9.46039685600436e-05, "Customer Support Page": 4.771796384699704e-05, "Q&A Forum": 2.6577466927284726e-05, "Discussion Thread": 1.894683088625388e-05, "Comment Section": 7.631729206243331e-05, "Missing Content": 0.0001798902049925243, "Knowledge Article": 0.00040958832668620777, "Legal Notices": 0.00011297389323944971, "News Article": 4.061542560044413e-05, "Organizational Announcement": 5.379620410171462e-05, "Nonfiction Writing": 4.864807322789319e-05, "Organizational About Page": 5.659451976250974e-05, "Personal About Page": 3.825503968590845e-05, "Personal Blog": 3.393466540830441e-05, "Product Page": 2.7001717213727994e-05, "Spam / Ads": 8.034790433550588e-05, "Structured Data": 0.00021001492062929723, "Technical Writing": 0.0050586429574488705, "Transcript / Interview": 7.263041844791792e-05, "Tutorial / How-To Guide": 0.007616907527290587, "User Reviews": 2.118120129687296e-05, "NONE": 0.9855300637586377}, "structured_records": {"false": 0.9987823078619933, "true": 0.001217692138006693}, "procedural_steps": {"false": 0.8435636465628464, "true": 0.15643635343715362}, "worked_solution": {"false": 0.9977086293681907, "true": 0.0022913706318092655}, "contextual_dialogue": {"false": 0.9999900087427455, "true": 9.991257254487205e-06}, "content_quality": {"-2": 0.03198803627157144, "-1": 0.15877136314613746, "0": 0.38582748817091056, "1": 0.3484464378452348, "2": 0.07496667456614581}, "noise_severity": {"0": 0.9132893612419511, "1": 0.065721283386953, "2": 0.018213315343763067, "3": 0.001716883241577686, "4": 0.0010591567857551338}, "missing_content_severity": {"0": 0.9867361647909801, "1": 0.010640009235431758, "2": 0.0018042023769502705, "3": 0.0005982713974142589, "4": 0.00022135219922365305}, "factual_density": {"0": 0.023162269692393034, "1": 0.0588542537007861, "2": 0.22664309000562205, "3": 0.38973421157813787, "4": 0.301606175023061}, "pretraining_utility": {"-2": 0.012779878896499657, "-1": 0.13257307217877043, "0": 0.42868106214726626, "1": 0.3825548878940254, "2": 0.04341109888343831}, "math_density": {"0": 0.9991354941982187, "1": 0.000624403661765488, "2": 8.389390316642795e-05, "3": 5.149056215015613e-05, "4": 0.00010471767469930232}, "code_density": {"0": 0.0002528935120467006, "1": 0.00048141636440537575, "2": 0.010620026852214522, "3": 0.07842902966890644, "4": 0.910216633602427}, "reasoning_density": {"0": 0.7749486827626104, "1": 0.08994616974198892, "2": 0.10107857638664362, "3": 0.02670740280723366, "4": 0.007319168301523475}, "education_level": {"none": 0.0010383348629644895, "0": 0.00160440158085782, "1": 0.005017830697689231, "2": 0.3578743567067936, "3": 0.5505267748361072, "4": 0.0839383013155876}, "creative_writing_quality": {"not_applicable": 0.9994311874906214, "-2": 9.421102117063561e-05, "-1": 0.00018087351098644184, "0": 0.00021325262161547474, "1": 6.065522084740892e-05, "2": 1.982013475867188e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 3.7587114615782364e-05, "Art & Design": 4.100854246272519e-05, "Law & Crime": 3.890598387453677e-05, "Education & Careers": 3.934400944518746e-05, "Entertainment & Media": 2.6141237191525978e-05, "Fashion & Beauty": 1.7821870831671745e-05, "Business, Economics & Finance": 0.00010068085246591661, "Food & Dining": 2.6686523529986112e-05, "Games & Gaming": 5.537917070747034e-05, "Electronics & Hardware": 0.00031720074246101635, "Health, Healthcare & Wellness": 4.0578291709316394e-05, "History & Geography": 3.582217169012284e-05, "Home, Pets & Hobbies": 2.8142039681916552e-05, "Industry & Production": 0.00011087760629678845, "Language, Literature & Philosophy": 3.6769479329906685e-05, "Politics & Government": 2.1989387575132228e-05, "Religion & Spirituality": 3.298581208340783e-05, "Science, Mathematics & Engineering": 0.0005905033100015804, "Relationships & Community": 1.892705317601572e-05, "Software Usage & Applications": 0.0029708247904556236, "Programming & Software Engineering": 0.9949532452570544, "Sports & Fitness": 4.5342800847883174e-05, "Vehicles & Transportation": 2.46950555848878e-05, "Travel & Tourism": 3.92895661175351e-05, "Other / Uncovered Subject": 0.00029040529540638147, "Unknown / Insufficient Content": 5.884603540327776e-05}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.00014446442632660454, "Art & Design": 0.00011132546166024605, "Law & Crime": 0.00016120521529319843, "Education & Careers": 0.00012783499071104593, "Entertainment & Media": 0.00011706384803533052, "Fashion & Beauty": 6.501841651204368e-05, "Business, Economics & Finance": 0.00035035774846413993, "Food & Dining": 6.754948556235615e-05, "Games & Gaming": 0.00011242041596531834, "Electronics & Hardware": 0.000789293052217358, "Health, Healthcare & Wellness": 9.021052528006104e-05, "History & Geography": 8.014401201917558e-05, "Home, Pets & Hobbies": 5.4044173944178315e-05, "Industry & Production": 0.0001538845694019723, "Language, Literature & Philosophy": 5.597189871484554e-05, "Politics & Government": 6.992611949656204e-05, "Religion & Spirituality": 9.656395673794156e-05, "Science, Mathematics & Engineering": 0.0007058877375496505, "Relationships & Community": 5.125839960485661e-05, "Software Usage & Applications": 0.012254213362394444, "Programming & Software Engineering": 0.013429503379829875, "Sports & Fitness": 7.958318173227422e-05, "Vehicles & Transportation": 3.9753641705553716e-05, "Travel & Tourism": 9.879222161855688e-05, "Other / Uncovered Subject": 0.00024371771377458453, "NONE": 0.9704500120454479}}, "probability_diagnostics": {"primary": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "secondary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "tertiary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "structured_records": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "procedural_steps": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "worked_solution": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "contextual_dialogue": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "content_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "noise_severity": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "missing_content_severity": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "factual_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "pretraining_utility": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "math_density": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "code_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "reasoning_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "education_level": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "creative_writing_quality": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "primary_topic": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}}, "usage": {"input_tokens": 9594, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 9594, "cached_share": null, "cache_discount_reported": null, "reported_cost_usd": null}, "response_metadata": {"model": "decision-models/baseten-mammoth-27b-latest"}, "scored_at_utc": "2026-10-25T18:35:06.808746+00:00", "scoring_key_slot": "assistant_1", "dataset_uid": "d5a4cb1f-8d49-4a0b-a914-7ed7b312c050", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "1dd036aa48131354803a480f0300207dcff85d344b79c43e091815ff9565bc69", "source_metadata": {"uuid": "d5a4cb1f-8d49-4a0b-a914-7ed7b312c050", "repo_name": "HRPatel2000/kube", "relative_path": "apps/toolbox/kube/scripts/cicd/buildEWSApps.sh", "category": "TOOL", "algo_rel_score": 0.6094675064086914, "quality_score": 3.477271556854248, "source_meta": {"github_metadata": {"branch": "master", "commit_count": 3, "repo_created_at": "2020-01-12T01:34:42.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 0, "forks": 0, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "7093e270938026ef6539f45cc9c512ad6bc9820f", "size_bytes": 3939, "file_timestamp": 1578794523, "language": "shell", "is_vendor": false, "license_type": "permissive", "detected_licenses": ["Apache-2.0"]}, "commit_id": "18b62d74b54592c08fab4e35b348f9035b6dd893"}}, "parsed_source_meta": {"github_metadata": {"branch": "master", "commit_count": 3, "repo_created_at": "2020-01-12T01:34:42.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 0, "forks": 0, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "7093e270938026ef6539f45cc9c512ad6bc9820f", "size_bytes": 3939, "file_timestamp": 1578794523, "language": "shell", "is_vendor": false, "license_type": "permissive", "detected_licenses": ["Apache-2.0"]}, "commit_id": "18b62d74b54592c08fab4e35b348f9035b6dd893", "url": "https://github.com/HRPatel2000/kube/blob/18b62d74b54592c08fab4e35b348f9035b6dd893/apps/toolbox/kube/scripts/cicd/buildEWSApps.sh"}, "gpt4o_tokens": 1098, "dataset_split": "shell", "probability_weighted_scores": {"content_quality": 0.2756323512882461, "noise_severity": 0.11153519094223273, "missing_content_severity": 0.016928636978469688, "factual_density": 2.8877677685386876, "pretraining_utility": 0.3112442556891323, "math_density": 0.0013655338533460216, "code_density": 3.8978750934852617, "reasoning_density": 0.40150220414307103, "education_level": 2.7109149113449282, "creative_writing_quality": -0.47291516717312404}, "score_applicability": {"education_level": 0.9989616651370354, "creative_writing_quality": 0.0005688125093786329}} {"source_group": "shell", "source": "openbmb/UltraData-Stack-v3-L2/shell", "domain": "github.com", "language": "shell", "url": "https://github.com/tpo/little_shell_scripts/blob/4f94adaac4b23da498dda734834d7a4202fdb1e5/executable_wrapper", "id": "shell-0-a44ff7125a4851e7e9488126ae5233e9", "text": "#!/bin/bash\n\nhelp() {\n echo 'usage: executable_wrapper (unwrap|wrap|test) executable'\n echo\n echo ' This script is used to wrap executables in order to'\n echo ' analyse how they are called by other scripts, daemons etc.'\n echo\n echo ' The original file will be renamed to `executable.orig`.'\n echo\n echo ' It will log all parameters and the environment of the'\n echo ' originally called executable to a log file for inspection.'\n echo ' The log file will be called `/tmp/executable.log.XXXXXX`,'\n echo \" where 'XXXXX' will be some random string.\"\n echo\n echo ' wrap - wrap the given `executable`'\n echo\n echo ' unwrap - unwrap the given `executable`'\n echo\n echo ' test - test this script'\n echo\n exit 1\n}\n\n# fail \"text\" exit_code\n#\nfail() {\n echo \"ERROR: $1\" >&2\n exit \"$2\"\n}\n\nwrap_executable_with() {\n local executable_to_wrap=\"$1\"\n local wrapper=\"$2\"\n local new_executable_name=\"$executable_to_wrap.orig\"\n \n # -n do not overwrite existing\n if ! mv -n \"$executable_to_wrap\" \"$new_executable_name\"; then\n local err = $?\n if [ -e \"$new_executable_name\" ]; then\n fail \"can not overwrite existing '$new_executable_name'\" 2\n else\n fail \"I wasn't able to 'mv -n '$executable_to_wrap' '$new_executable_name''\" 3\n fi\n fi\n\n # replace original executable path with a copy of ourselves\n if cp \"$wrapper\" \"$executable_to_wrap\"; then\n echo \"Successfully wrapped '$executable_to_wrap'\"\n exit 0\n else\n fail \"something went wrong. Aborted\" 4\n fi\n}\n\nunwrap_executable() {\n local executable_to_unwrap=\"$1\"\n\n local path_of_executable_orig=\"$executable_to_unwrap.orig\"\n\n if ! grep -q \"$MARKER\" \"$executable_to_unwrap\"; then\n fail \"it does not seem like '$executable_to_unwrap' is wrapped. Aborting\" 5\n else\n if mv \"$path_of_executable_orig\" \"$executable_to_unwrap\"; then \n echo \"Successfully unwrapped '$executable_to_unwrap'\"\n exit 0\n else\n fail \"something went wrong. Aborted\" 6\n fi\n fi\n}\n\n# test_fail test_number\n#\ntest_fail() {\n fail \"Test $1 failed\" $1\n}\n\ntest() {\n local myself=\"$1\"\n\n tmp_executable=$( mktemp )\n echo \"true\" > \"$tmp_executable\"\n chmod +x \"$tmp_executable\"\n\n # == wrap ==\n\n \"$myself\" wrap \"$tmp_executable\"\n [ -e \"$tmp_executable.orig\" ] || test_fail 1\n\n grep -q \"$MARKER\" \"$tmp_executable\" ] || test_fail 2\n\n # == exec ==\n\n \"$tmp_executable\" gogo || test_fail 3\n grep -q \"Executed as:\" \"$tmp_executable.log.\"* \\\n || test_fail 4\n grep -q \"Param 1: _gogo_\" \"$tmp_executable.log.\"* \\\n || test_fail 5\n\n # == unwrap ==\n\n \"$myself\" unwrap \"$tmp_executable\"\n [ -e \"$tmp_executable.orig\" ] && test_fail 6\n\n grep -q \"$MARKER\" \"$tmp_executable\" && test_fail 7\n\n # == clean up ==\n\n rm \"$tmp_executable\"\n rm \"$tmp_executable.log.\"*\n\n echo \"hooray, it seems like $myself works correctly :-)!\"\n}\n\n# =============== main ===============\n\nMARKER=\"this marker is being used to identify the executable_wrapper script\"\n\nif [[ \"/$0\" =~ /executable_wrapper$ ]]; then\n # we are called as \"executable_wrapper\"...\n\n executable=\"$2\"\n\n case \"$1\" in\n --help)\n help # and exit\n ;;\n wrap)\n wrap_executable_with \"$executable\" \"$0\" # and exit\n ;;\n unwrap)\n unwrap_executable \"$executable\" # and exit\n ;;\n test)\n test \"$0\" # and exit\n ;;\n *)\n help # and exit\n ;;\n esac\nelse\n # we are not called as \"executable_wrapper\" but as some\n # wrapped executable\n\n original_exec_path=\"$0.orig\"\n executed_as_name=$( basename \"$0\" )\n\n log_name=$( mktemp \"/tmp/$executed_as_name.log.XXXXXX\" )\n \n (\n cat <<- EOHERE\n\tExecuted as: $0\n\tNum of params: $#\n\tParam 1: _${1}_\n\tParam 2: _${2}_\n\tParam 3: _${3}_\n\tParam 4: _${4}_\n\tParam 5: _${5}_\n\tParam 6: _${6}_\n\tParam 7: _${7}_\n\tParam 8: _${8}_\n\tParam 9: _${9}_\n\tAll params @: _${@}_\n\tID: $( id )\n\tEnvironment:\n\t`set`\n\tEOHERE\n ) >> \"$log_name\"\n \n exec \"$original_exec_path\" \"$@\"\nfi\n\n", "text_preview": "#!/bin/bash help() { echo 'usage: executable_wrapper (unwrap|wrap|test) executable' echo echo ' This script is used to wrap executables in order to' echo ' analyse how they are called by other scripts, daemons etc.' echo echo ' The original", "input_sha256": "ad0d72e2306c86d8f34e4e98c2ee6a3db89c746be89c1f16fd7a0320da7e8897", "text_sha256": "a44ff7125a4851e7e9488126ae5233e9a91d604eab9e606969091c03b9628484", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 20087, "input_policy": "text-and-optional-url-v1", "label_policy_version": 12, "requested_model": "decision-models/baseten-mammoth-27b-latest", "backend": "baseten", "endpoint": "https://inference.baseten.co/v1/systemone", "status": "ok", "training_eligible": true, "label": {"primary": {"main_format": "Technical Writing", "sub_format": null}, "secondary": null, "tertiary": null, "content_structure": []}, "candidate_label": null, "topic": {"primary": {"main_topic": "Programming & Software Engineering", "sub_topic": null}, "secondary": null}, "scores": {"content_quality": 0, "noise_severity": 0, "missing_content_severity": 0, "factual_density": 4, "pretraining_utility": 1, "math_density": 0, "code_density": 4, "reasoning_density": 0, "education_level": 2, "creative_writing_quality": null}, "score_expectations": {"content_quality": 0.3403401784445668, "noise_severity": 0.01768117480908364, "missing_content_severity": 0.018460862277169587, "factual_density": 3.311029282255963, "pretraining_utility": 0.5178059826112414, "math_density": 0.0101244762912068, "code_density": 3.850210537549038, "reasoning_density": 0.9193021183644848, "education_level": 2.0528338468360974, "creative_writing_quality": -0.14508591211236588}, "api_choices": {"primary": "Technical Writing", "secondary": "NONE", "tertiary": "NONE", "education_level": "2", "creative_writing_quality": "not_applicable", "primary_topic": "Programming & Software Engineering", "secondary_topic": "NONE"}, "review_reasons": [], "format_slot_diagnostics": {"comparable": true, "secondary_tertiary_identical": false, "secondary_tertiary_max_abs_gap": 0.01753179966691775, "secondary_choice": "NONE", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.9909624286924691, "secondary": 0.9187785785724902, "tertiary": 0.9023094316036042, "structured_records": 0.044230144830258285, "procedural_steps": 0.10437029858886804, "worked_solution": 0.02271179762233974, "contextual_dialogue": 7.924877298877166e-06, "content_quality": 0.36467054580619895, "noise_severity": 0.985265687659097, "missing_content_severity": 0.9846159481023586, "factual_density": 0.4258577352133025, "pretraining_utility": 0.47073319214779086, "math_density": 0.9915629364239943, "code_density": 0.8751754479575315, "reasoning_density": 0.23391490136292925, "education_level": 0.7004038792470704, "creative_writing_quality": 0.9975141061862351, "primary_topic": 0.9915947619306201, "secondary_topic": 0.9511702561665927}, "probability_margin": {"primary": 0.9870105252075713, "secondary": 0.8844629425363135, "tertiary": 0.8511482103575467, "education_level": 0.6215156041247957, "creative_writing_quality": 0.9966955776621221, "primary_topic": 0.985743402492652, "secondary_topic": 0.9217717039152067}, "raw_probabilities": {"primary": {"Academic Writing": 4.906814039169114e-05, "Content Listing": 4.291345153054221e-05, "Creative Writing": 4.0979085534405156e-05, "Customer Support Page": 6.12279932638368e-05, "Q&A Forum": 2.1920701162628033e-05, "Discussion Thread": 1.6257149024747485e-05, "Comment Section": 3.0281508963211522e-05, "Missing Content": 4.91092436298611e-05, "Knowledge Article": 0.0002783613518304214, "Legal Notices": 5.8761664857572034e-05, "News Article": 9.617502656868261e-06, "Organizational Announcement": 2.429745303465345e-05, "Nonfiction Writing": 3.0938301068171256e-05, "Organizational About Page": 2.5088205175269855e-05, "Personal About Page": 3.0326144976521782e-05, "Personal Blog": 1.622317649055014e-05, "Product Page": 1.5632409236319842e-05, "Spam / Ads": 1.9573281700226477e-05, "Structured Data": 0.00025086495328394966, "Technical Writing": 0.9913389941636163, "Transcript / Interview": 3.805748229294363e-05, "Tutorial / How-To Guide": 0.004328468956044977, "User Reviews": 1.5025664869393234e-05, "Other / Unknown": 0.0032080120153649074}, "secondary": {"Academic Writing": 0.0003081650956851947, "Content Listing": 0.00019752343231426223, "Creative Writing": 0.00029957861296826707, "Customer Support Page": 0.006848475889653713, "Q&A Forum": 0.00016109819810487792, "Discussion Thread": 9.389751527869126e-05, "Comment Section": 0.0002092569873454684, "Missing Content": 0.0004538269041197574, "Knowledge Article": 0.0017762501638856729, "Legal Notices": 0.00025581977497390966, "News Article": 0.0001411672660213984, "Organizational Announcement": 0.00018159430314263682, "Nonfiction Writing": 0.0002128113182346727, "Organizational About Page": 0.00020378232414724234, "Personal About Page": 0.0001891603781888485, "Personal Blog": 0.00015349574256518362, "Product Page": 0.00012141615243711152, "Spam / Ads": 0.00016948773650845447, "Structured Data": 0.0006520471436258621, "Technical Writing": 0.02715564212452896, "Transcript / Interview": 0.0002573498692523188, "Tutorial / How-To Guide": 0.03769986192898961, "User Reviews": 9.548667272480185e-05, "NONE": 0.9221628044653032}, "tertiary": {"Academic Writing": 0.00027482926588578413, "Content Listing": 0.00018605395267652175, "Creative Writing": 0.0003316142498850276, "Customer Support Page": 0.0070944255950919554, "Q&A Forum": 0.00014939970926306715, "Discussion Thread": 0.0001042610100579914, "Comment Section": 0.00020569229895090076, "Missing Content": 0.000342088939830325, "Knowledge Article": 0.0023273297129206933, "Legal Notices": 0.00033384035431678356, "News Article": 0.00013268839710735118, "Organizational Announcement": 0.00017389285098291538, "Nonfiction Writing": 0.0002317684802880203, "Organizational About Page": 0.00023816767166311785, "Personal About Page": 0.00017355735482046112, "Personal Blog": 0.00014295157958270008, "Product Page": 0.0001282586438388451, "Spam / Ads": 0.00015881751684982198, "Structured Data": 0.0008612590637306137, "Technical Writing": 0.02440725089091953, "Transcript / Interview": 0.00029519088695551595, "Tutorial / How-To Guide": 0.05523166159590736, "User Reviews": 9.512802502066038e-05, "NONE": 0.906379871953454}, "structured_records": {"false": 0.9557698551697417, "true": 0.044230144830258285}, "procedural_steps": {"false": 0.895629701411132, "true": 0.10437029858886804}, "worked_solution": {"false": 0.9772882023776602, "true": 0.02271179762233974}, "contextual_dialogue": {"false": 0.9999920751227012, "true": 7.924877298877166e-06}, "content_quality": {"-2": 0.03016242719752893, "-1": 0.15070272889893935, "0": 0.3656093565548967, "1": 0.35568321295870603, "2": 0.097842274389929}, "noise_severity": {"0": 0.9854020644846212, "1": 0.012391741805723229, "2": 0.001520143401908853, "3": 0.0004950550314436272, "4": 0.00019099527630295514}, "missing_content_severity": {"0": 0.9866345983087299, "1": 0.009133488287508868, "2": 0.0035536393300453243, "3": 0.0004930009652931189, "4": 0.00018527310842267813}, "factual_density": {"0": 0.004792163664296054, "1": 0.013745297506337198, "2": 0.12000581265312024, "3": 0.3885545452616006, "4": 0.4729021809146459}, "pretraining_utility": {"-2": 0.008970482266772065, "-1": 0.07555160858662521, "0": 0.38064242943213816, "1": 0.4583724036975185, "2": 0.07646307601694614}, "math_density": {"0": 0.9917999591728527, "1": 0.007273018992669962, "2": 0.00034407753645432435, "3": 0.0001684749664633856, "4": 0.0004144693315595081}, "code_density": {"0": 0.00033273393796310306, "1": 0.0006771062256727881, "2": 0.01867978405115287, "3": 0.10906763991978567, "4": 0.8712427358654256}, "reasoning_density": {"0": 0.5359838602845292, "1": 0.14775501226416263, "2": 0.20914519510742138, "3": 0.07520701349006789, "4": 0.03190891885381894}, "education_level": {"none": 0.001458045686529096, "0": 0.003323503847913161, "1": 0.10051299552293122, "2": 0.7503365660392253, "3": 0.1288209619144296, "4": 0.015547926988971702}, "creative_writing_quality": {"not_applicable": 0.9979284218218626, "-2": 0.00012299686995350181, "-1": 0.00041774529351399725, "0": 0.0012328441597404193, "1": 0.00023280148592545808, "2": 6.519036900419035e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 5.002904227391099e-05, "Art & Design": 6.125779771782407e-05, "Law & Crime": 5.0758593581451635e-05, "Education & Careers": 4.4070568465373424e-05, "Entertainment & Media": 3.0315237830534967e-05, "Fashion & Beauty": 2.356632893619064e-05, "Business, Economics & Finance": 4.438069356101446e-05, "Food & Dining": 3.169403283141239e-05, "Games & Gaming": 5.9126223965202107e-05, "Electronics & Hardware": 0.00025690561043420517, "Health, Healthcare & Wellness": 2.9678861130791277e-05, "History & Geography": 4.1738707145871874e-05, "Home, Pets & Hobbies": 3.8689820647816095e-05, "Industry & Production": 4.22341332758198e-05, "Language, Literature & Philosophy": 4.949079196428578e-05, "Politics & Government": 2.8576131070345463e-05, "Religion & Spirituality": 3.627732992866614e-05, "Science, Mathematics & Engineering": 0.00041881534283432853, "Relationships & Community": 2.562343115594633e-05, "Software Usage & Applications": 0.0061746378252519616, "Programming & Software Engineering": 0.991918040317904, "Sports & Fitness": 5.295470626987269e-05, "Vehicles & Transportation": 2.431388279394762e-05, "Travel & Tourism": 5.117333717909594e-05, "Other / Uncovered Subject": 0.00034706444975203266, "Unknown / Insufficient Content": 6.858680209816464e-05}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0002506471224435177, "Art & Design": 0.00017142029871727602, "Law & Crime": 0.00021012600837127027, "Education & Careers": 0.0001562542091828623, "Entertainment & Media": 0.0001633586905009938, "Fashion & Beauty": 7.877677937739398e-05, "Business, Economics & Finance": 0.00019433228750081734, "Food & Dining": 8.875544561324952e-05, "Games & Gaming": 0.00015133791081460942, "Electronics & Hardware": 0.0005405570997334207, "Health, Healthcare & Wellness": 9.728144066476551e-05, "History & Geography": 0.00010022586465068281, "Home, Pets & Hobbies": 9.16888070522516e-05, "Industry & Production": 8.386944190043564e-05, "Language, Literature & Philosophy": 8.593104846101533e-05, "Politics & Government": 9.15103384739553e-05, "Religion & Spirituality": 0.00012390408000678295, "Science, Mathematics & Engineering": 0.00046884110014079, "Relationships & Community": 6.63537825072094e-05, "Software Usage & Applications": 0.03127661932190166, "Programming & Software Engineering": 0.011870790199726698, "Sports & Fitness": 8.76186165382523e-05, "Vehicles & Transportation": 5.078991329029204e-05, "Travel & Tourism": 0.00014827326184598465, "Other / Uncovered Subject": 0.0003024136934756015, "NONE": 0.9530483232371083}}, "probabilities": {"primary": {"Academic Writing": 4.906814039169115e-05, "Content Listing": 4.291345153054222e-05, "Creative Writing": 4.097908553440516e-05, "Customer Support Page": 6.122799326383681e-05, "Q&A Forum": 2.1920701162628037e-05, "Discussion Thread": 1.625714902474749e-05, "Comment Section": 3.0281508963211525e-05, "Missing Content": 4.9109243629861104e-05, "Knowledge Article": 0.00027836135183042143, "Legal Notices": 5.876166485757204e-05, "News Article": 9.617502656868263e-06, "Organizational Announcement": 2.4297453034653453e-05, "Nonfiction Writing": 3.093830106817126e-05, "Organizational About Page": 2.508820517526986e-05, "Personal About Page": 3.0326144976521786e-05, "Personal Blog": 1.6223176490550145e-05, "Product Page": 1.5632409236319845e-05, "Spam / Ads": 1.957328170022648e-05, "Structured Data": 0.0002508649532839497, "Technical Writing": 0.9913389941636164, "Transcript / Interview": 3.805748229294364e-05, "Tutorial / How-To Guide": 0.004328468956044978, "User Reviews": 1.5025664869393235e-05, "Other / Unknown": 0.003208012015364908}, "secondary": {"Academic Writing": 0.0003081650956851947, "Content Listing": 0.00019752343231426223, "Creative Writing": 0.00029957861296826707, "Customer Support Page": 0.006848475889653713, "Q&A Forum": 0.00016109819810487792, "Discussion Thread": 9.389751527869126e-05, "Comment Section": 0.0002092569873454684, "Missing Content": 0.0004538269041197574, "Knowledge Article": 0.0017762501638856729, "Legal Notices": 0.00025581977497390966, "News Article": 0.0001411672660213984, "Organizational Announcement": 0.00018159430314263682, "Nonfiction Writing": 0.0002128113182346727, "Organizational About Page": 0.00020378232414724234, "Personal About Page": 0.0001891603781888485, "Personal Blog": 0.00015349574256518362, "Product Page": 0.00012141615243711152, "Spam / Ads": 0.00016948773650845447, "Structured Data": 0.0006520471436258621, "Technical Writing": 0.02715564212452896, "Transcript / Interview": 0.0002573498692523188, "Tutorial / How-To Guide": 0.03769986192898961, "User Reviews": 9.548667272480185e-05, "NONE": 0.9221628044653032}, "tertiary": {"Academic Writing": 0.00027482926588578413, "Content Listing": 0.00018605395267652175, "Creative Writing": 0.0003316142498850276, "Customer Support Page": 0.0070944255950919554, "Q&A Forum": 0.00014939970926306715, "Discussion Thread": 0.0001042610100579914, "Comment Section": 0.00020569229895090076, "Missing Content": 0.000342088939830325, "Knowledge Article": 0.0023273297129206933, "Legal Notices": 0.00033384035431678356, "News Article": 0.00013268839710735118, "Organizational Announcement": 0.00017389285098291538, "Nonfiction Writing": 0.0002317684802880203, "Organizational About Page": 0.00023816767166311785, "Personal About Page": 0.00017355735482046112, "Personal Blog": 0.00014295157958270008, "Product Page": 0.0001282586438388451, "Spam / Ads": 0.00015881751684982198, "Structured Data": 0.0008612590637306137, "Technical Writing": 0.02440725089091953, "Transcript / Interview": 0.00029519088695551595, "Tutorial / How-To Guide": 0.05523166159590736, "User Reviews": 9.512802502066038e-05, "NONE": 0.906379871953454}, "structured_records": {"false": 0.9557698551697417, "true": 0.044230144830258285}, "procedural_steps": {"false": 0.895629701411132, "true": 0.10437029858886804}, "worked_solution": {"false": 0.9772882023776602, "true": 0.02271179762233974}, "contextual_dialogue": {"false": 0.9999920751227012, "true": 7.924877298877166e-06}, "content_quality": {"-2": 0.03016242719752893, "-1": 0.15070272889893935, "0": 0.3656093565548967, "1": 0.35568321295870603, "2": 0.097842274389929}, "noise_severity": {"0": 0.9854020644846213, "1": 0.01239174180572323, "2": 0.0015201434019088533, "3": 0.0004950550314436273, "4": 0.00019099527630295516}, "missing_content_severity": {"0": 0.98663459830873, "1": 0.00913348828750887, "2": 0.0035536393300453248, "3": 0.000493000965293119, "4": 0.00018527310842267816}, "factual_density": {"0": 0.004792163664296054, "1": 0.013745297506337198, "2": 0.12000581265312024, "3": 0.3885545452616006, "4": 0.4729021809146459}, "pretraining_utility": {"-2": 0.008970482266772065, "-1": 0.07555160858662521, "0": 0.38064242943213816, "1": 0.4583724036975185, "2": 0.07646307601694614}, "math_density": {"0": 0.9917999591728528, "1": 0.007273018992669963, "2": 0.0003440775364543244, "3": 0.00016847496646338564, "4": 0.00041446933155950814}, "code_density": {"0": 0.00033273393796310306, "1": 0.0006771062256727881, "2": 0.01867978405115287, "3": 0.10906763991978567, "4": 0.8712427358654256}, "reasoning_density": {"0": 0.5359838602845292, "1": 0.14775501226416263, "2": 0.20914519510742138, "3": 0.07520701349006789, "4": 0.03190891885381894}, "education_level": {"none": 0.001458045686529096, "0": 0.003323503847913161, "1": 0.10051299552293122, "2": 0.7503365660392253, "3": 0.1288209619144296, "4": 0.015547926988971702}, "creative_writing_quality": {"not_applicable": 0.9979284218218624, "-2": 0.0001229968699535018, "-1": 0.00041774529351399714, "0": 0.0012328441597404191, "1": 0.00023280148592545803, "2": 6.519036900419034e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 5.002904227391099e-05, "Art & Design": 6.125779771782407e-05, "Law & Crime": 5.0758593581451635e-05, "Education & Careers": 4.4070568465373424e-05, "Entertainment & Media": 3.0315237830534967e-05, "Fashion & Beauty": 2.356632893619064e-05, "Business, Economics & Finance": 4.438069356101446e-05, "Food & Dining": 3.169403283141239e-05, "Games & Gaming": 5.9126223965202107e-05, "Electronics & Hardware": 0.00025690561043420517, "Health, Healthcare & Wellness": 2.9678861130791277e-05, "History & Geography": 4.1738707145871874e-05, "Home, Pets & Hobbies": 3.8689820647816095e-05, "Industry & Production": 4.22341332758198e-05, "Language, Literature & Philosophy": 4.949079196428578e-05, "Politics & Government": 2.8576131070345463e-05, "Religion & Spirituality": 3.627732992866614e-05, "Science, Mathematics & Engineering": 0.00041881534283432853, "Relationships & Community": 2.562343115594633e-05, "Software Usage & Applications": 0.0061746378252519616, "Programming & Software Engineering": 0.991918040317904, "Sports & Fitness": 5.295470626987269e-05, "Vehicles & Transportation": 2.431388279394762e-05, "Travel & Tourism": 5.117333717909594e-05, "Other / Uncovered Subject": 0.00034706444975203266, "Unknown / Insufficient Content": 6.858680209816464e-05}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0002506471224435177, "Art & Design": 0.00017142029871727602, "Law & Crime": 0.00021012600837127027, "Education & Careers": 0.0001562542091828623, "Entertainment & Media": 0.0001633586905009938, "Fashion & Beauty": 7.877677937739398e-05, "Business, Economics & Finance": 0.00019433228750081734, "Food & Dining": 8.875544561324952e-05, "Games & Gaming": 0.00015133791081460942, "Electronics & Hardware": 0.0005405570997334207, "Health, Healthcare & Wellness": 9.728144066476551e-05, "History & Geography": 0.00010022586465068281, "Home, Pets & Hobbies": 9.16888070522516e-05, "Industry & Production": 8.386944190043564e-05, "Language, Literature & Philosophy": 8.593104846101533e-05, "Politics & Government": 9.15103384739553e-05, "Religion & Spirituality": 0.00012390408000678295, "Science, Mathematics & Engineering": 0.00046884110014079, "Relationships & Community": 6.63537825072094e-05, "Software Usage & Applications": 0.03127661932190166, "Programming & Software Engineering": 0.011870790199726698, "Sports & Fitness": 8.76186165382523e-05, "Vehicles & Transportation": 5.078991329029204e-05, "Travel & Tourism": 0.00014827326184598465, "Other / Uncovered Subject": 0.0003024136934756015, "NONE": 0.9530483232371083}}, "probability_diagnostics": {"primary": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "tertiary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "structured_records": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "procedural_steps": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "worked_solution": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "contextual_dialogue": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "content_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "noise_severity": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "missing_content_severity": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "factual_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "pretraining_utility": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "math_density": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "code_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "reasoning_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "education_level": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "creative_writing_quality": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "primary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}}, "usage": {"input_tokens": 9759, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 9759, "cached_share": null, "cache_discount_reported": null, "reported_cost_usd": null}, "response_metadata": {"model": "decision-models/baseten-mammoth-27b-latest"}, "scored_at_utc": "2026-10-25T18:35:07.669582+00:00", "scoring_key_slot": "primary", "dataset_uid": "c6c04f00-b428-464b-ad19-a527a1270f57", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "d20641cc0b9c105dc577f9cbe5f2e4ec51e12e97951b7b1247c5ffabd3771f20", "source_metadata": {"uuid": "c6c04f00-b428-464b-ad19-a527a1270f57", "repo_name": "tpo/little_shell_scripts", "relative_path": "executable_wrapper", "category": "TOOL", "algo_rel_score": 0.9688531756401062, "quality_score": 4.837179660797119, "source_meta": {"github_metadata": {"branch": "master", "commit_count": 325, "repo_created_at": "2013-03-26T23:16:12.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 18, "forks": 11, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "9a13e1d9b9267790943e01eeb5092858e4a93606", "size_bytes": 4212, "file_timestamp": 1752417961, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "4f94adaac4b23da498dda734834d7a4202fdb1e5"}}, "parsed_source_meta": {"github_metadata": {"branch": "master", "commit_count": 325, "repo_created_at": "2013-03-26T23:16:12.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 18, "forks": 11, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "9a13e1d9b9267790943e01eeb5092858e4a93606", "size_bytes": 4212, "file_timestamp": 1752417961, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "4f94adaac4b23da498dda734834d7a4202fdb1e5", "url": "https://github.com/tpo/little_shell_scripts/blob/4f94adaac4b23da498dda734834d7a4202fdb1e5/executable_wrapper"}, "gpt4o_tokens": 1219, "dataset_split": "shell", "probability_weighted_scores": {"content_quality": 0.3403401784445668, "noise_severity": 0.01768117480908364, "missing_content_severity": 0.018460862277169587, "factual_density": 3.311029282255963, "pretraining_utility": 0.5178059826112414, "math_density": 0.0101244762912068, "code_density": 3.850210537549038, "reasoning_density": 0.9193021183644848, "education_level": 2.0528338468360974, "creative_writing_quality": -0.14508591211236588}, "score_applicability": {"education_level": 0.9985419543134709, "creative_writing_quality": 0.0020715781781375665}} {"source_group": "shell", "source": "openbmb/UltraData-Stack-v3-L2/shell", "domain": "github.com", "language": "shell", "url": "https://github.com/yaoyaolingshiyan/HandwriteRecognition/blob/d9ed5f564673abc2bfc3b895aae42f55315e5d55/HandwriteRecognition/script/build_presenteragent.sh", "id": "shell-0-a2b848b560ceb31759e7dec1069866e0", "text": "#!/bin/bash\n#\n# =======================================================================\n#\n# Copyright (C) 2018, Hisilicon Technologies Co., Ltd. All Rights Reserved.\n#\n# Redistribution and use in source and binary forms, with or without\n# modification, are permitted provided that the following conditions are met:\n#\n# 1 Redistributions of source code must retain the above copyright notice,\n# this list of conditions and the following disclaimer.\n#\n# 2 Redistributions in binary form must reproduce the above copyright notice,\n# this list of conditions and the following disclaimer in the documentation\n# and/or other materials provided with the distribution.\n#\n# 3 Neither the names of the copyright holders nor the names of the\n# contributors may be used to endorse or promote products derived from this\n# software without specific prior written permission.\n#\n# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\n# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\n# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE\n# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR\n# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF\n# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS\n# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN\n# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE\n# POSSIBILITY OF SUCH DAMAGE.\n# =======================================================================\n\n# ************************Variable*********************************************\n\nscript_path=\"$( cd \"$(dirname \"$0\")\" ; pwd -P )\"\n\ndownload_mode=$1\npresenteragent_version=\"1.1.2\"\n\nfunction download_code()\n{\n if [ -d ${script_path}/presenteragent ];then\n echo \"Presenteragent code is found...\"\n return 0\n else\n if [[ ${download_mode} == \"local\" ]];then\n echo \"WARNING: no presenteragent code found.\"\n read -p \"Do you want to download from internet?(y/n, default:y)\" confirm\n if [[ ${confirm}\"X\" != \"X\" && ${confirm} != \"y\" && ${confirm} != \"Y\" ]];then\n echo \"ERROR: no presenteragent code found and no download choice, please put presenteragent code in ${script_path}/presenteragent path manually.\"\n return 1\n fi\n fi\n fi\n echo \"Download presenteragent code...\"\n presenteragent_download_url=\"https://github.com/Ascend/sdk-presenter/releases/download/${presenteragent_version}/presenteragent-${presenteragent_version}.zip\"\n wget -O ${script_path}/presenteragent-${presenteragent_version}.ing ${presenteragent_download_url} --no-check-certificate\n if [[ $? -ne 0 ]];then\n echo \"ERROR: download failed, please check ${presenteragent_download_url} connection.\"\n return 1\n fi\n\n mv ${script_path}/presenteragent-${presenteragent_version}.ing ${script_path}/presenteragent-${presenteragent_version}.zip\n unzip ${script_path}/presenteragent-${presenteragent_version}.zip -d ${script_path} 1>/dev/null\n if [[ $? -ne 0 ]];then\n echo \"ERROR: uncompress presenteragent tar.gz file failed, please check ${presenteragent_download_url} connection.\"\n return 1\n fi\n mv ${script_path}/presenteragent-${presenteragent_version} ${script_path}/presenteragent\n rm -rf ${script_path}/presenteragent-${presenteragent_version}.zip\n rm -rf ${script_path}/presenteragent-${presenteragent_version}.ing\n return 0\n\n}\n\nfunction build_presenteragent()\n{\n echo \"Build presenteragent...\"\n atlas_target=`grep \"TARGET\" ${DDK_HOME}/ddk_info | awk -F '\"' '{print $4}'`\n if [[ $? -ne 0 ]];then\n echo \"ERROR: can not get TARGET from ${DDK_HOME}/ddk_info, please check your env\"\n return 1\n fi\n\n atlas_target=`echo ${atlas_target} | sed 's/ //g' `\n make clean mode=${atlas_target} -C ${script_path}/presenteragent 1>/dev/null\n if [[ $? -ne 0 ]];then\n echo \"ERROR: compile presenteragent failed, please check the env.\"\n return 1\n fi\n make install mode=${atlas_target} -C ${script_path}/presenteragent 1>/dev/null\n if [[ $? -ne 0 ]];then\n echo \"ERROR: compile presenteragent failed, please check the env.\"\n return 1\n fi\n}\n\nmain()\n{\n #download code\n download_code\n if [[ $? -ne 0 ]];then\n return 1\n fi\n\n build_presenteragent\n\n if [[ $? -ne 0 ]];then\n return 1\n fi\n\n echo \"Finish to Build presenteragent.\"\n exit 0\n}\n\nmain\n", "text_preview": "#!/bin/bash # # ======================================================================= # # Copyright (C) 2018, Hisilicon Technologies Co., Ltd. All Rights Reserved. # # Redistribution and use in source and binary forms, with or without # m", "input_sha256": "dbd672efc0927d1a5e7030d6e0912271c6c099263f26651e10132ad64b5a6a08", "text_sha256": "a2b848b560ceb31759e7dec1069866e0abbf0013c4d12d740c23beee9722afcc", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 20089, "input_policy": "text-and-optional-url-v1", "label_policy_version": 12, "requested_model": "decision-models/baseten-mammoth-27b-latest", "backend": "baseten", "endpoint": "https://inference.baseten.co/v1/systemone", "status": "ok", "training_eligible": true, "label": {"primary": {"main_format": "Technical Writing", "sub_format": null}, "secondary": {"main_format": "Legal Notices", "sub_format": null}, "tertiary": null, "content_structure": []}, "candidate_label": null, "topic": {"primary": {"main_topic": "Programming & Software Engineering", "sub_topic": null}, "secondary": null}, "scores": {"content_quality": 1, "noise_severity": 1, "missing_content_severity": 0, "factual_density": 3, "pretraining_utility": 0, "math_density": 0, "code_density": 4, "reasoning_density": 0, "education_level": 2, "creative_writing_quality": null}, "score_expectations": {"content_quality": 0.8417802039101012, "noise_severity": 0.842716861294591, "missing_content_severity": 0.0026377360118185174, "factual_density": 2.9007980732351966, "pretraining_utility": 0.19128663651667993, "math_density": 0.0053728734511572845, "code_density": 3.409560023700943, "reasoning_density": 0.5300074005698635, "education_level": 2.274068725663726, "creative_writing_quality": -0.11971293875759281}, "api_choices": {"primary": "Technical Writing", "secondary": "Legal Notices", "tertiary": "NONE", "education_level": "2", "creative_writing_quality": "not_applicable", "primary_topic": "Programming & Software Engineering", "secondary_topic": "NONE"}, "review_reasons": [], "format_slot_diagnostics": {"comparable": true, "secondary_tertiary_identical": false, "secondary_tertiary_max_abs_gap": 0.8231279796118481, "secondary_choice": "Legal Notices", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.9501730902279399, "secondary": 0.8571542532789864, "tertiary": 0.8887490339588475, "structured_records": 0.0006138137447738423, "procedural_steps": 0.27138820432984334, "worked_solution": 0.002064268456901942, "contextual_dialogue": 1.5758092534783408e-05, "content_quality": 0.5474137555738825, "noise_severity": 0.6167141424895828, "missing_content_severity": 0.9978018866568179, "factual_density": 0.4346951242900452, "pretraining_utility": 0.53199658573642, "math_density": 0.9955226054573689, "code_density": 0.5079666864174524, "reasoning_density": 0.5583271661917805, "education_level": 0.6174664245808863, "creative_writing_quality": 0.9979211307662096, "primary_topic": 0.9776992539830814, "secondary_topic": 0.8016368865219748}, "probability_margin": {"primary": 0.9223840849552352, "secondary": 0.7928496481269813, "tertiary": 0.8069650151853446, "education_level": 0.42058514479506093, "creative_writing_quality": 0.9972331183927251, "primary_topic": 0.9691163337525209, "secondary_topic": 0.7297940362986386}, "raw_probabilities": {"primary": {"Academic Writing": 9.968764678564822e-05, "Content Listing": 9.70421372377929e-05, "Creative Writing": 7.482308520939821e-05, "Customer Support Page": 5.369847772321508e-05, "Q&A Forum": 5.7376591587043676e-05, "Discussion Thread": 4.08496022906983e-05, "Comment Section": 6.882177693170027e-05, "Missing Content": 0.00010122544373540948, "Knowledge Article": 0.00015989979453728134, "Legal Notices": 0.029865126513207264, "News Article": 3.255615573726838e-05, "Organizational Announcement": 8.760135660812118e-05, "Nonfiction Writing": 5.207219081954823e-05, "Organizational About Page": 7.601765097893852e-05, "Personal About Page": 4.3927324426303e-05, "Personal Blog": 3.284493315892145e-05, "Product Page": 3.658209358417363e-05, "Spam / Ads": 5.033776423358017e-05, "Structured Data": 0.00017314271520647718, "Technical Writing": 0.9522492114684424, "Transcript / Interview": 7.577420107325102e-05, "Tutorial / How-To Guide": 0.013473301426794223, "User Reviews": 3.278562897810854e-05, "Other / Unknown": 0.002965294020713232}, "secondary": {"Academic Writing": 0.0003168796373793734, "Content Listing": 0.000295501510455687, "Creative Writing": 0.000312784174528974, "Customer Support Page": 0.0002314312802415836, "Q&A Forum": 0.00017716272944487646, "Discussion Thread": 0.00016348966181306044, "Comment Section": 0.00028099211829614977, "Missing Content": 0.0003236340720077827, "Knowledge Article": 0.0005051702254469921, "Legal Notices": 0.863106159392362, "News Article": 0.0002669040531293506, "Organizational Announcement": 0.00038036255552577705, "Nonfiction Writing": 0.0002055476431021816, "Organizational About Page": 0.0003365388650325444, "Personal About Page": 0.0001865482880399037, "Personal Blog": 0.0001711345058249147, "Product Page": 0.00022938786158563338, "Spam / Ads": 0.00022517421331352892, "Structured Data": 0.00029779558459385103, "Technical Writing": 0.05390726099700633, "Transcript / Interview": 0.0003178473965682062, "Tutorial / How-To Guide": 0.007381826671991851, "User Reviews": 0.00012395529692885084, "NONE": 0.07025651126538067}, "tertiary": {"Academic Writing": 0.0002758775637794382, "Content Listing": 0.00018683444233556838, "Creative Writing": 0.00023878970377308117, "Customer Support Page": 0.0002062627547079613, "Q&A Forum": 0.00010320157643576669, "Discussion Thread": 8.50661492933083e-05, "Comment Section": 0.00016794458085606, "Missing Content": 0.0002589848481446948, "Knowledge Article": 0.0004670063906019402, "Legal Notices": 0.08641947569188421, "News Article": 0.0002066064920900642, "Organizational Announcement": 0.00020690610426896868, "Nonfiction Writing": 0.00013524797224621853, "Organizational About Page": 0.00024347107958418558, "Personal About Page": 0.00012319078388205466, "Personal Blog": 0.00012736713496822375, "Product Page": 0.000130614005792501, "Spam / Ads": 0.0002067654621907972, "Structured Data": 0.0002857385317966523, "Technical Writing": 0.00739654211169868, "Transcript / Interview": 0.00020270496616773732, "Tutorial / How-To Guide": 0.008855423357713232, "User Reviews": 8.548741855982341e-05, "NONE": 0.8933844908772288}, "structured_records": {"false": 0.9993861862552261, "true": 0.0006138137447738423}, "procedural_steps": {"false": 0.7286117956701567, "true": 0.27138820432984334}, "worked_solution": {"false": 0.997935731543098, "true": 0.002064268456901942}, "contextual_dialogue": {"false": 0.9999842419074653, "true": 1.5758092534783408e-05}, "content_quality": {"-2": 0.007615008588367366, "-1": 0.033471115647042075, "0": 0.2608743876414336, "1": 0.5055976395124359, "2": 0.192441848610721}, "noise_severity": {"0": 0.30861308385895486, "1": 0.5531932811201059, "2": 0.1288178819030264, "3": 0.0056151961032191175, "4": 0.0037605570146937435}, "missing_content_severity": {"0": 0.9986165817154921, "1": 0.0005547895767353102, "2": 0.0005026708511022145, "3": 0.0002262266938023568, "4": 9.97311628679268e-05}, "factual_density": {"0": 0.00818499019289454, "1": 0.05579914209211035, "2": 0.2526306340454702, "3": 0.39380327162595363, "4": 0.28958196204357123}, "pretraining_utility": {"-2": 0.00871882701616557, "-1": 0.16772107626747695, "0": 0.48018696881472794, "1": 0.31030088898677116, "2": 0.033072238914858436}, "math_density": {"0": 0.9961585751041145, "1": 0.0031060384366721865, "2": 0.0002465341846695222, "3": 0.00018164245302938729, "4": 0.00030720982151447295}, "code_density": {"0": 0.0007453670317420989, "1": 0.0016043118443813933, "2": 0.062651108946877, "3": 0.4573433547451906, "4": 0.4776558574318088}, "reasoning_density": {"0": 0.6769545385034256, "1": 0.16040315576183073, "2": 0.12941718378620473, "3": 0.022130610558532104, "4": 0.011094511390006714}, "education_level": {"none": 0.001631983791513692, "0": 0.003506817496785355, "1": 0.028668798608998104, "2": 0.6812220204840719, "3": 0.26063687568901095, "4": 0.024333503929619957}, "creative_writing_quality": {"not_applicable": 0.9982676089718413, "-2": 0.00010592672215790214, "-1": 0.000325389959241944, "0": 0.0010344905791161586, "1": 0.00020331375278599063, "2": 6.327001485679081e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 7.203448699980932e-05, "Art & Design": 9.725666929541438e-05, "Law & Crime": 0.0040058070908652495, "Education & Careers": 7.508245486695516e-05, "Entertainment & Media": 5.5771432369783983e-05, "Fashion & Beauty": 4.264850560311987e-05, "Business, Economics & Finance": 0.00013684848231714587, "Food & Dining": 4.980825808064991e-05, "Games & Gaming": 9.912562099493486e-05, "Electronics & Hardware": 0.004215380895678035, "Health, Healthcare & Wellness": 5.279449393533908e-05, "History & Geography": 7.845173406208202e-05, "Home, Pets & Hobbies": 5.342815457637102e-05, "Industry & Production": 8.660232654847528e-05, "Language, Literature & Philosophy": 5.680404888732254e-05, "Politics & Government": 4.623614139717985e-05, "Religion & Spirituality": 4.727206091537137e-05, "Science, Mathematics & Engineering": 0.0020724813136487703, "Relationships & Community": 2.7018704207817193e-05, "Software Usage & Applications": 0.009440641231211251, "Programming & Software Engineering": 0.9785569749837322, "Sports & Fitness": 6.876319368716088e-05, "Vehicles & Transportation": 3.1500373848585966e-05, "Travel & Tourism": 5.478258075152716e-05, "Other / Uncovered Subject": 0.00029653322141777656, "Unknown / Insufficient Content": 0.00017995154010170365}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0008270833623396129, "Art & Design": 0.0008116803968260457, "Law & Crime": 0.07947220074172173, "Education & Careers": 0.0005144545886580043, "Entertainment & Media": 0.0006349056457173719, "Fashion & Beauty": 0.00034590698797001964, "Business, Economics & Finance": 0.0022459216064078732, "Food & Dining": 0.00035675726281796956, "Games & Gaming": 0.0004913236093989911, "Electronics & Hardware": 0.010510934580195858, "Health, Healthcare & Wellness": 0.00050460710906684, "History & Geography": 0.00044723302400639204, "Home, Pets & Hobbies": 0.000349572798729539, "Industry & Production": 0.0004890511973844595, "Language, Literature & Philosophy": 0.00030017387348037824, "Politics & Government": 0.000865819221814648, "Religion & Spirituality": 0.0004960498633399889, "Science, Mathematics & Engineering": 0.018254338872699213, "Relationships & Community": 0.00019077273808117335, "Software Usage & Applications": 0.034128354340794274, "Programming & Software Engineering": 0.03523253066525362, "Sports & Fitness": 0.00033243984269043704, "Vehicles & Transportation": 0.00018117204858338426, "Travel & Tourism": 0.00042282078044209183, "Other / Uncovered Subject": 0.0023276578012197758, "NONE": 0.8092662370403604}}, "probabilities": {"primary": {"Academic Writing": 9.968764678564822e-05, "Content Listing": 9.70421372377929e-05, "Creative Writing": 7.482308520939821e-05, "Customer Support Page": 5.369847772321508e-05, "Q&A Forum": 5.7376591587043676e-05, "Discussion Thread": 4.08496022906983e-05, "Comment Section": 6.882177693170027e-05, "Missing Content": 0.00010122544373540948, "Knowledge Article": 0.00015989979453728134, "Legal Notices": 0.029865126513207264, "News Article": 3.255615573726838e-05, "Organizational Announcement": 8.760135660812118e-05, "Nonfiction Writing": 5.207219081954823e-05, "Organizational About Page": 7.601765097893852e-05, "Personal About Page": 4.3927324426303e-05, "Personal Blog": 3.284493315892145e-05, "Product Page": 3.658209358417363e-05, "Spam / Ads": 5.033776423358017e-05, "Structured Data": 0.00017314271520647718, "Technical Writing": 0.9522492114684424, "Transcript / Interview": 7.577420107325102e-05, "Tutorial / How-To Guide": 0.013473301426794223, "User Reviews": 3.278562897810854e-05, "Other / Unknown": 0.002965294020713232}, "secondary": {"Academic Writing": 0.0003168796373793734, "Content Listing": 0.000295501510455687, "Creative Writing": 0.000312784174528974, "Customer Support Page": 0.0002314312802415836, "Q&A Forum": 0.00017716272944487646, "Discussion Thread": 0.00016348966181306044, "Comment Section": 0.00028099211829614977, "Missing Content": 0.0003236340720077827, "Knowledge Article": 0.0005051702254469921, "Legal Notices": 0.863106159392362, "News Article": 0.0002669040531293506, "Organizational Announcement": 0.00038036255552577705, "Nonfiction Writing": 0.0002055476431021816, "Organizational About Page": 0.0003365388650325444, "Personal About Page": 0.0001865482880399037, "Personal Blog": 0.0001711345058249147, "Product Page": 0.00022938786158563338, "Spam / Ads": 0.00022517421331352892, "Structured Data": 0.00029779558459385103, "Technical Writing": 0.05390726099700633, "Transcript / Interview": 0.0003178473965682062, "Tutorial / How-To Guide": 0.007381826671991851, "User Reviews": 0.00012395529692885084, "NONE": 0.07025651126538067}, "tertiary": {"Academic Writing": 0.0002758775637794382, "Content Listing": 0.00018683444233556838, "Creative Writing": 0.00023878970377308117, "Customer Support Page": 0.0002062627547079613, "Q&A Forum": 0.00010320157643576669, "Discussion Thread": 8.50661492933083e-05, "Comment Section": 0.00016794458085606, "Missing Content": 0.0002589848481446948, "Knowledge Article": 0.0004670063906019402, "Legal Notices": 0.08641947569188421, "News Article": 0.0002066064920900642, "Organizational Announcement": 0.00020690610426896868, "Nonfiction Writing": 0.00013524797224621853, "Organizational About Page": 0.00024347107958418558, "Personal About Page": 0.00012319078388205466, "Personal Blog": 0.00012736713496822375, "Product Page": 0.000130614005792501, "Spam / Ads": 0.0002067654621907972, "Structured Data": 0.0002857385317966523, "Technical Writing": 0.00739654211169868, "Transcript / Interview": 0.00020270496616773732, "Tutorial / How-To Guide": 0.008855423357713232, "User Reviews": 8.548741855982341e-05, "NONE": 0.8933844908772288}, "structured_records": {"false": 0.9993861862552261, "true": 0.0006138137447738423}, "procedural_steps": {"false": 0.7286117956701567, "true": 0.27138820432984334}, "worked_solution": {"false": 0.997935731543098, "true": 0.002064268456901942}, "contextual_dialogue": {"false": 0.9999842419074653, "true": 1.5758092534783408e-05}, "content_quality": {"-2": 0.0076150085883673665, "-1": 0.03347111564704208, "0": 0.26087438764143367, "1": 0.505597639512436, "2": 0.19244184861072103}, "noise_severity": {"0": 0.30861308385895486, "1": 0.5531932811201059, "2": 0.1288178819030264, "3": 0.0056151961032191175, "4": 0.0037605570146937435}, "missing_content_severity": {"0": 0.9986165817154922, "1": 0.0005547895767353103, "2": 0.0005026708511022146, "3": 0.00022622669380235682, "4": 9.973116286792681e-05}, "factual_density": {"0": 0.00818499019289454, "1": 0.05579914209211035, "2": 0.2526306340454702, "3": 0.39380327162595363, "4": 0.28958196204357123}, "pretraining_utility": {"-2": 0.00871882701616557, "-1": 0.16772107626747695, "0": 0.48018696881472794, "1": 0.31030088898677116, "2": 0.033072238914858436}, "math_density": {"0": 0.9961585751041145, "1": 0.0031060384366721865, "2": 0.0002465341846695222, "3": 0.00018164245302938729, "4": 0.00030720982151447295}, "code_density": {"0": 0.000745367031742099, "1": 0.0016043118443813936, "2": 0.06265110894687702, "3": 0.45734335474519067, "4": 0.47765585743180883}, "reasoning_density": {"0": 0.6769545385034257, "1": 0.16040315576183076, "2": 0.12941718378620476, "3": 0.022130610558532108, "4": 0.011094511390006716}, "education_level": {"none": 0.0016319837915136923, "0": 0.0035068174967853552, "1": 0.028668798608998108, "2": 0.681222020484072, "3": 0.260636875689011, "4": 0.02433350392961996}, "creative_writing_quality": {"not_applicable": 0.9982676089718413, "-2": 0.00010592672215790214, "-1": 0.000325389959241944, "0": 0.0010344905791161586, "1": 0.00020331375278599063, "2": 6.327001485679081e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 7.203448699980932e-05, "Art & Design": 9.725666929541438e-05, "Law & Crime": 0.0040058070908652495, "Education & Careers": 7.508245486695516e-05, "Entertainment & Media": 5.5771432369783983e-05, "Fashion & Beauty": 4.264850560311987e-05, "Business, Economics & Finance": 0.00013684848231714587, "Food & Dining": 4.980825808064991e-05, "Games & Gaming": 9.912562099493486e-05, "Electronics & Hardware": 0.004215380895678035, "Health, Healthcare & Wellness": 5.279449393533908e-05, "History & Geography": 7.845173406208202e-05, "Home, Pets & Hobbies": 5.342815457637102e-05, "Industry & Production": 8.660232654847528e-05, "Language, Literature & Philosophy": 5.680404888732254e-05, "Politics & Government": 4.623614139717985e-05, "Religion & Spirituality": 4.727206091537137e-05, "Science, Mathematics & Engineering": 0.0020724813136487703, "Relationships & Community": 2.7018704207817193e-05, "Software Usage & Applications": 0.009440641231211251, "Programming & Software Engineering": 0.9785569749837322, "Sports & Fitness": 6.876319368716088e-05, "Vehicles & Transportation": 3.1500373848585966e-05, "Travel & Tourism": 5.478258075152716e-05, "Other / Uncovered Subject": 0.00029653322141777656, "Unknown / Insufficient Content": 0.00017995154010170365}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0008270833623396129, "Art & Design": 0.0008116803968260457, "Law & Crime": 0.07947220074172173, "Education & Careers": 0.0005144545886580043, "Entertainment & Media": 0.0006349056457173719, "Fashion & Beauty": 0.00034590698797001964, "Business, Economics & Finance": 0.0022459216064078732, "Food & Dining": 0.00035675726281796956, "Games & Gaming": 0.0004913236093989911, "Electronics & Hardware": 0.010510934580195858, "Health, Healthcare & Wellness": 0.00050460710906684, "History & Geography": 0.00044723302400639204, "Home, Pets & Hobbies": 0.000349572798729539, "Industry & Production": 0.0004890511973844595, "Language, Literature & Philosophy": 0.00030017387348037824, "Politics & Government": 0.000865819221814648, "Religion & Spirituality": 0.0004960498633399889, "Science, Mathematics & Engineering": 0.018254338872699213, "Relationships & Community": 0.00019077273808117335, "Software Usage & Applications": 0.034128354340794274, "Programming & Software Engineering": 0.03523253066525362, "Sports & Fitness": 0.00033243984269043704, "Vehicles & Transportation": 0.00018117204858338426, "Travel & Tourism": 0.00042282078044209183, "Other / Uncovered Subject": 0.0023276578012197758, "NONE": 0.8092662370403604}}, "probability_diagnostics": {"primary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "tertiary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "structured_records": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "procedural_steps": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "worked_solution": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "contextual_dialogue": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "content_quality": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "noise_severity": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "missing_content_severity": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "factual_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "pretraining_utility": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "math_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "code_density": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "reasoning_density": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "education_level": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "creative_writing_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "primary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}}, "usage": {"input_tokens": 9658, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 9658, "cached_share": null, "cache_discount_reported": null, "reported_cost_usd": null}, "response_metadata": {"model": "decision-models/baseten-mammoth-27b-latest"}, "scored_at_utc": "2026-10-25T18:35:08.626555+00:00", "scoring_key_slot": "primary", "dataset_uid": "6114b7a6-ac0e-4851-99f6-b2e9f8be18a5", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "75d29c82e0d8d167870f5768bed28f4277ebefb8828837e657d077cef776408a", "source_metadata": {"uuid": "6114b7a6-ac0e-4851-99f6-b2e9f8be18a5", "repo_name": "yaoyaolingshiyan/HandwriteRecognition", "relative_path": "HandwriteRecognition/script/build_presenteragent.sh", "category": "TOOL", "algo_rel_score": 0.9964060187339783, "quality_score": 4.0443572998046875, "source_meta": {"github_metadata": {"branch": "master", "commit_count": 8, "repo_created_at": "2019-10-24T11:18:07.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 3, "forks": 4, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "0f3054707e8b1c57cb0da17789cfc3cc1176818f", "size_bytes": 4711, "file_timestamp": 1574171250, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "d9ed5f564673abc2bfc3b895aae42f55315e5d55"}}, "parsed_source_meta": {"github_metadata": {"branch": "master", "commit_count": 8, "repo_created_at": "2019-10-24T11:18:07.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 3, "forks": 4, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "0f3054707e8b1c57cb0da17789cfc3cc1176818f", "size_bytes": 4711, "file_timestamp": 1574171250, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "d9ed5f564673abc2bfc3b895aae42f55315e5d55", "url": "https://github.com/yaoyaolingshiyan/HandwriteRecognition/blob/d9ed5f564673abc2bfc3b895aae42f55315e5d55/HandwriteRecognition/script/build_presenteragent.sh"}, "gpt4o_tokens": 1105, "dataset_split": "shell", "probability_weighted_scores": {"content_quality": 0.841780203910101, "noise_severity": 0.842716861294591, "missing_content_severity": 0.0026377360118185174, "factual_density": 2.9007980732351966, "pretraining_utility": 0.19128663651667993, "math_density": 0.0053728734511572845, "code_density": 3.409560023700943, "reasoning_density": 0.5300074005698635, "education_level": 2.274068725663726, "creative_writing_quality": -0.11971293875759281}, "score_applicability": {"education_level": 0.9983680162084864, "creative_writing_quality": 0.001732391028158786}} {"source_group": "shell", "source": "openbmb/UltraData-Stack-v3-L2/shell", "domain": "github.com", "language": "shell", "url": "https://github.com/feverittm/script-bin/blob/bef9cfad4c3323745527bb0a6bf51c429620b5d8/old/make_route", "id": "shell-0-c11a5cbed5354a82b14cfe8774c44cab", "text": "#!/bin/ksh\n# Name: doit.route\n# Version: $Header:$\n# Date: Wed May 3 08:24:48 MDT 2000\n# Author: \n#\n# Synopsis: This script automates the remote route process running the cct\n# router.\n# Usage: doit.route \n# default blockname=LQTOP120\n#####################################\n#\n\nlogfile=\"/net/fmlyd3/mnt/d3b/mako_route_test/route_info.db\"\nversion_string='Version: \\$Revision:\\$'\n\n#\n#\nscript=`basename $0`\n\nusage()\n{\n echo \"**************** CCT Route Automation ***************\"\n echo\n echo \"Usage: $script {options...} \"\n echo $version_string\n echo\n echo \"Normal Options:\"\n echo \" -b : Abbreviated Bippy check.\"\n echo \" -n : New block, copy default rules and recipes.\"\n echo \" -v : Verbose Messages\"\n echo \" -x : Turn on debugging information\"\n echo \" -f : Force. Re-run all steps.\"\n echo \" -p : Name of route block piece.\"\n echo \" -F : Continue on error.\"\n echo \" -P : Don't worry about re-running make_pconn\"\n echo \" -E : Don't worry about re-running make_eval\"\n echo \" -routeonly : Only run the router\"\n echo \" -noroute : Don't run the router\"\n echo \" -noconvert : Don't re-run cb2cct\"\n echo \" -nopiglet : Don't run cct2pig\"\n echo\n exit 1\n}\n\n########################\n# Define KSH functions #\n########################\n\nfunction error_trap\n{\n if [ $run_on_error -ne 0 ]\n then\n let run_errors=$run_errors+1\n if [ $verbose -eq 1 ]\n then\n echo \"$script step failed. run_on_error set continuing... \"\n fi\n return\n else\n terminate $1\n fi\n}\n\nfunction terminate\n{\n rm -f /tmp/*.$$\n\n if [ $1 -eq 0 ]\n then\n echo \"$script $blockname Sucessful.\"\n exit 0\n else\n echo \"\\n$script $blockname Failed.\"\n if [ $debug -ne 0 ]\n then\n echo \"Exit Status: $1\"\n fi\n exit $1\n fi\n}\n\nfunction get_secs\n{\n time=`date +%X`\n let s=`echo $time | awk -F: '{print $1*3600+$2*60+$3}' - `\n echo $s\n return $s\n}\n\nfunction check_lockstatus\n{\n if [ $verbose -eq 1 ]\n then\n echo \"Checking $1 locks...\\c\"\n fi\n cb_sem -n $1 : > /dev/null 2>&1\n if [ $? -ne 0 ]\n then\n echo \"Block's $1 rep is locked\"\n terminate 1\n else\n if [ $verbose -eq 1 ]\n then\n echo \"clear\"\n fi\n return 0\n fi\n}\n\nfunction run_tool\n{\n start_tool=`get_secs`\n echo \"Running $1...\\c\"\n if [ $run_tool_inc_stdout -eq 1 ]\n then\n $1 $blockname\n else\n $1 $blockname > /dev/null 2>&1\n fi\n status=$?\n\n if [ ! $status = 0 ]\n then\n echo \"\\n$1 failed for block\"\n short_tool=`echo $1 | awk '{print $1}' -`\n error_trap 1\n else\n echo \"successful.\"\n fi\n let end_tool=`get_secs`\n let end_tool=$end_tool-$start_tool\n echo \"$blockname:`uname -m`:`model`:`date +%Y%m%d_%H%M`:$user:'$1':$end_tool\" >> $logfile\n\n}\n\nfunction clean_exit\n{\n echo \"Recieved Signal, cleaning up\"\n rm -f /tmp/*.$$\n exit 1\n}\n\nfunction parse_options\n{\n echo $@ | tr -s \" *\" \"\\012\" |\n while read -r option\n do\n if [ $debug -eq 1 ]\n then\n echo \"Processing Option: '$option'\"\n fi\n case $option in\n -x) echo \"Debug mode on\"; debug=1;;\n\n -V) echo $version_string; \n exit 1\n ;;\n\n -n) new_block_mode=1;;\n\n -datechk) datechk=1;;\n\n -f) let force=1;;\n\n -F) run_on_error=1;;\n\n -P) dont_run_pconn=1;;\n\n -E) dont_run_eval=1;;\n\n -b)\t full_bippy_check=0;;\n\n -options) exit_after_options=1;;\n\n -p) shift;\n route_piece=$1;\n ;;\n\n -v) verbose=1;;\n\n -?) usage;;\n\n -help)\t usage;;\n\n -noroute) do_route=0;;\n\n -noconvert) do_convert=0;;\n\n -nopiglet) do_piglet=0;;\n\n -routeonly) do_route_only=1;;\n\n -*) echo \"Invalid Argument: $option\"; usage;;\n\n *) blockname=${option:-\"LQTOP120\"};;\n esac\n done\n if [ $? -ne 0 ]\n then\n exit 1\n fi\n}\n\n##########################################\n# Main script\n##########################################\n\nlet run_errors=0\ntrap \"clean_exit\" QUIT\ntrap \"clean_exit\" HUP\ntrap \"clean_exit\" TERM\ntrap \"clean_exit\" INT\n\nif [ $# -eq 0 ] \nthen\n usage\n exit 1\nfi\n\n# set globals\nlet debug=0\nlet verbose=0\nlet exit_after_options=0\nlet full_bippy_check=1\nlet run_on_error=0\nlet datechk=0;\nlet new_block_mode=0\nlet do_piglet=1\nlet do_route=1\nlet do_convert=1\nlet do_route_only=0\nlet run_tool_inc_stdout=0\nlet force=0\nlet dont_run_eval=0\nlet dont_run_pconn=0\nunset route_piece\nuser=`whoami`\n\nif [ $1 = \"-?\" -o $1 = \"-help\" ]\nthen\n usage;\n terminate 1\nfi\n\nparse_options $@\n\nif [ ! -z \"$CBMAKE_NO_STOP\" ]\nthen\n echo \"Setting run_on_error based on CBMAKE_NO_STOP=TRUE\"\n run_on_error=1\nfi\n\nblockpath=`get_dir $blockname`\nif [ -z \"$blockpath\" ]\nthen\n echo \"Bad blockname: $blockname\"\n terminate 1\nfi\n\nif [ ! -f $blockpath/bm.db ]\nthen\n echo \"Cannot locate block $blockname\"\n terminate 1\nfi\n\nif [ ! -w $blockpath ]\nthen\n echo \"User cannot write to block's directory: $blockpath\"\n terminate 1\nfi\n\nif [ ! -z \"$route_piece\" ]\nthen\n piece_path=`get_dir ${route_piece}`\n if [ -z \"$piece_path\" ]\n then\n echo \"Bad blockname for route blockpiece: $route_piece\"\n terminate 1\n fi\n if [ -d $piece_path -a -d \"$piece_path/art_xy\" -a -f \"$piece_path/art_xy/piglet.db\" -a ! -w \"$piece_path/art_xy/piglet.db\" ]\n then\n echo \"Cannot write to piece's artwork rep\";\n terminate 1\n fi\nfi\n\nif [ $exit_after_options -eq 1 ]\nthen\n terminate 0\nfi\n\nif [ ! -d $blockpath/cct ]\nthen\n echo \"Cannot locate cct directory for block $blockname\"\n if [ $new_block_mode -eq 1 ]\n then\n mkdir $blockpath/cct\n # need to add stuff to copy the default do files and rule files\n cp /xy/users/red/route_info/default.do $blockpath/cct/${blockname}.do\n cp /xy/users/red/route_info/default.rules.do $blockpath/cct/${blockname}.rules.do\n else\n terminate 1\n fi\nfi\n\necho \"$script $blockname ...\"\necho \" $version_string\"\necho \" Verify mode=${ICPROCESS}\"\necho \"---------------------------------\"\n\nrm -f /tmp/*.$$\n\n############################################################\n# Prep block for route\n############################################################\n\n# Starting timestamp\nstart_date=`date +%x-%X`\ndate_match=`date +%j`\nscript_start_time=`get_secs`\n\n cctdir=\"$blockpath/cct\"\n dofile=\"$cctdir/${blockname}.do\"\nrulesfile=\"$blockpath/cct/${blockname}.rules.do\"\n dsnfile=\"$blockpath/cct/${blockname}.dsn\"\n sesfile=\"$cctdir/${blockname}.ses\"\n pigart=\"$blockpath/art_${ICPROCESS}/piglet.db\"\n connbdl=\"$blockpath/conn_${ICPROCESS}/bdl.out\"\n lconnbdl=\"$blockpath/lconn_${ICPROCESS}/bdl.out\"\n\nstamp=`date +%Y%m%d_%H%M`\nscript_logfile=\"$cctdir/route_log.$stamp\"\n\nif [ $force -eq 1 -o $do_route_only -eq 0 ]\nthen\n\n############\n# Generate cct files\n############\n\nif [ ! -f $blockpath/art_${ICPROCESS}/piglet.db ]\nthen\n echo \"Cannot locate artwork piglet.db for block $blockname\"\n terminate 1\nfi\n\nif [ ! -f $blockpath/sch_${ICPROCESS}/piglet.db ]\nthen\n echo \"Cannot locate schematic piglet.db for block $blockname\"\n terminate 1\nfi\n \nlet run_convert=0\nif [ ! -f $dsnfile ]\nthen\n echo \"No .dsn file found. Running cb2cct conversion\"\n let run_convert=1\nelse\n if [ $pigart -nt $dsnfile ]\n then\n echo \"Artwork piglet.db is newer than the .dsn file. Redoing the cb2cct\"\n let run_convert=1\n fi\n if [ $connbdl -nt $dsnfile ]\n then\n echo \"Conn_${ICPROCESS} bdl is newer than the .dsn file. Redoing the cb2cct\"\n let run_convert=1\n fi\n if [ $lconnbdl -nt $dsnfile ]\n then\n echo \"lconn_${ICPROCESS} bdl is newer than the .dsn file. Redoing the cb2cct\"\n let run_convert=1\n fi\nfi\nif [ $do_convert -eq 1 -a \\( $force -eq 1 -o $run_convert -eq 1 \\) ]\nthen\n ###############\n # Schematic #\n ###############\n\n check_lockstatus $blockpath/sch_${ICPROCESS}\n \n if [ $dont_run_eval -eq 0 ]\n then\n run_tool \"make_eval \"\n fi\n\n check_lockstatus $blockpath/art_${ICPROCESS}\n\n #generate connectivity for artwork\n if [ $dont_run_pconn -eq 0 ]\n then\n run_tool \"make_pconn \"\n fi\n\n status=`grep \"pconn for $blockpath is valid\" $blockpath/conn_${ICPROCESS}/make_pconn.log | wc -l`\n if [ $status -ne 1 ]\n then\n echo \"make_pconn has errors, check verify_summary results.\"\n error_trap 1\n fi\n\n echo \"Running cb2cct...\"\n let save=$run_tool_inc_stdout\n let run_tool_inc_stdout=1\n opts=\"\"\n if [ -f $cctdir/passthrus.def ] \n then\n echo \"Including passthru information in conversion...\"\n opts=\"$opts -f $cctdir/passthrus.def\"\n fi\n if [ -f $cctdir/via_file.def ] \n then\n echo \"Including via information in conversion...\"\n opts=\"$opts -v $cctdir/via_file.def\"\n fi\n if [ -f $cctdir/metalrules.def ] \n then\n echo \"Including routing rules information in conversion...\"\n opts=\"$opts -m $cctdir/metalrules.def\"\n fi\n run_tool \"cb2cct -p $opts \"\n let run_tool_inc_stdout=$save\n\n run_tool \"/net/hpesfem/home/red/mydesigns/mako/bin/fix_boundary.pl -f\"\n\n if [ -f $cctdir/only_in_art ]\n then\n bad=`cat $cctdir/only_in_art | egrep -v \"fill_\" | wc -l`\n if [ $bad -gt 0 ]\n then\n echo \"Non-Fill Components left over in the artwork\"\n else\n echo \"Only fill cells are left over...\"\n fi\n fi\nelse\n if [ $do_convert -eq 1 ]\n then\n echo \"cct file are up-to-date and ready for the route.\"\n fi\nfi\n \nfi\n############\n# Run the route\n############\nif [ $do_route -eq 1 ]\nthen\n savedir=`pwd`\n cd $cctdir\n if [ ! -f $dsnfile -a ! -f $dofile -a ! -f $rulesfile ]\n then\n echo \"Connect route without cct setup file. Check cct directory\"\n terminate 1\n fi\n start_tool=`get_secs`\n cmd=\"cct ${blockname}.dsn -nog -do ${blockname}.do\"\n echo \"Running route using '$cmd'\"\n $cmd > $script_logfile 2>&1\n status=$?\n let end_tool=`get_secs`\n let end_tool=$end_tool-$start_tool\n if [ $status -ne 0 ]\n then\n echo \"cct exitted with status non-zero: Runtime=$end_tool\"\n terminate 1\n else\n echo \"successful\"\n fi\n\n echo \"$blockname:`uname -m`:`model`:`date +%Y%m%d_%H%M`:$user:'$cmd':$end_tool\" >> $logfile\n cd $savedir\nfi \n\n############\n# Convert the route back to piglet archive file.\n############\nif [ $do_piglet -eq 1 ]\nthen\n savedir=`pwd`\n cd $cctdir\n if [ ! -f $sesfile ]\n then\n echo \"Connect find the cct session file to convert back to piglet.\"\n terminate 1\n fi\n stamp=`date +%Y%m%d_%H%M`\n start_tool=`get_secs`\n cmd=\"cct2pig.pl ${blockname}.ses\"\n echo \"Converting route session file back to piglet\"\n $cmd > route.arc\n status=$?\n let end_tool=`get_secs`\n let end_tool=$end_tool-$start_tool\n if [ $status -ne 0 ]\n then\n echo \"An error occurred during the cct->piglet conversion\"\n terminate 1\n else\n echo \" ... successful\"\n ls -l route.arc\n fi\n\n # convert artwork route.arc to blockpiece\n if [ ! -z \"$route_piece\" ]\n then\n if [ -f \"${piece_path}/art_xy/piglet.db\" ]\n then\n rm -f ${piece_path}/art_xy/piglet.db\n if [ $? -ne 0 ]\n then\n echo \"could not remove old blockpiece\"\n terminate 1\n fi\n fi\n echo \"running piglet to covert archive to blockpiece...\"\n PIGDIR=$CBROOT/$ICPROCESS/piglet\n SB_OUTDEV=\"\"\n logfile=\"/tmp/arclog$$\"\n PIG_ENV=$PIGDIR/artrc\n export PIG_ENV SB_OUTDEV\n\n cmdfile=/tmp/arccmd$$\n\n cat > $cmdfile << %%\nEDIT ${route_piece}A ;\nSHO #A;\nLEV 4;\nINP ${cctdir}/route.arc;\nSAVE;\nBYE;\n%%\n if [ $debug -eq 0 ]\n then\n piglet < $cmdfile > /dev/null 2>&1\n else\n /bin/time piglet < $cmdfile > pig.out 2>&1\n fi\n cd $savedir\n fi\n\nfi\n\n#\n# Done\n#\n\nscript_end_time=`get_secs`\nend_date=`date +%j`\nif [ $end_date -eq $date_match ]\nthen\n let run_time=$script_end_time-$script_start_time\nelse\n echo \"Run spans multiple days\"\n echo \" Start Date/time: $date_match at $script_start_time\n echo \" End Date/time: $end_date at $script_end_time\n let span=$end_date-$date_match\n echo \" ... run spanned $span days\"\n let run_time=3600*24*$span+$script_end_time-$script_start_time\n echo \" ... for a run time of $run_time seconds\"\nfi\necho \"Route complete at `date`\"\necho \" run time in seconds: $run_time\"\necho \"$blockname:`uname -m`:`model`:`date +%Y%m%d_%H%M`:$user:'make_route':$run_time\" >> $logfile\n\nexit 0\n", "text_preview": "#!/bin/ksh # Name: doit.route # Version: $Header:$ # Date: Wed May 3 08:24:48 MDT 2000 # Author: # # Synopsis: This script automates the remote route process running the cct # router. # Usage: doit.route # default blockna", "input_sha256": "373fac77fb71cf9cb6f767dcbc3cf1d5b6a233b37e70aadab7660ccfc14ebe5a", "text_sha256": "c11a5cbed5354a82b14cfe8774c44cab90b986b0f640cb95ad6ca90c7bda4770", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 20088, "input_policy": "text-and-optional-url-v1", "label_policy_version": 12, "requested_model": "decision-models/baseten-mammoth-27b-latest", "backend": "baseten", "endpoint": "https://inference.baseten.co/v1/systemone", "status": "ok", "training_eligible": true, "label": {"primary": {"main_format": "Technical Writing", "sub_format": null}, "secondary": null, "tertiary": null, "content_structure": []}, "candidate_label": null, "topic": {"primary": {"main_topic": "Programming & Software Engineering", "sub_topic": null}, "secondary": null}, "scores": {"content_quality": 1, "noise_severity": 0, "missing_content_severity": 0, "factual_density": 3, "pretraining_utility": 0, "math_density": 0, "code_density": 4, "reasoning_density": 0, "education_level": 3, "creative_writing_quality": null}, "score_expectations": {"content_quality": 0.38869140148841536, "noise_severity": 0.10544331274936443, "missing_content_severity": 0.1385720378251422, "factual_density": 3.214395103294138, "pretraining_utility": 0.23483992746120466, "math_density": 0.43881858726434403, "code_density": 3.7379698986419903, "reasoning_density": 0.9604826944098117, "education_level": 2.6783210158047956, "creative_writing_quality": -0.2652547421060896}, "api_choices": {"primary": "Technical Writing", "secondary": "NONE", "tertiary": "NONE", "education_level": "3", "creative_writing_quality": "not_applicable", "primary_topic": "Programming & Software Engineering", "secondary_topic": "NONE"}, "review_reasons": [], "format_slot_diagnostics": {"comparable": true, "secondary_tertiary_identical": false, "secondary_tertiary_max_abs_gap": 0.021588904379478004, "secondary_choice": "NONE", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.9885892844013282, "secondary": 0.905372649312545, "tertiary": 0.9257825600760501, "structured_records": 0.00918887376682056, "procedural_steps": 0.1919996505229442, "worked_solution": 0.0033936000109013502, "contextual_dialogue": 5.217214020719044e-06, "content_quality": 0.3130499501024937, "noise_severity": 0.912130572708863, "missing_content_severity": 0.8845233018123815, "factual_density": 0.5000212891724762, "pretraining_utility": 0.4915774810934349, "math_density": 0.63431784394638, "code_density": 0.7816415822016585, "reasoning_density": 0.19959775465849017, "education_level": 0.372386510731679, "creative_writing_quality": 0.9988932429552961, "primary_topic": 0.9528712238175961, "secondary_topic": 0.8650346862619372}, "probability_margin": {"primary": 0.9834627648047336, "secondary": 0.8568631101235075, "tertiary": 0.8980115123180111, "education_level": 0.07362534252423508, "creative_writing_quality": 0.9986490406754454, "primary_topic": 0.9278474652336274, "secondary_topic": 0.8223844689846296}, "raw_probabilities": {"primary": {"Academic Writing": 5.7588998401223334e-05, "Content Listing": 3.775075447275667e-05, "Creative Writing": 4.265829248900024e-05, "Customer Support Page": 4.53434360152704e-05, "Q&A Forum": 1.768018157419166e-05, "Discussion Thread": 1.4697705395534373e-05, "Comment Section": 3.348019525375859e-05, "Missing Content": 5.5254496049182236e-05, "Knowledge Article": 0.00015272071797964946, "Legal Notices": 5.051069613518619e-05, "News Article": 1.0576193289541028e-05, "Organizational Announcement": 2.2940923014133712e-05, "Nonfiction Writing": 2.379574359633415e-05, "Organizational About Page": 2.7313285201343927e-05, "Personal About Page": 2.437767089748451e-05, "Personal Blog": 1.8106593822565673e-05, "Product Page": 1.666856183797504e-05, "Spam / Ads": 1.981818789339985e-05, "Structured Data": 0.0003040493315803876, "Technical Writing": 0.9890647308846062, "Transcript / Interview": 4.176010247617332e-05, "Tutorial / How-To Guide": 0.005601966079872646, "User Reviews": 1.6091726019644156e-05, "Other / Unknown": 0.004300119242126298}, "secondary": {"Academic Writing": 0.0003987776855415734, "Content Listing": 0.0002823661117556573, "Creative Writing": 0.00035535295443052525, "Customer Support Page": 0.0011219570640190661, "Q&A Forum": 0.00015252453047956264, "Discussion Thread": 0.000126952831512245, "Comment Section": 0.0003017380476664901, "Missing Content": 0.0010834496074462684, "Knowledge Article": 0.0015120968839955225, "Legal Notices": 0.0004496505498839826, "News Article": 0.00016521507580154063, "Organizational Announcement": 0.00023059406140363704, "Nonfiction Writing": 0.0002127385268651384, "Organizational About Page": 0.00023394589120592508, "Personal About Page": 0.00019429757360051714, "Personal Blog": 0.0001842901715856324, "Product Page": 0.00013378995060902874, "Spam / Ads": 0.0001871742005486113, "Structured Data": 0.0013047079132546653, "Technical Writing": 0.05245234546768154, "Transcript / Interview": 0.00029204400321951177, "Tutorial / How-To Guide": 0.029198832423130514, "User Reviews": 0.00010970288317387835, "NONE": 0.909315455591189}, "tertiary": {"Academic Writing": 0.0003191666437807753, "Content Listing": 0.00027840041363286054, "Creative Writing": 0.00028212718278205866, "Customer Support Page": 0.0015850899381333256, "Q&A Forum": 0.00010764937380325172, "Discussion Thread": 9.906925412972189e-05, "Comment Section": 0.0002595925201601861, "Missing Content": 0.001652619391814823, "Knowledge Article": 0.0023310147894543805, "Legal Notices": 0.0008937418524059282, "News Article": 0.00011825823747005506, "Organizational Announcement": 0.00021975649592989466, "Nonfiction Writing": 0.0002194688315636228, "Organizational About Page": 0.00023648568849709116, "Personal About Page": 0.00019142667295492558, "Personal Blog": 0.00016733130554133068, "Product Page": 0.00011324281232014318, "Spam / Ads": 0.00017042004328427196, "Structured Data": 0.0015311717037414497, "Technical Writing": 0.030863441088203533, "Transcript / Interview": 0.0002501586581597057, "Tutorial / How-To Guide": 0.029151556008721376, "User Reviews": 8.38576873006178e-05, "NONE": 0.9288749534062146}, "structured_records": {"false": 0.9908111262331795, "true": 0.00918887376682056}, "procedural_steps": {"false": 0.8080003494770558, "true": 0.1919996505229442}, "worked_solution": {"false": 0.9966063999890986, "true": 0.0033936000109013502}, "contextual_dialogue": {"false": 0.9999947827859793, "true": 5.217214020719044e-06}, "content_quality": {"-2": 0.023597945971395376, "-1": 0.155989936228393, "0": 0.33505061882332393, "1": 0.37884576829417604, "2": 0.1065157306827115}, "noise_severity": {"0": 0.9045615663675085, "1": 0.08853006797849154, "2": 0.004691662195571101, "3": 0.0013368934539845377, "4": 0.0008798100044442694}, "missing_content_severity": {"0": 0.8817679419368113, "1": 0.10291902407054848, "2": 0.01169024157519128, "3": 0.002218639065584416, "4": 0.0014041533518644835}, "factual_density": {"0": 0.005619540641966428, "1": 0.016207553367760363, "2": 0.14351594618802527, "3": 0.4274721816586648, "4": 0.40718477814358317}, "pretraining_utility": {"-2": 0.013162899126951665, "-1": 0.1613077493594334, "0": 0.45143767948543484, "1": 0.3257098689818187, "2": 0.048381803046361346}, "math_density": {"0": 0.6221348820978998, "1": 0.33662279646837545, "2": 0.028929847291512545, "3": 0.0049138003559049135, "4": 0.007398673786307173}, "code_density": {"0": 0.0004460938319275884, "1": 0.0008096850795258959, "2": 0.019296964494970897, "3": 0.21922274180177997, "4": 0.7602245147917956}, "reasoning_density": {"0": 0.5067395213312481, "1": 0.1931573733805995, "2": 0.18129577067853533, "3": 0.0704955587663266, "4": 0.04831177584329045}, "education_level": {"none": 0.0013604163793311046, "0": 0.001953691593327543, "1": 0.009450197434283198, "2": 0.4033634164188308, "3": 0.47698875894306586, "4": 0.10688351923116139}, "creative_writing_quality": {"not_applicable": 0.9990777024627467, "-2": 0.00010298042197841046, "-1": 0.0002326343484106091, "0": 0.00042866178730139795, "1": 0.0001220905621476765, "2": 3.593041741526598e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 9.17163499849902e-05, "Art & Design": 0.00039067146347709556, "Law & Crime": 0.00014279194636160922, "Education & Careers": 9.029988801922102e-05, "Entertainment & Media": 9.305598301875335e-05, "Fashion & Beauty": 8.792216514628321e-05, "Business, Economics & Finance": 0.00017407668018744628, "Food & Dining": 7.278677664725464e-05, "Games & Gaming": 0.0002050372572066438, "Electronics & Hardware": 0.0268364038217536, "Health, Healthcare & Wellness": 0.00012657435367459329, "History & Geography": 0.0001531005798819531, "Home, Pets & Hobbies": 0.00010338700685370951, "Industry & Production": 0.0020276411013065046, "Language, Literature & Philosophy": 9.567153149545627e-05, "Politics & Government": 6.295756231692e-05, "Religion & Spirituality": 9.207443953487971e-05, "Science, Mathematics & Engineering": 0.006473632908719085, "Relationships & Community": 5.827614085186781e-05, "Software Usage & Applications": 0.003427915493729887, "Programming & Software Engineering": 0.9546838690553809, "Sports & Fitness": 0.00012001008537908325, "Vehicles & Transportation": 0.00017402763041751877, "Travel & Tourism": 0.0001421951077387072, "Other / Uncovered Subject": 0.0036900355323507654, "Unknown / Insufficient Content": 0.00038386913856552955}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0006024120834192142, "Art & Design": 0.0015939992507676135, "Law & Crime": 0.0006701595334136644, "Education & Careers": 0.00039154605671373597, "Entertainment & Media": 0.0004858514694060837, "Fashion & Beauty": 0.00027755758469597864, "Business, Economics & Finance": 0.0006326037550023214, "Food & Dining": 0.0002908214053235689, "Games & Gaming": 0.0005534294813957578, "Electronics & Hardware": 0.04784119088261771, "Health, Healthcare & Wellness": 0.00040884966124784, "History & Geography": 0.0003773868609103145, "Home, Pets & Hobbies": 0.0003100830405762771, "Industry & Production": 0.0016793260380844883, "Language, Literature & Philosophy": 0.00021190501158375373, "Politics & Government": 0.00030946678552608265, "Religion & Spirituality": 0.00035321493762985133, "Science, Mathematics & Engineering": 0.015060820054576209, "Relationships & Community": 0.0001783430657287608, "Software Usage & Applications": 0.01723853779571652, "Programming & Software Engineering": 0.03560867826656269, "Sports & Fitness": 0.0002716839430251491, "Vehicles & Transportation": 0.00028105922904436654, "Travel & Tourism": 0.00036982627625376543, "Other / Uncovered Subject": 0.0037755876635308374, "NONE": 0.8702256598672473}}, "probabilities": {"primary": {"Academic Writing": 5.758899840122334e-05, "Content Listing": 3.775075447275668e-05, "Creative Writing": 4.265829248900025e-05, "Customer Support Page": 4.534343601527041e-05, "Q&A Forum": 1.7680181574191663e-05, "Discussion Thread": 1.4697705395534375e-05, "Comment Section": 3.3480195253758594e-05, "Missing Content": 5.525449604918224e-05, "Knowledge Article": 0.0001527207179796495, "Legal Notices": 5.0510696135186194e-05, "News Article": 1.057619328954103e-05, "Organizational Announcement": 2.2940923014133716e-05, "Nonfiction Writing": 2.3795743596334154e-05, "Organizational About Page": 2.731328520134393e-05, "Personal About Page": 2.4377670897484513e-05, "Personal Blog": 1.8106593822565677e-05, "Product Page": 1.6668561837975043e-05, "Spam / Ads": 1.9818187893399853e-05, "Structured Data": 0.00030404933158038763, "Technical Writing": 0.9890647308846063, "Transcript / Interview": 4.1760102476173326e-05, "Tutorial / How-To Guide": 0.005601966079872647, "User Reviews": 1.609172601964416e-05, "Other / Unknown": 0.004300119242126299}, "secondary": {"Academic Writing": 0.0003987776855415734, "Content Listing": 0.0002823661117556573, "Creative Writing": 0.00035535295443052525, "Customer Support Page": 0.0011219570640190661, "Q&A Forum": 0.00015252453047956264, "Discussion Thread": 0.000126952831512245, "Comment Section": 0.0003017380476664901, "Missing Content": 0.0010834496074462684, "Knowledge Article": 0.0015120968839955225, "Legal Notices": 0.0004496505498839826, "News Article": 0.00016521507580154063, "Organizational Announcement": 0.00023059406140363704, "Nonfiction Writing": 0.0002127385268651384, "Organizational About Page": 0.00023394589120592508, "Personal About Page": 0.00019429757360051714, "Personal Blog": 0.0001842901715856324, "Product Page": 0.00013378995060902874, "Spam / Ads": 0.0001871742005486113, "Structured Data": 0.0013047079132546653, "Technical Writing": 0.05245234546768154, "Transcript / Interview": 0.00029204400321951177, "Tutorial / How-To Guide": 0.029198832423130514, "User Reviews": 0.00010970288317387835, "NONE": 0.909315455591189}, "tertiary": {"Academic Writing": 0.0003191666437807753, "Content Listing": 0.00027840041363286054, "Creative Writing": 0.00028212718278205866, "Customer Support Page": 0.0015850899381333256, "Q&A Forum": 0.00010764937380325172, "Discussion Thread": 9.906925412972189e-05, "Comment Section": 0.0002595925201601861, "Missing Content": 0.001652619391814823, "Knowledge Article": 0.0023310147894543805, "Legal Notices": 0.0008937418524059282, "News Article": 0.00011825823747005506, "Organizational Announcement": 0.00021975649592989466, "Nonfiction Writing": 0.0002194688315636228, "Organizational About Page": 0.00023648568849709116, "Personal About Page": 0.00019142667295492558, "Personal Blog": 0.00016733130554133068, "Product Page": 0.00011324281232014318, "Spam / Ads": 0.00017042004328427196, "Structured Data": 0.0015311717037414497, "Technical Writing": 0.030863441088203533, "Transcript / Interview": 0.0002501586581597057, "Tutorial / How-To Guide": 0.029151556008721376, "User Reviews": 8.38576873006178e-05, "NONE": 0.9288749534062146}, "structured_records": {"false": 0.9908111262331795, "true": 0.00918887376682056}, "procedural_steps": {"false": 0.8080003494770558, "true": 0.1919996505229442}, "worked_solution": {"false": 0.9966063999890986, "true": 0.0033936000109013502}, "contextual_dialogue": {"false": 0.9999947827859793, "true": 5.217214020719044e-06}, "content_quality": {"-2": 0.02359794597139538, "-1": 0.15598993622839302, "0": 0.335050618823324, "1": 0.3788457682941761, "2": 0.10651573068271152}, "noise_severity": {"0": 0.9045615663675085, "1": 0.08853006797849154, "2": 0.004691662195571101, "3": 0.0013368934539845377, "4": 0.0008798100044442694}, "missing_content_severity": {"0": 0.8817679419368113, "1": 0.10291902407054848, "2": 0.01169024157519128, "3": 0.002218639065584416, "4": 0.0014041533518644835}, "factual_density": {"0": 0.005619540641966428, "1": 0.016207553367760363, "2": 0.14351594618802527, "3": 0.4274721816586648, "4": 0.40718477814358317}, "pretraining_utility": {"-2": 0.013162899126951665, "-1": 0.1613077493594334, "0": 0.45143767948543484, "1": 0.3257098689818187, "2": 0.048381803046361346}, "math_density": {"0": 0.6221348820978999, "1": 0.3366227964683755, "2": 0.02892984729151255, "3": 0.004913800355904914, "4": 0.007398673786307174}, "code_density": {"0": 0.0004460938319275884, "1": 0.0008096850795258959, "2": 0.019296964494970897, "3": 0.21922274180177997, "4": 0.7602245147917956}, "reasoning_density": {"0": 0.5067395213312481, "1": 0.1931573733805995, "2": 0.18129577067853533, "3": 0.0704955587663266, "4": 0.04831177584329045}, "education_level": {"none": 0.0013604163793311049, "0": 0.0019536915933275434, "1": 0.0094501974342832, "2": 0.40336341641883083, "3": 0.4769887589430659, "4": 0.1068835192311614}, "creative_writing_quality": {"not_applicable": 0.9990777024627467, "-2": 0.00010298042197841046, "-1": 0.0002326343484106091, "0": 0.00042866178730139795, "1": 0.0001220905621476765, "2": 3.593041741526598e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 9.171634998499017e-05, "Art & Design": 0.00039067146347709545, "Law & Crime": 0.0001427919463616092, "Education & Careers": 9.029988801922101e-05, "Entertainment & Media": 9.305598301875332e-05, "Fashion & Beauty": 8.79221651462832e-05, "Business, Economics & Finance": 0.00017407668018744625, "Food & Dining": 7.278677664725462e-05, "Games & Gaming": 0.00020503725720664374, "Electronics & Hardware": 0.026836403821753594, "Health, Healthcare & Wellness": 0.00012657435367459326, "History & Geography": 0.00015310057988195306, "Home, Pets & Hobbies": 0.00010338700685370949, "Industry & Production": 0.002027641101306504, "Language, Literature & Philosophy": 9.567153149545625e-05, "Politics & Government": 6.295756231691998e-05, "Religion & Spirituality": 9.207443953487968e-05, "Science, Mathematics & Engineering": 0.0064736329087190835, "Relationships & Community": 5.8276140851867796e-05, "Software Usage & Applications": 0.003427915493729886, "Programming & Software Engineering": 0.9546838690553807, "Sports & Fitness": 0.00012001008537908322, "Vehicles & Transportation": 0.00017402763041751874, "Travel & Tourism": 0.00014219510773870716, "Other / Uncovered Subject": 0.0036900355323507645, "Unknown / Insufficient Content": 0.00038386913856552945}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0006024120834192143, "Art & Design": 0.0015939992507676137, "Law & Crime": 0.0006701595334136645, "Education & Careers": 0.000391546056713736, "Entertainment & Media": 0.00048585146940608375, "Fashion & Beauty": 0.0002775575846959787, "Business, Economics & Finance": 0.0006326037550023215, "Food & Dining": 0.00029082140532356895, "Games & Gaming": 0.0005534294813957579, "Electronics & Hardware": 0.047841190882617714, "Health, Healthcare & Wellness": 0.00040884966124784004, "History & Geography": 0.00037738686091031456, "Home, Pets & Hobbies": 0.00031008304057627715, "Industry & Production": 0.0016793260380844886, "Language, Literature & Philosophy": 0.00021190501158375376, "Politics & Government": 0.0003094667855260827, "Religion & Spirituality": 0.0003532149376298514, "Science, Mathematics & Engineering": 0.01506082005457621, "Relationships & Community": 0.00017834306572876084, "Software Usage & Applications": 0.017238537795716522, "Programming & Software Engineering": 0.0356086782665627, "Sports & Fitness": 0.0002716839430251492, "Vehicles & Transportation": 0.0002810592290443666, "Travel & Tourism": 0.0003698262762537655, "Other / Uncovered Subject": 0.003775587663530838, "NONE": 0.8702256598672474}}, "probability_diagnostics": {"primary": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "tertiary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "structured_records": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "procedural_steps": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "worked_solution": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "contextual_dialogue": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "content_quality": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "noise_severity": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "missing_content_severity": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "factual_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "pretraining_utility": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "math_density": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "code_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "reasoning_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "education_level": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "creative_writing_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "primary_topic": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "secondary_topic": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}}, "usage": {"input_tokens": 12649, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 12649, "cached_share": null, "cache_discount_reported": null, "reported_cost_usd": null}, "response_metadata": {"model": "decision-models/baseten-mammoth-27b-latest"}, "scored_at_utc": "2026-10-25T18:35:08.675448+00:00", "scoring_key_slot": "primary", "dataset_uid": "52aa4a65-d969-4c12-b605-7077e02d24f5", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "da826c382c235cb94ddf46d0d6978cd4c43a37450e89e0ec515fa7c559a54035", "source_metadata": {"uuid": "52aa4a65-d969-4c12-b605-7077e02d24f5", "repo_name": "feverittm/script-bin", "relative_path": "old/make_route", "category": "TOOL", "algo_rel_score": 0.8253769278526306, "quality_score": 3.252739191055298, "source_meta": {"github_metadata": {"branch": "master", "commit_count": 5, "repo_created_at": "2021-08-25T06:14:26.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 0, "forks": 0, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "0734f8259a0ecf16c7368b11b025575e185c4c3d", "size_bytes": 12681, "file_timestamp": 1677086977, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "bef9cfad4c3323745527bb0a6bf51c429620b5d8"}}, "parsed_source_meta": {"github_metadata": {"branch": "master", "commit_count": 5, "repo_created_at": "2021-08-25T06:14:26.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 0, "forks": 0, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "0734f8259a0ecf16c7368b11b025575e185c4c3d", "size_bytes": 12681, "file_timestamp": 1677086977, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "bef9cfad4c3323745527bb0a6bf51c429620b5d8", "url": "https://github.com/feverittm/script-bin/blob/bef9cfad4c3323745527bb0a6bf51c429620b5d8/old/make_route"}, "gpt4o_tokens": 3933, "dataset_split": "shell", "probability_weighted_scores": {"content_quality": 0.38869140148841536, "noise_severity": 0.10544331274936443, "missing_content_severity": 0.1385720378251422, "factual_density": 3.214395103294138, "pretraining_utility": 0.23483992746120466, "math_density": 0.43881858726434403, "code_density": 3.7379698986419903, "reasoning_density": 0.9604826944098117, "education_level": 2.6783210158047956, "creative_writing_quality": -0.2652547421060896}, "score_applicability": {"education_level": 0.9986395836206688, "creative_writing_quality": 0.00092229753725336}} {"source_group": "shell", "source": "openbmb/UltraData-Stack-v3-L2/shell", "domain": "github.com", "language": "shell", "url": "https://github.com/Kyligence/mdx-kylin/blob/7ce68ad46a3abb8bb6448202e08b8ae59aba1404/semantic-mdx/semantic-server/src/test/resources/diagnosisDir/semantic-mdx/startup.sh", "id": "shell-0-505afdd9cec728a0eb15e104728faa77", "text": "#!/bin/bash\n\n#\n# Licensed to the Apache Software Foundation (ASF) under one or more\n# contributor license agreements. See the NOTICE file distributed with\n# this work for additional information regarding copyright ownership.\n# The ASF licenses this file to You under the Apache License, Version 2.0\n# (the \"License\"); you may not use this file except in compliance with\n# the License. You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n#\n\n\nDIR=$(cd -P -- \"$(dirname -- \"$0\")\" && pwd -P)\nAPP_PROPERTY_FILE=insight.properties\nPID=${DIR}/pid\n\n\nif [[ -z \"${INSIGHT_HOME}\" ]]; then\n export INSIGHT_HOME=$DIR\n echo \"The env variable INSIGHT_HOME has not been set, set INSIGHT_HOME=$DIR\"\nfi\n\nexport MDX_HOME=${INSIGHT_HOME}\necho \"MDX_HOME=${MDX_HOME}\"\n\nexport MDX_CONF=${INSIGHT_HOME}/conf\necho \"MDX_CONF=${MDX_CONF}\"\n\njvm_xms_name=$(cat $MDX_HOME/conf/${APP_PROPERTY_FILE} | grep insight.mdx.jvm.xms | awk -F= '{print $1}')\njvm_xmx_name=$(cat $MDX_HOME/conf/${APP_PROPERTY_FILE} | grep insight.mdx.jvm.xmx | awk -F= '{print $1}')\n\nif [[ $jvm_xms_name == '' || $jvm_xms_name =~ ^#.* ]];\nthen\n jvm_xms=''\nelse\n jvm_xms=$(cat $MDX_HOME/conf/${APP_PROPERTY_FILE} | grep insight.mdx.jvm.xms | awk -F= '{print $2}')\nfi\n\nif [[ $jvm_xmx_name == '' && $jvm_xmx_name =~ ^#.* ]];\nthen\n jvm_xmx=''\nelse\n jvm_xmx=$(cat $MDX_HOME/conf/${APP_PROPERTY_FILE} | grep insight.mdx.jvm.xmx | awk -F= '{print $2}')\nfi\n\ncd ${DIR}\n\nif [[ $jvm_xms == '' || $jvm_xmx == '' ]]; then\n echo \"set JVM by set-jvm.sh\"\n . \"$DIR/set-jvm.sh\"\nfi\n\n. \"$DIR/set-java.sh\"\n\nsetJava\n\nfunction trimStr {\n trimmed=$1\n trimmed=${trimmed%% }\n trimmed=${trimmed## }\n echo $trimmed\n}\n\nSEMANTIC_PORT=$(cat $MDX_HOME/conf/${APP_PROPERTY_FILE} | grep insight.semantic.port | awk -F= '{print $2}')\nDATABASE_TYPE=$(cat $MDX_HOME/conf/${APP_PROPERTY_FILE} | grep insight.database.type | awk -F= '{print $2}')\n\n\nSEMANTIC_PORT=$(trimStr $SEMANTIC_PORT)\nDATABASE_TYPE=$(trimStr $DATABASE_TYPE)\n\nif [[ $DATABASE_TYPE == \"postgresql\" ]]; then\n echo \"Use database: postgresql\"\n DATABASE_TYPE=\"pg\"\nelse\n echo \"Use database: mysql\"\n DATABASE_TYPE=\"mysql\"\nfi\n\n\nif [[ -z \"$SEMANTIC_PORT\" ]]; then\n echo -e \"The property 'insight.semantic.port' hasn't been set, use default port: 7080.\"\n SEMANTIC_PORT=7080\nfi\n\nif [[ -n \"`netstat -tnlp | grep \":$SEMANTIC_PORT\" | grep LISTEN`\" ]]; then\n if [[ -e \"$PID\" ]]; then\n echo \"Semantic Service is already started.\"\n exit 1\n else\n echo \"The port $SEMANTIC_PORT has already been used, you can use the property [insight.semantic.port] to change it in ${APP_PROPERTY_FILE}.\"\n exit 1\n fi\nfi\n\nif [[ ! -d \"$MDX_HOME/logs\" ]]; then\n mkdir $MDX_HOME/logs\nfi\n\necho \"JVM memory minimum set as : ${jvm_xms}\"\necho \"JVM memory maximum set as : ${jvm_xmx}\"\n\ntimeZone=`grep 'insight.mdx.mondrian.jdbc.timezone=' \"$MDX_HOME/conf/insight.properties\"`\nif [ \"$timeZone\" == \"\" ]\nthen JAVA_OPTS=\"$jvm_xms $jvm_xmx -XX:+UseG1GC -XX:G1HeapRegionSize=4m -XX:MaxMetaspaceSize=512m -Dfile.encoding=UTF-8 -Dorg.apache.tomcat.util.buf.UDecoder.ALLOW_ENCODED_SLASH=true -Djava.awt.headless=true -XX:+PrintGCDateStamps -XX:+PrintGCDetails -Xloggc:$INSIGHT_HOME/logs/gc.log -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=$INSIGHT_HOME/logs/heapdump.hprof\"\nelse\n time=(${timeZone//=/ })\n zone=${time[1]}\n echo \"Time zone is specified as: $zone\"\n JAVA_OPTS=\"$jvm_xms $jvm_xmx -XX:+UseG1GC -XX:G1HeapRegionSize=4m -XX:MaxMetaspaceSize=512m -Dfile.encoding=UTF-8 -Duser.timezone=$zone -Dorg.apache.tomcat.util.buf.UDecoder.ALLOW_ENCODED_SLASH=true -Djava.awt.headless=true -XX:+PrintGCDateStamps -XX:+PrintGCDetails -Xloggc:$INSIGHT_HOME/logs/gc.log -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=$INSIGHT_HOME/logs/heapdump.hprof\"\nfi\n\n\nSPRING_OPTS=\"$SPRING_OPTS -DINSIGHT_HOME=$INSIGHT_HOME -Dspring.config.name=insight,application -Dspring.profiles.active=$DATABASE_TYPE -Dspring.config.location=classpath:/,file:$INSIGHT_HOME/conf/\"\n\necho \"Semantic service is starting at port $SEMANTIC_PORT, please check the log at logs/semantic.log.\"\nnohup ${JAVA} ${JAVA_OPTS} ${SPRING_OPTS} -Dloader.path=$DIR/lib/ -jar $DIR/semantic*.jar > $MDX_HOME/logs/semantic.out 2>&1 &\necho \"$!\" > ${PID}\n\n", "text_preview": "#!/bin/bash # # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licens", "input_sha256": "1a5e7e0309ac04b1eedef615ce7994af1e26073971c3b39843eced4bdf93c7a1", "text_sha256": "505afdd9cec728a0eb15e104728faa776b2292883a0b17e99b235c9a6b88058d", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 20090, "input_policy": "text-and-optional-url-v1", "label_policy_version": 12, "requested_model": "decision-models/baseten-mammoth-27b-latest", "backend": "baseten", "endpoint": "https://inference.baseten.co/v1/systemone", "status": "ok", "training_eligible": true, "label": {"primary": {"main_format": "Technical Writing", "sub_format": null}, "secondary": {"main_format": "Legal Notices", "sub_format": null}, "tertiary": null, "content_structure": []}, "candidate_label": null, "topic": {"primary": {"main_topic": "Programming & Software Engineering", "sub_topic": null}, "secondary": null}, "scores": {"content_quality": 1, "noise_severity": 0, "missing_content_severity": 0, "factual_density": 4, "pretraining_utility": 0, "math_density": 0, "code_density": 4, "reasoning_density": 0, "education_level": 2, "creative_writing_quality": null}, "score_expectations": {"content_quality": 0.6338782871717934, "noise_severity": 0.4984468322263975, "missing_content_severity": 0.008466454974907797, "factual_density": 3.176278751954879, "pretraining_utility": 0.2422784210849514, "math_density": 0.01078791493025328, "code_density": 3.7118742440262396, "reasoning_density": 0.7495003745620946, "education_level": 2.564063944385318, "creative_writing_quality": -0.23212622548949574}, "api_choices": {"primary": "Technical Writing", "secondary": "Legal Notices", "tertiary": "NONE", "education_level": "2", "creative_writing_quality": "not_applicable", "primary_topic": "Programming & Software Engineering", "secondary_topic": "NONE"}, "review_reasons": [], "format_slot_diagnostics": {"comparable": true, "secondary_tertiary_identical": false, "secondary_tertiary_max_abs_gap": 0.6646258291648729, "secondary_choice": "Legal Notices", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.9791796706176205, "secondary": 0.7231720598139287, "tertiary": 0.8681728194343299, "structured_records": 0.0034759670259870224, "procedural_steps": 0.12036771250081009, "worked_solution": 0.0039045507132652985, "contextual_dialogue": 6.280096718292232e-06, "content_quality": 0.43386280734967186, "noise_severity": 0.5846276398113355, "missing_content_severity": 0.9929446208542435, "factual_density": 0.31356562662906573, "pretraining_utility": 0.5063502656319685, "math_density": 0.9910100708914557, "code_density": 0.7598952033551993, "reasoning_density": 0.37541635453158784, "education_level": 0.3631921557301088, "creative_writing_quality": 0.9992060744531651, "primary_topic": 0.97707717474772, "secondary_topic": 0.7945205987049454}, "probability_margin": {"primary": 0.9664911685866933, "secondary": 0.5256667678619882, "tertiary": 0.76276688483299, "education_level": 0.016421339718336148, "creative_writing_quality": 0.9990000862220949, "primary_topic": 0.9638648494226667, "secondary_topic": 0.7087448859240842}, "raw_probabilities": {"primary": {"Academic Writing": 7.180051501476148e-05, "Content Listing": 4.5838854963778665e-05, "Creative Writing": 3.997358230531975e-05, "Customer Support Page": 3.816913104882335e-05, "Q&A Forum": 2.6916413112686652e-05, "Discussion Thread": 1.6660719247106877e-05, "Comment Section": 3.4692458896394984e-05, "Missing Content": 6.404299671555621e-05, "Knowledge Article": 0.00014030716121055665, "Legal Notices": 0.01355601575519308, "News Article": 1.7093289351873764e-05, "Organizational Announcement": 4.495613113634688e-05, "Nonfiction Writing": 2.7090034392737864e-05, "Organizational About Page": 3.483652941980504e-05, "Personal About Page": 1.7209065280228452e-05, "Personal Blog": 1.6931998534807022e-05, "Product Page": 1.6126684777980347e-05, "Spam / Ads": 2.334947283655911e-05, "Structured Data": 0.0002471710327995783, "Technical Writing": 0.9800471843418863, "Transcript / Interview": 4.230642857884188e-05, "Tutorial / How-To Guide": 0.0019884355719905684, "User Reviews": 1.641397484026593e-05, "Other / Unknown": 0.003426477856465743}, "secondary": {"Academic Writing": 0.0005548998041431997, "Content Listing": 0.00041428182041486496, "Creative Writing": 0.0004304112402153504, "Customer Support Page": 0.0003427441145959646, "Q&A Forum": 0.0002796985123117129, "Discussion Thread": 0.00024631967196478644, "Comment Section": 0.00044965256100098225, "Missing Content": 0.0004956838522465591, "Knowledge Article": 0.000925765749302598, "Legal Notices": 0.7347065573216817, "News Article": 0.0004158673795813937, "Organizational Announcement": 0.000535403913018109, "Nonfiction Writing": 0.0003531447474393671, "Organizational About Page": 0.0005261520190022284, "Personal About Page": 0.0002564473521010702, "Personal Blog": 0.0002571837599952571, "Product Page": 0.00032713746587865393, "Spam / Ads": 0.0003114264651388014, "Structured Data": 0.0005601409278517481, "Technical Writing": 0.04606231901693405, "Transcript / Interview": 0.00046587420104105465, "Tutorial / How-To Guide": 0.0018341974810677773, "User Reviews": 0.00020890116337962954, "NONE": 0.20903978945969345}, "tertiary": {"Academic Writing": 0.0003157164053138213, "Content Listing": 0.00019643531916188855, "Creative Writing": 0.00023651185728042055, "Customer Support Page": 0.00019379918779656728, "Q&A Forum": 9.391602269170674e-05, "Discussion Thread": 8.254948728707356e-05, "Comment Section": 0.00017728521462924394, "Missing Content": 0.0002560240965105967, "Knowledge Article": 0.0007073104831595735, "Legal Notices": 0.11089873379157614, "News Article": 0.00018462869721173612, "Organizational Announcement": 0.00021409849690562518, "Nonfiction Writing": 0.00014467403590357012, "Organizational About Page": 0.00021734068128328622, "Personal About Page": 0.00011315655855857764, "Personal Blog": 0.0001301323359492531, "Product Page": 0.0001226382642293665, "Spam / Ads": 0.00016604195292519144, "Structured Data": 0.00045315057225951986, "Technical Writing": 0.008547295271243559, "Transcript / Interview": 0.00020268727517947066, "Tutorial / How-To Guide": 0.0026058084104600525, "User Reviews": 7.444695791750419e-05, "NONE": 0.8736656186245662}, "structured_records": {"false": 0.9965240329740129, "true": 0.0034759670259870224}, "procedural_steps": {"false": 0.8796322874991899, "true": 0.12036771250081009}, "worked_solution": {"false": 0.9960954492867347, "true": 0.0039045507132652985}, "contextual_dialogue": {"false": 0.9999937199032817, "true": 6.280096718292232e-06}, "content_quality": {"-2": 0.01799827116701605, "-1": 0.08452769071353089, "0": 0.2996929770761902, "1": 0.4411596018671692, "2": 0.15662145917609363}, "noise_severity": {"0": 0.5342468287550077, "1": 0.4389965912242311, "2": 0.022768273112501236, "3": 0.0020395328558750663, "4": 0.0019487740523846566}, "missing_content_severity": {"0": 0.9954085330657967, "1": 0.001712095596852161, "2": 0.002088916515546355, "3": 0.0005852929402569716, "4": 0.0002051618815480031}, "factual_density": {"0": 0.01050894898447118, "1": 0.029161850132891756, "2": 0.1556315011836847, "3": 0.38293689934119163, "4": 0.42176080035776076}, "pretraining_utility": {"-2": 0.011731730638343065, "-1": 0.151587168801657, "0": 0.46208312550422787, "1": 0.3318668989482496, "2": 0.04273107610752247}, "math_density": {"0": 0.9928758070344599, "1": 0.005421987786459403, "2": 0.0005399299163118007, "3": 0.00036303373990581307, "4": 0.0007992415228632091}, "code_density": {"0": 0.0004902537237883776, "1": 0.0008964632347011039, "2": 0.021116742872389935, "3": 0.2412418656297241, "4": 0.7362546745393965}, "reasoning_density": {"0": 0.6173760755657666, "1": 0.12870210312232974, "2": 0.16830641334371835, "3": 0.05827618712041301, "4": 0.027339220847772284}, "education_level": {"none": 0.001413110199664944, "0": 0.0023202283047927836, "1": 0.011022318967439694, "2": 0.46932679644175734, "3": 0.4529054567234212, "4": 0.06301208936292405}, "creative_writing_quality": {"not_applicable": 0.9993383953776376, "-2": 8.302696593471984e-05, "-1": 0.0001297442408478091, "0": 0.000338309155542632, "1": 7.882613111309244e-05, "2": 3.169812892435985e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 8.989624863319633e-05, "Art & Design": 0.00010200164822741776, "Law & Crime": 0.0037748389968869905, "Education & Careers": 8.620168922845214e-05, "Entertainment & Media": 6.053298688456838e-05, "Fashion & Beauty": 5.56675392212609e-05, "Business, Economics & Finance": 0.00027101139558756334, "Food & Dining": 6.080828442059171e-05, "Games & Gaming": 0.00010714707053228965, "Electronics & Hardware": 0.000718960152485485, "Health, Healthcare & Wellness": 6.767096741234196e-05, "History & Geography": 0.00011400694868908097, "Home, Pets & Hobbies": 7.423021549952714e-05, "Industry & Production": 0.00010918535975684014, "Language, Literature & Philosophy": 7.876365659621867e-05, "Politics & Government": 6.671913842769123e-05, "Religion & Spirituality": 5.9462319341664e-05, "Science, Mathematics & Engineering": 0.0008489707157442066, "Relationships & Community": 3.164326754718794e-05, "Software Usage & Applications": 0.01409397245014097, "Programming & Software Engineering": 0.9779588218728077, "Sports & Fitness": 9.086102722519972e-05, "Vehicles & Transportation": 4.1835490638198684e-05, "Travel & Tourism": 8.495590969917947e-05, "Other / Uncovered Subject": 0.0007254425758887259, "Unknown / Insufficient Content": 0.0002263920724772687}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0007923859577206199, "Art & Design": 0.0005320266522468371, "Law & Crime": 0.09367876667682483, "Education & Careers": 0.0005208315396368414, "Entertainment & Media": 0.0005324184939520387, "Fashion & Beauty": 0.00033757142214411854, "Business, Economics & Finance": 0.0013324979700861208, "Food & Dining": 0.0002581294793575452, "Games & Gaming": 0.0004368727929965484, "Electronics & Hardware": 0.002135659658143833, "Health, Healthcare & Wellness": 0.0003522412213466604, "History & Geography": 0.0004595688848123835, "Home, Pets & Hobbies": 0.0003448900674928041, "Industry & Production": 0.0003542019002250888, "Language, Literature & Philosophy": 0.00026218280019767046, "Politics & Government": 0.0007990562874909625, "Religion & Spirituality": 0.0004201925571358192, "Science, Mathematics & Engineering": 0.0014719084506112983, "Relationships & Community": 0.0001764448225292869, "Software Usage & Applications": 0.05804190177248125, "Programming & Software Engineering": 0.031831374340343215, "Sports & Fitness": 0.00031752572776261203, "Vehicles & Transportation": 0.000172190396414365, "Travel & Tourism": 0.00047041363353513243, "Other / Uncovered Subject": 0.001545093893603071, "NONE": 0.8024236526009091}}, "probabilities": {"primary": {"Academic Writing": 7.18005150147615e-05, "Content Listing": 4.583885496377868e-05, "Creative Writing": 3.9973582305319765e-05, "Customer Support Page": 3.8169131048823364e-05, "Q&A Forum": 2.6916413112686662e-05, "Discussion Thread": 1.6660719247106883e-05, "Comment Section": 3.4692458896395e-05, "Missing Content": 6.404299671555623e-05, "Knowledge Article": 0.0001403071612105567, "Legal Notices": 0.013556015755193085, "News Article": 1.709328935187377e-05, "Organizational Announcement": 4.495613113634689e-05, "Nonfiction Writing": 2.7090034392737874e-05, "Organizational About Page": 3.483652941980506e-05, "Personal About Page": 1.720906528022846e-05, "Personal Blog": 1.693199853480703e-05, "Product Page": 1.6126684777980354e-05, "Spam / Ads": 2.3349472836559118e-05, "Structured Data": 0.0002471710327995784, "Technical Writing": 0.9800471843418866, "Transcript / Interview": 4.2306428578841894e-05, "Tutorial / How-To Guide": 0.0019884355719905693, "User Reviews": 1.6413974840265938e-05, "Other / Unknown": 0.0034264778564657445}, "secondary": {"Academic Writing": 0.0005548998041431996, "Content Listing": 0.00041428182041486485, "Creative Writing": 0.0004304112402153503, "Customer Support Page": 0.0003427441145959645, "Q&A Forum": 0.00027969851231171285, "Discussion Thread": 0.0002463196719647864, "Comment Section": 0.00044965256100098214, "Missing Content": 0.000495683852246559, "Knowledge Article": 0.0009257657493025978, "Legal Notices": 0.7347065573216816, "News Article": 0.0004158673795813936, "Organizational Announcement": 0.0005354039130181089, "Nonfiction Writing": 0.000353144747439367, "Organizational About Page": 0.0005261520190022283, "Personal About Page": 0.0002564473521010701, "Personal Blog": 0.00025718375999525707, "Product Page": 0.0003271374658786539, "Spam / Ads": 0.00031142646513880135, "Structured Data": 0.000560140927851748, "Technical Writing": 0.04606231901693404, "Transcript / Interview": 0.00046587420104105454, "Tutorial / How-To Guide": 0.0018341974810677768, "User Reviews": 0.00020890116337962948, "NONE": 0.2090397894596934}, "tertiary": {"Academic Writing": 0.00031571640531382136, "Content Listing": 0.00019643531916188858, "Creative Writing": 0.00023651185728042057, "Customer Support Page": 0.0001937991877965673, "Q&A Forum": 9.391602269170675e-05, "Discussion Thread": 8.254948728707358e-05, "Comment Section": 0.00017728521462924396, "Missing Content": 0.00025602409651059676, "Knowledge Article": 0.0007073104831595736, "Legal Notices": 0.11089873379157615, "News Article": 0.00018462869721173615, "Organizational Announcement": 0.0002140984969056252, "Nonfiction Writing": 0.00014467403590357015, "Organizational About Page": 0.00021734068128328624, "Personal About Page": 0.00011315655855857766, "Personal Blog": 0.00013013233594925312, "Product Page": 0.00012263826422936652, "Spam / Ads": 0.00016604195292519146, "Structured Data": 0.0004531505722595199, "Technical Writing": 0.00854729527124356, "Transcript / Interview": 0.0002026872751794707, "Tutorial / How-To Guide": 0.002605808410460053, "User Reviews": 7.44469579175042e-05, "NONE": 0.8736656186245663}, "structured_records": {"false": 0.9965240329740129, "true": 0.0034759670259870224}, "procedural_steps": {"false": 0.8796322874991899, "true": 0.12036771250081009}, "worked_solution": {"false": 0.9960954492867347, "true": 0.0039045507132652985}, "contextual_dialogue": {"false": 0.9999937199032817, "true": 6.280096718292232e-06}, "content_quality": {"-2": 0.01799827116701605, "-1": 0.08452769071353089, "0": 0.2996929770761902, "1": 0.4411596018671692, "2": 0.15662145917609363}, "noise_severity": {"0": 0.5342468287550078, "1": 0.43899659122423124, "2": 0.02276827311250124, "3": 0.0020395328558750667, "4": 0.001948774052384657}, "missing_content_severity": {"0": 0.9954085330657965, "1": 0.0017120955968521606, "2": 0.0020889165155463544, "3": 0.0005852929402569715, "4": 0.00020516188154800304}, "factual_density": {"0": 0.01050894898447118, "1": 0.029161850132891756, "2": 0.1556315011836847, "3": 0.38293689934119163, "4": 0.42176080035776076}, "pretraining_utility": {"-2": 0.011731730638343065, "-1": 0.151587168801657, "0": 0.46208312550422787, "1": 0.3318668989482496, "2": 0.04273107610752247}, "math_density": {"0": 0.9928758070344599, "1": 0.005421987786459403, "2": 0.0005399299163118007, "3": 0.00036303373990581307, "4": 0.0007992415228632091}, "code_density": {"0": 0.0004902537237883776, "1": 0.0008964632347011039, "2": 0.021116742872389935, "3": 0.2412418656297241, "4": 0.7362546745393965}, "reasoning_density": {"0": 0.6173760755657666, "1": 0.12870210312232974, "2": 0.16830641334371835, "3": 0.05827618712041301, "4": 0.027339220847772284}, "education_level": {"none": 0.001413110199664944, "0": 0.0023202283047927836, "1": 0.011022318967439694, "2": 0.46932679644175734, "3": 0.4529054567234212, "4": 0.06301208936292405}, "creative_writing_quality": {"not_applicable": 0.9993383953776374, "-2": 8.302696593471982e-05, "-1": 0.00012974424084780906, "0": 0.00033830915554263196, "1": 7.882613111309242e-05, "2": 3.169812892435984e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 8.989624863319634e-05, "Art & Design": 0.00010200164822741779, "Law & Crime": 0.0037748389968869913, "Education & Careers": 8.620168922845215e-05, "Entertainment & Media": 6.053298688456839e-05, "Fashion & Beauty": 5.566753922126091e-05, "Business, Economics & Finance": 0.0002710113955875634, "Food & Dining": 6.0808284420591725e-05, "Games & Gaming": 0.00010714707053228968, "Electronics & Hardware": 0.0007189601524854851, "Health, Healthcare & Wellness": 6.767096741234197e-05, "History & Geography": 0.000114006948689081, "Home, Pets & Hobbies": 7.423021549952716e-05, "Industry & Production": 0.00010918535975684017, "Language, Literature & Philosophy": 7.876365659621868e-05, "Politics & Government": 6.671913842769125e-05, "Religion & Spirituality": 5.9462319341664014e-05, "Science, Mathematics & Engineering": 0.0008489707157442068, "Relationships & Community": 3.1643267547187945e-05, "Software Usage & Applications": 0.014093972450140973, "Programming & Software Engineering": 0.9779588218728079, "Sports & Fitness": 9.086102722519974e-05, "Vehicles & Transportation": 4.183549063819869e-05, "Travel & Tourism": 8.495590969917949e-05, "Other / Uncovered Subject": 0.000725442575888726, "Unknown / Insufficient Content": 0.00022639207247726874}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0007923859577206199, "Art & Design": 0.0005320266522468371, "Law & Crime": 0.09367876667682483, "Education & Careers": 0.0005208315396368414, "Entertainment & Media": 0.0005324184939520387, "Fashion & Beauty": 0.00033757142214411854, "Business, Economics & Finance": 0.0013324979700861208, "Food & Dining": 0.0002581294793575452, "Games & Gaming": 0.0004368727929965484, "Electronics & Hardware": 0.002135659658143833, "Health, Healthcare & Wellness": 0.0003522412213466604, "History & Geography": 0.0004595688848123835, "Home, Pets & Hobbies": 0.0003448900674928041, "Industry & Production": 0.0003542019002250888, "Language, Literature & Philosophy": 0.00026218280019767046, "Politics & Government": 0.0007990562874909625, "Religion & Spirituality": 0.0004201925571358192, "Science, Mathematics & Engineering": 0.0014719084506112983, "Relationships & Community": 0.0001764448225292869, "Software Usage & Applications": 0.05804190177248125, "Programming & Software Engineering": 0.031831374340343215, "Sports & Fitness": 0.00031752572776261203, "Vehicles & Transportation": 0.000172190396414365, "Travel & Tourism": 0.00047041363353513243, "Other / Uncovered Subject": 0.001545093893603071, "NONE": 0.8024236526009091}}, "probability_diagnostics": {"primary": {"raw_sum": 0.9999999999999997, "mass_delta": -3.3306690738754696e-16, "missing_mass": 3.3306690738754696e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "tertiary": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "structured_records": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "procedural_steps": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "worked_solution": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "contextual_dialogue": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "content_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "noise_severity": {"raw_sum": 0.9999999999999998, "mass_delta": -2.220446049250313e-16, "missing_mass": 2.220446049250313e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "missing_content_severity": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "factual_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "pretraining_utility": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "math_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "code_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "reasoning_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "education_level": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "creative_writing_quality": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "primary_topic": {"raw_sum": 0.9999999999999998, "mass_delta": -2.220446049250313e-16, "missing_mass": 2.220446049250313e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}}, "usage": {"input_tokens": 9944, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 9944, "cached_share": null, "cache_discount_reported": null, "reported_cost_usd": null}, "response_metadata": {"model": "decision-models/baseten-mammoth-27b-latest"}, "scored_at_utc": "2026-10-25T18:35:09.315331+00:00", "scoring_key_slot": "primary", "dataset_uid": "f97cf29c-d9fd-480e-b005-9940519283bb", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "d9820cdf7d0a2a9542d274e5f8bd7f40736319095917edcd7600cece8ea4fad5", "source_metadata": {"uuid": "f97cf29c-d9fd-480e-b005-9940519283bb", "repo_name": "Kyligence/mdx-kylin", "relative_path": "semantic-mdx/semantic-server/src/test/resources/diagnosisDir/semantic-mdx/startup.sh", "category": "TOOL", "algo_rel_score": 0.9957430958747864, "quality_score": 3.6538875102996826, "source_meta": {"github_metadata": {"branch": "main", "commit_count": 3641, "repo_created_at": "2022-03-11T02:32:56.000Z", "is_fork": false, "is_org_owned": true, "forked_from": null, "stars": 22, "forks": 10, "issues": 14, "pull_requests": 0}, "file_meta": {"content_id": "89decf16a89a8eaa44bf5e8553a46474f3d64d16", "size_bytes": 4563, "file_timestamp": 1657606508, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "7ce68ad46a3abb8bb6448202e08b8ae59aba1404"}}, "parsed_source_meta": {"github_metadata": {"branch": "main", "commit_count": 3641, "repo_created_at": "2022-03-11T02:32:56.000Z", "is_fork": false, "is_org_owned": true, "forked_from": null, "stars": 22, "forks": 10, "issues": 14, "pull_requests": 0}, "file_meta": {"content_id": "89decf16a89a8eaa44bf5e8553a46474f3d64d16", "size_bytes": 4563, "file_timestamp": 1657606508, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "7ce68ad46a3abb8bb6448202e08b8ae59aba1404", "url": "https://github.com/Kyligence/mdx-kylin/blob/7ce68ad46a3abb8bb6448202e08b8ae59aba1404/semantic-mdx/semantic-server/src/test/resources/diagnosisDir/semantic-mdx/startup.sh"}, "gpt4o_tokens": 1385, "dataset_split": "shell", "probability_weighted_scores": {"content_quality": 0.6338782871717934, "noise_severity": 0.4984468322263975, "missing_content_severity": 0.008466454974907797, "factual_density": 3.176278751954879, "pretraining_utility": 0.2422784210849514, "math_density": 0.01078791493025328, "code_density": 3.7118742440262396, "reasoning_density": 0.7495003745620946, "education_level": 2.564063944385318, "creative_writing_quality": -0.23212622548949574}, "score_applicability": {"education_level": 0.998586889800335, "creative_writing_quality": 0.0006616046223626131}} {"source_group": "shell", "source": "openbmb/UltraData-Stack-v3-L2/shell", "domain": "github.com", "language": "shell", "url": "https://github.com/unappendixed/dotfiles/blob/b0b32bc43438f32c5b678b33e5df9693634b72c7/.zsh/completions/_restish", "id": "shell-0-15eaf6dcec33490f977c745bb5dd57e9", "text": "#compdef restish\n\n# zsh completion for restish -*- shell-script -*-\n\n__restish_debug()\n{\n local file=\"$BASH_COMP_DEBUG_FILE\"\n if [[ -n ${file} ]]; then\n echo \"$*\" >> \"${file}\"\n fi\n}\n\n_restish()\n{\n local shellCompDirectiveError=1\n local shellCompDirectiveNoSpace=2\n local shellCompDirectiveNoFileComp=4\n local shellCompDirectiveFilterFileExt=8\n local shellCompDirectiveFilterDirs=16\n\n local lastParam lastChar flagPrefix requestComp out directive comp lastComp noSpace\n local -a completions\n\n __restish_debug \"\\n========= starting completion logic ==========\"\n __restish_debug \"CURRENT: ${CURRENT}, words[*]: ${words[*]}\"\n\n # The user could have moved the cursor backwards on the command-line.\n # We need to trigger completion from the $CURRENT location, so we need\n # to truncate the command-line ($words) up to the $CURRENT location.\n # (We cannot use $CURSOR as its value does not work when a command is an alias.)\n words=(\"${=words[1,CURRENT]}\")\n __restish_debug \"Truncated words[*]: ${words[*]},\"\n\n lastParam=${words[-1]}\n lastChar=${lastParam[-1]}\n __restish_debug \"lastParam: ${lastParam}, lastChar: ${lastChar}\"\n\n # For zsh, when completing a flag with an = (e.g., restish -n=)\n # completions must be prefixed with the flag\n setopt local_options BASH_REMATCH\n if [[ \"${lastParam}\" =~ '-.*=' ]]; then\n # We are dealing with a flag with an =\n flagPrefix=\"-P ${BASH_REMATCH}\"\n fi\n\n # Prepare the command to obtain completions\n requestComp=\"${words[1]} __complete ${words[2,-1]}\"\n if [ \"${lastChar}\" = \"\" ]; then\n # If the last parameter is complete (there is a space following it)\n # We add an extra empty parameter so we can indicate this to the go completion code.\n __restish_debug \"Adding extra empty parameter\"\n requestComp=\"${requestComp} \\\"\\\"\"\n fi\n\n __restish_debug \"About to call: eval ${requestComp}\"\n\n # Use eval to handle any environment variables and such\n out=$(eval ${requestComp} 2>/dev/null)\n __restish_debug \"completion output: ${out}\"\n\n # Extract the directive integer following a : from the last line\n local lastLine\n while IFS='\\n' read -r line; do\n lastLine=${line}\n done < <(printf \"%s\\n\" \"${out[@]}\")\n __restish_debug \"last line: ${lastLine}\"\n\n if [ \"${lastLine[1]}\" = : ]; then\n directive=${lastLine[2,-1]}\n # Remove the directive including the : and the newline\n local suffix\n (( suffix=${#lastLine}+2))\n out=${out[1,-$suffix]}\n else\n # There is no directive specified. Leave $out as is.\n __restish_debug \"No directive found. Setting do default\"\n directive=0\n fi\n\n __restish_debug \"directive: ${directive}\"\n __restish_debug \"completions: ${out}\"\n __restish_debug \"flagPrefix: ${flagPrefix}\"\n\n if [ $((directive & shellCompDirectiveError)) -ne 0 ]; then\n __restish_debug \"Completion received error. Ignoring completions.\"\n return\n fi\n\n local activeHelpMarker=\"_activeHelp_ \"\n local endIndex=${#activeHelpMarker}\n local startIndex=$((${#activeHelpMarker}+1))\n local hasActiveHelp=0\n while IFS='\\n' read -r comp; do\n # Check if this is an activeHelp statement (i.e., prefixed with $activeHelpMarker)\n if [ \"${comp[1,$endIndex]}\" = \"$activeHelpMarker\" ];then\n __restish_debug \"ActiveHelp found: $comp\"\n comp=\"${comp[$startIndex,-1]}\"\n if [ -n \"$comp\" ]; then\n compadd -x \"${comp}\"\n __restish_debug \"ActiveHelp will need delimiter\"\n hasActiveHelp=1\n fi\n\n continue\n fi\n\n if [ -n \"$comp\" ]; then\n # If requested, completions are returned with a description.\n # The description is preceded by a TAB character.\n # For zsh's _describe, we need to use a : instead of a TAB.\n # We first need to escape any : as part of the completion itself.\n comp=${comp//:/\\\\:}\n\n local tab=\"$(printf '\\t')\"\n comp=${comp//$tab/:}\n\n __restish_debug \"Adding completion: ${comp}\"\n completions+=${comp}\n lastComp=$comp\n fi\n done < <(printf \"%s\\n\" \"${out[@]}\")\n\n # Add a delimiter after the activeHelp statements, but only if:\n # - there are completions following the activeHelp statements, or\n # - file completion will be performed (so there will be choices after the activeHelp)\n if [ $hasActiveHelp -eq 1 ]; then\n if [ ${#completions} -ne 0 ] || [ $((directive & shellCompDirectiveNoFileComp)) -eq 0 ]; then\n __restish_debug \"Adding activeHelp delimiter\"\n compadd -x \"--\"\n hasActiveHelp=0\n fi\n fi\n\n if [ $((directive & shellCompDirectiveNoSpace)) -ne 0 ]; then\n __restish_debug \"Activating nospace.\"\n noSpace=\"-S ''\"\n fi\n\n if [ $((directive & shellCompDirectiveFilterFileExt)) -ne 0 ]; then\n # File extension filtering\n local filteringCmd\n filteringCmd='_files'\n for filter in ${completions[@]}; do\n if [ ${filter[1]} != '*' ]; then\n # zsh requires a glob pattern to do file filtering\n filter=\"\\*.$filter\"\n fi\n filteringCmd+=\" -g $filter\"\n done\n filteringCmd+=\" ${flagPrefix}\"\n\n __restish_debug \"File filtering command: $filteringCmd\"\n _arguments '*:filename:'\"$filteringCmd\"\n elif [ $((directive & shellCompDirectiveFilterDirs)) -ne 0 ]; then\n # File completion for directories only\n local subdir\n subdir=\"${completions[1]}\"\n if [ -n \"$subdir\" ]; then\n __restish_debug \"Listing directories in $subdir\"\n pushd \"${subdir}\" >/dev/null 2>&1\n else\n __restish_debug \"Listing directories in .\"\n fi\n\n local result\n _arguments '*:dirname:_files -/'\" ${flagPrefix}\"\n result=$?\n if [ -n \"$subdir\" ]; then\n popd >/dev/null 2>&1\n fi\n return $result\n else\n __restish_debug \"Calling _describe\"\n if eval _describe \"completions\" completions $flagPrefix $noSpace; then\n __restish_debug \"_describe found some completions\"\n\n # Return the success of having called _describe\n return 0\n else\n __restish_debug \"_describe did not find completions.\"\n __restish_debug \"Checking if we should do file completion.\"\n if [ $((directive & shellCompDirectiveNoFileComp)) -ne 0 ]; then\n __restish_debug \"deactivating file completion\"\n\n # We must return an error code here to let zsh know that there were no\n # completions found by _describe; this is what will trigger other\n # matching algorithms to attempt to find completions.\n # For example zsh can match letters in the middle of words.\n return 1\n else\n # Perform file completion\n __restish_debug \"Activating file completion\"\n\n # We must return the result of this command, so it must be the\n # last command, or else we must store its result to return it.\n _arguments '*:filename:_files'\" ${flagPrefix}\"\n fi\n fi\n fi\n}\n\n# don't run the completion function when being source-ed or eval-ed\nif [ \"$funcstack[1]\" = \"_restish\" ]; then\n _restish\nfi\n", "text_preview": "#compdef restish # zsh completion for restish -*- shell-script -*- __restish_debug() { local file=\"$BASH_COMP_DEBUG_FILE\" if [[ -n ${file} ]]; then echo \"$*\" >> \"${file}\" fi } _restish() { local shellCompDirectiveError=1 local shellCompDire", "input_sha256": "8e9630786e1b2477768d941b07dfabc6daf3d5512a5e4d863db9f3ff988b439c", "text_sha256": "15eaf6dcec33490f977c745bb5dd57e9ab2b0f193f2e67d37021eadf0f4fdff0", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 20091, "input_policy": "text-and-optional-url-v1", "label_policy_version": 12, "requested_model": "decision-models/baseten-mammoth-27b-latest", "backend": "baseten", "endpoint": "https://inference.baseten.co/v1/systemone", "status": "ok", "training_eligible": true, "label": {"primary": {"main_format": "Technical Writing", "sub_format": null}, "secondary": null, "tertiary": null, "content_structure": []}, "candidate_label": null, "topic": {"primary": {"main_topic": "Programming & Software Engineering", "sub_topic": null}, "secondary": null}, "scores": {"content_quality": 1, "noise_severity": 0, "missing_content_severity": 0, "factual_density": 3, "pretraining_utility": 0, "math_density": 0, "code_density": 4, "reasoning_density": 0, "education_level": 2, "creative_writing_quality": null}, "score_expectations": {"content_quality": 1.1163637886732567, "noise_severity": 0.02933191116699646, "missing_content_severity": 0.0018349841920184146, "factual_density": 2.7981339950839583, "pretraining_utility": 0.1384993907005211, "math_density": 0.10344976043267079, "code_density": 3.8885502167456187, "reasoning_density": 0.8099333239282124, "education_level": 2.604062973222868, "creative_writing_quality": -0.2890604831492051}, "api_choices": {"primary": "Technical Writing", "secondary": "NONE", "tertiary": "NONE", "education_level": "2", "creative_writing_quality": "not_applicable", "primary_topic": "Programming & Software Engineering", "secondary_topic": "NONE"}, "review_reasons": [], "format_slot_diagnostics": {"comparable": true, "secondary_tertiary_identical": false, "secondary_tertiary_max_abs_gap": 0.0016182797687479497, "secondary_choice": "NONE", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.9949529153173383, "secondary": 0.9915649537088287, "tertiary": 0.9928421982909166, "structured_records": 0.00033639399785200777, "procedural_steps": 0.0031742636747612556, "worked_solution": 0.0013437970267421006, "contextual_dialogue": 4.830753289399453e-06, "content_quality": 0.5643574173702376, "noise_severity": 0.9755567406941696, "missing_content_severity": 0.9984708465066513, "factual_density": 0.3130094811352254, "pretraining_utility": 0.5210479793860967, "math_density": 0.9137918663061076, "code_density": 0.9071251806213491, "reasoning_density": 0.32505556339315644, "education_level": 0.38564360344308884, "creative_writing_quality": 0.9996447579261115, "primary_topic": 0.9730235157902091, "secondary_topic": 0.8738341456829305}, "probability_margin": {"primary": 0.9918258618103959, "secondary": 0.9864159221344607, "tertiary": 0.9892582279610429, "education_level": 0.10938089568230497, "creative_writing_quality": 0.9995800915521508, "primary_topic": 0.9500914831378192, "secondary_topic": 0.7933466868889552}, "raw_probabilities": {"primary": {"Academic Writing": 4.056916987641947e-05, "Content Listing": 2.8528137388985864e-05, "Creative Writing": 2.3463047642608895e-05, "Customer Support Page": 2.0216354421643422e-05, "Q&A Forum": 1.3138501718467323e-05, "Discussion Thread": 9.734279286704762e-06, "Comment Section": 1.8586748409463385e-05, "Missing Content": 3.945501355216362e-05, "Knowledge Article": 0.00014477335092249333, "Legal Notices": 9.114993353218504e-05, "News Article": 7.127893325199643e-06, "Organizational Announcement": 1.4311554951887855e-05, "Nonfiction Writing": 1.3019844301690907e-05, "Organizational About Page": 1.6418319952502725e-05, "Personal About Page": 2.1100447219690223e-05, "Personal Blog": 1.0735657554655296e-05, "Product Page": 1.1221067494582131e-05, "Spam / Ads": 1.3081776589773064e-05, "Structured Data": 0.00037149930364507763, "Technical Writing": 0.9951632105124493, "Transcript / Interview": 1.8171551828084817e-05, "Tutorial / How-To Guide": 0.0005627266314073523, "User Reviews": 1.0412200475706358e-05, "Other / Unknown": 0.0033373487020533854}, "secondary": {"Academic Writing": 6.265980684490935e-05, "Content Listing": 4.473126178758981e-05, "Creative Writing": 4.527224572713272e-05, "Customer Support Page": 4.337326321872557e-05, "Q&A Forum": 1.6070461206279334e-05, "Discussion Thread": 1.4267100441694544e-05, "Comment Section": 3.37843021483745e-05, "Missing Content": 9.816600784962179e-05, "Knowledge Article": 0.000447381105205462, "Legal Notices": 0.00020568336212838903, "News Article": 2.56902853471348e-05, "Organizational Announcement": 2.76234915280333e-05, "Nonfiction Writing": 2.0057075438222232e-05, "Organizational About Page": 3.059826644073335e-05, "Personal About Page": 2.859561714660201e-05, "Personal Blog": 1.9811383452175886e-05, "Product Page": 1.6941203395915977e-05, "Spam / Ads": 2.5254057477989198e-05, "Structured Data": 0.0005073598348172259, "Technical Writing": 0.005500491836500106, "Transcript / Interview": 2.962406663249611e-05, "Tutorial / How-To Guide": 0.0008255960051709821, "User Reviews": 1.4553989133310909e-05, "NONE": 0.9919164139709609}, "tertiary": {"Academic Writing": 4.599836656124608e-05, "Content Listing": 4.469760137745573e-05, "Creative Writing": 4.716347743761689e-05, "Customer Support Page": 3.5305928955092966e-05, "Q&A Forum": 1.5784789540321522e-05, "Discussion Thread": 1.2713140608599381e-05, "Comment Section": 3.6958188080275456e-05, "Missing Content": 0.00010170488296630847, "Knowledge Article": 0.00046828124527571784, "Legal Notices": 0.000535855861310251, "News Article": 2.8591258125003964e-05, "Organizational Announcement": 2.5772778400624417e-05, "Nonfiction Writing": 2.7387546208153462e-05, "Organizational About Page": 4.155843905850763e-05, "Personal About Page": 2.4722949906334433e-05, "Personal Blog": 2.2195594082101845e-05, "Product Page": 2.1109433902633716e-05, "Spam / Ads": 2.743674592763083e-05, "Structured Data": 0.0003920622085776975, "Technical Writing": 0.0038822120677521562, "Transcript / Interview": 2.679820964412479e-05, "Tutorial / How-To Guide": 0.000979046162710306, "User Reviews": 1.620309479679312e-05, "NONE": 0.9931404400287951}, "structured_records": {"false": 0.999663606002148, "true": 0.00033639399785200777}, "procedural_steps": {"false": 0.9968257363252387, "true": 0.0031742636747612556}, "worked_solution": {"false": 0.9986562029732579, "true": 0.0013437970267421006}, "contextual_dialogue": {"false": 0.9999951692467106, "true": 4.830753289399453e-06}, "content_quality": {"-2": 0.004615360369981562, "-1": 0.009228300222103863, "0": 0.17090097368707666, "1": 0.49568792180635196, "2": 0.3195674439144858}, "noise_severity": {"0": 0.9741654244255712, "1": 0.02341630721328983, "2": 0.0016498990844446364, "3": 0.00045767132196004146, "4": 0.00031069795473430813}, "missing_content_severity": {"0": 0.9991291808917127, "1": 0.00023745680970366448, "2": 0.0003863322428312618, "3": 0.0001632573263581266, "4": 8.377272939446178e-05}, "factual_density": {"0": 0.035842325293260396, "1": 0.09633840537374107, "2": 0.21292352714962245, "3": 0.3436344333225324, "4": 0.31126130886084374}, "pretraining_utility": {"-2": 0.01283793408317527, "-1": 0.19244564885173093, "0": 0.4804641889586087, "1": 0.27188354849436763, "2": 0.04236867961211748}, "math_density": {"0": 0.9106512288758977, "1": 0.08325530295627329, "2": 0.0017632266547848176, "3": 0.0006529618853487675, "4": 0.003677279627695389}, "code_density": {"0": 0.0003060905906353084, "1": 0.0006210467489809149, "2": 0.012239146971478019, "3": 0.08388398670194107, "4": 0.9029497289869647}, "reasoning_density": {"0": 0.6467293760655738, "1": 0.11245300741641506, "2": 0.09544154162904323, "3": 0.07490706630216042, "4": 0.07046900858680738}, "education_level": {"none": 0.0013937787791501455, "0": 0.0016770258302405271, "1": 0.010851727708600201, "2": 0.48803633620257403, "3": 0.37865544052026906, "4": 0.11938569095916604}, "creative_writing_quality": {"not_applicable": 0.9997039649384263, "-2": 4.812893566647167e-05, "-1": 6.479684177802093e-05, "0": 0.00012387338627549034, "1": 4.298912052404103e-05, "2": 1.624677732966413e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 5.632563471250101e-05, "Art & Design": 8.966981232136363e-05, "Law & Crime": 5.6245117849608816e-05, "Education & Careers": 4.437942666267599e-05, "Entertainment & Media": 3.752554215763334e-05, "Fashion & Beauty": 4.03196420725269e-05, "Business, Economics & Finance": 5.1621839126925455e-05, "Food & Dining": 3.28358142900692e-05, "Games & Gaming": 6.0747189342803466e-05, "Electronics & Hardware": 0.0002329949533139658, "Health, Healthcare & Wellness": 3.538000186329232e-05, "History & Geography": 5.40147537302271e-05, "Home, Pets & Hobbies": 4.840964743383506e-05, "Industry & Production": 4.21114878215414e-05, "Language, Literature & Philosophy": 7.860753120169179e-05, "Politics & Government": 2.9627337965776305e-05, "Religion & Spirituality": 3.885010482099279e-05, "Science, Mathematics & Engineering": 0.00011788993554647588, "Relationships & Community": 3.0556589269783166e-05, "Software Usage & Applications": 0.023969589737381874, "Programming & Software Engineering": 0.974061072875201, "Sports & Fitness": 6.555827358890935e-05, "Vehicles & Transportation": 2.7898053106854068e-05, "Travel & Tourism": 5.856285811745553e-05, "Other / Uncovered Subject": 0.00022991807517993112, "Unknown / Insufficient Content": 0.000409287765920242}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.00042513225999397486, "Art & Design": 0.0003234314334363657, "Law & Crime": 0.0003596727211163452, "Education & Careers": 0.00021365742023285146, "Entertainment & Media": 0.00025388724172928676, "Fashion & Beauty": 0.00017864936196401753, "Business, Economics & Finance": 0.00033756159190359705, "Food & Dining": 0.00015225079315321266, "Games & Gaming": 0.0002214645572241825, "Electronics & Hardware": 0.0005170517300435509, "Health, Healthcare & Wellness": 0.00017465305689237537, "History & Geography": 0.0002079600114290925, "Home, Pets & Hobbies": 0.0001723230441038002, "Industry & Production": 0.00014688815379794833, "Language, Literature & Philosophy": 0.00020049658094777788, "Politics & Government": 0.00016699995837126, "Religion & Spirituality": 0.00021066085094243494, "Science, Mathematics & Engineering": 0.000439928176891226, "Relationships & Community": 0.00013444846321862647, "Software Usage & Applications": 0.08533999165232423, "Programming & Software Engineering": 0.030200520304056514, "Sports & Fitness": 0.00016386073246307207, "Vehicles & Transportation": 8.310787985143878e-05, "Travel & Tourism": 0.00025302673565910823, "Other / Uncovered Subject": 0.00043569674697442324, "NONE": 0.8786866785412794}}, "probabilities": {"primary": {"Academic Writing": 4.056916987641947e-05, "Content Listing": 2.8528137388985864e-05, "Creative Writing": 2.3463047642608895e-05, "Customer Support Page": 2.0216354421643422e-05, "Q&A Forum": 1.3138501718467323e-05, "Discussion Thread": 9.734279286704762e-06, "Comment Section": 1.8586748409463385e-05, "Missing Content": 3.945501355216362e-05, "Knowledge Article": 0.00014477335092249333, "Legal Notices": 9.114993353218504e-05, "News Article": 7.127893325199643e-06, "Organizational Announcement": 1.4311554951887855e-05, "Nonfiction Writing": 1.3019844301690907e-05, "Organizational About Page": 1.6418319952502725e-05, "Personal About Page": 2.1100447219690223e-05, "Personal Blog": 1.0735657554655296e-05, "Product Page": 1.1221067494582131e-05, "Spam / Ads": 1.3081776589773064e-05, "Structured Data": 0.00037149930364507763, "Technical Writing": 0.9951632105124493, "Transcript / Interview": 1.8171551828084817e-05, "Tutorial / How-To Guide": 0.0005627266314073523, "User Reviews": 1.0412200475706358e-05, "Other / Unknown": 0.0033373487020533854}, "secondary": {"Academic Writing": 6.265980684490935e-05, "Content Listing": 4.473126178758981e-05, "Creative Writing": 4.527224572713272e-05, "Customer Support Page": 4.337326321872557e-05, "Q&A Forum": 1.6070461206279334e-05, "Discussion Thread": 1.4267100441694544e-05, "Comment Section": 3.37843021483745e-05, "Missing Content": 9.816600784962179e-05, "Knowledge Article": 0.000447381105205462, "Legal Notices": 0.00020568336212838903, "News Article": 2.56902853471348e-05, "Organizational Announcement": 2.76234915280333e-05, "Nonfiction Writing": 2.0057075438222232e-05, "Organizational About Page": 3.059826644073335e-05, "Personal About Page": 2.859561714660201e-05, "Personal Blog": 1.9811383452175886e-05, "Product Page": 1.6941203395915977e-05, "Spam / Ads": 2.5254057477989198e-05, "Structured Data": 0.0005073598348172259, "Technical Writing": 0.005500491836500106, "Transcript / Interview": 2.962406663249611e-05, "Tutorial / How-To Guide": 0.0008255960051709821, "User Reviews": 1.4553989133310909e-05, "NONE": 0.9919164139709609}, "tertiary": {"Academic Writing": 4.599836656124608e-05, "Content Listing": 4.469760137745573e-05, "Creative Writing": 4.716347743761689e-05, "Customer Support Page": 3.5305928955092966e-05, "Q&A Forum": 1.5784789540321522e-05, "Discussion Thread": 1.2713140608599381e-05, "Comment Section": 3.6958188080275456e-05, "Missing Content": 0.00010170488296630847, "Knowledge Article": 0.00046828124527571784, "Legal Notices": 0.000535855861310251, "News Article": 2.8591258125003964e-05, "Organizational Announcement": 2.5772778400624417e-05, "Nonfiction Writing": 2.7387546208153462e-05, "Organizational About Page": 4.155843905850763e-05, "Personal About Page": 2.4722949906334433e-05, "Personal Blog": 2.2195594082101845e-05, "Product Page": 2.1109433902633716e-05, "Spam / Ads": 2.743674592763083e-05, "Structured Data": 0.0003920622085776975, "Technical Writing": 0.0038822120677521562, "Transcript / Interview": 2.679820964412479e-05, "Tutorial / How-To Guide": 0.000979046162710306, "User Reviews": 1.620309479679312e-05, "NONE": 0.9931404400287951}, "structured_records": {"false": 0.999663606002148, "true": 0.00033639399785200777}, "procedural_steps": {"false": 0.9968257363252387, "true": 0.0031742636747612556}, "worked_solution": {"false": 0.9986562029732579, "true": 0.0013437970267421006}, "contextual_dialogue": {"false": 0.9999951692467106, "true": 4.830753289399453e-06}, "content_quality": {"-2": 0.0046153603699815625, "-1": 0.009228300222103865, "0": 0.17090097368707668, "1": 0.495687921806352, "2": 0.3195674439144859}, "noise_severity": {"0": 0.9741654244255712, "1": 0.02341630721328983, "2": 0.0016498990844446364, "3": 0.00045767132196004146, "4": 0.00031069795473430813}, "missing_content_severity": {"0": 0.9991291808917124, "1": 0.00023745680970366443, "2": 0.0003863322428312617, "3": 0.00016325732635812657, "4": 8.377272939446176e-05}, "factual_density": {"0": 0.035842325293260396, "1": 0.09633840537374107, "2": 0.21292352714962245, "3": 0.3436344333225324, "4": 0.31126130886084374}, "pretraining_utility": {"-2": 0.01283793408317527, "-1": 0.19244564885173093, "0": 0.4804641889586087, "1": 0.27188354849436763, "2": 0.04236867961211748}, "math_density": {"0": 0.9106512288758978, "1": 0.0832553029562733, "2": 0.0017632266547848178, "3": 0.0006529618853487676, "4": 0.0036772796276953895}, "code_density": {"0": 0.0003060905906353084, "1": 0.0006210467489809149, "2": 0.012239146971478019, "3": 0.08388398670194107, "4": 0.9029497289869647}, "reasoning_density": {"0": 0.6467293760655739, "1": 0.11245300741641508, "2": 0.09544154162904324, "3": 0.07490706630216043, "4": 0.0704690085868074}, "education_level": {"none": 0.0013937787791501455, "0": 0.0016770258302405271, "1": 0.010851727708600201, "2": 0.48803633620257403, "3": 0.37865544052026906, "4": 0.11938569095916604}, "creative_writing_quality": {"not_applicable": 0.9997039649384263, "-2": 4.812893566647167e-05, "-1": 6.479684177802093e-05, "0": 0.00012387338627549034, "1": 4.298912052404103e-05, "2": 1.624677732966413e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 5.632563471250101e-05, "Art & Design": 8.966981232136363e-05, "Law & Crime": 5.6245117849608816e-05, "Education & Careers": 4.437942666267599e-05, "Entertainment & Media": 3.752554215763334e-05, "Fashion & Beauty": 4.03196420725269e-05, "Business, Economics & Finance": 5.1621839126925455e-05, "Food & Dining": 3.28358142900692e-05, "Games & Gaming": 6.0747189342803466e-05, "Electronics & Hardware": 0.0002329949533139658, "Health, Healthcare & Wellness": 3.538000186329232e-05, "History & Geography": 5.40147537302271e-05, "Home, Pets & Hobbies": 4.840964743383506e-05, "Industry & Production": 4.21114878215414e-05, "Language, Literature & Philosophy": 7.860753120169179e-05, "Politics & Government": 2.9627337965776305e-05, "Religion & Spirituality": 3.885010482099279e-05, "Science, Mathematics & Engineering": 0.00011788993554647588, "Relationships & Community": 3.0556589269783166e-05, "Software Usage & Applications": 0.023969589737381874, "Programming & Software Engineering": 0.974061072875201, "Sports & Fitness": 6.555827358890935e-05, "Vehicles & Transportation": 2.7898053106854068e-05, "Travel & Tourism": 5.856285811745553e-05, "Other / Uncovered Subject": 0.00022991807517993112, "Unknown / Insufficient Content": 0.000409287765920242}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.00042513225999397486, "Art & Design": 0.0003234314334363657, "Law & Crime": 0.0003596727211163452, "Education & Careers": 0.00021365742023285146, "Entertainment & Media": 0.00025388724172928676, "Fashion & Beauty": 0.00017864936196401753, "Business, Economics & Finance": 0.00033756159190359705, "Food & Dining": 0.00015225079315321266, "Games & Gaming": 0.0002214645572241825, "Electronics & Hardware": 0.0005170517300435509, "Health, Healthcare & Wellness": 0.00017465305689237537, "History & Geography": 0.0002079600114290925, "Home, Pets & Hobbies": 0.0001723230441038002, "Industry & Production": 0.00014688815379794833, "Language, Literature & Philosophy": 0.00020049658094777788, "Politics & Government": 0.00016699995837126, "Religion & Spirituality": 0.00021066085094243494, "Science, Mathematics & Engineering": 0.000439928176891226, "Relationships & Community": 0.00013444846321862647, "Software Usage & Applications": 0.08533999165232423, "Programming & Software Engineering": 0.030200520304056514, "Sports & Fitness": 0.00016386073246307207, "Vehicles & Transportation": 8.310787985143878e-05, "Travel & Tourism": 0.00025302673565910823, "Other / Uncovered Subject": 0.00043569674697442324, "NONE": 0.8786866785412794}}, "probability_diagnostics": {"primary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "tertiary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "structured_records": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "procedural_steps": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "worked_solution": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "contextual_dialogue": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "content_quality": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "noise_severity": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "missing_content_severity": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "factual_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "pretraining_utility": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "math_density": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "code_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "reasoning_density": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "education_level": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "creative_writing_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "primary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}}, "usage": {"input_tokens": 10436, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 10436, "cached_share": null, "cache_discount_reported": null, "reported_cost_usd": null}, "response_metadata": {"model": "decision-models/baseten-mammoth-27b-latest"}, "scored_at_utc": "2026-10-25T18:35:10.095085+00:00", "scoring_key_slot": "primary", "dataset_uid": "d1823ad0-b282-40db-a1a9-35303926efcb", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "a2c8539badb3aa40b78224f755946132af0a0ffa698c4a9711ff08563b60da34", "source_metadata": {"uuid": "d1823ad0-b282-40db-a1a9-35303926efcb", "repo_name": "unappendixed/dotfiles", "relative_path": ".zsh/completions/_restish", "category": "TOOL", "algo_rel_score": 0.9770175218582153, "quality_score": 5.8253607749938965, "source_meta": {"github_metadata": {"branch": "ubuntu-desktop", "commit_count": 451, "repo_created_at": "2023-07-19T22:22:37.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 0, "forks": 0, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "87c990ad59fb7aa8493a1bef24c1cee0a359c7c8", "size_bytes": 7549, "file_timestamp": 1753205239, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "b0b32bc43438f32c5b678b33e5df9693634b72c7"}}, "parsed_source_meta": {"github_metadata": {"branch": "ubuntu-desktop", "commit_count": 451, "repo_created_at": "2023-07-19T22:22:37.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 0, "forks": 0, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "87c990ad59fb7aa8493a1bef24c1cee0a359c7c8", "size_bytes": 7549, "file_timestamp": 1753205239, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "b0b32bc43438f32c5b678b33e5df9693634b72c7", "url": "https://github.com/unappendixed/dotfiles/blob/b0b32bc43438f32c5b678b33e5df9693634b72c7/.zsh/completions/_restish"}, "gpt4o_tokens": 1854, "dataset_split": "shell", "probability_weighted_scores": {"content_quality": 1.1163637886732567, "noise_severity": 0.02933191116699646, "missing_content_severity": 0.0018349841920184146, "factual_density": 2.7981339950839583, "pretraining_utility": 0.1384993907005211, "math_density": 0.10344976043267079, "code_density": 3.8885502167456187, "reasoning_density": 0.8099333239282124, "education_level": 2.604062973222868, "creative_writing_quality": -0.2890604831492051}, "score_applicability": {"education_level": 0.9986062212208499, "creative_writing_quality": 0.0002960350615736881}} {"source_group": "shell", "source": "openbmb/UltraData-Stack-v3-L2/shell", "domain": "github.com", "language": "shell", "url": "https://github.com/espnet/espnet/blob/04f57dbc1d852531fd33e30f7e870eb163070c22/egs2/TEMPLATE/asr1/scripts/utils/enhance_dataset.sh", "id": "shell-0-dcbe66f76662df7dafd05d1d4a5b052c", "text": "#!/usr/bin/env bash\n\n# 2021 @wangyou-zhang\n# Copied from ./scripts/utils/perturb_data_dir_speed.sh\n# Modified for enhancing a dataset with a pretrained SE model\n\n# Copyright 2021 Shanghai Jiao Tong University (author: )\n# Apache 2.0\n\n# This script operates on a directory, such as in data/train/,\n# which contains the following files:\n# wav.scp\n# utt2spk\n#\n# It enhances the speech data with a specified (pretrained) SE model,\n# and generates the corresponding files pointing to the enahnced data.\n\n\n# Set bash to 'debug' mode, it will exit on :\n# -e 'error', -u 'undefined variable', -o ... 'error in pipeline', -x 'print commands',\nset -e\nset -u\nset -o pipefail\n\nlog() {\n local fname=${BASH_SOURCE[1]##*/}\n echo -e \"$(date '+%Y-%m-%dT%H:%M:%S') (${fname}:${BASH_LINENO[0]}:${FUNCNAME[1]}) $*\"\n}\nmin() {\n local a b\n a=$1\n for b in \"$@\"; do\n if [ \"${b}\" -le \"${a}\" ]; then\n a=\"${b}\"\n fi\n done\n echo \"${a}\"\n}\n\nexport LC_ALL=C\n\naudio_dir= # The output directory for storing enahnced audio files\nscp_files= # Additional scp files to be copied and converted\nspk_num=1 # Number of speakers in the input (>1 for separation)\ngpu_inference=false # Whether to perform gpu inference\ninference_nj=32 # The number of parallel jobs in inference\nfs=16k # Sampling rate\npython=python3 # Specify python to execute espnet commands\nid_prefix=\"enh-\" # prefix for utt ids and spk ids of enhanced samples\nenh_args=\"--normalize_output_wav true\"\n\n. utils/parse_options.sh\n. ./path.sh\n. ./cmd.sh\n\nhelp_message=$(cat << EOF\nUsage: enhance_dataset.sh \ne.g.:\n $0 dump/train_noisy data/train_noisy_enh '/path/to/model'\n\nArguments:\n : path to the data directory containing the original dataset\n : path to the data directory for storing the enhanced dataset\n : path to the pretrained speech enhancement model\n Note: \"train.yaml\" is assumed to be in the same directory as \n\nOptional:\n --audio_dir: specify the output directory for storing enhanced audios (default is '/wavs')\n --scp_files: specify additional scp files to be copied and converted (default is '${scp_files}')\n --spk_num: number of speakers in the input (>1 for separation, default=${spk_num})\n --gpu_inference: whether to use gpu for inference (default=${gpu_inference})\n --inference_nj: The number of parallel jobs in inference (default=${inference_nj})\n --fs: sampling rate (default=${fs})\n --python: specify python to execute espnet commands (default=${python})\n --id_prefix: specify the prefix to prepend to utt ids and spk ids (default=${id_prefix})\n --enh_args: additional arguments for espnet2/bin/enh_inference.py (default is '${enh_args}')\nEOF\n)\n\nlog \"$0 $*\"\n\nif [[ $# != 3 ]]; then\n log \"${help_message}\"\n exit 2\nfi\n\nsrcdir=$1\ndestdir=$2\nmodelfile=$3\n\n\nif [[ ! -f ${srcdir}/utt2spk ]]; then\n log \"$0: no such file ${srcdir}/utt2spk\"\n exit 1\nfi\n\nif [[ ${destdir} == \"${srcdir}\" ]]; then\n log \"$0: this script requires and to be different.\"\n exit 1\nfi\n\nif [[ ! -f \"${modelfile}\" ]]; then\n log \"$0: no such file ${modelfile}\"\n exit 1\nfi\nmodeldir=\"$(dirname ${modelfile})\"\nif [[ ! -f \"${modeldir}\"/config.yaml ]]; then\n log \"$0: no such file ${modeldir}/config.yaml\"\n exit 1\nfi\n\nif [[ -z \"${audio_dir}\" ]]; then\n audio_dir=\"${destdir}/wavs\"\nfi\n\nmkdir -p \"${destdir}\"\nmkdir -p \"${audio_dir}\"\n\n<\"${srcdir}\"/utt2spk awk -v p=\"${id_prefix}\" '{printf(\"%s %s%s\\n\", $1, p, $1);}' > \"${destdir}/utt_map\"\n<\"${srcdir}\"/spk2utt awk -v p=\"${id_prefix}\" '{printf(\"%s %s%s\\n\", $1, p, $1);}' > \"${destdir}/spk_map\"\nif [[ ! -f ${srcdir}/utt2uniq ]]; then\n <\"${srcdir}/utt2spk\" awk -v p=\"${id_prefix}\" '{printf(\"%s%s %s\\n\", p, $1, $1);}' > \"${destdir}/utt2uniq\"\nelse\n <\"${srcdir}/utt2uniq\" awk -v p=\"${id_prefix}\" '{printf(\"%s%s %s\\n\", p, $1, $2);}' > \"${destdir}/utt2uniq\"\nfi\n\n\n<\"${srcdir}\"/utt2spk utils/apply_map.pl -f 1 \"${destdir}\"/utt_map | \\\n utils/apply_map.pl -f 2 \"${destdir}\"/spk_map >\"${destdir}\"/utt2spk\n\nutils/utt2spk_to_spk2utt.pl <\"${destdir}\"/utt2spk >\"${destdir}\"/spk2utt\n\nfor scp_file in ${scp_files};do\n if [[ -f \"${srcdir}/${scp_files}\" ]]; then\n utils/apply_map.pl -f 1 \"${destdir}\"/utt_map <\"${srcdir}/${scp_file}\" >\"${destdir}/${scp_file}\"\n fi\ndone\n\nfor f in wav.scp text utt2lang; do\n if [[ -f ${srcdir}/${f} ]]; then\n utils/apply_map.pl -f 1 \"${destdir}\"/utt_map <\"${srcdir}\"/${f} >\"${destdir}\"/${f}\n fi\ndone\nif [[ -f ${srcdir}/spk2gender ]]; then\n utils/apply_map.pl -f 1 \"${destdir}\"/spk_map <\"${srcdir}\"/spk2gender >\"${destdir}\"/spk2gender\nfi\n\nrm \"${destdir}\"/spk_map \"${destdir}\"/utt_map 2>/dev/null\n\n\n# shellcheck disable=SC2154\nif ${gpu_inference}; then\n _cmd=${cuda_cmd}\n _ngpu=1\nelse\n _cmd=${decode_cmd}\n _ngpu=0\nfi\n\n_logdir=\"$(realpath ${audio_dir})\"\nmkdir -p \"${_logdir}\"\n\n\n# 1. Split the key file\nkey_file=${destdir}/wav.scp\nsplit_scps=\"\"\n_nj=$(min \"${inference_nj}\" \"$(<${key_file} wc -l)\")\nfor n in $(seq \"${_nj}\"); do\n split_scps+=\" ${_logdir}/keys.${n}.scp\"\ndone\n# shellcheck disable=SC2086\nutils/split_scp.pl \"${key_file}\" ${split_scps}\n\n# 2. Submit inference jobs\nlog \"Enhancement started... log: '${_logdir}/enhance_dataset.*.log'\"\n# shellcheck disable=SC2086\n# TODO(wangyou): support enhancement from enh_asr models after https://github.com/espnet/espnet/pull/3226 is merged\n${_cmd} --gpu \"${_ngpu}\" JOB=1:\"${_nj}\" \"${_logdir}\"/enhance_dataset.JOB.log \\\n ${python} -m espnet2.bin.enh_inference \\\n --ngpu \"${_ngpu}\" \\\n --fs \"${fs}\" \\\n --data_path_and_name_and_type \"${destdir}/wav.scp,speech_mix,sound\" \\\n --key_file \"${_logdir}\"/keys.JOB.scp \\\n --train_config \"${modeldir}\"/config.yaml \\\n --model_file \"${modelfile}\" \\\n --output_dir \"${_logdir}\"/output.JOB \\\n ${enh_args}\n\n_spk_list=\" \"\nfor i in $(seq ${spk_num}); do\n _spk_list+=\"spk${i} \"\ndone\n\n# 3. Concatenates the output files from each jobs\nfor spk in ${_spk_list}; do\n for i in $(seq \"${_nj}\"); do\n cat \"${_logdir}/output.${i}/${spk}.scp\"\n done | LC_ALL=C sort -k1 > \"${_logdir}/${spk}.scp\"\ndone\n\nif [[ ${spk_num} -gt 1 ]]; then\n # (speech separation) prepare a subdir for each speaker\n for spk in ${_spk_list}; do\n mkdir -p \"${destdir}/${spk}\"\n cp \"${_logdir}/${spk}.scp\" \"${destdir}/${spk}/wav.scp\"\n for f in utt2spk spk2utt utt2lang; do\n if [[ -f \"${destdir}/${f}\" ]]; then\n ln -s ../${f} \"${destdir}/${spk}/${f}\"\n fi\n done\n for f in text spk2gender; do\n if [[ -f \"${destdir}/${f}_${spk}\" ]]; then\n ln -s ../${f}_${spk} \"${destdir}/${spk}/${f}\"\n fi\n done\n utils/validate_data_dir.sh --no-feats --no-text \"${destdir}/${spk}\"\n done\n log \"$0: generated enhanced version of data in ${srcdir}, in ${destdir}/spk*\"\nelse\n # (speech enhancement) no subdir is needed\n cp \"${_logdir}/spk1.scp\" \"${destdir}/wav.scp\"\n log \"$0: generated enhanced version of data in ${srcdir}, in ${destdir}\"\n utils/validate_data_dir.sh --no-feats --no-text \"${destdir}\"\nfi\n", "text_preview": "#!/usr/bin/env bash # 2021 @wangyou-zhang # Copied from ./scripts/utils/perturb_data_dir_speed.sh # Modified for enhancing a dataset with a pretrained SE model # Copyright 2021 Shanghai Jiao Tong University (author: ) # Apache 2.0 # T", "input_sha256": "d673a5e8a03a674756f9b61c54c97767ed6a95fdae6f6b92b5fa4de3ad1716d8", "text_sha256": "dcbe66f76662df7dafd05d1d4a5b052caf873b2991aba3258a1d05b8167f4e67", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 20092, "input_policy": "text-and-optional-url-v1", "label_policy_version": 12, "requested_model": "decision-models/baseten-mammoth-27b-latest", "backend": "baseten", "endpoint": "https://inference.baseten.co/v1/systemone", "status": "ok", "training_eligible": true, "label": {"primary": {"main_format": "Technical Writing", "sub_format": null}, "secondary": null, "tertiary": null, "content_structure": []}, "candidate_label": null, "topic": {"primary": {"main_topic": "Programming & Software Engineering", "sub_topic": null}, "secondary": null}, "scores": {"content_quality": 1, "noise_severity": 0, "missing_content_severity": 0, "factual_density": 4, "pretraining_utility": 1, "math_density": 0, "code_density": 4, "reasoning_density": 0, "education_level": 3, "creative_writing_quality": null}, "score_expectations": {"content_quality": 0.89352827230825, "noise_severity": 0.07094215391338782, "missing_content_severity": 0.04958484443198978, "factual_density": 3.194345574724966, "pretraining_utility": 0.4914243544822652, "math_density": 0.09008457640846197, "code_density": 3.74993482165695, "reasoning_density": 0.5153298489970843, "education_level": 2.8023104693247314, "creative_writing_quality": -0.16180017503892224}, "api_choices": {"primary": "Technical Writing", "secondary": "NONE", "tertiary": "NONE", "education_level": "3", "creative_writing_quality": "not_applicable", "primary_topic": "Programming & Software Engineering", "secondary_topic": "NONE"}, "review_reasons": [], "format_slot_diagnostics": {"comparable": true, "secondary_tertiary_identical": false, "secondary_tertiary_max_abs_gap": 0.043475618340956146, "secondary_choice": "NONE", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.9654421110916368, "secondary": 0.43362069506266965, "tertiary": 0.4260411718238389, "structured_records": 0.008657664758732692, "procedural_steps": 0.5300987189122742, "worked_solution": 0.0059202495406512875, "contextual_dialogue": 5.833911978917973e-06, "content_quality": 0.50872440697251, "noise_severity": 0.9408815384055101, "missing_content_severity": 0.9586792963066751, "factual_density": 0.32862131227080504, "pretraining_utility": 0.4646872397585261, "math_density": 0.924929519659615, "code_density": 0.7916123513807917, "reasoning_density": 0.5705584591690964, "education_level": 0.4173102537106974, "creative_writing_quality": 0.9991855476037268, "primary_topic": 0.9410867839276137, "secondary_topic": 0.6401317577550623}, "probability_margin": {"primary": 0.9384499566669929, "secondary": 0.054646065653306486, "tertiary": 0.003906737541804206, "education_level": 0.18620819322245907, "creative_writing_quality": 0.9989672618173416, "primary_topic": 0.899694954954067, "secondary_topic": 0.4560528258748308}, "raw_probabilities": {"primary": {"Academic Writing": 0.00012844762385400699, "Content Listing": 0.00010020482897730681, "Creative Writing": 7.063747087725884e-05, "Customer Support Page": 0.00015507599614154793, "Q&A Forum": 5.9618958394433426e-05, "Discussion Thread": 4.3227655695187475e-05, "Comment Section": 7.61713149053197e-05, "Missing Content": 8.317375378895518e-05, "Knowledge Article": 0.00038861394657603956, "Legal Notices": 0.00021269870959028357, "News Article": 3.435753616474267e-05, "Organizational Announcement": 7.16923259987471e-05, "Nonfiction Writing": 5.3535055847094745e-05, "Organizational About Page": 7.411262412842881e-05, "Personal About Page": 4.931927486546302e-05, "Personal Blog": 3.567116824663399e-05, "Product Page": 4.1190076612508835e-05, "Spam / Ads": 5.7162194133478816e-05, "Structured Data": 0.00032853940209650093, "Technical Writing": 0.9668820231294852, "Transcript / Interview": 9.058576977415002e-05, "Tutorial / How-To Guide": 0.028432066462492266, "User Reviews": 3.3521284305351925e-05, "Other / Unknown": 0.0024983534370490723}, "secondary": {"Academic Writing": 0.0011269847883588402, "Content Listing": 0.0006710653283699066, "Creative Writing": 0.0006288094613991182, "Customer Support Page": 0.0012414259901672472, "Q&A Forum": 0.00044090764036767754, "Discussion Thread": 0.00037865054752552163, "Comment Section": 0.0006771549823593789, "Missing Content": 0.0010183367249500363, "Knowledge Article": 0.001983992688439055, "Legal Notices": 0.4025737671150853, "News Article": 0.0006177929474384156, "Organizational Announcement": 0.0007625425982744372, "Nonfiction Writing": 0.000640470592957093, "Organizational About Page": 0.0007690170748017696, "Personal About Page": 0.00042644383155563315, "Personal Blog": 0.0004206399809827331, "Product Page": 0.0004715394196470127, "Spam / Ads": 0.00047296034407520347, "Structured Data": 0.0008785051668344982, "Technical Writing": 0.05860025629307401, "Transcript / Interview": 0.0009937599102775561, "Tutorial / How-To Guide": 0.06664469378611051, "User Reviews": 0.00034045001855730793, "NONE": 0.4572198327683918}, "tertiary": {"Academic Writing": 0.0008393389032092426, "Content Listing": 0.0005202734411350593, "Creative Writing": 0.0006699120286645117, "Customer Support Page": 0.0017268387860790366, "Q&A Forum": 0.0003523111987925912, "Discussion Thread": 0.0003178265038649219, "Comment Section": 0.0005779958757759678, "Missing Content": 0.0007696740022180551, "Knowledge Article": 0.002019994165659998, "Legal Notices": 0.44604938545604145, "News Article": 0.00046255899606824, "Organizational Announcement": 0.0006171972014345178, "Nonfiction Writing": 0.0005354327922887276, "Organizational About Page": 0.0007099869764258042, "Personal About Page": 0.00035383703274792885, "Personal Blog": 0.0003008871920671969, "Product Page": 0.0004513571603464395, "Spam / Ads": 0.00039370154995322217, "Structured Data": 0.0007252738639069807, "Technical Writing": 0.03849759630383162, "Transcript / Interview": 0.0008069261112206561, "Tutorial / How-To Guide": 0.052074331270298445, "User Reviews": 0.0002712401901238382, "NONE": 0.44995612299784565}, "structured_records": {"false": 0.9913423352412674, "true": 0.008657664758732692}, "procedural_steps": {"false": 0.4699012810877258, "true": 0.5300987189122742}, "worked_solution": {"false": 0.9940797504593487, "true": 0.0059202495406512875}, "contextual_dialogue": {"false": 0.999994166088021, "true": 5.833911978917973e-06}, "content_quality": {"-2": 0.00780877764913891, "-1": 0.04695198883195527, "0": 0.23067090905104168, "1": 0.47303883249724515, "2": 0.241529491970619}, "noise_severity": {"0": 0.9346028026260846, "1": 0.06174181425761803, "2": 0.002322663690380244, "3": 0.0007758654286594655, "4": 0.0005568539972577259}, "missing_content_severity": {"0": 0.9562703904544732, "1": 0.03938163432005627, "2": 0.0032102206030103636, "3": 0.0007682495839283645, "4": 0.00036950503853192175}, "factual_density": {"0": 0.005299202126197856, "1": 0.020187661907876703, "2": 0.16286501273819404, "3": 0.39816460557022426, "4": 0.4134835176575071}, "pretraining_utility": {"-2": 0.009403362711592146, "-1": 0.08769797760172425, "0": 0.3718694355655268, "1": 0.4641293907351399, "2": 0.06689983338601689}, "math_density": {"0": 0.9309034055766298, "1": 0.058188676054063776, "2": 0.0047199601412506904, "3": 0.002295852840326818, "4": 0.003892105387729096}, "code_density": {"0": 0.00034984716088868944, "1": 0.0007244288342659415, "2": 0.017847446887072734, "3": 0.210797609422552, "4": 0.7702806676952206}, "reasoning_density": {"0": 0.7148980738745527, "1": 0.12086695203427329, "2": 0.11299642663934029, "3": 0.03648414612320455, "4": 0.014754401328629218}, "education_level": {"none": 0.0011247029838615343, "0": 0.0020632538112299566, "1": 0.005743407536544327, "2": 0.3282170182031221, "3": 0.5144252114255812, "4": 0.14842640603966087}, "creative_writing_quality": {"not_applicable": 0.9993212896697723, "-2": 5.66923354634537e-05, "-1": 0.00014939304416127026, "0": 0.00035402785243063067, "1": 8.423193148777128e-05, "2": 3.436516668443144e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 0.00011791940999101251, "Art & Design": 0.00020630098195460652, "Law & Crime": 0.0001231966367726404, "Education & Careers": 9.790155706062474e-05, "Entertainment & Media": 0.00030864568248604573, "Fashion & Beauty": 0.0001017006413737312, "Business, Economics & Finance": 0.0001238778372717769, "Food & Dining": 8.713903893935598e-05, "Games & Gaming": 0.00013625509948596564, "Electronics & Hardware": 0.0005606542677615438, "Health, Healthcare & Wellness": 0.00013258857515097911, "History & Geography": 0.0001289711986824015, "Home, Pets & Hobbies": 7.915790980274927e-05, "Industry & Production": 0.00012632315667731716, "Language, Literature & Philosophy": 0.0007070058812554784, "Politics & Government": 5.417137890080561e-05, "Religion & Spirituality": 0.0001087013668299389, "Science, Mathematics & Engineering": 0.04365772189940762, "Relationships & Community": 4.734652437542834e-05, "Software Usage & Applications": 0.006159823409121938, "Programming & Software Engineering": 0.9433526768534747, "Sports & Fitness": 0.00014032091788176857, "Vehicles & Transportation": 5.792705605208514e-05, "Travel & Tourism": 0.0001184485215677027, "Other / Uncovered Subject": 0.0031170653035537555, "Unknown / Insufficient Content": 0.0001481588941680235}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.001058169189220328, "Art & Design": 0.0008461184515605118, "Law & Crime": 0.002140719525790551, "Education & Careers": 0.0005513726840029653, "Entertainment & Media": 0.0018876367584272488, "Fashion & Beauty": 0.000402190732172702, "Business, Economics & Finance": 0.0007862475882779274, "Food & Dining": 0.0003166955479301934, "Games & Gaming": 0.00048254994460514587, "Electronics & Hardware": 0.004540936514466075, "Health, Healthcare & Wellness": 0.0006785836354414741, "History & Geography": 0.00046258042923258386, "Home, Pets & Hobbies": 0.00034072421987617216, "Industry & Production": 0.00042183387718446627, "Language, Literature & Philosophy": 0.0019438706782328257, "Politics & Government": 0.0003729804784810823, "Religion & Spirituality": 0.0005880265226576915, "Science, Mathematics & Engineering": 0.19792001812042131, "Relationships & Community": 0.00023371477243325656, "Software Usage & Applications": 0.029735790064766267, "Programming & Software Engineering": 0.09593422030777642, "Sports & Fitness": 0.000405982910499878, "Vehicles & Transportation": 0.0002061605778957371, "Travel & Tourism": 0.0005812517437071838, "Other / Uncovered Subject": 0.003188780729687916, "NONE": 0.6539728439952521}}, "probabilities": {"primary": {"Academic Writing": 0.00012844762385400699, "Content Listing": 0.00010020482897730681, "Creative Writing": 7.063747087725884e-05, "Customer Support Page": 0.00015507599614154793, "Q&A Forum": 5.9618958394433426e-05, "Discussion Thread": 4.3227655695187475e-05, "Comment Section": 7.61713149053197e-05, "Missing Content": 8.317375378895518e-05, "Knowledge Article": 0.00038861394657603956, "Legal Notices": 0.00021269870959028357, "News Article": 3.435753616474267e-05, "Organizational Announcement": 7.16923259987471e-05, "Nonfiction Writing": 5.3535055847094745e-05, "Organizational About Page": 7.411262412842881e-05, "Personal About Page": 4.931927486546302e-05, "Personal Blog": 3.567116824663399e-05, "Product Page": 4.1190076612508835e-05, "Spam / Ads": 5.7162194133478816e-05, "Structured Data": 0.00032853940209650093, "Technical Writing": 0.9668820231294852, "Transcript / Interview": 9.058576977415002e-05, "Tutorial / How-To Guide": 0.028432066462492266, "User Reviews": 3.3521284305351925e-05, "Other / Unknown": 0.0024983534370490723}, "secondary": {"Academic Writing": 0.0011269847883588402, "Content Listing": 0.0006710653283699066, "Creative Writing": 0.0006288094613991182, "Customer Support Page": 0.0012414259901672472, "Q&A Forum": 0.00044090764036767754, "Discussion Thread": 0.00037865054752552163, "Comment Section": 0.0006771549823593789, "Missing Content": 0.0010183367249500363, "Knowledge Article": 0.001983992688439055, "Legal Notices": 0.4025737671150853, "News Article": 0.0006177929474384156, "Organizational Announcement": 0.0007625425982744372, "Nonfiction Writing": 0.000640470592957093, "Organizational About Page": 0.0007690170748017696, "Personal About Page": 0.00042644383155563315, "Personal Blog": 0.0004206399809827331, "Product Page": 0.0004715394196470127, "Spam / Ads": 0.00047296034407520347, "Structured Data": 0.0008785051668344982, "Technical Writing": 0.05860025629307401, "Transcript / Interview": 0.0009937599102775561, "Tutorial / How-To Guide": 0.06664469378611051, "User Reviews": 0.00034045001855730793, "NONE": 0.4572198327683918}, "tertiary": {"Academic Writing": 0.0008393389032092426, "Content Listing": 0.0005202734411350593, "Creative Writing": 0.0006699120286645117, "Customer Support Page": 0.0017268387860790366, "Q&A Forum": 0.0003523111987925912, "Discussion Thread": 0.0003178265038649219, "Comment Section": 0.0005779958757759678, "Missing Content": 0.0007696740022180551, "Knowledge Article": 0.002019994165659998, "Legal Notices": 0.44604938545604145, "News Article": 0.00046255899606824, "Organizational Announcement": 0.0006171972014345178, "Nonfiction Writing": 0.0005354327922887276, "Organizational About Page": 0.0007099869764258042, "Personal About Page": 0.00035383703274792885, "Personal Blog": 0.0003008871920671969, "Product Page": 0.0004513571603464395, "Spam / Ads": 0.00039370154995322217, "Structured Data": 0.0007252738639069807, "Technical Writing": 0.03849759630383162, "Transcript / Interview": 0.0008069261112206561, "Tutorial / How-To Guide": 0.052074331270298445, "User Reviews": 0.0002712401901238382, "NONE": 0.44995612299784565}, "structured_records": {"false": 0.9913423352412674, "true": 0.008657664758732692}, "procedural_steps": {"false": 0.4699012810877258, "true": 0.5300987189122742}, "worked_solution": {"false": 0.9940797504593487, "true": 0.0059202495406512875}, "contextual_dialogue": {"false": 0.999994166088021, "true": 5.833911978917973e-06}, "content_quality": {"-2": 0.00780877764913891, "-1": 0.04695198883195527, "0": 0.23067090905104168, "1": 0.47303883249724515, "2": 0.241529491970619}, "noise_severity": {"0": 0.9346028026260846, "1": 0.06174181425761803, "2": 0.002322663690380244, "3": 0.0007758654286594655, "4": 0.0005568539972577259}, "missing_content_severity": {"0": 0.9562703904544732, "1": 0.03938163432005627, "2": 0.0032102206030103636, "3": 0.0007682495839283645, "4": 0.00036950503853192175}, "factual_density": {"0": 0.005299202126197856, "1": 0.020187661907876703, "2": 0.16286501273819404, "3": 0.39816460557022426, "4": 0.4134835176575071}, "pretraining_utility": {"-2": 0.009403362711592146, "-1": 0.08769797760172425, "0": 0.3718694355655268, "1": 0.4641293907351399, "2": 0.06689983338601689}, "math_density": {"0": 0.9309034055766295, "1": 0.05818867605406376, "2": 0.00471996014125069, "3": 0.0022958528403268174, "4": 0.0038921053877290952}, "code_density": {"0": 0.00034984716088868944, "1": 0.0007244288342659415, "2": 0.017847446887072734, "3": 0.210797609422552, "4": 0.7702806676952206}, "reasoning_density": {"0": 0.7148980738745527, "1": 0.12086695203427329, "2": 0.11299642663934029, "3": 0.03648414612320455, "4": 0.014754401328629218}, "education_level": {"none": 0.0011247029838615343, "0": 0.0020632538112299566, "1": 0.005743407536544327, "2": 0.3282170182031221, "3": 0.5144252114255812, "4": 0.14842640603966087}, "creative_writing_quality": {"not_applicable": 0.9993212896697724, "-2": 5.6692335463453706e-05, "-1": 0.0001493930441612703, "0": 0.0003540278524306307, "1": 8.423193148777129e-05, "2": 3.436516668443145e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 0.00011791940999101251, "Art & Design": 0.00020630098195460652, "Law & Crime": 0.0001231966367726404, "Education & Careers": 9.790155706062474e-05, "Entertainment & Media": 0.00030864568248604573, "Fashion & Beauty": 0.0001017006413737312, "Business, Economics & Finance": 0.0001238778372717769, "Food & Dining": 8.713903893935598e-05, "Games & Gaming": 0.00013625509948596564, "Electronics & Hardware": 0.0005606542677615438, "Health, Healthcare & Wellness": 0.00013258857515097911, "History & Geography": 0.0001289711986824015, "Home, Pets & Hobbies": 7.915790980274927e-05, "Industry & Production": 0.00012632315667731716, "Language, Literature & Philosophy": 0.0007070058812554784, "Politics & Government": 5.417137890080561e-05, "Religion & Spirituality": 0.0001087013668299389, "Science, Mathematics & Engineering": 0.04365772189940762, "Relationships & Community": 4.734652437542834e-05, "Software Usage & Applications": 0.006159823409121938, "Programming & Software Engineering": 0.9433526768534747, "Sports & Fitness": 0.00014032091788176857, "Vehicles & Transportation": 5.792705605208514e-05, "Travel & Tourism": 0.0001184485215677027, "Other / Uncovered Subject": 0.0031170653035537555, "Unknown / Insufficient Content": 0.0001481588941680235}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.001058169189220328, "Art & Design": 0.0008461184515605118, "Law & Crime": 0.002140719525790551, "Education & Careers": 0.0005513726840029653, "Entertainment & Media": 0.0018876367584272488, "Fashion & Beauty": 0.000402190732172702, "Business, Economics & Finance": 0.0007862475882779274, "Food & Dining": 0.0003166955479301934, "Games & Gaming": 0.00048254994460514587, "Electronics & Hardware": 0.004540936514466075, "Health, Healthcare & Wellness": 0.0006785836354414741, "History & Geography": 0.00046258042923258386, "Home, Pets & Hobbies": 0.00034072421987617216, "Industry & Production": 0.00042183387718446627, "Language, Literature & Philosophy": 0.0019438706782328257, "Politics & Government": 0.0003729804784810823, "Religion & Spirituality": 0.0005880265226576915, "Science, Mathematics & Engineering": 0.19792001812042131, "Relationships & Community": 0.00023371477243325656, "Software Usage & Applications": 0.029735790064766267, "Programming & Software Engineering": 0.09593422030777642, "Sports & Fitness": 0.000405982910499878, "Vehicles & Transportation": 0.0002061605778957371, "Travel & Tourism": 0.0005812517437071838, "Other / Uncovered Subject": 0.003188780729687916, "NONE": 0.6539728439952521}}, "probability_diagnostics": {"primary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "tertiary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "structured_records": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "procedural_steps": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "worked_solution": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "contextual_dialogue": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "content_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "noise_severity": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "missing_content_severity": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "factual_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "pretraining_utility": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "math_density": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "code_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "reasoning_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "education_level": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "creative_writing_quality": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "primary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}}, "usage": {"input_tokens": 10925, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 10925, "cached_share": null, "cache_discount_reported": null, "reported_cost_usd": null}, "response_metadata": {"model": "decision-models/baseten-mammoth-27b-latest"}, "scored_at_utc": "2026-10-25T18:35:10.587535+00:00", "scoring_key_slot": "assistant_1", "dataset_uid": "5ab3727e-618b-4336-b4a3-618e21589337", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "c18076e3c622eae7a821fbd58a12cf2d10eeea804d12dda093b0aa4d08b2442c", "source_metadata": {"uuid": "5ab3727e-618b-4336-b4a3-618e21589337", "repo_name": "espnet/espnet", "relative_path": "egs2/TEMPLATE/asr1/scripts/utils/enhance_dataset.sh", "category": "TOOL", "algo_rel_score": 0.9340294599533081, "quality_score": 4.624930381774902, "source_meta": {"github_metadata": {"branch": "master", "commit_count": 23330, "repo_created_at": "2017-12-13T00:45:11.000Z", "is_fork": false, "is_org_owned": true, "forked_from": null, "stars": 9295, "forks": 2301, "issues": 100, "pull_requests": 65}, "file_meta": {"content_id": "1fc5468c1d559ff3dd0b1ed7061a858abc6c4b2d", "size_bytes": 7227, "file_timestamp": 1752789562, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "04f57dbc1d852531fd33e30f7e870eb163070c22"}}, "parsed_source_meta": {"github_metadata": {"branch": "master", "commit_count": 23330, "repo_created_at": "2017-12-13T00:45:11.000Z", "is_fork": false, "is_org_owned": true, "forked_from": null, "stars": 9295, "forks": 2301, "issues": 100, "pull_requests": 65}, "file_meta": {"content_id": "1fc5468c1d559ff3dd0b1ed7061a858abc6c4b2d", "size_bytes": 7227, "file_timestamp": 1752789562, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "04f57dbc1d852531fd33e30f7e870eb163070c22", "url": "https://github.com/espnet/espnet/blob/04f57dbc1d852531fd33e30f7e870eb163070c22/egs2/TEMPLATE/asr1/scripts/utils/enhance_dataset.sh"}, "gpt4o_tokens": 2288, "dataset_split": "shell", "probability_weighted_scores": {"content_quality": 0.89352827230825, "noise_severity": 0.07094215391338782, "missing_content_severity": 0.04958484443198978, "factual_density": 3.194345574724966, "pretraining_utility": 0.4914243544822652, "math_density": 0.09008457640846199, "code_density": 3.74993482165695, "reasoning_density": 0.5153298489970843, "education_level": 2.8023104693247314, "creative_writing_quality": -0.16180017503892224}, "score_applicability": {"education_level": 0.9988752970161384, "creative_writing_quality": 0.0006787103302275574}} {"source_group": "shell", "source": "openbmb/UltraData-Stack-v3-L2/shell", "domain": "github.com", "language": "shell", "url": "https://github.com/andrewlunde/cloud-management-batch/blob/e3c687d9369bec673229f72af191894faf40c553/tools/orgs_sapcp_delete", "id": "shell-0-9b5f88db33c9c4f2606cedc3150cff25", "text": "#!/bin/bash\n#do_run=1 # Execute(evaluate) the commands\ndo_run=0 # Don't evaluate any commands\ndo_sapcp_stuff=1\ndo_perm_stuff=1\ndo_cf_stuff=1\nforce=$2\nif [ \"$#\" -eq 2 ]; then\n if [ $force == \"-f\" ]; then\n do_run=1\n echo \"\"\n echo \"Forcing command execution\"\n echo \"\"\n fi\nfi\n\norgcnt=0\nSTART=\"$(date +%s)\"\n\nwhile read orgspace\ndo\n\nfirst=1\nIFS=':' # colon (:) is set as delimiter\nread -ra ADDR <<< \"$orgspace\" # str is read into an array as tokens separated by IFS\nfor i in \"${ADDR[@]}\"; do # access each element of array\n #echo \"$i\"\n #echo $first\n if [ $first -eq 1 ]; then\n\t first=0\n\t org=$i\n else\n\t first=1\n\t space=$i\n fi\ndone\nIFS=' ' # reset to default value after usage\n\n\nif [ $do_cf_stuff -eq 1 ]; then \n\ncmd='cf target -o '$org' -s '$space\necho $cmd\nif [ $do_run -eq 1 ]; then eval $cmd; fi\n\necho Undeploying from $org $space\n\ncf undeploy acc -f --delete-services\n\nfi\n\nif [ $do_perm_stuff -eq 1 ]; then \n\nhanacloudspaceguid=\"d096c374-91ef-4e57-aef6-8088384b9bc0\"\nhanaclouddbinstguid=\"ffa845c4-c70e-4774-ba37-c0a6fdf16850\"\n\necho \"Removing HANA Instance Sharing permissions\"\n\ncmd='lastmappingid=$(curl https://hana-cockpit.cfapps.us21.hana.ondemand.com/hana-inventory/sap/hana/cloud/inventory/api/v1/spaces/'$hanacloudspaceguid'/hana/'$hanaclouddbinstguid'/mappings -x localhost:8080 --silent --location --insecure --request GET --header '\"'\"'Accept: application/json'\"'\"' | jq '\"'\"'.mappings[] | select(.organization_name == \"'$org'\") | .id'\"'\"' | tr -ds '\"'\"'\"'\"'\"' '\"'\"''\"'\"')'\necho $cmd\nif [ $do_run -eq 1 ]; then eval $cmd; fi\n\ncmd='lastorgid=$(curl https://hana-cockpit.cfapps.us21.hana.ondemand.com/hana-inventory/sap/hana/cloud/inventory/api/v1/spaces/'$hanacloudspaceguid'/hana/'$hanaclouddbinstguid'/mappings -x localhost:8080 --silent --location --insecure --request GET --header '\"'\"'Accept: application/json'\"'\"' | jq '\"'\"'.mappings[] | select(.organization_name == \"'$org'\") | .organization_guid'\"'\"' | tr -ds '\"'\"'\"'\"'\"' '\"'\"''\"'\"')'\necho $cmd\nif [ $do_run -eq 1 ]; then eval $cmd; fi\n\ncmd='lastspaceid=$(curl https://hana-cockpit.cfapps.us21.hana.ondemand.com/hana-inventory/sap/hana/cloud/inventory/api/v1/spaces/'$hanacloudspaceguid'/hana/'$hanaclouddbinstguid'/mappings -x localhost:8080 --silent --location --insecure --request GET --header '\"'\"'Accept: application/json'\"'\"' | jq '\"'\"'.mappings[] | select(.organization_name == \"'$org'\") | .space_guid'\"'\"' | tr -ds '\"'\"'\"'\"'\"' '\"'\"''\"'\"')'\necho $cmd\nif [ $do_run -eq 1 ]; then eval $cmd; fi\n\n#cmd='lastguid=$(curl $accountsurlcen/accounts/v1/subaccounts --silent --location --insecure --request POST --header '\"'\"'Content-Type: application/json'\"'\"' --header '\"'\"'Accept: application/json'\"'\"' --header '\"'\"'Authorization: Bearer '\"'\"'$bearercen --data-raw '\"'\"'{\"betaEnabled\": true, \"customProperties\": [ { \"key\": \"creator\", \"value\": \"'$sapcpuser'\" } ], \"description\": \"Subaccount created via API\", \"displayName\": \"'$org'\", \"parentGUID\": \"'\"'\"'$globalacctguid'\"'\"'\", \"region\": \"us21\", \"subaccountAdmins\": [ \"\" ], \"subdomain\": \"viaapi'$orgcnt'\", \"usedForProductionSetting\": \"USED_FOR_PRODUCTION\"}'\"'\"' | jq .guid | tr -ds '\"'\"'\"'\"'\"' '\"'\"''\"'\"')'\ncmd='delmappingresult=$(curl https://hana-cockpit.cfapps.us21.hana.ondemand.com/hana-inventory/sap/hana/cloud/inventory/api/v1/organizations/'$lastorgid'/spaces/'$lastspaceid'/hana/'$hanaclouddbinstguid'/mappings/'$hanacloudspaceguid' -x localhost:8080 --silent --location --insecure --request DELETE --header '\"'\"'Content-Type: application/json'\"'\"')'\necho $cmd\nif [ $do_run -eq 1 ]; then eval $cmd; fi\n\nfi\n\nif [ $do_sapcp_stuff -eq 1 ]; then \n\necho \"Getting SubAccount : $org \"\n# sapcp --format json list accounts/subaccount --global-account partner-eng | jq '.value[] | select(.displayName == \"PEAHCM\") | .subdomain' | tr -ds '\"' ''\nlastsubguid=$(sapcp --format json list accounts/subaccount --global-account partner-eng | jq '.value[] | select(.displayName == \"'$org'\") | .guid' | tr -ds '\"' '')\n\n# De-entitle\nsapcp --format json assign accounts/entitlement --global-account partner-eng --to-subaccount $lastsubguid --for-service hana --plan schema\n\nsapcp --format json assign accounts/entitlement --global-account partner-eng --to-subaccount $lastsubguid --for-service APPLICATION_RUNTIME --plan MEMORY --amount 0\n\n# Disable CloudFoundry\n\ncmd='lastenvguid=$(sapcp --format json list accounts/environment-instance --subaccount '$lastsubguid' | jq '\"'\"'.environmentInstances[] | select(.environmentType == \"cloudfoundry\") | .id'\"'\"' | tr -ds '\"'\"'\"'\"'\"' '\"'\"''\"'\"')'\necho $cmd\nif [ $do_run -eq 1 ]; then eval $cmd; fi\necho \"\"\n\ncmd='status=$(sapcp --format json delete accounts/environment-instance '$lastenvguid' --subaccount '$lastsubguid' --confirm | jq '\"'\"'.status'\"'\"' | tr -ds '\"'\"'\"'\"'\"' '\"'\"''\"'\"')'\necho $cmd\nif [ $do_run -eq 1 ]; then eval $cmd; fi\necho \"\"\n\nif [ $do_run -eq 1 ]; then \n status=INIT\n while [ $status != \"Processed\" ] && [ $lastenvguid != \"null\" ]; do\n echo \"Status is \"$status\n sleep 2\n status=$(sapcp --format json get accounts/environment-instance $lastenvguid --subaccount $lastsubguid | jq .status | tr -ds '\"' '')\n done\nfi\n\n\n\necho \"Deleting SubAccount : $org \"\n\n#lastsubguid=$(sapcp --format json list accounts/subaccount --global-account partner-eng | jq '.value[] | select(.displayName == \"PEAHCM\") | .guid' | tr -ds '\"' ''\n\ncmd='delsubguid=$(sapcp --format json delete accounts/subaccount '$lastsubguid' --global-account partner-eng --confirm | jq .guid | tr -ds '\"'\"'\"'\"'\"' '\"'\"''\"'\"')'\necho $cmd\nif [ $do_run -eq 1 ]; then eval $cmd; fi\necho \"\"\n\necho \"Deleting Subaccount = \"$delsubguid\n\nif [ $do_run -eq 1 ]; then \n state=INIT\n while [ $state != \"null\" ] && [ $delsubguid != \"null\" ]; do\n echo \"State is \"$state\n sleep 2\n state=$(sapcp --format json get accounts/subaccount $lastsubguid | jq .state | tr -ds '\"' '')\n done\nfi\n\nfi\n\n((orgcnt++))\n\ndone < $1\n\nDURATION=$[ $(date +%s) - ${START} ]\n\necho $orgcnt orgs processed in ${DURATION} seconds = $(( ${DURATION} / $orgcnt )) secs/org", "text_preview": "#!/bin/bash #do_run=1 # Execute(evaluate) the commands do_run=0 # Don't evaluate any commands do_sapcp_stuff=1 do_perm_stuff=1 do_cf_stuff=1 force=$2 if [ \"$#\" -eq 2 ]; then if [ $force == \"-f\" ]; then do_run=1 echo \"\" echo \"Forcing command", "input_sha256": "db0aaaf2b4414cb4c672f82545d8f67ab44fc017cda2100e99231f3ea868a1e6", "text_sha256": "9b5f88db33c9c4f2606cedc3150cff253328783b825eda4ade3cc17f26ba7695", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 20093, "input_policy": "text-and-optional-url-v1", "label_policy_version": 12, "requested_model": "decision-models/baseten-mammoth-27b-latest", "backend": "baseten", "endpoint": "https://inference.baseten.co/v1/systemone", "status": "ok", "training_eligible": true, "label": {"primary": {"main_format": "Technical Writing", "sub_format": null}, "secondary": null, "tertiary": null, "content_structure": []}, "candidate_label": null, "topic": {"primary": {"main_topic": "Programming & Software Engineering", "sub_topic": null}, "secondary": null}, "scores": {"content_quality": 0, "noise_severity": 0, "missing_content_severity": 0, "factual_density": 3, "pretraining_utility": 0, "math_density": 0, "code_density": 4, "reasoning_density": 0, "education_level": 3, "creative_writing_quality": null}, "score_expectations": {"content_quality": 0.26664177761612207, "noise_severity": 0.06327220112914858, "missing_content_severity": 0.014507933663937187, "factual_density": 2.9511062843478135, "pretraining_utility": 0.2330370391524731, "math_density": 0.42114389772882566, "code_density": 3.908389846478757, "reasoning_density": 0.41060933938099226, "education_level": 2.9391465335021394, "creative_writing_quality": -0.40950761700243066}, "api_choices": {"primary": "Technical Writing", "secondary": "NONE", "tertiary": "NONE", "education_level": "3", "creative_writing_quality": "not_applicable", "primary_topic": "Programming & Software Engineering", "secondary_topic": "NONE"}, "review_reasons": [], "format_slot_diagnostics": {"comparable": true, "secondary_tertiary_identical": false, "secondary_tertiary_max_abs_gap": 0.008668230399430654, "secondary_choice": "NONE", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.9842077823857653, "secondary": 0.9512444849689012, "tertiary": 0.9602895949509157, "structured_records": 0.0054139101549877415, "procedural_steps": 0.11956566747660473, "worked_solution": 0.002516920156632012, "contextual_dialogue": 7.696025231064542e-06, "content_quality": 0.35879214796865055, "noise_severity": 0.9472731657257095, "missing_content_severity": 0.9879100552800524, "factual_density": 0.37103121742411616, "pretraining_utility": 0.4727113077255697, "math_density": 0.6490467518926453, "code_density": 0.9236582053989641, "reasoning_density": 0.6578255505158397, "education_level": 0.5215148285975679, "creative_writing_quality": 0.9995175036566026, "primary_topic": 0.9792096649041296, "secondary_topic": 0.7948003109120654}, "probability_margin": {"primary": 0.9748944249412895, "secondary": 0.9304561454288532, "tertiary": 0.9428396686593267, "education_level": 0.3816285193974517, "creative_writing_quality": 0.9994427069196318, "primary_topic": 0.9639182103681991, "secondary_topic": 0.6705524417093622}, "raw_probabilities": {"primary": {"Academic Writing": 6.531509512386996e-05, "Content Listing": 5.4969204471032575e-05, "Creative Writing": 4.79390028281336e-05, "Customer Support Page": 3.397217805373929e-05, "Q&A Forum": 3.536364918077288e-05, "Discussion Thread": 2.5627226448742035e-05, "Comment Section": 4.778169373289599e-05, "Missing Content": 6.181373539602836e-05, "Knowledge Article": 0.0002063580664721909, "Legal Notices": 7.157186143027279e-05, "News Article": 1.666434088963585e-05, "Organizational Announcement": 3.072883703252872e-05, "Nonfiction Writing": 3.420822285307334e-05, "Organizational About Page": 3.948901943674756e-05, "Personal About Page": 3.4007056617662146e-05, "Personal Blog": 2.1941921880720676e-05, "Product Page": 2.2600273280457177e-05, "Spam / Ads": 3.4767989082267614e-05, "Structured Data": 0.0007022228697235423, "Technical Writing": 0.9848657914530251, "Transcript / Interview": 4.948500116910707e-05, "Tutorial / How-To Guide": 0.009971366511735547, "User Reviews": 1.999299469283775e-05, "Other / Unknown": 0.0035060217954430008}, "secondary": {"Academic Writing": 0.00019638837388601178, "Content Listing": 0.00012470050608671086, "Creative Writing": 0.0001505007461848033, "Customer Support Page": 0.00010817762181645362, "Q&A Forum": 7.773431606580845e-05, "Discussion Thread": 5.8601947559006685e-05, "Comment Section": 0.00021622890232911906, "Missing Content": 0.00025075039017143216, "Knowledge Article": 0.00045571395629602474, "Legal Notices": 0.00017530391480833314, "News Article": 9.005461595136949e-05, "Organizational Announcement": 8.516074191336602e-05, "Nonfiction Writing": 8.109044075311902e-05, "Organizational About Page": 9.778888596011863e-05, "Personal About Page": 8.84528893802899e-05, "Personal Blog": 7.423861306317479e-05, "Product Page": 5.7153719454290705e-05, "Spam / Ads": 8.340398520428674e-05, "Structured Data": 0.001640096265396678, "Technical Writing": 0.019627239421073233, "Transcript / Interview": 0.00011763176421400433, "Tutorial / How-To Guide": 0.02281981933301046, "User Reviews": 4.78038875582206e-05, "NONE": 0.9532759647618637}, "tertiary": {"Academic Writing": 0.0001388252395920345, "Content Listing": 0.00010875095657595239, "Creative Writing": 0.00010314264621423738, "Customer Support Page": 0.00010087174866469568, "Q&A Forum": 5.159764222428735e-05, "Discussion Thread": 4.022943451748258e-05, "Comment Section": 0.00030559850769995507, "Missing Content": 0.00034404268400161633, "Knowledge Article": 0.000787113837948677, "Legal Notices": 0.0002932443467980073, "News Article": 6.695579837709787e-05, "Organizational Announcement": 6.571945621043287e-05, "Nonfiction Writing": 7.786454465238303e-05, "Organizational About Page": 9.17300135935967e-05, "Personal About Page": 6.618129362037114e-05, "Personal Blog": 5.8098162910171056e-05, "Product Page": 4.909211691757457e-05, "Spam / Ads": 7.417543115614802e-05, "Structured Data": 0.0018540499096325125, "Technical Writing": 0.014139770909078836, "Transcript / Interview": 9.859643887504151e-05, "Tutorial / How-To Guide": 0.019104526501967582, "User Reviews": 3.5627217476967956e-05, "NONE": 0.9619441951612943}, "structured_records": {"false": 0.9945860898450123, "true": 0.0054139101549877415}, "procedural_steps": {"false": 0.8804343325233953, "true": 0.11956566747660473}, "worked_solution": {"false": 0.997483079843368, "true": 0.002516920156632012}, "contextual_dialogue": {"false": 0.9999923039747689, "true": 7.696025231064542e-06}, "content_quality": {"-2": 0.038941836986577084, "-1": 0.17352014843759445, "0": 0.36725633758004594, "1": 0.32251775396469434, "2": 0.09776392303108818}, "noise_severity": {"0": 0.9496746194935858, "1": 0.04032198353161536, "2": 0.007708005626861624, "3": 0.001647359047938587, "4": 0.0006480322999985506}, "missing_content_severity": {"0": 0.9886580424535962, "1": 0.009026453864103862, "2": 0.0016454297725063546, "3": 0.000489675384353553, "4": 0.00018039852543998958}, "factual_density": {"0": 0.025497051929219885, "1": 0.07279175370912011, "2": 0.17975346416572366, "3": 0.36902331847649933, "4": 0.352934411719437}, "pretraining_utility": {"-2": 0.017414672969239164, "-1": 0.16502534984994333, "0": 0.43380022672989177, "1": 0.33462776596095667, "2": 0.049131984489969034}, "math_density": {"0": 0.6400277901711616, "1": 0.3281874073937996, "2": 0.014479422797734537, "3": 0.005223873809660421, "4": 0.012081505827643935}, "code_density": {"0": 0.0001548857147241659, "1": 0.0003306196931528377, "2": 0.0066491403885512515, "3": 0.07670047080578529, "4": 0.9161648833977865}, "reasoning_density": {"0": 0.8058879116071361, "1": 0.05614006565523012, "2": 0.08166111526702444, "3": 0.034096586690724684, "4": 0.022214320779884826}, "education_level": {"none": 0.0010985315406127176, "0": 0.0016244915824338594, "1": 0.004220028825397585, "2": 0.21963383776718828, "3": 0.6012623571646399, "4": 0.1721607531197276}, "creative_writing_quality": {"not_applicable": 0.9995979197138355, "-2": 7.845427915224715e-05, "-1": 9.824453853514378e-05, "0": 0.0001552127942037684, "1": 4.9839191538018426e-05, "2": 2.0329482735361834e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 4.2145729958780626e-05, "Art & Design": 6.347976753182792e-05, "Law & Crime": 4.778748342611231e-05, "Education & Careers": 4.5604962828474114e-05, "Entertainment & Media": 3.158183276944875e-05, "Fashion & Beauty": 2.8640487556562154e-05, "Business, Economics & Finance": 0.0017733907625503366, "Food & Dining": 3.677095823320141e-05, "Games & Gaming": 4.886864567000242e-05, "Electronics & Hardware": 0.0003247689858725546, "Health, Healthcare & Wellness": 3.66624094613202e-05, "History & Geography": 4.639721453575593e-05, "Home, Pets & Hobbies": 3.163235221271011e-05, "Industry & Production": 8.12092440335734e-05, "Language, Literature & Philosophy": 4.5124185285626255e-05, "Politics & Government": 3.388730481716267e-05, "Religion & Spirituality": 3.776658010926641e-05, "Science, Mathematics & Engineering": 0.00018022609036086985, "Relationships & Community": 3.548670920082818e-05, "Software Usage & Applications": 0.01609108280884864, "Programming & Software Engineering": 0.9800092931770478, "Sports & Fitness": 4.885315203984768e-05, "Vehicles & Transportation": 2.2984435830589082e-05, "Travel & Tourism": 4.0916102646263064e-05, "Other / Uncovered Subject": 0.0007263399100761786, "Unknown / Insufficient Content": 8.909870709648813e-05}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0004896460666766237, "Art & Design": 0.0003868946527173463, "Law & Crime": 0.0006615835010335936, "Education & Careers": 0.0003179894958601398, "Entertainment & Media": 0.0004214910709653507, "Fashion & Beauty": 0.0002668492512160924, "Business, Economics & Finance": 0.011036212820603089, "Food & Dining": 0.00026672305537566934, "Games & Gaming": 0.00032219582265520394, "Electronics & Hardware": 0.0012690113089032396, "Health, Healthcare & Wellness": 0.000283730190164316, "History & Geography": 0.00026095846116743344, "Home, Pets & Hobbies": 0.00024374462938207822, "Industry & Production": 0.0003706685048545647, "Language, Literature & Philosophy": 0.00021591385459446795, "Politics & Government": 0.00030655443735591234, "Religion & Spirituality": 0.0003394334169945875, "Science, Mathematics & Engineering": 0.0005822165260973152, "Relationships & Community": 0.00024451223304131, "Software Usage & Applications": 0.1321401649368545, "Programming & Software Engineering": 0.04463200440981374, "Sports & Fitness": 0.0002420461134392362, "Vehicles & Transportation": 0.00012981482876947857, "Travel & Tourism": 0.0003799252240825494, "Other / Uncovered Subject": 0.0014971085411653753, "NONE": 0.8026926066462167}}, "probabilities": {"primary": {"Academic Writing": 6.531509512386997e-05, "Content Listing": 5.496920447103258e-05, "Creative Writing": 4.7939002828133604e-05, "Customer Support Page": 3.3972178053739293e-05, "Q&A Forum": 3.5363649180772886e-05, "Discussion Thread": 2.562722644874204e-05, "Comment Section": 4.7781693732895994e-05, "Missing Content": 6.181373539602837e-05, "Knowledge Article": 0.00020635806647219092, "Legal Notices": 7.15718614302728e-05, "News Article": 1.6664340889635853e-05, "Organizational Announcement": 3.0728837032528726e-05, "Nonfiction Writing": 3.4208222853073345e-05, "Organizational About Page": 3.948901943674757e-05, "Personal About Page": 3.400705661766215e-05, "Personal Blog": 2.194192188072068e-05, "Product Page": 2.260027328045718e-05, "Spam / Ads": 3.476798908226762e-05, "Structured Data": 0.0007022228697235424, "Technical Writing": 0.9848657914530252, "Transcript / Interview": 4.948500116910708e-05, "Tutorial / How-To Guide": 0.009971366511735549, "User Reviews": 1.9992994692837755e-05, "Other / Unknown": 0.003506021795443001}, "secondary": {"Academic Writing": 0.00019638837388601178, "Content Listing": 0.00012470050608671086, "Creative Writing": 0.0001505007461848033, "Customer Support Page": 0.00010817762181645362, "Q&A Forum": 7.773431606580845e-05, "Discussion Thread": 5.8601947559006685e-05, "Comment Section": 0.00021622890232911906, "Missing Content": 0.00025075039017143216, "Knowledge Article": 0.00045571395629602474, "Legal Notices": 0.00017530391480833314, "News Article": 9.005461595136949e-05, "Organizational Announcement": 8.516074191336602e-05, "Nonfiction Writing": 8.109044075311902e-05, "Organizational About Page": 9.778888596011863e-05, "Personal About Page": 8.84528893802899e-05, "Personal Blog": 7.423861306317479e-05, "Product Page": 5.7153719454290705e-05, "Spam / Ads": 8.340398520428674e-05, "Structured Data": 0.001640096265396678, "Technical Writing": 0.019627239421073233, "Transcript / Interview": 0.00011763176421400433, "Tutorial / How-To Guide": 0.02281981933301046, "User Reviews": 4.78038875582206e-05, "NONE": 0.9532759647618637}, "tertiary": {"Academic Writing": 0.00013882523959203453, "Content Listing": 0.0001087509565759524, "Creative Writing": 0.00010314264621423739, "Customer Support Page": 0.0001008717486646957, "Q&A Forum": 5.1597642224287355e-05, "Discussion Thread": 4.0229434517482586e-05, "Comment Section": 0.0003055985076999551, "Missing Content": 0.0003440426840016164, "Knowledge Article": 0.0007871138379486771, "Legal Notices": 0.00029324434679800737, "News Article": 6.695579837709788e-05, "Organizational Announcement": 6.571945621043289e-05, "Nonfiction Writing": 7.786454465238305e-05, "Organizational About Page": 9.173001359359671e-05, "Personal About Page": 6.618129362037115e-05, "Personal Blog": 5.809816291017106e-05, "Product Page": 4.909211691757458e-05, "Spam / Ads": 7.417543115614803e-05, "Structured Data": 0.0018540499096325127, "Technical Writing": 0.014139770909078838, "Transcript / Interview": 9.859643887504152e-05, "Tutorial / How-To Guide": 0.019104526501967586, "User Reviews": 3.562721747696796e-05, "NONE": 0.9619441951612944}, "structured_records": {"false": 0.9945860898450123, "true": 0.0054139101549877415}, "procedural_steps": {"false": 0.8804343325233953, "true": 0.11956566747660473}, "worked_solution": {"false": 0.997483079843368, "true": 0.002516920156632012}, "contextual_dialogue": {"false": 0.9999923039747689, "true": 7.696025231064542e-06}, "content_quality": {"-2": 0.038941836986577084, "-1": 0.17352014843759445, "0": 0.36725633758004594, "1": 0.32251775396469434, "2": 0.09776392303108818}, "noise_severity": {"0": 0.9496746194935859, "1": 0.04032198353161537, "2": 0.007708005626861625, "3": 0.0016473590479385873, "4": 0.0006480322999985507}, "missing_content_severity": {"0": 0.9886580424535962, "1": 0.009026453864103862, "2": 0.0016454297725063546, "3": 0.000489675384353553, "4": 0.00018039852543998958}, "factual_density": {"0": 0.025497051929219885, "1": 0.07279175370912011, "2": 0.17975346416572366, "3": 0.36902331847649933, "4": 0.352934411719437}, "pretraining_utility": {"-2": 0.017414672969239164, "-1": 0.16502534984994333, "0": 0.43380022672989177, "1": 0.33462776596095667, "2": 0.049131984489969034}, "math_density": {"0": 0.6400277901711616, "1": 0.3281874073937996, "2": 0.014479422797734537, "3": 0.005223873809660421, "4": 0.012081505827643935}, "code_density": {"0": 0.0001548857147241659, "1": 0.0003306196931528377, "2": 0.0066491403885512515, "3": 0.07670047080578529, "4": 0.9161648833977865}, "reasoning_density": {"0": 0.8058879116071359, "1": 0.05614006565523011, "2": 0.08166111526702442, "3": 0.03409658669072468, "4": 0.022214320779884823}, "education_level": {"none": 0.0010985315406127176, "0": 0.0016244915824338594, "1": 0.004220028825397585, "2": 0.21963383776718828, "3": 0.6012623571646399, "4": 0.1721607531197276}, "creative_writing_quality": {"not_applicable": 0.9995979197138355, "-2": 7.845427915224715e-05, "-1": 9.824453853514378e-05, "0": 0.0001552127942037684, "1": 4.9839191538018426e-05, "2": 2.0329482735361834e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 4.214572995878062e-05, "Art & Design": 6.347976753182791e-05, "Law & Crime": 4.7787483426112294e-05, "Education & Careers": 4.560496282847411e-05, "Entertainment & Media": 3.1581832769448745e-05, "Fashion & Beauty": 2.8640487556562147e-05, "Business, Economics & Finance": 0.0017733907625503361, "Food & Dining": 3.67709582332014e-05, "Games & Gaming": 4.886864567000241e-05, "Electronics & Hardware": 0.00032476898587255456, "Health, Healthcare & Wellness": 3.666240946132019e-05, "History & Geography": 4.639721453575592e-05, "Home, Pets & Hobbies": 3.1632352212710106e-05, "Industry & Production": 8.120924403357339e-05, "Language, Literature & Philosophy": 4.512418528562625e-05, "Politics & Government": 3.388730481716266e-05, "Religion & Spirituality": 3.77665801092664e-05, "Science, Mathematics & Engineering": 0.00018022609036086982, "Relationships & Community": 3.5486709200828176e-05, "Software Usage & Applications": 0.016091082808848637, "Programming & Software Engineering": 0.9800092931770475, "Sports & Fitness": 4.8853152039847666e-05, "Vehicles & Transportation": 2.2984435830589075e-05, "Travel & Tourism": 4.091610264626306e-05, "Other / Uncovered Subject": 0.0007263399100761785, "Unknown / Insufficient Content": 8.909870709648811e-05}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0004896460666766238, "Art & Design": 0.00038689465271734636, "Law & Crime": 0.0006615835010335937, "Education & Careers": 0.00031798949586013986, "Entertainment & Media": 0.00042149107096535075, "Fashion & Beauty": 0.00026684925121609246, "Business, Economics & Finance": 0.01103621282060309, "Food & Dining": 0.0002667230553756694, "Games & Gaming": 0.000322195822655204, "Electronics & Hardware": 0.0012690113089032398, "Health, Healthcare & Wellness": 0.00028373019016431604, "History & Geography": 0.0002609584611674335, "Home, Pets & Hobbies": 0.00024374462938207825, "Industry & Production": 0.0003706685048545648, "Language, Literature & Philosophy": 0.00021591385459446798, "Politics & Government": 0.0003065544373559124, "Religion & Spirituality": 0.00033943341699458756, "Science, Mathematics & Engineering": 0.0005822165260973153, "Relationships & Community": 0.00024451223304131005, "Software Usage & Applications": 0.13214016493685452, "Programming & Software Engineering": 0.04463200440981375, "Sports & Fitness": 0.00024204611343923621, "Vehicles & Transportation": 0.0001298148287694786, "Travel & Tourism": 0.0003799252240825495, "Other / Uncovered Subject": 0.0014971085411653756, "NONE": 0.8026926066462168}}, "probability_diagnostics": {"primary": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "tertiary": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "structured_records": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "procedural_steps": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "worked_solution": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "contextual_dialogue": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "content_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "noise_severity": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "missing_content_severity": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "factual_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "pretraining_utility": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "math_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "code_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "reasoning_density": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "education_level": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "creative_writing_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "primary_topic": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "secondary_topic": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}}, "usage": {"input_tokens": 10442, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 10442, "cached_share": null, "cache_discount_reported": null, "reported_cost_usd": null}, "response_metadata": {"model": "decision-models/baseten-mammoth-27b-latest"}, "scored_at_utc": "2026-10-25T18:35:10.810857+00:00", "scoring_key_slot": "assistant_1", "dataset_uid": "c4e8124f-1af5-46e1-9216-d85eb957ecee", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "8bf12b0ca60a13e8c08512da4dadddc4c256245b775f082565bf48f2b8124ff2", "source_metadata": {"uuid": "c4e8124f-1af5-46e1-9216-d85eb957ecee", "repo_name": "andrewlunde/cloud-management-batch", "relative_path": "tools/orgs_sapcp_delete", "category": "TOOL", "algo_rel_score": 0.9917035102844238, "quality_score": 3.1635406017303467, "source_meta": {"github_metadata": {"branch": "main", "commit_count": 1, "repo_created_at": "2021-03-24T16:16:01.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 0, "forks": 0, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "5293a7c3addb8ac0d09735d4ecb4752a89444718", "size_bytes": 6040, "file_timestamp": 1616778441, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "e3c687d9369bec673229f72af191894faf40c553"}}, "parsed_source_meta": {"github_metadata": {"branch": "main", "commit_count": 1, "repo_created_at": "2021-03-24T16:16:01.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 0, "forks": 0, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "5293a7c3addb8ac0d09735d4ecb4752a89444718", "size_bytes": 6040, "file_timestamp": 1616778441, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "e3c687d9369bec673229f72af191894faf40c553", "url": "https://github.com/andrewlunde/cloud-management-batch/blob/e3c687d9369bec673229f72af191894faf40c553/tools/orgs_sapcp_delete"}, "gpt4o_tokens": 1894, "dataset_split": "shell", "probability_weighted_scores": {"content_quality": 0.26664177761612207, "noise_severity": 0.06327220112914858, "missing_content_severity": 0.014507933663937187, "factual_density": 2.9511062843478135, "pretraining_utility": 0.2330370391524731, "math_density": 0.42114389772882566, "code_density": 3.908389846478757, "reasoning_density": 0.4106093393809923, "education_level": 2.9391465335021394, "creative_writing_quality": -0.40950761700243066}, "score_applicability": {"education_level": 0.9989014684593872, "creative_writing_quality": 0.0004020802861645396}} {"source_group": "shell", "source": "openbmb/UltraData-Stack-v3-L2/shell", "domain": "github.com", "language": "shell", "url": "https://github.com/resultugay/GATE/blob/6f27ebcfc4d446697cc3e1463b14b244f2e4fcf3/GATE/shell/fig_i_nba.sh", "id": "shell-0-4df0c8b7a28107165d22f0be3aeae977", "text": "#!/bin/bash\n\ndata=(\n'career'\n'nba'\n'person'\n'comm'\n)\n\ndid=1\ngpu=$1\n\ncd ../\n\n# bug version setting\n# epoch=30\n# lr=0.0001\n# batch_size=512\n# conf_sample_size=0.2\n# conf_threshold=0.55\n\n# new setting\nepoch=60\nlr=0.00005\nbatch_size=512\nconf_sample_size=1.0\nconf_threshold=0.52\n\n# Varying |\\Sigma|\n\necho -e \"GATE\"\nmkdir results\n\necho -e \"Method GATE\"\n\nfor gamma in 0.2 0.4 0.6 0.8\ndo\n resultFile='./result/fig_i_gate_fix_bug_'${data[${did}]}'_gamma'${gamma}'.txt'\n > ${resultFile}\n python main.py --creator Gate --data ../data/${data[${did}]}'/' --epoch ${epoch} --lr ${lr} --batch_size ${batch_size} --high_conf_sample_ratio ${conf_sample_size} --conf_threshold ${conf_threshold} --variant gate --gpuOption ${gpu} --maxMLData 2000 --gamma ${gamma} >> ${resultFile} \ndone\n\n\necho -e \"Method Critic\"\nfor gamma in 0.2 0.4 0.6 0.8\ndo\n resultFile='./result/fig_i_critic_'${data[${did}]}'_gamma'${gamma}'.txt'\n > ${resultFile}\n python main.py --creator Gate --data ../data/${data[${did}]}'/' --epoch ${epoch} --lr ${lr} --batch_size ${batch_size} --high_conf_sample_ratio ${conf_sample_size} --conf_threshold ${conf_threshold} --variant critic --gpuOption ${gpu} --gamma ${gamma} >> ${resultFile} \ndone\n\n\necho -e \"Method Creator\"\nfor gamma in 0.2 0.4 0.6 0.8\ndo\n resultFile='./result/fig_i_creator_'${data[${did}]}'_gamma'${gamma}'.txt'\n > ${resultFile}\n python main.py --creator Gate --data ../data/${data[${did}]}'/' --epoch ${epoch} --lr ${lr} --batch_size ${batch_size} --high_conf_sample_ratio ${conf_sample_size} --conf_threshold ${conf_threshold} --variant creator --gpuOption ${gpu} --gamma ${gamma} >> ${resultFile} \n\ndone\n\n\necho -e \"Method CreatorNC\"\nfor gamma in 0.2 0.4 0.6 0.8\ndo\n resultFile='./result/fig_i_creatornc_'${data[${did}]}'_gamma'${gamma}'.txt'\n > ${resultFile}\n python main.py --creator Gate --data ../data/${data[${did}]}'/' --epoch ${epoch} --lr ${lr} --batch_size ${batch_size} --high_conf_sample_ratio ${conf_sample_size} --conf_threshold ${conf_threshold} --variant creatornc --gpuOption ${gpu} --gamma ${gamma} >> ${resultFile} \n\ndone\n\necho -e \"Method CreatorNA\"\nfor gamma in 0.2 0.4 0.6 0.8\ndo\n resultFile='./result/fig_i_creatorna_'${data[${did}]}'_gamma'${gamma}'.txt'\n > ${resultFile}\n python main.py --creator Gate --data ../data/${data[${did}]}'/' --epoch ${epoch} --lr ${lr} --batch_size ${batch_size} --high_conf_sample_ratio ${conf_sample_size} --conf_threshold ${conf_threshold} --variant creatorna --gpuOption ${gpu} --gamma ${gamma} >> ${resultFile} \n\ndone\n\necho -e \"Method CreatorNE\"\nfor gamma in 0.2 0.4 0.6 0.8\ndo\n resultFile='./result/fig_i_creatorne_'${data[${did}]}'_gamma'${gamma}'.txt'\n > ${resultFile}\n python main.py --creator Gate --data ../data/${data[${did}]}'/' --epoch ${epoch} --lr ${lr} --batch_size ${batch_size} --high_conf_sample_ratio ${conf_sample_size} --conf_threshold ${conf_threshold} --variant creatorne --gpuOption ${gpu} --gamma ${gamma} >> ${resultFile} \n\ndone\n\n\necho -e \"Method CreatorITR\"\nfor gamma in 0.2 0.4 0.6 0.8 1.0\ndo\n resultFile='./result/fig_i_creatoritr_fix_bug_'${data[${did}]}'_gamma'${gamma}'.txt'\n > ${resultFile}\n python main.py --creator Gate --data ../data/${data[${did}]}'/' --epoch ${epoch} --lr ${lr} --batch_size ${batch_size} --high_conf_sample_ratio ${conf_sample_size} --conf_threshold ${conf_threshold} --variant creatoritr --gpuOption ${gpu} --gamma ${gamma} >> ${resultFile} \n\ndone\n\n\n\n\n\n", "text_preview": "#!/bin/bash data=( 'career' 'nba' 'person' 'comm' ) did=1 gpu=$1 cd ../ # bug version setting # epoch=30 # lr=0.0001 # batch_size=512 # conf_sample_size=0.2 # conf_threshold=0.55 # new setting epoch=60 lr=0.00005 batch_size=512 conf_sample_", "input_sha256": "ca06fe05ad37bc7b896e0e34cff4bfa8acde2c76ef2ad4e1a9a2760dc22359cb", "text_sha256": "4df0c8b7a28107165d22f0be3aeae977e25452e639ef9e74bd42a61ea86f7914", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 20094, "input_policy": "text-and-optional-url-v1", "label_policy_version": 12, "requested_model": "decision-models/baseten-mammoth-27b-latest", "backend": "baseten", "endpoint": "https://inference.baseten.co/v1/systemone", "status": "ok", "training_eligible": true, "label": {"primary": {"main_format": "Technical Writing", "sub_format": null}, "secondary": null, "tertiary": null, "content_structure": []}, "candidate_label": null, "topic": {"primary": {"main_topic": "Programming & Software Engineering", "sub_topic": null}, "secondary": null}, "scores": {"content_quality": 1, "noise_severity": 0, "missing_content_severity": 0, "factual_density": 2, "pretraining_utility": 0, "math_density": 0, "code_density": 4, "reasoning_density": 0, "education_level": 2, "creative_writing_quality": null}, "score_expectations": {"content_quality": 0.7904461993199823, "noise_severity": 0.08323655279363722, "missing_content_severity": 0.019981289486999232, "factual_density": 2.3215362824904675, "pretraining_utility": -0.10630870168643053, "math_density": 0.44298228473731205, "code_density": 3.8508183204109483, "reasoning_density": 0.027511519221168557, "education_level": 2.6532620992148703, "creative_writing_quality": -0.48785952574939495}, "api_choices": {"primary": "Technical Writing", "secondary": "NONE", "tertiary": "NONE", "education_level": "2", "creative_writing_quality": "not_applicable", "primary_topic": "Programming & Software Engineering", "secondary_topic": "NONE"}, "review_reasons": [], "format_slot_diagnostics": {"comparable": true, "secondary_tertiary_identical": false, "secondary_tertiary_max_abs_gap": 0.010709060461396969, "secondary_choice": "NONE", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.9765002059374097, "secondary": 0.9337417318987498, "tertiary": 0.9449164036845553, "structured_records": 0.06161168055844126, "procedural_steps": 0.22936592623692142, "worked_solution": 0.0011171928250135335, "contextual_dialogue": 7.897399929635296e-06, "content_quality": 0.49928117759671076, "noise_severity": 0.9306362060053023, "missing_content_severity": 0.9833489254275006, "factual_density": 0.33249765841456946, "pretraining_utility": 0.5113498777039276, "math_density": 0.63084809605224, "code_density": 0.8756819336757904, "reasoning_density": 0.9770737339823595, "education_level": 0.354421624582927, "creative_writing_quality": 0.9994169078408442, "primary_topic": 0.9588809391306299, "secondary_topic": 0.6053980266651445}, "probability_margin": {"primary": 0.9635570579168882, "secondary": 0.9131195531912377, "tertiary": 0.9293397769559669, "education_level": 0.07210812667875194, "creative_writing_quality": 0.9993435173871926, "primary_topic": 0.9321377961798324, "secondary_topic": 0.3985903204359116}, "raw_probabilities": {"primary": {"Academic Writing": 0.00036815401480252134, "Content Listing": 7.868023278433635e-05, "Creative Writing": 6.59377365017539e-05, "Customer Support Page": 4.903369789933798e-05, "Q&A Forum": 5.6141386068102356e-05, "Discussion Thread": 4.002670298294361e-05, "Comment Section": 7.154385532017473e-05, "Missing Content": 8.74819867737737e-05, "Knowledge Article": 0.00014842302908997613, "Legal Notices": 7.332206139035966e-05, "News Article": 2.4841758942542433e-05, "Organizational Announcement": 5.2391644943510896e-05, "Nonfiction Writing": 5.29522273512461e-05, "Organizational About Page": 6.21427606708998e-05, "Personal About Page": 4.7396680752981836e-05, "Personal Blog": 3.163209770655559e-05, "Product Page": 3.0717340114679134e-05, "Spam / Ads": 4.9651616519646434e-05, "Structured Data": 0.0020587208411824887, "Technical Writing": 0.977479364023351, "Transcript / Interview": 6.784846713491756e-05, "Tutorial / How-To Guide": 0.013922306106462811, "User Reviews": 2.826826720702446e-05, "Other / Unknown": 0.005053021464046426}, "secondary": {"Academic Writing": 0.002983417986821131, "Content Listing": 0.0002667838087187051, "Creative Writing": 0.00018669173455137896, "Customer Support Page": 0.00014392998158734434, "Q&A Forum": 0.00012096874373017441, "Discussion Thread": 8.007037451899348e-05, "Comment Section": 0.00020736919576219609, "Missing Content": 0.0002906694819747057, "Knowledge Article": 0.00044995068205169427, "Legal Notices": 0.0001364110492647788, "News Article": 0.00012610793223943935, "Organizational Announcement": 0.00012125680593838883, "Nonfiction Writing": 0.00010690532545289762, "Organizational About Page": 0.00013072825170332332, "Personal About Page": 0.00010774836689511551, "Personal Blog": 0.00012098420359903369, "Product Page": 7.393236015351564e-05, "Spam / Ads": 0.00012718667479360676, "Structured Data": 0.011991226657763098, "Technical Writing": 0.022135060266355033, "Transcript / Interview": 0.0001414601077778637, "Tutorial / How-To Guide": 0.02338293987839745, "User Reviews": 6.570706031499375e-05, "NONE": 0.9365024930696352}, "tertiary": {"Academic Writing": 0.002156032440994168, "Content Listing": 0.00015129785716699087, "Creative Writing": 0.00010884696465688945, "Customer Support Page": 8.568807771903304e-05, "Q&A Forum": 5.673653491399016e-05, "Discussion Thread": 4.803918210182958e-05, "Comment Section": 0.00017175787886922363, "Missing Content": 0.0003065229859842278, "Knowledge Article": 0.0006007043151018846, "Legal Notices": 0.00011103422146919798, "News Article": 7.314249208779611e-05, "Organizational Announcement": 7.515620635408902e-05, "Nonfiction Writing": 7.636129719518529e-05, "Organizational About Page": 0.00010604213807822182, "Personal About Page": 6.683903472755152e-05, "Personal Blog": 6.594181375098731e-05, "Product Page": 5.112844616788606e-05, "Spam / Ads": 8.399446567353491e-05, "Structured Data": 0.01392005360804155, "Technical Writing": 0.016482931807769618, "Transcript / Interview": 8.25099285886464e-05, "Tutorial / How-To Guide": 0.017871776575065206, "User Reviews": 3.590819649012345e-05, "NONE": 0.9472115535310321}, "structured_records": {"false": 0.9383883194415588, "true": 0.06161168055844126}, "procedural_steps": {"false": 0.7706340737630786, "true": 0.22936592623692142}, "worked_solution": {"false": 0.9988828071749865, "true": 0.0011171928250135335}, "contextual_dialogue": {"false": 0.9999921026000703, "true": 7.897399929635296e-06}, "content_quality": {"-2": 0.013579558197310472, "-1": 0.05682491916683466, "0": 0.2508196808563817, "1": 0.4831214486775085, "2": 0.1956543931019647}, "noise_severity": {"0": 0.9310859407630182, "1": 0.05702107749826033, "2": 0.010147255079732026, "3": 0.0010619415000449304, "4": 0.00068378515894451}, "missing_content_severity": {"0": 0.9856911540177924, "1": 0.010294903110441145, "2": 0.002632867274007045, "3": 0.0011036505624932532, "4": 0.00027742503526605807}, "factual_density": {"0": 0.03697579556436586, "1": 0.16578167257729295, "2": 0.3553810449910932, "3": 0.32245342753800427, "4": 0.1194080593292438}, "pretraining_utility": {"-2": 0.027980172388446273, "-1": 0.2903840794439662, "0": 0.47215734346285143, "1": 0.17892108687504432, "2": 0.03055731782969194}, "math_density": {"0": 0.7497237035396543, "1": 0.16144555697637333, "2": 0.030117490649003476, "3": 0.013551248876943445, "4": 0.045161999958025334}, "code_density": {"0": 0.0003716918265771404, "1": 0.000885029259503637, "2": 0.018533857022993476, "3": 0.10797211045824505, "4": 0.8722373114326807}, "reasoning_density": {"0": 0.9829123497446309, "1": 0.009141580198935387, "2": 0.006109394441329688, "3": 0.001195552320842464, "4": 0.0006411232942616007}, "education_level": {"none": 0.001397863770195259, "0": 0.0018001579364298618, "1": 0.007902926047129473, "2": 0.4620180204857725, "3": 0.38990989380702057, "4": 0.13697113795345245}, "creative_writing_quality": {"not_applicable": 0.9995140898673702, "-2": 0.00010633714780995725, "-1": 0.00012824965419399787, "0": 0.00017057248017759877, "1": 5.763363794397232e-05, "2": 2.3117212504190442e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 9.58335508685167e-05, "Art & Design": 0.00015704250142578827, "Law & Crime": 0.00010811674705553559, "Education & Careers": 0.0001441337344289161, "Entertainment & Media": 0.00048229285135743214, "Fashion & Beauty": 9.885955830926718e-05, "Business, Economics & Finance": 0.00030817311912251417, "Food & Dining": 9.412338394512841e-05, "Games & Gaming": 0.00028305012210114633, "Electronics & Hardware": 0.0010239314894594002, "Health, Healthcare & Wellness": 0.0001533956918774848, "History & Geography": 0.0001197941694809868, "Home, Pets & Hobbies": 8.004104617146174e-05, "Industry & Production": 0.0001093907236022272, "Language, Literature & Philosophy": 0.0002391677176378335, "Politics & Government": 8.362745559078479e-05, "Religion & Spirituality": 0.00010117615249736975, "Science, Mathematics & Engineering": 0.0283246452919271, "Relationships & Community": 0.00011622110165687786, "Software Usage & Applications": 0.0033076815459810484, "Programming & Software Engineering": 0.9604624414717595, "Sports & Fitness": 0.0013422857121149093, "Vehicles & Transportation": 7.112300221509474e-05, "Travel & Tourism": 9.131067952352034e-05, "Other / Uncovered Subject": 0.0020308531312085796, "Unknown / Insufficient Content": 0.0005712880486815132}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0009868808998256219, "Art & Design": 0.0007763092995586543, "Law & Crime": 0.0008314246789828354, "Education & Careers": 0.0006444606872758194, "Entertainment & Media": 0.003291831212681835, "Fashion & Beauty": 0.0004718922485184048, "Business, Economics & Finance": 0.001016254067393747, "Food & Dining": 0.0004475532485828374, "Games & Gaming": 0.0008977806717062408, "Electronics & Hardware": 0.003738556032433527, "Health, Healthcare & Wellness": 0.0007694145309986999, "History & Geography": 0.0005509082355675255, "Home, Pets & Hobbies": 0.0004219024174185642, "Industry & Production": 0.0004245963153669981, "Language, Literature & Philosophy": 0.0005000081500442959, "Politics & Government": 0.0004383113947436684, "Religion & Spirituality": 0.0005463515888019037, "Science, Mathematics & Engineering": 0.22198470520365046, "Relationships & Community": 0.0003326808879219155, "Software Usage & Applications": 0.01079939363966621, "Programming & Software Engineering": 0.11915380618699295, "Sports & Fitness": 0.007089994280360884, "Vehicles & Transportation": 0.0002691683196523729, "Travel & Tourism": 0.0004563319189650211, "Other / Uncovered Subject": 0.0025844582433271176, "NONE": 0.620575025639562}}, "probabilities": {"primary": {"Academic Writing": 0.00036815401480252134, "Content Listing": 7.868023278433635e-05, "Creative Writing": 6.59377365017539e-05, "Customer Support Page": 4.903369789933798e-05, "Q&A Forum": 5.6141386068102356e-05, "Discussion Thread": 4.002670298294361e-05, "Comment Section": 7.154385532017473e-05, "Missing Content": 8.74819867737737e-05, "Knowledge Article": 0.00014842302908997613, "Legal Notices": 7.332206139035966e-05, "News Article": 2.4841758942542433e-05, "Organizational Announcement": 5.2391644943510896e-05, "Nonfiction Writing": 5.29522273512461e-05, "Organizational About Page": 6.21427606708998e-05, "Personal About Page": 4.7396680752981836e-05, "Personal Blog": 3.163209770655559e-05, "Product Page": 3.0717340114679134e-05, "Spam / Ads": 4.9651616519646434e-05, "Structured Data": 0.0020587208411824887, "Technical Writing": 0.977479364023351, "Transcript / Interview": 6.784846713491756e-05, "Tutorial / How-To Guide": 0.013922306106462811, "User Reviews": 2.826826720702446e-05, "Other / Unknown": 0.005053021464046426}, "secondary": {"Academic Writing": 0.002983417986821131, "Content Listing": 0.0002667838087187051, "Creative Writing": 0.00018669173455137896, "Customer Support Page": 0.00014392998158734434, "Q&A Forum": 0.00012096874373017441, "Discussion Thread": 8.007037451899348e-05, "Comment Section": 0.00020736919576219609, "Missing Content": 0.0002906694819747057, "Knowledge Article": 0.00044995068205169427, "Legal Notices": 0.0001364110492647788, "News Article": 0.00012610793223943935, "Organizational Announcement": 0.00012125680593838883, "Nonfiction Writing": 0.00010690532545289762, "Organizational About Page": 0.00013072825170332332, "Personal About Page": 0.00010774836689511551, "Personal Blog": 0.00012098420359903369, "Product Page": 7.393236015351564e-05, "Spam / Ads": 0.00012718667479360676, "Structured Data": 0.011991226657763098, "Technical Writing": 0.022135060266355033, "Transcript / Interview": 0.0001414601077778637, "Tutorial / How-To Guide": 0.02338293987839745, "User Reviews": 6.570706031499375e-05, "NONE": 0.9365024930696352}, "tertiary": {"Academic Writing": 0.002156032440994168, "Content Listing": 0.00015129785716699087, "Creative Writing": 0.00010884696465688945, "Customer Support Page": 8.568807771903304e-05, "Q&A Forum": 5.673653491399016e-05, "Discussion Thread": 4.803918210182958e-05, "Comment Section": 0.00017175787886922363, "Missing Content": 0.0003065229859842278, "Knowledge Article": 0.0006007043151018846, "Legal Notices": 0.00011103422146919798, "News Article": 7.314249208779611e-05, "Organizational Announcement": 7.515620635408902e-05, "Nonfiction Writing": 7.636129719518529e-05, "Organizational About Page": 0.00010604213807822182, "Personal About Page": 6.683903472755152e-05, "Personal Blog": 6.594181375098731e-05, "Product Page": 5.112844616788606e-05, "Spam / Ads": 8.399446567353491e-05, "Structured Data": 0.01392005360804155, "Technical Writing": 0.016482931807769618, "Transcript / Interview": 8.25099285886464e-05, "Tutorial / How-To Guide": 0.017871776575065206, "User Reviews": 3.590819649012345e-05, "NONE": 0.9472115535310321}, "structured_records": {"false": 0.9383883194415588, "true": 0.06161168055844126}, "procedural_steps": {"false": 0.7706340737630786, "true": 0.22936592623692142}, "worked_solution": {"false": 0.9988828071749865, "true": 0.0011171928250135335}, "contextual_dialogue": {"false": 0.9999921026000703, "true": 7.897399929635296e-06}, "content_quality": {"-2": 0.013579558197310472, "-1": 0.05682491916683466, "0": 0.2508196808563817, "1": 0.4831214486775085, "2": 0.1956543931019647}, "noise_severity": {"0": 0.9310859407630182, "1": 0.05702107749826033, "2": 0.010147255079732026, "3": 0.0010619415000449304, "4": 0.00068378515894451}, "missing_content_severity": {"0": 0.9856911540177925, "1": 0.010294903110441147, "2": 0.0026328672740070455, "3": 0.0011036505624932534, "4": 0.0002774250352660581}, "factual_density": {"0": 0.03697579556436586, "1": 0.16578167257729295, "2": 0.3553810449910932, "3": 0.32245342753800427, "4": 0.1194080593292438}, "pretraining_utility": {"-2": 0.027980172388446266, "-1": 0.29038407944396616, "0": 0.4721573434628513, "1": 0.1789210868750443, "2": 0.030557317829691934}, "math_density": {"0": 0.7497237035396545, "1": 0.16144555697637336, "2": 0.03011749064900348, "3": 0.013551248876943447, "4": 0.04516199995802534}, "code_density": {"0": 0.0003716918265771404, "1": 0.000885029259503637, "2": 0.018533857022993476, "3": 0.10797211045824505, "4": 0.8722373114326807}, "reasoning_density": {"0": 0.9829123497446309, "1": 0.009141580198935387, "2": 0.006109394441329688, "3": 0.001195552320842464, "4": 0.0006411232942616007}, "education_level": {"none": 0.0013978637701952588, "0": 0.0018001579364298613, "1": 0.007902926047129472, "2": 0.4620180204857724, "3": 0.38990989380702046, "4": 0.13697113795345242}, "creative_writing_quality": {"not_applicable": 0.9995140898673703, "-2": 0.00010633714780995726, "-1": 0.0001282496541939979, "0": 0.0001705724801775988, "1": 5.763363794397233e-05, "2": 2.3117212504190445e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 9.58335508685167e-05, "Art & Design": 0.00015704250142578827, "Law & Crime": 0.00010811674705553559, "Education & Careers": 0.0001441337344289161, "Entertainment & Media": 0.00048229285135743214, "Fashion & Beauty": 9.885955830926718e-05, "Business, Economics & Finance": 0.00030817311912251417, "Food & Dining": 9.412338394512841e-05, "Games & Gaming": 0.00028305012210114633, "Electronics & Hardware": 0.0010239314894594002, "Health, Healthcare & Wellness": 0.0001533956918774848, "History & Geography": 0.0001197941694809868, "Home, Pets & Hobbies": 8.004104617146174e-05, "Industry & Production": 0.0001093907236022272, "Language, Literature & Philosophy": 0.0002391677176378335, "Politics & Government": 8.362745559078479e-05, "Religion & Spirituality": 0.00010117615249736975, "Science, Mathematics & Engineering": 0.0283246452919271, "Relationships & Community": 0.00011622110165687786, "Software Usage & Applications": 0.0033076815459810484, "Programming & Software Engineering": 0.9604624414717595, "Sports & Fitness": 0.0013422857121149093, "Vehicles & Transportation": 7.112300221509474e-05, "Travel & Tourism": 9.131067952352034e-05, "Other / Uncovered Subject": 0.0020308531312085796, "Unknown / Insufficient Content": 0.0005712880486815132}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0009868808998256217, "Art & Design": 0.0007763092995586541, "Law & Crime": 0.0008314246789828352, "Education & Careers": 0.0006444606872758193, "Entertainment & Media": 0.0032918312126818342, "Fashion & Beauty": 0.0004718922485184047, "Business, Economics & Finance": 0.0010162540673937467, "Food & Dining": 0.0004475532485828373, "Games & Gaming": 0.0008977806717062406, "Electronics & Hardware": 0.003738556032433526, "Health, Healthcare & Wellness": 0.0007694145309986997, "History & Geography": 0.0005509082355675254, "Home, Pets & Hobbies": 0.0004219024174185641, "Industry & Production": 0.000424596315366998, "Language, Literature & Philosophy": 0.0005000081500442958, "Politics & Government": 0.0004383113947436683, "Religion & Spirituality": 0.0005463515888019035, "Science, Mathematics & Engineering": 0.2219847052036504, "Relationships & Community": 0.00033268088792191543, "Software Usage & Applications": 0.010799393639666208, "Programming & Software Engineering": 0.11915380618699292, "Sports & Fitness": 0.007089994280360883, "Vehicles & Transportation": 0.00026916831965237284, "Travel & Tourism": 0.000456331918965021, "Other / Uncovered Subject": 0.002584458243327117, "NONE": 0.6205750256395619}}, "probability_diagnostics": {"primary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "tertiary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "structured_records": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "procedural_steps": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "worked_solution": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "contextual_dialogue": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "content_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "noise_severity": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "missing_content_severity": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "factual_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "pretraining_utility": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "math_density": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "code_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "reasoning_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "education_level": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "creative_writing_quality": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "primary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary_topic": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}}, "usage": {"input_tokens": 9631, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 9631, "cached_share": null, "cache_discount_reported": null, "reported_cost_usd": null}, "response_metadata": {"model": "decision-models/baseten-mammoth-27b-latest"}, "scored_at_utc": "2026-10-25T18:35:12.431871+00:00", "scoring_key_slot": "primary", "dataset_uid": "7374e1e6-f9f1-4be2-a564-a4f49e043aef", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "3414dea683bcfd9b3dd49d86994e719dd7d1ae7de4c11d6b9c95264a5a5a0a4d", "source_metadata": {"uuid": "7374e1e6-f9f1-4be2-a564-a4f49e043aef", "repo_name": "resultugay/GATE", "relative_path": "GATE/shell/fig_i_nba.sh", "category": "TOOL", "algo_rel_score": 0.9365560412406921, "quality_score": 3.764122724533081, "source_meta": {"github_metadata": {"branch": "main", "commit_count": 60, "repo_created_at": "2021-11-22T12:38:36.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 3, "forks": 2, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "f80a2e6ecd563191945df325a9f1e049ee9dd034", "size_bytes": 3441, "file_timestamp": 1681288020, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "6f27ebcfc4d446697cc3e1463b14b244f2e4fcf3"}}, "parsed_source_meta": {"github_metadata": {"branch": "main", "commit_count": 60, "repo_created_at": "2021-11-22T12:38:36.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 3, "forks": 2, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "f80a2e6ecd563191945df325a9f1e049ee9dd034", "size_bytes": 3441, "file_timestamp": 1681288020, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "6f27ebcfc4d446697cc3e1463b14b244f2e4fcf3", "url": "https://github.com/resultugay/GATE/blob/6f27ebcfc4d446697cc3e1463b14b244f2e4fcf3/GATE/shell/fig_i_nba.sh"}, "gpt4o_tokens": 1101, "dataset_split": "shell", "probability_weighted_scores": {"content_quality": 0.7904461993199823, "noise_severity": 0.08323655279363722, "missing_content_severity": 0.019981289486999232, "factual_density": 2.3215362824904675, "pretraining_utility": -0.10630870168643053, "math_density": 0.44298228473731205, "code_density": 3.8508183204109483, "reasoning_density": 0.027511519221168557, "education_level": 2.6532620992148703, "creative_writing_quality": -0.48785952574939495}, "score_applicability": {"education_level": 0.9986021362298046, "creative_writing_quality": 0.0004859101326297167}} {"source_group": "shell", "source": "openbmb/UltraData-Stack-v3-L2/shell", "domain": "github.com", "language": "shell", "url": "https://github.com/denizej/oracle-rman_dup_refresh/blob/9cb3d930f4aa965b976be9a84409d0c010606989/rman_dup_refresh.sh", "id": "shell-0-1d0b637d74529a32a97e3a3954b77de2", "text": "#!/bin/bash\n\n# set defaults\nRETURN_STATUS=0\nDEBUG_LEVEL=0\nNO_PROMPT=0\n\nfunction usage()\n{\n echo\n echo \"Usage: $(basename $1) -system=\\$SYSTEM -source_env=\\$SOURCE_ENV -dest_env=\\$DEST_ENV [-func=\\$FUNCTION_TO_EXEC] [-help|-h] [-debug] [-noPrompt]\" \n echo \"Where:\"\n echo \" -system - Required: Name of the system that forms the common prefix of the database SID\"\n echo \" -source_env - Required: Name of the source environment that forms the suffix of the database SID\"\n echo \" -dest_env - Required: Name of the destination environment that forms the suffix of the database SID\"\n echo \" -func - Optional: Name of a function to execute\"\n echo \" -noPrompt - Optional: Setting this option will run with no prompts to the user (default is to prompt if an interactive session)\"\n echo \" -debug - Optional: (default is off)\"\n echo \" -help|-h - Optional: Show this usage\"\n} # function usage\n\n# check inputs\nif [ $# -eq 0 ]; then\n echo -e \"\\nERROR: incorrect usage\"\n usage $0\n exit 1\nfi\n\n# read inputs\nwhile [[ $# -gt 0 ]]\ndo\n param=$(echo $1|cut -d= -f1)\n value=$(echo $1|cut -d= -f2)\n #echo param = $param\n #echo value = $value\n case $param in\n -help|-h)\n usage $0\n exit\n ;;\n -debug)\n #DEBUG_LEVEL=\"$value\"\n DEBUG_LEVEL=1\n ;;\n -noPrompt)\n NO_PROMPT=1\n ;;\n -system)\n #SYSTEM=\"$value\"\n SYSTEM=$(echo $value | tr '[:lower:]' '[:upper:]')\n ;;\n -source_env)\n SOURCE_ENV=$(echo $value | tr '[:lower:]' '[:upper:]')\n ;;\n -dest_env)\n DEST_ENV=$(echo $value | tr '[:lower:]' '[:upper:]')\n ;;\n -func)\n FUNCTION_TO_EXEC=\"$value\"\n ;;\n *)\n echo -e \"\\nERROR: Invalid parameter: $param\"\n usage $0\n exit 1\n ;;\n esac\n shift\ndone\n\n# check required inputs\nif [ -z $SYSTEM ]; then\n echo -e \"\\nERROR: -system required\"\n usage $0\n exit 1\nfi\nif [ -z $SOURCE_ENV ]; then\n echo -e \"\\nERROR: -source_env required\"\n usage $0\n exit 1\nfi\nif [ -z $DEST_ENV ]; then\n echo -e \"\\nERROR: -dest_env required\"\n usage $0\n exit 1\nfi\n\n\nSCRIPT_NAME=$(basename $0|cut -d. -f1)\n\nTHIS_DIR=$(pwd)\ncd $(dirname $0)\nBASE_DIR=$(pwd)\ncd $THIS_DIR\n\nENV_FILE=$BASE_DIR/$SCRIPT_NAME.env\nFUNC_FILE=$BASE_DIR/$SCRIPT_NAME.func\n#FUNC_FILE=$BASE_DIR/${SCRIPT_NAME}_${OSVER}_${ORAVER}.func\n\nexport SYS_DIR=$BASE_DIR/$SYSTEM\nLOGS_DIR=$SYS_DIR/logs\n\nif [ ! -r $ENV_FILE ]; then\n echo -e \"\\nERROR: cannot read environment file $ENV_FILE\"\n usage $0\n exit 1\nelse\n # source in the main environment file\n . $ENV_FILE\nfi\n\nif [ ! -r $FUNC_FILE ]; then\n echo -e \"\\nERROR: cannot read function file $FUNC_FILE\"\n usage $0\n exit 1\nelse\n # source in the function file\n . $FUNC_FILE\nfi\n\nif [ ! -d $LOGS_DIR ]; then\n mkdir -p $LOGS_DIR\n if [ ! $? -eq 0 ]; then\n echo -e \"\\nERROR: could not create directory $LOGS_DIR\"\n exit 1\n fi\nfi\n\nif [ ! -d $SYS_DIR ]; then\n echo -e \"\\nERROR: cannot access directory $SYS_DIR\"\n exit 1\nelif [ ! -d $SYS_DIR/backups ]; then\n mkdir -p $SYS_DIR/backups\n if [ ! $? -eq 0 ]; then\n echo -e \"\\nERROR: could not create directory $SYS_DIR/backups\"\n exit 1\n fi\nfi\n\n#COUNT=$(grep -c ^'function '${FUNCTION_TO_EXEC}'()' $FUNC_FILE)\nCOUNT=$(grep -c ^'function '${FUNCTION_TO_EXEC}'(){' $FUNC_FILE)\nif [ ! -z $FUNCTION_TO_EXEC ] && [ $COUNT -eq 0 ]; then\n usage $0\n echo -e \"\\nERROR: no function found called $FUNCTION_TO_EXEC\"\n echo -e \"\\nThe list of functions available to be run are:\\n\"\n grep ^function $FUNC_FILE |awk {'print$2'}|cut -d\\( -f1|sort|grep 'DB'\n echo\n exit 1\nfi\n\nif [ ! -d $POST_DB_REFRESH_SCRIPT_DIR ]; then\n echo -e \"\\nERROR: cannot access directory $POST_DB_REFRESH_SCRIPT_DIR\"\n usage $0\n exit 1\nfi\n\nif [ ! -r $POST_DB_REFRESH_SCRIPT_DEF_FILE ]; then\n echo -e \"\\nERROR: cannot read file $POST_DB_REFRESH_SCRIPT_DEF_FILE\"\n usage $0\n exit 1\nfi\n\nif [ ! -r $POST_DB_REFRESH_SCRIPT_SQL_FILE ]; then\n echo -e \"\\nERROR: cannot read file $POST_DB_REFRESH_SCRIPT_SQL_FILE\"\n usage $0\n exit 1\nfi\n\n\n#MAIN_LOG_FILE=$LOGS_DIR/${SCRIPT_NAME}_${SOURCE_SID}_${DEST_SID}_${DATETIME}.log\ntouch $MAIN_LOG_FILE\nif [ ! -r $MAIN_LOG_FILE ]; then\n echo -e \"\\nERROR: cannot write file $MAIN_LOG_FILE\"\n usage $0\n exit 1\nfi\n\n##\n## MAIN\n##\ntime {\n\necho\necho \"`date` - $SCRIPT_NAME started\"\necho\necho \"Main log file : $MAIN_LOG_FILE\" \necho \"RMAN log file : $RMAN_LOG_FILE\" \necho \"Results log file : $RESULTS_LOG_FILE\" \necho \"Source DB SID : $SOURCE_SID\" \necho \"Destination DB SID : $DEST_SID\" \necho\necho \"Post refresh SQL directory : $POST_DB_REFRESH_SCRIPT_DIR\" \necho \"Post refresh SQL log file : $POST_DB_REFRESH_SCRIPT_LOG_FILE\" \necho\n\n# check if running in an interactive session or not\ncheck_if_interactive\n#echo INTERACTIVE = $INTERACTIVE\n\n\n\n# check if a single fuinction is to be executed only\nif [ -n \"$FUNCTION_TO_EXEC\" ]; then\n echo -e \"\\nNext: execute single function $FUNCTION_TO_EXEC then exit\" \n prompt_if_interactive $FUNCTION_TO_EXEC \n log_return_status_pass_fail\n exit $RETURN_STATUS\nfi\n\n\n# start_oem_blackouts_DEST_DB\n#echo -e \"\\nNext: start OEM Cloud Control blackouts for database $DEST_SID and its listener\"\n#NEXT_STEP=start_oem_blackouts_DEST_DB\n#prompt_if_interactive $NEXT_STEP\n#$NEXT_STEP\n#log_return_status_pass_warning\n\n\n# tnsping_SOURCE_DB\necho -e \"\\nNext: check that the SOURCE database $SOURCE_SID can be TNS pinged\" \nNEXT_STEP=tnsping_SOURCE_DB\nprompt_if_interactive $NEXT_STEP \n#$NEXT_STEP \nlog_return_status_pass_fail\ncheck_return_status_pass_fail\n\n\n# tnsping_DEST_DB\necho -e \"\\nNext: check that the DESTINATION database $DEST_SID can be TNS pinged\"\nNEXT_STEP=tnsping_DEST_DB\n#prompt_if_interactive $NEXT_STEP\n$NEXT_STEP\nlog_return_status_pass_fail\ncheck_return_status_pass_fail\n\n\n# restart_DEST_DB_LSNR\necho -e \"\\nNext: restart the DESTINATION database $DEST_SID listener wth TNS_ADMIN = $TNS_ADMIN\"\nNEXT_STEP=restart_DEST_DB_LSNR\n#prompt_if_interactive $NEXT_STEP\n$NEXT_STEP\nlog_return_status_pass_warning\n\n\n# status_DEST_DB_LSNR\necho -e \"\\nNext: check the status of the DESTINATION database $DEST_SID listener\"\nNEXT_STEP=status_DEST_DB_LSNR\n#prompt_if_interactive $NEXT_STEP\n$NEXT_STEP\nlog_return_status_pass_warning\n\n\n# replace_orapw_file_DEST_DB\necho -e \"\\nNext: replace the password file for the DESTINATION database $DEST_SID\"\nNEXT_STEP=replace_orapw_file_DEST_DB\n#prompt_if_interactive $NEXT_STEP\n$NEXT_STEP\nlog_return_status_pass_warning\n\n\n# restart_for_rman_DEST_DB\necho -e \"\\nNext: restart the DESTINATION database $DEST_SID to nomount state\"\nNEXT_STEP=restart_nomount_DEST_DB\nprompt_if_interactive $NEXT_STEP\nlog_return_status_pass_fail\ncheck_return_status_pass_fail\n\nif [ ! $ORAVER == \"12c\" ]; then\n\n# sysdba_test_SOURCE_DB\necho -e \"\\nNext: check that the SOURCE database $SOURCE_SID can be logged into using SQLplus as SYSDBA\"\nNEXT_STEP=sysdba_test_SOURCE_DB\n#prompt_if_interactive $NEXT_STEP\n$NEXT_STEP\nlog_return_status_pass_fail\ncheck_return_status_pass_fail\n\nelse\n\n# sysbackup_test_SOURCE_DB\necho -e \"\\nNext: check that the SOURCE database $SOURCE_SID can be logged into using SQLplus as SYSBACKUP\"\nNEXT_STEP=sysbackup_test_SOURCE_DB\n#prompt_if_interactive $NEXT_STEP\n$NEXT_STEP\nlog_return_status_pass_fail\ncheck_return_status_pass_fail\n\n\n# sysbackup_test_DEST_DB\necho -e \"\\nNext: check that the DESTINATION database $DEST_SID can be logged into using SQLplus as SYSBACKUP\"\nNEXT_STEP=sysbackup_test_DEST_DB\n#prompt_if_interactive $NEXT_STEP\n$NEXT_STEP\nlog_return_status_pass_fail\ncheck_return_status_pass_fail\n\nfi\n\n\n# sysdba_test_DEST_DB\necho -e \"\\nNext: check that the DESTINATION database $DEST_SID can be logged into using SQLplus as SYSDBA\"\nNEXT_STEP=sysdba_test_DEST_DB\n#prompt_if_interactive $NEXT_STEP\n$NEXT_STEP\nlog_return_status_pass_fail\ncheck_return_status_pass_fail\n\n\n# drop_DEST_DB\necho -e \"\\nNext: drop the DESTINATION database $DEST_SID\"\nNEXT_STEP=drop_DEST_DB\nprompt_if_interactive $NEXT_STEP\nlog_return_status_pass_fail\ncheck_return_status_pass_fail\n\n\n# restart_nomount_DEST_DB\necho -e \"\\nNext: restart the DESTINATION database $DEST_SID ready for RMAN duplication\"\nNEXT_STEP=restart_nomount_DEST_DB\n#prompt_if_interactive $NEXT_STEP\n$NEXT_STEP\nlog_return_status_pass_fail\ncheck_return_status_pass_fail\n\n\n\n# do_rman_dup_from_active_to_DEST_DB\necho -e \"\\nNext: start the RMAN duplication from $SOURCE_SID to recreate $DEST_SID\"\nif [ $ORAVER == \"12c\" ]; then\n NEXT_STEP=do_rman_dup_from_active_to_DEST_DB_12c\nelse\n NEXT_STEP=do_rman_dup_from_active_to_DEST_DB\nfi\nprompt_if_interactive $NEXT_STEP\nlog_return_status_pass_fail\ncheck_return_status_pass_fail\n\n\n# restart_DEST_DB_LSNR\necho -e \"\\nNext: restart the DESTINATION database $DEST_SID listener with the default TNS_ADMIN\"\nunset TNS_ADMIN\nNEXT_STEP=restart_DEST_DB_LSNR\n#prompt_if_interactive $NEXT_STEP\n$NEXT_STEP\nlog_return_status_pass_warning\n\n\n# disable_auto_maint_tasks_DEST_DB\n#echo -e \"\\nNext: disable the automated maintenance tasks in $DEST_SID\" \n#NEXT_STEP=disable_auto_maint_tasks_DEST_DB\n#prompt_if_interactive $NEXT_STEP \n#$NEXT_STEP \n#log_return_status_pass_warning\n\n\n# disable_archive_log_mode_DEST_DB\necho -e \"\\nNext: disable archive log mode in the new $DEST_SID\" \nNEXT_STEP=disable_archive_log_mode_DEST_DB\n#prompt_if_interactive $NEXT_STEP \n$NEXT_STEP \nlog_return_status_pass_warning\n\n\n# delete_all_archivelogs_DEST_DB\necho -e \"\\nNext: Delete all archivelogs for $DEST_SID database\"\nNEXT_STEP=delete_all_archivelogs_DEST_DB\nprompt_if_interactive $NEXT_STEP\n#$NEXT_STEP\nlog_return_status_pass_warning\n\n\n# purge_recyclebin_DEST_DB\necho -e \"\\nNext: Purge recyclebin for $DEST_SID database\"\nNEXT_STEP=purge_recyclebin_DEST_DB\nprompt_if_interactive $NEXT_STEP\n#$NEXT_STEP\nlog_return_status_pass_warning\n\n\n# set_ADR_purge_policies_DEST_DB\necho -e \"\\nNext: set the ADR short and long purge policies for the $DEST_SID database and listener\"\nNEXT_STEP=set_ADR_purge_policies_DEST_DB\n#prompt_if_interactive $NEXT_STEP \n$NEXT_STEP \nlog_return_status_pass_warning\n\n\n# cleanup_audit_tabs_DEST_DB\necho -e \"\\nNext: Cleanup audit tables in the $DEST_SID database\"\nNEXT_STEP=cleanup_audit_tabs_DEST_DB\nprompt_if_interactive $NEXT_STEP\n#$NEXT_STEP\nlog_return_status_pass_warning\n\n\nif [ $ORAVER == \"12c\" ]; then\n# cleanup_unified_auditing_DEST_DB\necho -e \"\\nNext: Cleanup unified auditing in the $DEST_SID database\"\nNEXT_STEP=cleanup_unified_auditing_DEST_DB\nprompt_if_interactive $NEXT_STEP\n#$NEXT_STEP\nlog_return_status_pass_warning\nfi\n\n\n# reset_RMAN_config_DEST_DB\necho -e \"\\nNext: reset RMAN configuration for the $DEST_SID database\"\nNEXT_STEP=reset_RMAN_config_DEST_DB\n#prompt_if_interactive $NEXT_STEP\n$NEXT_STEP\nlog_return_status_pass_warning\n\n\n# recreate_DB_dirs_DEST_DB\necho -e \"\\nNext: recreate any database directories that have $SOURCE_SID in the path\"\nNEXT_STEP=recreate_DB_dirs_DEST_DB\n#prompt_if_interactive $NEXT_STEP\n$NEXT_STEP\nlog_return_status_pass_warning\n\n\n# disable_all_non_system_scheduler_jobs_DEST_DB\n#echo -e \"\\nNext: disable all non system DBMS Scheduler jobs in $DEST_SID database\"\n#NEXT_STEP=disable_all_non_system_scheduler_jobs_DEST_DB\n#prompt_if_interactive $NEXT_STEP\n#log_return_status_pass_warning\n\n\n# break_all_non_system_db_jobs_DEST_DB\n#echo -e \"\\nNext: break all non system database jobs in $DEST_SID database\"\n#NEXT_STEP=break_all_non_system_db_jobs_DEST_DB\n#prompt_if_interactive $NEXT_STEP\n#log_return_status_pass_warning\n\n\n# execute_post_DB_refresh_script\necho -e \"\\nNext: execute the system and environment specific post DB refresh script against $DEST_SID database\"\nNEXT_STEP=execute_post_DB_refresh_script\nprompt_if_interactive $NEXT_STEP\nlog_return_status_pass_warning\n\n\n# do_rman_full_backup_DEST_DB\n#echo -e \"\\nNext: perform a full cold backup of the $DEST_SID database\"\n#NEXT_STEP=do_rman_full_backup_DEST_DB\n#prompt_if_interactive $NEXT_STEP\n#log_return_status_pass_warning\n\n\n# stop_oem_blackouts_DEST_DB\n#echo -e \"\\nNext: stop OEM Cloud Control blackouts for database $DEST_SID and its listener\"\n#NEXT_STEP=stop_oem_blackouts_DEST_DB\n#prompt_if_interactive $NEXT_STEP\n#$NEXT_STEP\n#log_return_status_pass_warning\n\n\necho\ncat $RESULTS_LOG_FILE\n\necho\necho \"Main log file : $MAIN_LOG_FILE\"\necho \"RMAN log file : $RMAN_LOG_FILE\"\necho \"Results log file : $RESULTS_LOG_FILE\"\necho \"Source DB SID : $SOURCE_SID\"\necho \"Destination DB SID : $DEST_SID\"\necho\necho \"Post refresh SQL directory : $POST_DB_REFRESH_SCRIPT_DIR\"\necho \"Post refresh SQL log file : $POST_DB_REFRESH_SCRIPT_LOG_FILE\"\necho\necho \"`date` - $SCRIPT_NAME finished\"\n\nsend_email\n\nrm $TEMP_LOG_FILE > /dev/null 2>&1\n\n} 2>&1 | tee -a $MAIN_LOG_FILE\n\n\n", "text_preview": "#!/bin/bash # set defaults RETURN_STATUS=0 DEBUG_LEVEL=0 NO_PROMPT=0 function usage() { echo echo \"Usage: $(basename $1) -system=\\$SYSTEM -source_env=\\$SOURCE_ENV -dest_env=\\$DEST_ENV [-func=\\$FUNCTION_TO_EXEC] [-help|-h] [-debug] [-noPromp", "input_sha256": "351b78ca03cff248921a8d99fe7505bd96ab9ba2ca2fcf9d25ae45c3c8fe4a79", "text_sha256": "1d0b637d74529a32a97e3a3954b77de2137b46aad900c7f2a52e2ef95e4f585d", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 20096, "input_policy": "text-and-optional-url-v1", "label_policy_version": 12, "requested_model": "decision-models/baseten-mammoth-27b-latest", "backend": "baseten", "endpoint": "https://inference.baseten.co/v1/systemone", "status": "ok", "training_eligible": true, "label": {"primary": {"main_format": "Technical Writing", "sub_format": null}, "secondary": null, "tertiary": null, "content_structure": []}, "candidate_label": null, "topic": {"primary": {"main_topic": "Programming & Software Engineering", "sub_topic": null}, "secondary": null}, "scores": {"content_quality": 1, "noise_severity": 0, "missing_content_severity": 0, "factual_density": 3, "pretraining_utility": 1, "math_density": 0, "code_density": 4, "reasoning_density": 0, "education_level": 3, "creative_writing_quality": null}, "score_expectations": {"content_quality": 0.6198865618079724, "noise_severity": 0.10683560232468842, "missing_content_severity": 0.09579652243719385, "factual_density": 2.8303280654478677, "pretraining_utility": 0.3934404707805854, "math_density": 0.010833225636464907, "code_density": 3.809016185566526, "reasoning_density": 0.580913943990933, "education_level": 2.8440647450490917, "creative_writing_quality": -0.3101558672178863}, "api_choices": {"primary": "Technical Writing", "secondary": "NONE", "tertiary": "NONE", "education_level": "3", "creative_writing_quality": "not_applicable", "primary_topic": "Programming & Software Engineering", "secondary_topic": "NONE"}, "review_reasons": [], "format_slot_diagnostics": {"comparable": true, "secondary_tertiary_identical": false, "secondary_tertiary_max_abs_gap": 0.029230640557249332, "secondary_choice": "NONE", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.9809357677187954, "secondary": 0.9106546504470292, "tertiary": 0.9411561884198112, "structured_records": 0.028984816624505264, "procedural_steps": 0.21983220323333003, "worked_solution": 0.002240920369874396, "contextual_dialogue": 9.878549004514553e-06, "content_quality": 0.44839506437092613, "noise_severity": 0.910970331396093, "missing_content_severity": 0.9201695646356718, "factual_density": 0.3897440263571146, "pretraining_utility": 0.40442582320643916, "math_density": 0.9909723119696126, "code_density": 0.8408468213054381, "reasoning_density": 0.5159050466742225, "education_level": 0.4723904973054148, "creative_writing_quality": 0.999262777205787, "primary_topic": 0.9621813658705113, "secondary_topic": 0.7733440303955568}, "probability_margin": {"primary": 0.9678423884228615, "secondary": 0.8717452243506074, "tertiary": 0.9155833905632235, "education_level": 0.2785621295157946, "creative_writing_quality": 0.999148487532473, "primary_topic": 0.9307764178331926, "secondary_topic": 0.6539583690470423}, "raw_probabilities": {"primary": {"Academic Writing": 6.60361299459304e-05, "Content Listing": 5.91697962767103e-05, "Creative Writing": 4.9104197492293484e-05, "Customer Support Page": 4.290331343839787e-05, "Q&A Forum": 3.2115879436422916e-05, "Discussion Thread": 2.415144158262967e-05, "Comment Section": 4.590371137595967e-05, "Missing Content": 5.73825136769506e-05, "Knowledge Article": 0.00029936648309585755, "Legal Notices": 6.724709381693037e-05, "News Article": 1.5287890602858e-05, "Organizational Announcement": 2.8670551137928208e-05, "Nonfiction Writing": 2.7448314213840187e-05, "Organizational About Page": 3.426696776320553e-05, "Personal About Page": 3.0113074859178136e-05, "Personal Blog": 2.1181951604181097e-05, "Product Page": 2.0141552814448405e-05, "Spam / Ads": 3.0470900464725324e-05, "Structured Data": 0.0002867719702031256, "Technical Writing": 0.9817301107305123, "Transcript / Interview": 4.695299990185698e-05, "Tutorial / How-To Guide": 0.013887722307650747, "User Reviews": 2.0370095248963366e-05, "Other / Unknown": 0.003077110132884671}, "secondary": {"Academic Writing": 0.00031897390817947765, "Content Listing": 0.00028308479331406056, "Creative Writing": 0.00025140844142161584, "Customer Support Page": 0.00028789710620053834, "Q&A Forum": 0.00014900117300329786, "Discussion Thread": 0.00010247123990941634, "Comment Section": 0.00030152157381719516, "Missing Content": 0.0005888810087406244, "Knowledge Article": 0.0012688438284809988, "Legal Notices": 0.00029973842904543706, "News Article": 0.00015910063565411522, "Organizational Announcement": 0.0001591606562627601, "Nonfiction Writing": 0.0001492830075712846, "Organizational About Page": 0.00018696100309252667, "Personal About Page": 0.00015535320580172573, "Personal Blog": 0.00015065751845408671, "Product Page": 0.00010752502943815197, "Spam / Ads": 0.00016178806958561172, "Structured Data": 0.0010375159384656979, "Technical Writing": 0.036502751980529435, "Transcript / Interview": 0.0002727672809667693, "Tutorial / How-To Guide": 0.04263214899446224, "User Reviews": 9.579183253321025e-05, "NONE": 0.9143773733450696}, "tertiary": {"Academic Writing": 0.00019919241602750392, "Content Listing": 0.00022203990251466136, "Creative Writing": 0.0001725676857828528, "Customer Support Page": 0.00028667873306169556, "Q&A Forum": 8.576355555964767e-05, "Discussion Thread": 6.585660823474543e-05, "Comment Section": 0.00043062219432909814, "Missing Content": 0.0011139395796958998, "Knowledge Article": 0.002254330956127203, "Legal Notices": 0.00040920206219243746, "News Article": 9.667424616013495e-05, "Organizational Announcement": 9.800648958602268e-05, "Nonfiction Writing": 0.00011138460624729719, "Organizational About Page": 0.000144273522821118, "Personal About Page": 9.636955939170449e-05, "Personal Blog": 9.516964202359459e-05, "Product Page": 8.32327710385745e-05, "Spam / Ads": 0.00012192115562707048, "Structured Data": 0.0011514363735872272, "Technical Writing": 0.02087468960434774, "Transcript / Interview": 0.00019502966548798817, "Tutorial / How-To Guide": 0.028024623339095635, "User Reviews": 5.898142874103873e-05, "NONE": 0.9436080139023191}, "structured_records": {"false": 0.9710151833754948, "true": 0.028984816624505264}, "procedural_steps": {"false": 0.78016779676667, "true": 0.21983220323333003}, "worked_solution": {"false": 0.9977590796301256, "true": 0.002240920369874396}, "contextual_dialogue": {"false": 0.9999901214509955, "true": 9.878549004514553e-06}, "content_quality": {"-2": 0.012790364351928861, "-1": 0.07875933260995995, "0": 0.3251299221977517, "1": 0.442414138558929, "2": 0.1409062422814305}, "noise_severity": {"0": 0.9160648512600822, "1": 0.06468279911972814, "2": 0.01634603065454786, "3": 0.002164533966702006, "4": 0.0007417849989396276}, "missing_content_severity": {"0": 0.9428370595701898, "1": 0.027988243892875006, "2": 0.02063920512470441, "3": 0.007612097354012628, "4": 0.0009233940582180319}, "factual_density": {"0": 0.017967087882022694, "1": 0.06902309889361988, "2": 0.25904209002848944, "3": 0.3726501062862026, "4": 0.2813176169096652}, "pretraining_utility": {"-2": 0.011458764321614525, "-1": 0.11235396166935846, "0": 0.4015400543822833, "1": 0.4205824781603146, "2": 0.05406474146642918}, "math_density": {"0": 0.9909607569967758, "1": 0.008106626827192384, "2": 0.00040447639978081584, "3": 0.00019491309529328288, "4": 0.00033322668095776066}, "code_density": {"0": 0.00039540851159844994, "1": 0.000776459982397355, "2": 0.01664801130041762, "3": 0.15377677783905316, "4": 0.8284033423665335}, "reasoning_density": {"0": 0.6837262434865287, "1": 0.12264885729220694, "2": 0.1401085361431492, "3": 0.03601743790003282, "4": 0.017498925178082284}, "education_level": {"none": 0.0012873669876674386, "0": 0.0020868576078649443, "1": 0.007415909133465433, "2": 0.2817632849053844, "3": 0.560325414421179, "4": 0.14712116694443875}, "creative_writing_quality": {"not_applicable": 0.9993856476714892, "-2": 8.721668201378556e-05, "-1": 0.00016820107309762142, "0": 0.00023716013901615608, "1": 9.145941086805715e-05, "2": 3.031502351525808e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 6.258217902855276e-05, "Art & Design": 0.0001187068882394971, "Law & Crime": 8.061716612917754e-05, "Education & Careers": 7.572722176116304e-05, "Entertainment & Media": 5.411577915351979e-05, "Fashion & Beauty": 5.62736533513993e-05, "Business, Economics & Finance": 0.00012297721204086677, "Food & Dining": 5.9259160344949086e-05, "Games & Gaming": 9.477953168566248e-05, "Electronics & Hardware": 0.0003940000398353136, "Health, Healthcare & Wellness": 4.9440924861036755e-05, "History & Geography": 8.34069030498031e-05, "Home, Pets & Hobbies": 6.354955098453012e-05, "Industry & Production": 9.43581745776389e-05, "Language, Literature & Philosophy": 7.037269878664061e-05, "Politics & Government": 3.997343086338665e-05, "Religion & Spirituality": 5.652833996006151e-05, "Science, Mathematics & Engineering": 0.00038521729592624367, "Relationships & Community": 4.012000978662551e-05, "Software Usage & Applications": 0.03285951088845283, "Programming & Software Engineering": 0.9636359287216455, "Sports & Fitness": 8.08933773907437e-05, "Vehicles & Transportation": 3.663544706350875e-05, "Travel & Tourism": 8.145062297761868e-05, "Other / Uncovered Subject": 0.0011825543128401157, "Unknown / Insufficient Content": 0.00012102046926359644}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.00047582741999483867, "Art & Design": 0.00037285327107676247, "Law & Crime": 0.00045484943743279654, "Education & Careers": 0.0003392608574406232, "Entertainment & Media": 0.0003313979375477739, "Fashion & Beauty": 0.0002277349727032721, "Business, Economics & Finance": 0.0005421205035680475, "Food & Dining": 0.00021370861681096126, "Games & Gaming": 0.0003135228684699427, "Electronics & Hardware": 0.0006740476772573361, "Health, Healthcare & Wellness": 0.00024759610486722926, "History & Geography": 0.0002571480656937491, "Home, Pets & Hobbies": 0.0002222906873128849, "Industry & Production": 0.00027080755300164293, "Language, Literature & Philosophy": 0.00020036817391773555, "Politics & Government": 0.00020506656718382387, "Religion & Spirituality": 0.00028665635752394387, "Science, Mathematics & Engineering": 0.0006468852184162237, "Relationships & Community": 0.00017248996779620554, "Software Usage & Applications": 0.1281031986409931, "Programming & Software Engineering": 0.08190351787526515, "Sports & Fitness": 0.00024433421314753876, "Vehicles & Transportation": 0.00012416405625918298, "Travel & Tourism": 0.0003735809647831525, "Other / Uncovered Subject": 0.0007350043035007179, "NONE": 0.7820615676880354}}, "probabilities": {"primary": {"Academic Writing": 6.603612994593039e-05, "Content Listing": 5.916979627671029e-05, "Creative Writing": 4.910419749229347e-05, "Customer Support Page": 4.290331343839786e-05, "Q&A Forum": 3.211587943642291e-05, "Discussion Thread": 2.4151441582629664e-05, "Comment Section": 4.5903711375959655e-05, "Missing Content": 5.7382513676950585e-05, "Knowledge Article": 0.0002993664830958575, "Legal Notices": 6.724709381693035e-05, "News Article": 1.5287890602857996e-05, "Organizational Announcement": 2.86705511379282e-05, "Nonfiction Writing": 2.744831421384018e-05, "Organizational About Page": 3.4266967763205524e-05, "Personal About Page": 3.011307485917813e-05, "Personal Blog": 2.1181951604181094e-05, "Product Page": 2.0141552814448402e-05, "Spam / Ads": 3.0470900464725318e-05, "Structured Data": 0.00028677197020312553, "Technical Writing": 0.9817301107305121, "Transcript / Interview": 4.6952999901856965e-05, "Tutorial / How-To Guide": 0.013887722307650743, "User Reviews": 2.0370095248963362e-05, "Other / Unknown": 0.00307711013288467}, "secondary": {"Academic Writing": 0.0003189739081794777, "Content Listing": 0.0002830847933140606, "Creative Writing": 0.0002514084414216159, "Customer Support Page": 0.0002878971062005384, "Q&A Forum": 0.0001490011730032979, "Discussion Thread": 0.00010247123990941635, "Comment Section": 0.0003015215738171952, "Missing Content": 0.0005888810087406245, "Knowledge Article": 0.001268843828480999, "Legal Notices": 0.0002997384290454371, "News Article": 0.00015910063565411525, "Organizational Announcement": 0.00015916065626276013, "Nonfiction Writing": 0.00014928300757128464, "Organizational About Page": 0.0001869610030925267, "Personal About Page": 0.00015535320580172576, "Personal Blog": 0.00015065751845408674, "Product Page": 0.00010752502943815199, "Spam / Ads": 0.00016178806958561174, "Structured Data": 0.001037515938465698, "Technical Writing": 0.03650275198052944, "Transcript / Interview": 0.00027276728096676937, "Tutorial / How-To Guide": 0.04263214899446225, "User Reviews": 9.579183253321026e-05, "NONE": 0.9143773733450697}, "tertiary": {"Academic Writing": 0.00019919241602750392, "Content Listing": 0.00022203990251466136, "Creative Writing": 0.0001725676857828528, "Customer Support Page": 0.00028667873306169556, "Q&A Forum": 8.576355555964767e-05, "Discussion Thread": 6.585660823474543e-05, "Comment Section": 0.00043062219432909814, "Missing Content": 0.0011139395796958998, "Knowledge Article": 0.002254330956127203, "Legal Notices": 0.00040920206219243746, "News Article": 9.667424616013495e-05, "Organizational Announcement": 9.800648958602268e-05, "Nonfiction Writing": 0.00011138460624729719, "Organizational About Page": 0.000144273522821118, "Personal About Page": 9.636955939170449e-05, "Personal Blog": 9.516964202359459e-05, "Product Page": 8.32327710385745e-05, "Spam / Ads": 0.00012192115562707048, "Structured Data": 0.0011514363735872272, "Technical Writing": 0.02087468960434774, "Transcript / Interview": 0.00019502966548798817, "Tutorial / How-To Guide": 0.028024623339095635, "User Reviews": 5.898142874103873e-05, "NONE": 0.9436080139023191}, "structured_records": {"false": 0.9710151833754948, "true": 0.028984816624505264}, "procedural_steps": {"false": 0.78016779676667, "true": 0.21983220323333003}, "worked_solution": {"false": 0.9977590796301256, "true": 0.002240920369874396}, "contextual_dialogue": {"false": 0.9999901214509955, "true": 9.878549004514553e-06}, "content_quality": {"-2": 0.012790364351928861, "-1": 0.07875933260995995, "0": 0.3251299221977517, "1": 0.442414138558929, "2": 0.1409062422814305}, "noise_severity": {"0": 0.9160648512600824, "1": 0.06468279911972816, "2": 0.016346030654547865, "3": 0.0021645339667020064, "4": 0.0007417849989396278}, "missing_content_severity": {"0": 0.9428370595701899, "1": 0.02798824389287501, "2": 0.020639205124704414, "3": 0.007612097354012629, "4": 0.000923394058218032}, "factual_density": {"0": 0.017967087882022698, "1": 0.06902309889361989, "2": 0.2590420900284895, "3": 0.37265010628620265, "4": 0.2813176169096653}, "pretraining_utility": {"-2": 0.011458764321614525, "-1": 0.11235396166935846, "0": 0.4015400543822833, "1": 0.4205824781603146, "2": 0.05406474146642918}, "math_density": {"0": 0.9909607569967758, "1": 0.008106626827192384, "2": 0.00040447639978081584, "3": 0.00019491309529328288, "4": 0.00033322668095776066}, "code_density": {"0": 0.00039540851159844994, "1": 0.000776459982397355, "2": 0.01664801130041762, "3": 0.15377677783905316, "4": 0.8284033423665335}, "reasoning_density": {"0": 0.6837262434865288, "1": 0.12264885729220695, "2": 0.14010853614314922, "3": 0.036017437900032825, "4": 0.017498925178082287}, "education_level": {"none": 0.0012873669876674386, "0": 0.0020868576078649443, "1": 0.007415909133465433, "2": 0.2817632849053844, "3": 0.560325414421179, "4": 0.14712116694443875}, "creative_writing_quality": {"not_applicable": 0.9993856476714892, "-2": 8.721668201378556e-05, "-1": 0.00016820107309762142, "0": 0.00023716013901615608, "1": 9.145941086805715e-05, "2": 3.031502351525808e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 6.258217902855276e-05, "Art & Design": 0.0001187068882394971, "Law & Crime": 8.061716612917754e-05, "Education & Careers": 7.572722176116304e-05, "Entertainment & Media": 5.411577915351979e-05, "Fashion & Beauty": 5.62736533513993e-05, "Business, Economics & Finance": 0.00012297721204086677, "Food & Dining": 5.9259160344949086e-05, "Games & Gaming": 9.477953168566248e-05, "Electronics & Hardware": 0.0003940000398353136, "Health, Healthcare & Wellness": 4.9440924861036755e-05, "History & Geography": 8.34069030498031e-05, "Home, Pets & Hobbies": 6.354955098453012e-05, "Industry & Production": 9.43581745776389e-05, "Language, Literature & Philosophy": 7.037269878664061e-05, "Politics & Government": 3.997343086338665e-05, "Religion & Spirituality": 5.652833996006151e-05, "Science, Mathematics & Engineering": 0.00038521729592624367, "Relationships & Community": 4.012000978662551e-05, "Software Usage & Applications": 0.03285951088845283, "Programming & Software Engineering": 0.9636359287216455, "Sports & Fitness": 8.08933773907437e-05, "Vehicles & Transportation": 3.663544706350875e-05, "Travel & Tourism": 8.145062297761868e-05, "Other / Uncovered Subject": 0.0011825543128401157, "Unknown / Insufficient Content": 0.00012102046926359644}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.00047582741999483867, "Art & Design": 0.00037285327107676247, "Law & Crime": 0.00045484943743279654, "Education & Careers": 0.0003392608574406232, "Entertainment & Media": 0.0003313979375477739, "Fashion & Beauty": 0.0002277349727032721, "Business, Economics & Finance": 0.0005421205035680475, "Food & Dining": 0.00021370861681096126, "Games & Gaming": 0.0003135228684699427, "Electronics & Hardware": 0.0006740476772573361, "Health, Healthcare & Wellness": 0.00024759610486722926, "History & Geography": 0.0002571480656937491, "Home, Pets & Hobbies": 0.0002222906873128849, "Industry & Production": 0.00027080755300164293, "Language, Literature & Philosophy": 0.00020036817391773555, "Politics & Government": 0.00020506656718382387, "Religion & Spirituality": 0.00028665635752394387, "Science, Mathematics & Engineering": 0.0006468852184162237, "Relationships & Community": 0.00017248996779620554, "Software Usage & Applications": 0.1281031986409931, "Programming & Software Engineering": 0.08190351787526515, "Sports & Fitness": 0.00024433421314753876, "Vehicles & Transportation": 0.00012416405625918298, "Travel & Tourism": 0.0003735809647831525, "Other / Uncovered Subject": 0.0007350043035007179, "NONE": 0.7820615676880354}}, "probability_diagnostics": {"primary": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "secondary": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "tertiary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "structured_records": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "procedural_steps": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "worked_solution": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "contextual_dialogue": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "content_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "noise_severity": {"raw_sum": 0.9999999999999998, "mass_delta": -2.220446049250313e-16, "missing_mass": 2.220446049250313e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "missing_content_severity": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "factual_density": {"raw_sum": 0.9999999999999998, "mass_delta": -2.220446049250313e-16, "missing_mass": 2.220446049250313e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "pretraining_utility": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "math_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "code_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "reasoning_density": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "education_level": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "creative_writing_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "primary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}}, "usage": {"input_tokens": 12103, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 12103, "cached_share": null, "cache_discount_reported": null, "reported_cost_usd": null}, "response_metadata": {"model": "decision-models/baseten-mammoth-27b-latest"}, "scored_at_utc": "2026-10-25T18:35:15.947774+00:00", "scoring_key_slot": "assistant_1", "dataset_uid": "d58bd10d-58e3-4224-99ca-961a5e2edc64", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "f3f8b2c4e037a9352a5c15f99ecce86b4d196b84710071940df478bfb7f9fd68", "source_metadata": {"uuid": "d58bd10d-58e3-4224-99ca-961a5e2edc64", "repo_name": "denizej/oracle-rman_dup_refresh", "relative_path": "rman_dup_refresh.sh", "category": "TOOL", "algo_rel_score": 0.989933431148529, "quality_score": 3.436783790588379, "source_meta": {"github_metadata": {"branch": "master", "commit_count": 15, "repo_created_at": "2017-10-31T11:00:14.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 3, "forks": 0, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "ee6ad5cdd08c7fab98a516a42b9de23b70c9c2f3", "size_bytes": 12839, "file_timestamp": 1597308932, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "9cb3d930f4aa965b976be9a84409d0c010606989"}}, "parsed_source_meta": {"github_metadata": {"branch": "master", "commit_count": 15, "repo_created_at": "2017-10-31T11:00:14.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 3, "forks": 0, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "ee6ad5cdd08c7fab98a516a42b9de23b70c9c2f3", "size_bytes": 12839, "file_timestamp": 1597308932, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "9cb3d930f4aa965b976be9a84409d0c010606989", "url": "https://github.com/denizej/oracle-rman_dup_refresh/blob/9cb3d930f4aa965b976be9a84409d0c010606989/rman_dup_refresh.sh"}, "gpt4o_tokens": 3556, "dataset_split": "shell", "probability_weighted_scores": {"content_quality": 0.6198865618079724, "noise_severity": 0.10683560232468842, "missing_content_severity": 0.09579652243719385, "factual_density": 2.8303280654478677, "pretraining_utility": 0.3934404707805854, "math_density": 0.010833225636464907, "code_density": 3.809016185566526, "reasoning_density": 0.580913943990933, "education_level": 2.8440647450490917, "creative_writing_quality": -0.3101558672178863}, "score_applicability": {"education_level": 0.9987126330123325, "creative_writing_quality": 0.0006143523285108783}} {"source_group": "shell", "source": "openbmb/UltraData-Stack-v3-L2/shell", "domain": "github.com", "language": "shell", "url": "https://github.com/ibalafkir/DiffPELE/blob/737742342e42d5061c2d84e00ce5f592c16d552e/bin/evaluate_models.sh", "id": "shell-0-9d5a16eac6e69348f12fa04734b5573d", "text": "#!/bin/bash\n\n# Description: From a PELE production simulation, get the poses with \n# low binding energies (BE) and compare to a native system using DockQ\n\n# Usage: bash script.sh /path/to/PELE/dir /path/to/native.pdb receptor_chains ligand_chains\n\n# ---------------------------------------------------------------\n\nset -e # Terminate if error\n\n\n# Function to extract a specific model from a trajectory PDB file\nextract_model() {\n local TRAJECTORY_PDB=\"$1\"\n local N_MODEL=\"$2\"\n local PELE_DIR=\"$3\"\n\n local TRAJECTORY_PDB_name=$(basename \"${TRAJECTORY_PDB%.*}\")\n local OUT=\"${PELE_DIR}/structure_evaluation/${TRAJECTORY_PDB_name}_model_${N_MODEL}.pdb\"\n\n awk -v num=\"$N_MODEL\" '\n $1 == \"MODEL\" && $2 == num { flag=1; next }\n flag && $1 == \"ENDMDL\" { flag=0; next }\n flag { print }\n' \"$TRAJECTORY_PDB\" > \"$OUT\"\n}\n\n\n# Parameters\nPELE_DIR=$(realpath \"$1\")\nNATIVE_PDB=$(realpath \"$2\")\nRECEPTOR_CHAINS=$3\nLIGAND_CHAINS=$4\n\n# Make output dir\nmkdir -p $PELE_DIR/structure_evaluation\n\n# Group directories and make output file\ncat $PELE_DIR/outPROD/0/rep* | awk '$5<-40' | sort -k5,5n | uniq | head -n 300\ncat $PELE_DIR/outPROD/0/rep* | awk '$1 == 1' | sort -k5,5n | uniq | head -n 300 > $PELE_DIR/structure_evaluation/reports.txt\necho \"You will be evaluating this number of poses:\"\ncat $PELE_DIR/structure_evaluation/reports.txt | wc -l\nNUM_MODEL=1\n\ntouch $PELE_DIR/structure_evaluation/dockq.txt\n\nwhile IFS= read -r accepted_step\ndo\n\n# Debug\necho \"Computing model number: ${NUM_MODEL}\"\n\n# Use accepted_step's metrics to get model to get\nacceptedStep=$(echo $accepted_step | awk '{print $3}')\nn_model=$((acceptedStep + 1))\n\n# Use accepted_step's metrics to find model to get path\nV6=$(echo \"$accepted_step\" | awk '{print $6}')\nV7=$(echo \"$accepted_step\" | awk '{print $7}')\nV8=$(echo \"$accepted_step\" | awk '{print $8}')\naccepted_step_path=$(grep -rl \"${V6} ${V7} ${V8}\" \"${PELE_DIR}/outPROD/0\" --include=\"rep*\" | head -n 1)\n\n# Get the trajectory number\nn_traj=\"${accepted_step_path##*_}\"\n\n# Extract model\nextract_model \"${PELE_DIR}/outPROD/0/trajectory_$n_traj.pdb\" $n_model $PELE_DIR\n\n# Indicate in dockq.txt that this is a new pose\necho \"New pose:\" >> $PELE_DIR/structure_evaluation/dockq.txt\n\n# Write PDB path in dockq.txt\necho \"${PELE_DIR}/structure_evaluation/trajectory_${n_traj}_model_${n_model}.pdb\" >> $PELE_DIR/structure_evaluation/dockq.txt\n\n# Write accepted_step's metrics in $PELE_DIR/structure_evaluation/dockq.txt\necho \"$accepted_step\" >> $PELE_DIR/structure_evaluation/dockq.txt\n\n# Run DockQ\n#dockq_result=$(DockQ \"${PELE_DIR}/structure_evaluation/trajectory_${n_traj}_model_${n_model}.pdb\" \"$NATIVE_PDB\" --short --mapping AB:AB | tail -n 1 | awk '{print $1, $2, $3, $4, $5, $6, $7, $8, $9, $10}') \ndockq_result=$(python /gpfs/scratch/bsc72/ismael/repos/DiffPELE/src/4_evaluate_models.py -pdb \"$NATIVE_PDB\" -mp \"${PELE_DIR}/structure_evaluation/trajectory_${n_traj}_model_${n_model}.pdb\" -rc $RECEPTOR_CHAINS -lc $LIGAND_CHAINS)\n\n# Write DockQ output in $PELE_DIR/structure_evaluation/dockq.txt\necho $dockq_result >> $PELE_DIR/structure_evaluation/dockq.txt\n\n# Write space\t\necho \" \" >> $PELE_DIR/structure_evaluation/dockq.txt\t\n\n# Increase count for next model\n((NUM_MODEL++)) # Increment the counter\n\n# Print from time to time\nif (( NUM_MODEL % 50 == 0 )); then\ncat $PELE_DIR/structure_evaluation/dockq.txt\nfi\n\n\ndone < $PELE_DIR/structure_evaluation/reports.txt\n\n# Calculate baseline and DockQ and Fnats of DiffPELE models\nfnats=$(cat $PELE_DIR/structure_evaluation/dockq.txt | grep 'fnat' | awk '{print $8}' | sort -nr | awk '{printf (NR==1 ? \"%s\" : \",%s\"), $0}')\ndockq=$(cat $PELE_DIR/structure_evaluation/dockq.txt | grep 'DockQ' | awk '{print $2}' | sort -nr | awk '{printf (NR==1 ? \"%s\" : \",%s\"), $0}')\nbinding=$(cat $PELE_DIR/structure_evaluation/dockq.txt | awk '{print $5}' | awk '$1<0' | awk 'NF' | sort -n | awk '{printf (NR==1 ? \"%s\" : \",%s\"), $0}')\nfnats=$(cat $PELE_DIR/structure_evaluation/dockq.txt | grep 'fnat' | awk '{print $8}' | awk '{printf (NR==1 ? \"%s\" : \",%s\"), $0}')\ntotal=$(cat $PELE_DIR/structure_evaluation/dockq.txt | awk '{print $4}' | awk '$1<0' | awk 'NF' | sort -n | awk '{printf (NR==1 ? \"%s\" : \",%s\"), $0}')\n\n# Append results\necho \" \" >> $PELE_DIR/structure_evaluation/dockq.txt\necho \" \" >> $PELE_DIR/structure_evaluation/dockq.txt\necho \"Fnats:\" >> $PELE_DIR/structure_evaluation/dockq.txt\necho $fnats >> $PELE_DIR/structure_evaluation/dockq.txt\necho \" \" >> $PELE_DIR/structure_evaluation/dockq.txt\necho \"DockQ:\" >> $PELE_DIR/structure_evaluation/dockq.txt\necho $dockq >> $PELE_DIR/structure_evaluation/dockq.txt\necho \"Binding ene:\" >> $PELE_DIR/structure_evaluation/dockq.txt\necho $binding >> $PELE_DIR/structure_evaluation/dockq.txt\necho \" \" >> $PELE_DIR/structure_evaluation/dockq.txt\necho \"Total ene:\" >> $PELE_DIR/structure_evaluation/dockq.txt\necho $total >> $PELE_DIR/structure_evaluation/dockq.txt\n", "text_preview": "#!/bin/bash # Description: From a PELE production simulation, get the poses with # low binding energies (BE) and compare to a native system using DockQ # Usage: bash script.sh /path/to/PELE/dir /path/to/native.pdb receptor_chains ligand_cha", "input_sha256": "ea8683182f797db34b3a88d15a4f777aa7367b1c4662ec7f26e165bbface41cd", "text_sha256": "9d5a16eac6e69348f12fa04734b5573d04087609cb5b69921d4d7928835005b2", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 20097, "input_policy": "text-and-optional-url-v1", "label_policy_version": 12, "requested_model": "decision-models/baseten-mammoth-27b-latest", "backend": "baseten", "endpoint": "https://inference.baseten.co/v1/systemone", "status": "needs_review", "training_eligible": false, "label": null, "candidate_label": {"primary": {"main_format": "Technical Writing", "sub_format": null}, "secondary": null, "tertiary": null, "content_structure": []}, "topic": {"primary": {"main_topic": "Programming & Software Engineering", "sub_topic": null}, "secondary": {"main_topic": "Science, Mathematics & Engineering", "sub_topic": null}}, "scores": {"content_quality": 1, "noise_severity": 0, "missing_content_severity": 0, "factual_density": 3, "pretraining_utility": 1, "math_density": 0, "code_density": 4, "reasoning_density": 0, "education_level": 3, "creative_writing_quality": null}, "score_expectations": {"content_quality": 0.5731451736369187, "noise_severity": 0.042771970852801044, "missing_content_severity": 0.0063106173423349635, "factual_density": 2.9793394589908355, "pretraining_utility": 0.3947449035097183, "math_density": 0.533611729413929, "code_density": 3.7322746118197556, "reasoning_density": 0.4132958140350409, "education_level": 3.026300189612305, "creative_writing_quality": -0.3119933892899091}, "api_choices": {"primary": "Technical Writing", "secondary": "NONE", "tertiary": "NONE", "education_level": "3", "creative_writing_quality": "not_applicable", "primary_topic": "Programming & Software Engineering", "secondary_topic": "Science, Mathematics & Engineering"}, "review_reasons": ["secondary_topic probability 0.4882 below 0.70"], "format_slot_diagnostics": {"comparable": true, "secondary_tertiary_identical": false, "secondary_tertiary_max_abs_gap": 0.02489818431613866, "secondary_choice": "NONE", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.9846985300088437, "secondary": 0.9066236209621368, "tertiary": 0.932604335031151, "structured_records": 0.003641966954723317, "procedural_steps": 0.16946828845554185, "worked_solution": 0.0038988724420545994, "contextual_dialogue": 5.526884602466451e-06, "content_quality": 0.46053822504892905, "noise_severity": 0.9643566909559992, "missing_content_severity": 0.9947411522147208, "factual_density": 0.38973765071469246, "pretraining_utility": 0.39750014274769196, "math_density": 0.5553235588217258, "code_density": 0.7768955098497963, "reasoning_density": 0.6555868216374661, "education_level": 0.38633830510731826, "creative_writing_quality": 0.9990183613998159, "primary_topic": 0.8181226841527665, "secondary_topic": 0.46775511620882115}, "probability_margin": {"primary": 0.9754837927681277, "secondary": 0.869115726084316, "tertiary": 0.90074638122988, "education_level": 0.21630280037116423, "creative_writing_quality": 0.9987922781265155, "primary_topic": 0.6631605452324272, "secondary_topic": 0.20191235951920877}, "raw_probabilities": {"primary": {"Academic Writing": 0.00026414841408661, "Content Listing": 5.30415848226242e-05, "Creative Writing": 3.954611897151888e-05, "Customer Support Page": 3.276608297110136e-05, "Q&A Forum": 3.412928700921172e-05, "Discussion Thread": 2.3288394685783033e-05, "Comment Section": 3.343641834500942e-05, "Missing Content": 4.521344182634728e-05, "Knowledge Article": 0.00023032140578058602, "Legal Notices": 4.790900296074579e-05, "News Article": 1.5788526695680205e-05, "Organizational Announcement": 2.8222810745967945e-05, "Nonfiction Writing": 3.3803836649973e-05, "Organizational About Page": 3.563088568426192e-05, "Personal About Page": 3.029881816627703e-05, "Personal Blog": 1.870412434592591e-05, "Product Page": 1.9566538734559386e-05, "Spam / Ads": 2.7811647991686847e-05, "Structured Data": 0.00036192474864404233, "Technical Writing": 0.9853360912584752, "Transcript / Interview": 4.931244122780041e-05, "Tutorial / How-To Guide": 0.009852298490347503, "User Reviews": 2.087630875130217e-05, "Other / Unknown": 0.0033658694120802363}, "secondary": {"Academic Writing": 0.004130678645743519, "Content Listing": 0.0002668654586996286, "Creative Writing": 0.00027706302651983556, "Customer Support Page": 0.0002739355749011061, "Q&A Forum": 0.00017366160899846925, "Discussion Thread": 0.00011749932727348083, "Comment Section": 0.00024140943375704763, "Missing Content": 0.00034199472778000914, "Knowledge Article": 0.001544184389802489, "Legal Notices": 0.000271458998655948, "News Article": 0.00016427437158538289, "Organizational Announcement": 0.00017046599303669247, "Nonfiction Writing": 0.0001941553252022531, "Organizational About Page": 0.00020757078828628154, "Personal About Page": 0.00016986198369477808, "Personal Blog": 0.00015188498962489334, "Product Page": 0.00011986965362271902, "Spam / Ads": 0.00016187813734170624, "Structured Data": 0.001244147415224603, "Technical Writing": 0.037520247955059274, "Transcript / Interview": 0.00023818304463274064, "Tutorial / How-To Guide": 0.041398577337731786, "User Reviews": 0.00010582839077763421, "NONE": 0.9105143034220478}, "tertiary": {"Academic Writing": 0.003349752747514824, "Content Listing": 0.00016636944696692485, "Creative Writing": 0.0001639110730846456, "Customer Support Page": 0.00020190065941599523, "Q&A Forum": 8.366015968926799e-05, "Discussion Thread": 6.409668062873849e-05, "Comment Section": 0.0001725820889582734, "Missing Content": 0.00034259193301960716, "Knowledge Article": 0.0014673548944212989, "Legal Notices": 0.00024719887263204644, "News Article": 0.0001004288185769196, "Organizational Announcement": 0.00011056651050609715, "Nonfiction Writing": 0.00014606044269271923, "Organizational About Page": 0.00013025291270479092, "Personal About Page": 9.456411559718907e-05, "Personal Blog": 9.607096484459903e-05, "Product Page": 7.919251437725094e-05, "Spam / Ads": 0.00010597796444694577, "Structured Data": 0.0015268149461151507, "Technical Writing": 0.021052421307127835, "Transcript / Interview": 0.00015782510535638218, "Tutorial / How-To Guide": 0.03466610650830642, "User Reviews": 6.181159482968042e-05, "NONE": 0.9354124877381864}, "structured_records": {"false": 0.9963580330452767, "true": 0.003641966954723317}, "procedural_steps": {"false": 0.8305317115444582, "true": 0.16946828845554185}, "worked_solution": {"false": 0.9961011275579454, "true": 0.0038988724420545994}, "contextual_dialogue": {"false": 0.9999944731153976, "true": 5.526884602466451e-06}, "content_quality": {"-2": 0.01138949665983817, "-1": 0.08586980320990642, "0": 0.33119638175285593, "1": 0.46129466658829754, "2": 0.110249651789102}, "noise_severity": {"0": 0.9626780335552044, "1": 0.033215320062894474, "2": 0.0031242492121147766, "3": 0.0006214363134678023, "4": 0.0003609608563183997}, "missing_content_severity": {"0": 0.9953393516047575, "1": 0.0034654437871432797, "2": 0.0008222896581317642, "3": 0.00029106556094226895, "4": 8.184938902533752e-05}, "factual_density": {"0": 0.014444902420612816, "1": 0.06333702123900999, "2": 0.20647893033590844, "3": 0.3599120069378666, "4": 0.35582713906660207}, "pretraining_utility": {"-2": 0.010876706178074999, "-1": 0.1138092549951155, "0": 0.4038788340720696, "1": 0.41256283864849586, "2": 0.05887236610624396}, "math_density": {"0": 0.6525679933085295, "1": 0.24755675368103155, "2": 0.047061488060498737, "3": 0.01932306018786095, "4": 0.033490704762079285}, "code_density": {"0": 0.00040171502282571113, "1": 0.000909349058095349, "2": 0.02544789582526757, "3": 0.2124946892641204, "4": 0.7607463508296909}, "reasoning_density": {"0": 0.7836493802134583, "1": 0.08392154214090145, "2": 0.0845916857029369, "3": 0.031158667282547507, "4": 0.01667872466015577}, "education_level": {"none": 0.000935979428301108, "0": 0.0016470787459815443, "1": 0.004606410786437991, "2": 0.23188282289824638, "3": 0.4886152542560986, "4": 0.27231245388493436}, "creative_writing_quality": {"not_applicable": 0.9991819678331799, "-2": 0.00010705465918367041, "-1": 0.00019824728965524535, "0": 0.0003896897066643688, "1": 8.894504288563344e-05, "2": 3.4095468431276005e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 0.0002836731073621732, "Art & Design": 0.0005165292867262585, "Law & Crime": 0.00045640010976618413, "Education & Careers": 0.0002669318499546197, "Entertainment & Media": 0.0002803948211260291, "Fashion & Beauty": 0.00026164363017671787, "Business, Economics & Finance": 0.000293534330835846, "Food & Dining": 0.0003024284162620335, "Games & Gaming": 0.00035437503413808665, "Electronics & Hardware": 0.0003566136141414938, "Health, Healthcare & Wellness": 0.0013723849128024002, "History & Geography": 0.0005486493436503768, "Home, Pets & Hobbies": 0.00021412289662005787, "Industry & Production": 0.0003799277672510311, "Language, Literature & Philosophy": 0.00030299308878958256, "Politics & Government": 0.0001470897255873925, "Religion & Spirituality": 0.0002571312000899074, "Science, Mathematics & Engineering": 0.16195742029907897, "Relationships & Community": 0.00012456695132318518, "Software Usage & Applications": 0.0024262574806277488, "Programming & Software Engineering": 0.8251179655315062, "Sports & Fitness": 0.000319012822289989, "Vehicles & Transportation": 0.00015491970119973516, "Travel & Tourism": 0.0003209733756818974, "Other / Uncovered Subject": 0.0025899633566814143, "Unknown / Insufficient Content": 0.00039409734633062725}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0006501580597486808, "Art & Design": 0.0007439256320029423, "Law & Crime": 0.000630375691576878, "Education & Careers": 0.00039986566642878684, "Entertainment & Media": 0.000464709717442322, "Fashion & Beauty": 0.00040627749900433674, "Business, Economics & Finance": 0.0004952440545444018, "Food & Dining": 0.000382815036610258, "Games & Gaming": 0.00042331109559756106, "Electronics & Hardware": 0.0006597126325839498, "Health, Healthcare & Wellness": 0.0011567754961156168, "History & Geography": 0.0004526612204824755, "Home, Pets & Hobbies": 0.00033134193086700975, "Industry & Production": 0.0004886902259737645, "Language, Literature & Philosophy": 0.0002833611664233276, "Politics & Government": 0.0002672730717298191, "Religion & Spirituality": 0.00047875091913822257, "Science, Mathematics & Engineering": 0.48822607327771267, "Relationships & Community": 0.00016815753836825722, "Software Usage & Applications": 0.014154300826023277, "Programming & Software Engineering": 0.20011168584479747, "Sports & Fitness": 0.0004169581676411398, "Vehicles & Transportation": 0.00022214796107749868, "Travel & Tourism": 0.00046564910291969024, "Other / Uncovered Subject": 0.0012060644066857673, "NONE": 0.2863137137585039}}, "probabilities": {"primary": {"Academic Writing": 0.00026414841408661, "Content Listing": 5.30415848226242e-05, "Creative Writing": 3.954611897151888e-05, "Customer Support Page": 3.276608297110136e-05, "Q&A Forum": 3.412928700921172e-05, "Discussion Thread": 2.3288394685783033e-05, "Comment Section": 3.343641834500942e-05, "Missing Content": 4.521344182634728e-05, "Knowledge Article": 0.00023032140578058602, "Legal Notices": 4.790900296074579e-05, "News Article": 1.5788526695680205e-05, "Organizational Announcement": 2.8222810745967945e-05, "Nonfiction Writing": 3.3803836649973e-05, "Organizational About Page": 3.563088568426192e-05, "Personal About Page": 3.029881816627703e-05, "Personal Blog": 1.870412434592591e-05, "Product Page": 1.9566538734559386e-05, "Spam / Ads": 2.7811647991686847e-05, "Structured Data": 0.00036192474864404233, "Technical Writing": 0.9853360912584752, "Transcript / Interview": 4.931244122780041e-05, "Tutorial / How-To Guide": 0.009852298490347503, "User Reviews": 2.087630875130217e-05, "Other / Unknown": 0.0033658694120802363}, "secondary": {"Academic Writing": 0.004130678645743519, "Content Listing": 0.0002668654586996286, "Creative Writing": 0.00027706302651983556, "Customer Support Page": 0.0002739355749011061, "Q&A Forum": 0.00017366160899846925, "Discussion Thread": 0.00011749932727348083, "Comment Section": 0.00024140943375704763, "Missing Content": 0.00034199472778000914, "Knowledge Article": 0.001544184389802489, "Legal Notices": 0.000271458998655948, "News Article": 0.00016427437158538289, "Organizational Announcement": 0.00017046599303669247, "Nonfiction Writing": 0.0001941553252022531, "Organizational About Page": 0.00020757078828628154, "Personal About Page": 0.00016986198369477808, "Personal Blog": 0.00015188498962489334, "Product Page": 0.00011986965362271902, "Spam / Ads": 0.00016187813734170624, "Structured Data": 0.001244147415224603, "Technical Writing": 0.037520247955059274, "Transcript / Interview": 0.00023818304463274064, "Tutorial / How-To Guide": 0.041398577337731786, "User Reviews": 0.00010582839077763421, "NONE": 0.9105143034220478}, "tertiary": {"Academic Writing": 0.003349752747514824, "Content Listing": 0.00016636944696692485, "Creative Writing": 0.0001639110730846456, "Customer Support Page": 0.00020190065941599523, "Q&A Forum": 8.366015968926799e-05, "Discussion Thread": 6.409668062873849e-05, "Comment Section": 0.0001725820889582734, "Missing Content": 0.00034259193301960716, "Knowledge Article": 0.0014673548944212989, "Legal Notices": 0.00024719887263204644, "News Article": 0.0001004288185769196, "Organizational Announcement": 0.00011056651050609715, "Nonfiction Writing": 0.00014606044269271923, "Organizational About Page": 0.00013025291270479092, "Personal About Page": 9.456411559718907e-05, "Personal Blog": 9.607096484459903e-05, "Product Page": 7.919251437725094e-05, "Spam / Ads": 0.00010597796444694577, "Structured Data": 0.0015268149461151507, "Technical Writing": 0.021052421307127835, "Transcript / Interview": 0.00015782510535638218, "Tutorial / How-To Guide": 0.03466610650830642, "User Reviews": 6.181159482968042e-05, "NONE": 0.9354124877381864}, "structured_records": {"false": 0.9963580330452767, "true": 0.003641966954723317}, "procedural_steps": {"false": 0.8305317115444582, "true": 0.16946828845554185}, "worked_solution": {"false": 0.9961011275579454, "true": 0.0038988724420545994}, "contextual_dialogue": {"false": 0.9999944731153976, "true": 5.526884602466451e-06}, "content_quality": {"-2": 0.01138949665983817, "-1": 0.08586980320990642, "0": 0.33119638175285593, "1": 0.46129466658829754, "2": 0.110249651789102}, "noise_severity": {"0": 0.9626780335552045, "1": 0.03321532006289448, "2": 0.003124249212114777, "3": 0.0006214363134678024, "4": 0.0003609608563183998}, "missing_content_severity": {"0": 0.9953393516047573, "1": 0.003465443787143279, "2": 0.000822289658131764, "3": 0.0002910655609422689, "4": 8.18493890253375e-05}, "factual_density": {"0": 0.014444902420612818, "1": 0.06333702123901, "2": 0.20647893033590847, "3": 0.3599120069378667, "4": 0.3558271390666021}, "pretraining_utility": {"-2": 0.010876706178075, "-1": 0.11380925499511552, "0": 0.40387883407206965, "1": 0.4125628386484959, "2": 0.05887236610624397}, "math_density": {"0": 0.6525679933085295, "1": 0.24755675368103155, "2": 0.047061488060498737, "3": 0.01932306018786095, "4": 0.033490704762079285}, "code_density": {"0": 0.0004017150228257112, "1": 0.0009093490580953491, "2": 0.025447895825267575, "3": 0.21249468926412043, "4": 0.760746350829691}, "reasoning_density": {"0": 0.7836493802134584, "1": 0.08392154214090146, "2": 0.08459168570293692, "3": 0.03115866728254751, "4": 0.016678724660155773}, "education_level": {"none": 0.000935979428301108, "0": 0.0016470787459815443, "1": 0.004606410786437991, "2": 0.23188282289824638, "3": 0.4886152542560986, "4": 0.27231245388493436}, "creative_writing_quality": {"not_applicable": 0.9991819678331797, "-2": 0.00010705465918367039, "-1": 0.0001982472896552453, "0": 0.0003896897066643687, "1": 8.894504288563342e-05, "2": 3.4095468431276e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 0.00028367310736217326, "Art & Design": 0.0005165292867262586, "Law & Crime": 0.0004564001097661842, "Education & Careers": 0.00026693184995461974, "Entertainment & Media": 0.00028039482112602915, "Fashion & Beauty": 0.0002616436301767179, "Business, Economics & Finance": 0.00029353433083584605, "Food & Dining": 0.00030242841626203356, "Games & Gaming": 0.0003543750341380867, "Electronics & Hardware": 0.0003566136141414939, "Health, Healthcare & Wellness": 0.0013723849128024004, "History & Geography": 0.0005486493436503769, "Home, Pets & Hobbies": 0.0002141228966200579, "Industry & Production": 0.00037992776725103116, "Language, Literature & Philosophy": 0.0003029930887895826, "Politics & Government": 0.00014708972558739254, "Religion & Spirituality": 0.00025713120008990744, "Science, Mathematics & Engineering": 0.161957420299079, "Relationships & Community": 0.0001245669513231852, "Software Usage & Applications": 0.002426257480627749, "Programming & Software Engineering": 0.8251179655315063, "Sports & Fitness": 0.00031901282228998906, "Vehicles & Transportation": 0.00015491970119973518, "Travel & Tourism": 0.00032097337568189743, "Other / Uncovered Subject": 0.0025899633566814147, "Unknown / Insufficient Content": 0.0003940973463306273}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0006501580597486808, "Art & Design": 0.0007439256320029423, "Law & Crime": 0.000630375691576878, "Education & Careers": 0.00039986566642878684, "Entertainment & Media": 0.000464709717442322, "Fashion & Beauty": 0.00040627749900433674, "Business, Economics & Finance": 0.0004952440545444018, "Food & Dining": 0.000382815036610258, "Games & Gaming": 0.00042331109559756106, "Electronics & Hardware": 0.0006597126325839498, "Health, Healthcare & Wellness": 0.0011567754961156168, "History & Geography": 0.0004526612204824755, "Home, Pets & Hobbies": 0.00033134193086700975, "Industry & Production": 0.0004886902259737645, "Language, Literature & Philosophy": 0.0002833611664233276, "Politics & Government": 0.0002672730717298191, "Religion & Spirituality": 0.00047875091913822257, "Science, Mathematics & Engineering": 0.48822607327771267, "Relationships & Community": 0.00016815753836825722, "Software Usage & Applications": 0.014154300826023277, "Programming & Software Engineering": 0.20011168584479747, "Sports & Fitness": 0.0004169581676411398, "Vehicles & Transportation": 0.00022214796107749868, "Travel & Tourism": 0.00046564910291969024, "Other / Uncovered Subject": 0.0012060644066857673, "NONE": 0.2863137137585039}}, "probability_diagnostics": {"primary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "tertiary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "structured_records": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "procedural_steps": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "worked_solution": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "contextual_dialogue": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "content_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "noise_severity": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "missing_content_severity": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "factual_density": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "pretraining_utility": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "math_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "code_density": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "reasoning_density": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "education_level": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "creative_writing_quality": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "primary_topic": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}}, "usage": {"input_tokens": 10051, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 10051, "cached_share": null, "cache_discount_reported": null, "reported_cost_usd": null}, "response_metadata": {"model": "decision-models/baseten-mammoth-27b-latest"}, "scored_at_utc": "2026-10-25T18:35:16.359980+00:00", "scoring_key_slot": "primary", "dataset_uid": "feb70157-e898-4e1c-9224-91e54741b2cb", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "5f5e7ac84439249ecca4629a263707180d7cae26fda0367c20cb22131fd1701f", "source_metadata": {"uuid": "feb70157-e898-4e1c-9224-91e54741b2cb", "repo_name": "ibalafkir/DiffPELE", "relative_path": "bin/evaluate_models.sh", "category": "DATA", "algo_rel_score": 0.9959275126457214, "quality_score": 4.048561096191406, "source_meta": {"github_metadata": {"branch": "main", "commit_count": 113, "repo_created_at": "2024-12-15T20:48:06.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 0, "forks": 0, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "eb8aae0e7c948107e9905e130ecc6cd5804627b5", "size_bytes": 4882, "file_timestamp": 1743090593, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "737742342e42d5061c2d84e00ce5f592c16d552e"}}, "parsed_source_meta": {"github_metadata": {"branch": "main", "commit_count": 113, "repo_created_at": "2024-12-15T20:48:06.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 0, "forks": 0, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "eb8aae0e7c948107e9905e130ecc6cd5804627b5", "size_bytes": 4882, "file_timestamp": 1743090593, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "737742342e42d5061c2d84e00ce5f592c16d552e", "url": "https://github.com/ibalafkir/DiffPELE/blob/737742342e42d5061c2d84e00ce5f592c16d552e/bin/evaluate_models.sh"}, "gpt4o_tokens": 1564, "dataset_split": "shell", "probability_weighted_scores": {"content_quality": 0.5731451736369187, "noise_severity": 0.042771970852801044, "missing_content_severity": 0.006310617342334964, "factual_density": 2.9793394589908355, "pretraining_utility": 0.3947449035097183, "math_density": 0.533611729413929, "code_density": 3.7322746118197556, "reasoning_density": 0.4132958140350409, "education_level": 3.026300189612305, "creative_writing_quality": -0.3119933892899091}, "score_applicability": {"education_level": 0.9990640205716989, "creative_writing_quality": 0.0008180321668201938}} {"source_group": "shell", "source": "openbmb/UltraData-Stack-v3-L2/shell", "domain": "github.com", "language": "shell", "url": "https://github.com/nevermined-io/tools/blob/847e4c8f89c80d9d8ce6a4e574eaa6f20ebc61e5/scripts/setup_compute_stack.sh", "id": "shell-0-9eba1fb08f453f7bbfb62fdd17691163", "text": "#!/usr/bin/env bash\nset -eo pipefail\n\nexport LC_ALL=en_US.UTF-8\n\n__PWD=$PWD\n__DIR=\"$( cd \"$( dirname \"${BASH_SOURCE[0]}\" )\" >/dev/null 2>&1 && pwd )\"\n__PARENT_DIR=$(dirname $__DIR)\n\n\nif [[ -f $__DIR/constants.rc ]]; then\n echo -e \"Loading config from $__DIR/constants.rc\"\n set -o allexport\n source $__DIR/constants.rc\n set +o allexport\nfi\n\nMINIKUBE_VERSION=${MINIKUBE_VERSION:-v1.27.1}\nKUBERNETES_VERSION=${KUBERNETES_VERSION:-1.21.2}\nARGO_WORKFLOWS_VERSION=${ARGO_WORKFLOWS_VERSION:-3.4.1}\nINSTALL_KUBECTL=${INSTALL_KUBECTL:-false}\nINSTALL_MINIKUBE=${INSTALL_MINIKUBE:-true}\nINSTALL_ARGO=${INSTALL_ARGO:-true}\nINSTALL_HELM=${INSTALL_HELM:-true}\nMINIKUBE_RECREATE=${MINIKUBE_RECREATE:-true}\nSTART_MINIKUBE=${START_MINIKUBE:-true}\nCONFIGURE_K8S_COMPUTE=${CONFIGURE_K8S_COMPUTE:-true}\nCOMPUTE_NAMESPACE=${COMPUTE_NAMESPACE:-nvm-disc}\n\nMINIKUBE_HOME=\"/usr/local/bin\"\nMINIKUBE_CMD=\"$MINIKUBE_HOME/minikube start --kubernetes-version=v$KUBERNETES_VERSION --mount=true --mount-string=$__PARENT_DIR/accounts:/accounts --driver=docker --network=host\"\n\nK=\"kubectl\"\nSUDO=\"\"\n\nPLATFORM=$(uname)\nARCH=$(uname -m)\n\nif [[ $PLATFORM == $LINUX ]]; then\n OS_NAME=$(cat /etc/os-release | awk -F '=' '/^NAME/{print $2}' | awk '{print $1}' | tr -d '\"')\n if [[ $OS_NAME =~ (Ubuntu|Debian) ]]; then\n DIST_TYPE=\"Ubuntu\"\n elif [[ $OS_NAME =~ (CentOS|Fedora|Red Hat) ]]; then\n DIST_TYPE=\"CentOS\"\n fi\nfi\nremove_unnecesary_contracts() {\n rm -f \"${KEEPER_ARTIFACTS_FOLDER}/!(|*.${KEEPER_NETWORK_NAME}.json|ready|)\"\n}\n\nmain() {\n\n echo -e \"${COLOR_M}\"waiting for artifacts migration. This script should only be started after nevermined-tools\"${COLOR_RESET}\"\n eval $__DIR/wait_for_migration_keeper_artifacts.sh\n\n if [ \"$INSTALL_KUBECTL\" = true ]; then\n install_kubectl\n else\n K=\"minikube kubectl --\"\n alias K=$K\n alias kubectl=$K\n fi\n\n if [ \"$INSTALL_MINIKUBE\" = true ]; then\n install_minikube\n fi\n\n if [ \"$INSTALL_HELM\" = true ]; then\n install_helm\n fi\n\n if [ \"$START_MINIKUBE\" = true ]; then\n set_minikube_parameters\n if [ \"$MINIKUBE_RECREATE\" = true ]; then\n reset_minikube\n else\n echo -e \"Skipping minikube re-install by MINIKUBE_RECREATE env variable\"\n fi\n start_minikube\n fi\n\n if ! $K get namespace $COMPUTE_NAMESPACE; then\n echo -e \"Creating namespace $COMPUTE_NAMESPACE\"\n $K create namespace $COMPUTE_NAMESPACE\n fi\n\n if [ \"$INSTALL_ARGO\" = true ]; then\n install_argo\n fi\n\n if [ \"$CONFIGURE_K8S_COMPUTE\" = true ]; then\n configure_nevermined_compute\n fi\n\n}\n\n\n#### Functions\n\n\n# Set minikube startup parameters\nset_minikube_parameters() {\n MINIKUBE_CMD=$MINIKUBE_CMD\n}\n\n\ninstall_kubectl() {\n\n # Installing kubectl if needed\n if ! [ -x \"$(command -v kubectl)\" ]; then\n echo -e \"${COLOR_Y}Installing kubectl...${COLOR_RESET}\"\n if [[ $PLATFORM == $OSX ]]; then\n\n if [ \"$INSTALL_KUBECTL\" = true ]; then\n brew install kubectl\n fi\n\n elif [[ $PLATFORM == $LINUX ]]; then\n\n if [[ $DIST_TYPE == \"Ubuntu\" ]]; then\n sudo swapoff -a\n sudo systemctl enable docker.service\n sudo apt-get update && sudo apt-get install -y apt-transport-https ca-certificates curl software-properties-common gnupg2\n #curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add -\n curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add -\n echo \"deb https://apt.kubernetes.io/ kubernetes-xenial main\" | sudo tee -a /etc/apt/sources.list.d/kubernetes.list\n sudo apt-get update\n sudo apt-get install -y kubectl socat conntrack kubeadm kubelet keepalived\n sudo apt-get install qemu-kvm libvirt-daemon-system libvirt-clients bridge-utils virtinst\n sudo bash -c \"echo 1 > /proc/sys/net/bridge/bridge-nf-call-iptables\"\n sudo sysctl net.bridge.bridge-nf-call-iptables=1\n\n\n elif [[ $DIST_TYPE == \"CentOS\" ]]; then\n cp $__DIR/.kubenetes.repo /etc/yum.repos.d/kubernetes.repo\n sudo yum install -y kubectl socat conntrack kubeadm\n sudo bash -c \"echo 1 > /proc/sys/net/bridge/bridge-nf-call-iptables\"\n fi\n\n sudo addgroup libvirtd\n sudo adduser `id -un` kvm\n sudo adduser `id -un` libvirtd\n virsh list --all\n fi\n\n echo -e \"${COLOR_G}[OK]${COLOR_RESET}\"\n fi\n\n}\n\ninstall_minikube() {\n\n # Installing minikube if needed\n if ! [ -x \"$(command -v minikube)\" ] ; then\n echo -e \"${COLOR_Y}Installing minikube...${COLOR_RESET}\"\n if [[ $PLATFORM == $OSX ]]; then\n if [[ $ARCH == \"arm64\" ]]; then\n \techo -e \"Installing version for arm64...\"\n \tcurl -Lo minikube https://storage.googleapis.com/minikube/releases/$MINIKUBE_VERSION/minikube-darwin-arm64 && chmod +x minikube && mv minikube $MINIKUBE_HOME\n else\n \tcurl -Lo minikube https://storage.googleapis.com/minikube/releases/$MINIKUBE_VERSION/minikube-darwin-amd64 && chmod +x minikube && mv minikube $MINIKUBE_HOME\n fi\t\n elif [[ $PLATFORM == $LINUX ]]; then\n curl -Lo minikube https://storage.googleapis.com/minikube/releases/$MINIKUBE_VERSION/minikube-linux-amd64 && chmod +x minikube && sudo mv minikube $MINIKUBE_HOME\n fi\n\n minikube start\n\n # Temporary fix to be able to mount volumes\n $K -n kube-system patch pod storage-provisioner --patch '{\"spec\": {\"containers\": [{\"name\": \"storage-provisioner\",\"image\": \"gcr.io/k8s-minikube/storage-provisioner:latest\"}]}}'\n $K apply -f $__DIR/admin-user.yaml\n $SUDO $MINIKUBE_HOME/minikube config set ShowBootstrapperDeprecationNotification false &&\n $SUDO $MINIKUBE_HOME/minikube config set WantUpdateNotification false &&\n $SUDO $MINIKUBE_HOME/minikube config set WantReportErrorPrompt false &&\n $SUDO $MINIKUBE_HOME/minikube config set WantKubectlDownloadMsg false\n echo -e \"${COLOR_G}\"Notice: minikube was successfully installed\"${COLOR_RESET}\"\n fi\n\n}\n\nstart_minikube() {\n\n # start minikube with desired settings\n echo -e \"${COLOR_M}\"minikube will now try to start the local k8s cluster\"${COLOR_RESET}\"\n $MINIKUBE_CMD\n\n minikube_status=$($SUDO $MINIKUBE_HOME/minikube status | grep 'host:' | awk '{print $2}')\n\n if [[ $minikube_status == \"Running\" ]]; then\n echo -e \"\\n${COLOR_G}Minikube is up and Running!${COLOR_RESET}\\n\"\n else\n echo -e \"${COLOR_R}Unable to start minikube. Please see errors above${COLOR_RESET}\"\n return 1\n fi\n}\n\ninstall_argo() {\n \n if ! [ -x \"$(command -v argo)\" ]; then\n echo -e \"${COLOR_Y}Installing Argo...${COLOR_RESET}\"\n helm install -n $COMPUTE_NAMESPACE argo-workflows argo/argo-workflows \n \n # Create Token\n $K create role argo-workflow --verb=list,get,create,update,delete,watch --resource=workflows.argoproj.io -n $COMPUTE_NAMESPACE\n $K create role argo-workflow-pods --verb=list,get,watch --resource=pods -n $COMPUTE_NAMESPACE\n $K create role argo-workflow-pods-log --verb=list,get,watch --resource=pods/log -n $COMPUTE_NAMESPACE\n\n $K create sa argo-workflow -n $COMPUTE_NAMESPACE\n $K create rolebinding argo-workflow --role=argo-workflow --serviceaccount=$COMPUTE_NAMESPACE:argo-workflow -n $COMPUTE_NAMESPACE\n $K create rolebinding argo-workflow-pods --role=argo-workflow-pods --serviceaccount=$COMPUTE_NAMESPACE:argo-workflow -n $COMPUTE_NAMESPACE\n $K create rolebinding argo-workflow-pods-log --role=argo-workflow-pods-log --serviceaccount=$COMPUTE_NAMESPACE:argo-workflow -n $COMPUTE_NAMESPACE\n\n $K apply -f $__DIR/tokensecret.yaml -n $COMPUTE_NAMESPACE\n ARGO_TOKEN=\"Bearer $($K -n $COMPUTE_NAMESPACE get secret argo-workflow.service-account-token -o=jsonpath='{.data.token}' | base64 --decode)\"\n fi\n\n}\n\ninstall_helm() {\n\n if ! [ -x \"$(command -v helm)\" ]; then\n echo -e \"${COLOR_Y}Installing helm...${COLOR_RESET}\"\n if [[ $PLATFORM == $OSX ]]; then\n brew install helm\n elif [[ $PLATFORM == $LINUX ]]; then\n curl -fsSL -o /tmp/get_helm.sh https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3\n chmod 700 /tmp/get_helm.sh\n /tmp/get_helm.sh\n fi\n fi\n \n helm repo add argo https://argoproj.github.io/argo-helm\n helm repo add stable https://charts.helm.sh/stable\n helm repo update\n\n helm version\n\n}\n\nreset_minikube() {\n\n echo -e \"Stop and delete previous minikube instance\"\n\n if [ -x \"$(command -v minikube)\" ] ; then\n minikube_status=$($SUDO $MINIKUBE_HOME/minikube status | grep 'host:' | awk '{print $2}') || echo -e \"Minikube is not running\"\n\n if [[ $minikube_status == \"Running\" ]]; then\n \t echo -e \"${COLOR_C}First, we need to stop existing minikube...${COLOR_RESET}\"\n $SUDO $MINIKUBE_HOME/minikube stop\n $SUDO minikube delete\n fi\n\n echo -e \"${COLOR_C}Delete existing k8s cluster...${COLOR_RESET}\"\n $SUDO $MINIKUBE_HOME/minikube delete\n\n fi\n}\n\n\nconfigure_nevermined_compute() {\n\n echo -e \"${COLOR_B}Configuring Nevermined Compute...${COLOR_RESET}\"\n\n\n if ! $K get namespace $COMPUTE_NAMESPACE; then\n echo -e \"Creating namespace $COMPUTE_NAMESPACE\"\n $K create namespace $COMPUTE_NAMESPACE\n fi\n\n # Install MinIO\n helm install -n $COMPUTE_NAMESPACE compute-minio stable/minio --set fullnameOverride=compute-minio --set resources.requests.memory=1Gi\n $K -n $COMPUTE_NAMESPACE get services -o wide | grep compute-minio\n echo -e \"${COLOR_G}\"Notice: compute-minio was successfully installed\"${COLOR_RESET}\"\n\n if ! $K get -n $COMPUTE_NAMESPACE rolebinding default-admin; then\n echo -e \"Granting admin privileges\"\n $K create -n $COMPUTE_NAMESPACE clusterrolebinding cluster-argo-admin --clusterrole=admin --serviceaccount=$COMPUTE_NAMESPACE:argo\n $K create -n $COMPUTE_NAMESPACE rolebinding default-admin --clusterrole=admin --serviceaccount=$COMPUTE_NAMESPACE:default\n $K create -n $COMPUTE_NAMESPACE rolebinding argo-server --clusterrole=admin --serviceaccount=$COMPUTE_NAMESPACE:argo-server\n $K create -n $COMPUTE_NAMESPACE clusterrolebinding cluster-admin-argo --clusterrole=cluster-admin --serviceaccount=$COMPUTE_NAMESPACE:argo-server\n fi\n\n # create a secret with host docker credentials\n $K -n $COMPUTE_NAMESPACE create secret generic regcred \\\n --from-file=.dockerconfigjson=$HOME/.docker/config.json \\\n --type=kubernetes.io/dockerconfigjson\n\n # make sure the service account exists\n $K -n $COMPUTE_NAMESPACE create serviceaccount default || true\n\n sleep 10\n\n # set secret as default for downloading docker images on the default serviceaccount\n $K -n $COMPUTE_NAMESPACE patch serviceaccount default -p '{\"imagePullSecrets\": [{\"name\": \"regcred\"}]}'\n\n $K -n $COMPUTE_NAMESPACE wait --for=condition=ready pod -l app.kubernetes.io/name=argo-workflows-server --timeout=300s\n $K -n $COMPUTE_NAMESPACE port-forward deployment/argo-workflows-server 2746:2746 &\n\n $K -n $COMPUTE_NAMESPACE wait --for=condition=ready pod -l app=minio --timeout=300s\n $K -n $COMPUTE_NAMESPACE port-forward --address 0.0.0.0 deployment/compute-minio 8060:9000 &\n echo \"Use this token to login to argo workflows\"\n echo $ARGO_TOKEN\n \n echo -e \"${COLOR_G}Argo Workflows at: http://localhost:2746/workflows/ ${COLOR_RESET}\\n\"\n echo -e \"${COLOR_G}Minio at: http://localhost:8060 ${COLOR_RESET}\\n\"\n\n echo -e \"${COLOR_B}Mounting Minikube Volume /nevermined-artifacts from folder ${KEEPER_ARTIFACTS_FOLDER} ...${COLOR_RESET}\"\n $SUDO minikube mount ${KEEPER_ARTIFACTS_FOLDER}:/nevermined-artifacts\n\n}\n\nmain \"$@\"\n", "text_preview": "#!/usr/bin/env bash set -eo pipefail export LC_ALL=en_US.UTF-8 __PWD=$PWD __DIR=\"$( cd \"$( dirname \"${BASH_SOURCE[0]}\" )\" >/dev/null 2>&1 && pwd )\" __PARENT_DIR=$(dirname $__DIR) if [[ -f $__DIR/constants.rc ]]; then echo -e \"Loading config", "input_sha256": "6439c34cda66711d09829675b5e2306814826174e2021220f433cc4b4b147212", "text_sha256": "9eba1fb08f453f7bbfb62fdd17691163940adbacde3ec4656d458fc35226e305", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 20095, "input_policy": "text-and-optional-url-v1", "label_policy_version": 12, "requested_model": "decision-models/baseten-mammoth-27b-latest", "backend": "baseten", "endpoint": "https://inference.baseten.co/v1/systemone", "status": "ok", "training_eligible": true, "label": {"primary": {"main_format": "Technical Writing", "sub_format": null}, "secondary": null, "tertiary": null, "content_structure": []}, "candidate_label": null, "topic": {"primary": {"main_topic": "Programming & Software Engineering", "sub_topic": null}, "secondary": null}, "scores": {"content_quality": 1, "noise_severity": 0, "missing_content_severity": 0, "factual_density": 4, "pretraining_utility": 1, "math_density": 0, "code_density": 4, "reasoning_density": 0, "education_level": 3, "creative_writing_quality": null}, "score_expectations": {"content_quality": 0.5710334474276808, "noise_severity": 0.03119734791366392, "missing_content_severity": 0.022331131502079556, "factual_density": 3.310024758467356, "pretraining_utility": 0.5412417249446556, "math_density": 0.002719467444427864, "code_density": 3.881006563174744, "reasoning_density": 0.606187042041914, "education_level": 2.838257912773313, "creative_writing_quality": -0.330760338256485}, "api_choices": {"primary": "Technical Writing", "secondary": "NONE", "tertiary": "NONE", "education_level": "3", "creative_writing_quality": "not_applicable", "primary_topic": "Programming & Software Engineering", "secondary_topic": "NONE"}, "review_reasons": [], "format_slot_diagnostics": {"comparable": true, "secondary_tertiary_identical": false, "secondary_tertiary_max_abs_gap": 0.034142879696098305, "secondary_choice": "NONE", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.9558408511049737, "secondary": 0.9073367501705245, "tertiary": 0.9429641028968879, "structured_records": 0.004659685735855483, "procedural_steps": 0.45615542876695536, "worked_solution": 0.0015094401435616148, "contextual_dialogue": 4.840109826387625e-06, "content_quality": 0.44474798966739704, "noise_severity": 0.9740022100719468, "missing_content_severity": 0.9813907237482671, "factual_density": 0.4250206320561297, "pretraining_utility": 0.5025831563810342, "math_density": 0.9977337771296434, "code_density": 0.9008388026456198, "reasoning_density": 0.49484413163173835, "education_level": 0.5524223001616607, "creative_writing_quality": 0.9993145719602463, "primary_topic": 0.9376574146707572, "secondary_topic": 0.7232021425538186}, "probability_margin": {"primary": 0.9209360948567878, "secondary": 0.8608338500302676, "tertiary": 0.9130003793432528, "education_level": 0.3679781965034458, "creative_writing_quality": 0.9992040625328295, "primary_topic": 0.8826558818046009, "secondary_topic": 0.539501800550952}, "raw_probabilities": {"primary": {"Academic Writing": 0.00011056063681148885, "Content Listing": 9.451658236676389e-05, "Creative Writing": 7.207468738737246e-05, "Customer Support Page": 8.480721918590799e-05, "Q&A Forum": 4.9384747014888756e-05, "Discussion Thread": 4.2510483324719505e-05, "Comment Section": 7.751397502083163e-05, "Missing Content": 7.385337308449862e-05, "Knowledge Article": 0.00021651738895889583, "Legal Notices": 7.268494947988061e-05, "News Article": 3.284429280049042e-05, "Organizational Announcement": 5.514641525204029e-05, "Nonfiction Writing": 5.197909012129602e-05, "Organizational About Page": 6.477365824510873e-05, "Personal About Page": 4.185537090485288e-05, "Personal Blog": 3.2867088014010924e-05, "Product Page": 3.741368531014849e-05, "Spam / Ads": 5.419386103674969e-05, "Structured Data": 0.00022637677962834252, "Technical Writing": 0.9576808156422665, "Transcript / Interview": 7.334981799000968e-05, "Tutorial / How-To Guide": 0.036744720785478635, "User Reviews": 3.34646467809468e-05, "Other / Unknown": 0.0039757748235355285}, "secondary": {"Academic Writing": 0.00030795740464023335, "Content Listing": 0.0002233022031854504, "Creative Writing": 0.0002266557692894463, "Customer Support Page": 0.00029055505183999276, "Q&A Forum": 0.00012874558341241047, "Discussion Thread": 9.389550613197472e-05, "Comment Section": 0.00023989557153912793, "Missing Content": 0.0003182767905847638, "Knowledge Article": 0.0010539401990388472, "Legal Notices": 0.0002242267505877543, "News Article": 0.0001717931025552166, "Organizational Announcement": 0.00015819395984827006, "Nonfiction Writing": 0.0001409821484313735, "Organizational About Page": 0.00018040835785665423, "Personal About Page": 0.00012167592592451213, "Personal Blog": 0.00012947333173828128, "Product Page": 0.00010346754507651855, "Spam / Ads": 0.00016360080701910898, "Structured Data": 0.0012955985929022124, "Technical Writing": 0.03258677224007904, "Transcript / Interview": 0.0001929254627066413, "Tutorial / How-To Guide": 0.05036386888315165, "User Reviews": 8.606989904133439e-05, "NONE": 0.9111977189134193}, "tertiary": {"Academic Writing": 0.00014929497985490778, "Content Listing": 0.00010879666007743693, "Creative Writing": 0.00010501364132377741, "Customer Support Page": 0.00018801308507745656, "Q&A Forum": 4.732906837065946e-05, "Discussion Thread": 4.377649085465381e-05, "Comment Section": 0.00013960185350021833, "Missing Content": 0.0003214312279472916, "Knowledge Article": 0.0014593020131670918, "Legal Notices": 0.00026844088383410497, "News Article": 7.468587073217306e-05, "Organizational Announcement": 8.239271070353567e-05, "Nonfiction Writing": 8.218188696982359e-05, "Organizational About Page": 0.00010575741417459884, "Personal About Page": 5.7010455435815496e-05, "Personal Blog": 6.0667147500689235e-05, "Product Page": 5.7449320404733315e-05, "Spam / Ads": 8.627590686363805e-05, "Structured Data": 0.0017105657724662952, "Technical Writing": 0.017040960325726686, "Transcript / Interview": 9.336784729286085e-05, "Tutorial / How-To Guide": 0.03234021926626471, "User Reviews": 3.686756193926231e-05, "NONE": 0.9453405986095176}, "structured_records": {"false": 0.9953403142641445, "true": 0.004659685735855483}, "procedural_steps": {"false": 0.5438445712330446, "true": 0.45615542876695536}, "worked_solution": {"false": 0.9984905598564384, "true": 0.0015094401435616148}, "contextual_dialogue": {"false": 0.9999951598901736, "true": 4.840109826387625e-06}, "content_quality": {"-2": 0.013485936799888286, "-1": 0.08852559089892599, "0": 0.33012549028820454, "1": 0.4491950520995791, "2": 0.11866792991340215}, "noise_severity": {"0": 0.9729809156832185, "1": 0.024062981036837554, "2": 0.0020905352468584054, "3": 0.0005089757492335525, "4": 0.00035659228385222653}, "missing_content_severity": {"0": 0.9856731022476652, "1": 0.007988993859314831, "2": 0.00493339916505538, "3": 0.0011426795992041786, "4": 0.00026182512876035777}, "factual_density": {"0": 0.0032369795054325466, "1": 0.007741973247460188, "2": 0.10898858584768721, "3": 0.4358242320731592, "4": 0.4442082293262609}, "pretraining_utility": {"-2": 0.010054957503014838, "-1": 0.07919335214519686, "0": 0.3392776668996134, "1": 0.5024030548084676, "2": 0.06907096864370724}, "math_density": {"0": 0.9978949053612175, "1": 0.0017704562789770553, "2": 0.00015363832886555536, "3": 8.226561603994925e-05, "4": 9.873441489996252e-05}, "code_density": {"0": 0.0002859516103526277, "1": 0.0005337428812125681, "2": 0.009142021293005367, "3": 0.0979643591541973, "4": 0.8920739250612321}, "reasoning_density": {"0": 0.637719408601319, "1": 0.16612900195095187, "2": 0.1607854301028337, "3": 0.02297745749428675, "4": 0.012388701850608606}, "education_level": {"none": 0.0008582035145069172, "0": 0.0013740707296826485, "1": 0.0033831452561623974, "2": 0.2590403869646048, "3": 0.6270185834680506, "4": 0.1083256100669925}, "creative_writing_quality": {"not_applicable": 0.9994288099668719, "-2": 8.876141884824363e-05, "-1": 0.00014861650292748052, "0": 0.00022474743404242998, "1": 8.09170225625036e-05, "2": 2.8147654747612363e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 6.283173727668821e-05, "Art & Design": 0.00010667661988114786, "Law & Crime": 0.00010161608274179547, "Education & Careers": 7.409935831564305e-05, "Entertainment & Media": 6.35607082206668e-05, "Fashion & Beauty": 5.77159584332806e-05, "Business, Economics & Finance": 0.00016672515219608844, "Food & Dining": 6.291946290459727e-05, "Games & Gaming": 0.00010643552703101045, "Electronics & Hardware": 0.00024606846604149555, "Health, Healthcare & Wellness": 6.698323246494323e-05, "History & Geography": 9.190926554474683e-05, "Home, Pets & Hobbies": 6.762399373984837e-05, "Industry & Production": 0.0001295699540911538, "Language, Literature & Philosophy": 6.995890097351377e-05, "Politics & Government": 4.772566392580502e-05, "Religion & Spirituality": 5.562422933847714e-05, "Science, Mathematics & Engineering": 0.0004665450440416003, "Relationships & Community": 3.614551409849571e-05, "Software Usage & Applications": 0.05739932460958889, "Programming & Software Engineering": 0.9400552064141897, "Sports & Fitness": 8.113292851109239e-05, "Vehicles & Transportation": 3.795947932944595e-05, "Travel & Tourism": 7.70622744608175e-05, "Other / Uncovered Subject": 0.000189943891827812, "Unknown / Insufficient Content": 7.863553083121188e-05}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.000638209776326427, "Art & Design": 0.00048641051946778286, "Law & Crime": 0.0006733093470718308, "Education & Careers": 0.0003991086655999231, "Entertainment & Media": 0.0004521077076288941, "Fashion & Beauty": 0.0002906035908924985, "Business, Economics & Finance": 0.0008178821038190491, "Food & Dining": 0.0002658335171407061, "Games & Gaming": 0.00037694438846537845, "Electronics & Hardware": 0.0011345220865908222, "Health, Healthcare & Wellness": 0.0003467529405131565, "History & Geography": 0.0003288737958940723, "Home, Pets & Hobbies": 0.0003035540590569974, "Industry & Production": 0.00037440675651285966, "Language, Literature & Philosophy": 0.00021673134077073987, "Politics & Government": 0.00025546510014552243, "Religion & Spirituality": 0.00034430624470360005, "Science, Mathematics & Engineering": 0.002602723910061726, "Relationships & Community": 0.00018538040479793157, "Software Usage & Applications": 0.19434641344310444, "Programming & Software Engineering": 0.05966880414324351, "Sports & Fitness": 0.00026470976943207943, "Vehicles & Transportation": 0.00015505451162794344, "Travel & Tourism": 0.00043333868543763695, "Other / Uncovered Subject": 0.0007903391976380786, "NONE": 0.7338482139940564}}, "probabilities": {"primary": {"Academic Writing": 0.00011056063681148886, "Content Listing": 9.45165823667639e-05, "Creative Writing": 7.207468738737247e-05, "Customer Support Page": 8.4807219185908e-05, "Q&A Forum": 4.938474701488876e-05, "Discussion Thread": 4.251048332471951e-05, "Comment Section": 7.751397502083164e-05, "Missing Content": 7.385337308449864e-05, "Knowledge Article": 0.00021651738895889585, "Legal Notices": 7.268494947988062e-05, "News Article": 3.284429280049043e-05, "Organizational Announcement": 5.51464152520403e-05, "Nonfiction Writing": 5.1979090121296024e-05, "Organizational About Page": 6.477365824510874e-05, "Personal About Page": 4.1855370904852884e-05, "Personal Blog": 3.286708801401093e-05, "Product Page": 3.7413685310148496e-05, "Spam / Ads": 5.41938610367497e-05, "Structured Data": 0.00022637677962834255, "Technical Writing": 0.9576808156422666, "Transcript / Interview": 7.334981799000969e-05, "Tutorial / How-To Guide": 0.03674472078547864, "User Reviews": 3.3464646780946804e-05, "Other / Unknown": 0.003975774823535529}, "secondary": {"Academic Writing": 0.00030795740464023335, "Content Listing": 0.0002233022031854504, "Creative Writing": 0.0002266557692894463, "Customer Support Page": 0.00029055505183999276, "Q&A Forum": 0.00012874558341241047, "Discussion Thread": 9.389550613197472e-05, "Comment Section": 0.00023989557153912793, "Missing Content": 0.0003182767905847638, "Knowledge Article": 0.0010539401990388472, "Legal Notices": 0.0002242267505877543, "News Article": 0.0001717931025552166, "Organizational Announcement": 0.00015819395984827006, "Nonfiction Writing": 0.0001409821484313735, "Organizational About Page": 0.00018040835785665423, "Personal About Page": 0.00012167592592451213, "Personal Blog": 0.00012947333173828128, "Product Page": 0.00010346754507651855, "Spam / Ads": 0.00016360080701910898, "Structured Data": 0.0012955985929022124, "Technical Writing": 0.03258677224007904, "Transcript / Interview": 0.0001929254627066413, "Tutorial / How-To Guide": 0.05036386888315165, "User Reviews": 8.606989904133439e-05, "NONE": 0.9111977189134193}, "tertiary": {"Academic Writing": 0.00014929497985490778, "Content Listing": 0.00010879666007743693, "Creative Writing": 0.00010501364132377741, "Customer Support Page": 0.00018801308507745656, "Q&A Forum": 4.732906837065946e-05, "Discussion Thread": 4.377649085465381e-05, "Comment Section": 0.00013960185350021833, "Missing Content": 0.0003214312279472916, "Knowledge Article": 0.0014593020131670918, "Legal Notices": 0.00026844088383410497, "News Article": 7.468587073217306e-05, "Organizational Announcement": 8.239271070353567e-05, "Nonfiction Writing": 8.218188696982359e-05, "Organizational About Page": 0.00010575741417459884, "Personal About Page": 5.7010455435815496e-05, "Personal Blog": 6.0667147500689235e-05, "Product Page": 5.7449320404733315e-05, "Spam / Ads": 8.627590686363805e-05, "Structured Data": 0.0017105657724662952, "Technical Writing": 0.017040960325726686, "Transcript / Interview": 9.336784729286085e-05, "Tutorial / How-To Guide": 0.03234021926626471, "User Reviews": 3.686756193926231e-05, "NONE": 0.9453405986095176}, "structured_records": {"false": 0.9953403142641445, "true": 0.004659685735855483}, "procedural_steps": {"false": 0.5438445712330446, "true": 0.45615542876695536}, "worked_solution": {"false": 0.9984905598564384, "true": 0.0015094401435616148}, "contextual_dialogue": {"false": 0.9999951598901736, "true": 4.840109826387625e-06}, "content_quality": {"-2": 0.013485936799888286, "-1": 0.08852559089892599, "0": 0.33012549028820454, "1": 0.4491950520995791, "2": 0.11866792991340215}, "noise_severity": {"0": 0.9729809156832183, "1": 0.024062981036837548, "2": 0.002090535246858405, "3": 0.0005089757492335524, "4": 0.0003565922838522265}, "missing_content_severity": {"0": 0.9856731022476652, "1": 0.007988993859314831, "2": 0.00493339916505538, "3": 0.0011426795992041786, "4": 0.00026182512876035777}, "factual_density": {"0": 0.0032369795054325466, "1": 0.007741973247460188, "2": 0.10898858584768721, "3": 0.4358242320731592, "4": 0.4442082293262609}, "pretraining_utility": {"-2": 0.01005495750301484, "-1": 0.07919335214519688, "0": 0.3392776668996135, "1": 0.5024030548084677, "2": 0.06907096864370725}, "math_density": {"0": 0.9978949053612175, "1": 0.0017704562789770553, "2": 0.00015363832886555536, "3": 8.226561603994925e-05, "4": 9.873441489996252e-05}, "code_density": {"0": 0.00028595161035262776, "1": 0.0005337428812125682, "2": 0.009142021293005368, "3": 0.09796435915419731, "4": 0.8920739250612322}, "reasoning_density": {"0": 0.637719408601319, "1": 0.16612900195095187, "2": 0.1607854301028337, "3": 0.02297745749428675, "4": 0.012388701850608606}, "education_level": {"none": 0.0008582035145069173, "0": 0.0013740707296826487, "1": 0.003383145256162398, "2": 0.25904038696460485, "3": 0.6270185834680507, "4": 0.10832561006699251}, "creative_writing_quality": {"not_applicable": 0.9994288099668717, "-2": 8.876141884824362e-05, "-1": 0.0001486165029274805, "0": 0.00022474743404242992, "1": 8.091702256250358e-05, "2": 2.8147654747612356e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 6.283173727668821e-05, "Art & Design": 0.00010667661988114786, "Law & Crime": 0.00010161608274179547, "Education & Careers": 7.409935831564305e-05, "Entertainment & Media": 6.35607082206668e-05, "Fashion & Beauty": 5.77159584332806e-05, "Business, Economics & Finance": 0.00016672515219608844, "Food & Dining": 6.291946290459727e-05, "Games & Gaming": 0.00010643552703101045, "Electronics & Hardware": 0.00024606846604149555, "Health, Healthcare & Wellness": 6.698323246494323e-05, "History & Geography": 9.190926554474683e-05, "Home, Pets & Hobbies": 6.762399373984837e-05, "Industry & Production": 0.0001295699540911538, "Language, Literature & Philosophy": 6.995890097351377e-05, "Politics & Government": 4.772566392580502e-05, "Religion & Spirituality": 5.562422933847714e-05, "Science, Mathematics & Engineering": 0.0004665450440416003, "Relationships & Community": 3.614551409849571e-05, "Software Usage & Applications": 0.05739932460958889, "Programming & Software Engineering": 0.9400552064141897, "Sports & Fitness": 8.113292851109239e-05, "Vehicles & Transportation": 3.795947932944595e-05, "Travel & Tourism": 7.70622744608175e-05, "Other / Uncovered Subject": 0.000189943891827812, "Unknown / Insufficient Content": 7.863553083121188e-05}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.000638209776326427, "Art & Design": 0.00048641051946778286, "Law & Crime": 0.0006733093470718308, "Education & Careers": 0.0003991086655999231, "Entertainment & Media": 0.0004521077076288941, "Fashion & Beauty": 0.0002906035908924985, "Business, Economics & Finance": 0.0008178821038190491, "Food & Dining": 0.0002658335171407061, "Games & Gaming": 0.00037694438846537845, "Electronics & Hardware": 0.0011345220865908222, "Health, Healthcare & Wellness": 0.0003467529405131565, "History & Geography": 0.0003288737958940723, "Home, Pets & Hobbies": 0.0003035540590569974, "Industry & Production": 0.00037440675651285966, "Language, Literature & Philosophy": 0.00021673134077073987, "Politics & Government": 0.00025546510014552243, "Religion & Spirituality": 0.00034430624470360005, "Science, Mathematics & Engineering": 0.002602723910061726, "Relationships & Community": 0.00018538040479793157, "Software Usage & Applications": 0.19434641344310444, "Programming & Software Engineering": 0.05966880414324351, "Sports & Fitness": 0.00026470976943207943, "Vehicles & Transportation": 0.00015505451162794344, "Travel & Tourism": 0.00043333868543763695, "Other / Uncovered Subject": 0.0007903391976380786, "NONE": 0.7338482139940564}}, "probability_diagnostics": {"primary": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "tertiary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "structured_records": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "procedural_steps": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "worked_solution": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "contextual_dialogue": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "content_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "noise_severity": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "missing_content_severity": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "factual_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "pretraining_utility": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "math_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "code_density": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "reasoning_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "education_level": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "creative_writing_quality": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "primary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}}, "usage": {"input_tokens": 11834, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 11834, "cached_share": null, "cache_discount_reported": null, "reported_cost_usd": null}, "response_metadata": {"model": "decision-models/baseten-mammoth-27b-latest"}, "scored_at_utc": "2026-10-25T18:35:16.606547+00:00", "scoring_key_slot": "assistant_1", "dataset_uid": "c1fe3f0c-6f11-485c-b9ef-b22b8bf064b3", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "99769a5c2a6d108d5e3a7de17ffe9ecc6390b1d67a079cf13eb32d3ad8e1c146", "source_metadata": {"uuid": "c1fe3f0c-6f11-485c-b9ef-b22b8bf064b3", "repo_name": "nevermined-io/tools", "relative_path": "scripts/setup_compute_stack.sh", "category": "TOOL", "algo_rel_score": 0.9918992519378662, "quality_score": 3.694718837738037, "source_meta": {"github_metadata": {"branch": "master", "commit_count": 356, "repo_created_at": "2020-04-20T09:41:22.000Z", "is_fork": false, "is_org_owned": true, "forked_from": null, "stars": 3, "forks": 1, "issues": 1, "pull_requests": 2}, "file_meta": {"content_id": "b96a3241591d39ad89748fd438bb681855722cea", "size_bytes": 11303, "file_timestamp": 1669903265, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "847e4c8f89c80d9d8ce6a4e574eaa6f20ebc61e5"}}, "parsed_source_meta": {"github_metadata": {"branch": "master", "commit_count": 356, "repo_created_at": "2020-04-20T09:41:22.000Z", "is_fork": false, "is_org_owned": true, "forked_from": null, "stars": 3, "forks": 1, "issues": 1, "pull_requests": 2}, "file_meta": {"content_id": "b96a3241591d39ad89748fd438bb681855722cea", "size_bytes": 11303, "file_timestamp": 1669903265, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "847e4c8f89c80d9d8ce6a4e574eaa6f20ebc61e5", "url": "https://github.com/nevermined-io/tools/blob/847e4c8f89c80d9d8ce6a4e574eaa6f20ebc61e5/scripts/setup_compute_stack.sh"}, "gpt4o_tokens": 3295, "dataset_split": "shell", "probability_weighted_scores": {"content_quality": 0.5710334474276808, "noise_severity": 0.03119734791366392, "missing_content_severity": 0.022331131502079556, "factual_density": 3.310024758467356, "pretraining_utility": 0.5412417249446555, "math_density": 0.002719467444427864, "code_density": 3.881006563174744, "reasoning_density": 0.606187042041914, "education_level": 2.838257912773313, "creative_writing_quality": -0.330760338256485}, "score_applicability": {"education_level": 0.9991417964854932, "creative_writing_quality": 0.0005711900331282699}} {"source_group": "shell", "source": "openbmb/UltraData-Stack-v3-L2/shell", "domain": "github.com", "language": "shell", "url": "https://github.com/FNNDSC/scripts/blob/8cf04e226562d825b792eb854f90188cc88b5e1d/nmr-fs", "id": "shell-0-d836fd95553365da9366decf4b64787f", "text": "#!/bin/bash\n\n#ensure 'getopts' works with 'source' command\nOPTIND=1\n\nG_VERSION=\"stable\"\nG_REVISION=\"\"\nGb_revisionSet=0\nG_SYNOPSIS=\"\n\n NAME\n \n nmr-fs\n \n SYNOPSIS\n \n nmr-fs [] []\n \n ARGS\n \n (Default \\\"$G_VERSION\\\")\n Source the FreeSurfer environment for the given version.\n\n\t (No default)\n\tSpecify an optional revision of the version. This is only necessary when \n\tmultiple revisions of a given version exist, for example in the case of \n\tthe 'stable' version there might be revision '5.0.0', '5.1.0', and '5.2' \n\tinstalled concurrently on the system. If the is not \n\tspecified, the environment will default to whatever has been configured\n\tas the default revsion for a given version. This default will have been\n\tsetup by the system administrator.\n \n DESCRIPTION\n \n 'nmr-fs' is a simple script to easily source different environments \n for FreeSurfer, localized for the MGH Martinos NMR center as well as\n\tthe Partners HPC cluster.\n \n If called without any arguments, it will setup the current default\n version of FreeSurfer for this system, which has been \n configured here as \\\"$G_VERSION$G_REVISION\\\".\n \n NB!\n \n To have variables set by this script to be valid in the caller (i.e.\n parent's scope), this script *must* be sourced and not executed. That \n means instead of typing:\n \n $>nmr-fs stable\n \n to setup the FreeSurfer stable enviroment, you have to type:\n \n $>. nmr-fs stable\n \n note the dot '.' at the beginning! Without this dot, the specified\n FreeSurfer environment will NOT be initialized.\n \n HISTORY\n \n Apr 01 2013\n o Adapted from 'chb-fs'. \n \n\"\nfunction synopsis_show\n{\n # ARGS\n # $1 in (opt) if passed, exit to shell\n # passing code $1.\n echo \"USAGE:\"\n echo \"$G_SYNOPSIS\"\n if (( $# == 1 )) ; then exit $1 ; fi\n}\n\n# This handles the following:\n# -x : show help and exit\n# 1st command ling arg : set G_VERSION\n# if exist 2nd arg : set G_REVISION\n# additional args : show help and exit\nif (( $# <= 2 )) ; then\n if [[ $1 == \"-x\" ]] ; then synopsis_show 1; fi\n if (( ${#1} )) ; then G_VERSION=$1; fi\n if (( $#==2 )) ; then G_REVISION=$2; fi\nelse\n synopsis_show 1\nfi\n\necho \"version: $G_VERSION\"\n\nif [[ $G_VERSION == \"dev\" ]] ; then\n echo \"+----------+\"\n echo \"| WARNING! |____________________________________________\" \n echo \"+------------------------------------------------------+\"\n echo \"| You have chosen the FreeSurfer developer version. |\"\n echo \"| Be aware that this version of FreeSurfer might be |\"\n echo \"| possibly unstable, with new and untested features. |\"\n echo \"| The 'dev' version also changes without announcement. |\"\n echo \"| |\"\n echo \"| Do NOT use this version for production or analysis |\"\n echo \"| work. |\"\n echo \"| |\"\n echo \"| Unless you are a developer writing FreeSurfer code |\"\n echo \"| you probably don't want to use this. Use the |\" \n echo \"| 'stable' version instead. |\"\n echo \"+------------------------------------------------------+\"\n echo \"\"\nfi\n\nif (( ${#G_REVISION} )) ; then\n echo \"revision: $G_REVISION\"\n G_REVISION=\"-$G_REVISION\" # This is because installs on the filesystem\n # are -.\nelse\n echo \"revision: -system default-\"\nfi\n\nOS=$(uname -a | awk '{print $1}')\necho \"Host type is $HOSTTYPE-${OS}\"\n\nexport PACKAGEDIR=/usr/pubsw/packages\nexport FSL_DIR=${PACKAGEDIR}/fsl/current\nexport SUBJECTS_DIR=$(pwd)\nexport FREESURFER=/usr/local/freesurfer\nexport FREESURFER_HOME=${FREESURFER}/stable\nENV=nmr\n\nif (( $(hostname | grep eris | wc -l) || $(hostname | grep cmu | wc -l) )) ; then\n\tmodule load gcc-4.4\n\tmodule load java-1.6_18\n\tmodule load python-2.6\n\tmodule load fftw-3.2.2\n\t#module load freesurfer/freesurfer_5.2\n\texport FREESURFER=~/arch/x86_64-Linux/packages/freesurfer\n\techo $FREESURFER\n\tENV=erisone\n\texport FSL_DIR=/source/fsl-4.1.9/Install/fsl\nfi\necho $FREESURFER\nsource ${FREESURFER}/${G_VERSION}${G_REVISION}/SetUpFreeSurfer.sh\nsource ${FSL_DIR}/etc/fslconf/fsl.sh\nunset TCLLIBPATH\nunset TCL_LIBRARY\nunset TK_LIBRARY\nunset TIX_LIBRARY\n\nOS=$(uname -a | awk '{print $1}')\nexport PROMPTPREFIX=\"[$name:${HOSTTYPE}-${OS}-${ENV}-fs-${G_VERSION}${G_REVISION}]\"\n\nexport PATH=$PATH:${PACKAGEDIR}/mricro:${PACKAGEDIR}/dtk\n\n\n", "text_preview": "#!/bin/bash #ensure 'getopts' works with 'source' command OPTIND=1 G_VERSION=\"stable\" G_REVISION=\"\" Gb_revisionSet=0 G_SYNOPSIS=\" NAME nmr-fs SYNOPSIS nmr-fs [] [] ARGS (Default \\\"$G_VERSION\\\") Source the FreeSu", "input_sha256": "926c13d8596e1d5cb019865c4c52adfe2652f9c37f84a65abc5bd33d3835f466", "text_sha256": "d836fd95553365da9366decf4b64787f9645b4cc2de5b91417a7c805a62deca6", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 20098, "input_policy": "text-and-optional-url-v1", "label_policy_version": 12, "requested_model": "decision-models/baseten-mammoth-27b-latest", "backend": "baseten", "endpoint": "https://inference.baseten.co/v1/systemone", "status": "ok", "training_eligible": true, "label": {"primary": {"main_format": "Technical Writing", "sub_format": null}, "secondary": null, "tertiary": null, "content_structure": []}, "candidate_label": null, "topic": {"primary": {"main_topic": "Programming & Software Engineering", "sub_topic": null}, "secondary": null}, "scores": {"content_quality": 1, "noise_severity": 0, "missing_content_severity": 0, "factual_density": 3, "pretraining_utility": 0, "math_density": 0, "code_density": 4, "reasoning_density": 0, "education_level": 2, "creative_writing_quality": null}, "score_expectations": {"content_quality": 0.6957951650172424, "noise_severity": 0.04074009038966725, "missing_content_severity": 0.010553194696906604, "factual_density": 3.027514703805644, "pretraining_utility": 0.28263583363994305, "math_density": 0.00410245094941739, "code_density": 3.512164297579838, "reasoning_density": 0.5146570674078688, "education_level": 2.476561347743865, "creative_writing_quality": -0.24706332698719846}, "api_choices": {"primary": "Technical Writing", "secondary": "NONE", "tertiary": "NONE", "education_level": "2", "creative_writing_quality": "not_applicable", "primary_topic": "Programming & Software Engineering", "secondary_topic": "NONE"}, "review_reasons": [], "format_slot_diagnostics": {"comparable": true, "secondary_tertiary_identical": false, "secondary_tertiary_max_abs_gap": 0.06730966243028513, "secondary_choice": "NONE", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.9892429370968093, "secondary": 0.7482265346473471, "tertiary": 0.8184627041398186, "structured_records": 0.010048639648222814, "procedural_steps": 0.2387655808407106, "worked_solution": 0.006114456151094512, "contextual_dialogue": 6.957470687205223e-06, "content_quality": 0.4944622047995192, "noise_severity": 0.9660499246752773, "missing_content_severity": 0.9912056710859112, "factual_density": 0.5316711951724689, "pretraining_utility": 0.5042252057139696, "math_density": 0.9965812908754855, "code_density": 0.5934702479831983, "reasoning_density": 0.5711191104934425, "education_level": 0.45660535350566045, "creative_writing_quality": 0.9979309178683818, "primary_topic": 0.8770010153293171, "secondary_topic": 0.664244704222773}, "probability_margin": {"primary": 0.9831966884696384, "secondary": 0.6287004592983814, "tertiary": 0.7229051320492831, "education_level": 0.17359559518518425, "creative_writing_quality": 0.9974257362777721, "primary_topic": 0.8086397879357028, "secondary_topic": 0.48472493386099036}, "raw_probabilities": {"primary": {"Academic Writing": 7.932976734981753e-05, "Content Listing": 4.092087954249546e-05, "Creative Writing": 3.052151473119329e-05, "Customer Support Page": 0.000217972826093653, "Q&A Forum": 2.375063559126021e-05, "Discussion Thread": 1.7018136261130392e-05, "Comment Section": 5.1240473276943004e-05, "Missing Content": 4.8502564337523656e-05, "Knowledge Article": 0.0003722574861405789, "Legal Notices": 6.338971383991105e-05, "News Article": 1.2486178081060947e-05, "Organizational Announcement": 2.8260513573527483e-05, "Nonfiction Writing": 2.2843660306335906e-05, "Organizational About Page": 4.423357433731242e-05, "Personal About Page": 2.2226717837332822e-05, "Personal Blog": 1.6416931617326794e-05, "Product Page": 1.8965993015551506e-05, "Spam / Ads": 2.2832204053212947e-05, "Structured Data": 0.0002812972679857078, "Technical Writing": 0.9896911480511089, "Transcript / Interview": 4.342325891064283e-05, "Tutorial / How-To Guide": 0.006494459581470532, "User Reviews": 1.6205649832721394e-05, "Other / Unknown": 0.0023402964207053967}, "secondary": {"Academic Writing": 0.0010703390911591345, "Content Listing": 0.0005696964240535401, "Creative Writing": 0.0005759307557218541, "Customer Support Page": 0.004213794452491816, "Q&A Forum": 0.00045271957211467776, "Discussion Thread": 0.0002876870419759243, "Comment Section": 0.0011930916806115303, "Missing Content": 0.0007964263532681745, "Knowledge Article": 0.003326846710165317, "Legal Notices": 0.001633810156559132, "News Article": 0.0003930976444331042, "Organizational Announcement": 0.0006035463624618629, "Nonfiction Writing": 0.0005210119386442182, "Organizational About Page": 0.0010628430103842533, "Personal About Page": 0.0004040904658210887, "Personal Blog": 0.0003685932036689413, "Product Page": 0.00031130780511349473, "Spam / Ads": 0.00044704855844258386, "Structured Data": 0.001567775012947596, "Technical Writing": 0.09048146813460556, "Transcript / Interview": 0.0007101378742619322, "Tutorial / How-To Guide": 0.1300166364053262, "User Reviews": 0.00027500564206037583, "NONE": 0.7587170957037076}, "tertiary": {"Academic Writing": 0.0008438003746305822, "Content Listing": 0.00044180786796291097, "Creative Writing": 0.0004868858576241175, "Customer Support Page": 0.003022792858370983, "Q&A Forum": 0.00031007803344035143, "Discussion Thread": 0.00019250346313857522, "Comment Section": 0.0008864910004891624, "Missing Content": 0.0006638415477374382, "Knowledge Article": 0.004529595137196423, "Legal Notices": 0.005560458929163371, "News Article": 0.0002923020635219764, "Organizational Announcement": 0.0005977457757001958, "Nonfiction Writing": 0.00039911635665340714, "Organizational About Page": 0.0010324452487970263, "Personal About Page": 0.0002654976162206821, "Personal Blog": 0.00026148380371208274, "Product Page": 0.0002527821054888772, "Spam / Ads": 0.0004440351936983256, "Structured Data": 0.0018312226407558429, "Technical Writing": 0.047802360125578335, "Transcript / Interview": 0.0005347374625891729, "Tutorial / How-To Guide": 0.10312162608470973, "User Reviews": 0.00019963231882753546, "NONE": 0.8260267581339928}, "structured_records": {"false": 0.9899513603517772, "true": 0.010048639648222814}, "procedural_steps": {"false": 0.7612344191592895, "true": 0.2387655808407106}, "worked_solution": {"false": 0.9938855438489055, "true": 0.006114456151094512}, "contextual_dialogue": {"false": 0.9999930425293128, "true": 6.957470687205223e-06}, "content_quality": {"-2": 0.010316215732794851, "-1": 0.04790214605424484, "0": 0.3286721553047931, "1": 0.46188922327925763, "2": 0.15122025962890964}, "noise_severity": {"0": 0.9659753084288489, "1": 0.02910895654296504, "2": 0.003592606765379813, "3": 0.0008465927352817939, "4": 0.0004765355275242995}, "missing_content_severity": {"0": 0.993204535381328, "1": 0.004142942505869777, "2": 0.0017929850767411256, "3": 0.0006138661066907527, "4": 0.00024567092937057976}, "factual_density": {"0": 0.004172883690706033, "1": 0.02558981749033152, "2": 0.2035416449409156, "3": 0.4719410190787062, "4": 0.29475463479934066}, "pretraining_utility": {"-2": 0.010866954143708082, "-1": 0.13441305146423055, "0": 0.45156401875368446, "1": 0.3675291578851641, "2": 0.03562681775321283}, "math_density": {"0": 0.996915277446247, "1": 0.002538450060926674, "2": 0.00023968247508352595, "3": 0.00014172413264736805, "4": 0.00016486588509538982}, "code_density": {"0": 0.0007701714171620187, "1": 0.0017959920537252718, "2": 0.042825228062988545, "3": 0.39371658446436114, "4": 0.5608920240017631}, "reasoning_density": {"0": 0.601727784500983, "1": 0.2955300084261432, "2": 0.09166240082631462, "3": 0.008516967657141125, "4": 0.002562838589418269}, "education_level": {"none": 0.0014367430615329527, "0": 0.002534622834874129, "1": 0.014397860808123901, "2": 0.5471711279213837, "3": 0.3735755327361994, "4": 0.06088411263788599}, "creative_writing_quality": {"not_applicable": 0.9982757648903182, "-2": 0.0001607881881212351, "-1": 0.00044617684894138947, "0": 0.0008500286125460849, "1": 0.00019272495766831736, "2": 7.451650240471683e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 0.00019450159056723395, "Art & Design": 0.0003353765645172691, "Law & Crime": 0.00033353599683607255, "Education & Careers": 0.00018965291300543244, "Entertainment & Media": 0.0001872071286353685, "Fashion & Beauty": 0.00020347864419469836, "Business, Economics & Finance": 0.00033341212584779974, "Food & Dining": 0.00020301906584279576, "Games & Gaming": 0.00022510739024092396, "Electronics & Hardware": 0.0008772364364544261, "Health, Healthcare & Wellness": 0.0033060808219998673, "History & Geography": 0.0002585452273457299, "Home, Pets & Hobbies": 0.00019061866181774564, "Industry & Production": 0.00026726606952843704, "Language, Literature & Philosophy": 0.00015011231380298394, "Politics & Government": 0.0001262693460363783, "Religion & Spirituality": 0.00015535157522359578, "Science, Mathematics & Engineering": 0.03572897287835511, "Relationships & Community": 9.065319813422898e-05, "Software Usage & Applications": 0.07309195757325598, "Programming & Software Engineering": 0.8817317455089587, "Sports & Fitness": 0.0002570222422764211, "Vehicles & Transportation": 0.00011274303998061988, "Travel & Tourism": 0.00016200669533294904, "Other / Uncovered Subject": 0.001037904365398382, "Unknown / Insufficient Content": 0.0002502226264110557}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0011161062367582215, "Art & Design": 0.0008141223077871524, "Law & Crime": 0.0008768312688557616, "Education & Careers": 0.0005940062119625741, "Entertainment & Media": 0.0007858519323824438, "Fashion & Beauty": 0.0005368523224817819, "Business, Economics & Finance": 0.0010741855060068955, "Food & Dining": 0.0005139244342449578, "Games & Gaming": 0.0005655428352635592, "Electronics & Hardware": 0.002210145463451054, "Health, Healthcare & Wellness": 0.006140590073983838, "History & Geography": 0.000650553524657949, "Home, Pets & Hobbies": 0.00045600078918804204, "Industry & Production": 0.0005349909175117605, "Language, Literature & Philosophy": 0.00031327969355566073, "Politics & Government": 0.00040546315155529696, "Religion & Spirituality": 0.000537811096439668, "Science, Mathematics & Engineering": 0.054406661606264804, "Relationships & Community": 0.0003116715402651908, "Software Usage & Applications": 0.1924334355839837, "Programming & Software Engineering": 0.053382894324844325, "Sports & Fitness": 0.0005361286118011119, "Vehicles & Transportation": 0.0002512444567249964, "Travel & Tourism": 0.0005434430069471238, "Other / Uncovered Subject": 0.002849893658108067, "NONE": 0.6771583694449741}}, "probabilities": {"primary": {"Academic Writing": 7.932976734981753e-05, "Content Listing": 4.092087954249546e-05, "Creative Writing": 3.052151473119329e-05, "Customer Support Page": 0.000217972826093653, "Q&A Forum": 2.375063559126021e-05, "Discussion Thread": 1.7018136261130392e-05, "Comment Section": 5.1240473276943004e-05, "Missing Content": 4.8502564337523656e-05, "Knowledge Article": 0.0003722574861405789, "Legal Notices": 6.338971383991105e-05, "News Article": 1.2486178081060947e-05, "Organizational Announcement": 2.8260513573527483e-05, "Nonfiction Writing": 2.2843660306335906e-05, "Organizational About Page": 4.423357433731242e-05, "Personal About Page": 2.2226717837332822e-05, "Personal Blog": 1.6416931617326794e-05, "Product Page": 1.8965993015551506e-05, "Spam / Ads": 2.2832204053212947e-05, "Structured Data": 0.0002812972679857078, "Technical Writing": 0.9896911480511089, "Transcript / Interview": 4.342325891064283e-05, "Tutorial / How-To Guide": 0.006494459581470532, "User Reviews": 1.6205649832721394e-05, "Other / Unknown": 0.0023402964207053967}, "secondary": {"Academic Writing": 0.0010703390911591347, "Content Listing": 0.0005696964240535402, "Creative Writing": 0.0005759307557218542, "Customer Support Page": 0.0042137944524918165, "Q&A Forum": 0.0004527195721146778, "Discussion Thread": 0.0002876870419759244, "Comment Section": 0.0011930916806115305, "Missing Content": 0.0007964263532681746, "Knowledge Article": 0.0033268467101653172, "Legal Notices": 0.0016338101565591323, "News Article": 0.00039309764443310423, "Organizational Announcement": 0.000603546362461863, "Nonfiction Writing": 0.0005210119386442183, "Organizational About Page": 0.0010628430103842535, "Personal About Page": 0.00040409046582108875, "Personal Blog": 0.00036859320366894137, "Product Page": 0.0003113078051134948, "Spam / Ads": 0.0004470485584425839, "Structured Data": 0.0015677750129475963, "Technical Writing": 0.09048146813460557, "Transcript / Interview": 0.0007101378742619323, "Tutorial / How-To Guide": 0.13001663640532624, "User Reviews": 0.0002750056420603759, "NONE": 0.7587170957037077}, "tertiary": {"Academic Writing": 0.0008438003746305822, "Content Listing": 0.00044180786796291097, "Creative Writing": 0.0004868858576241175, "Customer Support Page": 0.003022792858370983, "Q&A Forum": 0.00031007803344035143, "Discussion Thread": 0.00019250346313857522, "Comment Section": 0.0008864910004891624, "Missing Content": 0.0006638415477374382, "Knowledge Article": 0.004529595137196423, "Legal Notices": 0.005560458929163371, "News Article": 0.0002923020635219764, "Organizational Announcement": 0.0005977457757001958, "Nonfiction Writing": 0.00039911635665340714, "Organizational About Page": 0.0010324452487970263, "Personal About Page": 0.0002654976162206821, "Personal Blog": 0.00026148380371208274, "Product Page": 0.0002527821054888772, "Spam / Ads": 0.0004440351936983256, "Structured Data": 0.0018312226407558429, "Technical Writing": 0.047802360125578335, "Transcript / Interview": 0.0005347374625891729, "Tutorial / How-To Guide": 0.10312162608470973, "User Reviews": 0.00019963231882753546, "NONE": 0.8260267581339928}, "structured_records": {"false": 0.9899513603517772, "true": 0.010048639648222814}, "procedural_steps": {"false": 0.7612344191592895, "true": 0.2387655808407106}, "worked_solution": {"false": 0.9938855438489055, "true": 0.006114456151094512}, "contextual_dialogue": {"false": 0.9999930425293128, "true": 6.957470687205223e-06}, "content_quality": {"-2": 0.010316215732794851, "-1": 0.04790214605424484, "0": 0.3286721553047931, "1": 0.46188922327925763, "2": 0.15122025962890964}, "noise_severity": {"0": 0.965975308428849, "1": 0.029108956542965043, "2": 0.0035926067653798133, "3": 0.000846592735281794, "4": 0.00047653552752429957}, "missing_content_severity": {"0": 0.9932045353813278, "1": 0.004142942505869776, "2": 0.0017929850767411252, "3": 0.0006138661066907526, "4": 0.0002456709293705797}, "factual_density": {"0": 0.004172883690706033, "1": 0.02558981749033152, "2": 0.2035416449409156, "3": 0.4719410190787062, "4": 0.29475463479934066}, "pretraining_utility": {"-2": 0.010866954143708082, "-1": 0.13441305146423055, "0": 0.45156401875368446, "1": 0.3675291578851641, "2": 0.03562681775321283}, "math_density": {"0": 0.9969152774462471, "1": 0.0025384500609266746, "2": 0.00023968247508352597, "3": 0.00014172413264736808, "4": 0.00016486588509538984}, "code_density": {"0": 0.0007701714171620187, "1": 0.0017959920537252718, "2": 0.042825228062988545, "3": 0.39371658446436114, "4": 0.5608920240017631}, "reasoning_density": {"0": 0.6017277845009829, "1": 0.29553000842614313, "2": 0.0916624008263146, "3": 0.008516967657141123, "4": 0.0025628385894182685}, "education_level": {"none": 0.0014367430615329527, "0": 0.002534622834874129, "1": 0.014397860808123901, "2": 0.5471711279213837, "3": 0.3735755327361994, "4": 0.06088411263788599}, "creative_writing_quality": {"not_applicable": 0.9982757648903182, "-2": 0.0001607881881212351, "-1": 0.00044617684894138947, "0": 0.0008500286125460849, "1": 0.00019272495766831736, "2": 7.451650240471683e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 0.0001945015905672339, "Art & Design": 0.00033537656451726905, "Law & Crime": 0.0003335359968360725, "Education & Careers": 0.00018965291300543239, "Entertainment & Media": 0.00018720712863536844, "Fashion & Beauty": 0.0002034786441946983, "Business, Economics & Finance": 0.0003334121258477997, "Food & Dining": 0.0002030190658427957, "Games & Gaming": 0.0002251073902409239, "Electronics & Hardware": 0.0008772364364544259, "Health, Healthcare & Wellness": 0.0033060808219998665, "History & Geography": 0.00025854522734572986, "Home, Pets & Hobbies": 0.00019061866181774558, "Industry & Production": 0.000267266069528437, "Language, Literature & Philosophy": 0.0001501123138029839, "Politics & Government": 0.00012626934603637827, "Religion & Spirituality": 0.00015535157522359575, "Science, Mathematics & Engineering": 0.0357289728783551, "Relationships & Community": 9.065319813422897e-05, "Software Usage & Applications": 0.07309195757325597, "Programming & Software Engineering": 0.8817317455089585, "Sports & Fitness": 0.00025702224227642107, "Vehicles & Transportation": 0.00011274303998061985, "Travel & Tourism": 0.000162006695332949, "Other / Uncovered Subject": 0.0010379043653983818, "Unknown / Insufficient Content": 0.00025022262641105565}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0011161062367582215, "Art & Design": 0.0008141223077871524, "Law & Crime": 0.0008768312688557616, "Education & Careers": 0.0005940062119625741, "Entertainment & Media": 0.0007858519323824438, "Fashion & Beauty": 0.0005368523224817819, "Business, Economics & Finance": 0.0010741855060068955, "Food & Dining": 0.0005139244342449578, "Games & Gaming": 0.0005655428352635592, "Electronics & Hardware": 0.002210145463451054, "Health, Healthcare & Wellness": 0.006140590073983838, "History & Geography": 0.000650553524657949, "Home, Pets & Hobbies": 0.00045600078918804204, "Industry & Production": 0.0005349909175117605, "Language, Literature & Philosophy": 0.00031327969355566073, "Politics & Government": 0.00040546315155529696, "Religion & Spirituality": 0.000537811096439668, "Science, Mathematics & Engineering": 0.054406661606264804, "Relationships & Community": 0.0003116715402651908, "Software Usage & Applications": 0.1924334355839837, "Programming & Software Engineering": 0.053382894324844325, "Sports & Fitness": 0.0005361286118011119, "Vehicles & Transportation": 0.0002512444567249964, "Travel & Tourism": 0.0005434430069471238, "Other / Uncovered Subject": 0.002849893658108067, "NONE": 0.6771583694449741}}, "probability_diagnostics": {"primary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "tertiary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "structured_records": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "procedural_steps": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "worked_solution": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "contextual_dialogue": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "content_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "noise_severity": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "missing_content_severity": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "factual_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "pretraining_utility": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "math_density": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "code_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "reasoning_density": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "education_level": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "creative_writing_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "primary_topic": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "secondary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}}, "usage": {"input_tokens": 9779, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 9779, "cached_share": null, "cache_discount_reported": null, "reported_cost_usd": null}, "response_metadata": {"model": "decision-models/baseten-mammoth-27b-latest"}, "scored_at_utc": "2026-10-25T18:35:16.629087+00:00", "scoring_key_slot": "primary", "dataset_uid": "e434aea5-ab45-4275-924c-381964a45d76", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "d97181ca6054a9b5041c64fa7c5fd8c7994cb423ac215d1de0c5e64e4cca3996", "source_metadata": {"uuid": "e434aea5-ab45-4275-924c-381964a45d76", "repo_name": "FNNDSC/scripts", "relative_path": "nmr-fs", "category": "TOOL", "algo_rel_score": 0.9529389142990112, "quality_score": 4.821053504943848, "source_meta": {"github_metadata": {"branch": "master", "commit_count": 2142, "repo_created_at": "2011-10-04T15:28:05.000Z", "is_fork": false, "is_org_owned": true, "forked_from": null, "stars": 4, "forks": 3, "issues": 1, "pull_requests": 0}, "file_meta": {"content_id": "58b98bd9c036cbc0a7a258c874c9d0fcb8a6fe7d", "size_bytes": 4894, "file_timestamp": 1749134381, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "8cf04e226562d825b792eb854f90188cc88b5e1d"}}, "parsed_source_meta": {"github_metadata": {"branch": "master", "commit_count": 2142, "repo_created_at": "2011-10-04T15:28:05.000Z", "is_fork": false, "is_org_owned": true, "forked_from": null, "stars": 4, "forks": 3, "issues": 1, "pull_requests": 0}, "file_meta": {"content_id": "58b98bd9c036cbc0a7a258c874c9d0fcb8a6fe7d", "size_bytes": 4894, "file_timestamp": 1749134381, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "8cf04e226562d825b792eb854f90188cc88b5e1d", "url": "https://github.com/FNNDSC/scripts/blob/8cf04e226562d825b792eb854f90188cc88b5e1d/nmr-fs"}, "gpt4o_tokens": 1240, "dataset_split": "shell", "probability_weighted_scores": {"content_quality": 0.6957951650172424, "noise_severity": 0.04074009038966725, "missing_content_severity": 0.010553194696906604, "factual_density": 3.027514703805644, "pretraining_utility": 0.28263583363994305, "math_density": 0.00410245094941739, "code_density": 3.512164297579838, "reasoning_density": 0.5146570674078688, "education_level": 2.476561347743865, "creative_writing_quality": -0.24706332698719846}, "score_applicability": {"education_level": 0.9985632569384671, "creative_writing_quality": 0.0017242351096817437}} {"source_group": "shell", "source": "openbmb/UltraData-Stack-v3-L2/shell", "domain": "github.com", "language": "shell", "url": "https://github.com/ktht/CustomMCNanoGenProduction/blob/6a1b83915a0b37e1d88f85eb5ac305470a9d3b2d/test/submit_crab.sh", "id": "shell-0-727dd4ea6aee781173ee127e15ce51f5", "text": "#!/bin/bash\n\n# Example: 100 W+jets events, 20 events per job\n# submit_crab.sh -s wjets -n 100 -v test_v0 -j 20\n\necho \"Checking if crab is available ...\"\nCRAB_AVAILABLE=$(which crab 2>/dev/null)\nif [ -z \"$CRAB_AVAILABLE\" ]; then\n echo \"crab not available! please do: source /cvmfs/cms.cern.ch/crab3/crab.sh\"\n exit 1;\nfi\n\necho \"Checking if VOMS is available ...\"\nVOMS_PROXY_AVAILABLE=$(which voms-proxy-info 2>/dev/null)\nif [ -z \"$VOMS_PROXY_AVAILABLE\" ]; then\n echo \"VOMS proxy not available! please do: source /cvmfs/grid.cern.ch/glite/etc/profile.d/setup-ui-example.sh\";\n exit 1;\nfi\n\necho \"Checking if VOMS is open long enough ...\"\nMIN_HOURSLEFT=72\nMIN_TIMELEFT=$((3600 * $MIN_HOURSLEFT))\nVOMS_PROXY_TIMELEFT=$(voms-proxy-info --timeleft)\nif [ \"$VOMS_PROXY_TIMELEFT\" -lt \"$MIN_TIMELEFT\" ]; then\n echo \"Less than $MIN_HOURSLEFT hours left for the proxy to be open: $VOMS_PROXY_TIMELEFT seconds\";\n echo \"Please update your proxy: voms-proxy-init -voms cms -valid 192:00\";\n exit 1;\nfi\n\ndeclare -A SAMPLES;\nSAMPLES[\"wjets\"]=\"WJetsToLNu_13TeV-madgraphMLM-pythia8\";\nSAMPLES[\"w1jets\"]=\"W1JetsToLNu_13TeV-madgraphMLM-pythia8\";\nSAMPLES[\"w2jets\"]=\"W2JetsToLNu_13TeV-madgraphMLM-pythia8\";\nSAMPLES[\"w3jets\"]=\"W3JetsToLNu_13TeV-madgraphMLM-pythia8\";\nSAMPLES[\"w4jets\"]=\"W4JetsToLNu_13TeV-madgraphMLM-pythia8\";\nSAMPLES[\"wjets_ht70to100\"]=\"WJetsToLNu_HT-70to100\";\nSAMPLES[\"wjets_ht100to200\"]=\"WJetsToLNu_HT-100to200\";\nSAMPLES[\"wjets_ht200to400\"]=\"WJetsToLNu_HT-200to400\";\nSAMPLES[\"wjets_ht400to600\"]=\"WJetsToLNu_HT-400to600\";\nSAMPLES[\"wjets_ht600to800\"]=\"WJetsToLNu_HT-600to800\";\nSAMPLES[\"wjets_ht800to1200\"]=\"WJetsToLNu_HT-800to1200\";\nSAMPLES[\"wjets_ht1200to2500\"]=\"WJetsToLNu_HT-1200to2500\";\nSAMPLES[\"wjets_ht2500toInf\"]=\"WJetsToLNu_HT-2500toInf\";\n\nexport NEVENTS_PER_JOB=5000;\n\nDRYRUN=\"\";\nCRAB_CFG=$(realpath $(dirname \"${BASH_SOURCE[0]}\"))/crab_cfg.py\n\necho \"Checking crab user name ...\";\nCRAB_USERNAME=$(crab checkusername | grep \"^Username\" | awk '{print $NF}');\necho \"Crab user name is: $CRAB_USERNAME\";\nPREFIX=gsiftp://ganymede.hep.kbfi.ee:2811/cms/store/user/${CRAB_USERNAME}/gridpacks;\n\nshow_help() {\n KEYS=$(echo $(for key in \"${!SAMPLES[@]}\"; do echo $key; done | sort | tr '\\n' ',') | sed 's/,$//g' | sed 's/,/, /g');\n THIS_SCRIPT=$0;\n echo -ne \"Usage: $(basename $THIS_SCRIPT) -s -n nevents -v version \" 1>&2;\n echo \"[-j = $NEVENTS_PER_JOB] [-c $CRAB_CFG] [-d]\" 1>&2;\n echo \"Available samples: $KEYS\"\n exit 0;\n}\n\nwhile getopts \"h?ds:n:v:j:c:\" opt; do\n case \"${opt}\" in\n h|\\?) show_help\n ;;\n s) export DATASET=${SAMPLES[${OPTARG}]}\n ;;\n n) export NEVENTS=${OPTARG}\n ;;\n v) export VERSION=${OPTARG}\n ;;\n j) export NEVENTS_PER_JOB=${OPTARG}\n ;;\n c) CRAB_CFG=${OPTARG}\n ;;\n d) DRYRUN=\"--dryrun\"\n ;;\n esac\ndone\n\nif [ -z \"$DATASET\" ]; then\n echo \"Invalid sample name given, exiting\";\n exit 1;\nfi\n\nif [ ! -f \"$CRAB_CFG\" ]; then\n echo \"No such CRAB config file: $CRAB_CFG\";\nfi\n\nif [[ \"$DATASET\" =~ .*HT.* ]]; then\n GRIDPACK_VERSION=v1;\nelse\n GRIDPACK_VERSION=v0;\nfi;\nexport GRIDPACK=${PREFIX}/${GRIDPACK_VERSION}/${DATASET}_slc7_amd64_gcc700_CMSSW_10_6_19_tarball.tar.xz\necho \"Testing if the gridpack is accessible\"\nLD_LIBRARY_PATH=${GLITE_LOCATION}/lib64:${GLITE_LOCATION}/lib gfal-ls $GRIDPACK\nGRIDPACK_EXISTS=$?\nif [ \"$GRIDPACK_EXISTS\" -gt 0 ]; then\n echo \"Gridpack missing: $GRIDPACK\";\n exit 1;\nfi\n\nNOF_JOBS=$(( $NEVENTS / $NEVENTS_PER_JOB ));\nif [ $(( $NOF_JOBS * $NEVENTS_PER_JOB )) -lt $NOF_JOBS ]; then\n $NOF_JOBS+=1;\nfi\necho \"Submitting jobs with the following parameters:\"\necho \"Dataset: $DATASET\"\necho \"Number of events: $NEVENTS\";\necho \"Number of events per job: $NEVENTS_PER_JOB\";\necho \"Number of jobs: $NOF_JOBS\"\necho -ne \"Dryrun: \";\nif [ -z \"$DRYRUN\" ]; then echo \"no\"; else echo \"yes\"; fi\n\nread -p \"Submitting jobs? [y/N]\" -n 1 -r\necho\nif [[ ! $REPLY =~ ^[Yy]$ ]]; then\n [[ \"$0\" = \"$BASH_SOURCE\" ]] && exit 1 || return 1\nfi\n\ncrab submit $DRYRUN --config=\"$CRAB_CFG\"\n", "text_preview": "#!/bin/bash # Example: 100 W+jets events, 20 events per job # submit_crab.sh -s wjets -n 100 -v test_v0 -j 20 echo \"Checking if crab is available ...\" CRAB_AVAILABLE=$(which crab 2>/dev/null) if [ -z \"$CRAB_AVAILABLE\" ]; then echo \"crab not", "input_sha256": "aed86bd48162d6d14c116a8f453cc4335d99f444e8692e8f10ca273a7e1d1002", "text_sha256": "727dd4ea6aee781173ee127e15ce51f5717f3d46f23ee60af8b30f5cbd9ffee5", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 20099, "input_policy": "text-and-optional-url-v1", "label_policy_version": 12, "requested_model": "decision-models/baseten-mammoth-27b-latest", "backend": "baseten", "endpoint": "https://inference.baseten.co/v1/systemone", "status": "ok", "training_eligible": true, "label": {"primary": {"main_format": "Technical Writing", "sub_format": null}, "secondary": null, "tertiary": null, "content_structure": []}, "candidate_label": null, "topic": {"primary": {"main_topic": "Programming & Software Engineering", "sub_topic": null}, "secondary": null}, "scores": {"content_quality": 1, "noise_severity": 0, "missing_content_severity": 0, "factual_density": 3, "pretraining_utility": 1, "math_density": 0, "code_density": 4, "reasoning_density": 0, "education_level": 3, "creative_writing_quality": null}, "score_expectations": {"content_quality": 0.5195802304024806, "noise_severity": 0.010345777181715685, "missing_content_severity": 0.009680494739617395, "factual_density": 3.2055677645359486, "pretraining_utility": 0.3681424711856392, "math_density": 0.5522132890529041, "code_density": 3.880042788125847, "reasoning_density": 0.8971743989197346, "education_level": 3.142352285046672, "creative_writing_quality": -0.24137083200929313}, "api_choices": {"primary": "Technical Writing", "secondary": "NONE", "tertiary": "NONE", "education_level": "3", "creative_writing_quality": "not_applicable", "primary_topic": "Programming & Software Engineering", "secondary_topic": "NONE"}, "review_reasons": [], "format_slot_diagnostics": {"comparable": true, "secondary_tertiary_identical": false, "secondary_tertiary_max_abs_gap": 0.04467835837769962, "secondary_choice": "NONE", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.967303043993041, "secondary": 0.8554386553637303, "tertiary": 0.9020595510621995, "structured_records": 0.36045386772574667, "procedural_steps": 0.16081573034712673, "worked_solution": 0.0036230106589671854, "contextual_dialogue": 1.5210814479670908e-05, "content_quality": 0.3989433471820869, "noise_severity": 0.9913785190152369, "missing_content_severity": 0.9919329210503188, "factual_density": 0.5011501173697961, "pretraining_utility": 0.387620170593979, "math_density": 0.53982225912258, "code_density": 0.9000356567715391, "reasoning_density": 0.25235466756688774, "education_level": 0.376861217980183, "creative_writing_quality": 0.9994022023229967, "primary_topic": 0.8845509063968662, "secondary_topic": 0.5086527312054162}, "probability_margin": {"primary": 0.9473328892524344, "secondary": 0.8031270914509582, "tertiary": 0.8696229113711164, "education_level": 0.1465116621228395, "creative_writing_quality": 0.9992771369954867, "primary_topic": 0.8012129739278395, "secondary_topic": 0.24836632578173318}, "raw_probabilities": {"primary": {"Academic Writing": 0.0005027716008844054, "Content Listing": 0.00013675594806249083, "Creative Writing": 8.957971829100262e-05, "Customer Support Page": 9.200415363225958e-05, "Q&A Forum": 6.648320168652238e-05, "Discussion Thread": 4.520932826727017e-05, "Comment Section": 7.941236770184847e-05, "Missing Content": 9.753641272100251e-05, "Knowledge Article": 0.0004748244221429296, "Legal Notices": 9.49177538922677e-05, "News Article": 3.2224818014425784e-05, "Organizational Announcement": 6.103931779755177e-05, "Nonfiction Writing": 6.759020891319966e-05, "Organizational About Page": 7.537619231645363e-05, "Personal About Page": 6.165646215332537e-05, "Personal Blog": 4.0318601337306226e-05, "Product Page": 4.3299438477705133e-05, "Spam / Ads": 6.097621992059308e-05, "Structured Data": 0.002128307681561053, "Technical Writing": 0.9686654171599977, "Transcript / Interview": 9.037593985984627e-05, "Tutorial / How-To Guide": 0.02133252790756324, "User Reviews": 3.7545764968991005e-05, "Other / Unknown": 0.00562384937983649}, "secondary": {"Academic Writing": 0.004323644577399169, "Content Listing": 0.0006517758501127878, "Creative Writing": 0.0003673226483209089, "Customer Support Page": 0.0007952050323667769, "Q&A Forum": 0.0002907327436727409, "Discussion Thread": 0.00017073612313658638, "Comment Section": 0.0003467393542343588, "Missing Content": 0.00043885081385166967, "Knowledge Article": 0.0015661704552791759, "Legal Notices": 0.0003036057129640846, "News Article": 0.0002290913435993344, "Organizational Announcement": 0.00024683393408866667, "Nonfiction Writing": 0.0002610912674686548, "Organizational About Page": 0.0003258141199451816, "Personal About Page": 0.0002524226118399822, "Personal Blog": 0.0002449113054256936, "Product Page": 0.00018365554384970956, "Spam / Ads": 0.0002503711957564602, "Structured Data": 0.02656462282230447, "Technical Writing": 0.041845698468031274, "Transcript / Interview": 0.00038240178170654833, "Tutorial / How-To Guide": 0.058334953272616716, "User Reviews": 0.00016130429845411824, "NONE": 0.8614620447235749}, "tertiary": {"Academic Writing": 0.002472623697900081, "Content Listing": 0.0004938251068085035, "Creative Writing": 0.00019521180045436396, "Customer Support Page": 0.0008453739517839231, "Q&A Forum": 0.00011796772793636372, "Discussion Thread": 8.753187944571158e-05, "Comment Section": 0.0002075342184900219, "Missing Content": 0.00029042346125902094, "Knowledge Article": 0.0015080117333574146, "Legal Notices": 0.0002498811005509773, "News Article": 0.00012108943120919233, "Organizational Announcement": 0.00012697841472866732, "Nonfiction Writing": 0.00015618410702717054, "Organizational About Page": 0.00018480572143795816, "Personal About Page": 0.00012563870199842677, "Personal Blog": 0.00012521203587259502, "Product Page": 0.00011555651925955314, "Spam / Ads": 0.00014776126836291777, "Structured Data": 0.02674723255463202, "Technical Writing": 0.022738128026241325, "Transcript / Interview": 0.00021588316167505693, "Tutorial / How-To Guide": 0.03651749173015819, "User Reviews": 6.925054813602096e-05, "NONE": 0.9061404031012745}, "structured_records": {"false": 0.6395461322742533, "true": 0.36045386772574667}, "procedural_steps": {"false": 0.8391842696528733, "true": 0.16081573034712673}, "worked_solution": {"false": 0.9963769893410328, "true": 0.0036230106589671854}, "contextual_dialogue": {"false": 0.9999847891855204, "true": 1.5210814479670908e-05}, "content_quality": {"-2": 0.02263923619625095, "-1": 0.10981263418946054, "0": 0.3133008995218336, "1": 0.4338231232004667, "2": 0.12042410689198815}, "noise_severity": {"0": 0.9914044442705557, "1": 0.007445875406371839, "2": 0.000718468233357599, "3": 0.00026188305023147396, "4": 0.00016932903948355693}, "missing_content_severity": {"0": 0.9943937256837235, "1": 0.002435439966377484, "2": 0.0024476409373549203, "3": 0.0005430007516461577, "4": 0.00018019266089789926}, "factual_density": {"0": 0.0037692537457398633, "1": 0.01801541249868083, "2": 0.14918746107556682, "3": 0.4269340608339158, "4": 0.4020938118460966}, "pretraining_utility": {"-2": 0.012671171710771131, "-1": 0.12011014220079927, "0": 0.40512286251688095, "1": 0.4105966903351164, "2": 0.05149913323643213}, "math_density": {"0": 0.5291468147343513, "1": 0.41993984889275326, "2": 0.03235172512846803, "3": 0.006676455074494221, "4": 0.01188515616993299}, "code_density": {"0": 0.00031216320440216936, "1": 0.0006006058456429426, "2": 0.01004218201343489, "3": 0.09682237749274587, "4": 0.8922226714437741}, "reasoning_density": {"0": 0.5457914988307276, "1": 0.14651946656242992, "2": 0.2043593589096686, "3": 0.07138248825072846, "4": 0.03194718744644557}, "education_level": {"none": 0.0010222558675684324, "0": 0.0017825084067107572, "1": 0.00438019517090462, "2": 0.17789133937735047, "3": 0.48071768165015255, "4": 0.33420601952731305}, "creative_writing_quality": {"not_applicable": 0.9995018352691639, "-2": 6.407373122479299e-05, "-1": 0.00011316552945913079, "0": 0.00022469827367726613, "1": 7.138383660096045e-05, "2": 2.4843359874066534e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 0.00017826003509432284, "Art & Design": 0.0002834321421822388, "Law & Crime": 0.000321162117394961, "Education & Careers": 0.00016746595418952283, "Entertainment & Media": 0.00019036375351164168, "Fashion & Beauty": 0.00013952794833568965, "Business, Economics & Finance": 0.00019028153137830403, "Food & Dining": 0.00016202459287402375, "Games & Gaming": 0.00029392928166284865, "Electronics & Hardware": 0.00047917634246579465, "Health, Healthcare & Wellness": 0.00024147154432828296, "History & Geography": 0.00025596731185076126, "Home, Pets & Hobbies": 0.000155005476723572, "Industry & Production": 0.0003175506598573899, "Language, Literature & Philosophy": 0.00016750301053999252, "Politics & Government": 9.90504007713882e-05, "Religion & Spirituality": 0.000170132686385278, "Science, Mathematics & Engineering": 0.08777828222299333, "Relationships & Community": 8.004287909701341e-05, "Software Usage & Applications": 0.012268593031654495, "Programming & Software Engineering": 0.8889912561508329, "Sports & Fitness": 0.0002340970479777409, "Vehicles & Transportation": 0.00011606412523490631, "Travel & Tourism": 0.0001891040236686146, "Other / Uncovered Subject": 0.006247358549492079, "Unknown / Insufficient Content": 0.0002828971795030577}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0007453487019043852, "Art & Design": 0.0007475576428906743, "Law & Crime": 0.0008211614384361204, "Education & Careers": 0.0004965244280115577, "Entertainment & Media": 0.0005926365022766263, "Fashion & Beauty": 0.00034332042539609925, "Business, Economics & Finance": 0.0006082682966793394, "Food & Dining": 0.0003658202852588029, "Games & Gaming": 0.0005555964794493316, "Electronics & Hardware": 0.0011341963601149217, "Health, Healthcare & Wellness": 0.0006104466548196073, "History & Geography": 0.0005200696047099979, "Home, Pets & Hobbies": 0.00033020329407596117, "Industry & Production": 0.000551884035687841, "Language, Literature & Philosophy": 0.00027883431701628203, "Politics & Government": 0.0003319122897501515, "Religion & Spirituality": 0.0005531014333267222, "Science, Mathematics & Engineering": 0.27918437730039775, "Relationships & Community": 0.00020222316218029566, "Software Usage & Applications": 0.05612409602153915, "Programming & Software Engineering": 0.12258559459413382, "Sports & Fitness": 0.00044921415794566466, "Vehicles & Transportation": 0.0002411858289332168, "Travel & Tourism": 0.0005866578464156407, "Other / Uncovered Subject": 0.0034890658165191188, "NONE": 0.5275507030821309}}, "probabilities": {"primary": {"Academic Writing": 0.0005027716008844055, "Content Listing": 0.00013675594806249086, "Creative Writing": 8.957971829100264e-05, "Customer Support Page": 9.200415363225959e-05, "Q&A Forum": 6.648320168652239e-05, "Discussion Thread": 4.520932826727018e-05, "Comment Section": 7.941236770184848e-05, "Missing Content": 9.753641272100253e-05, "Knowledge Article": 0.00047482442214292965, "Legal Notices": 9.491775389226772e-05, "News Article": 3.222481801442579e-05, "Organizational Announcement": 6.103931779755178e-05, "Nonfiction Writing": 6.759020891319967e-05, "Organizational About Page": 7.537619231645365e-05, "Personal About Page": 6.165646215332538e-05, "Personal Blog": 4.031860133730623e-05, "Product Page": 4.329943847770514e-05, "Spam / Ads": 6.097621992059309e-05, "Structured Data": 0.0021283076815610535, "Technical Writing": 0.9686654171599978, "Transcript / Interview": 9.037593985984628e-05, "Tutorial / How-To Guide": 0.021332527907563244, "User Reviews": 3.754576496899101e-05, "Other / Unknown": 0.005623849379836491}, "secondary": {"Academic Writing": 0.004323644577399169, "Content Listing": 0.0006517758501127878, "Creative Writing": 0.0003673226483209089, "Customer Support Page": 0.0007952050323667769, "Q&A Forum": 0.0002907327436727409, "Discussion Thread": 0.00017073612313658638, "Comment Section": 0.0003467393542343588, "Missing Content": 0.00043885081385166967, "Knowledge Article": 0.0015661704552791759, "Legal Notices": 0.0003036057129640846, "News Article": 0.0002290913435993344, "Organizational Announcement": 0.00024683393408866667, "Nonfiction Writing": 0.0002610912674686548, "Organizational About Page": 0.0003258141199451816, "Personal About Page": 0.0002524226118399822, "Personal Blog": 0.0002449113054256936, "Product Page": 0.00018365554384970956, "Spam / Ads": 0.0002503711957564602, "Structured Data": 0.02656462282230447, "Technical Writing": 0.041845698468031274, "Transcript / Interview": 0.00038240178170654833, "Tutorial / How-To Guide": 0.058334953272616716, "User Reviews": 0.00016130429845411824, "NONE": 0.8614620447235749}, "tertiary": {"Academic Writing": 0.002472623697900081, "Content Listing": 0.0004938251068085035, "Creative Writing": 0.00019521180045436396, "Customer Support Page": 0.0008453739517839231, "Q&A Forum": 0.00011796772793636372, "Discussion Thread": 8.753187944571158e-05, "Comment Section": 0.0002075342184900219, "Missing Content": 0.00029042346125902094, "Knowledge Article": 0.0015080117333574146, "Legal Notices": 0.0002498811005509773, "News Article": 0.00012108943120919233, "Organizational Announcement": 0.00012697841472866732, "Nonfiction Writing": 0.00015618410702717054, "Organizational About Page": 0.00018480572143795816, "Personal About Page": 0.00012563870199842677, "Personal Blog": 0.00012521203587259502, "Product Page": 0.00011555651925955314, "Spam / Ads": 0.00014776126836291777, "Structured Data": 0.02674723255463202, "Technical Writing": 0.022738128026241325, "Transcript / Interview": 0.00021588316167505693, "Tutorial / How-To Guide": 0.03651749173015819, "User Reviews": 6.925054813602096e-05, "NONE": 0.9061404031012745}, "structured_records": {"false": 0.6395461322742533, "true": 0.36045386772574667}, "procedural_steps": {"false": 0.8391842696528733, "true": 0.16081573034712673}, "worked_solution": {"false": 0.9963769893410328, "true": 0.0036230106589671854}, "contextual_dialogue": {"false": 0.9999847891855204, "true": 1.5210814479670908e-05}, "content_quality": {"-2": 0.022639236196250953, "-1": 0.10981263418946055, "0": 0.31330089952183365, "1": 0.43382312320046673, "2": 0.12042410689198817}, "noise_severity": {"0": 0.9914044442705555, "1": 0.0074458754063718375, "2": 0.0007184682333575989, "3": 0.0002618830502314739, "4": 0.0001693290394835569}, "missing_content_severity": {"0": 0.9943937256837235, "1": 0.002435439966377484, "2": 0.0024476409373549203, "3": 0.0005430007516461577, "4": 0.00018019266089789926}, "factual_density": {"0": 0.0037692537457398637, "1": 0.018015412498680834, "2": 0.14918746107556685, "3": 0.42693406083391583, "4": 0.40209381184609666}, "pretraining_utility": {"-2": 0.012671171710771133, "-1": 0.12011014220079928, "0": 0.405122862516881, "1": 0.4105966903351165, "2": 0.05149913323643214}, "math_density": {"0": 0.5291468147343514, "1": 0.4199398488927534, "2": 0.03235172512846804, "3": 0.006676455074494223, "4": 0.011885156169932994}, "code_density": {"0": 0.00031216320440216936, "1": 0.0006006058456429426, "2": 0.01004218201343489, "3": 0.09682237749274587, "4": 0.8922226714437741}, "reasoning_density": {"0": 0.5457914988307275, "1": 0.1465194665624299, "2": 0.20435935890966855, "3": 0.07138248825072845, "4": 0.03194718744644556}, "education_level": {"none": 0.0010222558675684326, "0": 0.0017825084067107574, "1": 0.004380195170904621, "2": 0.1778913393773505, "3": 0.4807176816501526, "4": 0.3342060195273131}, "creative_writing_quality": {"not_applicable": 0.9995018352691637, "-2": 6.407373122479298e-05, "-1": 0.00011316552945913076, "0": 0.00022469827367726608, "1": 7.138383660096044e-05, "2": 2.4843359874066527e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 0.00017826003509432284, "Art & Design": 0.0002834321421822388, "Law & Crime": 0.000321162117394961, "Education & Careers": 0.00016746595418952283, "Entertainment & Media": 0.00019036375351164168, "Fashion & Beauty": 0.00013952794833568965, "Business, Economics & Finance": 0.00019028153137830403, "Food & Dining": 0.00016202459287402375, "Games & Gaming": 0.00029392928166284865, "Electronics & Hardware": 0.00047917634246579465, "Health, Healthcare & Wellness": 0.00024147154432828296, "History & Geography": 0.00025596731185076126, "Home, Pets & Hobbies": 0.000155005476723572, "Industry & Production": 0.0003175506598573899, "Language, Literature & Philosophy": 0.00016750301053999252, "Politics & Government": 9.90504007713882e-05, "Religion & Spirituality": 0.000170132686385278, "Science, Mathematics & Engineering": 0.08777828222299333, "Relationships & Community": 8.004287909701341e-05, "Software Usage & Applications": 0.012268593031654495, "Programming & Software Engineering": 0.8889912561508329, "Sports & Fitness": 0.0002340970479777409, "Vehicles & Transportation": 0.00011606412523490631, "Travel & Tourism": 0.0001891040236686146, "Other / Uncovered Subject": 0.006247358549492079, "Unknown / Insufficient Content": 0.0002828971795030577}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0007453487019043852, "Art & Design": 0.0007475576428906743, "Law & Crime": 0.0008211614384361204, "Education & Careers": 0.0004965244280115577, "Entertainment & Media": 0.0005926365022766263, "Fashion & Beauty": 0.00034332042539609925, "Business, Economics & Finance": 0.0006082682966793394, "Food & Dining": 0.0003658202852588029, "Games & Gaming": 0.0005555964794493316, "Electronics & Hardware": 0.0011341963601149217, "Health, Healthcare & Wellness": 0.0006104466548196073, "History & Geography": 0.0005200696047099979, "Home, Pets & Hobbies": 0.00033020329407596117, "Industry & Production": 0.000551884035687841, "Language, Literature & Philosophy": 0.00027883431701628203, "Politics & Government": 0.0003319122897501515, "Religion & Spirituality": 0.0005531014333267222, "Science, Mathematics & Engineering": 0.27918437730039775, "Relationships & Community": 0.00020222316218029566, "Software Usage & Applications": 0.05612409602153915, "Programming & Software Engineering": 0.12258559459413382, "Sports & Fitness": 0.00044921415794566466, "Vehicles & Transportation": 0.0002411858289332168, "Travel & Tourism": 0.0005866578464156407, "Other / Uncovered Subject": 0.0034890658165191188, "NONE": 0.5275507030821309}}, "probability_diagnostics": {"primary": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "tertiary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "structured_records": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "procedural_steps": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "worked_solution": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "contextual_dialogue": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "content_quality": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "noise_severity": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "missing_content_severity": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "factual_density": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "pretraining_utility": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "math_density": {"raw_sum": 0.9999999999999998, "mass_delta": -2.220446049250313e-16, "missing_mass": 2.220446049250313e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "code_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "reasoning_density": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "education_level": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "creative_writing_quality": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "primary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}}, "usage": {"input_tokens": 10054, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 10054, "cached_share": null, "cache_discount_reported": null, "reported_cost_usd": null}, "response_metadata": {"model": "decision-models/baseten-mammoth-27b-latest"}, "scored_at_utc": "2026-10-25T18:36:07.497398+00:00", "scoring_key_slot": "primary", "dataset_uid": "a46a2f2d-a8ca-46af-9cf8-db730be3efc5", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "33c521b14f722bd8c925065709ffe1df3f3aec5f27ea9fb29d54c795e7d3d1ed", "source_metadata": {"uuid": "a46a2f2d-a8ca-46af-9cf8-db730be3efc5", "repo_name": "ktht/CustomMCNanoGenProduction", "relative_path": "test/submit_crab.sh", "category": "TOOL", "algo_rel_score": 0.9980892539024353, "quality_score": 4.291590690612793, "source_meta": {"github_metadata": {"branch": "main", "commit_count": 63, "repo_created_at": "2021-12-05T16:38:06.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 0, "forks": 0, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "ea17cb2aa638c8608d16be5f9b1f87b00cfe3e9e", "size_bytes": 4024, "file_timestamp": 1649168615, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "6a1b83915a0b37e1d88f85eb5ac305470a9d3b2d"}}, "parsed_source_meta": {"github_metadata": {"branch": "main", "commit_count": 63, "repo_created_at": "2021-12-05T16:38:06.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 0, "forks": 0, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "ea17cb2aa638c8608d16be5f9b1f87b00cfe3e9e", "size_bytes": 4024, "file_timestamp": 1649168615, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "6a1b83915a0b37e1d88f85eb5ac305470a9d3b2d", "url": "https://github.com/ktht/CustomMCNanoGenProduction/blob/6a1b83915a0b37e1d88f85eb5ac305470a9d3b2d/test/submit_crab.sh"}, "gpt4o_tokens": 1410, "dataset_split": "shell", "probability_weighted_scores": {"content_quality": 0.5195802304024806, "noise_severity": 0.010345777181715685, "missing_content_severity": 0.009680494739617395, "factual_density": 3.2055677645359486, "pretraining_utility": 0.3681424711856392, "math_density": 0.5522132890529041, "code_density": 3.880042788125847, "reasoning_density": 0.8971743989197346, "education_level": 3.142352285046672, "creative_writing_quality": -0.24137083200929313}, "score_applicability": {"education_level": 0.9989777441324316, "creative_writing_quality": 0.0004981647308362168}} {"source_group": "shell", "source": "openbmb/UltraData-Stack-v3-L2/shell", "domain": "github.com", "language": "shell", "url": "https://github.com/UVA-LavaLab/PIMsynth/blob/2a23517c25aa559f096b3c251b16e77e43e794d1/testbench/common.sh", "id": "shell-0-5e051c2058fca9eb47a7540f9582d6e5", "text": "#!/bin/bash\n#===============================================================================\n# FILE: common.sh\n# DESCRIPTION:\n# AUTHOR: <>\n# AUTHOR: <>\n# CREATED: 06/03/2025\n#===============================================================================\n\nSCRIPT_DIR=\"$(dirname \"${BASH_SOURCE[0]}\")\"\nPROJ_ROOT=$(git rev-parse --show-toplevel)\n\n# Note: This script finds verilog inputs from below locations\nVERILOG_DIR1=.\nVERILOG_DIR2=$PROJ_ROOT/src-verilog/benchmarks\nVERILOG_DIR3=$PROJ_ROOT/src-verilog/misc\nGENLIB_DIR=$PROJ_ROOT/src-genlib\nSUBMODULE_LIST=$PROJ_ROOT/src-verilog/submodule_list.txt\nSUBMODULE_DIR=$PROJ_ROOT/src-verilog/submodules\n\n# Define a list of valid benchmark names\nVALID_BENCHMARKS=(\n \"add_int8\" \"add_int16\" \"add_int32\" \"add_int64\"\n \"sub_int8\" \"sub_int16\" \"sub_int32\" \"sub_int64\"\n \"mul_int8\" \"mul_int16\" \"mul_int32\" \"mul_int64\"\n \"abs_int8\" \"abs_int16\" \"abs_int32\" \"abs_int64\"\n \"not_int1\" \"not_int8\" \"not_int16\" \"not_int32\" \"not_int64\"\n \"and_int1\" \"and_int8\" \"and_int16\" \"and_int32\" \"and_int64\"\n \"or_int1\" \"or_int8\" \"or_int16\" \"or_int32\" \"or_int64\"\n \"xor_int1\" \"xor_int8\" \"xor_int16\" \"xor_int32\" \"xor_int64\"\n \"xnor_int1\" \"xnor_int8\" \"xnor_int16\" \"xnor_int32\" \"xnor_int64\"\n \"gt_uint8\" \"gt_uint16\" \"gt_uint32\" \"gt_uint64\"\n \"gt_int8\" \"gt_int16\" \"gt_int32\" \"gt_int64\"\n \"lt_uint8\" \"lt_uint16\" \"lt_uint32\" \"lt_uint64\"\n \"lt_int8\" \"lt_int16\" \"lt_int32\" \"lt_int64\"\n \"eq_int8\" \"eq_int16\" \"eq_int32\" \"eq_int64\"\n \"ne_int8\" \"ne_int16\" \"ne_int32\" \"ne_int64\"\n \"min_int8\" \"min_int16\" \"min_int32\" \"min_int64\"\n \"min_uint8\" \"min_uint16\" \"min_uint32\" \"min_uint64\"\n \"max_int8\" \"max_int16\" \"max_int32\" \"max_int64\"\n \"max_uint8\" \"max_uint16\" \"max_uint32\" \"max_uint64\"\n \"popcount_int8\" \"popcount_int16\" \"popcount_int32\" \"popcount_int64\"\n \"add_sub_int32\"\n \"aes_sbox\" \"aes_inverse_sbox\" \"aes_sbox_usuba\"\n)\n\n# Define a list of valid bit-serial ISA\nVALID_BIT_SERIAL_ISA=(\n \"inv_nand\"\n \"inv_maj_and\"\n \"inv_maj_and_or\"\n \"inv_and_xnor_mux\"\n \"inv_and_xor\"\n)\n\nVALID_PIM_MODES=(\n \"digital\" \"analog\"\n)\n\n# Check if the provided num_reg value is valid\nis_valid_num_reg() {\n if [[ \"$1\" =~ ^[2-9]$|^1[0-4]$ ]]; then\n return 0\n else\n return 1\n fi\n}\n\n# Function to display valid bit-serial ISA\nshow_valid_bit_serial_isa() {\n echo \"Valid bit-serial ISA: ${VALID_BIT_SERIAL_ISA[*]}\"\n}\n\n# Check if the provided bit-serial ISA name is valid\nis_valid_bit_serial_isa() {\n for isa in \"${VALID_BIT_SERIAL_ISA[@]}\"; do\n if [ \"$1\" == \"$isa\" ]; then\n return 0\n fi\n done\n # allow untracked bit-serial ISA\n echo \"Warning: Bit-serial ISA $1 is experimental.\"\n return 0\n}\n\n# Function to display valid num_reg values\nshow_valid_num_reg() {\n echo \"Valid num_reg values: 2 - 14\"\n}\n\n# Function to display valid benchmarks\nshow_valid_benchmarks() {\n echo \"Valid benchmark names: ${VALID_BENCHMARKS[*]}\"\n}\n\n# Function to display valid PIM modes\nshow_valid_pim_modes() {\n echo \"Valid PIM modes: ${VALID_PIM_MODES[*]}\"\n}\n\n# Check if the provided PIM mode is valid\nis_valid_pim_mode() {\n for benchmark in \"${VALID_PIM_MODES[@]}\"; do\n if [ \"$1\" == \"$pim_mode\" ]; then\n return 0\n fi\n done\n return 1\n}\n\n# Check if the provided benchmark name is valid\nis_valid_benchmark() {\n for benchmark in \"${VALID_BENCHMARKS[@]}\"; do\n if [ \"$1\" == \"$benchmark\" ]; then\n return 0\n fi\n done\n # allow untracked verilog\n echo \"Warning: Input verilog $1 is experimental.\"\n return 0\n}\n", "text_preview": "#!/bin/bash #=============================================================================== # FILE: common.sh # DESCRIPTION: # AUTHOR: <> # AUTHOR: <> # CREATED: 06/03/2025 #=====================================", "input_sha256": "b19747c3d7f214c96cbffa77aaae1fd61847518426d332e6f05503f1cb661c5c", "text_sha256": "5e051c2058fca9eb47a7540f9582d6e5a51bee96b5e8eca219e2ce7ba5b14f2d", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 20101, "input_policy": "text-and-optional-url-v1", "label_policy_version": 12, "requested_model": "decision-models/baseten-mammoth-27b-latest", "backend": "baseten", "endpoint": "https://inference.baseten.co/v1/systemone", "status": "ok", "training_eligible": true, "label": {"primary": {"main_format": "Technical Writing", "sub_format": null}, "secondary": null, "tertiary": null, "content_structure": []}, "candidate_label": null, "topic": {"primary": {"main_topic": "Programming & Software Engineering", "sub_topic": null}, "secondary": null}, "scores": {"content_quality": 0, "noise_severity": 0, "missing_content_severity": 0, "factual_density": 3, "pretraining_utility": 0, "math_density": 0, "code_density": 4, "reasoning_density": 0, "education_level": 2, "creative_writing_quality": null}, "score_expectations": {"content_quality": 0.29918846376134045, "noise_severity": 0.2643121764685702, "missing_content_severity": 0.022800665563610642, "factual_density": 3.1805919431365592, "pretraining_utility": 0.0076133760005129905, "math_density": 0.23657833168444037, "code_density": 3.7118934997616218, "reasoning_density": 0.15864930388952395, "education_level": 2.548148078624311, "creative_writing_quality": -0.3194792362753189}, "api_choices": {"primary": "Technical Writing", "secondary": "NONE", "tertiary": "NONE", "education_level": "2", "creative_writing_quality": "not_applicable", "primary_topic": "Programming & Software Engineering", "secondary_topic": "NONE"}, "review_reasons": [], "format_slot_diagnostics": {"comparable": true, "secondary_tertiary_identical": false, "secondary_tertiary_max_abs_gap": 0.022339037680761585, "secondary_choice": "NONE", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.9930725075000273, "secondary": 0.9055224158573995, "tertiary": 0.9277647078383537, "structured_records": 0.22167335030605365, "procedural_steps": 0.0012203569422654542, "worked_solution": 0.00016461308949805147, "contextual_dialogue": 3.545341946826549e-06, "content_quality": 0.42176331061314987, "noise_severity": 0.7797398529428582, "missing_content_severity": 0.9809994453636578, "factual_density": 0.5368235199523379, "pretraining_utility": 0.5916806895765048, "math_density": 0.8028513902629664, "code_density": 0.7599112498013516, "reasoning_density": 0.86779224675873, "education_level": 0.4452355682197059, "creative_writing_quality": 0.9995974391218777, "primary_topic": 0.9405646865529118, "secondary_topic": 0.5530097488838088}, "probability_margin": {"primary": 0.9895087410815289, "secondary": 0.848830091818558, "tertiary": 0.8924846593144007, "education_level": 0.19467063975749616, "creative_writing_quality": 0.9995197776503768, "primary_topic": 0.9010912637390667, "secondary_topic": 0.33715438146775834}, "raw_probabilities": {"primary": {"Academic Writing": 4.715956477496652e-05, "Content Listing": 7.468461754259366e-05, "Creative Writing": 1.525559411703138e-05, "Customer Support Page": 8.751043977141888e-06, "Q&A Forum": 1.015595428310821e-05, "Discussion Thread": 8.482328452334378e-06, "Comment Section": 1.2192829798985146e-05, "Missing Content": 3.567580287871276e-05, "Knowledge Article": 7.067832138873866e-05, "Legal Notices": 2.41350820889931e-05, "News Article": 5.289738778754866e-06, "Organizational Announcement": 1.2003213674930238e-05, "Nonfiction Writing": 1.0396999061084909e-05, "Organizational About Page": 1.5191213391806215e-05, "Personal About Page": 1.1693880589255412e-05, "Personal Blog": 8.787670166819873e-06, "Product Page": 9.55669054841135e-06, "Spam / Ads": 1.0890512643195891e-05, "Structured Data": 0.0038524119393306432, "Technical Writing": 0.9933611530208595, "Transcript / Interview": 1.7122547608160758e-05, "Tutorial / How-To Guide": 0.00039199603652482205, "User Reviews": 6.116541201107234e-06, "Other / Unknown": 0.0019802188563186893}, "secondary": {"Academic Writing": 0.0005615635776007514, "Content Listing": 0.0022629448108229, "Creative Writing": 0.00028353276872452254, "Customer Support Page": 0.00017857348952277004, "Q&A Forum": 0.00013869072968399944, "Discussion Thread": 0.00012281518557805224, "Comment Section": 0.00018432488499347808, "Missing Content": 0.0012637000607097482, "Knowledge Article": 0.0005197389653048408, "Legal Notices": 0.0003047472369162042, "News Article": 0.0001678414820935618, "Organizational Announcement": 0.00017347306659289683, "Nonfiction Writing": 0.00017425818119615338, "Organizational About Page": 0.0002258583086112917, "Personal About Page": 0.00017415575791578311, "Personal Blog": 0.00018195258327970327, "Product Page": 0.0001342669717273327, "Spam / Ads": 0.00016899276654604766, "Structured Data": 0.06062889004478319, "Technical Writing": 0.02110978918761797, "Transcript / Interview": 0.00022407010556911016, "Tutorial / How-To Guide": 0.0012786998073071774, "User Reviews": 7.81381635611943e-05, "NONE": 0.9094589818633412}, "tertiary": {"Academic Writing": 0.0004547530895552078, "Content Listing": 0.0031746307853840563, "Creative Writing": 0.00018394172211016633, "Customer Support Page": 0.0001439167835195541, "Q&A Forum": 7.879471331281342e-05, "Discussion Thread": 6.688913886869823e-05, "Comment Section": 0.00012199617689513343, "Missing Content": 0.0037144885363992654, "Knowledge Article": 0.0007548636546533559, "Legal Notices": 0.00044797699034121013, "News Article": 0.00010917920338224439, "Organizational Announcement": 0.00012790614103540287, "Nonfiction Writing": 0.0001195630460455414, "Organizational About Page": 0.00018790973868144885, "Personal About Page": 0.00012724938059837016, "Personal Blog": 0.00012396650843197294, "Product Page": 9.615208342338658e-05, "Spam / Ads": 0.00011237217572048013, "Structured Data": 0.03828985236402161, "Technical Writing": 0.01911652861241782, "Transcript / Interview": 0.00011928970088868717, "Tutorial / How-To Guide": 0.0015001665647370003, "User Reviews": 5.3101211154256615e-05, "NONE": 0.9307745116784223}, "structured_records": {"false": 0.7783266496939464, "true": 0.22167335030605365}, "procedural_steps": {"false": 0.9987796430577346, "true": 0.0012203569422654542}, "worked_solution": {"false": 0.999835386910502, "true": 0.00016461308949805147}, "contextual_dialogue": {"false": 0.9999964546580532, "true": 3.545341946826549e-06}, "content_quality": {"-2": 0.016261987793105188, "-1": 0.1648238061652295, "0": 0.4032628394300901, "1": 0.3347664877103703, "2": 0.08088487890120499}, "noise_severity": {"0": 0.7570925998966561, "1": 0.2272267876945646, "2": 0.011651603648146826, "3": 0.002333853564817967, "4": 0.0016951551958145031}, "missing_content_severity": {"0": 0.9829057519552235, "1": 0.013141083827307715, "2": 0.0027096392255683143, "3": 0.0007337966824352869, "4": 0.0005097283094651088}, "factual_density": {"0": 0.0029905235980710204, "1": 0.009463273869098194, "2": 0.15971179792790813, "3": 0.45963254500804573, "4": 0.36820185959687685}, "pretraining_utility": {"-2": 0.013836407138393115, "-1": 0.21351208397705443, "0": 0.5472183556739987, "1": 0.20206803216675398, "2": 0.023365121043799834}, "math_density": {"0": 0.8195378391198785, "1": 0.1567669512189221, "2": 0.0055500766236055, "3": 0.00386930493206844, "4": 0.014275828105525488}, "code_density": {"0": 0.0004806051837992493, "1": 0.001085560385531508, "2": 0.03394256682918594, "3": 0.2150422646882146, "4": 0.7494490029132687}, "reasoning_density": {"0": 0.8897428585658415, "1": 0.0639461193137316, "2": 0.04471807080306056, "3": 0.001104762299793705, "4": 0.0004881890175725156}, "education_level": {"none": 0.0010156900774772758, "0": 0.00194913758970098, "1": 0.0080541528782031, "2": 0.5376963068497549, "3": 0.34302566709225873, "4": 0.10825904551260512}, "creative_writing_quality": {"not_applicable": 0.9996645326015647, "-2": 5.4736984397271386e-05, "-1": 7.54674801025641e-05, "0": 0.00014475495118794547, "1": 4.324938484557797e-05, "2": 1.7258597902057047e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 7.719077521279657e-05, "Art & Design": 0.00011307000910321411, "Law & Crime": 8.1253027798509e-05, "Education & Careers": 6.0627731290406514e-05, "Entertainment & Media": 6.35389226238604e-05, "Fashion & Beauty": 5.5860261080838234e-05, "Business, Economics & Finance": 8.188776509111977e-05, "Food & Dining": 5.0751431486862024e-05, "Games & Gaming": 0.00010147532711111517, "Electronics & Hardware": 0.04175939640796389, "Health, Healthcare & Wellness": 9.127563891455246e-05, "History & Geography": 9.711451777637933e-05, "Home, Pets & Hobbies": 5.2185703176787505e-05, "Industry & Production": 8.219607445964975e-05, "Language, Literature & Philosophy": 5.8857028011270924e-05, "Politics & Government": 5.70898086926398e-05, "Religion & Spirituality": 6.104371490539053e-05, "Science, Mathematics & Engineering": 0.01277939202346296, "Relationships & Community": 4.402226308561731e-05, "Software Usage & Applications": 0.0005718773222051596, "Programming & Software Engineering": 0.9428506601470306, "Sports & Fitness": 9.824531157850424e-05, "Vehicles & Transportation": 4.4777538941850486e-05, "Travel & Tourism": 9.080622923929425e-05, "Other / Uncovered Subject": 0.0004559431795914149, "Unknown / Insufficient Content": 0.0001194618401653612}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0006105209983315857, "Art & Design": 0.000762603432968117, "Law & Crime": 0.0006477077180487617, "Education & Careers": 0.00041688783820591685, "Entertainment & Media": 0.00045811722995708264, "Fashion & Beauty": 0.00029320577705396495, "Business, Economics & Finance": 0.0006337598001814903, "Food & Dining": 0.000269716248066774, "Games & Gaming": 0.0005174683805150951, "Electronics & Hardware": 0.2330473001512886, "Health, Healthcare & Wellness": 0.0004972004594240404, "History & Geography": 0.0004883520452441833, "Home, Pets & Hobbies": 0.00030279035775831033, "Industry & Production": 0.00036993949440130983, "Language, Literature & Philosophy": 0.0002310660435932039, "Politics & Government": 0.0003571880409966067, "Religion & Spirituality": 0.000471817930879424, "Science, Mathematics & Engineering": 0.06589286645348814, "Relationships & Community": 0.00019573685012767055, "Software Usage & Applications": 0.002340663059432004, "Programming & Software Engineering": 0.11892327854896852, "Sports & Fitness": 0.000366779964624235, "Vehicles & Transportation": 0.0002171319885020742, "Travel & Tourism": 0.0005606993577890479, "Other / Uncovered Subject": 0.0009255202111068137, "NONE": 0.5702016816190469}}, "probabilities": {"primary": {"Academic Writing": 4.7159564774966533e-05, "Content Listing": 7.468461754259367e-05, "Creative Writing": 1.5255594117031383e-05, "Customer Support Page": 8.75104397714189e-06, "Q&A Forum": 1.0155954283108211e-05, "Discussion Thread": 8.48232845233438e-06, "Comment Section": 1.219282979898515e-05, "Missing Content": 3.5675802878712766e-05, "Knowledge Article": 7.067832138873868e-05, "Legal Notices": 2.4135082088993106e-05, "News Article": 5.289738778754867e-06, "Organizational Announcement": 1.2003213674930241e-05, "Nonfiction Writing": 1.039699906108491e-05, "Organizational About Page": 1.5191213391806218e-05, "Personal About Page": 1.1693880589255416e-05, "Personal Blog": 8.787670166819875e-06, "Product Page": 9.556690548411352e-06, "Spam / Ads": 1.0890512643195893e-05, "Structured Data": 0.003852411939330644, "Technical Writing": 0.9933611530208597, "Transcript / Interview": 1.712254760816076e-05, "Tutorial / How-To Guide": 0.00039199603652482215, "User Reviews": 6.116541201107236e-06, "Other / Unknown": 0.0019802188563186897}, "secondary": {"Academic Writing": 0.0005615635776007515, "Content Listing": 0.0022629448108229004, "Creative Writing": 0.0002835327687245226, "Customer Support Page": 0.00017857348952277007, "Q&A Forum": 0.00013869072968399946, "Discussion Thread": 0.00012281518557805227, "Comment Section": 0.0001843248849934781, "Missing Content": 0.0012637000607097484, "Knowledge Article": 0.0005197389653048409, "Legal Notices": 0.0003047472369162043, "News Article": 0.00016784148209356183, "Organizational Announcement": 0.00017347306659289686, "Nonfiction Writing": 0.0001742581811961534, "Organizational About Page": 0.00022585830861129172, "Personal About Page": 0.00017415575791578314, "Personal Blog": 0.0001819525832797033, "Product Page": 0.00013426697172733273, "Spam / Ads": 0.0001689927665460477, "Structured Data": 0.060628890044783196, "Technical Writing": 0.021109789187617974, "Transcript / Interview": 0.0002240701055691102, "Tutorial / How-To Guide": 0.0012786998073071776, "User Reviews": 7.813816356119431e-05, "NONE": 0.9094589818633413}, "tertiary": {"Academic Writing": 0.0004547530895552078, "Content Listing": 0.0031746307853840563, "Creative Writing": 0.00018394172211016633, "Customer Support Page": 0.0001439167835195541, "Q&A Forum": 7.879471331281342e-05, "Discussion Thread": 6.688913886869823e-05, "Comment Section": 0.00012199617689513343, "Missing Content": 0.0037144885363992654, "Knowledge Article": 0.0007548636546533559, "Legal Notices": 0.00044797699034121013, "News Article": 0.00010917920338224439, "Organizational Announcement": 0.00012790614103540287, "Nonfiction Writing": 0.0001195630460455414, "Organizational About Page": 0.00018790973868144885, "Personal About Page": 0.00012724938059837016, "Personal Blog": 0.00012396650843197294, "Product Page": 9.615208342338658e-05, "Spam / Ads": 0.00011237217572048013, "Structured Data": 0.03828985236402161, "Technical Writing": 0.01911652861241782, "Transcript / Interview": 0.00011928970088868717, "Tutorial / How-To Guide": 0.0015001665647370003, "User Reviews": 5.3101211154256615e-05, "NONE": 0.9307745116784223}, "structured_records": {"false": 0.7783266496939464, "true": 0.22167335030605365}, "procedural_steps": {"false": 0.9987796430577346, "true": 0.0012203569422654542}, "worked_solution": {"false": 0.999835386910502, "true": 0.00016461308949805147}, "contextual_dialogue": {"false": 0.9999964546580532, "true": 3.545341946826549e-06}, "content_quality": {"-2": 0.016261987793105188, "-1": 0.1648238061652295, "0": 0.4032628394300901, "1": 0.3347664877103703, "2": 0.08088487890120499}, "noise_severity": {"0": 0.7570925998966561, "1": 0.2272267876945646, "2": 0.011651603648146826, "3": 0.002333853564817967, "4": 0.0016951551958145031}, "missing_content_severity": {"0": 0.9829057519552236, "1": 0.013141083827307717, "2": 0.0027096392255683147, "3": 0.000733796682435287, "4": 0.0005097283094651089}, "factual_density": {"0": 0.002990523598071021, "1": 0.009463273869098196, "2": 0.15971179792790816, "3": 0.4596325450080458, "4": 0.3682018595968769}, "pretraining_utility": {"-2": 0.013836407138393115, "-1": 0.21351208397705443, "0": 0.5472183556739987, "1": 0.20206803216675398, "2": 0.023365121043799834}, "math_density": {"0": 0.8195378391198785, "1": 0.1567669512189221, "2": 0.0055500766236055, "3": 0.00386930493206844, "4": 0.014275828105525488}, "code_density": {"0": 0.0004806051837992493, "1": 0.001085560385531508, "2": 0.03394256682918594, "3": 0.2150422646882146, "4": 0.7494490029132687}, "reasoning_density": {"0": 0.8897428585658416, "1": 0.06394611931373162, "2": 0.04471807080306057, "3": 0.0011047622997937053, "4": 0.00048818901757251564}, "education_level": {"none": 0.0010156900774772758, "0": 0.00194913758970098, "1": 0.0080541528782031, "2": 0.5376963068497549, "3": 0.34302566709225873, "4": 0.10825904551260512}, "creative_writing_quality": {"not_applicable": 0.9996645326015645, "-2": 5.473698439727137e-05, "-1": 7.546748010256408e-05, "0": 0.00014475495118794544, "1": 4.3249384845577964e-05, "2": 1.7258597902057044e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 7.719077521279657e-05, "Art & Design": 0.00011307000910321411, "Law & Crime": 8.1253027798509e-05, "Education & Careers": 6.0627731290406514e-05, "Entertainment & Media": 6.35389226238604e-05, "Fashion & Beauty": 5.5860261080838234e-05, "Business, Economics & Finance": 8.188776509111977e-05, "Food & Dining": 5.0751431486862024e-05, "Games & Gaming": 0.00010147532711111517, "Electronics & Hardware": 0.04175939640796389, "Health, Healthcare & Wellness": 9.127563891455246e-05, "History & Geography": 9.711451777637933e-05, "Home, Pets & Hobbies": 5.2185703176787505e-05, "Industry & Production": 8.219607445964975e-05, "Language, Literature & Philosophy": 5.8857028011270924e-05, "Politics & Government": 5.70898086926398e-05, "Religion & Spirituality": 6.104371490539053e-05, "Science, Mathematics & Engineering": 0.01277939202346296, "Relationships & Community": 4.402226308561731e-05, "Software Usage & Applications": 0.0005718773222051596, "Programming & Software Engineering": 0.9428506601470306, "Sports & Fitness": 9.824531157850424e-05, "Vehicles & Transportation": 4.4777538941850486e-05, "Travel & Tourism": 9.080622923929425e-05, "Other / Uncovered Subject": 0.0004559431795914149, "Unknown / Insufficient Content": 0.0001194618401653612}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0006105209983315858, "Art & Design": 0.0007626034329681171, "Law & Crime": 0.0006477077180487618, "Education & Careers": 0.0004168878382059169, "Entertainment & Media": 0.0004581172299570827, "Fashion & Beauty": 0.000293205777053965, "Business, Economics & Finance": 0.0006337598001814904, "Food & Dining": 0.0002697162480667741, "Games & Gaming": 0.0005174683805150952, "Electronics & Hardware": 0.23304730015128863, "Health, Healthcare & Wellness": 0.0004972004594240405, "History & Geography": 0.0004883520452441835, "Home, Pets & Hobbies": 0.0003027903577583104, "Industry & Production": 0.0003699394944013099, "Language, Literature & Philosophy": 0.00023106604359320393, "Politics & Government": 0.00035718804099660675, "Religion & Spirituality": 0.0004718179308794241, "Science, Mathematics & Engineering": 0.06589286645348816, "Relationships & Community": 0.00019573685012767058, "Software Usage & Applications": 0.0023406630594320042, "Programming & Software Engineering": 0.11892327854896853, "Sports & Fitness": 0.00036677996462423506, "Vehicles & Transportation": 0.00021713198850207424, "Travel & Tourism": 0.000560699357789048, "Other / Uncovered Subject": 0.0009255202111068138, "NONE": 0.570201681619047}}, "probability_diagnostics": {"primary": {"raw_sum": 0.9999999999999998, "mass_delta": -2.220446049250313e-16, "missing_mass": 2.220446049250313e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "tertiary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "structured_records": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "procedural_steps": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "worked_solution": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "contextual_dialogue": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "content_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "noise_severity": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "missing_content_severity": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "factual_density": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "pretraining_utility": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "math_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "code_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "reasoning_density": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "education_level": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "creative_writing_quality": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "primary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary_topic": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}}, "usage": {"input_tokens": 9775, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 9775, "cached_share": null, "cache_discount_reported": null, "reported_cost_usd": null}, "response_metadata": {"model": "decision-models/baseten-mammoth-27b-latest"}, "scored_at_utc": "2026-10-25T18:36:07.773429+00:00", "scoring_key_slot": "assistant_1", "dataset_uid": "c7ac5b74-3f3a-47a4-bd41-41609dab5d05", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "e8f91d1b741572e9ef3ce3e70abfec4fdb9a68673338990199c99ad7cf8eb3cd", "source_metadata": {"uuid": "c7ac5b74-3f3a-47a4-bd41-41609dab5d05", "repo_name": "UVA-LavaLab/PIMsynth", "relative_path": "testbench/common.sh", "category": "TOOL", "algo_rel_score": 0.9706352353096008, "quality_score": 5.731813430786133, "source_meta": {"github_metadata": {"branch": "main", "commit_count": 311, "repo_created_at": "2024-08-13T11:18:41.000Z", "is_fork": false, "is_org_owned": true, "forked_from": null, "stars": 1, "forks": 0, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "682abc5cba175d544098f0a913af8bda6a9701b7", "size_bytes": 3581, "file_timestamp": 1750488357, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "2a23517c25aa559f096b3c251b16e77e43e794d1"}}, "parsed_source_meta": {"github_metadata": {"branch": "main", "commit_count": 311, "repo_created_at": "2024-08-13T11:18:41.000Z", "is_fork": false, "is_org_owned": true, "forked_from": null, "stars": 1, "forks": 0, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "682abc5cba175d544098f0a913af8bda6a9701b7", "size_bytes": 3581, "file_timestamp": 1750488357, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "2a23517c25aa559f096b3c251b16e77e43e794d1", "url": "https://github.com/UVA-LavaLab/PIMsynth/blob/2a23517c25aa559f096b3c251b16e77e43e794d1/testbench/common.sh"}, "gpt4o_tokens": 1161, "dataset_split": "shell", "probability_weighted_scores": {"content_quality": 0.29918846376134045, "noise_severity": 0.2643121764685702, "missing_content_severity": 0.022800665563610642, "factual_density": 3.1805919431365592, "pretraining_utility": 0.0076133760005129905, "math_density": 0.23657833168444037, "code_density": 3.7118934997616218, "reasoning_density": 0.15864930388952395, "education_level": 2.548148078624311, "creative_writing_quality": -0.3194792362753189}, "score_applicability": {"education_level": 0.9989843099225229, "creative_writing_quality": 0.0003354673984354159}} {"source_group": "shell", "source": "openbmb/UltraData-Stack-v3-L2/shell", "domain": "github.com", "language": "shell", "url": "https://github.com/ChewKeanHo/AutomataCI/blob/fa9d05ace6838df6e75d1280f8e16ead0b91cc3e/automataCI/_release-staticrepo_windows-any.ps1", "id": "shell-0-edb3fe094ffda94109ef9a76a1ab5202", "text": "# Copyright 2023 (Holloway) <>\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\"); you may not\n# use this file except in compliance with the License. You may obtain a copy\n# of the License at:\n# http://www.apache.org/licenses/LICENSE-2.0\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the\n# License for the specific language governing permissions and limitations\n# under the License.\n. \"${env:LIBS_AUTOMATACI}\\services\\io\\fs.ps1\"\n. \"${env:LIBS_AUTOMATACI}\\services\\io\\strings.ps1\"\n. \"${env:LIBS_AUTOMATACI}\\services\\i18n\\translations.ps1\"\n. \"${env:LIBS_AUTOMATACI}\\services\\versioners\\git.ps1\"\n\n\n\n\n# initialize\nif (-not (Test-Path -Path $env:PROJECT_PATH_ROOT)) {\n\tWrite-Error \"[ ERROR ] - Please run from automataCI\\ci.sh.ps1 instead!`n\"\n\treturn\n}\n\n\n\n\n\nfunction RELEASE-Conclude-STATIC-REPO {\n\t# validate input\n\t$null = I18N-Source \"GIT COMMIT ID\"\n\t$__tag = GIT-Get-Latest-Commit-ID\n\tif ($(STRINGS-Is-Empty \"${__tag}\") -eq 0) {\n\t\t$null = I18N-Source-Failed\n\t\treturn 1\n\t}\n\n\n\t# execute\n\t$__current_path = Get-Location\n\t$null = Set-Location \"${env:PROJECT_PATH_ROOT}\\${env:PROJECT_PATH_RELEASE}\\${env:PROJECT_STATIC_REPO_DIRECTORY}\"\n\n\t$__file = \"Home.md\"\n\t$null = I18N-Create \"${__file}\"\n\t$null = FS-Write-File \"${__file}\" @\"\n# ${env:PROJECT_NAME} Static Distribution Repository\n\nThis is a re-purposed repository for housing various distribution ecosystem\nsuch as but not limited to ``.deb``, ``.rpm``, ``.flatpak``, and etc for folks\nto ``apt-get install``, ``yum install``, or ``flatpak install``.\n\"@\n\n\t$null = I18N-Commit \"STATIC REPO\"\n\t$___process = Git-Autonomous-Force-Commit `\n\t\t\"${__tag}\" `\n\t\t\"${env:PROJECT_STATIC_REPO_KEY}\" `\n\t\t\"${env:PROJECT_STATIC_REPO_BRANCH}\"\n\n\t$null = Set-Location \"${__curent_path}\"\n\t$null = Remove-Variable __current_path\n\n\n\t# return status\n\tif ($___process -ne 0) {\n\t\t$null = I18N-Commit-Failed\n\t\treturn 1\n\t}\n\n\treturn 0\n}\n\n\n\n\nfunction RELEASE-Setup-STATIC-REPO {\n\t# clean up base directory\n\t$null = I18N-Check \"STATIC REPO\"\n\tif ($(FS-Is-File \"${env:PROJECT_PATH_ROOT}\\${env:PROJECT_PATH_RELEASE}\") -eq 0) {\n\t\t$null = I18N-Check-Failed\n\t\treturn 1\n\t}\n\t$null = FS-Make-Directory \"${env:PROJECT_PATH_ROOT}\\${env:PROJECT_PATH_RELEASE}\"\n\n\n\t# execute\n\t$null = I18N-Setup \"STATIC REPO\"\n\t$___process = GIT-Clone-Repo `\n\t\t\"${env:PROJECT_PATH_ROOT}\" `\n\t\t\"${env:PROJECT_PATH_RELEASE}\" `\n\t\t\"$(Get-Location)\" `\n\t\t\"${env:PROJECT_STATIC_REPO}\" `\n\t\t\"${env:PROJECT_SIMULATE_RELEASE_REPO}\" `\n\t\t\"${env:PROJECT_STATIC_REPO_DIRECTORY}\"\n\tif ($___process -ne 0) {\n\t\t$null = I18N-Setup-Failed\n\t\treturn 1\n\t}\n\n\t$__staging = \"${env:PROJECT_PATH_ROOT}\\${env:PROJECT_PATH_TEMP}\\${env:PROJECT_PATH_RELEASE}\"\n\t$__dest = \"${env:PROJECT_PATH_ROOT}\\${env:PROJECT_PATH_RELEASE}\\${env:PROJECT_STATIC_REPO_DIRECTORY}\"\n\tif ($(FS-Is-Directory \"${__staging}\") -eq 0) {\n\t\t$null = I18N-Export \"STATIC REPO\"\n\t\t$___process = FS-Copy-All \"${__staging}/\" \"${__dest}\"\n\t\tif ($___process -ne 0) {\n\t\t\t$null = I18N-Export-Failed\n\t\t\treturn 1\n\t\t}\n\t}\n\n\n\t# report status\n\treturn 0\n}\n", "text_preview": "# Copyright 2023 (Holloway) <> # # Licensed under the Apache License, Version 2.0 (the \"License\"); you may not # use this file except in compliance with the License. You may obtain a copy # of the License at: # http://www.apac", "input_sha256": "cb9c53053c45e1f9a5bc315201b080655e2f717fab7d3448b970f4e2691dacb6", "text_sha256": "edb3fe094ffda94109ef9a76a1ab520271ae982a2eb9d601ffb9f8908d6ac6d6", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 20100, "input_policy": "text-and-optional-url-v1", "label_policy_version": 12, "requested_model": "decision-models/baseten-mammoth-27b-latest", "backend": "baseten", "endpoint": "https://inference.baseten.co/v1/systemone", "status": "ok", "training_eligible": true, "label": {"primary": {"main_format": "Technical Writing", "sub_format": null}, "secondary": {"main_format": "Legal Notices", "sub_format": null}, "tertiary": null, "content_structure": []}, "candidate_label": null, "topic": {"primary": {"main_topic": "Programming & Software Engineering", "sub_topic": null}, "secondary": null}, "scores": {"content_quality": 0, "noise_severity": 1, "missing_content_severity": 0, "factual_density": 3, "pretraining_utility": 0, "math_density": 0, "code_density": 4, "reasoning_density": 0, "education_level": 2, "creative_writing_quality": null}, "score_expectations": {"content_quality": 0.2891251124867406, "noise_severity": 0.6631749734820378, "missing_content_severity": 0.026737332828033426, "factual_density": 3.0228436687137137, "pretraining_utility": 0.12361450057910563, "math_density": 0.002725591549727664, "code_density": 3.6223749967431917, "reasoning_density": 0.372283187806039, "education_level": 2.408485009527253, "creative_writing_quality": -0.21021336669921303}, "api_choices": {"primary": "Technical Writing", "secondary": "Legal Notices", "tertiary": "NONE", "education_level": "2", "creative_writing_quality": "not_applicable", "primary_topic": "Programming & Software Engineering", "secondary_topic": "NONE"}, "review_reasons": [], "format_slot_diagnostics": {"comparable": true, "secondary_tertiary_identical": false, "secondary_tertiary_max_abs_gap": 0.6263170656920158, "secondary_choice": "Legal Notices", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.9681520131680679, "secondary": 0.8037540693987997, "tertiary": 0.7547243511566554, "structured_records": 0.0007064533799568313, "procedural_steps": 0.1027868978992171, "worked_solution": 0.0006194081588551496, "contextual_dialogue": 5.963493670710333e-06, "content_quality": 0.3669551060213493, "noise_severity": 0.6246391016875192, "missing_content_severity": 0.9777188893099722, "factual_density": 0.4363644392508541, "pretraining_utility": 0.5532586843210627, "math_density": 0.9977286737085603, "code_density": 0.685312497285993, "reasoning_density": 0.6897640101616342, "education_level": 0.5390317568557214, "creative_writing_quality": 0.99667383022993, "primary_topic": 0.9909627456502, "secondary_topic": 0.8287122749530649}, "probability_margin": {"primary": 0.9446048106909506, "secondary": 0.6733038790074042, "tertiary": 0.5753571419663626, "education_level": 0.2983237224353567, "creative_writing_quality": 0.9955568784277995, "primary_topic": 0.9873595275811532, "secondary_topic": 0.724470553530727}, "raw_probabilities": {"primary": {"Academic Writing": 6.293829796280607e-05, "Content Listing": 4.670337518417026e-05, "Creative Writing": 4.575442901713589e-05, "Customer Support Page": 2.7895200527499807e-05, "Q&A Forum": 3.064870502820883e-05, "Discussion Thread": 2.1849991612666633e-05, "Comment Section": 4.430936369894958e-05, "Missing Content": 6.913636108268243e-05, "Knowledge Article": 0.00010329235690201879, "Legal Notices": 0.024874201928447776, "News Article": 1.7158385658975472e-05, "Organizational Announcement": 5.264647898505517e-05, "Nonfiction Writing": 3.412336176429151e-05, "Organizational About Page": 4.9771841923816845e-05, "Personal About Page": 3.0077826681798872e-05, "Personal Blog": 2.233814468286577e-05, "Product Page": 2.0804613472590652e-05, "Spam / Ads": 2.6879486034653782e-05, "Structured Data": 0.00017078058164919706, "Technical Writing": 0.9694790126193984, "Transcript / Interview": 4.9122576521490495e-05, "Tutorial / How-To Guide": 0.001898791218888652, "User Reviews": 2.042190614310323e-05, "Other / Unknown": 0.00280134094873097}, "secondary": {"Academic Writing": 0.0004542605708590874, "Content Listing": 0.00036723223943051507, "Creative Writing": 0.00045459080191319085, "Customer Support Page": 0.00026725696741871686, "Q&A Forum": 0.0002486842179894556, "Discussion Thread": 0.00018836919396235564, "Comment Section": 0.00039050867319874444, "Missing Content": 0.00048569333665402994, "Knowledge Article": 0.0011837986763552945, "Legal Notices": 0.8119309831738497, "News Article": 0.00034366434870346723, "Organizational Announcement": 0.0005628861955407809, "Nonfiction Writing": 0.00046909934585069856, "Organizational About Page": 0.0006351509611330604, "Personal About Page": 0.000302656746985416, "Personal Blog": 0.00021727837605215917, "Product Page": 0.0002964295817326314, "Spam / Ads": 0.00028970712146782825, "Structured Data": 0.0004435150985854447, "Technical Writing": 0.038436588756534634, "Transcript / Interview": 0.0003963249737989679, "Tutorial / How-To Guide": 0.0028519755036552226, "User Reviews": 0.00015624097188295664, "NONE": 0.13862710416644555}, "tertiary": {"Academic Writing": 0.0006420267367646893, "Content Listing": 0.00047060615811755034, "Creative Writing": 0.0009864342498026183, "Customer Support Page": 0.00046856315710575036, "Q&A Forum": 0.00024383894439765678, "Discussion Thread": 0.00022370339782327726, "Comment Section": 0.000424093217055416, "Missing Content": 0.000853967392006268, "Knowledge Article": 0.006942116709404211, "Legal Notices": 0.18958702789209875, "News Article": 0.00048598188697044525, "Organizational Announcement": 0.0010928332603434962, "Nonfiction Writing": 0.0016143182772376543, "Organizational About Page": 0.002378933805803958, "Personal About Page": 0.0007277145710708822, "Personal Blog": 0.0003486126044108094, "Product Page": 0.0005586079347477876, "Spam / Ads": 0.0006636015648889428, "Structured Data": 0.0005634843982276511, "Technical Writing": 0.018820019729733295, "Transcript / Interview": 0.0004898467428410578, "Tutorial / How-To Guide": 0.006269278831513572, "User Reviews": 0.0002002186791729205, "NONE": 0.7649441698584614}, "structured_records": {"false": 0.9992935466200432, "true": 0.0007064533799568313}, "procedural_steps": {"false": 0.8972131021007829, "true": 0.1027868978992171}, "worked_solution": {"false": 0.9993805918411448, "true": 0.0006194081588551496}, "contextual_dialogue": {"false": 0.9999940365063293, "true": 5.963493670710333e-06}, "content_quality": {"-2": 0.025339999745143928, "-1": 0.18458438065353222, "0": 0.35223927436806324, "1": 0.35128319783596074, "2": 0.08655314739729997}, "noise_severity": {"0": 0.3936290522464696, "1": 0.5566963824725625, "2": 0.044773614149311844, "3": 0.0026724418157730422, "4": 0.002228509315883138}, "missing_content_severity": {"0": 0.9848057337143401, "1": 0.006771866384477023, "2": 0.005897762918065867, "3": 0.001928607325043727, "4": 0.000596029658073372}, "factual_density": {"0": 0.009434659371810126, "1": 0.04742391477370306, "2": 0.20360769442979418, "3": 0.38993056061834835, "4": 0.34960317080634434}, "pretraining_utility": {"-2": 0.010462901263832645, "-1": 0.18531173659014427, "0": 0.5069657224051233, "1": 0.2646672397848843, "2": 0.032592399956015435}, "math_density": {"0": 0.9981505257364068, "1": 0.001442920200679364, "2": 0.00013335180272999194, "3": 7.684129714747585e-05, "4": 0.00019636096303647226}, "code_density": {"0": 0.00042599454685299243, "1": 0.0009401443698792777, "2": 0.03642341925743374, "3": 0.3002537534448911, "4": 0.6619566883809428}, "reasoning_density": {"0": 0.7679581450446136, "1": 0.11550156638737234, "2": 0.09629151959354075, "3": 0.01679649366630833, "4": 0.003452275308165029}, "education_level": {"none": 0.0016582312737722811, "0": 0.0018874354897288493, "1": 0.010690159626668694, "2": 0.6158597973797678, "3": 0.3175360749444111, "4": 0.05236830128565146}, "creative_writing_quality": {"not_applicable": 0.9972281918582749, "-2": 0.00018920120462419124, "-1": 0.0005991299658583198, "0": 0.0016713134304754474, "1": 0.00022946582774371053, "2": 8.269771302334368e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 4.854245870546619e-05, "Art & Design": 5.410388280956518e-05, "Law & Crime": 0.002586044066440117, "Education & Careers": 5.531739771864537e-05, "Entertainment & Media": 3.2774035907524893e-05, "Fashion & Beauty": 2.9284886772794216e-05, "Business, Economics & Finance": 0.00011104471928685629, "Food & Dining": 3.161730349484845e-05, "Games & Gaming": 7.321846820563831e-05, "Electronics & Hardware": 0.00028939582098042, "Health, Healthcare & Wellness": 2.852442256518914e-05, "History & Geography": 6.393278762883357e-05, "Home, Pets & Hobbies": 4.191237434276855e-05, "Industry & Production": 8.108314447976548e-05, "Language, Literature & Philosophy": 4.23267072665321e-05, "Politics & Government": 6.88281210784947e-05, "Religion & Spirituality": 4.764780104525998e-05, "Science, Mathematics & Engineering": 0.00027557148974554615, "Relationships & Community": 2.9365388668621617e-05, "Software Usage & Applications": 0.003950804774808327, "Programming & Software Engineering": 0.9913103323559616, "Sports & Fitness": 5.689383584125439e-05, "Vehicles & Transportation": 2.9695958342097315e-05, "Travel & Tourism": 5.385267210233537e-05, "Other / Uncovered Subject": 0.0004929039056421815, "Unknown / Insufficient Content": 0.00011498122015952947}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0006398482793120885, "Art & Design": 0.0004998748194222885, "Law & Crime": 0.11082971084722007, "Education & Careers": 0.00045223992331162795, "Entertainment & Media": 0.0004532965213428944, "Fashion & Beauty": 0.0002916026254994278, "Business, Economics & Finance": 0.0009561354941192017, "Food & Dining": 0.000218560190697992, "Games & Gaming": 0.0003492087316109701, "Electronics & Hardware": 0.0009105437461939781, "Health, Healthcare & Wellness": 0.0002916081874311611, "History & Geography": 0.0003499605255043851, "Home, Pets & Hobbies": 0.00026831738932417475, "Industry & Production": 0.00033493726280009413, "Language, Literature & Philosophy": 0.00022512737670449617, "Politics & Government": 0.0010587523483546531, "Religion & Spirituality": 0.0004271240130706963, "Science, Mathematics & Engineering": 0.0007300000559807621, "Relationships & Community": 0.00018001723956995275, "Software Usage & Applications": 0.021335407360242618, "Programming & Software Engineering": 0.021807748140910403, "Sports & Fitness": 0.0002618954382179694, "Vehicles & Transportation": 0.00015536896143756332, "Travel & Tourism": 0.00043794531259419626, "Other / Uncovered Subject": 0.0012345048311793452, "NONE": 0.835300264377947}}, "probabilities": {"primary": {"Academic Writing": 6.293829796280608e-05, "Content Listing": 4.6703375184170275e-05, "Creative Writing": 4.57544290171359e-05, "Customer Support Page": 2.7895200527499814e-05, "Q&A Forum": 3.064870502820884e-05, "Discussion Thread": 2.1849991612666637e-05, "Comment Section": 4.4309363698949584e-05, "Missing Content": 6.913636108268244e-05, "Knowledge Article": 0.00010329235690201882, "Legal Notices": 0.024874201928447782, "News Article": 1.7158385658975476e-05, "Organizational Announcement": 5.264647898505518e-05, "Nonfiction Writing": 3.4123361764291516e-05, "Organizational About Page": 4.977184192381686e-05, "Personal About Page": 3.007782668179888e-05, "Personal Blog": 2.2338144682865774e-05, "Product Page": 2.0804613472590655e-05, "Spam / Ads": 2.687948603465379e-05, "Structured Data": 0.00017078058164919708, "Technical Writing": 0.9694790126193986, "Transcript / Interview": 4.912257652149051e-05, "Tutorial / How-To Guide": 0.0018987912188886524, "User Reviews": 2.0421906143103233e-05, "Other / Unknown": 0.0028013409487309703}, "secondary": {"Academic Writing": 0.00045426057085908744, "Content Listing": 0.0003672322394305151, "Creative Writing": 0.0004545908019131909, "Customer Support Page": 0.0002672569674187169, "Q&A Forum": 0.00024868421798945563, "Discussion Thread": 0.00018836919396235567, "Comment Section": 0.0003905086731987445, "Missing Content": 0.00048569333665403, "Knowledge Article": 0.0011837986763552947, "Legal Notices": 0.8119309831738498, "News Article": 0.0003436643487034673, "Organizational Announcement": 0.000562886195540781, "Nonfiction Writing": 0.0004690993458506986, "Organizational About Page": 0.0006351509611330605, "Personal About Page": 0.00030265674698541607, "Personal Blog": 0.0002172783760521592, "Product Page": 0.00029642958173263143, "Spam / Ads": 0.0002897071214678283, "Structured Data": 0.0004435150985854448, "Technical Writing": 0.03843658875653464, "Transcript / Interview": 0.00039632497379896793, "Tutorial / How-To Guide": 0.002851975503655223, "User Reviews": 0.00015624097188295666, "NONE": 0.13862710416644558}, "tertiary": {"Academic Writing": 0.0006420267367646893, "Content Listing": 0.00047060615811755034, "Creative Writing": 0.0009864342498026183, "Customer Support Page": 0.00046856315710575036, "Q&A Forum": 0.00024383894439765678, "Discussion Thread": 0.00022370339782327726, "Comment Section": 0.000424093217055416, "Missing Content": 0.000853967392006268, "Knowledge Article": 0.006942116709404211, "Legal Notices": 0.18958702789209875, "News Article": 0.00048598188697044525, "Organizational Announcement": 0.0010928332603434962, "Nonfiction Writing": 0.0016143182772376543, "Organizational About Page": 0.002378933805803958, "Personal About Page": 0.0007277145710708822, "Personal Blog": 0.0003486126044108094, "Product Page": 0.0005586079347477876, "Spam / Ads": 0.0006636015648889428, "Structured Data": 0.0005634843982276511, "Technical Writing": 0.018820019729733295, "Transcript / Interview": 0.0004898467428410578, "Tutorial / How-To Guide": 0.006269278831513572, "User Reviews": 0.0002002186791729205, "NONE": 0.7649441698584614}, "structured_records": {"false": 0.9992935466200432, "true": 0.0007064533799568313}, "procedural_steps": {"false": 0.8972131021007829, "true": 0.1027868978992171}, "worked_solution": {"false": 0.9993805918411448, "true": 0.0006194081588551496}, "contextual_dialogue": {"false": 0.9999940365063293, "true": 5.963493670710333e-06}, "content_quality": {"-2": 0.025339999745143928, "-1": 0.18458438065353222, "0": 0.35223927436806324, "1": 0.35128319783596074, "2": 0.08655314739729997}, "noise_severity": {"0": 0.3936290522464696, "1": 0.5566963824725625, "2": 0.044773614149311844, "3": 0.0026724418157730422, "4": 0.002228509315883138}, "missing_content_severity": {"0": 0.9848057337143401, "1": 0.006771866384477023, "2": 0.005897762918065867, "3": 0.001928607325043727, "4": 0.000596029658073372}, "factual_density": {"0": 0.009434659371810126, "1": 0.04742391477370306, "2": 0.20360769442979418, "3": 0.38993056061834835, "4": 0.34960317080634434}, "pretraining_utility": {"-2": 0.010462901263832645, "-1": 0.18531173659014427, "0": 0.5069657224051233, "1": 0.2646672397848843, "2": 0.032592399956015435}, "math_density": {"0": 0.9981505257364066, "1": 0.0014429202006793638, "2": 0.0001333518027299919, "3": 7.684129714747583e-05, "4": 0.0001963609630364722}, "code_density": {"0": 0.0004259945468529925, "1": 0.0009401443698792778, "2": 0.036423419257433746, "3": 0.30025375344489114, "4": 0.6619566883809429}, "reasoning_density": {"0": 0.7679581450446136, "1": 0.11550156638737234, "2": 0.09629151959354075, "3": 0.01679649366630833, "4": 0.003452275308165029}, "education_level": {"none": 0.0016582312737722807, "0": 0.0018874354897288489, "1": 0.010690159626668692, "2": 0.6158597973797677, "3": 0.31753607494441105, "4": 0.052368301285651446}, "creative_writing_quality": {"not_applicable": 0.9972281918582749, "-2": 0.00018920120462419124, "-1": 0.0005991299658583198, "0": 0.0016713134304754474, "1": 0.00022946582774371053, "2": 8.269771302334368e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 4.854245870546618e-05, "Art & Design": 5.410388280956517e-05, "Law & Crime": 0.0025860440664401164, "Education & Careers": 5.5317397718645356e-05, "Entertainment & Media": 3.277403590752489e-05, "Fashion & Beauty": 2.928488677279421e-05, "Business, Economics & Finance": 0.00011104471928685626, "Food & Dining": 3.1617303494848446e-05, "Games & Gaming": 7.32184682056383e-05, "Electronics & Hardware": 0.00028939582098041995, "Health, Healthcare & Wellness": 2.8524422565189132e-05, "History & Geography": 6.393278762883356e-05, "Home, Pets & Hobbies": 4.191237434276854e-05, "Industry & Production": 8.108314447976547e-05, "Language, Literature & Philosophy": 4.232670726653209e-05, "Politics & Government": 6.882812107849468e-05, "Religion & Spirituality": 4.764780104525997e-05, "Science, Mathematics & Engineering": 0.0002755714897455461, "Relationships & Community": 2.936538866862161e-05, "Software Usage & Applications": 0.0039508047748083265, "Programming & Software Engineering": 0.9913103323559613, "Sports & Fitness": 5.6893835841254376e-05, "Vehicles & Transportation": 2.969595834209731e-05, "Travel & Tourism": 5.385267210233535e-05, "Other / Uncovered Subject": 0.0004929039056421814, "Unknown / Insufficient Content": 0.00011498122015952944}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0006398482793120885, "Art & Design": 0.0004998748194222885, "Law & Crime": 0.11082971084722007, "Education & Careers": 0.00045223992331162795, "Entertainment & Media": 0.0004532965213428944, "Fashion & Beauty": 0.0002916026254994278, "Business, Economics & Finance": 0.0009561354941192017, "Food & Dining": 0.000218560190697992, "Games & Gaming": 0.0003492087316109701, "Electronics & Hardware": 0.0009105437461939781, "Health, Healthcare & Wellness": 0.0002916081874311611, "History & Geography": 0.0003499605255043851, "Home, Pets & Hobbies": 0.00026831738932417475, "Industry & Production": 0.00033493726280009413, "Language, Literature & Philosophy": 0.00022512737670449617, "Politics & Government": 0.0010587523483546531, "Religion & Spirituality": 0.0004271240130706963, "Science, Mathematics & Engineering": 0.0007300000559807621, "Relationships & Community": 0.00018001723956995275, "Software Usage & Applications": 0.021335407360242618, "Programming & Software Engineering": 0.021807748140910403, "Sports & Fitness": 0.0002618954382179694, "Vehicles & Transportation": 0.00015536896143756332, "Travel & Tourism": 0.00043794531259419626, "Other / Uncovered Subject": 0.0012345048311793452, "NONE": 0.835300264377947}}, "probability_diagnostics": {"primary": {"raw_sum": 0.9999999999999998, "mass_delta": -2.220446049250313e-16, "missing_mass": 2.220446049250313e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "tertiary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "structured_records": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "procedural_steps": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "worked_solution": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "contextual_dialogue": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "content_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "noise_severity": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "missing_content_severity": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "factual_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "pretraining_utility": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "math_density": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "code_density": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "reasoning_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "education_level": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "creative_writing_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "primary_topic": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "secondary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}}, "usage": {"input_tokens": 9555, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 9555, "cached_share": null, "cache_discount_reported": null, "reported_cost_usd": null}, "response_metadata": {"model": "decision-models/baseten-mammoth-27b-latest"}, "scored_at_utc": "2026-10-25T18:36:07.875849+00:00", "scoring_key_slot": "primary", "dataset_uid": "5bbb5316-df76-4d93-aab4-9ae5a2662cea", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "fd286673dbec6c960149a44c51746253e9186d863eb6e9472e99e7c4dcd2c7af", "source_metadata": {"uuid": "5bbb5316-df76-4d93-aab4-9ae5a2662cea", "repo_name": "ChewKeanHo/AutomataCI", "relative_path": "automataCI/_release-staticrepo_windows-any.ps1", "category": "TOOL", "algo_rel_score": 0.9576892256736755, "quality_score": 4.538524150848389, "source_meta": {"github_metadata": {"branch": "main", "commit_count": 397, "repo_created_at": "2023-02-28T02:37:34.000Z", "is_fork": false, "is_org_owned": true, "forked_from": null, "stars": 24, "forks": 2, "issues": 48, "pull_requests": 1}, "file_meta": {"content_id": "ec434dbd38c5513f678e4d2be42e7bf284fea07f", "size_bytes": 3174, "file_timestamp": 1712009114, "language": "powershell", "is_vendor": false, "license_type": "permissive", "detected_licenses": ["Apache-2.0"]}, "commit_id": "fa9d05ace6838df6e75d1280f8e16ead0b91cc3e"}}, "parsed_source_meta": {"github_metadata": {"branch": "main", "commit_count": 397, "repo_created_at": "2023-02-28T02:37:34.000Z", "is_fork": false, "is_org_owned": true, "forked_from": null, "stars": 24, "forks": 2, "issues": 48, "pull_requests": 1}, "file_meta": {"content_id": "ec434dbd38c5513f678e4d2be42e7bf284fea07f", "size_bytes": 3174, "file_timestamp": 1712009114, "language": "powershell", "is_vendor": false, "license_type": "permissive", "detected_licenses": ["Apache-2.0"]}, "commit_id": "fa9d05ace6838df6e75d1280f8e16ead0b91cc3e", "url": "https://github.com/ChewKeanHo/AutomataCI/blob/fa9d05ace6838df6e75d1280f8e16ead0b91cc3e/automataCI/_release-staticrepo_windows-any.ps1"}, "gpt4o_tokens": 1000, "dataset_split": "shell", "probability_weighted_scores": {"content_quality": 0.2891251124867406, "noise_severity": 0.6631749734820378, "missing_content_severity": 0.026737332828033426, "factual_density": 3.0228436687137137, "pretraining_utility": 0.12361450057910563, "math_density": 0.0027255915497276643, "code_density": 3.6223749967431917, "reasoning_density": 0.372283187806039, "education_level": 2.408485009527253, "creative_writing_quality": -0.21021336669921303}, "score_applicability": {"education_level": 0.9983417687262277, "creative_writing_quality": 0.0027718081417250125}} {"source_group": "shell", "source": "openbmb/UltraData-Stack-v3-L2/shell", "domain": "github.com", "language": "shell", "url": "https://github.com/alephsecurity/initroot/blob/8a68bf2cf99a1705bc92b566e3d9b020dfdda52c/tethered/athene/athene-xt1622-mpj24.139-63/init.mmi.boot.sh", "id": "shell-0-36054e4709b55e372d4ce0174ef72810", "text": "#!/system/bin/sh\n\n# We take this from cpuinfo because hex \"letters\" are lowercase there\nset -A cinfo `cat /proc/cpuinfo | /system/bin/grep Revision`\nhw=${cinfo[2]#?}\n\n# Now \"cook\" the value so it can be matched against devtree names\nm2=${hw%?}\nminor2=${hw#$m2}\nm1=${m2%?}\nminor1=${m2#$m1}\nif [ \"$minor2\" == \"0\" ]; then\n\tminor2=\"\"\n\tif [ \"$minor1\" == \"0\" ]; then\n\t\tminor1=\"\"\n\tfi\nfi\nsetprop ro.hw.revision p${hw%??}$minor1$minor2\nunset hw cinfo m1 m2 minor1 minor2\n\n# reload UTAGS\necho 1 > /proc/config/reload\n\n# Export these for factory validation purposes\niccid=$(cat /proc/config/iccid/ascii 2>/dev/null)\nif [ ! -z \"$iccid\" ]; then\n\tsetprop ro.mot.iccid $iccid\nfi\nunset iccid\ncust_md5=$(cat /proc/config/cust_md5/ascii 2>/dev/null)\nif [ ! -z \"$cust_md5\" ]; then\n\tsetprop ro.mot.cust_md5 $cust_md5\nfi\nunset cust_md5\n\n# Get FTI data and catch old units with incorrect/missing UTAG_FTI\npds_fti=/persist/factory/fti\nset -A fti_pds $(hd $pds_fti 2>/dev/null)\nif [ $? -eq 0 ]; then\n\tset -A fti $(hd $pds_fti 2>/dev/null)\nfi\n\n# If UTAG_FTI is readable, compare checksums\n# and if they mismatch, assume PDS is valid and overwrite UTAG\nutag_fti=/proc/config/fti\nset -A fti_utag $(hd ${utag_fti}/ascii 2>/dev/null)\nif [ $? -eq 0 ]; then\n\t# Byte 153 is total cksum, if nothing there, PDS data is invalid/missing\n\tif [ ! -z \"${fti[153]}\" ]; then\n\t\t# Bytes 75 and 94 have line checksums for year and month/date\n\t\tif [ \"${fti[75]}\" != \"${fti_utag[75]}\" -o \"${fti[94]}\" != \"${fti_utag[94]}\" ]; then\n\t\t\techo \"Copying FTI data from PDS\"\n\t\t\tcat $pds_fti > ${utag_fti}/raw\n\t\tfi\n\telse\n\t\t# If PDS data is invalid, take UTAG and hope it is correct\n\t\tset -A fti $(hd ${utag_fti}/ascii 2>/dev/null)\n\tfi\nfi\n\n# Now we have set fti var either from PDS or UTAG\n# Get Last Test Station stamp from FTI\n# and convert to user-friendly date, US format\n# The offsets are for hd-format, corresponding to real offsets 64/65/66\n# If the month/date look reasonable, data is probably OK.\nmdate=\"Unknown\"\ny=0x${fti[73]}\nm=0x${fti[77]}\nd=0x${fti[78]}\nlet year=$y month=$m day=$d\n# Invalid data will often have bogus month/date values\nif [ $month -le 12 -a $day -le 31 -a $year -ge 12 ]; then\n\tmdate=$month/$day/20$year\nelse\n\techo \"Corrupt FTI data\"\nfi\n\nsetprop ro.manufacturedate $mdate\nunset fti y m d year month day utag_fti pds_fti fti_utag mdate\n\nt=$(getprop ro.build.tags)\nif [[ \"$t\" != *release* ]]; then\n\tfor p in $(cat /proc/cmdline); do\n\t\tif [ ${p%%:*} = \"@\" ]; then\n\t\t\tv=${p#@:}; a=${v%=*}; b=${v#*=}\n\t\t\t${a%%:*} ${a##*:} $b\n\tfi\n\tdone\nfi\nunset p v a b t\n\n# Cleanup stale/incorrect programmed model value\n# Real values will never contain substrings matching \"internal\" device name\nproduct=$(getprop ro.hw.device)\nmodel=$(cat /proc/config/model/ascii 2>/dev/null)\nif [ $? -eq 0 ]; then\n\tif [ \"${model#*_}\" == \"$product\" -o \"${model%_*}\" == \"$product\" ]; then\n\t\techo \"Clearing stale model value\"\n\t\techo \"\" > /proc/config/model/raw\n\tfi\nfi\nunset model product\n\n# For non-user builds only check if Normal min free offset file is there and use\n# those values to override the default setting\nif [ \"`getprop ro.build.type`\" != \"user\" ]\nthen\n\tif [ -f /data/minFreeOff.txt ]\n\tthen\n\t\tif [ -e /proc/sys/vm/min_free_normal_offset ]\n\t\tthen\n\t\t\techo -e `cat /data/minFreeOff.txt` > /proc/sys/vm/min_free_normal_offset\n\t\tfi\n\tfi\nfi\n\nif [ -e /dev/vfsspi ]\nthen\n\tsetprop ro.mot.hw.fingerprint 1\nfi\n\n", "text_preview": "#!/system/bin/sh # We take this from cpuinfo because hex \"letters\" are lowercase there set -A cinfo `cat /proc/cpuinfo | /system/bin/grep Revision` hw=${cinfo[2]#?} # Now \"cook\" the value so it can be matched against devtree names m2=${hw%?", "input_sha256": "24b959f9bd8a4e9a9d54fc736271454db59b5ca5c07729c6dce8cea4003b019f", "text_sha256": "36054e4709b55e372d4ce0174ef7281011d314fcf6705e61e32e4f29fe3790a2", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 20102, "input_policy": "text-and-optional-url-v1", "label_policy_version": 12, "requested_model": "decision-models/baseten-mammoth-27b-latest", "backend": "baseten", "endpoint": "https://inference.baseten.co/v1/systemone", "status": "ok", "training_eligible": true, "label": {"primary": {"main_format": "Technical Writing", "sub_format": null}, "secondary": null, "tertiary": null, "content_structure": []}, "candidate_label": null, "topic": {"primary": {"main_topic": "Programming & Software Engineering", "sub_topic": null}, "secondary": null}, "scores": {"content_quality": 1, "noise_severity": 0, "missing_content_severity": 0, "factual_density": 4, "pretraining_utility": 0, "math_density": 0, "code_density": 4, "reasoning_density": 3, "education_level": 3, "creative_writing_quality": null}, "score_expectations": {"content_quality": 1.0045420473694058, "noise_severity": 0.004620375841252121, "missing_content_severity": 0.008809165259501442, "factual_density": 3.1897401236644316, "pretraining_utility": 0.18982804423031752, "math_density": 0.4496411837480142, "code_density": 3.87823747243227, "reasoning_density": 2.199713574095482, "education_level": 2.9361916837807804, "creative_writing_quality": -0.2762607418901553}, "api_choices": {"primary": "Technical Writing", "secondary": "NONE", "tertiary": "NONE", "education_level": "3", "creative_writing_quality": "not_applicable", "primary_topic": "Programming & Software Engineering", "secondary_topic": "NONE"}, "review_reasons": [], "format_slot_diagnostics": {"comparable": true, "secondary_tertiary_identical": false, "secondary_tertiary_max_abs_gap": 0.0038075246401720886, "secondary_choice": "NONE", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.9951461170609777, "secondary": 0.9854874079833655, "tertiary": 0.9894604771731103, "structured_records": 0.0015199041042431869, "procedural_steps": 0.02733071613065105, "worked_solution": 0.007312231478935296, "contextual_dialogue": 4.2833384243288036e-06, "content_quality": 0.5470082311415079, "noise_severity": 0.9961496867989565, "missing_content_severity": 0.9926590289504155, "factual_density": 0.3247834363870259, "pretraining_utility": 0.4660244602079472, "math_density": 0.6252990135433214, "code_density": 0.8985312270268918, "reasoning_density": 0.022937782986656385, "education_level": 0.4190334814464956, "creative_writing_quality": 0.9994540900915186, "primary_topic": 0.934691793335571, "secondary_topic": 0.38997089418596287}, "probability_margin": {"primary": 0.9926149419718151, "secondary": 0.9778147083501396, "tertiary": 0.9846807567573331, "education_level": 0.25158434020288023, "creative_writing_quality": 0.9993583736026737, "primary_topic": 0.8818588032484526, "secondary_topic": 0.07260106797995941}, "raw_probabilities": {"primary": {"Academic Writing": 4.2593946990886584e-05, "Content Listing": 2.041974269253627e-05, "Creative Writing": 2.550846009425689e-05, "Customer Support Page": 1.3497018361862413e-05, "Q&A Forum": 1.3499702390611091e-05, "Discussion Thread": 1.0023003836012175e-05, "Comment Section": 1.9616641701482868e-05, "Missing Content": 2.9780575643851755e-05, "Knowledge Article": 0.0001321377793017918, "Legal Notices": 4.618287268106307e-05, "News Article": 7.063876874756577e-06, "Organizational Announcement": 1.4380366263545376e-05, "Nonfiction Writing": 1.700824292077789e-05, "Organizational About Page": 1.6527598301422694e-05, "Personal About Page": 1.3934034822918275e-05, "Personal Blog": 1.134498298989225e-05, "Product Page": 1.0402375270180892e-05, "Spam / Ads": 1.449544746574974e-05, "Structured Data": 0.0005310521427067854, "Technical Writing": 0.9953483621834369, "Transcript / Interview": 2.6480572869635264e-05, "Tutorial / How-To Guide": 0.0008922912173413554, "User Reviews": 9.977003419787541e-06, "Other / Unknown": 0.0027334202116217933}, "secondary": {"Academic Writing": 7.250704461818128e-05, "Content Listing": 2.967139339290928e-05, "Creative Writing": 6.134602432189855e-05, "Customer Support Page": 3.364775493296426e-05, "Q&A Forum": 2.146067387789537e-05, "Discussion Thread": 1.605860090192263e-05, "Comment Section": 7.875610853754395e-05, "Missing Content": 0.00011133242513411411, "Knowledge Article": 0.0003854887719833067, "Legal Notices": 7.392781094357818e-05, "News Article": 3.405331368652487e-05, "Organizational Announcement": 3.0006237655659628e-05, "Nonfiction Writing": 3.3197536984529136e-05, "Organizational About Page": 3.76644580724437e-05, "Personal About Page": 2.8193077425533286e-05, "Personal Blog": 2.6616676543653294e-05, "Product Page": 2.0180962485029637e-05, "Spam / Ads": 3.220449140180805e-05, "Structured Data": 0.0013162546673125114, "Technical Writing": 0.008277390967252385, "Transcript / Interview": 4.6805807847945856e-05, "Tutorial / How-To Guide": 0.0031254205466218266, "User Reviews": 1.5715330673934372e-05, "NONE": 0.986092099317392}, "tertiary": {"Academic Writing": 7.877128118892271e-05, "Content Listing": 3.86344078211427e-05, "Creative Writing": 6.998429983168391e-05, "Customer Support Page": 3.645062663818548e-05, "Q&A Forum": 1.9409924162212858e-05, "Discussion Thread": 1.725192438758281e-05, "Comment Section": 9.1434602195429e-05, "Missing Content": 0.00016003097512434355, "Knowledge Article": 0.0005856959318827838, "Legal Notices": 0.00012070254089426995, "News Article": 3.497590188977839e-05, "Organizational Announcement": 3.3050125304026056e-05, "Nonfiction Writing": 5.799905123213538e-05, "Organizational About Page": 5.686011002643282e-05, "Personal About Page": 2.6342093479945325e-05, "Personal Blog": 3.1272569338904595e-05, "Product Page": 2.377560616936906e-05, "Spam / Ads": 3.2960716581285144e-05, "Structured Data": 0.0007662270063875251, "Technical Writing": 0.005218867200230866, "Transcript / Interview": 3.9055275674258104e-05, "Tutorial / How-To Guide": 0.0025408786219654838, "User Reviews": 1.974525002944171e-05, "NONE": 0.989899623957564}, "structured_records": {"false": 0.9984800958957568, "true": 0.0015199041042431869}, "procedural_steps": {"false": 0.9726692838693489, "true": 0.02733071613065105}, "worked_solution": {"false": 0.9926877685210647, "true": 0.007312231478935296}, "contextual_dialogue": {"false": 0.9999957166615757, "true": 4.2833384243288036e-06}, "content_quality": {"-2": 0.0065602545426027, "-1": 0.025076502595068766, "0": 0.19969026881244664, "1": 0.49460688905008376, "2": 0.2740660849997981}, "noise_severity": {"0": 0.996155162230492, "1": 0.0033551291016691433, "2": 0.000286532674587693, "3": 0.0001205225825966547, "4": 8.265341065440707e-05}, "missing_content_severity": {"0": 0.9942836093612983, "1": 0.0034868899654756603, "2": 0.0015717094077257704, "3": 0.0004523085834270248, "4": 0.00020548268207329167}, "factual_density": {"0": 0.01256713409280582, "1": 0.03838143711963401, "2": 0.15159710740166008, "3": 0.3416528138021234, "4": 0.45580150758377674}, "pretraining_utility": {"-2": 0.01636024839607629, "-1": 0.19275080496792035, "0": 0.43683659444150263, "1": 0.2928053583986111, "2": 0.06124699379588968}, "math_density": {"0": 0.7036743310117411, "1": 0.21652454130173385, "2": 0.03682259883840541, "3": 0.012442670623009187, "4": 0.030535858225110495}, "code_density": {"0": 0.00022536509463146246, "1": 0.0004626935312495104, "2": 0.010862188778837305, "3": 0.09774860903778085, "4": 0.8907011435575009}, "reasoning_density": {"0": 0.16150507221415455, "1": 0.14105327900972134, "2": 0.2197587684983588, "3": 0.2915887630220182, "4": 0.18609411725574707}, "education_level": {"none": 0.0010554136573287403, "0": 0.0013787090046288746, "1": 0.004251899721502706, "2": 0.2642768943358661, "3": 0.5158612345387463, "4": 0.2131758487419272}, "creative_writing_quality": {"not_applicable": 0.9995450750762656, "-2": 6.77363889150606e-05, "-1": 0.00010653467743734077, "0": 0.0001867014735918526, "1": 7.157520924843738e-05, "2": 2.2377174541892993e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 8.174851538237204e-05, "Art & Design": 0.00011375941074198255, "Law & Crime": 0.0001258096976330543, "Education & Careers": 5.831957180066173e-05, "Entertainment & Media": 7.877025201824367e-05, "Fashion & Beauty": 5.9733505288896735e-05, "Business, Economics & Finance": 9.065739007499765e-05, "Food & Dining": 5.9689714256241924e-05, "Games & Gaming": 0.00010622773866525311, "Electronics & Hardware": 0.05534484418959643, "Health, Healthcare & Wellness": 7.641365136425755e-05, "History & Geography": 7.696440232033898e-05, "Home, Pets & Hobbies": 7.95613553533723e-05, "Industry & Production": 0.0008217694350327631, "Language, Literature & Philosophy": 7.21444284514941e-05, "Politics & Government": 5.985562329934921e-05, "Religion & Spirituality": 6.927853287989589e-05, "Science, Mathematics & Engineering": 0.0006769290253619689, "Relationships & Community": 4.743161164881465e-05, "Software Usage & Applications": 0.0038875860341264197, "Programming & Software Engineering": 0.937203647438049, "Sports & Fitness": 8.74933343776535e-05, "Vehicles & Transportation": 9.659784091086569e-05, "Travel & Tourism": 7.583541099309083e-05, "Other / Uncovered Subject": 0.000413558548295216, "Unknown / Insufficient Content": 0.0001353733420772824}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.000621858583380778, "Art & Design": 0.0007418932760611557, "Law & Crime": 0.001280462985373892, "Education & Careers": 0.0004554730795897575, "Entertainment & Media": 0.0006024461414522599, "Fashion & Beauty": 0.00042179929307358617, "Business, Economics & Finance": 0.0007946868614525836, "Food & Dining": 0.00040437372698586124, "Games & Gaming": 0.0005671092734135689, "Electronics & Hardware": 0.340832484121928, "Health, Healthcare & Wellness": 0.0005858429776377075, "History & Geography": 0.0005377851068308458, "Home, Pets & Hobbies": 0.0004739991108252127, "Industry & Production": 0.002405314229168148, "Language, Literature & Philosophy": 0.0002901097074284422, "Politics & Government": 0.0003692785187681422, "Religion & Spirituality": 0.0005300810706180992, "Science, Mathematics & Engineering": 0.0022720213572366226, "Relationships & Community": 0.0002656767417143985, "Software Usage & Applications": 0.037142826702822075, "Programming & Software Engineering": 0.1924385423492638, "Sports & Fitness": 0.00043133895022242, "Vehicles & Transportation": 0.0005184174140944624, "Travel & Tourism": 0.0005356095574319124, "Other / Uncovered Subject": 0.001047016761338708, "NONE": 0.4134335521018874}}, "probabilities": {"primary": {"Academic Writing": 4.259394699088659e-05, "Content Listing": 2.0419742692536274e-05, "Creative Writing": 2.5508460094256893e-05, "Customer Support Page": 1.3497018361862415e-05, "Q&A Forum": 1.3499702390611093e-05, "Discussion Thread": 1.0023003836012176e-05, "Comment Section": 1.961664170148287e-05, "Missing Content": 2.978057564385176e-05, "Knowledge Article": 0.00013213777930179182, "Legal Notices": 4.618287268106308e-05, "News Article": 7.0638768747565775e-06, "Organizational Announcement": 1.4380366263545378e-05, "Nonfiction Writing": 1.7008242920777895e-05, "Organizational About Page": 1.6527598301422697e-05, "Personal About Page": 1.3934034822918277e-05, "Personal Blog": 1.1344982989892252e-05, "Product Page": 1.0402375270180893e-05, "Spam / Ads": 1.4495447465749742e-05, "Structured Data": 0.0005310521427067855, "Technical Writing": 0.995348362183437, "Transcript / Interview": 2.6480572869635268e-05, "Tutorial / How-To Guide": 0.0008922912173413556, "User Reviews": 9.977003419787543e-06, "Other / Unknown": 0.0027334202116217937}, "secondary": {"Academic Writing": 7.250704461818128e-05, "Content Listing": 2.967139339290928e-05, "Creative Writing": 6.134602432189855e-05, "Customer Support Page": 3.364775493296426e-05, "Q&A Forum": 2.146067387789537e-05, "Discussion Thread": 1.605860090192263e-05, "Comment Section": 7.875610853754395e-05, "Missing Content": 0.00011133242513411411, "Knowledge Article": 0.0003854887719833067, "Legal Notices": 7.392781094357818e-05, "News Article": 3.405331368652487e-05, "Organizational Announcement": 3.0006237655659628e-05, "Nonfiction Writing": 3.3197536984529136e-05, "Organizational About Page": 3.76644580724437e-05, "Personal About Page": 2.8193077425533286e-05, "Personal Blog": 2.6616676543653294e-05, "Product Page": 2.0180962485029637e-05, "Spam / Ads": 3.220449140180805e-05, "Structured Data": 0.0013162546673125114, "Technical Writing": 0.008277390967252385, "Transcript / Interview": 4.6805807847945856e-05, "Tutorial / How-To Guide": 0.0031254205466218266, "User Reviews": 1.5715330673934372e-05, "NONE": 0.986092099317392}, "tertiary": {"Academic Writing": 7.877128118892271e-05, "Content Listing": 3.86344078211427e-05, "Creative Writing": 6.998429983168391e-05, "Customer Support Page": 3.645062663818548e-05, "Q&A Forum": 1.9409924162212858e-05, "Discussion Thread": 1.725192438758281e-05, "Comment Section": 9.1434602195429e-05, "Missing Content": 0.00016003097512434355, "Knowledge Article": 0.0005856959318827838, "Legal Notices": 0.00012070254089426995, "News Article": 3.497590188977839e-05, "Organizational Announcement": 3.3050125304026056e-05, "Nonfiction Writing": 5.799905123213538e-05, "Organizational About Page": 5.686011002643282e-05, "Personal About Page": 2.6342093479945325e-05, "Personal Blog": 3.1272569338904595e-05, "Product Page": 2.377560616936906e-05, "Spam / Ads": 3.2960716581285144e-05, "Structured Data": 0.0007662270063875251, "Technical Writing": 0.005218867200230866, "Transcript / Interview": 3.9055275674258104e-05, "Tutorial / How-To Guide": 0.0025408786219654838, "User Reviews": 1.974525002944171e-05, "NONE": 0.989899623957564}, "structured_records": {"false": 0.9984800958957568, "true": 0.0015199041042431869}, "procedural_steps": {"false": 0.9726692838693489, "true": 0.02733071613065105}, "worked_solution": {"false": 0.9926877685210647, "true": 0.007312231478935296}, "contextual_dialogue": {"false": 0.9999957166615757, "true": 4.2833384243288036e-06}, "content_quality": {"-2": 0.0065602545426027, "-1": 0.025076502595068766, "0": 0.19969026881244664, "1": 0.49460688905008376, "2": 0.2740660849997981}, "noise_severity": {"0": 0.996155162230492, "1": 0.0033551291016691433, "2": 0.000286532674587693, "3": 0.0001205225825966547, "4": 8.265341065440707e-05}, "missing_content_severity": {"0": 0.9942836093612983, "1": 0.0034868899654756603, "2": 0.0015717094077257704, "3": 0.0004523085834270248, "4": 0.00020548268207329167}, "factual_density": {"0": 0.01256713409280582, "1": 0.03838143711963401, "2": 0.15159710740166008, "3": 0.3416528138021234, "4": 0.45580150758377674}, "pretraining_utility": {"-2": 0.01636024839607629, "-1": 0.19275080496792035, "0": 0.43683659444150263, "1": 0.2928053583986111, "2": 0.06124699379588968}, "math_density": {"0": 0.7036743310117411, "1": 0.21652454130173385, "2": 0.03682259883840541, "3": 0.012442670623009187, "4": 0.030535858225110495}, "code_density": {"0": 0.00022536509463146246, "1": 0.0004626935312495104, "2": 0.010862188778837305, "3": 0.09774860903778085, "4": 0.8907011435575009}, "reasoning_density": {"0": 0.16150507221415455, "1": 0.14105327900972134, "2": 0.2197587684983588, "3": 0.2915887630220182, "4": 0.18609411725574707}, "education_level": {"none": 0.0010554136573287405, "0": 0.0013787090046288749, "1": 0.0042518997215027065, "2": 0.26427689433586615, "3": 0.5158612345387464, "4": 0.21317584874192722}, "creative_writing_quality": {"not_applicable": 0.9995450750762653, "-2": 6.773638891506059e-05, "-1": 0.00010653467743734074, "0": 0.00018670147359185256, "1": 7.157520924843736e-05, "2": 2.237717454189299e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 8.174851538237205e-05, "Art & Design": 0.00011375941074198256, "Law & Crime": 0.00012580969763305433, "Education & Careers": 5.831957180066174e-05, "Entertainment & Media": 7.877025201824368e-05, "Fashion & Beauty": 5.973350528889674e-05, "Business, Economics & Finance": 9.065739007499766e-05, "Food & Dining": 5.968971425624193e-05, "Games & Gaming": 0.00010622773866525312, "Electronics & Hardware": 0.05534484418959644, "Health, Healthcare & Wellness": 7.641365136425756e-05, "History & Geography": 7.6964402320339e-05, "Home, Pets & Hobbies": 7.956135535337232e-05, "Industry & Production": 0.0008217694350327633, "Language, Literature & Philosophy": 7.214442845149411e-05, "Politics & Government": 5.9855623299349215e-05, "Religion & Spirituality": 6.92785328798959e-05, "Science, Mathematics & Engineering": 0.000676929025361969, "Relationships & Community": 4.743161164881466e-05, "Software Usage & Applications": 0.00388758603412642, "Programming & Software Engineering": 0.9372036474380491, "Sports & Fitness": 8.749333437765352e-05, "Vehicles & Transportation": 9.65978409108657e-05, "Travel & Tourism": 7.583541099309085e-05, "Other / Uncovered Subject": 0.00041355854829521605, "Unknown / Insufficient Content": 0.00013537334207728243}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0006218585833807781, "Art & Design": 0.0007418932760611558, "Law & Crime": 0.0012804629853738923, "Education & Careers": 0.00045547307958975755, "Entertainment & Media": 0.00060244614145226, "Fashion & Beauty": 0.0004217992930735862, "Business, Economics & Finance": 0.0007946868614525837, "Food & Dining": 0.0004043737269858613, "Games & Gaming": 0.000567109273413569, "Electronics & Hardware": 0.34083248412192807, "Health, Healthcare & Wellness": 0.0005858429776377076, "History & Geography": 0.0005377851068308459, "Home, Pets & Hobbies": 0.00047399911082521274, "Industry & Production": 0.0024053142291681484, "Language, Literature & Philosophy": 0.00029010970742844225, "Politics & Government": 0.0003692785187681423, "Religion & Spirituality": 0.0005300810706180993, "Science, Mathematics & Engineering": 0.002272021357236623, "Relationships & Community": 0.00026567674171439857, "Software Usage & Applications": 0.03714282670282208, "Programming & Software Engineering": 0.19243854234926383, "Sports & Fitness": 0.00043133895022242003, "Vehicles & Transportation": 0.0005184174140944625, "Travel & Tourism": 0.0005356095574319125, "Other / Uncovered Subject": 0.0010470167613387082, "NONE": 0.4134335521018875}}, "probability_diagnostics": {"primary": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "tertiary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "structured_records": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "procedural_steps": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "worked_solution": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "contextual_dialogue": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "content_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "noise_severity": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "missing_content_severity": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "factual_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "pretraining_utility": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "math_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "code_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "reasoning_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "education_level": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "creative_writing_quality": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "primary_topic": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary_topic": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}}, "usage": {"input_tokens": 9731, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 9731, "cached_share": null, "cache_discount_reported": null, "reported_cost_usd": null}, "response_metadata": {"model": "decision-models/baseten-mammoth-27b-latest"}, "scored_at_utc": "2026-10-25T18:36:08.724352+00:00", "scoring_key_slot": "primary", "dataset_uid": "85c4ad68-ec61-4de6-8696-7778b489f7b2", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "7520640a30e5069b7d2cba17742da70894ee0d4e1fba70326718a2bdb5f118ea", "source_metadata": {"uuid": "85c4ad68-ec61-4de6-8696-7778b489f7b2", "repo_name": "alephsecurity/initroot", "relative_path": "tethered/athene/athene-xt1622-mpj24.139-63/init.mmi.boot.sh", "category": "TOOL", "algo_rel_score": 0.9947127103805542, "quality_score": 4.313365459442139, "source_meta": {"github_metadata": {"branch": "master", "commit_count": 40, "repo_created_at": "2017-06-06T12:00:27.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 78, "forks": 20, "issues": 1, "pull_requests": 0}, "file_meta": {"content_id": "c7989b69ff486975b291f366eef18108cf8f1eb2", "size_bytes": 3347, "file_timestamp": 1504106227, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "8a68bf2cf99a1705bc92b566e3d9b020dfdda52c"}}, "parsed_source_meta": {"github_metadata": {"branch": "master", "commit_count": 40, "repo_created_at": "2017-06-06T12:00:27.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 78, "forks": 20, "issues": 1, "pull_requests": 0}, "file_meta": {"content_id": "c7989b69ff486975b291f366eef18108cf8f1eb2", "size_bytes": 3347, "file_timestamp": 1504106227, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "8a68bf2cf99a1705bc92b566e3d9b020dfdda52c", "url": "https://github.com/alephsecurity/initroot/blob/8a68bf2cf99a1705bc92b566e3d9b020dfdda52c/tethered/athene/athene-xt1622-mpj24.139-63/init.mmi.boot.sh"}, "gpt4o_tokens": 1153, "dataset_split": "shell", "probability_weighted_scores": {"content_quality": 1.0045420473694058, "noise_severity": 0.004620375841252121, "missing_content_severity": 0.008809165259501442, "factual_density": 3.1897401236644316, "pretraining_utility": 0.18982804423031752, "math_density": 0.4496411837480142, "code_density": 3.87823747243227, "reasoning_density": 2.199713574095482, "education_level": 2.9361916837807804, "creative_writing_quality": -0.2762607418901553}, "score_applicability": {"education_level": 0.9989445863426714, "creative_writing_quality": 0.00045492492373458426}} {"source_group": "shell", "source": "openbmb/UltraData-Stack-v3-L2/shell", "domain": "github.com", "language": "shell", "url": "https://github.com/freebsd/freebsd-ports/blob/4c191c8d4bbd12fba42dd6e687a5c78917938d24/www/tomcat-devel/files/tomcat_devel.in", "id": "shell-0-aa324f316556f346eb9022b464fbdc1a", "text": "#!/bin/sh\n\n# PROVIDE: tomcat_devel\n# REQUIRE: LOGIN\n# KEYWORD: \n\n#\n# Configuration settings for tomcat_devel in /etc/rc.conf:\n#\n# tomcat_devel_enable (bool):\n# Set to \"NO\" by default.\n# Set it to \"YES\" to enable tomcat_devel\n#\n# tomcat_devel_catalina_home (str)\n# Set to \"%%TOMCAT_HOME%%\" by default.\n# Set the CATALINA_HOME variable for the Tomcat process\n#\n# tomcat_devel_catalina_base (str)\n# Set to \"${catalina.home}\" by default.\n# Set the CATALINA_BASE variable for the Tomcat process\n#\n# tomcat_devel_catalina_tmpdir (str)\n# Set to \"${catalina.base}/temp\" by default.\n# Set the CATALINA_TMPDIR variable for the Tomcat process\n#\n# tomcat_devel_stdout (str)\n# Set to \"${catalina.base}/logs/catalina.out\" by default.\n# Set the stdout redirection. It may also be '/dev/null', '&1' or '&2'\n#\n# tomcat_devel_stderr (str)\n# Set to \"&1\" by default.\n# Set the stderr redirection. It may also be '/dev/null', '&1' or '&2'\n#\n# tomcat_devel_pipe_cmd (str):\n# Set to \"\" by default.\n# Set a piped command to process stdout/stderr when passthru\n#\n# tomcat_devel_logging_manager (str):\n# Set to \"org.apache.juli.ClassLoaderLogManager\" by default.\n# Set the JUL log manager\n#\n# tomcat_devel_logging_config (str):\n# Set to \"${catalina.base}/conf/logging.properties\" by default.\n# Set the JUL config file\n#\n# tomcat_devel_java_home (str):\n# Set to \"%%JAVA_HOME%%\" by default.\n# Specify the Java VM to use.\n#\n# tomcat_devel_classpath (str):\n# Set to \"\" by default.\n# Addtional classes to add to the CLASSPATH. If set, must start with ':'\n#\n# tomcat_devel_java_opts (str):\n# Set to \"\" by default.\n# Java VM args to use.\n#\n# tomcat_devel_wait (int):\n# Set to \"30\" by default.\n# Set the wait time (in seconds) for Tomcat process startup\n#\n# tomcat_devel_umask (str):\n# Set to \"0077\" by default.\n# Sets the umask for Tomcat process.\n#\n# You may symlink this script with other names to run multiple\n# instances of tomcat_devel with different configurations.\n#\n\n. /etc/rc.subr\n\ncase $0 in\n/etc/rc*)\n\t# during boot (shutdown) $0 is /etc/rc (/etc/rc.shutdown),\n\t# so get the name of the script from $_file\n\tname=$_file\n\t;;\n*)\n\tname=$0\n\t;;\nesac\n\nname=${name##*/}\nrcvar=${name}_enable\n\nload_rc_config \"${name}\"\n\neval \"${rcvar}=\\${${rcvar}:-'NO'}\"\neval \"_tomcat_java_home=\\${${name}_java_home:-'%%JAVA_HOME%%'}\"\neval \"_tomcat_catalina_user=\\${${name}_catalina_user:-'%%TOMCAT_USER%%'}\"\neval \"_tomcat_catalina_home=\\${${name}_catalina_home:-'%%TOMCAT_HOME%%'}\"\neval \"_tomcat_catalina_base=\\${${name}_catalina_base:-'${_tomcat_catalina_home}'}\"\neval \"_tomcat_catalina_tmpdir=\\${${name}_catalina_tmpdir:-'${_tomcat_catalina_base}/temp'}\"\neval \"_tomcat_stdout=\\${${name}_stdout:-'${_tomcat_catalina_base}/logs/catalina.out'}\"\neval \"_tomcat_stderr=\\${${name}_stderr:-'&1'}\"\neval \"_tomcat_pipe_cmd=\\${${name}_pipe_cmd:-''}\"\neval \"_tomcat_logging_manager=\\${${name}_logging_manager:-'org.apache.juli.ClassLoaderLogManager'}\"\neval \"_tomcat_logging_config=\\${${name}_logging_config:-'${_tomcat_catalina_base}/conf/logging.properties'}\"\neval \"_tomcat_classpath=\\${${name}_classpath:-''}\"\neval \"_tomcat_java_opts=\\${${name}_java_opts:-''}\"\neval \"_tomcat_wait=\\${${name}_wait:-'30'}\"\neval \"_tomcat_umask=\\${${name}_umask:-'0077'}\"\n\npidfile=\"/var/run/${name}.pid\"\n\nrequired_files=\"${_tomcat_catalina_base}/conf/server.xml\"\nrequired_dirs=\"${_tomcat_catalina_tmpdir}\"\n\nextra_commands=\"reload\"\n\n#_tomcat_java_version=`${_tomcat_java_home}/bin/java -version 2>&1 | /usr/bin/awk -F '\"' '/version/ {print $2}'`\n_tomcat_java9_opts=\"\\\n\t--add-opens=java.base/java.lang=ALL-UNNAMED \\\n\t--add-opens=java.base/java.lang.reflect=ALL-UNNAMED \\\n\t--add-opens=java.base/java.io=ALL-UNNAMED \\\n\t--add-opens=java.base/java.util=ALL-UNNAMED \\\n\t--add-opens=java.base/java.util.concurrent=ALL-UNNAMED \\\n\t--add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED\"\n_tomcat_java17_opts=\"--enable-native-access=ALL-UNNAMED\"\n_tomcat_java_opts=\"${_tomcat_java_opts} ${_tomcat_java9_opts} ${_tomcat_java17_opts}\"\n\ncommand=\"%%LOCALBASE%%/bin/jsvc\"\ncommand_args=\"-java-home '${_tomcat_java_home}' \\\n\t-server \\\n\t-user ${_tomcat_catalina_user} \\\n\t-umask ${_tomcat_umask} \\\n\t-pidfile '${pidfile}' \\\n\t-wait ${_tomcat_wait} \\\n\t-outfile '${_tomcat_stdout}' \\\n\t-errfile '${_tomcat_stderr}' \\\n\t-classpath '${_tomcat_catalina_home}/bin/bootstrap.jar:%%LOCALBASE%%/share/java/classes/commons-daemon.jar:${_tomcat_catalina_home}/bin/tomcat-juli.jar${_tomcat_classpath}' \\\n\t-Djava.util.logging.manager=${_tomcat_logging_manager} \\\n\t-Djava.util.logging.config.file='${_tomcat_logging_config}' \\\n\t${_tomcat_java_opts} \\\n\t-Dcatalina.home='${_tomcat_catalina_home}' \\\n\t-Dcatalina.base='${_tomcat_catalina_base}' \\\n\t-Djava.io.tmpdir='${_tomcat_catalina_tmpdir}' \\\n\torg.apache.catalina.startup.Bootstrap \\\n\t${_tomcat_pipe_cmd}\"\n\nrun_rc_command \"$1\"\n", "text_preview": "#!/bin/sh # PROVIDE: tomcat_devel # REQUIRE: LOGIN # KEYWORD: # # Configuration settings for tomcat_devel in /etc/rc.conf: # # tomcat_devel_enable (bool): # Set to \"NO\" by default. # Set it to \"YES\" to enable tomcat_devel # # tom", "input_sha256": "af56cb666a9d42ef2040ee79562fe354498202e527e88f04e08140454c56fc84", "text_sha256": "aa324f316556f346eb9022b464fbdc1a123d4d8653ce216f5d5b9474737e6c9c", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 20103, "input_policy": "text-and-optional-url-v1", "label_policy_version": 12, "requested_model": "decision-models/baseten-mammoth-27b-latest", "backend": "baseten", "endpoint": "https://inference.baseten.co/v1/systemone", "status": "ok", "training_eligible": true, "label": {"primary": {"main_format": "Technical Writing", "sub_format": null}, "secondary": null, "tertiary": null, "content_structure": []}, "candidate_label": null, "topic": {"primary": {"main_topic": "Programming & Software Engineering", "sub_topic": null}, "secondary": null}, "scores": {"content_quality": 1, "noise_severity": 0, "missing_content_severity": 0, "factual_density": 3, "pretraining_utility": 0, "math_density": 0, "code_density": 3, "reasoning_density": 0, "education_level": 2, "creative_writing_quality": null}, "score_expectations": {"content_quality": 1.0967987947197964, "noise_severity": 0.022628037768259616, "missing_content_severity": 0.049719928269190784, "factual_density": 3.340920569229469, "pretraining_utility": 0.3386455269978396, "math_density": 0.003162886425222956, "code_density": 3.349062560413814, "reasoning_density": 0.2406960042799642, "education_level": 2.5601801888179434, "creative_writing_quality": -0.20449649756700672}, "api_choices": {"primary": "Technical Writing", "secondary": "NONE", "tertiary": "NONE", "education_level": "2", "creative_writing_quality": "not_applicable", "primary_topic": "Programming & Software Engineering", "secondary_topic": "NONE"}, "review_reasons": [], "format_slot_diagnostics": {"comparable": true, "secondary_tertiary_identical": false, "secondary_tertiary_max_abs_gap": 0.05114513306892465, "secondary_choice": "NONE", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.9943853547063063, "secondary": 0.8865505105385831, "tertiary": 0.9399193450452872, "structured_records": 0.19606626655293094, "procedural_steps": 0.03477307976575304, "worked_solution": 0.0007468306331216649, "contextual_dialogue": 4.76088776949921e-06, "content_quality": 0.5660247567770557, "noise_severity": 0.9811433018597837, "missing_content_severity": 0.958566726442341, "factual_density": 0.5365516945095294, "pretraining_utility": 0.47741517056007643, "math_density": 0.9973642613123141, "code_density": 0.5654928275180693, "reasoning_density": 0.7994199964333631, "education_level": 0.38152382969876975, "creative_writing_quality": 0.9994193367742501, "primary_topic": 0.8679969009542505, "secondary_topic": 0.6470247164493923}, "probability_margin": {"primary": 0.991842584917148, "secondary": 0.8432396323306705, "tertiary": 0.9164448245921285, "education_level": 0.05260960945763121, "creative_writing_quality": 0.9992750036654856, "primary_topic": 0.7509100454515394, "secondary_topic": 0.4319358260280405}, "raw_probabilities": {"primary": {"Academic Writing": 2.7444930331389238e-05, "Content Listing": 1.3565368268744973e-05, "Creative Writing": 1.3604293054165951e-05, "Customer Support Page": 4.0232128770089905e-05, "Q&A Forum": 1.0364376663157612e-05, "Discussion Thread": 6.796754684753715e-06, "Comment Section": 1.1043400924252902e-05, "Missing Content": 1.7571506462206607e-05, "Knowledge Article": 0.00022183305128293566, "Legal Notices": 4.8709555181726916e-05, "News Article": 5.442098519259721e-06, "Organizational Announcement": 1.1455154882643623e-05, "Nonfiction Writing": 8.44534569685016e-06, "Organizational About Page": 1.1559232681345443e-05, "Personal About Page": 7.475179163554235e-06, "Personal Blog": 6.929073821027708e-06, "Product Page": 8.725699449154712e-06, "Spam / Ads": 8.687554212489677e-06, "Structured Data": 0.0006593731469649928, "Technical Writing": 0.9946192982602102, "Transcript / Interview": 1.42413996729918e-05, "Tutorial / How-To Guide": 0.0014442291689138356, "User Reviews": 6.259977126014744e-06, "Other / Unknown": 0.0027767133430621235}, "secondary": {"Academic Writing": 0.0003828932225193835, "Content Listing": 0.0002495807251807294, "Creative Writing": 0.0002915660626712111, "Customer Support Page": 0.0008904814036667094, "Q&A Forum": 0.0002159314004755046, "Discussion Thread": 0.0001338990941871222, "Comment Section": 0.0002840057013961422, "Missing Content": 0.0004620274367482453, "Knowledge Article": 0.006277397669466737, "Legal Notices": 0.0003750032102435143, "News Article": 0.00023043073852351567, "Organizational Announcement": 0.000230649829343494, "Nonfiction Writing": 0.00022273587520994293, "Organizational About Page": 0.0002778687757489352, "Personal About Page": 0.0001783237591994791, "Personal Blog": 0.0001870646426804946, "Product Page": 0.00015731329515272864, "Spam / Ads": 0.00022477865841063246, "Structured Data": 0.007385110700674215, "Technical Writing": 0.04803794026880504, "Transcript / Interview": 0.0002816399933020647, "Tutorial / How-To Guide": 0.04162828050846684, "User Reviews": 0.00011750442845172327, "NONE": 0.8912775725994755}, "tertiary": {"Academic Writing": 0.0001914718888695183, "Content Listing": 0.00011785474130578279, "Creative Writing": 0.0001667086145735591, "Customer Support Page": 0.0004285422488687567, "Q&A Forum": 6.862258934373609e-05, "Discussion Thread": 4.917730732153292e-05, "Comment Section": 0.00013005406531271232, "Missing Content": 0.0002594188234774732, "Knowledge Article": 0.002861942828200287, "Legal Notices": 0.0002665669575963753, "News Article": 9.97928735588034e-05, "Organizational Announcement": 0.00010673151843795534, "Nonfiction Writing": 9.909033949626271e-05, "Organizational About Page": 0.00013545012342860744, "Personal About Page": 7.250350829977775e-05, "Personal Blog": 8.295391241266207e-05, "Product Page": 8.133764706826712e-05, "Spam / Ads": 0.0001030348985096096, "Structured Data": 0.00492797509335611, "Technical Writing": 0.021189429888054903, "Transcript / Interview": 0.00011030757840262697, "Tutorial / How-To Guide": 0.0259778810762718, "User Reviews": 5.044580943270901e-05, "NONE": 0.9424227056684003}, "structured_records": {"false": 0.8039337334470691, "true": 0.19606626655293094}, "procedural_steps": {"false": 0.9652269202342469, "true": 0.03477307976575304}, "worked_solution": {"false": 0.9992531693668784, "true": 0.0007468306331216649}, "contextual_dialogue": {"false": 0.9999952391122305, "true": 4.76088776949921e-06}, "content_quality": {"-2": 0.004751438999882311, "-1": 0.01617258822932165, "0": 0.16538625511557814, "1": 0.5049051743615531, "2": 0.3087845432936648}, "noise_severity": {"0": 0.9804616483063016, "1": 0.017346551202310243, "2": 0.0015481778053887734, "3": 0.0003893597888253171, "4": 0.0002542628971739676}, "missing_content_severity": {"0": 0.9635776846329043, "1": 0.026038390034324732, "2": 0.00803870925293173, "3": 0.001776744590354754, "4": 0.0005684714894845823}, "factual_density": {"0": 0.002030916664472982, "1": 0.004662031691506048, "2": 0.09219188530311678, "3": 0.4525858984318875, "4": 0.44852926790901676}, "pretraining_utility": {"-2": 0.010668862461944153, "-1": 0.12289040924114598, "0": 0.4302759513737534, "1": 0.3894558926834391, "2": 0.04670888423971741}, "math_density": {"0": 0.997452948431532, "1": 0.002225340186821812, "2": 0.00014046821107200174, "3": 6.836286603964423e-05, "4": 0.00011288030453455197}, "code_density": {"0": 0.0011816117898847975, "1": 0.0027043520145694183, "2": 0.07721948388345827, "3": 0.483658968616022, "4": 0.43523558369606535}, "reasoning_density": {"0": 0.8338635643765688, "1": 0.09921672493838729, "2": 0.060500230468174536, "3": 0.005199102462249182, "4": 0.0012203777546200656}, "education_level": {"none": 0.000992323783460879, "0": 0.001926736001718565, "1": 0.009828044981118353, "2": 0.48460319141564145, "3": 0.43199358195801024, "4": 0.0706561218600506}, "creative_writing_quality": {"not_applicable": 0.9995161139785418, "-2": 5.259274020975576e-05, "-1": 0.00010376386325023225, "0": 0.00024111031305622756, "1": 6.284186282410378e-05, "2": 2.357724211790031e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 0.00017018708536908092, "Art & Design": 0.00022551050101019034, "Law & Crime": 0.00021919746278234586, "Education & Careers": 0.00013141397546334384, "Entertainment & Media": 0.00016484608713814407, "Fashion & Beauty": 0.00012516490385991908, "Business, Economics & Finance": 0.00019063294305488252, "Food & Dining": 0.00011709398931300994, "Games & Gaming": 0.00021220622128349676, "Electronics & Hardware": 0.0006149403645338269, "Health, Healthcare & Wellness": 0.00012971176246362093, "History & Geography": 0.00019254658470742878, "Home, Pets & Hobbies": 0.00015501437939556664, "Industry & Production": 0.00020272035669389408, "Language, Literature & Philosophy": 0.00014402181736563566, "Politics & Government": 0.00014582355636433517, "Religion & Spirituality": 0.00011335541760150284, "Science, Mathematics & Engineering": 0.00033255584848063683, "Relationships & Community": 9.112860017189401e-05, "Software Usage & Applications": 0.1221638977737015, "Programming & Software Engineering": 0.8730739432252409, "Sports & Fitness": 0.0001633608221647641, "Vehicles & Transportation": 8.041016249502645e-05, "Travel & Tourism": 0.0001599176769943425, "Other / Uncovered Subject": 0.0004968146209881046, "Unknown / Insufficient Content": 0.00018358386136273978}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0006725334393145693, "Art & Design": 0.000501113836549348, "Law & Crime": 0.0008346248112355143, "Education & Careers": 0.0003431729693589916, "Entertainment & Media": 0.00046527532441676604, "Fashion & Beauty": 0.00031583189749952504, "Business, Economics & Finance": 0.000613736314146802, "Food & Dining": 0.00025274166639114584, "Games & Gaming": 0.00035654713730688567, "Electronics & Hardware": 0.0018451578677155763, "Health, Healthcare & Wellness": 0.000344146026502853, "History & Geography": 0.000371097380047435, "Home, Pets & Hobbies": 0.000306771596431859, "Industry & Production": 0.0003634707138763692, "Language, Literature & Philosophy": 0.00028857288520797025, "Politics & Government": 0.0005149733002296061, "Religion & Spirituality": 0.0003611723838543352, "Science, Mathematics & Engineering": 0.0008947285824646464, "Relationships & Community": 0.00021547499608340215, "Software Usage & Applications": 0.22866486286560592, "Programming & Software Engineering": 0.09894963331773178, "Sports & Fitness": 0.0002900647593360691, "Vehicles & Transportation": 0.00017424121359865097, "Travel & Tourism": 0.0004655476269796663, "Other / Uncovered Subject": 0.000993818194467889, "NONE": 0.6606006888936464}}, "probabilities": {"primary": {"Academic Writing": 2.744493033138924e-05, "Content Listing": 1.3565368268744975e-05, "Creative Writing": 1.3604293054165953e-05, "Customer Support Page": 4.023212877008991e-05, "Q&A Forum": 1.0364376663157613e-05, "Discussion Thread": 6.7967546847537156e-06, "Comment Section": 1.1043400924252904e-05, "Missing Content": 1.757150646220661e-05, "Knowledge Article": 0.0002218330512829357, "Legal Notices": 4.870955518172692e-05, "News Article": 5.442098519259722e-06, "Organizational Announcement": 1.1455154882643624e-05, "Nonfiction Writing": 8.445345696850162e-06, "Organizational About Page": 1.1559232681345444e-05, "Personal About Page": 7.475179163554236e-06, "Personal Blog": 6.929073821027709e-06, "Product Page": 8.725699449154713e-06, "Spam / Ads": 8.687554212489679e-06, "Structured Data": 0.0006593731469649929, "Technical Writing": 0.9946192982602103, "Transcript / Interview": 1.4241399672991801e-05, "Tutorial / How-To Guide": 0.0014442291689138358, "User Reviews": 6.259977126014745e-06, "Other / Unknown": 0.002776713343062124}, "secondary": {"Academic Writing": 0.00038289322251938354, "Content Listing": 0.00024958072518072944, "Creative Writing": 0.00029156606267121115, "Customer Support Page": 0.0008904814036667095, "Q&A Forum": 0.00021593140047550464, "Discussion Thread": 0.00013389909418712223, "Comment Section": 0.00028400570139614227, "Missing Content": 0.00046202743674824537, "Knowledge Article": 0.006277397669466738, "Legal Notices": 0.00037500321024351433, "News Article": 0.0002304307385235157, "Organizational Announcement": 0.00023064982934349403, "Nonfiction Writing": 0.00022273587520994296, "Organizational About Page": 0.00027786877574893527, "Personal About Page": 0.00017832375919947911, "Personal Blog": 0.00018706464268049462, "Product Page": 0.00015731329515272866, "Spam / Ads": 0.0002247786584106325, "Structured Data": 0.007385110700674216, "Technical Writing": 0.04803794026880505, "Transcript / Interview": 0.00028163999330206476, "Tutorial / How-To Guide": 0.04162828050846685, "User Reviews": 0.00011750442845172328, "NONE": 0.8912775725994756}, "tertiary": {"Academic Writing": 0.0001914718888695183, "Content Listing": 0.00011785474130578279, "Creative Writing": 0.0001667086145735591, "Customer Support Page": 0.0004285422488687567, "Q&A Forum": 6.862258934373609e-05, "Discussion Thread": 4.917730732153292e-05, "Comment Section": 0.00013005406531271232, "Missing Content": 0.0002594188234774732, "Knowledge Article": 0.002861942828200287, "Legal Notices": 0.0002665669575963753, "News Article": 9.97928735588034e-05, "Organizational Announcement": 0.00010673151843795534, "Nonfiction Writing": 9.909033949626271e-05, "Organizational About Page": 0.00013545012342860744, "Personal About Page": 7.250350829977775e-05, "Personal Blog": 8.295391241266207e-05, "Product Page": 8.133764706826712e-05, "Spam / Ads": 0.0001030348985096096, "Structured Data": 0.00492797509335611, "Technical Writing": 0.021189429888054903, "Transcript / Interview": 0.00011030757840262697, "Tutorial / How-To Guide": 0.0259778810762718, "User Reviews": 5.044580943270901e-05, "NONE": 0.9424227056684003}, "structured_records": {"false": 0.8039337334470691, "true": 0.19606626655293094}, "procedural_steps": {"false": 0.9652269202342469, "true": 0.03477307976575304}, "worked_solution": {"false": 0.9992531693668784, "true": 0.0007468306331216649}, "contextual_dialogue": {"false": 0.9999952391122305, "true": 4.76088776949921e-06}, "content_quality": {"-2": 0.004751438999882311, "-1": 0.01617258822932165, "0": 0.16538625511557814, "1": 0.5049051743615531, "2": 0.3087845432936648}, "noise_severity": {"0": 0.9804616483063017, "1": 0.017346551202310247, "2": 0.0015481778053887737, "3": 0.00038935978882531717, "4": 0.00025426289717396766}, "missing_content_severity": {"0": 0.9635776846329043, "1": 0.026038390034324732, "2": 0.00803870925293173, "3": 0.001776744590354754, "4": 0.0005684714894845823}, "factual_density": {"0": 0.002030916664472982, "1": 0.004662031691506048, "2": 0.09219188530311678, "3": 0.4525858984318875, "4": 0.44852926790901676}, "pretraining_utility": {"-2": 0.010668862461944153, "-1": 0.12289040924114598, "0": 0.4302759513737534, "1": 0.3894558926834391, "2": 0.04670888423971741}, "math_density": {"0": 0.997452948431532, "1": 0.002225340186821812, "2": 0.00014046821107200174, "3": 6.836286603964423e-05, "4": 0.00011288030453455197}, "code_density": {"0": 0.0011816117898847977, "1": 0.0027043520145694187, "2": 0.07721948388345828, "3": 0.4836589686160221, "4": 0.43523558369606546}, "reasoning_density": {"0": 0.8338635643765689, "1": 0.0992167249383873, "2": 0.06050023046817454, "3": 0.005199102462249183, "4": 0.0012203777546200658}, "education_level": {"none": 0.000992323783460879, "0": 0.001926736001718565, "1": 0.009828044981118353, "2": 0.48460319141564145, "3": 0.43199358195801024, "4": 0.0706561218600506}, "creative_writing_quality": {"not_applicable": 0.9995161139785418, "-2": 5.259274020975576e-05, "-1": 0.00010376386325023225, "0": 0.00024111031305622756, "1": 6.284186282410378e-05, "2": 2.357724211790031e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 0.0001701870853690809, "Art & Design": 0.00022551050101019029, "Law & Crime": 0.0002191974627823458, "Education & Careers": 0.00013141397546334382, "Entertainment & Media": 0.00016484608713814404, "Fashion & Beauty": 0.00012516490385991905, "Business, Economics & Finance": 0.00019063294305488246, "Food & Dining": 0.00011709398931300992, "Games & Gaming": 0.0002122062212834967, "Electronics & Hardware": 0.0006149403645338268, "Health, Healthcare & Wellness": 0.0001297117624636209, "History & Geography": 0.00019254658470742872, "Home, Pets & Hobbies": 0.00015501437939556662, "Industry & Production": 0.00020272035669389402, "Language, Literature & Philosophy": 0.00014402181736563563, "Politics & Government": 0.00014582355636433514, "Religion & Spirituality": 0.00011335541760150282, "Science, Mathematics & Engineering": 0.0003325558484806368, "Relationships & Community": 9.1128600171894e-05, "Software Usage & Applications": 0.12216389777370147, "Programming & Software Engineering": 0.8730739432252407, "Sports & Fitness": 0.00016336082216476407, "Vehicles & Transportation": 8.041016249502644e-05, "Travel & Tourism": 0.00015991767699434248, "Other / Uncovered Subject": 0.0004968146209881045, "Unknown / Insufficient Content": 0.00018358386136273973}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0006725334393145693, "Art & Design": 0.000501113836549348, "Law & Crime": 0.0008346248112355143, "Education & Careers": 0.0003431729693589916, "Entertainment & Media": 0.00046527532441676604, "Fashion & Beauty": 0.00031583189749952504, "Business, Economics & Finance": 0.000613736314146802, "Food & Dining": 0.00025274166639114584, "Games & Gaming": 0.00035654713730688567, "Electronics & Hardware": 0.0018451578677155763, "Health, Healthcare & Wellness": 0.000344146026502853, "History & Geography": 0.000371097380047435, "Home, Pets & Hobbies": 0.000306771596431859, "Industry & Production": 0.0003634707138763692, "Language, Literature & Philosophy": 0.00028857288520797025, "Politics & Government": 0.0005149733002296061, "Religion & Spirituality": 0.0003611723838543352, "Science, Mathematics & Engineering": 0.0008947285824646464, "Relationships & Community": 0.00021547499608340215, "Software Usage & Applications": 0.22866486286560592, "Programming & Software Engineering": 0.09894963331773178, "Sports & Fitness": 0.0002900647593360691, "Vehicles & Transportation": 0.00017424121359865097, "Travel & Tourism": 0.0004655476269796663, "Other / Uncovered Subject": 0.000993818194467889, "NONE": 0.6606006888936464}}, "probability_diagnostics": {"primary": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "tertiary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "structured_records": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "procedural_steps": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "worked_solution": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "contextual_dialogue": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "content_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "noise_severity": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "missing_content_severity": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "factual_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "pretraining_utility": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "math_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "code_density": {"raw_sum": 0.9999999999999998, "mass_delta": -2.220446049250313e-16, "missing_mass": 2.220446049250313e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "reasoning_density": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "education_level": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "creative_writing_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "primary_topic": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "secondary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}}, "usage": {"input_tokens": 10133, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 10133, "cached_share": null, "cache_discount_reported": null, "reported_cost_usd": null}, "response_metadata": {"model": "decision-models/baseten-mammoth-27b-latest"}, "scored_at_utc": "2026-10-25T18:36:08.848388+00:00", "scoring_key_slot": "primary", "dataset_uid": "12775bf9-c0fe-4614-aae9-8937875e1c9f", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "9983029cb1094119e50f240603079f4dab74553ad343cc6eca9ae9a4a72c2783", "source_metadata": {"uuid": "12775bf9-c0fe-4614-aae9-8937875e1c9f", "repo_name": "freebsd/freebsd-ports", "relative_path": "www/tomcat-devel/files/tomcat_devel.in", "category": "TOOL", "algo_rel_score": 0.6866313219070435, "quality_score": 3.9657318592071533, "source_meta": {"github_metadata": {"branch": "main", "commit_count": 713138, "repo_created_at": "2011-05-26T11:15:35.000Z", "is_fork": false, "is_org_owned": true, "forked_from": null, "stars": 1066, "forks": 794, "issues": 0, "pull_requests": 54}, "file_meta": {"content_id": "e89218be5ce40304ecb404c2564bfd283d6b8dc3", "size_bytes": 4819, "file_timestamp": 1752784270, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "4c191c8d4bbd12fba42dd6e687a5c78917938d24"}}, "parsed_source_meta": {"github_metadata": {"branch": "main", "commit_count": 713138, "repo_created_at": "2011-05-26T11:15:35.000Z", "is_fork": false, "is_org_owned": true, "forked_from": null, "stars": 1066, "forks": 794, "issues": 0, "pull_requests": 54}, "file_meta": {"content_id": "e89218be5ce40304ecb404c2564bfd283d6b8dc3", "size_bytes": 4819, "file_timestamp": 1752784270, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "4c191c8d4bbd12fba42dd6e687a5c78917938d24", "url": "https://github.com/freebsd/freebsd-ports/blob/4c191c8d4bbd12fba42dd6e687a5c78917938d24/www/tomcat-devel/files/tomcat_devel.in"}, "gpt4o_tokens": 1532, "dataset_split": "shell", "probability_weighted_scores": {"content_quality": 1.0967987947197964, "noise_severity": 0.022628037768259616, "missing_content_severity": 0.049719928269190784, "factual_density": 3.340920569229469, "pretraining_utility": 0.3386455269978396, "math_density": 0.003162886425222956, "code_density": 3.349062560413814, "reasoning_density": 0.2406960042799642, "education_level": 2.5601801888179434, "creative_writing_quality": -0.20449649756700672}, "score_applicability": {"education_level": 0.9990076762165392, "creative_writing_quality": 0.00048388602145821964}} {"source_group": "shell", "source": "openbmb/UltraData-Stack-v3-L2/shell", "domain": "github.com", "language": "shell", "url": "https://github.com/solnyun/CROS-RT/blob/69680fbe31271218113a3e2351614fd9aea1eec6/prio_ros2/evaluation_fig11_fig12_fig13/script_8/machine_b_set211.bash", "id": "shell-0-46cdc9d4e6f13f4c6ae2ca47aa1c2dc6", "text": "#!/bin/bash\n\n# Print usage information and exit\nprint_usage() {\n echo \"Usage: $0 \"\n exit 1\n}\n\nif [ \"$#\" -ne 2 ]; then\n print_usage\nfi\n\ntype=$1\nmodel=$2\n\n# Create a directory to store the result data\n# CreateDIR=result/\n# if [ ! -d \"$CreateDIR\" ]; then\n# mkdir \"$CreateDIR\"\n# fi\nros2 run evaluation_3_randomdag uunifast_node -n node211_0_1 -p 318 -st topic211_0_0 -pt topic211_0_1 -u 0.02564872324157924 > ./result_8chains/node211_0_1.txt &\nsleep 20\nros2 run evaluation_3_randomdag uunifast_node -n node211_1_1 -p 330 -st topic211_1_0 -pt topic211_1_1 -u 0.008323744321236726 > ./result_8chains/node211_1_1.txt &\nsleep 20\nros2 run evaluation_3_randomdag uunifast_node -n node211_2_1 -p 598 -st topic211_2_0 -pt topic211_2_1 -u 0.01411906977897781 > ./result_8chains/node211_2_1.txt &\nsleep 20\nros2 run evaluation_3_randomdag uunifast_node -n node211_3_1 -p 697 -st topic211_3_0 -pt topic211_3_1 -u 0.012093614000260405 > ./result_8chains/node211_3_1.txt &\nsleep 20\nros2 run evaluation_3_randomdag uunifast_node -n node211_4_1 -p 747 -st topic211_4_0 -pt topic211_4_1 -u 0.0018618459585897085 > ./result_8chains/node211_4_1.txt &\nsleep 20\nros2 run evaluation_3_randomdag uunifast_node -n node211_5_1 -p 823 -st topic211_5_0 -pt topic211_5_1 -u 0.007826577495268633 > ./result_8chains/node211_5_1.txt &\nsleep 20\nros2 run evaluation_3_randomdag uunifast_node -n node211_6_1 -p 985 -st topic211_6_0 -pt topic211_6_1 -u 0.012872703336220634 > ./result_8chains/node211_6_1.txt &\nsleep 20\nros2 run evaluation_3_randomdag uunifast_node -n node211_7_1 -p 999 -st topic211_7_0 -pt topic211_7_1 -u 0.013176665320820414 > ./result_8chains/node211_7_1.txt &\nsleep 20\nfinalize_framework() {\n if [ \"$type\" == \"framework\" ]; then\n if [ \"$model\" == \"with_nonRT\" ]; then\n python3 pri_remove.py \"$file_name_motor\"\n fi\n for filepath in \"${files[@]}\"; do\n file=$(echo \"$filepath\" | cut -d' ' -f1)\n python3 pri_remove.py \"$file\"\n done\n fi\n}\n\n\n# Priority Assignments\ndeclare -a files=(\n \"./result_8chains/node211_0_1.txt 90\"\n \"./result_8chains/node211_1_1.txt 89\"\n \"./result_8chains/node211_2_1.txt 88\"\n \"./result_8chains/node211_3_1.txt 87\"\n \"./result_8chains/node211_4_1.txt 86\"\n \"./result_8chains/node211_5_1.txt 85\"\n \"./result_8chains/node211_6_1.txt 84\"\n \"./result_8chains/node211_7_1.txt 83\"\n)\n\nfor filepath in \"${files[@]}\"; do\n file=$(echo \"$filepath\" | cut -d' ' -f1)\n priority=$(echo \"$filepath\" | cut -d' ' -f2)\n if [ \"$type\" == \"vanilla\" ]; then\n python3 pri_assign.py $file $priority\n elif [ \"$type\" == \"framework\" ]; then\n python3 pri_identifier.py $file $priority\n fi\ndone\necho \"End Priority Assignment\"\n\n# Finalize by performing a final command and killing any remaining processes\n/home/orin2/prio_ros2/evaluation_2_fig10/wait_signal 192.168.0.21 9797\necho \"End Running\"\nsudo pkill uunifast_node\nfinalize_framework\n", "text_preview": "#!/bin/bash # Print usage information and exit print_usage() { echo \"Usage: $0 \" exit 1 } if [ \"$#\" -ne 2 ]; then print_usage fi type=$1 model=$2 # Create a directory to store the result data # CreateDI", "input_sha256": "0be6bf025cb1c6ea4a8dd30b37fcf0bf235adc3057c4b7b057843bc2c2a5d7e0", "text_sha256": "46cdc9d4e6f13f4c6ae2ca47aa1c2dc6c430890982c366065eeee6cec4a8f468", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 20104, "input_policy": "text-and-optional-url-v1", "label_policy_version": 12, "requested_model": "decision-models/baseten-mammoth-27b-latest", "backend": "baseten", "endpoint": "https://inference.baseten.co/v1/systemone", "status": "ok", "training_eligible": true, "label": {"primary": {"main_format": "Technical Writing", "sub_format": null}, "secondary": null, "tertiary": null, "content_structure": []}, "candidate_label": null, "topic": {"primary": {"main_topic": "Programming & Software Engineering", "sub_topic": null}, "secondary": null}, "scores": {"content_quality": 1, "noise_severity": 0, "missing_content_severity": 0, "factual_density": 3, "pretraining_utility": 0, "math_density": 0, "code_density": 4, "reasoning_density": 0, "education_level": 3, "creative_writing_quality": null}, "score_expectations": {"content_quality": 0.419313059668983, "noise_severity": 0.08515827004240092, "missing_content_severity": 0.018820709742003235, "factual_density": 3.079977045797435, "pretraining_utility": 0.023088074261046462, "math_density": 0.044121100735116395, "code_density": 3.8706582248222676, "reasoning_density": 0.08494124005875946, "education_level": 2.739277247895274, "creative_writing_quality": -0.3195411625073798}, "api_choices": {"primary": "Technical Writing", "secondary": "NONE", "tertiary": "NONE", "education_level": "3", "creative_writing_quality": "not_applicable", "primary_topic": "Programming & Software Engineering", "secondary_topic": "NONE"}, "review_reasons": [], "format_slot_diagnostics": {"comparable": true, "secondary_tertiary_identical": false, "secondary_tertiary_max_abs_gap": 0.025932603721436687, "secondary_choice": "NONE", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.9824837839106894, "secondary": 0.9263693605764873, "tertiary": 0.9534294688075517, "structured_records": 0.41146555215197983, "procedural_steps": 0.2569696280507597, "worked_solution": 0.001974740089909685, "contextual_dialogue": 7.726242176251372e-06, "content_quality": 0.331638805147917, "noise_severity": 0.9290347749646659, "missing_content_severity": 0.9843160752149973, "factual_density": 0.45807346365426327, "pretraining_utility": 0.5125284225898253, "math_density": 0.9632324160540696, "code_density": 0.8922151873518894, "reasoning_density": 0.9292156332843671, "education_level": 0.32341536692115774, "creative_writing_quality": 0.9994018924163012, "primary_topic": 0.9637769885174666, "secondary_topic": 0.766728990300263}, "probability_margin": {"primary": 0.9750345759496599, "secondary": 0.9025882229608913, "tertiary": 0.9396613653138746, "education_level": 0.0363078527224579, "creative_writing_quality": 0.9992763616603523, "primary_topic": 0.9437669503279832, "secondary_topic": 0.6835893269044765}, "raw_probabilities": {"primary": {"Academic Writing": 0.00022300851826503125, "Content Listing": 7.006264318226263e-05, "Creative Writing": 5.4467384988839025e-05, "Customer Support Page": 3.882842586632563e-05, "Q&A Forum": 3.776317422244395e-05, "Discussion Thread": 2.3970198133109992e-05, "Comment Section": 3.7202271465023584e-05, "Missing Content": 7.055187318503088e-05, "Knowledge Article": 0.0002190781929662863, "Legal Notices": 5.2394311574737e-05, "News Article": 1.6620650275407052e-05, "Organizational Announcement": 3.191249202139237e-05, "Nonfiction Writing": 3.374945896920271e-05, "Organizational About Page": 3.661843130630575e-05, "Personal About Page": 3.408706154609712e-05, "Personal Blog": 2.378827677902867e-05, "Product Page": 2.275945232013226e-05, "Spam / Ads": 3.127209703067016e-05, "Structured Data": 0.001379450221118406, "Technical Writing": 0.983213626247744, "Transcript / Interview": 5.195819999916829e-05, "Tutorial / How-To Guide": 0.00817905029808404, "User Reviews": 1.994384341069584e-05, "Other / Unknown": 0.006097836275546478}, "secondary": {"Academic Writing": 0.0014997838637431115, "Content Listing": 0.0003337802253855451, "Creative Writing": 0.000251802204031715, "Customer Support Page": 0.0001682417214532643, "Q&A Forum": 0.0001220884693716259, "Discussion Thread": 8.729110445822395e-05, "Comment Section": 0.00015328988156905883, "Missing Content": 0.00033829349286724884, "Knowledge Article": 0.0008416150648026771, "Legal Notices": 0.00019450957219201064, "News Article": 0.00013482480975564464, "Organizational Announcement": 0.00012575206479812758, "Nonfiction Writing": 0.00013051925788035474, "Organizational About Page": 0.00015182625623211813, "Personal About Page": 0.00012350734879788922, "Personal Blog": 0.00013162519071160603, "Product Page": 8.182515170388182e-05, "Spam / Ads": 0.00013915536052719227, "Structured Data": 0.017534710224406176, "Technical Writing": 0.026849080924909084, "Transcript / Interview": 0.0001831281665242541, "Tutorial / How-To Guide": 0.020919998479592656, "User Reviews": 6.604727848611268e-05, "NONE": 0.9294373038858004}, "tertiary": {"Academic Writing": 0.0008006971553274786, "Content Listing": 0.0001805388572274299, "Creative Writing": 0.00014676935309682995, "Customer Support Page": 8.809323589327907e-05, "Q&A Forum": 6.0171985262727345e-05, "Discussion Thread": 4.842797547469535e-05, "Comment Section": 0.00011960010887149791, "Missing Content": 0.0004341066154161664, "Knowledge Article": 0.0011183735512778365, "Legal Notices": 0.0002153450848853597, "News Article": 7.084818478181859e-05, "Organizational Announcement": 6.596204989274991e-05, "Nonfiction Writing": 9.26303386064281e-05, "Organizational About Page": 0.00010275778089777198, "Personal About Page": 6.760480951428485e-05, "Personal Blog": 7.211306604368696e-05, "Product Page": 5.5345317452993e-05, "Spam / Ads": 8.25814264856516e-05, "Structured Data": 0.011233757273249441, "Technical Writing": 0.01570854229336246, "Transcript / Interview": 0.00010965445497332437, "Tutorial / How-To Guide": 0.013717040633367926, "User Reviews": 3.9130841401098236e-05, "NONE": 0.9553699076072371}, "structured_records": {"false": 0.5885344478480201, "true": 0.41146555215197983}, "procedural_steps": {"false": 0.7430303719492404, "true": 0.2569696280507597}, "worked_solution": {"false": 0.9980252599100903, "true": 0.001974740089909685}, "contextual_dialogue": {"false": 0.9999922737578237, "true": 7.726242176251372e-06}, "content_quality": {"-2": 0.03655466578997467, "-1": 0.12990076488941463, "0": 0.3218946599280051, "1": 0.40097666264686427, "2": 0.11067324674574135}, "noise_severity": {"0": 0.9263490690669176, "1": 0.06443230033866952, "2": 0.007555659530662793, "3": 0.0010372336125947488, "4": 0.0006257374511553937}, "missing_content_severity": {"0": 0.9854036474643274, "1": 0.011323919747204871, "2": 0.00251040051586557, "3": 0.0005721401273408588, "4": 0.00018989214526116078}, "factual_density": {"0": 0.010087500475027452, "1": 0.03339548156057506, "2": 0.188113934362492, "3": 0.4032586388957458, "4": 0.36514444470615953}, "pretraining_utility": {"-2": 0.023071263818054178, "-1": 0.23479638167947317, "0": 0.4712479749037308, "1": 0.23774177562085538, "2": 0.0331426039778863}, "math_density": {"0": 0.9684747136030606, "1": 0.02543740686898557, "2": 0.0022666804968399386, "3": 0.0011344632520045859, "4": 0.002686735779109297}, "code_density": {"0": 0.0002961603971181749, "1": 0.0006498578339488843, "2": 0.012773001985912184, "3": 0.10066155611558897, "4": 0.8856194236674318}, "reasoning_density": {"0": 0.942362287134115, "1": 0.03294557649959587, "2": 0.022714839501139738, "3": 0.0013432029037128968, "4": 0.0006340939614363516}, "education_level": {"none": 0.0012548628753767175, "0": 0.0019557398841461267, "1": 0.005131682177468063, "2": 0.3998716197118402, "3": 0.4361794724342981, "4": 0.1556066229168708}, "creative_writing_quality": {"not_applicable": 0.9995015770135843, "-2": 6.997699839555049e-05, "-1": 0.00012187177754272979, "0": 0.00022521535323210932, "1": 6.015860065719072e-05, "2": 2.1200256588433515e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 0.00010294582316061977, "Art & Design": 0.00013413631296519567, "Law & Crime": 0.00014646915785443402, "Education & Careers": 8.63322495690797e-05, "Entertainment & Media": 6.754275665403763e-05, "Fashion & Beauty": 6.78957293376017e-05, "Business, Economics & Finance": 0.00014122387170596812, "Food & Dining": 7.918814099330968e-05, "Games & Gaming": 0.00015426212682447403, "Electronics & Hardware": 0.002557653538927234, "Health, Healthcare & Wellness": 0.00011185186788054729, "History & Geography": 0.00012416049817113263, "Home, Pets & Hobbies": 9.732944254448031e-05, "Industry & Production": 0.0005811338322501692, "Language, Literature & Philosophy": 7.668954989951696e-05, "Politics & Government": 5.571297315865716e-05, "Religion & Spirituality": 7.436597327069728e-05, "Science, Mathematics & Engineering": 0.02140323093881173, "Relationships & Community": 3.892297752393783e-05, "Software Usage & Applications": 0.005785801253579265, "Programming & Software Engineering": 0.9651701812667949, "Sports & Fitness": 0.00014635773252749223, "Vehicles & Transportation": 0.00035951211852788465, "Travel & Tourism": 9.776131747481667e-05, "Other / Uncovered Subject": 0.002062396893163184, "Unknown / Insufficient Content": 0.00027694165642947475}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0007704879572616041, "Art & Design": 0.0005691514678104571, "Law & Crime": 0.0006972930695453172, "Education & Careers": 0.00044839011531203684, "Entertainment & Media": 0.000527680328298173, "Fashion & Beauty": 0.0003033150682988453, "Business, Economics & Finance": 0.0006923095697112261, "Food & Dining": 0.0003105563978231675, "Games & Gaming": 0.0005327273536706426, "Electronics & Hardware": 0.007419118388339989, "Health, Healthcare & Wellness": 0.0004967073436995276, "History & Geography": 0.0004555991531012371, "Home, Pets & Hobbies": 0.0003627847436167568, "Industry & Production": 0.0008497482686720212, "Language, Literature & Philosophy": 0.00022721679846693415, "Politics & Government": 0.00029301933422587153, "Religion & Spirituality": 0.00042357363969937166, "Science, Mathematics & Engineering": 0.09211162530731483, "Relationships & Community": 0.00019372558471726262, "Software Usage & Applications": 0.0374359159187012, "Programming & Software Engineering": 0.07507227909351451, "Sports & Fitness": 0.0005711453452938676, "Vehicles & Transportation": 0.0008164229647856864, "Travel & Tourism": 0.0004428533605866009, "Other / Uncovered Subject": 0.002275401215741421, "NONE": 0.7757009522117914}}, "probabilities": {"primary": {"Academic Writing": 0.0002230085182650312, "Content Listing": 7.006264318226261e-05, "Creative Writing": 5.446738498883901e-05, "Customer Support Page": 3.8828425866325624e-05, "Q&A Forum": 3.7763174222443944e-05, "Discussion Thread": 2.3970198133109985e-05, "Comment Section": 3.720227146502358e-05, "Missing Content": 7.055187318503087e-05, "Knowledge Article": 0.00021907819296628625, "Legal Notices": 5.2394311574736985e-05, "News Article": 1.662065027540705e-05, "Organizational Announcement": 3.191249202139236e-05, "Nonfiction Writing": 3.37494589692027e-05, "Organizational About Page": 3.661843130630574e-05, "Personal About Page": 3.408706154609711e-05, "Personal Blog": 2.3788276779028665e-05, "Product Page": 2.2759452320132257e-05, "Spam / Ads": 3.1272097030670155e-05, "Structured Data": 0.0013794502211184059, "Technical Writing": 0.9832136262477438, "Transcript / Interview": 5.1958199999168275e-05, "Tutorial / How-To Guide": 0.008179050298084039, "User Reviews": 1.9943843410695835e-05, "Other / Unknown": 0.006097836275546476}, "secondary": {"Academic Writing": 0.0014997838637431115, "Content Listing": 0.0003337802253855451, "Creative Writing": 0.000251802204031715, "Customer Support Page": 0.0001682417214532643, "Q&A Forum": 0.0001220884693716259, "Discussion Thread": 8.729110445822395e-05, "Comment Section": 0.00015328988156905883, "Missing Content": 0.00033829349286724884, "Knowledge Article": 0.0008416150648026771, "Legal Notices": 0.00019450957219201064, "News Article": 0.00013482480975564464, "Organizational Announcement": 0.00012575206479812758, "Nonfiction Writing": 0.00013051925788035474, "Organizational About Page": 0.00015182625623211813, "Personal About Page": 0.00012350734879788922, "Personal Blog": 0.00013162519071160603, "Product Page": 8.182515170388182e-05, "Spam / Ads": 0.00013915536052719227, "Structured Data": 0.017534710224406176, "Technical Writing": 0.026849080924909084, "Transcript / Interview": 0.0001831281665242541, "Tutorial / How-To Guide": 0.020919998479592656, "User Reviews": 6.604727848611268e-05, "NONE": 0.9294373038858004}, "tertiary": {"Academic Writing": 0.0008006971553274786, "Content Listing": 0.0001805388572274299, "Creative Writing": 0.00014676935309682995, "Customer Support Page": 8.809323589327907e-05, "Q&A Forum": 6.0171985262727345e-05, "Discussion Thread": 4.842797547469535e-05, "Comment Section": 0.00011960010887149791, "Missing Content": 0.0004341066154161664, "Knowledge Article": 0.0011183735512778365, "Legal Notices": 0.0002153450848853597, "News Article": 7.084818478181859e-05, "Organizational Announcement": 6.596204989274991e-05, "Nonfiction Writing": 9.26303386064281e-05, "Organizational About Page": 0.00010275778089777198, "Personal About Page": 6.760480951428485e-05, "Personal Blog": 7.211306604368696e-05, "Product Page": 5.5345317452993e-05, "Spam / Ads": 8.25814264856516e-05, "Structured Data": 0.011233757273249441, "Technical Writing": 0.01570854229336246, "Transcript / Interview": 0.00010965445497332437, "Tutorial / How-To Guide": 0.013717040633367926, "User Reviews": 3.9130841401098236e-05, "NONE": 0.9553699076072371}, "structured_records": {"false": 0.5885344478480201, "true": 0.41146555215197983}, "procedural_steps": {"false": 0.7430303719492404, "true": 0.2569696280507597}, "worked_solution": {"false": 0.9980252599100903, "true": 0.001974740089909685}, "contextual_dialogue": {"false": 0.9999922737578237, "true": 7.726242176251372e-06}, "content_quality": {"-2": 0.03655466578997467, "-1": 0.12990076488941463, "0": 0.3218946599280051, "1": 0.40097666264686427, "2": 0.11067324674574135}, "noise_severity": {"0": 0.9263490690669176, "1": 0.06443230033866952, "2": 0.007555659530662793, "3": 0.0010372336125947488, "4": 0.0006257374511553937}, "missing_content_severity": {"0": 0.9854036474643275, "1": 0.011323919747204873, "2": 0.0025104005158655706, "3": 0.000572140127340859, "4": 0.0001898921452611608}, "factual_density": {"0": 0.010087500475027454, "1": 0.03339548156057507, "2": 0.18811393436249202, "3": 0.40325863889574587, "4": 0.3651444447061596}, "pretraining_utility": {"-2": 0.02307126381805418, "-1": 0.2347963816794732, "0": 0.4712479749037309, "1": 0.2377417756208554, "2": 0.033142603977886306}, "math_density": {"0": 0.9684747136030606, "1": 0.02543740686898557, "2": 0.0022666804968399386, "3": 0.0011344632520045859, "4": 0.002686735779109297}, "code_density": {"0": 0.0002961603971181749, "1": 0.0006498578339488843, "2": 0.012773001985912184, "3": 0.10066155611558897, "4": 0.8856194236674318}, "reasoning_density": {"0": 0.9423622871341152, "1": 0.032945576499595876, "2": 0.02271483950113974, "3": 0.001343202903712897, "4": 0.0006340939614363517}, "education_level": {"none": 0.0012548628753767175, "0": 0.0019557398841461267, "1": 0.005131682177468063, "2": 0.3998716197118402, "3": 0.4361794724342981, "4": 0.1556066229168708}, "creative_writing_quality": {"not_applicable": 0.9995015770135839, "-2": 6.997699839555046e-05, "-1": 0.00012187177754272973, "0": 0.00022521535323210922, "1": 6.0158600657190696e-05, "2": 2.1200256588433504e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 0.0001029458231606198, "Art & Design": 0.0001341363129651957, "Law & Crime": 0.00014646915785443404, "Education & Careers": 8.633224956907972e-05, "Entertainment & Media": 6.754275665403764e-05, "Fashion & Beauty": 6.789572933760172e-05, "Business, Economics & Finance": 0.00014122387170596815, "Food & Dining": 7.91881409933097e-05, "Games & Gaming": 0.00015426212682447405, "Electronics & Hardware": 0.0025576535389272344, "Health, Healthcare & Wellness": 0.00011185186788054732, "History & Geography": 0.00012416049817113266, "Home, Pets & Hobbies": 9.732944254448034e-05, "Industry & Production": 0.0005811338322501693, "Language, Literature & Philosophy": 7.668954989951698e-05, "Politics & Government": 5.571297315865717e-05, "Religion & Spirituality": 7.43659732706973e-05, "Science, Mathematics & Engineering": 0.021403230938811732, "Relationships & Community": 3.892297752393784e-05, "Software Usage & Applications": 0.005785801253579266, "Programming & Software Engineering": 0.9651701812667951, "Sports & Fitness": 0.00014635773252749226, "Vehicles & Transportation": 0.0003595121185278847, "Travel & Tourism": 9.77613174748167e-05, "Other / Uncovered Subject": 0.0020623968931631842, "Unknown / Insufficient Content": 0.0002769416564294748}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0007704879572616042, "Art & Design": 0.0005691514678104572, "Law & Crime": 0.0006972930695453173, "Education & Careers": 0.0004483901153120369, "Entertainment & Media": 0.0005276803282981731, "Fashion & Beauty": 0.00030331506829884533, "Business, Economics & Finance": 0.0006923095697112262, "Food & Dining": 0.00031055639782316756, "Games & Gaming": 0.0005327273536706427, "Electronics & Hardware": 0.00741911838833999, "Health, Healthcare & Wellness": 0.0004967073436995277, "History & Geography": 0.00045559915310123715, "Home, Pets & Hobbies": 0.0003627847436167569, "Industry & Production": 0.0008497482686720213, "Language, Literature & Philosophy": 0.00022721679846693417, "Politics & Government": 0.0002930193342258716, "Religion & Spirituality": 0.0004235736396993717, "Science, Mathematics & Engineering": 0.09211162530731484, "Relationships & Community": 0.00019372558471726265, "Software Usage & Applications": 0.037435915918701206, "Programming & Software Engineering": 0.07507227909351452, "Sports & Fitness": 0.0005711453452938677, "Vehicles & Transportation": 0.0008164229647856865, "Travel & Tourism": 0.00044285336058660094, "Other / Uncovered Subject": 0.0022754012157414215, "NONE": 0.7757009522117915}}, "probability_diagnostics": {"primary": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "secondary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "tertiary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "structured_records": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "procedural_steps": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "worked_solution": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "contextual_dialogue": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "content_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "noise_severity": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "missing_content_severity": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "factual_density": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "pretraining_utility": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "math_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "code_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "reasoning_density": {"raw_sum": 0.9999999999999998, "mass_delta": -2.220446049250313e-16, "missing_mass": 2.220446049250313e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "education_level": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "creative_writing_quality": {"raw_sum": 1.0000000000000004, "mass_delta": 4.440892098500626e-16, "missing_mass": 0.0, "excess_mass": 4.440892098500626e-16, "valid": true, "normalized": false}, "primary_topic": {"raw_sum": 0.9999999999999998, "mass_delta": -2.220446049250313e-16, "missing_mass": 2.220446049250313e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary_topic": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}}, "usage": {"input_tokens": 9823, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 9823, "cached_share": null, "cache_discount_reported": null, "reported_cost_usd": null}, "response_metadata": {"model": "decision-models/baseten-mammoth-27b-latest"}, "scored_at_utc": "2026-10-25T18:36:09.680031+00:00", "scoring_key_slot": "assistant_1", "dataset_uid": "994b9a3b-070a-4330-a7b8-86e154ec6717", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "68094841953a6534c6ede79698ec01fb610e8c80ce788a2164bde1bfb09c5f2c", "source_metadata": {"uuid": "994b9a3b-070a-4330-a7b8-86e154ec6717", "repo_name": "solnyun/CROS-RT", "relative_path": "prio_ros2/evaluation_fig11_fig12_fig13/script_8/machine_b_set211.bash", "category": "TOOL", "algo_rel_score": 0.9891378283500671, "quality_score": 3.7628378868103027, "source_meta": {"github_metadata": {"branch": "main", "commit_count": 4, "repo_created_at": "2025-05-02T08:42:23.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 2, "forks": 0, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "2f12c0889d01ecd3da65aa92907711ce30b6f615", "size_bytes": 2977, "file_timestamp": 1746194832, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "69680fbe31271218113a3e2351614fd9aea1eec6"}}, "parsed_source_meta": {"github_metadata": {"branch": "main", "commit_count": 4, "repo_created_at": "2025-05-02T08:42:23.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 2, "forks": 0, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "2f12c0889d01ecd3da65aa92907711ce30b6f615", "size_bytes": 2977, "file_timestamp": 1746194832, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "69680fbe31271218113a3e2351614fd9aea1eec6", "url": "https://github.com/solnyun/CROS-RT/blob/69680fbe31271218113a3e2351614fd9aea1eec6/prio_ros2/evaluation_fig11_fig12_fig13/script_8/machine_b_set211.bash"}, "gpt4o_tokens": 1062, "dataset_split": "shell", "probability_weighted_scores": {"content_quality": 0.419313059668983, "noise_severity": 0.08515827004240092, "missing_content_severity": 0.018820709742003235, "factual_density": 3.079977045797435, "pretraining_utility": 0.023088074261046462, "math_density": 0.044121100735116395, "code_density": 3.8706582248222676, "reasoning_density": 0.08494124005875946, "education_level": 2.739277247895274, "creative_writing_quality": -0.3195411625073798}, "score_applicability": {"education_level": 0.9987451371246233, "creative_writing_quality": 0.0004984229864160136}} {"source_group": "shell", "source": "openbmb/UltraData-Stack-v3-L2/shell", "domain": "github.com", "language": "shell", "url": "https://github.com/mcmhav/s/blob/be0a6b215ae23ddbd656873ab9ebd5117a034410/bin/funding", "id": "shell-0-60461debc63932cd3e6e48731a22859d", "text": "#!/usr/bin/env bash\n\nsource inject_secrets\n\n# Find in logged inn cookies\nTOKEN=\"$FUNDING_TOKEN\"\nACCOUNT_ID=\"$FUNDING_ACCOUNT_ID\"\nEXTERNAL_USER_ID=\"$FUNDING_EXTERNAL_USER_ID\"\n\nINVEST_URL=\"https://api.fundingpartner.no/api/v2/investment-bookings\"\n\nTMP_FILE=\"$CSYS_BASHRC_D/tmp_loans.json\"\nFORCE_UPDATE=\"\"\nPARALLEL=\"\"\n\n# Get loans:\n# https://api.fundingpartner.no/api/v2/loans\nINVEST_AMOUNT=\"1000\"\nTOTAL_AMOUNT=\"\"\nAPPLICATION_ID=\"\"\n\n_update_loans_json() {\n if [ -n \"$FORCE_UPDATE\" ] || [ \"$(find \"$TMP_FILE\" -cmin +720)\" != \"\" ]; then\n loggit \"Updating loans\"\n LOANS_URL=\"https://api.fundingpartner.no/api/v2/loans\"\n curl --silent \"$LOANS_URL\" >\"$TMP_FILE\"\n fi\n}\n\n_filter_non_investable() {\n JQ_QUERY='\n .message.payload |\n [\n .[] |\n select(\n .fillRate < 100\n and .loanCurrency == \"NOK\"\n and .opensForInvestment!=null\n and .closesForInvestment > (now | strftime(\"%Y-%m-%dT%H:%M:%S\"))\n )\n ]\n '\n jq -r \"$JQ_QUERY\" <\"$TMP_FILE\"\n}\n_get_invest_options() {\n JQ_QUERY='\n [\n .[] |\n select(\n (.riskClass==\"A\" or .riskClass==\"B\")\n and .opensForInvestment < (now | strftime(\"%Y-%m-%dT%H:%M:%S\"))\n )\n ]\n '\n _filter_non_investable | jq -r \"$JQ_QUERY\"\n}\n\n_invest_prompt() {\n if [ -n \"$PARALLEL\" ]; then\n return\n fi\n\n loggit \"Looks ok?\"\n read -r -p \"Looks ok? [Y/n] \" yn\n case $yn in\n [Nn]*)\n loggit \"Will not try to invest\"\n exit\n ;;\n *)\n loggit \"Will try to invest\"\n ;;\n esac\n}\n\n_send_invest_request() {\n APPLICATION_ID=\"$(echo \"$1\" | jq -r '.sfId')\"\n TOTAL_AMOUNT=\"$(echo \"$1\" | jq '.amount')\"\n INTEREST_RATE=\"$(echo \"$1\" | jq '.interestRate')\"\n\n loggit \"Will invest with:\"\n loggit \"- Application id: $APPLICATION_ID\"\n loggit \"- Total amount: $TOTAL_AMOUNT\"\n loggit \"- Amount to invest: $INVEST_AMOUNT\"\n loggit \"- Interest rate: $INTEREST_RATE\"\n INVEST_DATA=\"{\\\"isFPSec\\\":false,\\\"token\\\":\\\"$TOKEN\\\",\\\"data\\\":{\\\"amount\\\":\\\"$INVEST_AMOUNT\\\",\\\"totalAmount\\\":\\\"$TOTAL_AMOUNT\\\",\\\"applicationID\\\":\\\"$APPLICATION_ID\\\"}}\"\n loggit \"Request to send:\"\n echo \"$INVEST_DATA\" | jq\n\n _invest_prompt\n\n curl \"$INVEST_URL\" \\\n --request \"POST\" \\\n --cookie \"token=$TOKEN;accountid=$ACCOUNT_ID;externalUserId=$EXTERNAL_USER_ID\" \\\n --header \"Content-Type: application/json\" \\\n --header \"User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36\" \\\n --header 'sec-ch-ua: \"Not_A Brand\";v=\"99\", \"Brave\";v=\"109\", \"Chromium\";v=\"109\"' \\\n --header 'sec-ch-ua-mobile: ?0' \\\n --header 'sec-ch-ua-platform: \"macOS\"' \\\n --data \"$INVEST_DATA\"\n # --verbose\n}\n_send_invest_requests() {\n if [ -z \"$TOKEN\" ] || [ -z \"$ACCOUNT_ID\" ] || [ -z \"$EXTERNAL_USER_ID\" ]; then\n loggit errr \"all must be set TOKEN, ACCOUNT_ID, EXTERNAL_USER_ID\"\n exit 1\n fi\n LOANS=$(_get_invest_options)\n loggit \"Found loans: $(echo \"$LOANS\" | jq 'length')\"\n for loan in $(echo \"$LOANS\" | jq -r '.[] | .sfId'); do\n if [ -n \"$PARALLEL\" ]; then\n _send_invest_request \"$(echo \"$LOANS\" | jq \".[] | select(.sfId==\\\"$loan\\\")\")\" &\n else\n _send_invest_request \"$(echo \"$LOANS\" | jq \".[] | select(.sfId==\\\"$loan\\\")\")\"\n fi\n done\n}\n\n_login() {\n echo \"Logging in\"\n # TODO: login\n # login-token-and info comes in the response-header\n # paload needed\n # ACCOUNT_ID as repsone\n # {\"ApplicantUsername\":\"USER_NAME\",\"ApplicantPassword\":\"\"}\n LOGIN_URL=\"https://api.fundingpartner.no/api/v2/login\"\n USER_NAME=\"\"\n PASSWORD=\"\"\n LOGIN_DATA=\"{\\\"ApplicantUsername\\\":\\\"$USER_NAME\\\",\\\"ApplicantPassword\\\":\\\"$\\\"}\"\n echo \"$LOGIN_DATA\"\n curl \"$LOGIN_URL\" \\\n --verbose \\\n --request \"POST\" \\\n --header \"Content-Type: application/json\" \\\n --header \"User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36\" \\\n --header \"Host: api.fundingpartner.no\" \\\n --header \"Origin: https://fundingpartner.no\" \\\n --header \"Referer: https://fundingpartner.no/\" \\\n --header \"Accept: application/json, text/plain, */*\" \\\n --header \"Accept-Encoding: gzip, deflate, br\" \\\n --header \"Connection: keep-alive\" \\\n --header \"Sec-Fetch-Dest: empty\" \\\n --header \"Sec-Fetch-Mode: cors\" \\\n --header \"Sec-Fetch-Site: same-site\" \\\n --header \"Sec-GPC: 1\" \\\n --data \"$LOGIN_DATA\"\n}\n\nwhile [ \"$1\" != \"\" ]; do\n case $1 in\n -u | --update)\n FORCE_UPDATE=\"TRUE\"\n ;;\n -e | --explore)\n _update_loans_json\n _filter_non_investable\n exit\n ;;\n -f | --future)\n _update_loans_json\n _get_invest_options\n exit\n ;;\n -l | --login)\n _login\n exit\n ;;\n -p | --parallel)\n PARALLEL=\"TRUE\"\n ;;\n esac\n shift\ndone\n\n_update_loans_json\n_send_invest_requests\n", "text_preview": "#!/usr/bin/env bash source inject_secrets # Find in logged inn cookies TOKEN=\"$FUNDING_TOKEN\" ACCOUNT_ID=\"$FUNDING_ACCOUNT_ID\" EXTERNAL_USER_ID=\"$FUNDING_EXTERNAL_USER_ID\" INVEST_URL=\"https://api.fundingpartner.no/api/v2/investment-bookings", "input_sha256": "eb48022e72fa65e5420304e226490508bcaf0936088d95bb172eca715997d215", "text_sha256": "60461debc63932cd3e6e48731a22859d5c465f50bdc5945eebcf83d1697a3de4", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 20105, "input_policy": "text-and-optional-url-v1", "label_policy_version": 12, "requested_model": "decision-models/baseten-mammoth-27b-latest", "backend": "baseten", "endpoint": "https://inference.baseten.co/v1/systemone", "status": "ok", "training_eligible": true, "label": {"primary": {"main_format": "Technical Writing", "sub_format": null}, "secondary": null, "tertiary": null, "content_structure": []}, "candidate_label": null, "topic": {"primary": {"main_topic": "Programming & Software Engineering", "sub_topic": null}, "secondary": {"main_topic": "Business, Economics & Finance", "sub_topic": null}}, "scores": {"content_quality": 0, "noise_severity": 0, "missing_content_severity": 0, "factual_density": 4, "pretraining_utility": 0, "math_density": 0, "code_density": 4, "reasoning_density": 0, "education_level": 2, "creative_writing_quality": null}, "score_expectations": {"content_quality": 0.16318491514422911, "noise_severity": 0.0902425856361531, "missing_content_severity": 0.3962172658827797, "factual_density": 3.2146332504253468, "pretraining_utility": 0.20639670673655788, "math_density": 0.12094715516757229, "code_density": 3.8476992034144692, "reasoning_density": 0.5273325395126807, "education_level": 2.3481822037411266, "creative_writing_quality": -0.45659518182508035}, "api_choices": {"primary": "Technical Writing", "secondary": "NONE", "tertiary": "NONE", "education_level": "2", "creative_writing_quality": "not_applicable", "primary_topic": "Programming & Software Engineering", "secondary_topic": "Business, Economics & Finance"}, "review_reasons": [], "format_slot_diagnostics": {"comparable": true, "secondary_tertiary_identical": false, "secondary_tertiary_max_abs_gap": 0.03668723058799117, "secondary_choice": "NONE", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.9881935611407139, "secondary": 0.8829458054608381, "tertiary": 0.9212281330309159, "structured_records": 0.021756232707043504, "procedural_steps": 0.0554265232750468, "worked_solution": 0.003643978116903582, "contextual_dialogue": 2.928454854754604e-05, "content_quality": 0.37704359405495225, "noise_severity": 0.9247978453032057, "missing_content_severity": 0.6698189450976836, "factual_density": 0.34552770868778915, "pretraining_utility": 0.3939906834087096, "math_density": 0.8992107040270231, "code_density": 0.8730826695120575, "reasoning_density": 0.560556217072766, "education_level": 0.5723405575838044, "creative_writing_quality": 0.9992660576425556, "primary_topic": 0.8900019046927988, "secondary_topic": 0.7652795193868503}, "probability_margin": {"primary": 0.9837492367260157, "secondary": 0.8501955329769714, "tertiary": 0.8921987275608018, "education_level": 0.3528802503741886, "creative_writing_quality": 0.9991676179444635, "primary_topic": 0.7951545492504681, "secondary_topic": 0.6485153450714826}, "raw_probabilities": {"primary": {"Academic Writing": 5.049012514360158e-05, "Content Listing": 3.414948358242787e-05, "Creative Writing": 3.823331766353352e-05, "Customer Support Page": 1.8061837058233625e-05, "Q&A Forum": 2.3517132523842285e-05, "Discussion Thread": 1.993670179207284e-05, "Comment Section": 2.6973918746941085e-05, "Missing Content": 6.651749482663515e-05, "Knowledge Article": 8.627666425907782e-05, "Legal Notices": 5.9950902571554185e-05, "News Article": 1.4130916703388635e-05, "Organizational Announcement": 2.1254956824346432e-05, "Nonfiction Writing": 2.9866134945637775e-05, "Organizational About Page": 2.8599706797580422e-05, "Personal About Page": 2.9041374943292494e-05, "Personal Blog": 1.8605694436022045e-05, "Product Page": 1.982993532388769e-05, "Spam / Ads": 4.4184034214209234e-05, "Structured Data": 0.0013141388505410773, "Technical Writing": 0.9886854960931841, "Transcript / Interview": 3.690637065475827e-05, "Tutorial / How-To Guide": 0.00493625936716846, "User Reviews": 1.6451819354070756e-05, "Other / Unknown": 0.004381127166741188}, "secondary": {"Academic Writing": 0.0004379070716875106, "Content Listing": 0.0003435782421326693, "Creative Writing": 0.00040275175153779615, "Customer Support Page": 0.0002059738139132656, "Q&A Forum": 0.00019971083591774374, "Discussion Thread": 0.00017930437812323035, "Comment Section": 0.0003548691722067468, "Missing Content": 0.015436933044923952, "Knowledge Article": 0.0007318559516075583, "Legal Notices": 0.000602780971337795, "News Article": 0.0002560703947626934, "Organizational Announcement": 0.00022221487742431068, "Nonfiction Writing": 0.00027588784703583746, "Organizational About Page": 0.0002464721848573425, "Personal About Page": 0.00019970969316644366, "Personal Blog": 0.00023797868519452952, "Product Page": 0.0001743831955627107, "Spam / Ads": 0.00029925844513859493, "Structured Data": 0.03762753058966512, "Technical Writing": 0.035541312933665914, "Transcript / Interview": 0.0003373691565699535, "Tutorial / How-To Guide": 0.017729310536209585, "User Reviews": 0.00013377266072209113, "NONE": 0.8878230635666365}, "tertiary": {"Academic Writing": 0.0002318580736722407, "Content Listing": 0.00021031973564552617, "Creative Writing": 0.00022764517877023143, "Customer Support Page": 0.00012480274720445443, "Q&A Forum": 0.00010002937644832374, "Discussion Thread": 0.00010862948889454137, "Comment Section": 0.0002602560456823523, "Missing Content": 0.014625093739037625, "Knowledge Article": 0.0006057546237949947, "Legal Notices": 0.0005265749029154682, "News Article": 0.0001568931195107798, "Organizational Announcement": 0.00011828020555058006, "Nonfiction Writing": 0.00017791557657510505, "Organizational About Page": 0.00017115375680087303, "Personal About Page": 0.0001245719407911916, "Personal Blog": 0.00013571909021455576, "Product Page": 0.0001232689619430342, "Spam / Ads": 0.00021230006630202679, "Structured Data": 0.032311566593825926, "Technical Writing": 0.015420315786970947, "Transcript / Interview": 0.00020194863136356107, "Tutorial / How-To Guide": 0.009239796150004352, "User Reviews": 7.501205345350838e-05, "NONE": 0.9245102941546277}, "structured_records": {"false": 0.9782437672929565, "true": 0.021756232707043504}, "procedural_steps": {"false": 0.9445734767249532, "true": 0.0554265232750468}, "worked_solution": {"false": 0.9963560218830965, "true": 0.003643978116903582}, "contextual_dialogue": {"false": 0.9999707154514524, "true": 2.928454854754604e-05}, "content_quality": {"-2": 0.04850766481527285, "-1": 0.1951660563643684, "0": 0.3743689455704682, "1": 0.30854836536063796, "2": 0.07340896788925262}, "noise_severity": {"0": 0.9236304364824712, "1": 0.06596178643421516, "2": 0.007825599426723043, "3": 0.0016991102778695555, "4": 0.0008830673787207923}, "missing_content_severity": {"0": 0.6561855129952603, "1": 0.30295317261937216, "2": 0.03199141151358245, "3": 0.0061983412508979365, "4": 0.0026715616208872078}, "factual_density": {"0": 0.00798019589969228, "1": 0.023267722091165916, "2": 0.138223327193557, "3": 0.40719614531527215, "4": 0.4233326095003126}, "pretraining_utility": {"-2": 0.04476708046068523, "-1": 0.17087307566512483, "0": 0.3845201694587126, "1": 0.33287540550790157, "2": 0.0669642689075758}, "math_density": {"0": 0.9034152607965455, "1": 0.08073443496819328, "2": 0.010613924941947007, "3": 0.001960646857772045, "4": 0.003275732435542215}, "code_density": {"0": 0.0003828172624235477, "1": 0.0007306171155725703, "2": 0.01711075645203466, "3": 0.11435616328504973, "4": 0.8674196458849195}, "reasoning_density": {"0": 0.7288337463865849, "1": 0.08732432088415674, "2": 0.128641645208689, "3": 0.03807622187113155, "4": 0.017124065649437806}, "education_level": {"none": 0.0012612970744949278, "0": 0.0020768418260218038, "1": 0.02115195080514783, "2": 0.643617131319837, "3": 0.2907368809456484, "4": 0.041155898028849836}, "creative_writing_quality": {"not_applicable": 0.9993883813687964, "-2": 0.00010862538154316841, "-1": 0.0001844771750737293, "0": 0.00022076342433280892, "1": 7.303948246956574e-05, "2": 2.4713167784258674e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 0.00017655640576834, "Art & Design": 0.00025056945652373783, "Law & Crime": 0.00047653412943329056, "Education & Careers": 0.00017846876263431975, "Entertainment & Media": 0.00013900162018485595, "Fashion & Beauty": 0.00017101315368796011, "Business, Economics & Finance": 0.09907805141568464, "Food & Dining": 0.00016817849788767564, "Games & Gaming": 0.0002528043362982658, "Electronics & Hardware": 0.00026060443777730724, "Health, Healthcare & Wellness": 0.00016007748802050663, "History & Geography": 0.00014562619284861709, "Home, Pets & Hobbies": 0.00020490161689766046, "Industry & Production": 0.0002185534823543179, "Language, Literature & Philosophy": 0.0001509667297497464, "Politics & Government": 0.000173026939973964, "Religion & Spirituality": 0.0001543389053363025, "Science, Mathematics & Engineering": 0.0002737233489389117, "Relationships & Community": 0.00010878600620210091, "Software Usage & Applications": 0.0017368295099764544, "Programming & Software Engineering": 0.8942326006661527, "Sports & Fitness": 0.00017911097771644495, "Vehicles & Transportation": 9.124981634896624e-05, "Travel & Tourism": 0.00012633865586379606, "Other / Uncovered Subject": 0.0006766504700446131, "Unknown / Insufficient Content": 0.00021543697769447126}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.00065858737734106, "Art & Design": 0.0005605089341951898, "Law & Crime": 0.0016278926811558563, "Education & Careers": 0.0004126632162061524, "Entertainment & Media": 0.00038781726171894783, "Fashion & Beauty": 0.00045763987619960444, "Business, Economics & Finance": 0.7743072301796637, "Food & Dining": 0.0003656678655298721, "Games & Gaming": 0.0006308056427789008, "Electronics & Hardware": 0.0006498338250051958, "Health, Healthcare & Wellness": 0.00044765000739910657, "History & Geography": 0.00030436961546858275, "Home, Pets & Hobbies": 0.00045845805770193613, "Industry & Production": 0.0004666976134116153, "Language, Literature & Philosophy": 0.00025908896650118414, "Politics & Government": 0.0003761564816866542, "Religion & Spirituality": 0.0004954688942860317, "Science, Mathematics & Engineering": 0.00054741146165786, "Relationships & Community": 0.0002089841418802406, "Software Usage & Applications": 0.005109869494118217, "Programming & Software Engineering": 0.12579188510818118, "Sports & Fitness": 0.0003223850064441271, "Vehicles & Transportation": 0.00019973424172236844, "Travel & Tourism": 0.00029248672210349685, "Other / Uncovered Subject": 0.0007148744952664359, "NONE": 0.08394583283237633}}, "probabilities": {"primary": {"Academic Writing": 5.049012514360158e-05, "Content Listing": 3.414948358242787e-05, "Creative Writing": 3.823331766353352e-05, "Customer Support Page": 1.8061837058233625e-05, "Q&A Forum": 2.3517132523842285e-05, "Discussion Thread": 1.993670179207284e-05, "Comment Section": 2.6973918746941085e-05, "Missing Content": 6.651749482663515e-05, "Knowledge Article": 8.627666425907782e-05, "Legal Notices": 5.9950902571554185e-05, "News Article": 1.4130916703388635e-05, "Organizational Announcement": 2.1254956824346432e-05, "Nonfiction Writing": 2.9866134945637775e-05, "Organizational About Page": 2.8599706797580422e-05, "Personal About Page": 2.9041374943292494e-05, "Personal Blog": 1.8605694436022045e-05, "Product Page": 1.982993532388769e-05, "Spam / Ads": 4.4184034214209234e-05, "Structured Data": 0.0013141388505410773, "Technical Writing": 0.9886854960931841, "Transcript / Interview": 3.690637065475827e-05, "Tutorial / How-To Guide": 0.00493625936716846, "User Reviews": 1.6451819354070756e-05, "Other / Unknown": 0.004381127166741188}, "secondary": {"Academic Writing": 0.00043790707168751066, "Content Listing": 0.00034357824213266937, "Creative Writing": 0.0004027517515377962, "Customer Support Page": 0.00020597381391326562, "Q&A Forum": 0.00019971083591774377, "Discussion Thread": 0.00017930437812323038, "Comment Section": 0.00035486917220674686, "Missing Content": 0.015436933044923953, "Knowledge Article": 0.0007318559516075584, "Legal Notices": 0.0006027809713377952, "News Article": 0.00025607039476269346, "Organizational Announcement": 0.0002222148774243107, "Nonfiction Writing": 0.0002758878470358375, "Organizational About Page": 0.00024647218485734256, "Personal About Page": 0.00019970969316644369, "Personal Blog": 0.00023797868519452955, "Product Page": 0.00017438319556271073, "Spam / Ads": 0.000299258445138595, "Structured Data": 0.03762753058966513, "Technical Writing": 0.03554131293366592, "Transcript / Interview": 0.0003373691565699536, "Tutorial / How-To Guide": 0.01772931053620959, "User Reviews": 0.00013377266072209115, "NONE": 0.8878230635666366}, "tertiary": {"Academic Writing": 0.00023185807367224071, "Content Listing": 0.0002103197356455262, "Creative Writing": 0.00022764517877023145, "Customer Support Page": 0.00012480274720445445, "Q&A Forum": 0.00010002937644832375, "Discussion Thread": 0.00010862948889454138, "Comment Section": 0.0002602560456823524, "Missing Content": 0.014625093739037627, "Knowledge Article": 0.0006057546237949948, "Legal Notices": 0.0005265749029154683, "News Article": 0.00015689311951077982, "Organizational Announcement": 0.00011828020555058007, "Nonfiction Writing": 0.00017791557657510508, "Organizational About Page": 0.00017115375680087306, "Personal About Page": 0.00012457194079119164, "Personal Blog": 0.0001357190902145558, "Product Page": 0.00012326896194303423, "Spam / Ads": 0.0002123000663020268, "Structured Data": 0.03231156659382593, "Technical Writing": 0.015420315786970949, "Transcript / Interview": 0.0002019486313635611, "Tutorial / How-To Guide": 0.009239796150004354, "User Reviews": 7.501205345350839e-05, "NONE": 0.9245102941546278}, "structured_records": {"false": 0.9782437672929565, "true": 0.021756232707043504}, "procedural_steps": {"false": 0.9445734767249532, "true": 0.0554265232750468}, "worked_solution": {"false": 0.9963560218830965, "true": 0.003643978116903582}, "contextual_dialogue": {"false": 0.9999707154514524, "true": 2.928454854754604e-05}, "content_quality": {"-2": 0.04850766481527285, "-1": 0.1951660563643684, "0": 0.3743689455704682, "1": 0.30854836536063796, "2": 0.07340896788925262}, "noise_severity": {"0": 0.9236304364824715, "1": 0.06596178643421517, "2": 0.007825599426723045, "3": 0.001699110277869556, "4": 0.0008830673787207925}, "missing_content_severity": {"0": 0.6561855129952603, "1": 0.30295317261937216, "2": 0.03199141151358245, "3": 0.0061983412508979365, "4": 0.0026715616208872078}, "factual_density": {"0": 0.00798019589969228, "1": 0.023267722091165916, "2": 0.138223327193557, "3": 0.40719614531527215, "4": 0.4233326095003126}, "pretraining_utility": {"-2": 0.04476708046068523, "-1": 0.17087307566512483, "0": 0.3845201694587126, "1": 0.33287540550790157, "2": 0.0669642689075758}, "math_density": {"0": 0.9034152607965455, "1": 0.08073443496819328, "2": 0.010613924941947007, "3": 0.001960646857772045, "4": 0.003275732435542215}, "code_density": {"0": 0.0003828172624235477, "1": 0.0007306171155725703, "2": 0.01711075645203466, "3": 0.11435616328504973, "4": 0.8674196458849195}, "reasoning_density": {"0": 0.7288337463865849, "1": 0.08732432088415674, "2": 0.128641645208689, "3": 0.03807622187113155, "4": 0.017124065649437806}, "education_level": {"none": 0.001261297074494928, "0": 0.002076841826021804, "1": 0.021151950805147833, "2": 0.6436171313198371, "3": 0.2907368809456485, "4": 0.04115589802884984}, "creative_writing_quality": {"not_applicable": 0.9993883813687965, "-2": 0.00010862538154316842, "-1": 0.00018447717507372933, "0": 0.00022076342433280895, "1": 7.303948246956575e-05, "2": 2.4713167784258677e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 0.00017655640576834, "Art & Design": 0.00025056945652373783, "Law & Crime": 0.00047653412943329056, "Education & Careers": 0.00017846876263431975, "Entertainment & Media": 0.00013900162018485595, "Fashion & Beauty": 0.00017101315368796011, "Business, Economics & Finance": 0.09907805141568464, "Food & Dining": 0.00016817849788767564, "Games & Gaming": 0.0002528043362982658, "Electronics & Hardware": 0.00026060443777730724, "Health, Healthcare & Wellness": 0.00016007748802050663, "History & Geography": 0.00014562619284861709, "Home, Pets & Hobbies": 0.00020490161689766046, "Industry & Production": 0.0002185534823543179, "Language, Literature & Philosophy": 0.0001509667297497464, "Politics & Government": 0.000173026939973964, "Religion & Spirituality": 0.0001543389053363025, "Science, Mathematics & Engineering": 0.0002737233489389117, "Relationships & Community": 0.00010878600620210091, "Software Usage & Applications": 0.0017368295099764544, "Programming & Software Engineering": 0.8942326006661527, "Sports & Fitness": 0.00017911097771644495, "Vehicles & Transportation": 9.124981634896624e-05, "Travel & Tourism": 0.00012633865586379606, "Other / Uncovered Subject": 0.0006766504700446131, "Unknown / Insufficient Content": 0.00021543697769447126}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0006585873773410601, "Art & Design": 0.0005605089341951899, "Law & Crime": 0.0016278926811558565, "Education & Careers": 0.00041266321620615244, "Entertainment & Media": 0.0003878172617189479, "Fashion & Beauty": 0.0004576398761996045, "Business, Economics & Finance": 0.7743072301796639, "Food & Dining": 0.00036566786552987213, "Games & Gaming": 0.0006308056427789009, "Electronics & Hardware": 0.0006498338250051959, "Health, Healthcare & Wellness": 0.0004476500073991066, "History & Geography": 0.0003043696154685828, "Home, Pets & Hobbies": 0.0004584580577019362, "Industry & Production": 0.00046669761341161536, "Language, Literature & Philosophy": 0.0002590889665011842, "Politics & Government": 0.00037615648168665426, "Religion & Spirituality": 0.0004954688942860318, "Science, Mathematics & Engineering": 0.0005474114616578601, "Relationships & Community": 0.00020898414188024063, "Software Usage & Applications": 0.005109869494118218, "Programming & Software Engineering": 0.1257918851081812, "Sports & Fitness": 0.00032238500644412714, "Vehicles & Transportation": 0.00019973424172236846, "Travel & Tourism": 0.0002924867221034969, "Other / Uncovered Subject": 0.000714874495266436, "NONE": 0.08394583283237635}}, "probability_diagnostics": {"primary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "tertiary": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "structured_records": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "procedural_steps": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "worked_solution": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "contextual_dialogue": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "content_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "noise_severity": {"raw_sum": 0.9999999999999998, "mass_delta": -2.220446049250313e-16, "missing_mass": 2.220446049250313e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "missing_content_severity": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "factual_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "pretraining_utility": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "math_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "code_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "reasoning_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "education_level": {"raw_sum": 0.9999999999999998, "mass_delta": -2.220446049250313e-16, "missing_mass": 2.220446049250313e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "creative_writing_quality": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "primary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary_topic": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}}, "usage": {"input_tokens": 10115, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 10115, "cached_share": null, "cache_discount_reported": null, "reported_cost_usd": null}, "response_metadata": {"model": "decision-models/baseten-mammoth-27b-latest"}, "scored_at_utc": "2026-10-25T18:36:10.148985+00:00", "scoring_key_slot": "primary", "dataset_uid": "60003525-e4d7-4d85-9385-b28e016275ef", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "fad719cbfc2c7b47ab886043ed76913c128d70b44e607346f818ac6bbaa79744", "source_metadata": {"uuid": "60003525-e4d7-4d85-9385-b28e016275ef", "repo_name": "mcmhav/s", "relative_path": "bin/funding", "category": "TOOL", "algo_rel_score": 0.9965373277664185, "quality_score": 5.250228404998779, "source_meta": {"github_metadata": {"branch": "main", "commit_count": 925, "repo_created_at": "2016-09-05T07:43:57.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 1, "forks": 0, "issues": 0, "pull_requests": 1}, "file_meta": {"content_id": "821f4f9db4cbef0b86fbbf14e1c2350a59fb4a3f", "size_bytes": 4779, "file_timestamp": 1752759350, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "be0a6b215ae23ddbd656873ab9ebd5117a034410"}}, "parsed_source_meta": {"github_metadata": {"branch": "main", "commit_count": 925, "repo_created_at": "2016-09-05T07:43:57.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 1, "forks": 0, "issues": 0, "pull_requests": 1}, "file_meta": {"content_id": "821f4f9db4cbef0b86fbbf14e1c2350a59fb4a3f", "size_bytes": 4779, "file_timestamp": 1752759350, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "be0a6b215ae23ddbd656873ab9ebd5117a034410", "url": "https://github.com/mcmhav/s/blob/be0a6b215ae23ddbd656873ab9ebd5117a034410/bin/funding"}, "gpt4o_tokens": 1505, "dataset_split": "shell", "probability_weighted_scores": {"content_quality": 0.16318491514422911, "noise_severity": 0.0902425856361531, "missing_content_severity": 0.3962172658827797, "factual_density": 3.2146332504253468, "pretraining_utility": 0.20639670673655788, "math_density": 0.12094715516757229, "code_density": 3.8476992034144692, "reasoning_density": 0.5273325395126807, "education_level": 2.3481822037411266, "creative_writing_quality": -0.45659518182508035}, "score_applicability": {"education_level": 0.998738702925505, "creative_writing_quality": 0.0006116186312035311}} {"source_group": "shell", "source": "openbmb/UltraData-Stack-v3-L2/shell", "domain": "github.com", "language": "shell", "url": "https://github.com/tamasakian/schedios/blob/ae22761efbff3325ed27e1bed026c755130b6811/libs/forge.zsh", "id": "shell-0-40e28172f6a77c72a0ac4a1f43efc3e8", "text": "#!/usr/bin/env zsh\n\nfunction forge_hmmscan_input() {\n # This function prepares input for hmmscan by creating a task directory\n # and generating a combined FASTA file from multiple species.\n # Dependencies: bithon, fasp\n\n # === Usage ===\n if (( $# < 2 )); then\n echo \"Usage: forge_pfam_input ...\" >&2\n exit 1\n fi\n\n # === Arguments ===\n local sp_names=(\"${@}\")\n\n # === Make directories ===\n local taskdir=\"${TASKS}/hmmscan_$(date +\"%Y-%m-%d-%H-%M-%S\")\"\n mkdir -p \"${taskdir}/tmp\" \"${taskdir}/fasta\" \"${taskdir}/input\"\n\n for sp in \"${sp_names[@]}\"; do\n local sp_fs=\"${sp// /_}\"\n local gn=\"${sp_fs%%_*}\"\n local pep=\"${DATA}/${gn}/${sp_fs}.pep.all.fasta\"\n local cds=\"${DATA}/${gn}/${sp_fs}.cds.all.fasta\"\n\n mkdir -p \"${taskdir}/tmp/${sp_fs}\"\n cp \"${pep}\" \"${taskdir}/tmp/${sp_fs}/pep.fasta\"\n cp \"${cds}\" \"${taskdir}/tmp/${sp_fs}/cds.fasta\"\n\n # === Longest isoforms selection with bithon ===\n echo \"[INFO] Processing species: ${sp} (Pep: ${pep}, CDS: ${cds})\"\n bithon gls -i \"${taskdir}/tmp/${sp_fs}\" -o \"${taskdir}/tmp/${sp_fs}\"\n cp \"${taskdir}/tmp/${sp_fs}/longest.pep.fasta\" \"${taskdir}/fasta/${sp_fs}.fasta\"\n rm -r \"${taskdir}/tmp/${sp_fs}\"\n\n # === Prefix to sequence IDs conversion ===\n echo \"[INFO] Converting sequence IDs for species: ${sp}\"\n python3 -m fasp prefix_to_sequence_ids \\\n \"${taskdir}/fasta/${sp_fs}.fasta\" \\\n \"${taskdir}/fasta/${sp_fs}_prefixed.fasta\" \\\n \"${sp_fs}\"\n done\n\n # === Combine all FASTA files into one ===\n echo \"[FINISHED] HMMscan input prepared in: ${taskdir}\"\n cat \"${taskdir}/fasta/\"*_prefixed.fasta > \"${taskdir}/input/all_species.fasta\"\n}\n\nfunction forge_fastoma_input(){\n # This function prepares input for FastOMA by creating a task directory.\n # Dependencies: bithon, biotp, fasp, ete3\n\n # === Usage ===\n if (( $# < 2 )); then\n echo \"Usage: forge_fastoma_input ...\" >&2\n exit 1\n fi\n\n # === Arguments ===\n local sp_names=(\"${@}\")\n\n # === Make directories ===\n local taskdir=\"${TASKS}/fastoma_$(date +\"%Y-%m-%d-%H-%M-%S\")\"\n mkdir -p \"${taskdir}/tmp\" \"${taskdir}/fasta\" \"${taskdir}/input\" \"${taskdir}/input/proteome\"\n\n for sp in \"${sp_names[@]}\"; do\n local sp_fs=\"${sp// /_}\"\n local gn=\"${sp_fs%%_*}\"\n local pep=\"${DATA}/${gn}/${sp_fs}.pep.all.fasta\"\n local cds=\"${DATA}/${gn}/${sp_fs}.cds.all.fasta\"\n\n mkdir -p \"${taskdir}/tmp/${sp_fs}\"\n cp \"${pep}\" \"${taskdir}/tmp/${sp_fs}/pep.fasta\"\n cp \"${cds}\" \"${taskdir}/tmp/${sp_fs}/cds.fasta\"\n\n # === Longest isoforms selection with bithon ===\n echo \"[INFO] Processing species: ${sp} (Pep: ${pep}, CDS: ${cds})\"\n bithon gls -i \"${taskdir}/tmp/${sp_fs}\" -o \"${taskdir}/tmp/${sp_fs}\"\n cp \"${taskdir}/tmp/${sp_fs}/longest.pep.fasta\" \"${taskdir}/fasta/${sp_fs}.fasta\"\n rm -r \"${taskdir}/tmp/${sp_fs}\"\n\n # === Prefix to sequence IDs conversion ===\n echo \"[INFO] Converting sequence IDs for species: ${sp}\"\n python3 -m fasp prefix_to_sequence_ids \\\n \"${taskdir}/fasta/${sp_fs}.fasta\" \\\n \"${taskdir}/input/proteome/${sp_fs}.fasta\" \\\n \"${sp_fs}\"\n done\n\n # === Species tree generation ===\n echo \"[INFO] Generating species tree\"\n local ete_args=()\n for sp in \"${sp_names[@]}\"; do\n ete_args+=(\"'${sp}'\")\n done\n local ete_arg=$(IFS=\" \"; echo \"${ete_args[*]}\")\n newick_str=$(ete3 ncbiquery --search ${ete_arg} --tree)\n echo \"$newick_str\" | python3 -m biotp clean_leaf_names > \"${taskdir}/input/species_tree.nwk\"\n echo \"[FINISHED] FastOMA input prepared in: ${taskdir}\"\n}\n\n", "text_preview": "#!/usr/bin/env zsh function forge_hmmscan_input() { # This function prepares input for hmmscan by creating a task directory # and generating a combined FASTA file from multiple species. # Dependencies: bithon, fasp # === Usage === if (( $# ", "input_sha256": "7ffbb2f98206b46c131d24cbbf91415951fc1dc283946c974bc9e30c7a73c9a9", "text_sha256": "40e28172f6a77c72a0ac4a1f43efc3e828f22d89597283c12e62bd0b7f63f0f5", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 20106, "input_policy": "text-and-optional-url-v1", "label_policy_version": 12, "requested_model": "decision-models/baseten-mammoth-27b-latest", "backend": "baseten", "endpoint": "https://inference.baseten.co/v1/systemone", "status": "ok", "training_eligible": true, "label": {"primary": {"main_format": "Technical Writing", "sub_format": null}, "secondary": null, "tertiary": null, "content_structure": []}, "candidate_label": null, "topic": {"primary": {"main_topic": "Programming & Software Engineering", "sub_topic": null}, "secondary": null}, "scores": {"content_quality": 1, "noise_severity": 0, "missing_content_severity": 0, "factual_density": 3, "pretraining_utility": 1, "math_density": 0, "code_density": 4, "reasoning_density": 0, "education_level": 3, "creative_writing_quality": null}, "score_expectations": {"content_quality": 0.7144482310169312, "noise_severity": 0.008795494546075373, "missing_content_severity": 0.005550851349139557, "factual_density": 3.095955228660262, "pretraining_utility": 0.47532700889693386, "math_density": 0.01140251291107499, "code_density": 3.800093022743452, "reasoning_density": 0.21849402617146813, "education_level": 2.869962521714725, "creative_writing_quality": -0.1987910523455255}, "api_choices": {"primary": "Technical Writing", "secondary": "NONE", "tertiary": "NONE", "education_level": "3", "creative_writing_quality": "not_applicable", "primary_topic": "Programming & Software Engineering", "secondary_topic": "NONE"}, "review_reasons": [], "format_slot_diagnostics": {"comparable": true, "secondary_tertiary_identical": false, "secondary_tertiary_max_abs_gap": 0.02055137020277753, "secondary_choice": "NONE", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.9907540299712118, "secondary": 0.9509284715594976, "tertiary": 0.9723733795971787, "structured_records": 0.0008087649966594723, "procedural_steps": 0.28695888845230205, "worked_solution": 0.001793123531274547, "contextual_dialogue": 4.973641571190631e-06, "content_quality": 0.4906280318876386, "noise_severity": 0.9926704212116039, "missing_content_severity": 0.9953742905423837, "factual_density": 0.5202569398675154, "pretraining_utility": 0.44034397120591573, "math_density": 0.9904979059074375, "code_density": 0.8334108522862105, "reasoning_density": 0.8179216448571098, "education_level": 0.3721032729373552, "creative_writing_quality": 0.9996716881993246, "primary_topic": 0.9118308909240682, "secondary_topic": 0.43429777959973737}, "probability_margin": {"primary": 0.9857256588734558, "secondary": 0.927874384709863, "tertiary": 0.9604002765698153, "education_level": 0.16001778528061034, "creative_writing_quality": 0.9996005219876221, "primary_topic": 0.8393089020130352, "secondary_topic": 0.06650738592730593}, "raw_probabilities": {"primary": {"Academic Writing": 9.193595355870562e-05, "Content Listing": 3.543241902605656e-05, "Creative Writing": 2.5819335984136866e-05, "Customer Support Page": 1.9554917451940946e-05, "Q&A Forum": 1.9533780891690938e-05, "Discussion Thread": 1.2660859818616214e-05, "Comment Section": 2.442328188784518e-05, "Missing Content": 3.429750346651163e-05, "Knowledge Article": 0.0001955352877434951, "Legal Notices": 3.7839606080329914e-05, "News Article": 7.76611375944761e-06, "Organizational Announcement": 1.6730498733141314e-05, "Nonfiction Writing": 2.111975394001805e-05, "Organizational About Page": 2.1685735059071783e-05, "Personal About Page": 2.2222535426536222e-05, "Personal Blog": 1.1469926231263372e-05, "Product Page": 1.3072591410138553e-05, "Spam / Ads": 1.70097016434488e-05, "Structured Data": 0.0002494457789252904, "Technical Writing": 0.9911392787224113, "Transcript / Interview": 3.0418536526022814e-05, "Tutorial / How-To Guide": 0.005413619848955512, "User Reviews": 1.0597800583793829e-05, "Other / Unknown": 0.002528529510485755}, "secondary": {"Academic Writing": 0.000757375624597811, "Content Listing": 0.00014306978776162528, "Creative Writing": 0.0001250927164266708, "Customer Support Page": 0.00016043178279730942, "Q&A Forum": 7.997943519839489e-05, "Discussion Thread": 4.9773679649734596e-05, "Comment Section": 0.00013339017542206007, "Missing Content": 0.0002029190168356255, "Knowledge Article": 0.0009206494321713766, "Legal Notices": 0.0001263438028647032, "News Article": 7.35637816933032e-05, "Organizational Announcement": 7.724681835521603e-05, "Nonfiction Writing": 7.849808166855814e-05, "Organizational About Page": 9.387605822019877e-05, "Personal About Page": 8.491621436904541e-05, "Personal Blog": 6.916796471724281e-05, "Product Page": 5.5231852258901764e-05, "Spam / Ads": 9.067318220086968e-05, "Structured Data": 0.0009107070415965593, "Technical Writing": 0.017549199469298744, "Transcript / Interview": 0.00010724745573982222, "Tutorial / How-To Guide": 0.025098733867988828, "User Reviews": 3.879418031556823e-05, "NONE": 0.9529731185778518}, "tertiary": {"Academic Writing": 0.0003687657375462778, "Content Listing": 8.700178573739505e-05, "Creative Writing": 7.358288166611314e-05, "Customer Support Page": 9.05545946579565e-05, "Q&A Forum": 4.005296898148021e-05, "Discussion Thread": 2.8811073931123087e-05, "Comment Section": 9.263990530715485e-05, "Missing Content": 0.00016433356300756834, "Knowledge Article": 0.0009313487197654669, "Legal Notices": 0.00010484460078669211, "News Article": 4.075230768209226e-05, "Organizational Announcement": 4.1564041516888435e-05, "Nonfiction Writing": 4.8875190618593184e-05, "Organizational About Page": 6.570039492979913e-05, "Personal About Page": 4.401572435311938e-05, "Personal Blog": 3.4964184575212915e-05, "Product Page": 3.278614637746176e-05, "Spam / Ads": 5.085636240209876e-05, "Structured Data": 0.0004705082303978534, "Technical Writing": 0.01045613260360697, "Transcript / Interview": 6.111467701732973e-05, "Tutorial / How-To Guide": 0.013124212210814246, "User Reviews": 2.2093313691659257e-05, "NONE": 0.9735244887806296}, "structured_records": {"false": 0.9991912350033405, "true": 0.0008087649966594723}, "procedural_steps": {"false": 0.713041111547698, "true": 0.28695888845230205}, "worked_solution": {"false": 0.9982068764687254, "true": 0.001793123531274547}, "contextual_dialogue": {"false": 0.9999950263584289, "true": 4.973641571190631e-06}, "content_quality": {"-2": 0.012224693185467372, "-1": 0.06794709656372812, "0": 0.2758307926750928, "1": 0.48115012119982925, "2": 0.16284729637588244}, "noise_severity": {"0": 0.9926840911295748, "1": 0.00631206834608985, "2": 0.0006713793895687248, "3": 0.0001891771182182534, "4": 0.00014328401654832814}, "missing_content_severity": {"0": 0.9970977273075492, "1": 0.0008528022074375019, "2": 0.0015450546494320777, "3": 0.0004097234994878485, "4": 9.46923360935891e-05}, "factual_density": {"0": 0.006245007702047104, "1": 0.019941987854273913, "2": 0.18124922293467077, "3": 0.4567403310993864, "4": 0.3358234504096217}, "pretraining_utility": {"-2": 0.009401385521443179, "-1": 0.08448011953662539, "0": 0.40096571719040325, "1": 0.43169565602661064, "2": 0.07345712172491745}, "math_density": {"0": 0.9923880378610291, "1": 0.005888452480105054, "2": 0.0005114029668553986, "3": 0.0003571722707835639, "4": 0.0008549344212271124}, "code_density": {"0": 0.00037672288805546127, "1": 0.0007452379984189558, "2": 0.02036147615618978, "3": 0.15544141939668923, "4": 0.8230751435606467}, "reasoning_density": {"0": 0.8754485990576222, "1": 0.05354330253552725, "2": 0.05249196005034713, "3": 0.014097749890766903, "4": 0.004418388465736471}, "education_level": {"none": 0.0008933820717868717, "0": 0.0013894699278836058, "1": 0.004415810522675368, "2": 0.3167349421671857, "3": 0.476752727447796, "4": 0.19981366786267254}, "creative_writing_quality": {"not_applicable": 0.9997264068327705, "-2": 3.5128047917255524e-05, "-1": 5.59469772751689e-05, "0": 0.00012588484514838892, "1": 4.1451394296047235e-05, "2": 1.5181902592755955e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 0.00012838900836619252, "Art & Design": 0.00021944125924492594, "Law & Crime": 0.000170824439261855, "Education & Careers": 0.00011316381401049864, "Entertainment & Media": 0.0001234030500059521, "Fashion & Beauty": 0.00012179896927476909, "Business, Economics & Finance": 0.00016283378544783994, "Food & Dining": 0.00015746400036757542, "Games & Gaming": 0.00016664934052181246, "Electronics & Hardware": 0.00017479305704657243, "Health, Healthcare & Wellness": 0.0005673017081110776, "History & Geography": 0.00021139193098673671, "Home, Pets & Hobbies": 9.823458951935034e-05, "Industry & Production": 0.0001614787230496712, "Language, Literature & Philosophy": 0.00013204098206797698, "Politics & Government": 6.473875401884143e-05, "Religion & Spirituality": 0.00011723909345195382, "Science, Mathematics & Engineering": 0.07591310849087649, "Relationships & Community": 5.923230381892378e-05, "Software Usage & Applications": 0.002645835006998467, "Programming & Software Engineering": 0.9152220105039117, "Sports & Fitness": 0.00015422917795255355, "Vehicles & Transportation": 7.143447688596573e-05, "Travel & Tourism": 0.0001419985912297962, "Other / Uncovered Subject": 0.0026921939480781263, "Unknown / Insufficient Content": 0.00020877099549406446}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.000861367496603138, "Art & Design": 0.0006746999544469827, "Law & Crime": 0.0005899500918553121, "Education & Careers": 0.00038186224751638793, "Entertainment & Media": 0.00046510562243696736, "Fashion & Beauty": 0.0004546509050357549, "Business, Economics & Finance": 0.0005804604484180123, "Food & Dining": 0.00040102163380793294, "Games & Gaming": 0.0004502806564310869, "Electronics & Hardware": 0.0005655694424705714, "Health, Healthcare & Wellness": 0.0008330816614856469, "History & Geography": 0.00047520102857935077, "Home, Pets & Hobbies": 0.00035945050103338273, "Industry & Production": 0.00041467677344068763, "Language, Literature & Philosophy": 0.0002942944283442873, "Politics & Government": 0.00030499099038779905, "Religion & Spirituality": 0.0005662583663156185, "Science, Mathematics & Engineering": 0.3895481713801338, "Relationships & Community": 0.00020389325441369093, "Software Usage & Applications": 0.015228833355197587, "Programming & Software Engineering": 0.1274737752082474, "Sports & Fitness": 0.0004079646626568599, "Vehicles & Transportation": 0.00020574625251637422, "Travel & Tourism": 0.0005527518352741921, "Other / Uncovered Subject": 0.001650384495511351, "NONE": 0.45605555730743974}}, "probabilities": {"primary": {"Academic Writing": 9.193595355870562e-05, "Content Listing": 3.543241902605656e-05, "Creative Writing": 2.5819335984136866e-05, "Customer Support Page": 1.9554917451940946e-05, "Q&A Forum": 1.9533780891690938e-05, "Discussion Thread": 1.2660859818616214e-05, "Comment Section": 2.442328188784518e-05, "Missing Content": 3.429750346651163e-05, "Knowledge Article": 0.0001955352877434951, "Legal Notices": 3.7839606080329914e-05, "News Article": 7.76611375944761e-06, "Organizational Announcement": 1.6730498733141314e-05, "Nonfiction Writing": 2.111975394001805e-05, "Organizational About Page": 2.1685735059071783e-05, "Personal About Page": 2.2222535426536222e-05, "Personal Blog": 1.1469926231263372e-05, "Product Page": 1.3072591410138553e-05, "Spam / Ads": 1.70097016434488e-05, "Structured Data": 0.0002494457789252904, "Technical Writing": 0.9911392787224113, "Transcript / Interview": 3.0418536526022814e-05, "Tutorial / How-To Guide": 0.005413619848955512, "User Reviews": 1.0597800583793829e-05, "Other / Unknown": 0.002528529510485755}, "secondary": {"Academic Writing": 0.000757375624597811, "Content Listing": 0.00014306978776162528, "Creative Writing": 0.0001250927164266708, "Customer Support Page": 0.00016043178279730942, "Q&A Forum": 7.997943519839489e-05, "Discussion Thread": 4.9773679649734596e-05, "Comment Section": 0.00013339017542206007, "Missing Content": 0.0002029190168356255, "Knowledge Article": 0.0009206494321713766, "Legal Notices": 0.0001263438028647032, "News Article": 7.35637816933032e-05, "Organizational Announcement": 7.724681835521603e-05, "Nonfiction Writing": 7.849808166855814e-05, "Organizational About Page": 9.387605822019877e-05, "Personal About Page": 8.491621436904541e-05, "Personal Blog": 6.916796471724281e-05, "Product Page": 5.5231852258901764e-05, "Spam / Ads": 9.067318220086968e-05, "Structured Data": 0.0009107070415965593, "Technical Writing": 0.017549199469298744, "Transcript / Interview": 0.00010724745573982222, "Tutorial / How-To Guide": 0.025098733867988828, "User Reviews": 3.879418031556823e-05, "NONE": 0.9529731185778518}, "tertiary": {"Academic Writing": 0.0003687657375462777, "Content Listing": 8.700178573739503e-05, "Creative Writing": 7.358288166611312e-05, "Customer Support Page": 9.055459465795649e-05, "Q&A Forum": 4.00529689814802e-05, "Discussion Thread": 2.881107393112308e-05, "Comment Section": 9.263990530715482e-05, "Missing Content": 0.00016433356300756831, "Knowledge Article": 0.0009313487197654667, "Legal Notices": 0.00010484460078669208, "News Article": 4.075230768209225e-05, "Organizational Announcement": 4.156404151688843e-05, "Nonfiction Writing": 4.887519061859317e-05, "Organizational About Page": 6.570039492979912e-05, "Personal About Page": 4.4015724353119374e-05, "Personal Blog": 3.496418457521291e-05, "Product Page": 3.2786146377461754e-05, "Spam / Ads": 5.085636240209874e-05, "Structured Data": 0.0004705082303978533, "Technical Writing": 0.010456132603606968, "Transcript / Interview": 6.111467701732971e-05, "Tutorial / How-To Guide": 0.013124212210814242, "User Reviews": 2.2093313691659254e-05, "NONE": 0.9735244887806294}, "structured_records": {"false": 0.9991912350033405, "true": 0.0008087649966594723}, "procedural_steps": {"false": 0.713041111547698, "true": 0.28695888845230205}, "worked_solution": {"false": 0.9982068764687254, "true": 0.001793123531274547}, "contextual_dialogue": {"false": 0.9999950263584289, "true": 4.973641571190631e-06}, "content_quality": {"-2": 0.012224693185467372, "-1": 0.06794709656372812, "0": 0.2758307926750928, "1": 0.48115012119982925, "2": 0.16284729637588244}, "noise_severity": {"0": 0.9926840911295749, "1": 0.006312068346089851, "2": 0.0006713793895687249, "3": 0.00018917711821825342, "4": 0.00014328401654832817}, "missing_content_severity": {"0": 0.997097727307549, "1": 0.0008528022074375017, "2": 0.0015450546494320773, "3": 0.0004097234994878484, "4": 9.469233609358907e-05}, "factual_density": {"0": 0.006245007702047105, "1": 0.019941987854273917, "2": 0.1812492229346708, "3": 0.45674033109938644, "4": 0.33582345040962175}, "pretraining_utility": {"-2": 0.00940138552144318, "-1": 0.0844801195366254, "0": 0.4009657171904033, "1": 0.4316956560266107, "2": 0.07345712172491746}, "math_density": {"0": 0.9923880378610289, "1": 0.005888452480105053, "2": 0.0005114029668553985, "3": 0.00035717227078356387, "4": 0.0008549344212271122}, "code_density": {"0": 0.00037672288805546116, "1": 0.0007452379984189556, "2": 0.020361476156189776, "3": 0.1554414193966892, "4": 0.8230751435606465}, "reasoning_density": {"0": 0.8754485990576223, "1": 0.053543302535527255, "2": 0.05249196005034714, "3": 0.014097749890766904, "4": 0.004418388465736472}, "education_level": {"none": 0.0008933820717868717, "0": 0.0013894699278836058, "1": 0.004415810522675368, "2": 0.3167349421671857, "3": 0.476752727447796, "4": 0.19981366786267254}, "creative_writing_quality": {"not_applicable": 0.9997264068327705, "-2": 3.5128047917255524e-05, "-1": 5.59469772751689e-05, "0": 0.00012588484514838892, "1": 4.1451394296047235e-05, "2": 1.5181902592755955e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 0.00012838900836619258, "Art & Design": 0.00021944125924492602, "Law & Crime": 0.00017082443926185506, "Education & Careers": 0.00011316381401049868, "Entertainment & Media": 0.00012340305000595216, "Fashion & Beauty": 0.00012179896927476913, "Business, Economics & Finance": 0.00016283378544784, "Food & Dining": 0.00015746400036757547, "Games & Gaming": 0.0001666493405218125, "Electronics & Hardware": 0.00017479305704657248, "Health, Healthcare & Wellness": 0.0005673017081110778, "History & Geography": 0.0002113919309867368, "Home, Pets & Hobbies": 9.823458951935036e-05, "Industry & Production": 0.00016147872304967124, "Language, Literature & Philosophy": 0.00013204098206797703, "Politics & Government": 6.473875401884145e-05, "Religion & Spirituality": 0.00011723909345195386, "Science, Mathematics & Engineering": 0.07591310849087651, "Relationships & Community": 5.92323038189238e-05, "Software Usage & Applications": 0.002645835006998468, "Programming & Software Engineering": 0.915222010503912, "Sports & Fitness": 0.0001542291779525536, "Vehicles & Transportation": 7.143447688596576e-05, "Travel & Tourism": 0.00014199859122979625, "Other / Uncovered Subject": 0.002692193948078127, "Unknown / Insufficient Content": 0.00020877099549406454}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0008613674966031381, "Art & Design": 0.0006746999544469828, "Law & Crime": 0.0005899500918553122, "Education & Careers": 0.000381862247516388, "Entertainment & Media": 0.0004651056224369674, "Fashion & Beauty": 0.00045465090503575496, "Business, Economics & Finance": 0.0005804604484180124, "Food & Dining": 0.000401021633807933, "Games & Gaming": 0.00045028065643108696, "Electronics & Hardware": 0.0005655694424705715, "Health, Healthcare & Wellness": 0.000833081661485647, "History & Geography": 0.0004752010285793508, "Home, Pets & Hobbies": 0.0003594505010333828, "Industry & Production": 0.0004146767734406877, "Language, Literature & Philosophy": 0.00029429442834428735, "Politics & Government": 0.0003049909903877991, "Religion & Spirituality": 0.0005662583663156186, "Science, Mathematics & Engineering": 0.38954817138013387, "Relationships & Community": 0.00020389325441369095, "Software Usage & Applications": 0.015228833355197589, "Programming & Software Engineering": 0.12747377520824743, "Sports & Fitness": 0.00040796466265685997, "Vehicles & Transportation": 0.00020574625251637424, "Travel & Tourism": 0.0005527518352741922, "Other / Uncovered Subject": 0.0016503844955113513, "NONE": 0.4560555573074398}}, "probability_diagnostics": {"primary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "tertiary": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "structured_records": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "procedural_steps": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "worked_solution": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "contextual_dialogue": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "content_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "noise_severity": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "missing_content_severity": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "factual_density": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "pretraining_utility": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "math_density": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "code_density": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "reasoning_density": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "education_level": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "creative_writing_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "primary_topic": {"raw_sum": 0.9999999999999997, "mass_delta": -3.3306690738754696e-16, "missing_mass": 3.3306690738754696e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary_topic": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}}, "usage": {"input_tokens": 9668, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 9668, "cached_share": null, "cache_discount_reported": null, "reported_cost_usd": null}, "response_metadata": {"model": "decision-models/baseten-mammoth-27b-latest"}, "scored_at_utc": "2026-10-25T18:36:11.081330+00:00", "scoring_key_slot": "primary", "dataset_uid": "f452cd15-a2bb-401e-bc72-8cfff9494251", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "515ebf7f5c2a21891b82da5fbbc636926d8a6d4dac7941359e83bcfb50a478cc", "source_metadata": {"uuid": "f452cd15-a2bb-401e-bc72-8cfff9494251", "repo_name": "tamasakian/schedios", "relative_path": "libs/forge.zsh", "category": "TOOL", "algo_rel_score": 0.9357773661613464, "quality_score": 4.03994083404541, "source_meta": {"github_metadata": {"branch": "main", "commit_count": 25, "repo_created_at": "2025-07-08T01:59:12.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 0, "forks": 0, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "0ce3678b936969317fd1631f7eee234c4e040c24", "size_bytes": 3799, "file_timestamp": 1752236198, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "ae22761efbff3325ed27e1bed026c755130b6811"}}, "parsed_source_meta": {"github_metadata": {"branch": "main", "commit_count": 25, "repo_created_at": "2025-07-08T01:59:12.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 0, "forks": 0, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "0ce3678b936969317fd1631f7eee234c4e040c24", "size_bytes": 3799, "file_timestamp": 1752236198, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "ae22761efbff3325ed27e1bed026c755130b6811", "url": "https://github.com/tamasakian/schedios/blob/ae22761efbff3325ed27e1bed026c755130b6811/libs/forge.zsh"}, "gpt4o_tokens": 1125, "dataset_split": "shell", "probability_weighted_scores": {"content_quality": 0.7144482310169312, "noise_severity": 0.008795494546075373, "missing_content_severity": 0.005550851349139557, "factual_density": 3.095955228660262, "pretraining_utility": 0.47532700889693386, "math_density": 0.01140251291107499, "code_density": 3.8000930227434524, "reasoning_density": 0.21849402617146813, "education_level": 2.869962521714725, "creative_writing_quality": -0.1987910523455255}, "score_applicability": {"education_level": 0.9991066179282132, "creative_writing_quality": 0.00027359316722961653}} {"source_group": "shell", "source": "openbmb/UltraData-Stack-v3-L2/shell", "domain": "github.com", "language": "shell", "url": "https://github.com/vxsh4d0w/DFIR/blob/c14f26b2fa15917af3d0fd91b83bc67bd7bd537d/DFIR-Unattended-Windows/Configuration/customize.ps1", "id": "shell-0-82b8a6a15eba5eded714504c6649adeb", "text": "Write-Host \"Windows10-Autounattend\"\n\n$runOnceRegistryPath = \"HKLM:\\Software\\Microsoft\\Windows\\CurrentVersion\\RunOnce\"\n\n# Change Power Plan\npowercfg -change -monitor-timeout-ac 0 | Out-Null\npowercfg -change -monitor-timeout-dc 0 | Out-Null\npowercfg -change -disk-timeout-ac 0 | Out-Null\npowercfg -change -disk-timeout-dc 0 | Out-Null\npowercfg -change -standby-timeout-ac 0 | Out-Null\npowercfg -change -standby-timeout-dc 0 | Out-Null\npowercfg -change -hibernate-timeout-ac 0 | Out-Null\npowercfg -change -hibernate-timeout-dc 0 | Out-Null\n\n\n# Remove Windows Features\ndism /Online /Disable-Feature /FeatureName:\"DirectPlay\" /NoRestart\ndism /Online /Disable-Feature /FeatureName:\"FaxServicesClientPackage\" /NoRestart\ndism /Online /Enable-Feature /FeatureName:\"Internet-Explorer-Optional-x64\" /NoRestart\ndism /Online /Disable-Feature /FeatureName:\"LegacyComponents\" /NoRestart\ndism /Online /Enable-Feature /FeatureName:\"MediaPlayback\" /NoRestart\ndism /Online /Disable-Feature /FeatureName:\"Microsoft-Hyper-V-All\" /NoRestart\ndism /Online /Disable-Feature /FeatureName:\"Microsoft-Hyper-V-Management-Clients\" /NoRestart\ndism /Online /Disable-Feature /FeatureName:\"Microsoft-Hyper-V-Management-PowerShell\" /NoRestart\ndism /Online /Disable-Feature /FeatureName:\"Microsoft-Hyper-V-Tools-All\" /NoRestart\ndism /Online /Enable-Feature /FeatureName:\"Printing-Foundation-Features\" /NoRestart\ndism /Online /Disable-Feature /FeatureName:\"Printing-Foundation-InternetPrinting-Client\" /NoRestart\ndism /Online /Disable-Feature /FeatureName:\"Printing-Foundation-LPDPrintService\" /NoRestart\ndism /Online /Disable-Feature /FeatureName:\"Printing-Foundation-LPRPortMonitor\" /NoRestart\ndism /Online /Enable-Feature /FeatureName:\"Printing-PrintToPDFServices-Features\" /NoRestart\ndism /Online /Disable-Feature /FeatureName:\"Printing-XPSServices-Features\" /NoRestart\ndism /Online /Disable-Feature /FeatureName:\"ScanManagementConsole\" /NoRestart\ndism /Online /Enable-Feature /FeatureName:\"SearchEngine-Client-Package\" /NoRestart\ndism /Online /Disable-Feature /FeatureName:\"TelnetClient\" /NoRestart\ndism /Online /Disable-Feature /FeatureName:\"TFTP\" /NoRestart\ndism /Online /Disable-Feature /FeatureName:\"TIFFIFilter\" /NoRestart\ndism /Online /Disable-Feature /FeatureName:\"WindowsMediaPlayer\" /NoRestart\ndism /Online /Disable-Feature /FeatureName:\"WorkFolders-Client\" /NoRestart\ndism /Online /Disable-Feature /FeatureName:\"Xps-Foundation-Xps-Viewer\" /NoRestart\n\n# Install Chocolatey\nif (-Not (Test-Path \"$($env:ProgramData)\\chocolatey\\choco.exe\")) {\n Set-ExecutionPolicy Bypass -Scope Process -Force\n [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072\n Invoke-Expression ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))\n}\n\n# Install FlareVM Package Repo\nchoco sources add -n=\"FlareVm\" -s \"https://www.myget.org/F/vm-packages/api/v2\" --priority 1\nchoco feature enable -n allowGlobalConfirmation\nchoco feature enable -n allowEmptyChecksums\n\n# Required Chocolatey packages\n$requiredPackages = @([pscustomobject]@{Name=\"notepadplusplus\";Trust=$False},\n [pscustomobject]@{Name=\"librewolf\";Trust=$False},\n [pscustomobject]@{Name=\"googlechrome\";Trust=$True},\n\t\t [pscustomobject]@{Name=\"ublockorigin-chrome\";Trust=$True},\n\t\t [pscustomobject]@{Name=\"winscp\";Trust=$True},\n\t\t [pscustomobject]@{Name=\"peazip\";Trust=$True},\n\t\t [pscustomobject]@{Name=\"docker-desktop\";Trust=$True},\n\t\t [pscustomobject]@{Name=\"putty\";Trust=$True},\n\t\t [pscustomobject]@{Name=\"winscp\";Trust=$True},\n\t\t [pscustomobject]@{Name=\"superputty\";Trust=$True},\n\t\t [pscustomobject]@{Name=\"vlc\";Trust=$True},\n\t\t [pscustomobject]@{Name=\"bleachbit\";Trust=$True},\n [pscustomobject]@{Name=\"capa.vm\";Trust=$True}\n [pscustomobject]@{Name=\"yara.vm\";Trust=$True},\n [pscustomobject]@{Name=\"hxd.vm\";Trust=$True},\n [pscustomobject]@{Name=\"cmder.vm\";Trust=$True})\n\t\t\t\t\t \n\n# Load installed packages\n$installedPackages = New-Object Collections.Generic.List[String]\n$installedPackagesPath = Join-Path -Path $PSScriptRoot -ChildPath \"installedPackages.txt\"\nif (Test-Path $installedPackagesPath -PathType Leaf) {\n $installedPackages.AddRange([string[]](Get-Content $installedPackagesPath))\n}\n\n# Calculate missing packages\n$missingPackages = $requiredPackages | Where-Object { $installedPackages -NotContains $_.Name }\n\nforeach ($package in $missingPackages) {\n if ((Test-PendingReboot).IsRebootPending) {\n Set-ItemProperty $runOnceRegistryPath -Name \"UnattendInstall!\" -Value \"cmd /c powershell -ExecutionPolicy ByPass -File $PSCommandPath\"\n Restart-Computer -Force\n return\n }\n\n if ($package.Trust) {\n Write-Host \"Install Package without checksum check\"\n choco install $package.Name -y --ignore-checksums\n } else {\n Write-Host \"Install Package with checksum check\"\n choco install $package.Name -y\n }\n\n # Add package to installed package list\n $installedPackages.Add($package.Name)\n\n # Save update to file\n $installedPackages | Out-File $installedPackagesPath\n}\n\n\n# Install Nuget PackageProvider\n#if (-Not (Get-PackageProvider -Name NuGet)) {\n Write-Host \"Install Nuget PackageProvider\"\n Install-PackageProvider -Name NuGet -Confirm:$false -Force | Out-Null\n#}\n\n# Install PendingReboot Module\nif (-Not (Get-Module -ListAvailable -Name PendingReboot)) {\n Write-Host \"Install PendingReboot Module\"\n Install-Module PendingReboot -Confirm:$false -Force | Out-Null\n}\n\n# Import PendingReboot Module\nImport-Module PendingReboot\n\n# Install WindowsUpdate Module\nif (-Not (Get-Module -ListAvailable -Name PSWindowsUpdate)) {\n Write-Host \"Install WindowsUpdate Module\"\n Install-Module PSWindowsUpdate -Confirm:$false -Force | Out-Null\n}\n\n# Check is busy\nwhile ((Get-WUInstallerStatus).IsBusy) {\n Write-Host \"Windows Update installer is busy, wait...\"\n Start-Sleep -s 10\n}\n\n# Install available Windows Updates (less 1GB)\nWrite-Host \"Start installation system updates...\"\nWrite-Host \"This job will be automatically canceled if it takes longer than 15 minutes to complete\"\nSet-ItemProperty $runOnceRegistryPath -Name \"UnattendInstall!\" -Value \"cmd /c powershell -ExecutionPolicy ByPass -File $PSCommandPath\" | Out-Null\n\n$updateJobTimeoutSeconds = 900\n\n$code = {\n if ((Get-WindowsUpdate -MaxSize 1073741824 -Verbose).Count -gt 0) {\n try {\n $status = Get-WindowsUpdate -MaxSize 1073741824 -Install -AcceptAll -Confirm:$false\n if (($status | Where Result -eq \"Installed\").Length -gt 0)\n {\n Restart-Computer -Force\n return\n }\n \n if ((Test-PendingReboot).IsRebootPending) {\n Restart-Computer -Force\n return\n }\n } catch {\n Write-Host \"Error:`r`n $_.Exception.Message\"\n Restart-Computer -Force\n }\n }\n}\n\n$updateJob = Start-Job -ScriptBlock $code\nif (Wait-Job $updateJob -Timeout $updateJobTimeoutSeconds) { \n Receive-Job $updateJob\n} else {\n Write-Host \"Timeout exceeded\"\n Receive-Job $updateJob\n Start-Sleep -s 10\n}\nRemove-Job -force $updateJob\n\nRemove-ItemProperty $runOnceRegistryPath -Name \"UnattendInstall!\"\n\nWrite-Host \"Installation done\"\nStart-Sleep -s 60\n", "text_preview": "Write-Host \"Windows10-Autounattend\" $runOnceRegistryPath = \"HKLM:\\Software\\Microsoft\\Windows\\CurrentVersion\\RunOnce\" # Change Power Plan powercfg -change -monitor-timeout-ac 0 | Out-Null powercfg -change -monitor-timeout-dc 0 | Out-Null pow", "input_sha256": "dec6577f3fbb88d31055027e400d0813b635008e8bee597efe7e3fac63efae31", "text_sha256": "82b8a6a15eba5eded714504c6649adeb94c9790dceadf4c19187657d98ff48ae", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 20109, "input_policy": "text-and-optional-url-v1", "label_policy_version": 12, "requested_model": "decision-models/baseten-mammoth-27b-latest", "backend": "baseten", "endpoint": "https://inference.baseten.co/v1/systemone", "status": "ok", "training_eligible": true, "label": {"primary": {"main_format": "Technical Writing", "sub_format": null}, "secondary": null, "tertiary": null, "content_structure": []}, "candidate_label": null, "topic": {"primary": {"main_topic": "Programming & Software Engineering", "sub_topic": null}, "secondary": null}, "scores": {"content_quality": 0, "noise_severity": 0, "missing_content_severity": 0, "factual_density": 4, "pretraining_utility": 1, "math_density": 0, "code_density": 4, "reasoning_density": 0, "education_level": 2, "creative_writing_quality": null}, "score_expectations": {"content_quality": 0.09035251646538606, "noise_severity": 0.049769092647806025, "missing_content_severity": 0.07355211887733688, "factual_density": 3.202492182654769, "pretraining_utility": 0.3288944278769697, "math_density": 0.07618071924953776, "code_density": 3.8577408690745316, "reasoning_density": 0.5065978548386506, "education_level": 2.590163098441827, "creative_writing_quality": -0.4037818096246594}, "api_choices": {"primary": "Technical Writing", "secondary": "NONE", "tertiary": "NONE", "education_level": "2", "creative_writing_quality": "not_applicable", "primary_topic": "Programming & Software Engineering", "secondary_topic": "NONE"}, "review_reasons": [], "format_slot_diagnostics": {"comparable": true, "secondary_tertiary_identical": false, "secondary_tertiary_max_abs_gap": 0.015236236718461749, "secondary_choice": "NONE", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.974435872211689, "secondary": 0.8581353281341214, "tertiary": 0.8740340099272988, "structured_records": 0.5031263420842512, "procedural_steps": 0.29171214935666884, "worked_solution": 0.0024423107984708225, "contextual_dialogue": 8.790623377118766e-06, "content_quality": 0.3851237122278811, "noise_severity": 0.9585257561268283, "missing_content_severity": 0.9387065676022193, "factual_density": 0.33541015221230763, "pretraining_utility": 0.3379947696050378, "math_density": 0.9365160672920518, "code_density": 0.8814507242287763, "reasoning_density": 0.577835120967791, "education_level": 0.37020637129101647, "creative_writing_quality": 0.9993085505136717, "primary_topic": 0.792844411914431, "secondary_topic": 0.4893987221569419}, "probability_margin": {"primary": 0.9577408058936844, "secondary": 0.8186306035644918, "tertiary": 0.8360893799698134, "education_level": 0.056690314588649204, "creative_writing_quality": 0.9992204196322971, "primary_topic": 0.6104815785113515, "secondary_topic": 0.17597616060888244}, "raw_probabilities": {"primary": {"Academic Writing": 0.00010584691534079605, "Content Listing": 0.00015405747298942953, "Creative Writing": 7.170725605325975e-05, "Customer Support Page": 6.16044782383448e-05, "Q&A Forum": 4.9288211061707635e-05, "Discussion Thread": 3.5057448943039875e-05, "Comment Section": 6.545906396031404e-05, "Missing Content": 6.769216646091493e-05, "Knowledge Article": 0.0001737690496081696, "Legal Notices": 7.487050420320475e-05, "News Article": 2.542514459974537e-05, "Organizational Announcement": 4.5880935382434826e-05, "Nonfiction Writing": 4.946253074212844e-05, "Organizational About Page": 5.488708008851567e-05, "Personal About Page": 5.163811152694082e-05, "Personal Blog": 3.75366909142209e-05, "Product Page": 3.8376729592592504e-05, "Spam / Ads": 9.847884146118784e-05, "Structured Data": 0.0019412395476820984, "Technical Writing": 0.9755010442028687, "Transcript / Interview": 7.621737299636347e-05, "Tutorial / How-To Guide": 0.017760238309184287, "User Reviews": 3.523496006610562e-05, "Other / Unknown": 0.0034249869760355103}, "secondary": {"Academic Writing": 0.0004989466730806017, "Content Listing": 0.001483636458607974, "Creative Writing": 0.00041734062124425513, "Customer Support Page": 0.00034858842569802787, "Q&A Forum": 0.00021461066292675343, "Discussion Thread": 0.00015073430932151266, "Comment Section": 0.0003281494132791325, "Missing Content": 0.0004825823673810723, "Knowledge Article": 0.0008207738357666284, "Legal Notices": 0.00030430559428670496, "News Article": 0.00027037598898061957, "Organizational Announcement": 0.00022564372429359784, "Nonfiction Writing": 0.00025240285553836806, "Organizational About Page": 0.00026667572976539364, "Personal About Page": 0.00024130050299571212, "Personal Blog": 0.00026942413675626244, "Product Page": 0.00021575051142283804, "Spam / Ads": 0.00032711799737023586, "Structured Data": 0.03888529263303149, "Technical Writing": 0.044057178663642955, "Transcript / Interview": 0.0003265357673222832, "Tutorial / How-To Guide": 0.04541575256404115, "User Reviews": 0.00015052443471355367, "NONE": 0.864046356128533}, "tertiary": {"Academic Writing": 0.0003554789796013759, "Content Listing": 0.002664285310571631, "Creative Writing": 0.00031340438585518616, "Customer Support Page": 0.00027440563673006947, "Q&A Forum": 0.00015479526828914188, "Discussion Thread": 0.00011605134417425487, "Comment Section": 0.0003071468646912561, "Missing Content": 0.00043387620652118056, "Knowledge Article": 0.0010141643655821276, "Legal Notices": 0.0003526361036857921, "News Article": 0.0002254847595764916, "Organizational Announcement": 0.00018207327682960646, "Nonfiction Writing": 0.0002253611460333485, "Organizational About Page": 0.0002495519854769736, "Personal About Page": 0.00018189096081261576, "Personal Blog": 0.00019538399362062608, "Product Page": 0.00019455675563746137, "Spam / Ads": 0.00030738451314142953, "Structured Data": 0.0376773110234684, "Technical Writing": 0.03175102607958572, "Transcript / Interview": 0.00023674958334620616, "Tutorial / How-To Guide": 0.04319321287718141, "User Reviews": 0.00011117573259298108, "NONE": 0.8792825928469947}, "structured_records": {"false": 0.4968736579157488, "true": 0.5031263420842512}, "procedural_steps": {"false": 0.7082878506433312, "true": 0.29171214935666884}, "worked_solution": {"false": 0.9975576892015292, "true": 0.0024423107984708225}, "contextual_dialogue": {"false": 0.9999912093766229, "true": 8.790623377118766e-06}, "content_quality": {"-2": 0.05332393871784789, "-1": 0.21710163699488255, "0": 0.3825829283310675, "1": 0.27988096101643967, "2": 0.06711053493976234}, "noise_severity": {"0": 0.9599104320496173, "1": 0.03321456328548906, "2": 0.004810292823614215, "3": 0.0013249036500289921, "4": 0.00073980819125039}, "missing_content_severity": {"0": 0.9451973627592637, "1": 0.03953728860509886, "2": 0.012431531039206615, "3": 0.0021835021918984033, "4": 0.0006503154045323972}, "factual_density": {"0": 0.008855649327394499, "1": 0.026114801088037324, "2": 0.16053940446590734, "3": 0.3626620078397261, "4": 0.4418281372789347}, "pretraining_utility": {"-2": 0.027718698532460177, "-1": 0.1362226031912552, "0": 0.3771546223186014, "1": 0.3972537237822209, "2": 0.06165035217546217}, "math_density": {"0": 0.9329742459989769, "1": 0.06189711805907868, "2": 0.00267385716125187, "3": 0.0008832282548148692, "4": 0.0015715505258776818}, "code_density": {"0": 0.0002872454440345259, "1": 0.0006124598654431018, "2": 0.016216682344064696, "3": 0.10683940486487158, "4": 0.876044207481586}, "reasoning_density": {"0": 0.727875806912316, "1": 0.10388855756335721, "2": 0.12143706531873646, "3": 0.027359114184541216, "4": 0.019439456021049243}, "education_level": {"none": 0.0011724508431766609, "0": 0.0018012236186974262, "1": 0.010717809660172587, "2": 0.47517197607584705, "3": 0.41848166148719784, "4": 0.09265487831490843}, "creative_writing_quality": {"not_applicable": 0.9994237920947264, "-2": 0.00011205430059014417, "-1": 0.0001496505065054579, "0": 0.00020337246242929004, "1": 8.116443452335485e-05, "2": 2.9966201225468184e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 0.00029251080648755654, "Art & Design": 0.00033745997168294984, "Law & Crime": 0.0020724080273765047, "Education & Careers": 0.00025879654167824517, "Entertainment & Media": 0.0002538811370979488, "Fashion & Beauty": 0.00020733519080933747, "Business, Economics & Finance": 0.00027560744483123584, "Food & Dining": 0.00018960105731490937, "Games & Gaming": 0.000363353680927592, "Electronics & Hardware": 0.0008492566231754621, "Health, Healthcare & Wellness": 0.00019659252392418379, "History & Geography": 0.00029530487984898114, "Home, Pets & Hobbies": 0.000265007385573939, "Industry & Production": 0.00024983008966219806, "Language, Literature & Philosophy": 0.0002349258672148204, "Politics & Government": 0.0001936971612944497, "Religion & Spirituality": 0.00019658633700859077, "Science, Mathematics & Engineering": 0.00033729652320963887, "Relationships & Community": 0.00016233368067104328, "Software Usage & Applications": 0.19033035602175524, "Programming & Software Engineering": 0.8008119345331067, "Sports & Fitness": 0.00030183538554585655, "Vehicles & Transportation": 0.00014010235757673682, "Travel & Tourism": 0.0002502384373461797, "Other / Uncovered Subject": 0.0006795802446921297, "Unknown / Insufficient Content": 0.0002541680901875326}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0010832602392379092, "Art & Design": 0.000754304287590557, "Law & Crime": 0.014822433728297623, "Education & Careers": 0.0005520424075956393, "Entertainment & Media": 0.0007327510841632806, "Fashion & Beauty": 0.0004053897568342027, "Business, Economics & Finance": 0.0007320410921690727, "Food & Dining": 0.00036652232001392165, "Games & Gaming": 0.0005568785505089796, "Electronics & Hardware": 0.0025869969727076053, "Health, Healthcare & Wellness": 0.0004708872824137631, "History & Geography": 0.00046066424495639496, "Home, Pets & Hobbies": 0.000434121604760084, "Industry & Production": 0.000409140297511138, "Language, Literature & Philosophy": 0.000313733004053642, "Politics & Government": 0.00039853197498419303, "Religion & Spirituality": 0.0004683021301728712, "Science, Mathematics & Engineering": 0.0007246515981050747, "Relationships & Community": 0.0002874051731284056, "Software Usage & Applications": 0.3330610722343309, "Programming & Software Engineering": 0.12841529933006607, "Sports & Fitness": 0.00045498287079354213, "Vehicles & Transportation": 0.0002272904628373038, "Travel & Tourism": 0.0005866566504744977, "Other / Uncovered Subject": 0.0016574078590801081, "NONE": 0.5090372328432133}}, "probabilities": {"primary": {"Academic Writing": 0.00010584691534079605, "Content Listing": 0.00015405747298942953, "Creative Writing": 7.170725605325975e-05, "Customer Support Page": 6.16044782383448e-05, "Q&A Forum": 4.9288211061707635e-05, "Discussion Thread": 3.5057448943039875e-05, "Comment Section": 6.545906396031404e-05, "Missing Content": 6.769216646091493e-05, "Knowledge Article": 0.0001737690496081696, "Legal Notices": 7.487050420320475e-05, "News Article": 2.542514459974537e-05, "Organizational Announcement": 4.5880935382434826e-05, "Nonfiction Writing": 4.946253074212844e-05, "Organizational About Page": 5.488708008851567e-05, "Personal About Page": 5.163811152694082e-05, "Personal Blog": 3.75366909142209e-05, "Product Page": 3.8376729592592504e-05, "Spam / Ads": 9.847884146118784e-05, "Structured Data": 0.0019412395476820984, "Technical Writing": 0.9755010442028687, "Transcript / Interview": 7.621737299636347e-05, "Tutorial / How-To Guide": 0.017760238309184287, "User Reviews": 3.523496006610562e-05, "Other / Unknown": 0.0034249869760355103}, "secondary": {"Academic Writing": 0.0004989466730806017, "Content Listing": 0.001483636458607974, "Creative Writing": 0.00041734062124425513, "Customer Support Page": 0.00034858842569802787, "Q&A Forum": 0.00021461066292675343, "Discussion Thread": 0.00015073430932151266, "Comment Section": 0.0003281494132791325, "Missing Content": 0.0004825823673810723, "Knowledge Article": 0.0008207738357666284, "Legal Notices": 0.00030430559428670496, "News Article": 0.00027037598898061957, "Organizational Announcement": 0.00022564372429359784, "Nonfiction Writing": 0.00025240285553836806, "Organizational About Page": 0.00026667572976539364, "Personal About Page": 0.00024130050299571212, "Personal Blog": 0.00026942413675626244, "Product Page": 0.00021575051142283804, "Spam / Ads": 0.00032711799737023586, "Structured Data": 0.03888529263303149, "Technical Writing": 0.044057178663642955, "Transcript / Interview": 0.0003265357673222832, "Tutorial / How-To Guide": 0.04541575256404115, "User Reviews": 0.00015052443471355367, "NONE": 0.864046356128533}, "tertiary": {"Academic Writing": 0.0003554789796013759, "Content Listing": 0.002664285310571631, "Creative Writing": 0.00031340438585518616, "Customer Support Page": 0.00027440563673006947, "Q&A Forum": 0.00015479526828914188, "Discussion Thread": 0.00011605134417425487, "Comment Section": 0.0003071468646912561, "Missing Content": 0.00043387620652118056, "Knowledge Article": 0.0010141643655821276, "Legal Notices": 0.0003526361036857921, "News Article": 0.0002254847595764916, "Organizational Announcement": 0.00018207327682960646, "Nonfiction Writing": 0.0002253611460333485, "Organizational About Page": 0.0002495519854769736, "Personal About Page": 0.00018189096081261576, "Personal Blog": 0.00019538399362062608, "Product Page": 0.00019455675563746137, "Spam / Ads": 0.00030738451314142953, "Structured Data": 0.0376773110234684, "Technical Writing": 0.03175102607958572, "Transcript / Interview": 0.00023674958334620616, "Tutorial / How-To Guide": 0.04319321287718141, "User Reviews": 0.00011117573259298108, "NONE": 0.8792825928469947}, "structured_records": {"false": 0.4968736579157488, "true": 0.5031263420842512}, "procedural_steps": {"false": 0.7082878506433312, "true": 0.29171214935666884}, "worked_solution": {"false": 0.9975576892015292, "true": 0.0024423107984708225}, "contextual_dialogue": {"false": 0.9999912093766229, "true": 8.790623377118766e-06}, "content_quality": {"-2": 0.053323938717847894, "-1": 0.21710163699488258, "0": 0.38258292833106755, "1": 0.2798809610164397, "2": 0.06711053493976235}, "noise_severity": {"0": 0.9599104320496173, "1": 0.03321456328548906, "2": 0.004810292823614215, "3": 0.0013249036500289921, "4": 0.00073980819125039}, "missing_content_severity": {"0": 0.9451973627592637, "1": 0.03953728860509886, "2": 0.012431531039206615, "3": 0.0021835021918984033, "4": 0.0006503154045323972}, "factual_density": {"0": 0.008855649327394499, "1": 0.026114801088037324, "2": 0.16053940446590734, "3": 0.3626620078397261, "4": 0.4418281372789347}, "pretraining_utility": {"-2": 0.02771869853246018, "-1": 0.13622260319125523, "0": 0.3771546223186015, "1": 0.39725372378222096, "2": 0.06165035217546218}, "math_density": {"0": 0.9329742459989769, "1": 0.06189711805907868, "2": 0.00267385716125187, "3": 0.0008832282548148692, "4": 0.0015715505258776818}, "code_density": {"0": 0.00028724544403452594, "1": 0.0006124598654431019, "2": 0.0162166823440647, "3": 0.10683940486487159, "4": 0.8760442074815861}, "reasoning_density": {"0": 0.7278758069123159, "1": 0.10388855756335719, "2": 0.12143706531873644, "3": 0.02735911418454121, "4": 0.01943945602104924}, "education_level": {"none": 0.0011724508431766609, "0": 0.0018012236186974262, "1": 0.010717809660172587, "2": 0.47517197607584705, "3": 0.41848166148719784, "4": 0.09265487831490843}, "creative_writing_quality": {"not_applicable": 0.9994237920947262, "-2": 0.00011205430059014415, "-1": 0.00014965050650545786, "0": 0.00020337246242929, "1": 8.116443452335484e-05, "2": 2.9966201225468177e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 0.00029251080648755654, "Art & Design": 0.00033745997168294984, "Law & Crime": 0.0020724080273765047, "Education & Careers": 0.00025879654167824517, "Entertainment & Media": 0.0002538811370979488, "Fashion & Beauty": 0.00020733519080933747, "Business, Economics & Finance": 0.00027560744483123584, "Food & Dining": 0.00018960105731490937, "Games & Gaming": 0.000363353680927592, "Electronics & Hardware": 0.0008492566231754621, "Health, Healthcare & Wellness": 0.00019659252392418379, "History & Geography": 0.00029530487984898114, "Home, Pets & Hobbies": 0.000265007385573939, "Industry & Production": 0.00024983008966219806, "Language, Literature & Philosophy": 0.0002349258672148204, "Politics & Government": 0.0001936971612944497, "Religion & Spirituality": 0.00019658633700859077, "Science, Mathematics & Engineering": 0.00033729652320963887, "Relationships & Community": 0.00016233368067104328, "Software Usage & Applications": 0.19033035602175524, "Programming & Software Engineering": 0.8008119345331067, "Sports & Fitness": 0.00030183538554585655, "Vehicles & Transportation": 0.00014010235757673682, "Travel & Tourism": 0.0002502384373461797, "Other / Uncovered Subject": 0.0006795802446921297, "Unknown / Insufficient Content": 0.0002541680901875326}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.001083260239237909, "Art & Design": 0.0007543042875905567, "Law & Crime": 0.01482243372829762, "Education & Careers": 0.0005520424075956392, "Entertainment & Media": 0.0007327510841632804, "Fashion & Beauty": 0.0004053897568342026, "Business, Economics & Finance": 0.0007320410921690726, "Food & Dining": 0.00036652232001392154, "Games & Gaming": 0.0005568785505089795, "Electronics & Hardware": 0.002586996972707605, "Health, Healthcare & Wellness": 0.00047088728241376297, "History & Geography": 0.00046066424495639486, "Home, Pets & Hobbies": 0.0004341216047600839, "Industry & Production": 0.0004091402975111379, "Language, Literature & Philosophy": 0.00031373300405364193, "Politics & Government": 0.0003985319749841929, "Religion & Spirituality": 0.0004683021301728711, "Science, Mathematics & Engineering": 0.0007246515981050746, "Relationships & Community": 0.00028740517312840556, "Software Usage & Applications": 0.33306107223433085, "Programming & Software Engineering": 0.12841529933006604, "Sports & Fitness": 0.000454982870793542, "Vehicles & Transportation": 0.00022729046283730375, "Travel & Tourism": 0.0005866566504744976, "Other / Uncovered Subject": 0.0016574078590801077, "NONE": 0.5090372328432132}}, "probability_diagnostics": {"primary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "tertiary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "structured_records": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "procedural_steps": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "worked_solution": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "contextual_dialogue": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "content_quality": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "noise_severity": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "missing_content_severity": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "factual_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "pretraining_utility": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "math_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "code_density": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "reasoning_density": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "education_level": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "creative_writing_quality": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "primary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary_topic": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}}, "usage": {"input_tokens": 10580, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 10580, "cached_share": null, "cache_discount_reported": null, "reported_cost_usd": null}, "response_metadata": {"model": "decision-models/baseten-mammoth-27b-latest"}, "scored_at_utc": "2026-10-25T18:36:12.555850+00:00", "scoring_key_slot": "primary", "dataset_uid": "4c7fe85c-b0b4-4f93-b6b5-3d3fffa7f6a4", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "87dd8075efa1498fe6128a71f9e0a3ba29452176dd7a65bce4056c222fc24756", "source_metadata": {"uuid": "4c7fe85c-b0b4-4f93-b6b5-3d3fffa7f6a4", "repo_name": "vxsh4d0w/DFIR", "relative_path": "DFIR-Unattended-Windows/Configuration/customize.ps1", "category": "TOOL", "algo_rel_score": 0.9186530709266663, "quality_score": 4.511102199554443, "source_meta": {"github_metadata": {"branch": "main", "commit_count": 38, "repo_created_at": "2022-06-15T16:00:10.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 0, "forks": 0, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "30813d505f53f6717f98f101718eef6fba0561b5", "size_bytes": 7431, "file_timestamp": 1678281156, "language": "powershell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "c14f26b2fa15917af3d0fd91b83bc67bd7bd537d"}}, "parsed_source_meta": {"github_metadata": {"branch": "main", "commit_count": 38, "repo_created_at": "2022-06-15T16:00:10.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 0, "forks": 0, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "30813d505f53f6717f98f101718eef6fba0561b5", "size_bytes": 7431, "file_timestamp": 1678281156, "language": "powershell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "c14f26b2fa15917af3d0fd91b83bc67bd7bd537d", "url": "https://github.com/vxsh4d0w/DFIR/blob/c14f26b2fa15917af3d0fd91b83bc67bd7bd537d/DFIR-Unattended-Windows/Configuration/customize.ps1"}, "gpt4o_tokens": 1985, "dataset_split": "shell", "probability_weighted_scores": {"content_quality": 0.09035251646538606, "noise_severity": 0.049769092647806025, "missing_content_severity": 0.07355211887733688, "factual_density": 3.202492182654769, "pretraining_utility": 0.3288944278769697, "math_density": 0.07618071924953776, "code_density": 3.8577408690745316, "reasoning_density": 0.5065978548386506, "education_level": 2.590163098441827, "creative_writing_quality": -0.4037818096246594}, "score_applicability": {"education_level": 0.9988275491568234, "creative_writing_quality": 0.000576207905273715}} {"source_group": "shell", "source": "openbmb/UltraData-Stack-v3-L2/shell", "domain": "github.com", "language": "shell", "url": "https://github.com/enmg/nitrokit/blob/fdc1271e3dbb709dd0905e4d246bbda8fc878428/.husky/pre-commit", "id": "shell-0-f2c4137f8f33f2e8265ccef6c39ae787", "text": "#!/bin/sh\n# .husky/pre-commit\n\necho '🚀 Checking if pre-commit validation is needed...'\n\nBRANCH=$(git rev-parse --abbrev-ref HEAD 2>/dev/null || git branch --show-current 2>/dev/null || echo \"unknown\")\n\nPROTECTED_BRANCHES=(\"main\")\nDEVELOPMENT_BRANCHES=( \"preview\" \"develop\")\n\nRED='\\033[0;31m'\nGREEN='\\033[0;32m'\nYELLOW='\\033[1;33m'\nBLUE='\\033[0;34m'\nNC='\\033[0m'\n\nVALIDATION_LEVEL=\"none\"\n\necho \"📍 Current branch: $BRANCH\"\n\nfor protected_branch in \"${PROTECTED_BRANCHES[@]}\"; do\n if [[ \"$BRANCH\" == \"$protected_branch\" ]]; then\n VALIDATION_LEVEL=\"full\"\n echo \"🔒 Detected protected branch: $BRANCH\"\n break\n fi\ndone\n\nif [[ \"$VALIDATION_LEVEL\" == \"none\" ]]; then\n for dev_branch in \"${DEVELOPMENT_BRANCHES[@]}\"; do\n if [[ \"$BRANCH\" == \"$dev_branch\" ]]; then\n VALIDATION_LEVEL=\"basic\"\n echo \"🛠️ Detected development branch: $BRANCH\"\n break\n fi\n done\nfi\n\nif [[ \"$VALIDATION_LEVEL\" == \"none\" ]]; then\n echo -e \"${YELLOW}🟡 Skipping pre-commit checks for feature branch: $BRANCH${NC}\"\n echo -e \"${BLUE}💡 Basic checks run on: ${DEVELOPMENT_BRANCHES[*]}${NC}\"\n echo -e \"${GREEN}🔒 Full checks run on: ${PROTECTED_BRANCHES[*]}${NC}\"\n exit 0\nfi\n\nif [[ \"$VALIDATION_LEVEL\" == \"full\" ]]; then\n echo -e \"${GREEN}🔒 Running FULL validation for protected branch: $BRANCH${NC}\"\nelif [[ \"$VALIDATION_LEVEL\" == \"basic\" ]]; then\n echo -e \"${BLUE}🛠️ Running BASIC validation for development branch: $BRANCH${NC}\"\nfi\n\nrun_command() {\n local command=\"$1\"\n local error_message=\"$2\"\n \n echo -e \"${BLUE}🔄 Running: $command${NC}\"\n \n if command -v yarn >/dev/null 2>&1; then\n if ! yarn --ignore-engines run \"$command\" 2>/dev/null; then\n echo -e \"${RED}❌ $error_message${NC}\"\n return 1\n fi\n elif command -v npm >/dev/null 2>&1; then\n if ! npm run \"$command\" 2>/dev/null; then\n echo -e \"${RED}❌ $error_message${NC}\"\n return 1\n fi\n else\n echo -e \"${RED}❌ Neither yarn nor npm found${NC}\"\n return 1\n fi\n \n echo -e \"${GREEN}✅ $command completed successfully${NC}\"\n return 0\n}\n\nscript_exists() {\n local script_name=\"$1\"\n \n if command -v yarn >/dev/null 2>&1; then\n yarn run --help 2>/dev/null | grep -q \"^ $script_name\" || \\\n grep -q \"\\\"$script_name\\\":\" package.json 2>/dev/null\n elif command -v npm >/dev/null 2>&1; then\n npm run 2>/dev/null | grep -q \" $script_name$\" || \\\n grep -q \"\\\"$script_name\\\":\" package.json 2>/dev/null\n else\n return 1\n fi\n}\n\necho -e \"\\n${YELLOW}🎨 Checking code formatting...${NC}\"\nif script_exists \"format:check\"; then\n if ! run_command \"format:check\" \"Prettier Check Failed. Run 'yarn format:write', add changes and try commit again.\"; then\n exit 1\n fi\nelse\n echo -e \"${YELLOW}⚠️ format:check script not found in package.json, skipping...${NC}\"\nfi\n\necho -e \"\\n${YELLOW}📝 Checking TypeScript...${NC}\"\nif script_exists \"type-check\"; then\n if ! run_command \"type-check\" \"TypeScript Check Failed. Make the changes required above.\"; then\n exit 1\n fi\nelif script_exists \"tsc\"; then\n if ! run_command \"tsc\" \"TypeScript Check Failed. Make the changes required above.\"; then\n exit 1\n fi\nelse\n echo -e \"${YELLOW}⚠️ TypeScript check script not found, skipping...${NC}\"\nfi\n\nif [[ \"$VALIDATION_LEVEL\" == \"full\" ]]; then\n echo -e \"\\n${YELLOW}🔍 Running ESLint (full validation)...${NC}\"\n if script_exists \"lint\"; then\n if ! run_command \"lint\" \"ESLint Check Failed. Make the required changes listed above, add changes and try to commit again.\"; then\n exit 1\n fi\n else\n echo -e \"${YELLOW}⚠️ lint script not found, skipping...${NC}\"\n fi\n\n echo -e \"\\n${YELLOW}🏗️ Building project (full validation)...${NC}\"\n if script_exists \"build\"; then\n if ! run_command \"build\" \"Next build failed: View the errors above to see why.\"; then\n exit 1\n fi\n else\n echo -e \"${YELLOW}⚠️ build script not found, skipping...${NC}\"\n fi\n\n echo -e \"\\n${YELLOW}🧪 Running tests (full validation)...${NC}\"\n if script_exists \"test\"; then\n if ! run_command \"test\" \"Tests failed. Fix the failing tests and try again.\"; then\n exit 1\n fi\n else\n echo -e \"${YELLOW}⚠️ test script not found, skipping...${NC}\"\n fi\nfi\n\necho -e \"\\n${GREEN}✅ All checks passed for branch: $BRANCH! Committing now.${NC}\"", "text_preview": "#!/bin/sh # .husky/pre-commit echo '🚀 Checking if pre-commit validation is needed...' BRANCH=$(git rev-parse --abbrev-ref HEAD 2>/dev/null || git branch --show-current 2>/dev/null || echo \"unknown\") PROTECTED_BRANCHES=(\"main\") DEVELOPMENT_B", "input_sha256": "79b1ae2bd3209dc2fd66bcc8af6f4d8ef73bbc5f1b3ed2d7a2209e5132a9dbd9", "text_sha256": "f2c4137f8f33f2e8265ccef6c39ae78773399a2a93c4e77de945446e5d794028", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 20107, "input_policy": "text-and-optional-url-v1", "label_policy_version": 12, "requested_model": "decision-models/baseten-mammoth-27b-latest", "backend": "baseten", "endpoint": "https://inference.baseten.co/v1/systemone", "status": "ok", "training_eligible": true, "label": {"primary": {"main_format": "Technical Writing", "sub_format": null}, "secondary": null, "tertiary": null, "content_structure": []}, "candidate_label": null, "topic": {"primary": {"main_topic": "Programming & Software Engineering", "sub_topic": null}, "secondary": null}, "scores": {"content_quality": 1, "noise_severity": 0, "missing_content_severity": 0, "factual_density": 3, "pretraining_utility": 1, "math_density": 0, "code_density": 4, "reasoning_density": 0, "education_level": 2, "creative_writing_quality": null}, "score_expectations": {"content_quality": 0.9228147264327163, "noise_severity": 0.03629937787784511, "missing_content_severity": 0.002252718662756494, "factual_density": 2.9240190283901897, "pretraining_utility": 0.4608078420325143, "math_density": 0.0014798048435978586, "code_density": 3.783758763993639, "reasoning_density": 1.5236331918230874, "education_level": 2.0554786701706553, "creative_writing_quality": -0.12057017433642961}, "api_choices": {"primary": "Technical Writing", "secondary": "NONE", "tertiary": "NONE", "education_level": "2", "creative_writing_quality": "not_applicable", "primary_topic": "Programming & Software Engineering", "secondary_topic": "NONE"}, "review_reasons": [], "format_slot_diagnostics": {"comparable": true, "secondary_tertiary_identical": false, "secondary_tertiary_max_abs_gap": 0.00595042601018575, "secondary_choice": "NONE", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.9875092102568633, "secondary": 0.961841650664408, "tertiary": 0.9668716295305726, "structured_records": 0.0030245808177133677, "procedural_steps": 0.10405851892870166, "worked_solution": 0.0032789722644446595, "contextual_dialogue": 4.45564246855683e-06, "content_quality": 0.5505077119594926, "noise_severity": 0.969750518435129, "missing_content_severity": 0.9981227344477029, "factual_density": 0.46668669256285344, "pretraining_utility": 0.45725549283720734, "math_density": 0.9987668292970018, "code_density": 0.8197989699946991, "reasoning_density": 0.0, "education_level": 0.7396145615272152, "creative_writing_quality": 0.9990068092694602, "primary_topic": 0.9909712779595529, "secondary_topic": 0.9490262419474154}, "probability_margin": {"primary": 0.9823260992697522, "secondary": 0.9423030403792145, "tertiary": 0.953073862802808, "education_level": 0.6665161697310117, "creative_writing_quality": 0.9987249271089232, "primary_topic": 0.9842914287877185, "secondary_topic": 0.9227765712814466}, "raw_probabilities": {"primary": {"Academic Writing": 5.808663892855256e-05, "Content Listing": 3.687169027250039e-05, "Creative Writing": 3.8582337997132985e-05, "Customer Support Page": 2.819529065945864e-05, "Q&A Forum": 2.7128621932869342e-05, "Discussion Thread": 2.247718766597131e-05, "Comment Section": 3.319969981548606e-05, "Missing Content": 4.6503778846633304e-05, "Knowledge Article": 0.00024161163818144893, "Legal Notices": 0.000114009266868425, "News Article": 1.308663998686868e-05, "Organizational Announcement": 3.112155883060186e-05, "Nonfiction Writing": 2.5485771724216883e-05, "Organizational About Page": 2.9247069999903084e-05, "Personal About Page": 2.824406934337606e-05, "Personal Blog": 1.8387865397235187e-05, "Product Page": 1.8981385775595594e-05, "Spam / Ads": 2.5329666001934782e-05, "Structured Data": 0.00040548187609352034, "Technical Writing": 0.988029659829494, "Transcript / Interview": 4.327918618547227e-05, "Tutorial / How-To Guide": 0.004965434371696548, "User Reviews": 1.60339985606156e-05, "Other / Unknown": 0.005703560559741743}, "secondary": {"Academic Writing": 0.00015424976299043038, "Content Listing": 9.745306102279996e-05, "Creative Writing": 0.00010776531144863993, "Customer Support Page": 8.970466412275914e-05, "Q&A Forum": 6.210905590373909e-05, "Discussion Thread": 4.193013121611024e-05, "Comment Section": 8.18128680301392e-05, "Missing Content": 0.00018310617570301856, "Knowledge Article": 0.0007536857790477088, "Legal Notices": 0.00015807697206199516, "News Article": 7.295560094182002e-05, "Organizational Announcement": 8.568810111580832e-05, "Nonfiction Writing": 6.028404946971394e-05, "Organizational About Page": 8.148823662122075e-05, "Personal About Page": 6.962451391849874e-05, "Personal Blog": 6.691597088395576e-05, "Product Page": 4.496291186831504e-05, "Spam / Ads": 7.403568236113109e-05, "Structured Data": 0.0012961241529014036, "Technical Writing": 0.021128541507509806, "Transcript / Interview": 0.00011879886179756685, "Tutorial / How-To Guide": 0.011701507827616956, "User Reviews": 3.7596914722051194e-05, "NONE": 0.9634315818867243}, "tertiary": {"Academic Writing": 0.00012098301635352441, "Content Listing": 9.433599007557727e-05, "Creative Writing": 9.830649641626084e-05, "Customer Support Page": 0.0001535272413360336, "Q&A Forum": 4.713737153471264e-05, "Discussion Thread": 3.651994678741559e-05, "Comment Section": 8.795769185923498e-05, "Missing Content": 0.00019233330484572865, "Knowledge Article": 0.0009710065961560219, "Legal Notices": 0.0002942886079285353, "News Article": 6.425552522331605e-05, "Organizational Announcement": 8.428068974220342e-05, "Nonfiction Writing": 6.626433679240816e-05, "Organizational About Page": 8.429013449004552e-05, "Personal About Page": 5.961006968968509e-05, "Personal Blog": 6.07536951321152e-05, "Product Page": 4.783923801835136e-05, "Spam / Ads": 7.056002015694237e-05, "Structured Data": 0.0015695556883209272, "Technical Writing": 0.015178115497324058, "Transcript / Interview": 0.00010158632268828619, "Tutorial / How-To Guide": 0.012230458072231398, "User Reviews": 3.405614676503377e-05, "NONE": 0.9682519783001321}, "structured_records": {"false": 0.9969754191822866, "true": 0.0030245808177133677}, "procedural_steps": {"false": 0.8959414810712983, "true": 0.10405851892870166}, "worked_solution": {"false": 0.9967210277355554, "true": 0.0032789722644446595}, "contextual_dialogue": {"false": 0.9999955443575315, "true": 4.45564246855683e-06}, "content_quality": {"-2": 0.007702186340053618, "-1": 0.02985606195021587, "0": 0.22546932668735375, "1": 0.5058696889817141, "2": 0.23110273604066264}, "noise_severity": {"0": 0.9683382246595935, "1": 0.02837929699295765, "2": 0.0023362824687140306, "3": 0.0005372675674803104, "4": 0.0004089283112546199}, "missing_content_severity": {"0": 0.9984556560817494, "1": 0.001049851399518094, "2": 0.0003361365435903107, "3": 0.00010282972451124438, "4": 5.552625063101137e-05}, "factual_density": {"0": 0.011438715042638036, "1": 0.04000807215757728, "2": 0.24364618082412462, "3": 0.42290953331827735, "4": 0.2819974986573826}, "pretraining_utility": {"-2": 0.008569253818670623, "-1": 0.08462798652112975, "0": 0.400279048783147, "1": 0.4504730855631198, "2": 0.05605062531393273}, "math_density": {"0": 0.9989581727574347, "1": 0.0008222739456930085, "2": 8.486945305967915e-05, "3": 5.094338346453783e-05, "4": 8.374046034796954e-05}, "code_density": {"0": 0.0006287747707624506, "1": 0.001219148863863189, "2": 0.028926136415658547, "3": 0.1522164175004045, "4": 0.8170095224493114}, "reasoning_density": {"0": 0.31616261146798347, "1": 0.13601486300249677, "2": 0.3132672243918943, "3": 0.17713732451369948, "4": 0.05741797662392585}, "education_level": {"none": 0.001333645238214731, "0": 0.003612962401804687, "1": 0.08165198150765532, "2": 0.7830121346060126, "3": 0.11649596487500093, "4": 0.013893311371311732}, "creative_writing_quality": {"not_applicable": 0.9991723410578834, "-2": 7.484503279729376e-05, "-1": 0.00014560167081462645, "0": 0.00044741394896017674, "1": 0.00012409582562180252, "2": 3.570246392265669e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 6.373115049719137e-05, "Art & Design": 7.865769902809134e-05, "Law & Crime": 5.283714619834171e-05, "Education & Careers": 6.006265683730882e-05, "Entertainment & Media": 3.460653277497565e-05, "Fashion & Beauty": 2.806942539055261e-05, "Business, Economics & Finance": 8.562348820533855e-05, "Food & Dining": 3.3284776680969723e-05, "Games & Gaming": 8.325000447428918e-05, "Electronics & Hardware": 9.860749848663428e-05, "Health, Healthcare & Wellness": 2.9529511914713152e-05, "History & Geography": 4.715161061140479e-05, "Home, Pets & Hobbies": 3.61275613181531e-05, "Industry & Production": 5.4495664447527705e-05, "Language, Literature & Philosophy": 5.75177382391871e-05, "Politics & Government": 3.044933478806633e-05, "Religion & Spirituality": 4.597177451708006e-05, "Science, Mathematics & Engineering": 0.00013571060723801152, "Relationships & Community": 2.9792820585569088e-05, "Software Usage & Applications": 0.0070271077118515, "Programming & Software Engineering": 0.99131853649957, "Sports & Fitness": 6.1542264053591e-05, "Vehicles & Transportation": 2.813035094169885e-05, "Travel & Tourism": 5.367811675101552e-05, "Other / Uncovered Subject": 0.0003455642158998478, "Unknown / Insufficient Content": 7.996383869921558e-05}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0002738380537413387, "Art & Design": 0.00031920494507802356, "Law & Crime": 0.00024944618987142415, "Education & Careers": 0.00016553352701239124, "Entertainment & Media": 0.00015429421309731304, "Fashion & Beauty": 8.385123580054874e-05, "Business, Economics & Finance": 0.0003245128865935508, "Food & Dining": 0.00010587458856152684, "Games & Gaming": 0.00017778091639975133, "Electronics & Hardware": 0.00019744055735868517, "Health, Healthcare & Wellness": 9.888658786553806e-05, "History & Geography": 0.0001043077849770507, "Home, Pets & Hobbies": 8.036371786257768e-05, "Industry & Production": 0.00010331041641240178, "Language, Literature & Philosophy": 9.095275478334896e-05, "Politics & Government": 0.0001022891679497146, "Religion & Spirituality": 0.00013382072673322307, "Science, Mathematics & Engineering": 0.0002584850047137012, "Relationships & Community": 8.513402007069439e-05, "Software Usage & Applications": 0.02821019982183737, "Programming & Software Engineering": 0.01706605702530414, "Sports & Fitness": 0.00011489060186044246, "Vehicles & Transportation": 4.92094168019034e-05, "Travel & Tourism": 0.00014765792765516342, "Other / Uncovered Subject": 0.0003158868083741506, "NONE": 0.950986771103284}}, "probabilities": {"primary": {"Academic Writing": 5.808663892855256e-05, "Content Listing": 3.687169027250039e-05, "Creative Writing": 3.8582337997132985e-05, "Customer Support Page": 2.819529065945864e-05, "Q&A Forum": 2.7128621932869342e-05, "Discussion Thread": 2.247718766597131e-05, "Comment Section": 3.319969981548606e-05, "Missing Content": 4.6503778846633304e-05, "Knowledge Article": 0.00024161163818144893, "Legal Notices": 0.000114009266868425, "News Article": 1.308663998686868e-05, "Organizational Announcement": 3.112155883060186e-05, "Nonfiction Writing": 2.5485771724216883e-05, "Organizational About Page": 2.9247069999903084e-05, "Personal About Page": 2.824406934337606e-05, "Personal Blog": 1.8387865397235187e-05, "Product Page": 1.8981385775595594e-05, "Spam / Ads": 2.5329666001934782e-05, "Structured Data": 0.00040548187609352034, "Technical Writing": 0.988029659829494, "Transcript / Interview": 4.327918618547227e-05, "Tutorial / How-To Guide": 0.004965434371696548, "User Reviews": 1.60339985606156e-05, "Other / Unknown": 0.005703560559741743}, "secondary": {"Academic Writing": 0.0001542497629904304, "Content Listing": 9.745306102279998e-05, "Creative Writing": 0.00010776531144863994, "Customer Support Page": 8.970466412275915e-05, "Q&A Forum": 6.21090559037391e-05, "Discussion Thread": 4.193013121611025e-05, "Comment Section": 8.181286803013922e-05, "Missing Content": 0.00018310617570301859, "Knowledge Article": 0.0007536857790477089, "Legal Notices": 0.00015807697206199518, "News Article": 7.295560094182004e-05, "Organizational Announcement": 8.568810111580834e-05, "Nonfiction Writing": 6.0284049469713944e-05, "Organizational About Page": 8.148823662122076e-05, "Personal About Page": 6.962451391849875e-05, "Personal Blog": 6.691597088395577e-05, "Product Page": 4.496291186831505e-05, "Spam / Ads": 7.40356823611311e-05, "Structured Data": 0.0012961241529014038, "Technical Writing": 0.02112854150750981, "Transcript / Interview": 0.00011879886179756686, "Tutorial / How-To Guide": 0.011701507827616957, "User Reviews": 3.75969147220512e-05, "NONE": 0.9634315818867244}, "tertiary": {"Academic Writing": 0.00012098301635352443, "Content Listing": 9.433599007557728e-05, "Creative Writing": 9.830649641626086e-05, "Customer Support Page": 0.00015352724133603363, "Q&A Forum": 4.713737153471265e-05, "Discussion Thread": 3.65199467874156e-05, "Comment Section": 8.7957691859235e-05, "Missing Content": 0.00019233330484572867, "Knowledge Article": 0.000971006596156022, "Legal Notices": 0.00029428860792853534, "News Article": 6.425552522331607e-05, "Organizational Announcement": 8.428068974220343e-05, "Nonfiction Writing": 6.626433679240817e-05, "Organizational About Page": 8.429013449004553e-05, "Personal About Page": 5.9610069689685094e-05, "Personal Blog": 6.0753695132115205e-05, "Product Page": 4.783923801835137e-05, "Spam / Ads": 7.056002015694239e-05, "Structured Data": 0.0015695556883209274, "Technical Writing": 0.01517811549732406, "Transcript / Interview": 0.0001015863226882862, "Tutorial / How-To Guide": 0.0122304580722314, "User Reviews": 3.4056146765033775e-05, "NONE": 0.9682519783001322}, "structured_records": {"false": 0.9969754191822866, "true": 0.0030245808177133677}, "procedural_steps": {"false": 0.8959414810712983, "true": 0.10405851892870166}, "worked_solution": {"false": 0.9967210277355554, "true": 0.0032789722644446595}, "contextual_dialogue": {"false": 0.9999955443575315, "true": 4.45564246855683e-06}, "content_quality": {"-2": 0.007702186340053618, "-1": 0.02985606195021587, "0": 0.22546932668735375, "1": 0.5058696889817141, "2": 0.23110273604066264}, "noise_severity": {"0": 0.9683382246595933, "1": 0.02837929699295764, "2": 0.00233628246871403, "3": 0.0005372675674803103, "4": 0.0004089283112546198}, "missing_content_severity": {"0": 0.9984556560817494, "1": 0.001049851399518094, "2": 0.0003361365435903107, "3": 0.00010282972451124438, "4": 5.552625063101137e-05}, "factual_density": {"0": 0.011438715042638038, "1": 0.04000807215757729, "2": 0.24364618082412465, "3": 0.4229095333182774, "4": 0.28199749865738266}, "pretraining_utility": {"-2": 0.008569253818670623, "-1": 0.08462798652112975, "0": 0.400279048783147, "1": 0.4504730855631198, "2": 0.05605062531393273}, "math_density": {"0": 0.9989581727574348, "1": 0.0008222739456930086, "2": 8.486945305967916e-05, "3": 5.0943383464537836e-05, "4": 8.374046034796955e-05}, "code_density": {"0": 0.0006287747707624506, "1": 0.001219148863863189, "2": 0.028926136415658547, "3": 0.1522164175004045, "4": 0.8170095224493114}, "reasoning_density": {"0": 0.3161626114679835, "1": 0.1360148630024968, "2": 0.31326722439189436, "3": 0.1771373245136995, "4": 0.05741797662392586}, "education_level": {"none": 0.001333645238214731, "0": 0.003612962401804687, "1": 0.08165198150765532, "2": 0.7830121346060126, "3": 0.11649596487500093, "4": 0.013893311371311732}, "creative_writing_quality": {"not_applicable": 0.9991723410578834, "-2": 7.484503279729376e-05, "-1": 0.00014560167081462645, "0": 0.00044741394896017674, "1": 0.00012409582562180252, "2": 3.570246392265669e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 6.373115049719136e-05, "Art & Design": 7.865769902809133e-05, "Law & Crime": 5.28371461983417e-05, "Education & Careers": 6.006265683730881e-05, "Entertainment & Media": 3.460653277497564e-05, "Fashion & Beauty": 2.8069425390552602e-05, "Business, Economics & Finance": 8.562348820533853e-05, "Food & Dining": 3.328477668096972e-05, "Games & Gaming": 8.325000447428916e-05, "Electronics & Hardware": 9.860749848663425e-05, "Health, Healthcare & Wellness": 2.9529511914713146e-05, "History & Geography": 4.715161061140478e-05, "Home, Pets & Hobbies": 3.612756131815309e-05, "Industry & Production": 5.449566444752769e-05, "Language, Literature & Philosophy": 5.7517738239187085e-05, "Politics & Government": 3.0449334788066325e-05, "Religion & Spirituality": 4.5971774517080046e-05, "Science, Mathematics & Engineering": 0.0001357106072380115, "Relationships & Community": 2.979282058556908e-05, "Software Usage & Applications": 0.007027107711851498, "Programming & Software Engineering": 0.9913185364995698, "Sports & Fitness": 6.154226405359099e-05, "Vehicles & Transportation": 2.8130350941698844e-05, "Travel & Tourism": 5.367811675101551e-05, "Other / Uncovered Subject": 0.0003455642158998477, "Unknown / Insufficient Content": 7.996383869921557e-05}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0002738380537413387, "Art & Design": 0.00031920494507802356, "Law & Crime": 0.00024944618987142415, "Education & Careers": 0.00016553352701239124, "Entertainment & Media": 0.00015429421309731304, "Fashion & Beauty": 8.385123580054874e-05, "Business, Economics & Finance": 0.0003245128865935508, "Food & Dining": 0.00010587458856152684, "Games & Gaming": 0.00017778091639975133, "Electronics & Hardware": 0.00019744055735868517, "Health, Healthcare & Wellness": 9.888658786553806e-05, "History & Geography": 0.0001043077849770507, "Home, Pets & Hobbies": 8.036371786257768e-05, "Industry & Production": 0.00010331041641240178, "Language, Literature & Philosophy": 9.095275478334896e-05, "Politics & Government": 0.0001022891679497146, "Religion & Spirituality": 0.00013382072673322307, "Science, Mathematics & Engineering": 0.0002584850047137012, "Relationships & Community": 8.513402007069439e-05, "Software Usage & Applications": 0.02821019982183737, "Programming & Software Engineering": 0.01706605702530414, "Sports & Fitness": 0.00011489060186044246, "Vehicles & Transportation": 4.92094168019034e-05, "Travel & Tourism": 0.00014765792765516342, "Other / Uncovered Subject": 0.0003158868083741506, "NONE": 0.950986771103284}}, "probability_diagnostics": {"primary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "tertiary": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "structured_records": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "procedural_steps": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "worked_solution": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "contextual_dialogue": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "content_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "noise_severity": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "missing_content_severity": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "factual_density": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "pretraining_utility": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "math_density": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "code_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "reasoning_density": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "education_level": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "creative_writing_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "primary_topic": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "secondary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}}, "usage": {"input_tokens": 9873, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 9873, "cached_share": null, "cache_discount_reported": null, "reported_cost_usd": null}, "response_metadata": {"model": "decision-models/baseten-mammoth-27b-latest"}, "scored_at_utc": "2026-10-25T18:36:12.947342+00:00", "scoring_key_slot": "primary", "dataset_uid": "92850248-02b1-4f52-b72e-044f54b3ad4e", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "115ee0d7960273442ae6e1994d6e947e8d99e3e182f5231197ec9cd051e26f96", "source_metadata": {"uuid": "92850248-02b1-4f52-b72e-044f54b3ad4e", "repo_name": "enmg/nitrokit", "relative_path": ".husky/pre-commit", "category": "TOOL", "algo_rel_score": 0.9306889772415161, "quality_score": 6.211540699005127, "source_meta": {"github_metadata": {"branch": "main", "commit_count": 287, "repo_created_at": "2025-05-22T11:00:50.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 0, "forks": 1, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "be68f800fa908cd0bad44f9857743f667ff8cb39", "size_bytes": 4572, "file_timestamp": 1749846437, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "fdc1271e3dbb709dd0905e4d246bbda8fc878428"}}, "parsed_source_meta": {"github_metadata": {"branch": "main", "commit_count": 287, "repo_created_at": "2025-05-22T11:00:50.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 0, "forks": 1, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "be68f800fa908cd0bad44f9857743f667ff8cb39", "size_bytes": 4572, "file_timestamp": 1749846437, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "fdc1271e3dbb709dd0905e4d246bbda8fc878428", "url": "https://github.com/enmg/nitrokit/blob/fdc1271e3dbb709dd0905e4d246bbda8fc878428/.husky/pre-commit"}, "gpt4o_tokens": 1329, "dataset_split": "shell", "probability_weighted_scores": {"content_quality": 0.9228147264327163, "noise_severity": 0.03629937787784512, "missing_content_severity": 0.002252718662756494, "factual_density": 2.9240190283901897, "pretraining_utility": 0.4608078420325143, "math_density": 0.0014798048435978586, "code_density": 3.783758763993639, "reasoning_density": 1.5236331918230874, "education_level": 2.0554786701706553, "creative_writing_quality": -0.12057017433642961}, "score_applicability": {"education_level": 0.9986663547617852, "creative_writing_quality": 0.0008276589421165562}} {"source_group": "shell", "source": "openbmb/UltraData-Stack-v3-L2/shell", "domain": "github.com", "language": "shell", "url": "https://github.com/zhangfuwen/MediaConverter/blob/6d70971b9abb49721cce121fb0dabd063ad16fa9/media-converter.sh", "id": "shell-0-6383b16c3a55b6734641a9fb128d24d2", "text": "#!/bin/bash\n\nfunction main() {\n\tyad --button=从视频中提取音频:1 --button=音频格式转换:2 --button=视频格式转换:3 --button=feedplot:4 --button=burn_image:5 --button=退出:0\n\tcase $? in\n\t0)\n\t\treturn 255\n\t\t;;\n\t1)\n\t\twhile extract_audio; do\n\t\t\techo \"完成\"\n\t\tdone\n\t\t;;\n\t2)\n\t\twhile audio_convert; do\n\t\t\techo \"完成\"\n\t\tdone\n\t\t;;\n\n\t3)\n\t\twhile video_convert; do\n\t\t\techo \"完成\"\n\t\tdone\n\t\t;;\n 4) while feedplot.sh; do\n echo \"done\"\n done\n ;;\n 5) burn_image \n ;;\n\tesac\n}\n\nfunction select_disk() {\n IFS=$'\\n' disks=$(zenity --list --title=\"select\" --column \"selection\" $(lsblk -no path,vendor,size,type /dev/sd* 2> /dev/null| grep disk))\n if [[ $? == 0 ]]; then\n selected_disk=$(echo $disks | awk '{print $1;}')\n echo $selected_disk\n return 0\n fi\n return -1\n}\n\nfunction input_url() {\n url=$(zenity --title=\"win\" --entry --text=\"input url\")\n if [[ $? != 0 ]]; then\n echo \"nothing\"\n return -1\n else\n echo $url\n return 0\n fi\n}\n\nfunction burn_image() {\n command -v zenity || sudo apt -y install zenity\n disk=$(select_disk) && url=$(input_url) && echo \"dd if=$url of=$disk\" \\\n && curl -u zhangfuwen:zhangfuwen --silent $url | \\\n sudo dd conv=noerror,sync iflag=fullblock oflag=direct,sync status=progress bs=1M of=$disk\n}\n\n\nfunction extract_audio() {\n\tans=$(yad --title=提取音频 --form --field=\"选择一个视频文件\":FL --field=\"音频文件保存为\" --button=确定:0 --button=直接退出:2)\n\tret=$?\n\tcase $ret in\n\t\t0)\n\t\t\techo $ans\n\t\t\tfile1=$(echo $ans | awk 'BEGIN {FS=\"|\" } { print $1 }')\n\t\t\tfile2=$(echo $ans | awk 'BEGIN {FS=\"|\" } { print $2 }')\n\t\t\techo \"file1 $file1\"\n\t\t\techo \"file2 $file2\"\n\t\t\tif [[ $file2 != *mp3 ]]; then\n\t\t\t\tfile2=$file2.mp3\n\t\t\tfi\n\t\t\tif ffmpeg -i $file1 $file2; then\n\t\t\t\tyad --title \"完成\" --text \"$(realpath $file2)\"\n\t\t\telse\n\t\t\t\tyad --title \"失败了\"\n\t\t\tfi\n\t\t;;\n\t\t2)\n\t\t\texit 0\n\t\t;;\n\t\t*)\n\t\t\treturn 1;\n\t\t;;\n\tesac\n}\n\nfunction audio_convert() {\n\tans=$(yad --title=音频转换 --form --field=\"选择一个音频文件\":FL --field=\"格式:CB\" --field=\"转换后的音频文件保存为\" --field=\"格式:CB\" \"\" '^自动!wav!pcm!mp3!opus' \"\" '^wav!pcm!mp3!opus' --button=确定:0 --button=直接退出:2 )\n\tret=$?\n\tcase $ret in\n\t\t0)\n\t\t\techo $ans\n\t\t\tfile1=$(echo $ans | awk 'BEGIN {FS=\"|\" } { print $1 }')\n\t\t\tformat1=$(echo $ans | awk 'BEGIN {FS=\"|\" } { print $2 }')\n\t\t\tfile2=$(echo $ans | awk 'BEGIN {FS=\"|\" } { print $3 }')\n\t\t\tformat=$(echo $ans | awk 'BEGIN {FS=\"|\" } { print $4 }')\n\t\t\techo \"file1 $file1\"\n\t\t\techo \"format1 $format1\"\n\t\t\techo \"file2 $file2\"\n\t\t\techo \"format2 $format\"\n\t\t\tcase $format1 in\n\t\t\t\t自动)\n\t\t\t\t\tformat1=\"\"\n\t\t\t\t\t;;\n\t\t\t\tpcm) \n\t\t\t\t\tformat1=\" -f s16le \";\n\t\t\t\t\t;;\n\t\t\t\t*)\n\t\t\t\t\tformat1=\" -f $format1 \"\n\t\t\t\t\t;;\n\t\t\tesac\n\t\t\tcase $format in\n\t\t\t\twav)\n\t\t\t\t\tformat=\" -f wav \"\n\t\t\t\t\tif [[ $file2 != *wav ]]; then file2=$file2.wav; fi\n\t\t\t\t;;\n\t\t\t\tpcm)\n\t\t\t\t\tformat=\" -f s16le \"\n\t\t\t\t\tif [[ $file2 != *pcm ]]; then file2=$file2.s16le.pcm; fi\n\t\t\t\t;;\n\t\t\t\tmp3)\n\t\t\t\t\tformat=\" -f mp3 \"\n\t\t\t\t\tif [[ $file2 != *mp3 ]]; then file2=$file2.mp3; fi\n\t\t\t\t;;\n\t\t\t\t*)\n\t\t\t\t\tformat=\" -f $format \"\n\t\t\t\t;;\n\t\t\tesac\n\t\t\tif ffmpeg $foramt1 -i $file1 $format $file2; then\n\t\t\t\tif yad --title \"完成\" --text \"$(realpath $file2)\" --button=播放:0 --button=退出:1; then\n\t\t\t\t\tffplay $format $file2\n\t\t\t\tfi\n\t\t\telse\n\t\t\t\tyad --title \"失败了\"\n\t\t\tfi\n\t\t;;\n\t\t2)\n\t\t\texit 0\n\t\t;;\n\t\t*)\n\t\t\treturn 1;\n\t\t;;\n\tesac\n}\n\nfunction video_convert() {\n\tans=$(yad --title=视频格式转换 --form --field=\"选择一个视频文件\":FL --field=\"转换后的视频文件保存为\" --button=确定:0 --button=直接退出:2 )\n\tif [[ $? == 0 ]] ; then\n\t\techo $ans\n\telse\t\n\t\treturn 1;\n\tfi\n}\n\nwhile main; do\n\techo \"ok\"\ndone\n", "text_preview": "#!/bin/bash function main() { yad --button=从视频中提取音频:1 --button=音频格式转换:2 --button=视频格式转换:3 --button=feedplot:4 --button=burn_image:5 --button=退出:0 case $? in 0) return 255 ;; 1) while extract_audio; do echo \"完成\" done ;; 2) while audio_conver", "input_sha256": "c78b9bd1d490b0f849005bc6cf1b865ac448135189cdb14a1dcc4d468137ba4b", "text_sha256": "6383b16c3a55b6734641a9fb128d24d2a6d329550f4e690ea2d7816a1c21faea", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 20108, "input_policy": "text-and-optional-url-v1", "label_policy_version": 12, "requested_model": "decision-models/baseten-mammoth-27b-latest", "backend": "baseten", "endpoint": "https://inference.baseten.co/v1/systemone", "status": "ok", "training_eligible": true, "label": {"primary": {"main_format": "Technical Writing", "sub_format": null}, "secondary": null, "tertiary": null, "content_structure": []}, "candidate_label": null, "topic": {"primary": {"main_topic": "Programming & Software Engineering", "sub_topic": null}, "secondary": null}, "scores": {"content_quality": 0, "noise_severity": 0, "missing_content_severity": 0, "factual_density": 4, "pretraining_utility": 0, "math_density": 0, "code_density": 4, "reasoning_density": 0, "education_level": 2, "creative_writing_quality": null}, "score_expectations": {"content_quality": -0.2322253845672994, "noise_severity": 0.04178103772487035, "missing_content_severity": 0.02393143445117978, "factual_density": 3.1827477959026527, "pretraining_utility": 0.17650305347473194, "math_density": 0.006339897497442375, "code_density": 3.8656416428220113, "reasoning_density": 0.3577776409427764, "education_level": 2.058408825006221, "creative_writing_quality": -0.56855676922593}, "api_choices": {"primary": "Technical Writing", "secondary": "NONE", "tertiary": "NONE", "education_level": "2", "creative_writing_quality": "not_applicable", "primary_topic": "Programming & Software Engineering", "secondary_topic": "NONE"}, "review_reasons": [], "format_slot_diagnostics": {"comparable": true, "secondary_tertiary_identical": false, "secondary_tertiary_max_abs_gap": 0.0058831659449168905, "secondary_choice": "NONE", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.9927927422063353, "secondary": 0.9848597920238952, "tertiary": 0.9909987477925041, "structured_records": 0.002176641197128541, "procedural_steps": 0.0484741806899474, "worked_solution": 0.003044378467230201, "contextual_dialogue": 9.21013606568233e-06, "content_quality": 0.4291440341522116, "noise_severity": 0.965182468562608, "missing_content_severity": 0.9800571379573502, "factual_density": 0.3189564965855438, "pretraining_utility": 0.5107536865808745, "math_density": 0.9947167520854647, "code_density": 0.8880347023516761, "reasoning_density": 0.7018519658810196, "education_level": 0.7710446128412904, "creative_writing_quality": 0.9985898412287182, "primary_topic": 0.9657001527406007, "secondary_topic": 0.7960323898278817}, "probability_margin": {"primary": 0.9897881838972337, "secondary": 0.9768876598628491, "tertiary": 0.9874267493891561, "education_level": 0.6980778142246935, "creative_writing_quality": 0.9984030739497977, "primary_topic": 0.9456679078356355, "secondary_topic": 0.7077482836330674}, "raw_probabilities": {"primary": {"Academic Writing": 4.945830131421454e-05, "Content Listing": 4.766561712795051e-05, "Creative Writing": 4.432743384291901e-05, "Customer Support Page": 1.878235357067859e-05, "Q&A Forum": 2.1294219147083594e-05, "Discussion Thread": 1.726867753777573e-05, "Comment Section": 3.3144431167913825e-05, "Missing Content": 5.370437536020058e-05, "Knowledge Article": 0.0001026406818366474, "Legal Notices": 5.741798237381567e-05, "News Article": 1.0070103488684715e-05, "Organizational Announcement": 2.1830215947310624e-05, "Nonfiction Writing": 2.604495265561427e-05, "Organizational About Page": 2.3600726334165906e-05, "Personal About Page": 4.168975108354777e-05, "Personal Blog": 1.762954471441029e-05, "Product Page": 1.9358546590414355e-05, "Spam / Ads": 3.0011024345861493e-05, "Structured Data": 0.0002505993387073393, "Technical Writing": 0.9930930446144046, "Transcript / Interview": 3.98204740114448e-05, "Tutorial / How-To Guide": 0.002660531537016459, "User Reviews": 1.5204380249763184e-05, "Other / Unknown": 0.003304860717170917}, "secondary": {"Academic Writing": 8.640891680016083e-05, "Content Listing": 9.454503150176033e-05, "Creative Writing": 7.88101090046321e-05, "Customer Support Page": 4.763201175833868e-05, "Q&A Forum": 2.7480370742832123e-05, "Discussion Thread": 2.2971945109731454e-05, "Comment Section": 5.36599106632404e-05, "Missing Content": 0.00012532930366810147, "Knowledge Article": 0.00013654481065620525, "Legal Notices": 6.775231466524128e-05, "News Article": 3.538271093020222e-05, "Organizational Announcement": 3.544414377646376e-05, "Nonfiction Writing": 3.524701889102467e-05, "Organizational About Page": 4.608563259552569e-05, "Personal About Page": 4.562442996402864e-05, "Personal Blog": 3.537803775263649e-05, "Product Page": 2.7274891174148823e-05, "Spam / Ads": 5.548588724501849e-05, "Structured Data": 0.0005466930710870561, "Technical Writing": 0.008602974160050356, "Transcript / Interview": 5.327998952529375e-05, "Tutorial / How-To Guide": 0.004226622338588683, "User Reviews": 2.273894094991471e-05, "NONE": 0.9854906340228995}, "tertiary": {"Academic Writing": 5.409460286097568e-05, "Content Listing": 9.043042911391647e-05, "Creative Writing": 7.276479407857244e-05, "Customer Support Page": 3.538879073766704e-05, "Q&A Forum": 1.7660349693463748e-05, "Discussion Thread": 1.327586008690454e-05, "Comment Section": 4.6794153950492335e-05, "Missing Content": 0.00016809330120606933, "Knowledge Article": 0.00015052174301065496, "Legal Notices": 0.00010377435806059154, "News Article": 3.098239280278285e-05, "Organizational Announcement": 2.791571016760533e-05, "Nonfiction Writing": 3.191994112591975e-05, "Organizational About Page": 5.1721303885763824e-05, "Personal About Page": 3.5058584521213735e-05, "Personal Blog": 2.8072301978279122e-05, "Product Page": 2.534208719535855e-05, "Spam / Ads": 4.9716938289397e-05, "Structured Data": 0.0003686190236442077, "Technical Writing": 0.003947050578660344, "Transcript / Interview": 4.009882225233545e-05, "Tutorial / How-To Guide": 0.0032176998659195657, "User Reviews": 1.9204098941593682e-05, "NONE": 0.9913737999678164}, "structured_records": {"false": 0.9978233588028714, "true": 0.002176641197128541}, "procedural_steps": {"false": 0.9515258193100526, "true": 0.0484741806899474}, "worked_solution": {"false": 0.9969556215327698, "true": 0.003044378467230201}, "contextual_dialogue": {"false": 0.9999907898639343, "true": 9.21013606568233e-06}, "content_quality": {"-2": 0.0613272741912651, "-1": 0.3359717234097926, "0": 0.4094490098240104, "1": 0.1601030979248405, "2": 0.03314889465009143}, "noise_severity": {"0": 0.9667166049572977, "1": 0.02708380897620195, "2": 0.004566702556024085, "3": 0.0009677104052845273, "4": 0.0006651731051916603}, "missing_content_severity": {"0": 0.9874465012416198, "1": 0.0035247828165342328, "2": 0.007065722670309714, "3": 0.0015767667921191405, "4": 0.0003862264794171739}, "factual_density": {"0": 0.016377515955501548, "1": 0.031304782974835015, "2": 0.16055761816592015, "3": 0.3367125550189958, "4": 0.45504752788474756}, "pretraining_utility": {"-2": 0.018535038203302386, "-1": 0.1682261849075046, "0": 0.4756375466618525, "1": 0.29340314566583964, "2": 0.04419808456150082}, "math_density": {"0": 0.9958335411886537, "1": 0.0031453493735725414, "2": 0.0003391532556779276, "3": 0.00021158311587067622, "4": 0.0004703730662254881}, "code_density": {"0": 0.0004298205949344898, "1": 0.000820165452926958, "2": 0.018824386063958115, "3": 0.09252980631155361, "4": 0.8873958215766268}, "reasoning_density": {"0": 0.79450224706723, "1": 0.07970084585385406, "2": 0.10605856983878253, "3": 0.01299369354917655, "4": 0.0067446436909569035}, "education_level": {"none": 0.001985082696582697, "0": 0.0034777177141613676, "1": 0.06476412240442764, "2": 0.8092038440344087, "3": 0.11112602980971524, "4": 0.009443203340704398}, "creative_writing_quality": {"not_applicable": 0.9988248676905985, "-2": 0.00023509179656461217, "-1": 0.0003768146796471608, "0": 0.0004217937408008432, "1": 0.00010399534124775448, "2": 3.7436751141148486e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 0.00010344119129527914, "Art & Design": 0.0003124003560982786, "Law & Crime": 0.00013314610266983718, "Education & Careers": 9.46089171197335e-05, "Entertainment & Media": 0.0038787952786251373, "Fashion & Beauty": 8.05570461306018e-05, "Business, Economics & Finance": 0.00011141516909097746, "Food & Dining": 8.89655129258484e-05, "Games & Gaming": 0.00016221698826478966, "Electronics & Hardware": 0.004090203312926638, "Health, Healthcare & Wellness": 8.156790197205385e-05, "History & Geography": 9.602939328235237e-05, "Home, Pets & Hobbies": 0.000139232245897112, "Industry & Production": 7.44145042419751e-05, "Language, Literature & Philosophy": 0.00010037219860492707, "Politics & Government": 5.94808960823732e-05, "Religion & Spirituality": 9.149741002851174e-05, "Science, Mathematics & Engineering": 0.00025431877459006826, "Relationships & Community": 6.720306277706562e-05, "Software Usage & Applications": 0.021351469799557536, "Programming & Software Engineering": 0.967019377635193, "Sports & Fitness": 0.00011669674877039634, "Vehicles & Transportation": 4.8686147671311954e-05, "Travel & Tourism": 9.109785466377351e-05, "Other / Uncovered Subject": 0.00114076942643274, "Unknown / Insufficient Content": 0.00021203612508768327}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0007901913759516334, "Art & Design": 0.001061237880055449, "Law & Crime": 0.0008343553541564879, "Education & Careers": 0.0003771942612007251, "Entertainment & Media": 0.05512239135917629, "Fashion & Beauty": 0.0002921006317035391, "Business, Economics & Finance": 0.0005418122767588883, "Food & Dining": 0.0002458825107383963, "Games & Gaming": 0.0005061967718485844, "Electronics & Hardware": 0.004612947213844437, "Health, Healthcare & Wellness": 0.000315999685133305, "History & Geography": 0.0003051002100798966, "Home, Pets & Hobbies": 0.00038167290167366753, "Industry & Production": 0.00023523549587579364, "Language, Literature & Philosophy": 0.00024714142637502815, "Politics & Government": 0.00025179219602988783, "Religion & Spirituality": 0.0003346024395625386, "Science, Mathematics & Engineering": 0.0006267247880508706, "Relationships & Community": 0.00023852316217259635, "Software Usage & Applications": 0.09612901427835732, "Programming & Software Engineering": 0.030781047202737485, "Sports & Fitness": 0.0002680388104002156, "Vehicles & Transportation": 0.00014794231806133075, "Travel & Tourism": 0.00034832723182766877, "Other / Uncovered Subject": 0.0011272303068033181, "NONE": 0.8038772979114247}}, "probabilities": {"primary": {"Academic Writing": 4.945830131421455e-05, "Content Listing": 4.7665617127950527e-05, "Creative Writing": 4.432743384291902e-05, "Customer Support Page": 1.8782353570678592e-05, "Q&A Forum": 2.1294219147083597e-05, "Discussion Thread": 1.7268677537775733e-05, "Comment Section": 3.314443116791383e-05, "Missing Content": 5.37043753602006e-05, "Knowledge Article": 0.00010264068183664742, "Legal Notices": 5.7417982373815686e-05, "News Article": 1.0070103488684717e-05, "Organizational Announcement": 2.1830215947310627e-05, "Nonfiction Writing": 2.6044952655614276e-05, "Organizational About Page": 2.3600726334165913e-05, "Personal About Page": 4.1689751083547774e-05, "Personal Blog": 1.7629544714410293e-05, "Product Page": 1.935854659041436e-05, "Spam / Ads": 3.00110243458615e-05, "Structured Data": 0.00025059933870733936, "Technical Writing": 0.9930930446144048, "Transcript / Interview": 3.982047401144481e-05, "Tutorial / How-To Guide": 0.0026605315370164593, "User Reviews": 1.5204380249763187e-05, "Other / Unknown": 0.003304860717170918}, "secondary": {"Academic Writing": 8.640891680016083e-05, "Content Listing": 9.454503150176033e-05, "Creative Writing": 7.88101090046321e-05, "Customer Support Page": 4.763201175833868e-05, "Q&A Forum": 2.7480370742832123e-05, "Discussion Thread": 2.2971945109731454e-05, "Comment Section": 5.36599106632404e-05, "Missing Content": 0.00012532930366810147, "Knowledge Article": 0.00013654481065620525, "Legal Notices": 6.775231466524128e-05, "News Article": 3.538271093020222e-05, "Organizational Announcement": 3.544414377646376e-05, "Nonfiction Writing": 3.524701889102467e-05, "Organizational About Page": 4.608563259552569e-05, "Personal About Page": 4.562442996402864e-05, "Personal Blog": 3.537803775263649e-05, "Product Page": 2.7274891174148823e-05, "Spam / Ads": 5.548588724501849e-05, "Structured Data": 0.0005466930710870561, "Technical Writing": 0.008602974160050356, "Transcript / Interview": 5.327998952529375e-05, "Tutorial / How-To Guide": 0.004226622338588683, "User Reviews": 2.273894094991471e-05, "NONE": 0.9854906340228995}, "tertiary": {"Academic Writing": 5.409460286097568e-05, "Content Listing": 9.043042911391647e-05, "Creative Writing": 7.276479407857244e-05, "Customer Support Page": 3.538879073766704e-05, "Q&A Forum": 1.7660349693463748e-05, "Discussion Thread": 1.327586008690454e-05, "Comment Section": 4.6794153950492335e-05, "Missing Content": 0.00016809330120606933, "Knowledge Article": 0.00015052174301065496, "Legal Notices": 0.00010377435806059154, "News Article": 3.098239280278285e-05, "Organizational Announcement": 2.791571016760533e-05, "Nonfiction Writing": 3.191994112591975e-05, "Organizational About Page": 5.1721303885763824e-05, "Personal About Page": 3.5058584521213735e-05, "Personal Blog": 2.8072301978279122e-05, "Product Page": 2.534208719535855e-05, "Spam / Ads": 4.9716938289397e-05, "Structured Data": 0.0003686190236442077, "Technical Writing": 0.003947050578660344, "Transcript / Interview": 4.009882225233545e-05, "Tutorial / How-To Guide": 0.0032176998659195657, "User Reviews": 1.9204098941593682e-05, "NONE": 0.9913737999678164}, "structured_records": {"false": 0.9978233588028714, "true": 0.002176641197128541}, "procedural_steps": {"false": 0.9515258193100526, "true": 0.0484741806899474}, "worked_solution": {"false": 0.9969556215327698, "true": 0.003044378467230201}, "contextual_dialogue": {"false": 0.9999907898639343, "true": 9.21013606568233e-06}, "content_quality": {"-2": 0.0613272741912651, "-1": 0.3359717234097926, "0": 0.4094490098240104, "1": 0.1601030979248405, "2": 0.03314889465009143}, "noise_severity": {"0": 0.9667166049572978, "1": 0.027083808976201953, "2": 0.004566702556024086, "3": 0.0009677104052845274, "4": 0.0006651731051916604}, "missing_content_severity": {"0": 0.9874465012416198, "1": 0.0035247828165342328, "2": 0.007065722670309714, "3": 0.0015767667921191405, "4": 0.0003862264794171739}, "factual_density": {"0": 0.016377515955501548, "1": 0.031304782974835015, "2": 0.16055761816592015, "3": 0.3367125550189958, "4": 0.45504752788474756}, "pretraining_utility": {"-2": 0.01853503820330239, "-1": 0.16822618490750463, "0": 0.47563754666185254, "1": 0.2934031456658397, "2": 0.044198084561500824}, "math_density": {"0": 0.9958335411886533, "1": 0.00314534937357254, "2": 0.0003391532556779274, "3": 0.00021158311587067614, "4": 0.0004703730662254879}, "code_density": {"0": 0.0004298205949344898, "1": 0.000820165452926958, "2": 0.018824386063958115, "3": 0.09252980631155361, "4": 0.8873958215766268}, "reasoning_density": {"0": 0.79450224706723, "1": 0.07970084585385406, "2": 0.10605856983878253, "3": 0.01299369354917655, "4": 0.0067446436909569035}, "education_level": {"none": 0.001985082696582697, "0": 0.0034777177141613676, "1": 0.06476412240442764, "2": 0.8092038440344087, "3": 0.11112602980971524, "4": 0.009443203340704398}, "creative_writing_quality": {"not_applicable": 0.9988248676905985, "-2": 0.00023509179656461217, "-1": 0.0003768146796471608, "0": 0.0004217937408008432, "1": 0.00010399534124775448, "2": 3.7436751141148486e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 0.00010344119129527914, "Art & Design": 0.0003124003560982786, "Law & Crime": 0.00013314610266983718, "Education & Careers": 9.46089171197335e-05, "Entertainment & Media": 0.0038787952786251373, "Fashion & Beauty": 8.05570461306018e-05, "Business, Economics & Finance": 0.00011141516909097746, "Food & Dining": 8.89655129258484e-05, "Games & Gaming": 0.00016221698826478966, "Electronics & Hardware": 0.004090203312926638, "Health, Healthcare & Wellness": 8.156790197205385e-05, "History & Geography": 9.602939328235237e-05, "Home, Pets & Hobbies": 0.000139232245897112, "Industry & Production": 7.44145042419751e-05, "Language, Literature & Philosophy": 0.00010037219860492707, "Politics & Government": 5.94808960823732e-05, "Religion & Spirituality": 9.149741002851174e-05, "Science, Mathematics & Engineering": 0.00025431877459006826, "Relationships & Community": 6.720306277706562e-05, "Software Usage & Applications": 0.021351469799557536, "Programming & Software Engineering": 0.967019377635193, "Sports & Fitness": 0.00011669674877039634, "Vehicles & Transportation": 4.8686147671311954e-05, "Travel & Tourism": 9.109785466377351e-05, "Other / Uncovered Subject": 0.00114076942643274, "Unknown / Insufficient Content": 0.00021203612508768327}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0007901913759516334, "Art & Design": 0.001061237880055449, "Law & Crime": 0.0008343553541564879, "Education & Careers": 0.0003771942612007251, "Entertainment & Media": 0.05512239135917629, "Fashion & Beauty": 0.0002921006317035391, "Business, Economics & Finance": 0.0005418122767588883, "Food & Dining": 0.0002458825107383963, "Games & Gaming": 0.0005061967718485844, "Electronics & Hardware": 0.004612947213844437, "Health, Healthcare & Wellness": 0.000315999685133305, "History & Geography": 0.0003051002100798966, "Home, Pets & Hobbies": 0.00038167290167366753, "Industry & Production": 0.00023523549587579364, "Language, Literature & Philosophy": 0.00024714142637502815, "Politics & Government": 0.00025179219602988783, "Religion & Spirituality": 0.0003346024395625386, "Science, Mathematics & Engineering": 0.0006267247880508706, "Relationships & Community": 0.00023852316217259635, "Software Usage & Applications": 0.09612901427835732, "Programming & Software Engineering": 0.030781047202737485, "Sports & Fitness": 0.0002680388104002156, "Vehicles & Transportation": 0.00014794231806133075, "Travel & Tourism": 0.00034832723182766877, "Other / Uncovered Subject": 0.0011272303068033181, "NONE": 0.8038772979114247}}, "probability_diagnostics": {"primary": {"raw_sum": 0.9999999999999998, "mass_delta": -2.220446049250313e-16, "missing_mass": 2.220446049250313e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "tertiary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "structured_records": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "procedural_steps": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "worked_solution": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "contextual_dialogue": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "content_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "noise_severity": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "missing_content_severity": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "factual_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "pretraining_utility": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "math_density": {"raw_sum": 1.0000000000000004, "mass_delta": 4.440892098500626e-16, "missing_mass": 0.0, "excess_mass": 4.440892098500626e-16, "valid": true, "normalized": false}, "code_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "reasoning_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "education_level": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "creative_writing_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "primary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}}, "usage": {"input_tokens": 9850, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 9850, "cached_share": null, "cache_discount_reported": null, "reported_cost_usd": null}, "response_metadata": {"model": "decision-models/baseten-mammoth-27b-latest"}, "scored_at_utc": "2026-10-25T18:36:14.433776+00:00", "scoring_key_slot": "primary", "dataset_uid": "d9d691c4-058e-4951-a5e1-7e2a1f06f131", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "2d9f830bf68bdf6d9ce612c16ada8f4d131911c1d60ae7ebc0f7b09153719c43", "source_metadata": {"uuid": "d9d691c4-058e-4951-a5e1-7e2a1f06f131", "repo_name": "zhangfuwen/MediaConverter", "relative_path": "media-converter.sh", "category": "TOOL", "algo_rel_score": 0.8837495446205139, "quality_score": 3.4461829662323, "source_meta": {"github_metadata": {"branch": "master", "commit_count": 24, "repo_created_at": "2021-10-19T07:03:32.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 0, "forks": 0, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "81a2e9eac218092d95053a9f618ca93bdfd88e74", "size_bytes": 3740, "file_timestamp": 1666957460, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "6d70971b9abb49721cce121fb0dabd063ad16fa9"}}, "parsed_source_meta": {"github_metadata": {"branch": "master", "commit_count": 24, "repo_created_at": "2021-10-19T07:03:32.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 0, "forks": 0, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "81a2e9eac218092d95053a9f618ca93bdfd88e74", "size_bytes": 3740, "file_timestamp": 1666957460, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "6d70971b9abb49721cce121fb0dabd063ad16fa9", "url": "https://github.com/zhangfuwen/MediaConverter/blob/6d70971b9abb49721cce121fb0dabd063ad16fa9/media-converter.sh"}, "gpt4o_tokens": 1278, "dataset_split": "shell", "probability_weighted_scores": {"content_quality": -0.2322253845672994, "noise_severity": 0.04178103772487035, "missing_content_severity": 0.02393143445117978, "factual_density": 3.1827477959026527, "pretraining_utility": 0.17650305347473194, "math_density": 0.006339897497442376, "code_density": 3.8656416428220113, "reasoning_density": 0.3577776409427764, "education_level": 2.058408825006221, "creative_writing_quality": -0.56855676922593}, "score_applicability": {"education_level": 0.9980149173034173, "creative_writing_quality": 0.0011751323094015191}} {"source_group": "shell", "source": "openbmb/UltraData-Stack-v3-L2/shell", "domain": "github.com", "language": "shell", "url": "https://github.com/gfiorav/dotfiles/blob/e70023a564daedb1ce1278cd356ea281f9890952/install.ps1", "id": "shell-0-d31c939e3f4fa28aebf1debd0f0b1352", "text": "#\n# Helper functions\n#\n\nfunction Get-User-Consent {\n Param (\n $prompt\n )\n\n $response = Read-Host -Prompt \"'$prompt' [y/N]\"\n\n # TODO: match uppercase Y too.\n if ($response -eq \"y\") {\n return $true\n } else {\n return $false\n }\n}\n\n# Sniped from https://devblogs.microsoft.com/scripting/use-a-powershell-function-to-see-if-a-command-exists/\nfunction Test-Command-Exists {\n Param ($command)\n\n $oldPreference = $ErrorActionPreference\n\n $ErrorActionPreference = \"stop\"\n\n try {\n if (Get-Command $command) {\n return $true\n }\n } catch {\n Write-Host \"'$command' is not installed.\"\n return $false\n } finally {\n $ErrorActionPreference=$oldPreference\n }\n}\n\nfunction Update-Choco-Packages {\n # Resolve the path to the chocolatey executable.\n $chocoPath = Get-Command choco.exe -ErrorAction SilentlyContinue\n\n $process = Start-Process `\n -FilePath $chocoPath.Path `\n -ArgumentList \"upgrade all -y\" `\n -Verb RunAs -Wait -PassThru\n\n if ($process.ExitCode -ne 0) {\n Write-Host \"Chocolatey failed to update packages.\"\n }\n}\n\n# Installs a package using chocolatey. Accepts a package name and an executable\n# to check if it's already installed.\nfunction Install-With-Choco-If-Not-Exists {\n Param (\n $package,\n $bin_name\n )\n\n if ($null -eq $bin_name) {\n $bin = $package\n } else {\n $bin = $bin_name\n }\n\n if (Test-Command-Exists $bin) {\n Write-Host \"'$package' is already installed, skipping...\"\n } else {\n if (Get-User-Consent \"Install '$package'?\") {\n Write-Host \"Installing '$package'...\"\n Start-Process `\n -FilePath \"choco\" `\n -ArgumentList \"install -y $package\" `\n -Verb RunAs `\n -Wait\n } else {\n Write-Host \"Skipping '$package'...\"\n }\n }\n}\n\n# Installs a package using winget. Accepts a package name and an executable\n# to check if it's already installed.\nfunction Install-With-Winget-If-Not-Exists {\n Param (\n $package,\n $bin_name\n )\n\n if ($null -eq $bin_name) {\n $bin = $package\n } else {\n $bin = $bin_name\n }\n\n if (Test-Command-Exists $bin) {\n Write-Host \"'$package' is already installed, skipping...\"\n } else {\n if (Get-User-Consent \"Install '$package'?\") {\n Write-Host \"Installing '$package'...\"\n Start-Process `\n -FilePath \"winget\" `\n -ArgumentList \"install $package\" `\n -Verb RunAs `\n -Wait\n } else {\n Write-Host \"Skipping '$package'...\"\n }\n }\n}\n\nfunction Install-Vim-Plugins {\n Param ($plugin_names)\n\n $github_url = \"https://github.com\"\n foreach ($plugin_name in $plugin_names) {\n Invoke-Expression `\n \"git clone $github_url/$plugin_name C:\\Users\\$env:UserName\\vimfiles\\plugin\\$plugin_name\"\n }\n}\n\nif (Test-Command-Exists \"choco\") {\n Write-Host \"Choco is already installed, updating...\"\n # Update choco packages\n Update-Choco-Packages\n} else {\n if (Get-User-Consent \"Install Chocolatey?\") {\n Write-Host \"Installing Chocolatey...\"\n Set-ExecutionPolicy Bypass -Scope Process -Force\n [System.Net.ServicePointManager]::SecurityProtocol =\n [System.Net.ServicePointManager]::SecurityProtocol -bor 3072\n # Execute as admin\n Start-Process `\n -FilePath \"powershell\" `\n -ArgumentList \"iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))\" `\n -Verb RunAs `\n -Wait\n } else {\n Write-Host \"Chocolatey is needed to run this script. Exiting...\"\n return $false\n }\n}\n\n# Update all winget packages\n# Print that we're going to update all winget packages\nWrite-Host \"Updating all winget packages...\"\nStart-Process `\n -FilePath \"winget\" `\n -ArgumentList \"upgrade --all --accept-source-agreements --accept-package-agreements --accept-licenses\" `\n -Verb RunAs `\n -Wait\n\n# Configure PowerShell\nCopy-Item `\n -Path \"./src/profile.ps1\" `\n -Destination `\n \"C:\\Users\\$env:UserName\\Documents\\WindowsPowerShell\\profile.ps1\"\n\n# Install choco packages:\nInstall-With-Winget-If-Not-Exists \"Git.Git\" \"git\"\nInstall-With-Choco-If-Not-Exists \"curl\"\n\n# Vim's a big one:\nInstall-With-Winget-If-Not-Exists \"vim.vim\" \"vim\"\nCopy-Item -Path \"./src/vimrc\" -Destination \"C:\\Users\\$env:UserName\\_vimrc\"\nInstall-With-Choco-If-Not-Exists \"fzf\"\n\n## Install Vim-Plug\nInvoke-WebRequest `\n -useb https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim `\n | New-Item $HOME/vimfiles/autoload/plug.vim -Force\n\nInvoke-Expression \"vim +PlugInstall +PlugClean +qall\"\n\n# Install other packages\nInstall-With-Winget-If-Not-Exists \"Microsoft.Powershell\" \"pwsh\"\nInstall-With-Winget-If-Not-Exists \"Microsoft.VisualStudioCode\" \"code\"\nInstall-With-Winget-If-Not-Exists \"GnuWin32.Make\" \"make\"\nInstall-With-Winget-If-Not-Exists \"Python.Python.3.11\" \"python\"\nInstall-With-Winget-If-Not-Exists \"OpenJS.NodeJS.LTS\" \"node\"\nInstall-With-Winget-If-Not-Exists \"Insecure.Nmap\" \"nmap\"\nInstall-With-Winget-If-Not-Exists \"GnuWin32.Grep\" \"grep\"\n", "text_preview": "# # Helper functions # function Get-User-Consent { Param ( $prompt ) $response = Read-Host -Prompt \"'$prompt' [y/N]\" # TODO: match uppercase Y too. if ($response -eq \"y\") { return $true } else { return $false } } # Sniped from https://devbl", "input_sha256": "77ceb8a6f04978381d66de67938f82d3edf95e294724aaff1a0b620bfeb76001", "text_sha256": "d31c939e3f4fa28aebf1debd0f0b13522a9aad6e270e96a08d20c1304bef993e", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 20111, "input_policy": "text-and-optional-url-v1", "label_policy_version": 12, "requested_model": "decision-models/baseten-mammoth-27b-latest", "backend": "baseten", "endpoint": "https://inference.baseten.co/v1/systemone", "status": "ok", "training_eligible": true, "label": {"primary": {"main_format": "Technical Writing", "sub_format": null}, "secondary": null, "tertiary": null, "content_structure": []}, "candidate_label": null, "topic": {"primary": {"main_topic": "Programming & Software Engineering", "sub_topic": null}, "secondary": null}, "scores": {"content_quality": 1, "noise_severity": 0, "missing_content_severity": 0, "factual_density": 3, "pretraining_utility": 1, "math_density": 0, "code_density": 4, "reasoning_density": 0, "education_level": 2, "creative_writing_quality": null}, "score_expectations": {"content_quality": 0.38960427019323984, "noise_severity": 0.04565326117606304, "missing_content_severity": 0.17302389825156528, "factual_density": 3.1430740980852394, "pretraining_utility": 0.523148684934661, "math_density": 0.03966086419188661, "code_density": 3.8603949549055203, "reasoning_density": 0.39880106005849264, "education_level": 2.0682035671541006, "creative_writing_quality": -0.21892390367581402}, "api_choices": {"primary": "Technical Writing", "secondary": "NONE", "tertiary": "NONE", "education_level": "2", "creative_writing_quality": "not_applicable", "primary_topic": "Programming & Software Engineering", "secondary_topic": "NONE"}, "review_reasons": [], "format_slot_diagnostics": {"comparable": true, "secondary_tertiary_identical": false, "secondary_tertiary_max_abs_gap": 0.030970286606371578, "secondary_choice": "NONE", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.972167168577413, "secondary": 0.9062604857536005, "tertiary": 0.938577306560249, "structured_records": 0.033992910154806655, "procedural_steps": 0.2872001354031879, "worked_solution": 0.0004557021342842224, "contextual_dialogue": 1.2029719390363802e-05, "content_quality": 0.37078597723898044, "noise_severity": 0.9619556156866141, "missing_content_severity": 0.8558134181236956, "factual_density": 0.4892448004436567, "pretraining_utility": 0.4913989215865603, "math_density": 0.9669492798400945, "code_density": 0.8836624624212669, "reasoning_density": 0.6676657832845894, "education_level": 0.7231307143753147, "creative_writing_quality": 0.9993263674926454, "primary_topic": 0.8463587943675083, "secondary_topic": 0.5506176666104314}, "probability_margin": {"primary": 0.9527693549288775, "secondary": 0.8563346337817521, "tertiary": 0.9078154256227456, "education_level": 0.6338362151150645, "creative_writing_quality": 0.9991668087834447, "primary_topic": 0.7082518369988245, "secondary_topic": 0.2356759539049375}, "raw_probabilities": {"primary": {"Academic Writing": 7.623855314007965e-05, "Content Listing": 7.281636402981485e-05, "Creative Writing": 5.570573806754044e-05, "Customer Support Page": 3.9979549146543415e-05, "Q&A Forum": 3.9197788052176396e-05, "Discussion Thread": 2.839363248559336e-05, "Comment Section": 5.6604780536706336e-05, "Missing Content": 5.6390686874215777e-05, "Knowledge Article": 0.00020966923031009272, "Legal Notices": 5.0789675643902016e-05, "News Article": 1.928289574277906e-05, "Organizational Announcement": 3.503931099675889e-05, "Nonfiction Writing": 4.769496963565971e-05, "Organizational About Page": 4.6224838477078686e-05, "Personal About Page": 6.778453519943298e-05, "Personal Blog": 2.849895877248459e-05, "Product Page": 2.729810438011817e-05, "Spam / Ads": 4.4080904591487225e-05, "Structured Data": 0.0002593701929731948, "Technical Writing": 0.9733268698866875, "Transcript / Interview": 5.6196720056935927e-05, "Tutorial / How-To Guide": 0.020557514957809976, "User Reviews": 2.5454654916356014e-05, "Other / Unknown": 0.00477290307147371}, "secondary": {"Academic Writing": 0.00027239352921333516, "Content Listing": 0.00027576269115487127, "Creative Writing": 0.0002305714534215975, "Customer Support Page": 0.00019564790341357089, "Q&A Forum": 0.00012080924426898093, "Discussion Thread": 8.351429572935276e-05, "Comment Section": 0.00020572296762883956, "Missing Content": 0.0004702686324679024, "Knowledge Article": 0.0007507253385454879, "Legal Notices": 0.00023514900406689405, "News Article": 0.00012984340960959257, "Organizational Announcement": 0.00012997702716156524, "Nonfiction Writing": 0.00014889381823397074, "Organizational About Page": 0.00016754157773924387, "Personal About Page": 0.00015237757020473072, "Personal Blog": 0.00015751612970153154, "Product Page": 9.496942536931612e-05, "Spam / Ads": 0.00015354478452367365, "Structured Data": 0.0005759407004556786, "Technical Writing": 0.031196496461132376, "Transcript / Interview": 0.0001695514277614564, "Tutorial / How-To Guide": 0.053831665065448356, "User Reviews": 8.481869554727951e-05, "NONE": 0.9101662988472005}, "tertiary": {"Academic Writing": 0.00020915400137890437, "Content Listing": 0.0003732956586079343, "Creative Writing": 0.00018152128974964124, "Customer Support Page": 0.00016968849672816588, "Q&A Forum": 8.485403933482404e-05, "Discussion Thread": 6.753280150407065e-05, "Comment Section": 0.0003001354787861413, "Missing Content": 0.0018271953412648135, "Knowledge Article": 0.0015687194143574087, "Legal Notices": 0.0004602772877002886, "News Article": 0.00010142293583182258, "Organizational Announcement": 0.00010145292484375464, "Nonfiction Writing": 0.00015506007108269403, "Organizational About Page": 0.00013750609315691428, "Personal About Page": 0.00012822374903385012, "Personal Blog": 0.00012515887961583497, "Product Page": 0.00010160683043534316, "Spam / Ads": 0.00016439559598156056, "Structured Data": 0.0006041118270763952, "Technical Writing": 0.01848643885462309, "Transcript / Interview": 0.0001275437656952255, "Tutorial / How-To Guide": 0.033321159830826265, "User Reviews": 6.695937881301812e-05, "NONE": 0.9411365854535719}, "structured_records": {"false": 0.9660070898451933, "true": 0.033992910154806655}, "procedural_steps": {"false": 0.7127998645968121, "true": 0.2872001354031879}, "worked_solution": {"false": 0.9995442978657157, "true": 0.0004557021342842224}, "contextual_dialogue": {"false": 0.9999879702806096, "true": 1.2029719390363802e-05}, "content_quality": {"-2": 0.01667037759069005, "-1": 0.12479352088218411, "0": 0.38312810402355346, "1": 0.40307744875034074, "2": 0.07233054875323165}, "noise_severity": {"0": 0.9582741602895118, "1": 0.0393144225046301, "2": 0.0014283914352502727, "3": 0.0004500472814976913, "4": 0.0005329784891098273}, "missing_content_severity": {"0": 0.8346763849085999, "1": 0.16059888442249853, "2": 0.002587364282341431, "3": 0.0012991802818560951, "4": 0.0008381861047038886}, "factual_density": {"0": 0.005541976317770003, "1": 0.018969425641210003, "2": 0.18035129045545645, "3": 0.4171471388091381, "4": 0.3779901687764255}, "pretraining_utility": {"-2": 0.007704171233762114, "-1": 0.07371172402564849, "0": 0.37305034282815, "1": 0.4787987723970452, "2": 0.06673498951539428}, "math_density": {"0": 0.9641367290758113, "1": 0.033972616064305454, "2": 0.0008095529800671757, "3": 0.00025526535181863707, "4": 0.0008258365279977251}, "code_density": {"0": 0.0003157178374501577, "1": 0.000603993500807386, "2": 0.0125708685590655, "3": 0.11138845612412594, "4": 0.875120963978551}, "reasoning_density": {"0": 0.7514472479817407, "1": 0.12375790360128136, "2": 0.10542716510592166, "3": 0.013281906998857687, "4": 0.006085776312198747}, "education_level": {"none": 0.0011063900158557788, "0": 0.002718646419176257, "1": 0.08159798535333497, "2": 0.7692755953127622, "3": 0.1354393801976977, "4": 0.009862002701172885}, "creative_writing_quality": {"not_applicable": 0.9994386395772045, "-2": 6.066226788746771e-05, "-1": 0.00012781842949620946, "0": 0.0002718307937597759, "1": 7.585011316078004e-05, "2": 2.5198818491417775e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 0.00014250211494603283, "Art & Design": 0.00019153001196806242, "Law & Crime": 0.00022769731836321672, "Education & Careers": 0.00013046957524663613, "Entertainment & Media": 0.00013837151251215964, "Fashion & Beauty": 0.00013890506862162166, "Business, Economics & Finance": 0.00018228853364778296, "Food & Dining": 0.00011886427446322907, "Games & Gaming": 0.00021936554584374904, "Electronics & Hardware": 0.00023292500901000152, "Health, Healthcare & Wellness": 0.00010564589484831987, "History & Geography": 0.00016517187182376583, "Home, Pets & Hobbies": 0.00016818409521728923, "Industry & Production": 0.0001401792795829506, "Language, Literature & Philosophy": 0.00015328553686332432, "Politics & Government": 9.593841301594496e-05, "Religion & Spirituality": 0.00010957111503061138, "Science, Mathematics & Engineering": 0.00016631087140366686, "Relationships & Community": 0.00011119619215808992, "Software Usage & Applications": 0.14401623450839499, "Programming & Software Engineering": 0.8522680715072195, "Sports & Fitness": 0.00018620872260923638, "Vehicles & Transportation": 9.426542762270591e-05, "Travel & Tourism": 0.0001293967346853387, "Other / Uncovered Subject": 0.00023790647432636385, "Unknown / Insufficient Content": 0.0001295143905755123}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0006150399140229582, "Art & Design": 0.0005234489120262167, "Law & Crime": 0.0006085461619412436, "Education & Careers": 0.000317087186234122, "Entertainment & Media": 0.0004397043310052965, "Fashion & Beauty": 0.00027782735495497917, "Business, Economics & Finance": 0.00048771380920282906, "Food & Dining": 0.000248519325979404, "Games & Gaming": 0.0004209073752799123, "Electronics & Hardware": 0.0008247759493240121, "Health, Healthcare & Wellness": 0.0003004471188477922, "History & Geography": 0.0003333888488396622, "Home, Pets & Hobbies": 0.00035557101060382663, "Industry & Production": 0.00030353113225784764, "Language, Literature & Philosophy": 0.0002663685481639398, "Politics & Government": 0.00024570094976486106, "Religion & Spirituality": 0.00033574675692602673, "Science, Mathematics & Engineering": 0.000537248080763294, "Relationships & Community": 0.00023358980139745613, "Software Usage & Applications": 0.3322256486050927, "Programming & Software Engineering": 0.09067536687983953, "Sports & Fitness": 0.0003228039878746542, "Vehicles & Transportation": 0.00018043252519447145, "Travel & Tourism": 0.0004643317574225615, "Other / Uncovered Subject": 0.0005546511670102896, "NONE": 0.5679016025100302}}, "probabilities": {"primary": {"Academic Writing": 7.623855314007964e-05, "Content Listing": 7.281636402981484e-05, "Creative Writing": 5.570573806754042e-05, "Customer Support Page": 3.997954914654341e-05, "Q&A Forum": 3.919778805217639e-05, "Discussion Thread": 2.8393632485593353e-05, "Comment Section": 5.660478053670632e-05, "Missing Content": 5.639068687421576e-05, "Knowledge Article": 0.00020966923031009267, "Legal Notices": 5.0789675643902e-05, "News Article": 1.9282895742779056e-05, "Organizational Announcement": 3.5039310996758885e-05, "Nonfiction Writing": 4.7694969635659695e-05, "Organizational About Page": 4.622483847707867e-05, "Personal About Page": 6.778453519943296e-05, "Personal Blog": 2.8498958772484583e-05, "Product Page": 2.7298104380118164e-05, "Spam / Ads": 4.408090459148722e-05, "Structured Data": 0.00025937019297319475, "Technical Writing": 0.9733268698866873, "Transcript / Interview": 5.619672005693591e-05, "Tutorial / How-To Guide": 0.020557514957809973, "User Reviews": 2.5454654916356007e-05, "Other / Unknown": 0.004772903071473709}, "secondary": {"Academic Writing": 0.00027239352921333516, "Content Listing": 0.00027576269115487127, "Creative Writing": 0.0002305714534215975, "Customer Support Page": 0.00019564790341357089, "Q&A Forum": 0.00012080924426898093, "Discussion Thread": 8.351429572935276e-05, "Comment Section": 0.00020572296762883956, "Missing Content": 0.0004702686324679024, "Knowledge Article": 0.0007507253385454879, "Legal Notices": 0.00023514900406689405, "News Article": 0.00012984340960959257, "Organizational Announcement": 0.00012997702716156524, "Nonfiction Writing": 0.00014889381823397074, "Organizational About Page": 0.00016754157773924387, "Personal About Page": 0.00015237757020473072, "Personal Blog": 0.00015751612970153154, "Product Page": 9.496942536931612e-05, "Spam / Ads": 0.00015354478452367365, "Structured Data": 0.0005759407004556786, "Technical Writing": 0.031196496461132376, "Transcript / Interview": 0.0001695514277614564, "Tutorial / How-To Guide": 0.053831665065448356, "User Reviews": 8.481869554727951e-05, "NONE": 0.9101662988472005}, "tertiary": {"Academic Writing": 0.0002091540013789044, "Content Listing": 0.00037329565860793435, "Creative Writing": 0.00018152128974964127, "Customer Support Page": 0.0001696884967281659, "Q&A Forum": 8.485403933482405e-05, "Discussion Thread": 6.753280150407066e-05, "Comment Section": 0.00030013547878614136, "Missing Content": 0.0018271953412648137, "Knowledge Article": 0.001568719414357409, "Legal Notices": 0.00046027728770028865, "News Article": 0.00010142293583182259, "Organizational Announcement": 0.00010145292484375466, "Nonfiction Writing": 0.00015506007108269406, "Organizational About Page": 0.0001375060931569143, "Personal About Page": 0.00012822374903385014, "Personal Blog": 0.000125158879615835, "Product Page": 0.00010160683043534317, "Spam / Ads": 0.00016439559598156059, "Structured Data": 0.0006041118270763953, "Technical Writing": 0.018486438854623092, "Transcript / Interview": 0.00012754376569522552, "Tutorial / How-To Guide": 0.03332115983082627, "User Reviews": 6.695937881301814e-05, "NONE": 0.941136585453572}, "structured_records": {"false": 0.9660070898451933, "true": 0.033992910154806655}, "procedural_steps": {"false": 0.7127998645968121, "true": 0.2872001354031879}, "worked_solution": {"false": 0.9995442978657157, "true": 0.0004557021342842224}, "contextual_dialogue": {"false": 0.9999879702806096, "true": 1.2029719390363802e-05}, "content_quality": {"-2": 0.01667037759069005, "-1": 0.12479352088218411, "0": 0.38312810402355346, "1": 0.40307744875034074, "2": 0.07233054875323165}, "noise_severity": {"0": 0.9582741602895121, "1": 0.03931442250463011, "2": 0.0014283914352502729, "3": 0.0004500472814976914, "4": 0.0005329784891098274}, "missing_content_severity": {"0": 0.8346763849086001, "1": 0.16059888442249856, "2": 0.0025873642823414315, "3": 0.0012991802818560954, "4": 0.0008381861047038888}, "factual_density": {"0": 0.005541976317770003, "1": 0.018969425641210003, "2": 0.18035129045545645, "3": 0.4171471388091381, "4": 0.3779901687764255}, "pretraining_utility": {"-2": 0.007704171233762114, "-1": 0.07371172402564849, "0": 0.37305034282815, "1": 0.4787987723970452, "2": 0.06673498951539428}, "math_density": {"0": 0.964136729075811, "1": 0.03397261606430545, "2": 0.0008095529800671755, "3": 0.000255265351818637, "4": 0.0008258365279977249}, "code_density": {"0": 0.0003157178374501577, "1": 0.000603993500807386, "2": 0.0125708685590655, "3": 0.11138845612412594, "4": 0.875120963978551}, "reasoning_density": {"0": 0.7514472479817405, "1": 0.12375790360128133, "2": 0.10542716510592164, "3": 0.013281906998857684, "4": 0.006085776312198745}, "education_level": {"none": 0.001106390015855779, "0": 0.0027186464191762574, "1": 0.08159798535333498, "2": 0.7692755953127625, "3": 0.13543938019769772, "4": 0.009862002701172887}, "creative_writing_quality": {"not_applicable": 0.9994386395772042, "-2": 6.06622678874677e-05, "-1": 0.00012781842949620943, "0": 0.0002718307937597758, "1": 7.585011316078002e-05, "2": 2.5198818491417768e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 0.00014250211494603283, "Art & Design": 0.00019153001196806242, "Law & Crime": 0.00022769731836321672, "Education & Careers": 0.00013046957524663613, "Entertainment & Media": 0.00013837151251215964, "Fashion & Beauty": 0.00013890506862162166, "Business, Economics & Finance": 0.00018228853364778296, "Food & Dining": 0.00011886427446322907, "Games & Gaming": 0.00021936554584374904, "Electronics & Hardware": 0.00023292500901000152, "Health, Healthcare & Wellness": 0.00010564589484831987, "History & Geography": 0.00016517187182376583, "Home, Pets & Hobbies": 0.00016818409521728923, "Industry & Production": 0.0001401792795829506, "Language, Literature & Philosophy": 0.00015328553686332432, "Politics & Government": 9.593841301594496e-05, "Religion & Spirituality": 0.00010957111503061138, "Science, Mathematics & Engineering": 0.00016631087140366686, "Relationships & Community": 0.00011119619215808992, "Software Usage & Applications": 0.14401623450839499, "Programming & Software Engineering": 0.8522680715072195, "Sports & Fitness": 0.00018620872260923638, "Vehicles & Transportation": 9.426542762270591e-05, "Travel & Tourism": 0.0001293967346853387, "Other / Uncovered Subject": 0.00023790647432636385, "Unknown / Insufficient Content": 0.0001295143905755123}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0006150399140229582, "Art & Design": 0.0005234489120262167, "Law & Crime": 0.0006085461619412436, "Education & Careers": 0.000317087186234122, "Entertainment & Media": 0.0004397043310052965, "Fashion & Beauty": 0.00027782735495497917, "Business, Economics & Finance": 0.00048771380920282906, "Food & Dining": 0.000248519325979404, "Games & Gaming": 0.0004209073752799123, "Electronics & Hardware": 0.0008247759493240121, "Health, Healthcare & Wellness": 0.0003004471188477922, "History & Geography": 0.0003333888488396622, "Home, Pets & Hobbies": 0.00035557101060382663, "Industry & Production": 0.00030353113225784764, "Language, Literature & Philosophy": 0.0002663685481639398, "Politics & Government": 0.00024570094976486106, "Religion & Spirituality": 0.00033574675692602673, "Science, Mathematics & Engineering": 0.000537248080763294, "Relationships & Community": 0.00023358980139745613, "Software Usage & Applications": 0.3322256486050927, "Programming & Software Engineering": 0.09067536687983953, "Sports & Fitness": 0.0003228039878746542, "Vehicles & Transportation": 0.00018043252519447145, "Travel & Tourism": 0.0004643317574225615, "Other / Uncovered Subject": 0.0005546511670102896, "NONE": 0.5679016025100302}}, "probability_diagnostics": {"primary": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "secondary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "tertiary": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "structured_records": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "procedural_steps": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "worked_solution": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "contextual_dialogue": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "content_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "noise_severity": {"raw_sum": 0.9999999999999998, "mass_delta": -2.220446049250313e-16, "missing_mass": 2.220446049250313e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "missing_content_severity": {"raw_sum": 0.9999999999999998, "mass_delta": -2.220446049250313e-16, "missing_mass": 2.220446049250313e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "factual_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "pretraining_utility": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "math_density": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "code_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "reasoning_density": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "education_level": {"raw_sum": 0.9999999999999998, "mass_delta": -2.220446049250313e-16, "missing_mass": 2.220446049250313e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "creative_writing_quality": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "primary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}}, "usage": {"input_tokens": 10014, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 10014, "cached_share": null, "cache_discount_reported": null, "reported_cost_usd": null}, "response_metadata": {"model": "decision-models/baseten-mammoth-27b-latest"}, "scored_at_utc": "2026-10-25T18:36:15.879547+00:00", "scoring_key_slot": "assistant_1", "dataset_uid": "20c0e6d9-51ec-4092-b636-e406d144d102", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "25dc0b8d11d2d4e5cc3172e36fc63b0d361755c65a94cd11b1aa05150dd38433", "source_metadata": {"uuid": "20c0e6d9-51ec-4092-b636-e406d144d102", "repo_name": "gfiorav/dotfiles", "relative_path": "install.ps1", "category": "TOOL", "algo_rel_score": 0.9916330575942993, "quality_score": 4.457159042358398, "source_meta": {"github_metadata": {"branch": "main", "commit_count": 264, "repo_created_at": "2017-11-20T11:44:22.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 1, "forks": 2, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "9b149dc6259198daae9e1d3ae6d3146c6424fcda", "size_bytes": 5280, "file_timestamp": 1680745852, "language": "powershell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "e70023a564daedb1ce1278cd356ea281f9890952"}}, "parsed_source_meta": {"github_metadata": {"branch": "main", "commit_count": 264, "repo_created_at": "2017-11-20T11:44:22.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 1, "forks": 2, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "9b149dc6259198daae9e1d3ae6d3146c6424fcda", "size_bytes": 5280, "file_timestamp": 1680745852, "language": "powershell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "e70023a564daedb1ce1278cd356ea281f9890952", "url": "https://github.com/gfiorav/dotfiles/blob/e70023a564daedb1ce1278cd356ea281f9890952/install.ps1"}, "gpt4o_tokens": 1396, "dataset_split": "shell", "probability_weighted_scores": {"content_quality": 0.38960427019323984, "noise_severity": 0.04565326117606304, "missing_content_severity": 0.17302389825156528, "factual_density": 3.1430740980852394, "pretraining_utility": 0.523148684934661, "math_density": 0.03966086419188661, "code_density": 3.8603949549055203, "reasoning_density": 0.3988010600584927, "education_level": 2.0682035671541006, "creative_writing_quality": -0.21892390367581402}, "score_applicability": {"education_level": 0.9988936099841443, "creative_writing_quality": 0.0005613604227956507}} {"source_group": "shell", "source": "openbmb/UltraData-Stack-v3-L2/shell", "domain": "github.com", "language": "shell", "url": "https://github.com/mikeavila/petclinic/blob/35a620e42c49a480cf03eed6398fe9a7833c714d/appointments/rapla/raplaserver.sh", "id": "shell-0-ac68031603332142f9c710860524e4af", "text": "#!/bin/sh\n# \n# Script for starting @doc.name@ version @doc.version@ with jetty webserver under Unix\n# Set either JAVA_HOME to point at your Java Development Kit installation.\n# or PATH to point at the java command\nusage()\n{\n echo \"Usage: $0 {run|start|stop|restart|supervise} \"\n echo \"run : starts rapla-server and wait for Control-c \"\n echo \"start : starts rapla-server in the background (use only when run works)\"\n echo \"stop : stops rapla-server in the background \"\n echo \"restart : calls stop then start \"\n echo \"import : imports the data from xml-file into the database \"\n echo \"export : exports the data from the database into the xml-file\"\n exit 1\n}\n\n##################################################\n# Find directory function\n##################################################\nfindDirectory()\n{\n OP=$1\n shift\n for L in $* ; do\n [ $OP $L ] || continue \n echo $L\n break\n done \n}\n\n\n# ----- Verify and Set Required Environment Variables -------------------------\n\nPRG=$0\nACTION=$1\n\n\nwhile [ -h \"$PRG\" ] ; do\n ls=`ls -ld \"$PRG\"`\n link=`expr \"$ls\" : '.*-> \\(.*\\)$'`\n if expr \"$link\" : '.*/.*' > /dev/null; then\n PRG=\"$link\"\n else\n PRG=`dirname \"$PRG\"`/\"$link\"\n fi\ndone\nPRGDIR=`dirname \"$PRG\"`\n\nif [ -z \"$JAVA_HOME\" ] ; then\n JAVA=`which java`\n if [ -z \"$JAVA\" ] ; then\n echo \"Cannot find JAVA. You must set JAVA_HOME to point at your Java Development Kit installation.\"\n exit 1\n fi\n JAVA_BINDIR=`dirname $JAVA`\n JAVA_HOME=$JAVA_BINDIR/..\n echo \"Guessing JAVA_HOME:\" $JAVA_HOME\nfi\nif [ -z \"$JAVA_OPTIONS\" ] ; then\n JAVA_OPTIONS=\"-Xmx512M\"\n echo \"Guessing JAVA_OPTIONS:\" $JAVA_OPTIONS\nfi\n\nJAVA=\"$JAVA_HOME/bin/java\"\necho \"PROGDIR\" $PRGDIR\ncd $PRGDIR\nRUN_CMD=\"$JAVA $JAVA_OPTIONS -cp raplabootstrap.jar -Djava.awt.headless=true org.rapla.bootstrap.RaplaServerLoader\"\n\n#####################################################\n# Find a location for the pid file\n#####################################################\nif [ -z \"$JETTY_RUN\" ] \nthen\n JETTY_RUN=`findDirectory -w /var/run /usr/var/run .`\nfi\n\n#####################################################\n# Find a PID for the pid file\n#####################################################\nif [ -z \"$JETTY_PID\" ] \nthen\n JETTY_PID=\"$JETTY_RUN/raplajetty.pid\"\nfi\n\n#####################################################\n# Find a location for the jetty console\n#####################################################\nif [ -z \"$JETTY_CONSOLE\" ] \nthen\n if [ -w /dev/console ]\n then\n JETTY_CONSOLE=/dev/console\n else\n JETTY_CONSOLE=/dev/tty\n fi\nfi\n\n\n# ----- Do the action ----------------------------------------------------------\n\n##################################################\n# Do the action\n##################################################\ncase \"$ACTION\" in\n import)\n \t $PRGDIR/rapla.sh import\n \t ;;\n export)\n \t $PRGDIR/rapla.sh export\n \t ;;\n start)\n if [ -f $JETTY_PID ]\n then\n echo \"WARNING $JETTY_PID found. Jetty is probably running!!\"\n fi\n echo \"Running Rapla in Jetty: \" $RUN_CMD\n \texec $RUN_CMD >>$JETTY_CONSOLE 2>&1 1>/dev/null &\n echo $! > $JETTY_PID\n echo \"Jetty running pid=\"`cat $JETTY_PID`\n ;;\n stop)\n PID=`cat $JETTY_PID 2>/dev/null`\n echo \"Shutting down Jetty: $PID\"\n kill $PID 2>/dev/null\n sleep 2\n kill -9 $PID 2>/dev/null\n rm -f $JETTY_PID\n echo \"STOPPED `date`\" >>$JETTY_CONSOLE\n ;;\n\n restart)\n $0 stop $*\n sleep 5\n $0 start $*\n ;;\n\n supervise)\n #\n # Under control of daemontools supervise monitor which\n # handles restarts and shutdowns via the svc program.\n #\n exec $RUN_CMD\n ;;\n\n run)\n echo \"Running Rapla in Jetty: \" $RUN_CMD\n exec $RUN_CMD\n ;;\n\n*)\n usage\n\t;;\nesac\n\nexit 0\n", "text_preview": "#!/bin/sh # # Script for starting @doc.name@ version @doc.version@ with jetty webserver under Unix # Set either JAVA_HOME to point at your Java Development Kit installation. # or PATH to point at the java command usage() { echo \"Usage: $0 {", "input_sha256": "212c395fc44264c25a750caa8e25e550c31632c8e93f955692bdbbfd705b4aef", "text_sha256": "ac68031603332142f9c710860524e4afcca5e12076954b503b981e9c3221deb5", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 20114, "input_policy": "text-and-optional-url-v1", "label_policy_version": 12, "requested_model": "decision-models/baseten-mammoth-27b-latest", "backend": "baseten", "endpoint": "https://inference.baseten.co/v1/systemone", "status": "ok", "training_eligible": true, "label": {"primary": {"main_format": "Technical Writing", "sub_format": null}, "secondary": null, "tertiary": null, "content_structure": []}, "candidate_label": null, "topic": {"primary": {"main_topic": "Programming & Software Engineering", "sub_topic": null}, "secondary": null}, "scores": {"content_quality": 1, "noise_severity": 0, "missing_content_severity": 0, "factual_density": 3, "pretraining_utility": 0, "math_density": 0, "code_density": 4, "reasoning_density": 0, "education_level": 2, "creative_writing_quality": null}, "score_expectations": {"content_quality": 0.7723114682677339, "noise_severity": 0.15094770457376672, "missing_content_severity": 0.0151124241313672, "factual_density": 2.9988525108120694, "pretraining_utility": 0.23564543897645027, "math_density": 0.004201501749722001, "code_density": 3.856391754044845, "reasoning_density": 0.73144261282166, "education_level": 2.2089513031912125, "creative_writing_quality": -0.21647953735962658}, "api_choices": {"primary": "Technical Writing", "secondary": "NONE", "tertiary": "NONE", "education_level": "2", "creative_writing_quality": "not_applicable", "primary_topic": "Programming & Software Engineering", "secondary_topic": "NONE"}, "review_reasons": [], "format_slot_diagnostics": {"comparable": true, "secondary_tertiary_identical": false, "secondary_tertiary_max_abs_gap": 0.029649523072066475, "secondary_choice": "NONE", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.990670719866912, "secondary": 0.9169566062579922, "tertiary": 0.9478952390288442, "structured_records": 0.001988665506545337, "procedural_steps": 0.12116931936491666, "worked_solution": 0.00153583837234951, "contextual_dialogue": 6.872054691726981e-06, "content_quality": 0.5023233923598056, "noise_severity": 0.8742102461885277, "missing_content_severity": 0.9874063132238606, "factual_density": 0.4828950304149445, "pretraining_utility": 0.5173741120179822, "math_density": 0.9964987485418983, "code_density": 0.8803264617040378, "reasoning_density": 0.39046448931528344, "education_level": 0.6391628561365829, "creative_writing_quality": 0.998804357193997, "primary_topic": 0.9573124302558713, "secondary_topic": 0.8409183200275145}, "probability_margin": {"primary": 0.9865754747815454, "secondary": 0.8819498622098914, "tertiary": 0.9212638634010759, "education_level": 0.4677042695701409, "creative_writing_quality": 0.9984915508972566, "primary_topic": 0.9323621270844706, "secondary_topic": 0.7736409462963418}, "raw_probabilities": {"primary": {"Academic Writing": 5.3859687046106246e-05, "Content Listing": 3.478303456282091e-05, "Creative Writing": 3.585907914689605e-05, "Customer Support Page": 9.263599053193996e-05, "Q&A Forum": 2.406928643095519e-05, "Discussion Thread": 1.593570372822876e-05, "Comment Section": 3.1767277748028654e-05, "Missing Content": 5.161828957965099e-05, "Knowledge Article": 0.00029070047904023133, "Legal Notices": 5.996220856172514e-05, "News Article": 1.1512781727378472e-05, "Organizational Announcement": 2.4451750193196247e-05, "Nonfiction Writing": 2.3250681433139597e-05, "Organizational About Page": 2.993416400885522e-05, "Personal About Page": 2.9093441034387322e-05, "Personal Blog": 1.5052754465720764e-05, "Product Page": 1.6791968547919505e-05, "Spam / Ads": 2.520777848241303e-05, "Structured Data": 0.00032655233395539895, "Technical Writing": 0.9910594398724574, "Transcript / Interview": 3.6891634281608935e-05, "Tutorial / How-To Guide": 0.004483965090911967, "User Reviews": 1.5300098855083654e-05, "Other / Unknown": 0.003211364613269044}, "secondary": {"Academic Writing": 0.00034074098571455807, "Content Listing": 0.0002510300159796399, "Creative Writing": 0.00025949402593304665, "Customer Support Page": 0.002499348864229983, "Q&A Forum": 0.0001481789897039799, "Discussion Thread": 0.00010376197748584204, "Comment Section": 0.00021799218996708167, "Missing Content": 0.0004351077445884922, "Knowledge Article": 0.00136709127572725, "Legal Notices": 0.0003219464389468854, "News Article": 0.00014704954986482783, "Organizational Announcement": 0.00018527665416649106, "Nonfiction Writing": 0.0001621179712134561, "Organizational About Page": 0.00020366899713241857, "Personal About Page": 0.00016031437547595705, "Personal Blog": 0.00013542563733183485, "Product Page": 0.00011528151994251679, "Spam / Ads": 0.00019467936811926753, "Structured Data": 0.0012365661251902435, "Technical Writing": 0.03230216349973214, "Transcript / Interview": 0.0002433322755889653, "Tutorial / How-To Guide": 0.03846688545401785, "User Reviews": 8.57984000380417e-05, "NONE": 0.9204167476639092}, "tertiary": {"Academic Writing": 0.00017853759927156555, "Content Listing": 0.0001421957126490794, "Creative Writing": 0.00014189430385774953, "Customer Support Page": 0.0012454231978668683, "Q&A Forum": 6.421600322346682e-05, "Discussion Thread": 5.270399119807498e-05, "Comment Section": 0.00016193792200237656, "Missing Content": 0.0003871358036134383, "Knowledge Article": 0.0012853273073016726, "Legal Notices": 0.00029233470199201345, "News Article": 7.425061257664429e-05, "Organizational Announcement": 0.00010500870195767571, "Nonfiction Writing": 0.00010271307650480652, "Organizational About Page": 0.00014246318023529005, "Personal About Page": 8.428759018421674e-05, "Personal Blog": 7.396117213901725e-05, "Product Page": 6.817275305110894e-05, "Spam / Ads": 0.00011433856328382891, "Structured Data": 0.00076325803220681, "Technical Writing": 0.015478412078362723, "Transcript / Interview": 0.0001274972715886254, "Tutorial / How-To Guide": 0.028802407334899856, "User Reviews": 4.525235405742031e-05, "NONE": 0.9500662707359757}, "structured_records": {"false": 0.9980113344934547, "true": 0.001988665506545337}, "procedural_steps": {"false": 0.8788306806350833, "true": 0.12116931936491666}, "worked_solution": {"false": 0.9984641616276505, "true": 0.00153583837234951}, "contextual_dialogue": {"false": 0.9999931279453083, "true": 6.872054691726981e-06}, "content_quality": {"-2": 0.011455485704552487, "-1": 0.051487732083877635, "0": 0.2751083091688369, "1": 0.47718677432474943, "2": 0.18476169871798354}, "noise_severity": {"0": 0.8716098939971904, "1": 0.11068855352875713, "2": 0.014110273080971293, "3": 0.002326512689257721, "4": 0.001264766703823457}, "missing_content_severity": {"0": 0.9889699766518761, "1": 0.00802712894148743, "2": 0.0021944468012174813, "3": 0.0005373888342310359, "4": 0.000271058771187925}, "factual_density": {"0": 0.007225542847781462, "1": 0.03260886514366729, "2": 0.2239423675143196, "3": 0.4265339873371636, "4": 0.30968923715706803}, "pretraining_utility": {"-2": 0.011381756788114579, "-1": 0.14898929972475639, "0": 0.4785952414822955, "1": 0.3146691517322315, "2": 0.04636455027260216}, "math_density": {"0": 0.9968128067148523, "1": 0.0026834275791084035, "2": 0.00019426286102114601, "3": 0.00010846293150191146, "4": 0.00020103991351639317}, "code_density": {"0": 0.0004686342645449369, "1": 0.0009038474396589596, "2": 0.015683374075730627, "3": 0.10765541842653677, "4": 0.8752887257935287}, "reasoning_density": {"0": 0.5681522120105377, "1": 0.19926337548941264, "2": 0.180378282760604, "3": 0.037401847146743224, "4": 0.014804282592702405}, "education_level": {"none": 0.001433196448090074, "0": 0.0031086120243230767, "1": 0.04861481776985209, "2": 0.6993023801138191, "3": 0.2315981105436782, "4": 0.015942883100237636}, "creative_writing_quality": {"not_applicable": 0.9990036309949974, "-2": 9.381288497661509e-05, "-1": 0.00022841078054770906, "0": 0.0005120800977408007, "1": 0.0001237874342164559, "2": 3.827780752102398e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 9.502201539929062e-05, "Art & Design": 0.00012295214575760703, "Law & Crime": 0.00011100467319966733, "Education & Careers": 9.928791657127851e-05, "Entertainment & Media": 8.993162412575576e-05, "Fashion & Beauty": 8.92839936026236e-05, "Business, Economics & Finance": 0.0010400641604223866, "Food & Dining": 0.00020778045846712526, "Games & Gaming": 0.00027002911912163576, "Electronics & Hardware": 0.000596773504780349, "Health, Healthcare & Wellness": 0.005874454916444575, "History & Geography": 0.00010276387465556169, "Home, Pets & Hobbies": 0.003514983603851869, "Industry & Production": 0.00012834500751326606, "Language, Literature & Philosophy": 9.638561581273074e-05, "Politics & Government": 6.192099180445728e-05, "Religion & Spirituality": 8.23020949198867e-05, "Science, Mathematics & Engineering": 0.0003644235704899309, "Relationships & Community": 4.9410345330944324e-05, "Software Usage & Applications": 0.026592132776944003, "Programming & Software Engineering": 0.9589542598614147, "Sports & Fitness": 0.0001537865131493027, "Vehicles & Transportation": 6.834095530540282e-05, "Travel & Tourism": 0.00010751110784103074, "Other / Uncovered Subject": 0.0006860660441708591, "Unknown / Insufficient Content": 0.0004407831089037781}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0008341086896806978, "Art & Design": 0.0005200283972273131, "Law & Crime": 0.000625821705295759, "Education & Careers": 0.0003687054174019533, "Entertainment & Media": 0.0006060346609164803, "Fashion & Beauty": 0.0003366351913052114, "Business, Economics & Finance": 0.0024423407127098754, "Food & Dining": 0.0006734880844298724, "Games & Gaming": 0.0005571877523331474, "Electronics & Hardware": 0.0017895815349820447, "Health, Healthcare & Wellness": 0.017370207212820142, "History & Geography": 0.0003672509842774682, "Home, Pets & Hobbies": 0.016589252985774256, "Industry & Production": 0.0003056096683406261, "Language, Literature & Philosophy": 0.00022265553218931471, "Politics & Government": 0.00026139419849407374, "Religion & Spirituality": 0.00032693959526454045, "Science, Mathematics & Engineering": 0.0009368571216445536, "Relationships & Community": 0.0001639729479825062, "Software Usage & Applications": 0.07339589988396056, "Programming & Software Engineering": 0.031726265151286764, "Sports & Fitness": 0.00034064719456702365, "Vehicles & Transportation": 0.00017549444074799422, "Travel & Tourism": 0.0003626910637883594, "Other / Uncovered Subject": 0.0016640836922771857, "NONE": 0.8470368461803024}}, "probabilities": {"primary": {"Academic Writing": 5.3859687046106246e-05, "Content Listing": 3.478303456282091e-05, "Creative Writing": 3.585907914689605e-05, "Customer Support Page": 9.263599053193996e-05, "Q&A Forum": 2.406928643095519e-05, "Discussion Thread": 1.593570372822876e-05, "Comment Section": 3.1767277748028654e-05, "Missing Content": 5.161828957965099e-05, "Knowledge Article": 0.00029070047904023133, "Legal Notices": 5.996220856172514e-05, "News Article": 1.1512781727378472e-05, "Organizational Announcement": 2.4451750193196247e-05, "Nonfiction Writing": 2.3250681433139597e-05, "Organizational About Page": 2.993416400885522e-05, "Personal About Page": 2.9093441034387322e-05, "Personal Blog": 1.5052754465720764e-05, "Product Page": 1.6791968547919505e-05, "Spam / Ads": 2.520777848241303e-05, "Structured Data": 0.00032655233395539895, "Technical Writing": 0.9910594398724574, "Transcript / Interview": 3.6891634281608935e-05, "Tutorial / How-To Guide": 0.004483965090911967, "User Reviews": 1.5300098855083654e-05, "Other / Unknown": 0.003211364613269044}, "secondary": {"Academic Writing": 0.00034074098571455807, "Content Listing": 0.0002510300159796399, "Creative Writing": 0.00025949402593304665, "Customer Support Page": 0.002499348864229983, "Q&A Forum": 0.0001481789897039799, "Discussion Thread": 0.00010376197748584204, "Comment Section": 0.00021799218996708167, "Missing Content": 0.0004351077445884922, "Knowledge Article": 0.00136709127572725, "Legal Notices": 0.0003219464389468854, "News Article": 0.00014704954986482783, "Organizational Announcement": 0.00018527665416649106, "Nonfiction Writing": 0.0001621179712134561, "Organizational About Page": 0.00020366899713241857, "Personal About Page": 0.00016031437547595705, "Personal Blog": 0.00013542563733183485, "Product Page": 0.00011528151994251679, "Spam / Ads": 0.00019467936811926753, "Structured Data": 0.0012365661251902435, "Technical Writing": 0.03230216349973214, "Transcript / Interview": 0.0002433322755889653, "Tutorial / How-To Guide": 0.03846688545401785, "User Reviews": 8.57984000380417e-05, "NONE": 0.9204167476639092}, "tertiary": {"Academic Writing": 0.00017853759927156555, "Content Listing": 0.0001421957126490794, "Creative Writing": 0.00014189430385774953, "Customer Support Page": 0.0012454231978668683, "Q&A Forum": 6.421600322346682e-05, "Discussion Thread": 5.270399119807498e-05, "Comment Section": 0.00016193792200237656, "Missing Content": 0.0003871358036134383, "Knowledge Article": 0.0012853273073016726, "Legal Notices": 0.00029233470199201345, "News Article": 7.425061257664429e-05, "Organizational Announcement": 0.00010500870195767571, "Nonfiction Writing": 0.00010271307650480652, "Organizational About Page": 0.00014246318023529005, "Personal About Page": 8.428759018421674e-05, "Personal Blog": 7.396117213901725e-05, "Product Page": 6.817275305110894e-05, "Spam / Ads": 0.00011433856328382891, "Structured Data": 0.00076325803220681, "Technical Writing": 0.015478412078362723, "Transcript / Interview": 0.0001274972715886254, "Tutorial / How-To Guide": 0.028802407334899856, "User Reviews": 4.525235405742031e-05, "NONE": 0.9500662707359757}, "structured_records": {"false": 0.9980113344934547, "true": 0.001988665506545337}, "procedural_steps": {"false": 0.8788306806350833, "true": 0.12116931936491666}, "worked_solution": {"false": 0.9984641616276505, "true": 0.00153583837234951}, "contextual_dialogue": {"false": 0.9999931279453083, "true": 6.872054691726981e-06}, "content_quality": {"-2": 0.011455485704552487, "-1": 0.051487732083877635, "0": 0.2751083091688369, "1": 0.47718677432474943, "2": 0.18476169871798354}, "noise_severity": {"0": 0.8716098939971904, "1": 0.11068855352875713, "2": 0.014110273080971293, "3": 0.002326512689257721, "4": 0.001264766703823457}, "missing_content_severity": {"0": 0.9889699766518761, "1": 0.00802712894148743, "2": 0.0021944468012174813, "3": 0.0005373888342310359, "4": 0.000271058771187925}, "factual_density": {"0": 0.007225542847781462, "1": 0.03260886514366729, "2": 0.2239423675143196, "3": 0.4265339873371636, "4": 0.30968923715706803}, "pretraining_utility": {"-2": 0.011381756788114579, "-1": 0.14898929972475639, "0": 0.4785952414822955, "1": 0.3146691517322315, "2": 0.04636455027260216}, "math_density": {"0": 0.9968128067148521, "1": 0.002683427579108403, "2": 0.00019426286102114596, "3": 0.00010846293150191143, "4": 0.00020103991351639312}, "code_density": {"0": 0.0004686342645449369, "1": 0.0009038474396589596, "2": 0.015683374075730627, "3": 0.10765541842653677, "4": 0.8752887257935287}, "reasoning_density": {"0": 0.5681522120105378, "1": 0.19926337548941267, "2": 0.18037828276060403, "3": 0.03740184714674323, "4": 0.014804282592702406}, "education_level": {"none": 0.0014331964480900738, "0": 0.003108612024323076, "1": 0.048614817769852076, "2": 0.699302380113819, "3": 0.23159811054367815, "4": 0.015942883100237632}, "creative_writing_quality": {"not_applicable": 0.9990036309949974, "-2": 9.381288497661509e-05, "-1": 0.00022841078054770906, "0": 0.0005120800977408007, "1": 0.0001237874342164559, "2": 3.827780752102398e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 9.502201539929062e-05, "Art & Design": 0.00012295214575760703, "Law & Crime": 0.00011100467319966733, "Education & Careers": 9.928791657127851e-05, "Entertainment & Media": 8.993162412575576e-05, "Fashion & Beauty": 8.92839936026236e-05, "Business, Economics & Finance": 0.0010400641604223866, "Food & Dining": 0.00020778045846712526, "Games & Gaming": 0.00027002911912163576, "Electronics & Hardware": 0.000596773504780349, "Health, Healthcare & Wellness": 0.005874454916444575, "History & Geography": 0.00010276387465556169, "Home, Pets & Hobbies": 0.003514983603851869, "Industry & Production": 0.00012834500751326606, "Language, Literature & Philosophy": 9.638561581273074e-05, "Politics & Government": 6.192099180445728e-05, "Religion & Spirituality": 8.23020949198867e-05, "Science, Mathematics & Engineering": 0.0003644235704899309, "Relationships & Community": 4.9410345330944324e-05, "Software Usage & Applications": 0.026592132776944003, "Programming & Software Engineering": 0.9589542598614147, "Sports & Fitness": 0.0001537865131493027, "Vehicles & Transportation": 6.834095530540282e-05, "Travel & Tourism": 0.00010751110784103074, "Other / Uncovered Subject": 0.0006860660441708591, "Unknown / Insufficient Content": 0.0004407831089037781}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0008341086896806976, "Art & Design": 0.000520028397227313, "Law & Crime": 0.0006258217052957589, "Education & Careers": 0.0003687054174019532, "Entertainment & Media": 0.0006060346609164802, "Fashion & Beauty": 0.00033663519130521137, "Business, Economics & Finance": 0.002442340712709875, "Food & Dining": 0.0006734880844298722, "Games & Gaming": 0.0005571877523331473, "Electronics & Hardware": 0.0017895815349820443, "Health, Healthcare & Wellness": 0.01737020721282014, "History & Geography": 0.0003672509842774681, "Home, Pets & Hobbies": 0.016589252985774253, "Industry & Production": 0.00030560966834062604, "Language, Literature & Philosophy": 0.00022265553218931466, "Politics & Government": 0.0002613941984940737, "Religion & Spirituality": 0.0003269395952645404, "Science, Mathematics & Engineering": 0.0009368571216445534, "Relationships & Community": 0.00016397294798250618, "Software Usage & Applications": 0.07339589988396054, "Programming & Software Engineering": 0.03172626515128676, "Sports & Fitness": 0.0003406471945670236, "Vehicles & Transportation": 0.0001754944407479942, "Travel & Tourism": 0.00036269106378835936, "Other / Uncovered Subject": 0.0016640836922771852, "NONE": 0.8470368461803022}}, "probability_diagnostics": {"primary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "tertiary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "structured_records": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "procedural_steps": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "worked_solution": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "contextual_dialogue": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "content_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "noise_severity": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "missing_content_severity": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "factual_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "pretraining_utility": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "math_density": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "code_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "reasoning_density": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "education_level": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "creative_writing_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "primary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary_topic": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}}, "usage": {"input_tokens": 9596, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 9596, "cached_share": null, "cache_discount_reported": null, "reported_cost_usd": null}, "response_metadata": {"model": "decision-models/baseten-mammoth-27b-latest"}, "scored_at_utc": "2026-10-25T18:37:06.396899+00:00", "scoring_key_slot": "assistant_1", "dataset_uid": "1deeb8bd-869d-400b-b4fb-5bb4f164ef33", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "cedeabfb7d3101dc9f5ea35cc17505d13b949695c87e7d30ee7cd1d14a83c049", "source_metadata": {"uuid": "1deeb8bd-869d-400b-b4fb-5bb4f164ef33", "repo_name": "mikeavila/petclinic", "relative_path": "appointments/rapla/raplaserver.sh", "category": "TOOL", "algo_rel_score": 0.9957544803619385, "quality_score": 3.566680908203125, "source_meta": {"github_metadata": {"branch": "master", "commit_count": 24, "repo_created_at": "2016-01-21T02:24:01.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 8, "forks": 2, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "57f6e986921a483a4d7f9f16c806c855de2445ac", "size_bytes": 3894, "file_timestamp": 1460852195, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "35a620e42c49a480cf03eed6398fe9a7833c714d"}}, "parsed_source_meta": {"github_metadata": {"branch": "master", "commit_count": 24, "repo_created_at": "2016-01-21T02:24:01.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 8, "forks": 2, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "57f6e986921a483a4d7f9f16c806c855de2445ac", "size_bytes": 3894, "file_timestamp": 1460852195, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "35a620e42c49a480cf03eed6398fe9a7833c714d", "url": "https://github.com/mikeavila/petclinic/blob/35a620e42c49a480cf03eed6398fe9a7833c714d/appointments/rapla/raplaserver.sh"}, "gpt4o_tokens": 1041, "dataset_split": "shell", "probability_weighted_scores": {"content_quality": 0.7723114682677339, "noise_severity": 0.15094770457376672, "missing_content_severity": 0.0151124241313672, "factual_density": 2.9988525108120694, "pretraining_utility": 0.23564543897645027, "math_density": 0.004201501749722002, "code_density": 3.856391754044845, "reasoning_density": 0.7314426128216599, "education_level": 2.2089513031912125, "creative_writing_quality": -0.21647953735962658}, "score_applicability": {"education_level": 0.9985668035519099, "creative_writing_quality": 0.0009963690050026049}} {"source_group": "shell", "source": "openbmb/UltraData-Stack-v3-L2/shell", "domain": "github.com", "language": "shell", "url": "https://github.com/IBM/photorealistic-blocksworld/blob/27df8d8bc04fbc9f6ee3af668351838f21cff3d0/generate-dataset.sh", "id": "shell-0-1e0ae3094eb85794b4252612cbe478f7", "text": "#!/bin/bash\n\nif [ -z \"$@\" ]\nthen\n\n cat <&2\n\n\n Usage: generate_all.sh [objs] [num_transitions] [num_samples_per_state] [num_jobs] [gpu] [suffix]\n \n objs: specity the number of objects, default = 2\n \n num_transitions: The number of images to be rendered in total.\n\n num_samples_per_state: The number of images to generate for each logical state. There are jitter in the object, camera, light placemnet.\n \n num_jobs: how many jobs to use (default: 1). When the number is larger than 1, it switches to the distributed mode.\n \n gpu: if true, use the gpu. default : true.\n \n suffix: arbitrary string to be attached to the name of the output directory.\n\n\n Generate scenes randomly and render them.\n It reads an environment variable $SUBMIT as a job submission command template.\n It defaults to jbsub, which is a close-sourced script available in a particular compute cluster of the author.\n \n Use it like this: SUBMIT=\"qsub -V -b n -cwd\" ./generate_all.sh 3 30000 50\n \nEOF\n exit 1\nfi\n\nexport objs=${1:-3} ; shift 1\nexport num_transitions=${1:-200} ; shift 1\nexport num_samples_per_state=${1:-3} ; shift 1\nexport num_jobs=${1:-1} ; shift 1\nexport gpu=${1:-true} ; shift 1\nexport suffix=$1 ; shift 1\n\nif [ $num_jobs -gt 1 ]\nthen\n export distributed=true\nelse\n export distributed=false\nfi\nexport dir=\"cylinders-$objs$suffix\"\nexport proj=render-$dir\nexport use_gpu=\"\"\nif $gpu\nthen\n export use_gpu=\"--use-gpu 1\"\nfi\n \n\nSUBMIT=${SUBMIT:-\"jbsub -mem 4g -cores 1+1 -queue x86_6h -proj $proj -require 'v100||a100'\"}\n\njob (){\n output_dir=$1\n start_idx=$2\n num_transitions=$3\n blenderdir=$(ls -d blender-2.*/ | tail -n 1)\n $blenderdir/blender -noaudio --background --python render_images.py -- \\\n --properties-json data/cylinders-properties.json \\\n --render-num-samples 150 \\\n --width 150 \\\n --height 100 \\\n --num-objects $objs \\\n $use_gpu \\\n --output-dir $output_dir \\\n --randomize-colors \\\n --key-light-jitter 1.0 \\\n --fill-light-jitter 1.0 \\\n --back-light-jitter 1.0 \\\n --camera-jitter 0.5 \\\n --object-jitter 0.1 \\\n --start-idx $start_idx \\\n --num-transitions $num_transitions \\\n --num-samples-per-state $num_samples_per_state\n ./extract_all_regions_binary.py --num-samples-per-state $num_samples_per_state --out $output_dir-objs.npz --resize 16 16 $output_dir\n ./extract_all_regions_binary.py --num-samples-per-state $num_samples_per_state --out $output_dir-bgnd.npz --resize 16 16 --include-background $output_dir\n ./extract_all_regions_binary.py --num-samples-per-state $num_samples_per_state --out $output_dir-flat.npz --resize 30 45 --include-background --exclude-objects $output_dir\n ./extract_all_regions_binary.py --num-samples-per-state $num_samples_per_state --out $output_dir-high.npz --resize 80 120 --include-background --exclude-objects $output_dir\n}\n\nexport -f job\n# for parallel to recognize the shell function\nexport SHELL=/bin/bash\n\nif $distributed\nthen\n num_transitions_per_job=$((num_transitions/num_jobs))\n parallel \"$SUBMIT job $dir/{} {} $num_transitions_per_job\" ::: $(seq 0 $num_transitions_per_job $((num_transitions-num_transitions_per_job)))\n echo \"Run the following command when all jobs have finished:\"\n echo \"./merge-npz.py --out $dir-objs.npz $dir/*-objs.npz\"\n echo \"./merge-npz.py --out $dir-bgnd.npz $dir/*-bgnd.npz\"\n echo \"./merge-npz.py --out $dir-flat.npz $dir/*-flat.npz\"\nelse\n job $dir 0 $num_transitions\nfi\n", "text_preview": "#!/bin/bash if [ -z \"$@\" ] then cat <&2 Usage: generate_all.sh [objs] [num_transitions] [num_samples_per_state] [num_jobs] [gpu] [suffix] objs: specity the number of objects, default = 2 num_transitions: The number of images to be ren", "input_sha256": "a85469426b7499d855f69297044cb98299c8e148b35df0860480e04e27c6a8ce", "text_sha256": "1e0ae3094eb85794b4252612cbe478f753668bda4a648e8417be8d868acf662a", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 20113, "input_policy": "text-and-optional-url-v1", "label_policy_version": 12, "requested_model": "decision-models/baseten-mammoth-27b-latest", "backend": "baseten", "endpoint": "https://inference.baseten.co/v1/systemone", "status": "ok", "training_eligible": true, "label": {"primary": {"main_format": "Technical Writing", "sub_format": null}, "secondary": null, "tertiary": null, "content_structure": []}, "candidate_label": null, "topic": {"primary": {"main_topic": "Programming & Software Engineering", "sub_topic": null}, "secondary": null}, "scores": {"content_quality": 1, "noise_severity": 0, "missing_content_severity": 0, "factual_density": 4, "pretraining_utility": 1, "math_density": 0, "code_density": 4, "reasoning_density": 0, "education_level": 2, "creative_writing_quality": null}, "score_expectations": {"content_quality": 0.7532024990946062, "noise_severity": 0.023601952878834462, "missing_content_severity": 0.009319946282821784, "factual_density": 3.223270846703757, "pretraining_utility": 0.45651597178670783, "math_density": 0.4381701504821649, "code_density": 3.690201905532162, "reasoning_density": 0.2748119993939208, "education_level": 2.4996189425684765, "creative_writing_quality": -0.31072482342862484}, "api_choices": {"primary": "Technical Writing", "secondary": "NONE", "tertiary": "NONE", "education_level": "2", "creative_writing_quality": "not_applicable", "primary_topic": "Programming & Software Engineering", "secondary_topic": "NONE"}, "review_reasons": [], "format_slot_diagnostics": {"comparable": true, "secondary_tertiary_identical": false, "secondary_tertiary_max_abs_gap": 0.126026522702673, "secondary_choice": "NONE", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.9775553175889831, "secondary": 0.7112767140963255, "tertiary": 0.8427826508295494, "structured_records": 0.003595180569093488, "procedural_steps": 0.39633372525336835, "worked_solution": 0.001952614730805649, "contextual_dialogue": 5.554718492485991e-06, "content_quality": 0.5038201704339149, "noise_severity": 0.9803317059343046, "missing_content_severity": 0.9922333780976486, "factual_density": 0.35272570558646443, "pretraining_utility": 0.4284442809511846, "math_density": 0.6348582079315293, "code_density": 0.7418349212768018, "reasoning_density": 0.7709900005050659, "education_level": 0.4721895477762881, "creative_writing_quality": 0.9988755583004777, "primary_topic": 0.9424430807764315, "secondary_topic": 0.6093481708173121}, "probability_margin": {"primary": 0.9617422985928806, "secondary": 0.5326811732654373, "tertiary": 0.7507048659786567, "education_level": 0.2286549430340884, "creative_writing_quality": 0.9986240013671879, "primary_topic": 0.9121519604688682, "secondary_topic": 0.44050053265254274}, "raw_probabilities": {"primary": {"Academic Writing": 0.00010159917827860659, "Content Listing": 6.401598571032462e-05, "Creative Writing": 4.799972048926782e-05, "Customer Support Page": 6.0743596423967876e-05, "Q&A Forum": 3.662095501818826e-05, "Discussion Thread": 2.6044869732330226e-05, "Comment Section": 3.8874324016145e-05, "Missing Content": 5.7850089496231596e-05, "Knowledge Article": 0.00025111588868173546, "Legal Notices": 5.478215128512459e-05, "News Article": 1.8450691997834365e-05, "Organizational Announcement": 3.9766060110956196e-05, "Nonfiction Writing": 3.8068239533859296e-05, "Organizational About Page": 4.3921012495166816e-05, "Personal About Page": 3.3103559456643e-05, "Personal Blog": 2.3712190201321177e-05, "Product Page": 2.677520870428046e-05, "Spam / Ads": 3.576939068890634e-05, "Structured Data": 0.000449566537264906, "Technical Writing": 0.9784905126894421, "Transcript / Interview": 5.963350656125923e-05, "Tutorial / How-To Guide": 0.016748214096561412, "User Reviews": 2.1494130315718677e-05, "Other / Unknown": 0.003231365927533554}, "secondary": {"Academic Writing": 0.0009262879025314331, "Content Listing": 0.0004493281687982485, "Creative Writing": 0.0004803021301408253, "Customer Support Page": 0.001336641374121904, "Q&A Forum": 0.00038617678064471636, "Discussion Thread": 0.0002608269891474303, "Comment Section": 0.0004260009959455803, "Missing Content": 0.0006150107052616562, "Knowledge Article": 0.00198490592836065, "Legal Notices": 0.0004460611245082808, "News Article": 0.0003317806670210329, "Organizational Announcement": 0.0003892863416941965, "Nonfiction Writing": 0.00047428989922060263, "Organizational About Page": 0.00048451279897906193, "Personal About Page": 0.0003819522367117188, "Personal Blog": 0.00030281675246311354, "Product Page": 0.00030342801198079115, "Spam / Ads": 0.00036857294271260455, "Structured Data": 0.00108094267075995, "Technical Writing": 0.07372573674395558, "Transcript / Interview": 0.0006890506578749794, "Tutorial / How-To Guide": 0.19062567774354136, "User Reviews": 0.00022355942464565175, "NONE": 0.7233068510089786}, "tertiary": {"Academic Writing": 0.0006336228113234172, "Content Listing": 0.00019800005182398376, "Creative Writing": 0.0002320439400713353, "Customer Support Page": 0.0010570128644085558, "Q&A Forum": 0.00013688020995355615, "Discussion Thread": 0.00010278947423869867, "Comment Section": 0.00022469524350946635, "Missing Content": 0.00041160730678945113, "Knowledge Article": 0.0022198525652019486, "Legal Notices": 0.00035522957385422926, "News Article": 0.00013054986746635552, "Organizational Announcement": 0.00018237749478425865, "Nonfiction Writing": 0.00026684874496355165, "Organizational About Page": 0.0002092152114192306, "Personal About Page": 0.0001566028529810125, "Personal Blog": 0.00014886289113470212, "Product Page": 0.0001340887681927649, "Spam / Ads": 0.0001639649891093079, "Structured Data": 0.0008236838333038105, "Technical Writing": 0.04391887214789914, "Transcript / Interview": 0.0002508619975565393, "Tutorial / How-To Guide": 0.09862850773299485, "User Reviews": 8.045571536819807e-05, "NONE": 0.8493333737116515}, "structured_records": {"false": 0.9964048194309065, "true": 0.003595180569093488}, "procedural_steps": {"false": 0.6036662747466317, "true": 0.39633372525336835}, "worked_solution": {"false": 0.9980473852691943, "true": 0.001952614730805649}, "contextual_dialogue": {"false": 0.9999944452815075, "true": 5.554718492485991e-06}, "content_quality": {"-2": 0.010869129955302719, "-1": 0.05412864125232571, "0": 0.2802419758217883, "1": 0.4804511056836291, "2": 0.17430914728695412}, "noise_severity": {"0": 0.9794853567581113, "1": 0.01833337883114548, "2": 0.0015069957914122692, "3": 0.0004424920124593663, "4": 0.0002317766068715864}, "missing_content_severity": {"0": 0.9936008431588506, "1": 0.004328591625409786, "2": 0.0013602915435242074, "3": 0.0005703231184979785, "4": 0.00013995055371741132}, "factual_density": {"0": 0.004552584058133755, "1": 0.014796302580101717, "2": 0.152695772918392, "3": 0.4087383634866184, "4": 0.4192169769567541}, "pretraining_utility": {"-2": 0.010224459500886606, "-1": 0.1009523689038813, "0": 0.382097329225513, "1": 0.4355344250470761, "2": 0.07119141732264317}, "math_density": {"0": 0.6621921317065398, "1": 0.2857804080089131, "2": 0.023123313462254644, "3": 0.009473471740427487, "4": 0.019430675081865013}, "code_density": {"0": 0.0006053943175494667, "1": 0.0012864003298017376, "2": 0.031942286854443336, "3": 0.2396327424993481, "4": 0.7265331759988574}, "reasoning_density": {"0": 0.8033134356162112, "1": 0.1285118799472935, "2": 0.06034177481745327, "3": 0.005715068664447993, "4": 0.00211784095459422}, "education_level": {"none": 0.0012162658601521327, "0": 0.0023909199890562722, "1": 0.012391196270431249, "2": 0.56015795648024, "3": 0.33150301344615163, "4": 0.09234064795396886}, "creative_writing_quality": {"not_applicable": 0.9990629652503981, "-2": 0.00010792847719886076, "-1": 0.00025237065090398677, "0": 0.0004389638832101952, "1": 9.847582839247396e-05, "2": 3.929590989635374e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 0.00010322755423227451, "Art & Design": 0.003058095480854423, "Law & Crime": 0.00015403077116627687, "Education & Careers": 9.603045900174066e-05, "Entertainment & Media": 0.00018797664745695097, "Fashion & Beauty": 9.828858497197585e-05, "Business, Economics & Finance": 0.0001321114176143081, "Food & Dining": 7.761098635323478e-05, "Games & Gaming": 0.012124740586722258, "Electronics & Hardware": 0.001130050364224737, "Health, Healthcare & Wellness": 0.00012040324118894586, "History & Geography": 0.00014935383125921298, "Home, Pets & Hobbies": 8.841873683508898e-05, "Industry & Production": 0.00015411239306288997, "Language, Literature & Philosophy": 9.468484006184805e-05, "Politics & Government": 5.937424237161457e-05, "Religion & Spirituality": 8.481546979012749e-05, "Science, Mathematics & Engineering": 0.03250484797000826, "Relationships & Community": 4.2648984506239216e-05, "Software Usage & Applications": 0.0032142258238547217, "Programming & Software Engineering": 0.9446568084388764, "Sports & Fitness": 0.00013511556087439114, "Vehicles & Transportation": 6.857014375480776e-05, "Travel & Tourism": 0.00010461533188595582, "Other / Uncovered Subject": 0.0011990770478738204, "Unknown / Insufficient Content": 0.0001607650911979069}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0009964850541757282, "Art & Design": 0.031687187451615056, "Law & Crime": 0.0009239327052592082, "Education & Careers": 0.0006445471838915823, "Entertainment & Media": 0.0030961301934298033, "Fashion & Beauty": 0.0005129323600210885, "Business, Economics & Finance": 0.0009442794163497361, "Food & Dining": 0.00047649961812555944, "Games & Gaming": 0.01417607048510127, "Electronics & Hardware": 0.018264068588398606, "Health, Healthcare & Wellness": 0.0007281921360422592, "History & Geography": 0.0006785112145100002, "Home, Pets & Hobbies": 0.0004828443690526273, "Industry & Production": 0.0005560203001660773, "Language, Literature & Philosophy": 0.00038657546365967137, "Politics & Government": 0.0004515432261088373, "Religion & Spirituality": 0.0006474124480195211, "Science, Mathematics & Engineering": 0.18387270851794968, "Relationships & Community": 0.00029297102355400266, "Software Usage & Applications": 0.027190683410100926, "Programming & Software Engineering": 0.08503262050773708, "Sports & Fitness": 0.0005706359392436666, "Vehicles & Transportation": 0.00030592705173622305, "Travel & Tourism": 0.0006719125713941533, "Other / Uncovered Subject": 0.0020360675938651154, "NONE": 0.6243732411704924}}, "probabilities": {"primary": {"Academic Writing": 0.00010159917827860661, "Content Listing": 6.401598571032463e-05, "Creative Writing": 4.7999720489267835e-05, "Customer Support Page": 6.074359642396789e-05, "Q&A Forum": 3.662095501818827e-05, "Discussion Thread": 2.6044869732330233e-05, "Comment Section": 3.8874324016145004e-05, "Missing Content": 5.785008949623161e-05, "Knowledge Article": 0.0002511158886817355, "Legal Notices": 5.4782151285124603e-05, "News Article": 1.8450691997834368e-05, "Organizational Announcement": 3.97660601109562e-05, "Nonfiction Writing": 3.80682395338593e-05, "Organizational About Page": 4.392101249516682e-05, "Personal About Page": 3.3103559456643004e-05, "Personal Blog": 2.3712190201321184e-05, "Product Page": 2.6775208704280468e-05, "Spam / Ads": 3.5769390688906346e-05, "Structured Data": 0.0004495665372649061, "Technical Writing": 0.9784905126894423, "Transcript / Interview": 5.9633506561259244e-05, "Tutorial / How-To Guide": 0.016748214096561416, "User Reviews": 2.149413031571868e-05, "Other / Unknown": 0.0032313659275335547}, "secondary": {"Academic Writing": 0.0009262879025314331, "Content Listing": 0.0004493281687982485, "Creative Writing": 0.0004803021301408253, "Customer Support Page": 0.001336641374121904, "Q&A Forum": 0.00038617678064471636, "Discussion Thread": 0.0002608269891474303, "Comment Section": 0.0004260009959455803, "Missing Content": 0.0006150107052616562, "Knowledge Article": 0.00198490592836065, "Legal Notices": 0.0004460611245082808, "News Article": 0.0003317806670210329, "Organizational Announcement": 0.0003892863416941965, "Nonfiction Writing": 0.00047428989922060263, "Organizational About Page": 0.00048451279897906193, "Personal About Page": 0.0003819522367117188, "Personal Blog": 0.00030281675246311354, "Product Page": 0.00030342801198079115, "Spam / Ads": 0.00036857294271260455, "Structured Data": 0.00108094267075995, "Technical Writing": 0.07372573674395558, "Transcript / Interview": 0.0006890506578749794, "Tutorial / How-To Guide": 0.19062567774354136, "User Reviews": 0.00022355942464565175, "NONE": 0.7233068510089786}, "tertiary": {"Academic Writing": 0.0006336228113234173, "Content Listing": 0.00019800005182398379, "Creative Writing": 0.00023204394007133534, "Customer Support Page": 0.001057012864408556, "Q&A Forum": 0.00013688020995355617, "Discussion Thread": 0.00010278947423869868, "Comment Section": 0.00022469524350946638, "Missing Content": 0.0004116073067894512, "Knowledge Article": 0.002219852565201949, "Legal Notices": 0.0003552295738542293, "News Article": 0.00013054986746635554, "Organizational Announcement": 0.00018237749478425868, "Nonfiction Writing": 0.0002668487449635517, "Organizational About Page": 0.00020921521141923063, "Personal About Page": 0.00015660285298101253, "Personal Blog": 0.00014886289113470215, "Product Page": 0.00013408876819276491, "Spam / Ads": 0.00016396498910930792, "Structured Data": 0.0008236838333038106, "Technical Writing": 0.04391887214789915, "Transcript / Interview": 0.00025086199755653934, "Tutorial / How-To Guide": 0.09862850773299486, "User Reviews": 8.045571536819808e-05, "NONE": 0.8493333737116516}, "structured_records": {"false": 0.9964048194309065, "true": 0.003595180569093488}, "procedural_steps": {"false": 0.6036662747466317, "true": 0.39633372525336835}, "worked_solution": {"false": 0.9980473852691943, "true": 0.001952614730805649}, "contextual_dialogue": {"false": 0.9999944452815075, "true": 5.554718492485991e-06}, "content_quality": {"-2": 0.01086912995530272, "-1": 0.054128641252325714, "0": 0.28024197582178834, "1": 0.48045110568362914, "2": 0.17430914728695415}, "noise_severity": {"0": 0.9794853567581113, "1": 0.01833337883114548, "2": 0.0015069957914122692, "3": 0.0004424920124593663, "4": 0.0002317766068715864}, "missing_content_severity": {"0": 0.9936008431588507, "1": 0.004328591625409787, "2": 0.0013602915435242076, "3": 0.0005703231184979786, "4": 0.00013995055371741135}, "factual_density": {"0": 0.004552584058133755, "1": 0.014796302580101717, "2": 0.152695772918392, "3": 0.4087383634866184, "4": 0.4192169769567541}, "pretraining_utility": {"-2": 0.010224459500886605, "-1": 0.10095236890388128, "0": 0.38209732922551287, "1": 0.435534425047076, "2": 0.07119141732264316}, "math_density": {"0": 0.6621921317065398, "1": 0.2857804080089131, "2": 0.023123313462254644, "3": 0.009473471740427487, "4": 0.019430675081865013}, "code_density": {"0": 0.0006053943175494667, "1": 0.0012864003298017376, "2": 0.031942286854443336, "3": 0.2396327424993481, "4": 0.7265331759988574}, "reasoning_density": {"0": 0.8033134356162109, "1": 0.12851187994729346, "2": 0.06034177481745326, "3": 0.0057150686644479925, "4": 0.0021178409545942194}, "education_level": {"none": 0.0012162658601521325, "0": 0.002390919989056272, "1": 0.012391196270431245, "2": 0.5601579564802399, "3": 0.3315030134461516, "4": 0.09234064795396885}, "creative_writing_quality": {"not_applicable": 0.9990629652503982, "-2": 0.00010792847719886078, "-1": 0.0002523706509039868, "0": 0.00043896388321019525, "1": 9.847582839247397e-05, "2": 3.929590989635375e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 0.00010322755423227447, "Art & Design": 0.0030580954808544216, "Law & Crime": 0.0001540307711662768, "Education & Careers": 9.603045900174061e-05, "Entertainment & Media": 0.0001879766474569509, "Fashion & Beauty": 9.828858497197581e-05, "Business, Economics & Finance": 0.00013211141761430804, "Food & Dining": 7.761098635323474e-05, "Games & Gaming": 0.012124740586722253, "Electronics & Hardware": 0.0011300503642247366, "Health, Healthcare & Wellness": 0.0001204032411889458, "History & Geography": 0.00014935383125921293, "Home, Pets & Hobbies": 8.841873683508894e-05, "Industry & Production": 0.00015411239306288989, "Language, Literature & Philosophy": 9.468484006184801e-05, "Politics & Government": 5.937424237161454e-05, "Religion & Spirituality": 8.481546979012745e-05, "Science, Mathematics & Engineering": 0.032504847970008244, "Relationships & Community": 4.2648984506239196e-05, "Software Usage & Applications": 0.0032142258238547204, "Programming & Software Engineering": 0.944656808438876, "Sports & Fitness": 0.0001351155608743911, "Vehicles & Transportation": 6.857014375480773e-05, "Travel & Tourism": 0.00010461533188595578, "Other / Uncovered Subject": 0.00119907704787382, "Unknown / Insufficient Content": 0.0001607650911979068}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0009964850541757284, "Art & Design": 0.03168718745161506, "Law & Crime": 0.0009239327052592083, "Education & Careers": 0.0006445471838915824, "Entertainment & Media": 0.0030961301934298037, "Fashion & Beauty": 0.0005129323600210886, "Business, Economics & Finance": 0.0009442794163497362, "Food & Dining": 0.0004764996181255595, "Games & Gaming": 0.014176070485101272, "Electronics & Hardware": 0.01826406858839861, "Health, Healthcare & Wellness": 0.0007281921360422593, "History & Geography": 0.0006785112145100003, "Home, Pets & Hobbies": 0.00048284436905262734, "Industry & Production": 0.0005560203001660774, "Language, Literature & Philosophy": 0.0003865754636596714, "Politics & Government": 0.0004515432261088374, "Religion & Spirituality": 0.0006474124480195212, "Science, Mathematics & Engineering": 0.1838727085179497, "Relationships & Community": 0.0002929710235540027, "Software Usage & Applications": 0.02719068341010093, "Programming & Software Engineering": 0.08503262050773709, "Sports & Fitness": 0.0005706359392436667, "Vehicles & Transportation": 0.0003059270517362231, "Travel & Tourism": 0.0006719125713941534, "Other / Uncovered Subject": 0.002036067593865116, "NONE": 0.6243732411704925}}, "probability_diagnostics": {"primary": {"raw_sum": 0.9999999999999998, "mass_delta": -2.220446049250313e-16, "missing_mass": 2.220446049250313e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "tertiary": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "structured_records": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "procedural_steps": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "worked_solution": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "contextual_dialogue": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "content_quality": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "noise_severity": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "missing_content_severity": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "factual_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "pretraining_utility": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "math_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "code_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "reasoning_density": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "education_level": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "creative_writing_quality": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "primary_topic": {"raw_sum": 1.0000000000000004, "mass_delta": 4.440892098500626e-16, "missing_mass": 0.0, "excess_mass": 4.440892098500626e-16, "valid": true, "normalized": false}, "secondary_topic": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}}, "usage": {"input_tokens": 9579, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 9579, "cached_share": null, "cache_discount_reported": null, "reported_cost_usd": null}, "response_metadata": {"model": "decision-models/baseten-mammoth-27b-latest"}, "scored_at_utc": "2026-10-25T18:37:06.986856+00:00", "scoring_key_slot": "assistant_1", "dataset_uid": "8ea2e3fd-4ad4-4016-b09b-4af3ca4df00e", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "66cfb95b1d5f340d7542eee11325a95f1cf59e647dae1b96b61769a8c7453ee3", "source_metadata": {"uuid": "8ea2e3fd-4ad4-4016-b09b-4af3ca4df00e", "repo_name": "IBM/photorealistic-blocksworld", "relative_path": "generate-dataset.sh", "category": "TOOL", "algo_rel_score": 0.9952972531318665, "quality_score": 4.078394889831543, "source_meta": {"github_metadata": {"branch": "master", "commit_count": 317, "repo_created_at": "2018-09-28T13:54:45.000Z", "is_fork": false, "is_org_owned": true, "forked_from": null, "stars": 24, "forks": 11, "issues": 1, "pull_requests": 1}, "file_meta": {"content_id": "4394330c2a49cda2fe0beb546e38ce204a82db7a", "size_bytes": 3938, "file_timestamp": 1659984446, "language": "shell", "is_vendor": false, "license_type": "permissive", "detected_licenses": ["Apache-2.0"]}, "commit_id": "27df8d8bc04fbc9f6ee3af668351838f21cff3d0"}}, "parsed_source_meta": {"github_metadata": {"branch": "master", "commit_count": 317, "repo_created_at": "2018-09-28T13:54:45.000Z", "is_fork": false, "is_org_owned": true, "forked_from": null, "stars": 24, "forks": 11, "issues": 1, "pull_requests": 1}, "file_meta": {"content_id": "4394330c2a49cda2fe0beb546e38ce204a82db7a", "size_bytes": 3938, "file_timestamp": 1659984446, "language": "shell", "is_vendor": false, "license_type": "permissive", "detected_licenses": ["Apache-2.0"]}, "commit_id": "27df8d8bc04fbc9f6ee3af668351838f21cff3d0", "url": "https://github.com/IBM/photorealistic-blocksworld/blob/27df8d8bc04fbc9f6ee3af668351838f21cff3d0/generate-dataset.sh"}, "gpt4o_tokens": 1017, "dataset_split": "shell", "probability_weighted_scores": {"content_quality": 0.7532024990946062, "noise_severity": 0.023601952878834462, "missing_content_severity": 0.009319946282821784, "factual_density": 3.223270846703757, "pretraining_utility": 0.4565159717867079, "math_density": 0.4381701504821649, "code_density": 3.690201905532162, "reasoning_density": 0.27481199939392087, "education_level": 2.4996189425684765, "creative_writing_quality": -0.31072482342862484}, "score_applicability": {"education_level": 0.9987837341398479, "creative_writing_quality": 0.0009370347496018706}} {"source_group": "shell", "source": "openbmb/UltraData-Stack-v3-L2/shell", "domain": "github.com", "language": "shell", "url": "https://github.com/Jose-xyz/RHCSA-lab-scripts/blob/3f43014aabb628ba10741efb20d223a604f579a8/02ReviewManageUserGroups.sh", "id": "shell-0-09875cf092fa4649f4b03995dda6de52", "text": "\n#!/usr/bin/env bash\n\n# Run script as root \n# learner user account needs to be created\n\n\necho -e \"\\e[1;91m**Run as Root user**\"\n\necho \" \"\n\necho -e \"\\e[1;93mManage Users and Groups Review Check \\e[0m\" \n\n\n\n\n\necho \" \"\n\n#Task 1 \n\ntask1path=\"/home/learner/teamdata\"\ntask1cmd=$(sudo find /home/learner -iname teamdata -type d -perm 2770 -print -quit 2> /dev/null)\n\n\n\necho -e \"\\e[1;93mTask 1\\e[0m\" \n\nif [ \"$task1path\" == \"$task1cmd\" ];\nthen\n\techo -e \"\\e[1;32m[Correct]\\e[0m Successfully created the directory with correct permissions\"\nelse\n\techo -e \"\\e[1;31m[Incorrect]\\e[0m Directory not found\"\nfi\n\nusers=(\"charles\" \"adam\" \"jasmine\")\n\nfor user in \"${users[@]}\";\ndo\n\tif grep -ie \"$user:\" /etc/passwd &> /dev/null;\n\t\n\tthen \n\t\techo -e \"\\e[1;32m[Correct]\\e[0m User '$user' found\"\n\t\n\telse \n\t\techo -e \"\\e[1;31m[Incorrect]\\e[0m User '$user' not found\"\n\tfi\ndone\n\n\n\n#Task 2 - \n\necho -e \"\\e[1;93mTask 2\\e[0m\" \n\nfor user in \"${users[@]}\";\ndo\n\tif id \"$user\" | grep -w \"sysadmins\" &> /dev/null;\n\tthen \n\t\techo -e \"\\e[1;32m[Correct]\\e[0m User '$user' found in 'sysadmins' group\"\t\n\telse \n\t\techo -e \"\\e[1;31m[Incorrect]\\e[0m User '$user' not found in 'sysadmins' group\"\t\n\tfi\ndone\n\ngetgid=$(getent group sysadmins | awk -F: '{print $3}')\ntaskgid=1550\n\n\nif [ \"$getgid\" == \"$taskgid\" ]; \nthen \n\techo -e \"\\e[1;32m[Correct]\\e[0m Gid of \"sysadmins\" is set to 1550\"\t\nelse\n\techo -e \"\\e[1;31m[Incorrect]\\e[0m Gid of \"sysadmins\" is not 1550\"\t\nfi\n\n#Task 3 \n\necho -e \"\\e[1;93mTask 3\\e[0m\" \n\ntask3cmd=$(sudo chage -l jasmine | grep -i max | awk '{ print $9 }')\ntask3goal=90\n\n\nif [ \"$task3cmd\" == \"$task3goal\" ]; \nthen \n\techo -e \"\\e[1;32m[Correct]\\e[0m Jasmine's max password age is 90 days\"\t\nelse\n\techo -e \"\\e[1;31m[Incorrect]\\e[0m Jasmine's max password age is NOT 90 days\"\nfi\n\n\n#Task 4 \n\necho -e \"\\e[1;93mTask 4\\e[0m\" \n\ntask04grep1=$(sudo grep ^%sysadmins /etc/sudoers | awk '{ print $1}')\ntask04grep2=$(sudo grep ^%sysadmins /etc/sudoers | awk '{ print $2}')\ntask04grep3=$(sudo grep ^%sysadmins /etc/sudoers | awk '{ print $3}')\n\n\ntask04p1=\"%sysadmins\"\t\ntask04p2=\"ALL=(ALL)\"\t\ntask04p3=\"NOPASSWD:\"\n\nif [[ \"$task04grep1\" == \"$task04p1\" && \"$task04grep2\" == \"$task04p2\" && \"$task04grep3\" == \"$task04p3\" ]]; \nthen \n\techo -e \"\\e[1;32m[Correct]\\e[0m Sysadmins group super access configured\"\t\nelse\n\techo -e \"\\e[1;31m[Incorrect]\\e[0m Sysadmins group super access NOT configured\"\nfi\n\n#Task 5 \n\n\necho -e \"\\e[1;93mTask 5\\e[0m\" \n\ntask05cmd=$(grep PASS_MIN_DAYS /etc/login.defs | awk 'NR == 2 { print $2; exit}')\ntaskgoal=30\n\nif [ \"$task05cmd\" == \"$taskgoal\" ]; \nthen \n\techo -e \"\\e[1;32m[Correct]\\e[0m Password minimum age configured\"\t\nelse\n\techo -e \"\\e[1;31m[Incorrect]\\e[0m Password minimum age is not 30 days!\"\nfi\n\n\n\n#Author: \n#Created: 03-14-2025\n", "text_preview": "#!/usr/bin/env bash # Run script as root # learner user account needs to be created echo -e \"\\e[1;91m**Run as Root user**\" echo \" \" echo -e \"\\e[1;93mManage Users and Groups Review Check \\e[0m\" echo \" \" #Task 1 task1path=\"/home/learner/teamd", "input_sha256": "8b35adf3fc5a5d7b01afb22eafa1f201080a0a156620cb87ccfe483b8c7c81f2", "text_sha256": "09875cf092fa4649f4b03995dda6de52108c51214d63214a8c2882b9f55f038f", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 20115, "input_policy": "text-and-optional-url-v1", "label_policy_version": 12, "requested_model": "decision-models/baseten-mammoth-27b-latest", "backend": "baseten", "endpoint": "https://inference.baseten.co/v1/systemone", "status": "ok", "training_eligible": true, "label": {"primary": {"main_format": "Technical Writing", "sub_format": null}, "secondary": null, "tertiary": null, "content_structure": []}, "candidate_label": null, "topic": {"primary": {"main_topic": "Programming & Software Engineering", "sub_topic": null}, "secondary": null}, "scores": {"content_quality": 1, "noise_severity": 0, "missing_content_severity": 0, "factual_density": 3, "pretraining_utility": 1, "math_density": 0, "code_density": 4, "reasoning_density": 0, "education_level": 2, "creative_writing_quality": null}, "score_expectations": {"content_quality": 0.40451402643727236, "noise_severity": 0.2467750057306202, "missing_content_severity": 0.04399526513081882, "factual_density": 2.9552189715530393, "pretraining_utility": 0.48806420626128844, "math_density": 0.07045320091454149, "code_density": 3.745582421335734, "reasoning_density": 1.1963064476469658, "education_level": 2.2156689160467407, "creative_writing_quality": -0.399383394775268}, "api_choices": {"primary": "Technical Writing", "secondary": "NONE", "tertiary": "NONE", "education_level": "2", "creative_writing_quality": "not_applicable", "primary_topic": "Programming & Software Engineering", "secondary_topic": "NONE"}, "review_reasons": [], "format_slot_diagnostics": {"comparable": true, "secondary_tertiary_identical": false, "secondary_tertiary_max_abs_gap": 0.056428101412001164, "secondary_choice": "NONE", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.8735132797764763, "secondary": 0.7923700219945299, "tertiary": 0.8512515191200962, "structured_records": 0.028213037370109648, "procedural_steps": 0.04863137011861423, "worked_solution": 0.04269042186175903, "contextual_dialogue": 7.470005209796566e-06, "content_quality": 0.35333916906253127, "noise_severity": 0.7943541618911498, "missing_content_severity": 0.963337279057651, "factual_density": 0.4749069935189263, "pretraining_utility": 0.48801864315115706, "math_density": 0.9412889992378821, "code_density": 0.7879853511131116, "reasoning_density": 0.003077960294195159, "education_level": 0.6649131964475736, "creative_writing_quality": 0.9989615647801672, "primary_topic": 0.9219736804454391, "secondary_topic": 0.6556036673807081}, "probability_margin": {"primary": 0.7665220738252002, "secondary": 0.6704968606474867, "tertiary": 0.7650244772754273, "education_level": 0.49368841427588445, "creative_writing_quality": 0.9987969563379903, "primary_topic": 0.8552999128174483, "secondary_topic": 0.49189305483413986}, "raw_probabilities": {"primary": {"Academic Writing": 0.00024998603416216957, "Content Listing": 0.00028138104489619064, "Creative Writing": 0.00021272504074422568, "Customer Support Page": 0.0001889087654793995, "Q&A Forum": 0.00016843710706657578, "Discussion Thread": 0.00011148232595755572, "Comment Section": 0.000200506639975642, "Missing Content": 0.00018578846305180717, "Knowledge Article": 0.00044410501850336516, "Legal Notices": 0.00014777039161898646, "News Article": 9.016098192258632e-05, "Organizational Announcement": 0.0001359800686049017, "Nonfiction Writing": 0.0001615098975766111, "Organizational About Page": 0.00016542563710991107, "Personal About Page": 0.0001226233702105529, "Personal Blog": 9.913538105378068e-05, "Product Page": 9.419216773704261e-05, "Spam / Ads": 0.00015941055291400263, "Structured Data": 0.00040026077980038815, "Technical Writing": 0.8787835597857898, "Transcript / Interview": 0.00019635209362112337, "Tutorial / How-To Guide": 0.11226148596058963, "User Reviews": 9.100197930356781e-05, "Other / Unknown": 0.005047810512310351}, "secondary": {"Academic Writing": 0.0005831130586068244, "Content Listing": 0.00046028792596080893, "Creative Writing": 0.0004574929975300509, "Customer Support Page": 0.0005327663270814408, "Q&A Forum": 0.0003005940095123287, "Discussion Thread": 0.00016514746018267794, "Comment Section": 0.00039264380195144424, "Missing Content": 0.0005924997016985221, "Knowledge Article": 0.001008011480171375, "Legal Notices": 0.00044308685214739977, "News Article": 0.00022480646593347377, "Organizational Announcement": 0.00026501182547956486, "Nonfiction Writing": 0.0003079393395319154, "Organizational About Page": 0.0002882153093889894, "Personal About Page": 0.0002852024461803648, "Personal Blog": 0.0002635841938278324, "Product Page": 0.0001820088621470892, "Spam / Ads": 0.00030010864153676576, "Structured Data": 0.0008761953417735541, "Technical Writing": 0.05998379335018997, "Transcript / Interview": 0.0003784407587049811, "Tutorial / How-To Guide": 0.1305244104306045, "User Reviews": 0.00016336834176698426, "NONE": 0.8010212710780912}, "tertiary": {"Academic Writing": 0.00027894505432100153, "Content Listing": 0.00023508812909265524, "Creative Writing": 0.00024363815358326306, "Customer Support Page": 0.00030615442242043397, "Q&A Forum": 0.0001343457702687864, "Discussion Thread": 9.630003129556106e-05, "Comment Section": 0.00029240691096282806, "Missing Content": 0.0005074500341414517, "Knowledge Article": 0.0011030991715099592, "Legal Notices": 0.0006027351106042593, "News Article": 0.00012378796442333783, "Organizational Announcement": 0.00013966532699568728, "Nonfiction Writing": 0.000176573217288683, "Organizational About Page": 0.00018821538570443634, "Personal About Page": 0.00016285142595775932, "Personal Blog": 0.00013983058678262522, "Product Page": 0.00010876461989909189, "Spam / Ads": 0.00018352157752673343, "Structured Data": 0.0006046661200279143, "Technical Writing": 0.04420955769036857, "Transcript / Interview": 0.0002026502276472438, "Tutorial / How-To Guide": 0.09242489521466496, "User Reviews": 8.548536442046932e-05, "NONE": 0.8574493724900922}, "structured_records": {"false": 0.9717869626298904, "true": 0.028213037370109648}, "procedural_steps": {"false": 0.9513686298813858, "true": 0.04863137011861423}, "worked_solution": {"false": 0.957309578138241, "true": 0.04269042186175903}, "contextual_dialogue": {"false": 0.9999925299947902, "true": 7.470005209796566e-06}, "content_quality": {"-2": 0.023567218505909666, "-1": 0.12821819272749466, "0": 0.3586014443711268, "1": 0.3993596326143515, "2": 0.09025351178111743}, "noise_severity": {"0": 0.7885565884008132, "1": 0.18265805641233165, "2": 0.023763412204440244, "3": 0.0034976470202514012, "4": 0.001524295962163461}, "missing_content_severity": {"0": 0.9643937770858504, "1": 0.028832859085711156, "2": 0.00553398719879637, "3": 0.0008630748710540095, "4": 0.00037630175858822696}, "factual_density": {"0": 0.009451401398095863, "1": 0.05004559242773103, "2": 0.209000929062375, "3": 0.43883678744663435, "4": 0.2926652896651637}, "pretraining_utility": {"-2": 0.009386141278281905, "-1": 0.0745222991012218, "0": 0.3859536889413723, "1": 0.4789169534391741, "2": 0.051220917239949953}, "math_density": {"0": 0.942560659621916, "1": 0.049926880458212065, "2": 0.004200223082407483, "3": 0.0011230730583440128, "4": 0.0021891637791206092}, "code_density": {"0": 0.0004769296325723358, "1": 0.0009861283324001078, "2": 0.0225968692804253, "3": 0.20435773657592576, "4": 0.7715823361786766}, "reasoning_density": {"0": 0.36142051045425105, "1": 0.25445871894079597, "2": 0.26101873485078525, "3": 0.07259788401207133, "4": 0.05050415174209634}, "education_level": {"none": 0.001601671848087395, "0": 0.0026369380934483126, "1": 0.03411028062386052, "2": 0.7207609970396447, "3": 0.22707258276376024, "4": 0.013817529631198767}, "creative_writing_quality": {"not_applicable": 0.999134637316806, "-2": 0.00013091945643666888, "-1": 0.00025823012241697144, "0": 0.0003376809788156531, "1": 0.00010260670188496451, "2": 3.592542363974461e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 0.00010075303631134194, "Art & Design": 0.0001943851848492377, "Law & Crime": 0.00018408978351671, "Education & Careers": 0.0012097428996771724, "Entertainment & Media": 9.766539197305976e-05, "Fashion & Beauty": 9.794470125826647e-05, "Business, Economics & Finance": 0.00015876093389172253, "Food & Dining": 0.00010342452445573451, "Games & Gaming": 0.0001343548683098458, "Electronics & Hardware": 0.0003882740540703278, "Health, Healthcare & Wellness": 9.096307996556541e-05, "History & Geography": 0.00014109734250133762, "Home, Pets & Hobbies": 0.00011015154489288903, "Industry & Production": 0.00011882816978161388, "Language, Literature & Philosophy": 0.0001139002924002996, "Politics & Government": 9.788069144785734e-05, "Religion & Spirituality": 9.436935808621471e-05, "Science, Mathematics & Engineering": 0.00032336182121472495, "Relationships & Community": 8.540229055052718e-05, "Software Usage & Applications": 0.06967477991855092, "Programming & Software Engineering": 0.9249746927359992, "Sports & Fitness": 0.00011421530167980503, "Vehicles & Transportation": 6.255471725047345e-05, "Travel & Tourism": 0.00010118924556757334, "Other / Uncovered Subject": 0.001090056909701318, "Unknown / Insufficient Content": 0.00013716120209663187}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0008876291153065991, "Art & Design": 0.000607847380486091, "Law & Crime": 0.001556679963270771, "Education & Careers": 0.01867747016147954, "Entertainment & Media": 0.0005933963925298019, "Fashion & Beauty": 0.00040183596583119005, "Business, Economics & Finance": 0.001042184788073777, "Food & Dining": 0.0004040046945196087, "Games & Gaming": 0.00047578651012901267, "Electronics & Hardware": 0.0009392405224168235, "Health, Healthcare & Wellness": 0.0004957863499082307, "History & Geography": 0.00044571394348595986, "Home, Pets & Hobbies": 0.0003982573861212499, "Industry & Production": 0.00036470738112056596, "Language, Literature & Philosophy": 0.00035743865339367566, "Politics & Government": 0.0004709060456262531, "Religion & Spirituality": 0.00047959864226178713, "Science, Mathematics & Engineering": 0.0009093825714775441, "Relationships & Community": 0.0003152663288342345, "Software Usage & Applications": 0.17695662533961792, "Programming & Software Engineering": 0.12163941463850912, "Sports & Fitness": 0.00038960799694648135, "Vehicles & Transportation": 0.00022898161391892943, "Travel & Tourism": 0.0006080755306916714, "Other / Uncovered Subject": 0.0015044819102853406, "NONE": 0.6688496801737578}}, "probabilities": {"primary": {"Academic Writing": 0.0002499860341621695, "Content Listing": 0.0002813810448961906, "Creative Writing": 0.00021272504074422563, "Customer Support Page": 0.00018890876547939946, "Q&A Forum": 0.00016843710706657575, "Discussion Thread": 0.0001114823259575557, "Comment Section": 0.00020050663997564193, "Missing Content": 0.00018578846305180712, "Knowledge Article": 0.00044410501850336505, "Legal Notices": 0.00014777039161898643, "News Article": 9.016098192258631e-05, "Organizational Announcement": 0.00013598006860490166, "Nonfiction Writing": 0.00016150989757661107, "Organizational About Page": 0.00016542563710991105, "Personal About Page": 0.00012262337021055287, "Personal Blog": 9.913538105378066e-05, "Product Page": 9.419216773704258e-05, "Spam / Ads": 0.0001594105529140026, "Structured Data": 0.00040026077980038805, "Technical Writing": 0.8787835597857896, "Transcript / Interview": 0.0001963520936211233, "Tutorial / How-To Guide": 0.1122614859605896, "User Reviews": 9.10019793035678e-05, "Other / Unknown": 0.00504781051231035}, "secondary": {"Academic Writing": 0.0005831130586068244, "Content Listing": 0.00046028792596080893, "Creative Writing": 0.0004574929975300509, "Customer Support Page": 0.0005327663270814408, "Q&A Forum": 0.0003005940095123287, "Discussion Thread": 0.00016514746018267794, "Comment Section": 0.00039264380195144424, "Missing Content": 0.0005924997016985221, "Knowledge Article": 0.001008011480171375, "Legal Notices": 0.00044308685214739977, "News Article": 0.00022480646593347377, "Organizational Announcement": 0.00026501182547956486, "Nonfiction Writing": 0.0003079393395319154, "Organizational About Page": 0.0002882153093889894, "Personal About Page": 0.0002852024461803648, "Personal Blog": 0.0002635841938278324, "Product Page": 0.0001820088621470892, "Spam / Ads": 0.00030010864153676576, "Structured Data": 0.0008761953417735541, "Technical Writing": 0.05998379335018997, "Transcript / Interview": 0.0003784407587049811, "Tutorial / How-To Guide": 0.1305244104306045, "User Reviews": 0.00016336834176698426, "NONE": 0.8010212710780912}, "tertiary": {"Academic Writing": 0.0002789450543210016, "Content Listing": 0.00023508812909265526, "Creative Writing": 0.0002436381535832631, "Customer Support Page": 0.000306154422420434, "Q&A Forum": 0.00013434577026878643, "Discussion Thread": 9.630003129556107e-05, "Comment Section": 0.0002924069109628281, "Missing Content": 0.0005074500341414518, "Knowledge Article": 0.0011030991715099594, "Legal Notices": 0.0006027351106042594, "News Article": 0.00012378796442333786, "Organizational Announcement": 0.0001396653269956873, "Nonfiction Writing": 0.00017657321728868302, "Organizational About Page": 0.00018821538570443637, "Personal About Page": 0.00016285142595775934, "Personal Blog": 0.00013983058678262525, "Product Page": 0.0001087646198990919, "Spam / Ads": 0.00018352157752673346, "Structured Data": 0.0006046661200279144, "Technical Writing": 0.04420955769036858, "Transcript / Interview": 0.00020265022764724382, "Tutorial / How-To Guide": 0.09242489521466497, "User Reviews": 8.548536442046933e-05, "NONE": 0.8574493724900923}, "structured_records": {"false": 0.9717869626298904, "true": 0.028213037370109648}, "procedural_steps": {"false": 0.9513686298813858, "true": 0.04863137011861423}, "worked_solution": {"false": 0.957309578138241, "true": 0.04269042186175903}, "contextual_dialogue": {"false": 0.9999925299947902, "true": 7.470005209796566e-06}, "content_quality": {"-2": 0.023567218505909666, "-1": 0.12821819272749466, "0": 0.3586014443711268, "1": 0.3993596326143515, "2": 0.09025351178111743}, "noise_severity": {"0": 0.7885565884008132, "1": 0.18265805641233165, "2": 0.023763412204440244, "3": 0.0034976470202514012, "4": 0.001524295962163461}, "missing_content_severity": {"0": 0.9643937770858502, "1": 0.02883285908571115, "2": 0.005533987198796369, "3": 0.0008630748710540093, "4": 0.00037630175858822685}, "factual_density": {"0": 0.009451401398095865, "1": 0.05004559242773104, "2": 0.20900092906237502, "3": 0.4388367874466344, "4": 0.29266528966516375}, "pretraining_utility": {"-2": 0.009386141278281905, "-1": 0.0745222991012218, "0": 0.3859536889413723, "1": 0.4789169534391741, "2": 0.051220917239949953}, "math_density": {"0": 0.9425606596219158, "1": 0.04992688045821205, "2": 0.004200223082407482, "3": 0.0011230730583440126, "4": 0.002189163779120609}, "code_density": {"0": 0.0004769296325723358, "1": 0.0009861283324001078, "2": 0.0225968692804253, "3": 0.20435773657592576, "4": 0.7715823361786766}, "reasoning_density": {"0": 0.36142051045425105, "1": 0.25445871894079597, "2": 0.26101873485078525, "3": 0.07259788401207133, "4": 0.05050415174209634}, "education_level": {"none": 0.0016016718480873953, "0": 0.002636938093448313, "1": 0.034110280623860526, "2": 0.7207609970396448, "3": 0.22707258276376027, "4": 0.013817529631198769}, "creative_writing_quality": {"not_applicable": 0.999134637316806, "-2": 0.00013091945643666888, "-1": 0.00025823012241697144, "0": 0.0003376809788156531, "1": 0.00010260670188496451, "2": 3.592542363974461e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 0.0001007530363113419, "Art & Design": 0.00019438518484923763, "Law & Crime": 0.00018408978351670992, "Education & Careers": 0.001209742899677172, "Entertainment & Media": 9.766539197305972e-05, "Fashion & Beauty": 9.794470125826643e-05, "Business, Economics & Finance": 0.00015876093389172245, "Food & Dining": 0.00010342452445573447, "Games & Gaming": 0.00013435486830984576, "Electronics & Hardware": 0.0003882740540703276, "Health, Healthcare & Wellness": 9.096307996556537e-05, "History & Geography": 0.00014109734250133756, "Home, Pets & Hobbies": 0.00011015154489288897, "Industry & Production": 0.00011882816978161382, "Language, Literature & Philosophy": 0.00011390029240029955, "Politics & Government": 9.78806914478573e-05, "Religion & Spirituality": 9.436935808621467e-05, "Science, Mathematics & Engineering": 0.0003233618212147248, "Relationships & Community": 8.540229055052714e-05, "Software Usage & Applications": 0.0696747799185509, "Programming & Software Engineering": 0.9249746927359987, "Sports & Fitness": 0.00011421530167980497, "Vehicles & Transportation": 6.255471725047342e-05, "Travel & Tourism": 0.0001011892455675733, "Other / Uncovered Subject": 0.0010900569097013176, "Unknown / Insufficient Content": 0.0001371612020966318}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0008876291153065991, "Art & Design": 0.000607847380486091, "Law & Crime": 0.001556679963270771, "Education & Careers": 0.01867747016147954, "Entertainment & Media": 0.0005933963925298019, "Fashion & Beauty": 0.00040183596583119005, "Business, Economics & Finance": 0.001042184788073777, "Food & Dining": 0.0004040046945196087, "Games & Gaming": 0.00047578651012901267, "Electronics & Hardware": 0.0009392405224168235, "Health, Healthcare & Wellness": 0.0004957863499082307, "History & Geography": 0.00044571394348595986, "Home, Pets & Hobbies": 0.0003982573861212499, "Industry & Production": 0.00036470738112056596, "Language, Literature & Philosophy": 0.00035743865339367566, "Politics & Government": 0.0004709060456262531, "Religion & Spirituality": 0.00047959864226178713, "Science, Mathematics & Engineering": 0.0009093825714775441, "Relationships & Community": 0.0003152663288342345, "Software Usage & Applications": 0.17695662533961792, "Programming & Software Engineering": 0.12163941463850912, "Sports & Fitness": 0.00038960799694648135, "Vehicles & Transportation": 0.00022898161391892943, "Travel & Tourism": 0.0006080755306916714, "Other / Uncovered Subject": 0.0015044819102853406, "NONE": 0.6688496801737578}}, "probability_diagnostics": {"primary": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "secondary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "tertiary": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "structured_records": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "procedural_steps": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "worked_solution": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "contextual_dialogue": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "content_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "noise_severity": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "missing_content_severity": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "factual_density": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "pretraining_utility": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "math_density": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "code_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "reasoning_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "education_level": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "creative_writing_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "primary_topic": {"raw_sum": 1.0000000000000004, "mass_delta": 4.440892098500626e-16, "missing_mass": 0.0, "excess_mass": 4.440892098500626e-16, "valid": true, "normalized": false}, "secondary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}}, "usage": {"input_tokens": 9609, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 9609, "cached_share": null, "cache_discount_reported": null, "reported_cost_usd": null}, "response_metadata": {"model": "decision-models/baseten-mammoth-27b-latest"}, "scored_at_utc": "2026-10-25T18:37:07.576766+00:00", "scoring_key_slot": "primary", "dataset_uid": "271e93b9-ee8c-4c12-85c0-0a7115b12746", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "1f4e326a8c8994115aaddd8d1fbfc5a8411d25a8ee0e811fddd9b60408f05bf9", "source_metadata": {"uuid": "271e93b9-ee8c-4c12-85c0-0a7115b12746", "repo_name": "Jose-xyz/RHCSA-lab-scripts", "relative_path": "02ReviewManageUserGroups.sh", "category": "TOOL", "algo_rel_score": 0.9233437180519104, "quality_score": 3.94944429397583, "source_meta": {"github_metadata": {"branch": "main", "commit_count": 5, "repo_created_at": "2025-02-13T05:06:28.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 0, "forks": 0, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "1cfc9b4e5094a37af1fed449b87cbef1ceb996e6", "size_bytes": 2726, "file_timestamp": 1742171198, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "3f43014aabb628ba10741efb20d223a604f579a8"}}, "parsed_source_meta": {"github_metadata": {"branch": "main", "commit_count": 5, "repo_created_at": "2025-02-13T05:06:28.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 0, "forks": 0, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "1cfc9b4e5094a37af1fed449b87cbef1ceb996e6", "size_bytes": 2726, "file_timestamp": 1742171198, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "3f43014aabb628ba10741efb20d223a604f579a8", "url": "https://github.com/Jose-xyz/RHCSA-lab-scripts/blob/3f43014aabb628ba10741efb20d223a604f579a8/02ReviewManageUserGroups.sh"}, "gpt4o_tokens": 1031, "dataset_split": "shell", "probability_weighted_scores": {"content_quality": 0.40451402643727236, "noise_severity": 0.2467750057306202, "missing_content_severity": 0.04399526513081883, "factual_density": 2.9552189715530393, "pretraining_utility": 0.48806420626128844, "math_density": 0.07045320091454149, "code_density": 3.745582421335734, "reasoning_density": 1.1963064476469658, "education_level": 2.2156689160467407, "creative_writing_quality": -0.399383394775268}, "score_applicability": {"education_level": 0.9983983281519127, "creative_writing_quality": 0.0008653626831940025}} {"source_group": "shell", "source": "openbmb/UltraData-Stack-v3-L2/shell", "domain": "github.com", "language": "shell", "url": "https://github.com/SteffMet/System-Tools-Scripts/blob/cc2f32d21fe38233da7810b50fad62e5dd4dd408/AzureVPNDeployment/Add-AppDevPackage.ps1", "id": "shell-0-2ca04d15330b305d5c8074feb63c5151", "text": "\r\n\r\nparam(\r\n [switch]$Force = $true,\r\n [switch]$GetDeveloperLicense = $false,\r\n [switch]$SkipLoggingTelemetry = $false,\r\n [string]$CertificatePath = $null\r\n)\r\n\r\n# Function to check if the OS is Windows Server\r\nfunction Is-WindowsServer {\r\n $os = Get-WmiObject -Class Win32_OperatingSystem\r\n return $os.Caption -like \"*Server*\"\r\n}\r\n\r\n# Function to check if the machine is virtualized\r\nfunction Is-VirtualMachine {\r\n $computerSystem = Get-WmiObject -Class Win32_ComputerSystem\r\n $virtualModels = @(\"Virtual Machine\", \"VMware Virtual Platform\", \"VirtualBox\", \"HVM domU\")\r\n return $virtualModels -contains $computerSystem.Model\r\n}\r\n\r\n# Main script logic\r\nif (Is-WindowsServer) {\r\n Write-Output \"The operating system is Windows Server. Exiting script.\"\r\n exit\r\n}\r\n\r\nif (Is-VirtualMachine) {\r\n Write-Output \"The server is virtualized. Exiting script.\"\r\n exit\r\n}\r\n\r\nWrite-Output \"The server is neither Windows Server nor virtualized. Continuing script execution.\"\r\n\r\n$directoryPath = \"$env:USERPROFILE\\AppData\\Local\\Packages\\Microsoft.AzureVpn_8wekyb3d8bbwe\\LocalState\"\r\n\r\n# Check if the directory exists\r\nif (Test-Path -Path $directoryPath) {\r\n # If the directory exists, terminate the script\r\n exit\r\n}\r\n\r\n$ErrorActionPreference = \"Stop\"\r\n\r\n# The language resources for this script are placed in the\r\n# \"Add-AppDevPackage.resources\" subfolder alongside the script. Since the\r\n# current working directory might not be the directory that contains the\r\n# script, we need to create the full path of the resources directory to\r\n# pass into Import-LocalizedData\r\n$ScriptPath = $null\r\ntry\r\n{\r\n $ScriptPath = (Get-Variable MyInvocation).Value.MyCommand.Path\r\n $ScriptDir = Split-Path -Parent $ScriptPath\r\n}\r\ncatch {}\r\n\r\nif (!$ScriptPath)\r\n{\r\n PrintMessageAndExit $UiStrings.ErrorNoScriptPath $ErrorCodes.NoScriptPath\r\n}\r\n\r\n$LocalizedResourcePath = Join-Path $ScriptDir \"Add-AppDevPackage.resources\"\r\nImport-LocalizedData -BindingVariable UiStrings -BaseDirectory $LocalizedResourcePath\r\n\r\n$ErrorCodes = Data {\r\n ConvertFrom-StringData @'\r\n Success = 0\r\n NoScriptPath = 1\r\n NoPackageFound = 2\r\n ManyPackagesFound = 3\r\n NoCertificateFound = 4\r\n ManyCertificatesFound = 5\r\n BadCertificate = 6\r\n PackageUnsigned = 7\r\n CertificateMismatch = 8\r\n ForceElevate = 9\r\n LaunchAdminFailed = 10\r\n GetDeveloperLicenseFailed = 11\r\n InstallCertificateFailed = 12\r\n AddPackageFailed = 13\r\n ForceDeveloperLicense = 14\r\n CertUtilInstallFailed = 17\r\n CertIsCA = 18\r\n BannedEKU = 19\r\n NoBasicConstraints = 20\r\n NoCodeSigningEku = 21\r\n InstallCertificateCancelled = 22\r\n BannedKeyUsage = 23\r\n ExpiredCertificate = 24\r\n'@\r\n}\r\n\r\n$IMAGE_FILE_MACHINE_i386 = 0x014c\r\n$IMAGE_FILE_MACHINE_AMD64 = 0x8664\r\n$IMAGE_FILE_MACHINE_ARM64 = 0xAA64\r\n$IMAGE_FILE_MACHINE_ARM = 0x01c0\r\n$IMAGE_FILE_MACHINE_THUMB = 0x01c2\r\n$IMAGE_FILE_MACHINE_ARMNT = 0x01c4\r\n\r\n$MACHINE_ATTRIBUTES_UserEnabled = 0x01\r\n$MACHINE_ATTRIBUTES_KernelEnabled = 0x02\r\n$MACHINE_ATTRIBUTES_Wow64Container = 0x04\r\n\r\n# First try to use IsWow64Process2 to determine the OS architecture\r\ntry\r\n{\r\n $IsWow64Process2_MethodDefinition = @\"\r\n[DllImport(\"kernel32.dll\", SetLastError = true)]\r\npublic static extern bool IsWow64Process2(IntPtr process, out ushort processMachine, out ushort nativeMachine);\r\n\"@\r\n\r\n $Kernel32 = Add-Type -MemberDefinition $IsWow64Process2_MethodDefinition -Name \"Kernel32\" -Namespace \"Win32\" -PassThru\r\n\r\n $Proc = Get-Process -id $pid\r\n $processMachine = New-Object uint16\r\n $nativeMachine = New-Object uint16\r\n\r\n $Res = $Kernel32::IsWow64Process2($Proc.Handle, [ref] $processMachine, [ref] $nativeMachine)\r\n if ($Res -eq $True)\r\n {\r\n switch ($nativeMachine)\r\n {\r\n $IMAGE_FILE_MACHINE_i386 { $ProcessorArchitecture = \"x86\" }\r\n $IMAGE_FILE_MACHINE_AMD64 { $ProcessorArchitecture = \"amd64\" }\r\n $IMAGE_FILE_MACHINE_ARM64 { $ProcessorArchitecture = \"arm64\" }\r\n $IMAGE_FILE_MACHINE_ARM { $ProcessorArchitecture = \"arm\" }\r\n $IMAGE_FILE_MACHINE_THUMB { $ProcessorArchitecture = \"arm\" }\r\n $IMAGE_FILE_MACHINE_ARMNT { $ProcessorArchitecture = \"arm\" }\r\n }\r\n }\r\n}\r\ncatch\r\n{\r\n # Ignore exception and fall back to using environment variables to determine the OS architecture\r\n}\r\n\r\n$Amd64AppsSupportedOnArm64 = $False\r\nif ($null -eq $ProcessorArchitecture)\r\n{\r\n $ProcessorArchitecture = $Env:Processor_Architecture\r\n\r\n # Getting $Env:Processor_Architecture on arm64 machines will return x86. So check if the environment\r\n # variable \"ProgramFiles(Arm)\" is also set, if it is we know the actual processor architecture is arm64.\r\n # The value will also be x86 on amd64 machines when running the x86 version of PowerShell.\r\n if ($ProcessorArchitecture -eq \"x86\")\r\n {\r\n if ($null -ne ${Env:ProgramFiles(Arm)})\r\n {\r\n $ProcessorArchitecture = \"arm64\"\r\n }\r\n elseif ($null -ne ${Env:ProgramFiles(x86)})\r\n {\r\n $ProcessorArchitecture = \"amd64\"\r\n }\r\n }\r\n}\r\nelseif (\"arm64\" -eq $ProcessorArchitecture)\r\n{\r\n # If we successfully determined the OS to be arm64 with the above call to IsWow64Process2 and we're on Win11+\r\n # we need to check for a special case where amd64 apps are supported as well.\r\n if ([Environment]::OSVersion.Version -ge (new-object 'Version' 10,0,22000))\r\n {\r\n try\r\n {\r\n $GetMachineTypeAttributes_MethodDefinition = @\"\r\n[DllImport(\"api-ms-win-core-processthreads-l1-1-7.dll\", EntryPoint = \"GetMachineTypeAttributes\", ExactSpelling = true, PreserveSig = false)]\r\npublic static extern void GetMachineTypeAttributes(ushort Machine, out ushort machineTypeAttributes);\r\n\"@\r\n\r\n $ProcessThreads = Add-Type -MemberDefinition $GetMachineTypeAttributes_MethodDefinition -Name \"processthreads_l1_1_7\" -Namespace \"Win32\" -PassThru\r\n $machineTypeAttributes = New-Object uint16\r\n\r\n $ProcessThreads::GetMachineTypeAttributes($IMAGE_FILE_MACHINE_AMD64, [ref] $machineTypeAttributes)\r\n\r\n # We're looking for the case where the UserEnabled flag is set\r\n if (($machineTypeAttributes -band $MACHINE_ATTRIBUTES_UserEnabled) -ne 0)\r\n {\r\n $Amd64AppsSupportedOnArm64 = $True\r\n }\r\n }\r\n catch\r\n {\r\n # Ignore exceptions and maintain assumption that amd64 apps aren't supported on this machine\r\n }\r\n }\r\n}\r\n\r\nfunction PrintMessageAndExit($ErrorMessage, $ReturnCode)\r\n{\r\n Write-Host $ErrorMessage\r\n try\r\n {\r\n # Log telemetry data regarding the use of the script if possible.\r\n # There are three ways that this can be disabled:\r\n # 1. If the \"TelemetryDependencies\" folder isn't present. This can be excluded at build time by setting the MSBuild property AppxLogTelemetryFromSideloadingScript to false\r\n # 2. If the SkipLoggingTelemetry switch is passed to this script.\r\n # 3. If Visual Studio telemetry is disabled via the registry.\r\n $TelemetryAssembliesFolder = (Join-Path $PSScriptRoot \"TelemetryDependencies\")\r\n if (!$SkipLoggingTelemetry -And (Test-Path $TelemetryAssembliesFolder))\r\n {\r\n $job = Start-Job -FilePath (Join-Path $TelemetryAssembliesFolder \"LogSideloadingTelemetry.ps1\") -ArgumentList $TelemetryAssembliesFolder, \"VS/DesignTools/SideLoadingScript/AddAppDevPackage\", $ReturnCode, $ProcessorArchitecture\r\n Wait-Job -Job $job -Timeout 60 | Out-Null\r\n }\r\n }\r\n catch\r\n {\r\n # Ignore telemetry errors\r\n }\r\n\r\n if (!$Force)\r\n {\r\n Pause\r\n }\r\n \r\n exit $ReturnCode\r\n}\r\n\r\n#\r\n# Warns the user about installing certificates, and presents a Yes/No prompt\r\n# to confirm the action. The default is set to No.\r\n#\r\nfunction ConfirmCertificateInstall\r\n{\r\n $Answer = $host.UI.PromptForChoice(\r\n \"\", \r\n $UiStrings.WarningInstallCert, \r\n [System.Management.Automation.Host.ChoiceDescription[]]@($UiStrings.PromptYesString, $UiStrings.PromptNoString), \r\n 1)\r\n \r\n return $Answer -eq 0\r\n}\r\n\r\n#\r\n# Validates whether a file is a valid certificate using CertUtil.\r\n# This needs to be done before calling Get-PfxCertificate on the file, otherwise\r\n# the user will get a cryptic \"Password: \" prompt for invalid certs.\r\n#\r\nfunction ValidateCertificateFormat($FilePath)\r\n{\r\n # certutil -verify prints a lot of text that we don't need, so it's redirected to $null here\r\n certutil.exe -verify $FilePath > $null\r\n if ($LastExitCode -lt 0)\r\n {\r\n PrintMessageAndExit ($UiStrings.ErrorBadCertificate -f $FilePath, $LastExitCode) $ErrorCodes.BadCertificate\r\n }\r\n \r\n # Check if certificate is expired\r\n $cert = Get-PfxCertificate $FilePath\r\n if (($cert.NotBefore -gt (Get-Date)) -or ($cert.NotAfter -lt (Get-Date)))\r\n {\r\n PrintMessageAndExit ($UiStrings.ErrorExpiredCertificate -f $FilePath) $ErrorCodes.ExpiredCertificate\r\n }\r\n}\r\n\r\n#\r\n# Verify that the developer certificate meets the following restrictions:\r\n# - The certificate must contain a Basic Constraints extension, and its\r\n# Certificate Authority (CA) property must be false.\r\n# - The certificate's Key Usage extension must be either absent, or set to\r\n# only DigitalSignature.\r\n# - The certificate must contain an Extended Key Usage (EKU) extension with\r\n# Code Signing usage.\r\n# - The certificate must NOT contain any other EKU except Code Signing and\r\n# Lifetime Signing.\r\n#\r\n# These restrictions are enforced to decrease security risks that arise from\r\n# trusting digital certificates.\r\n#\r\nfunction CheckCertificateRestrictions\r\n{\r\n Set-Variable -Name BasicConstraintsExtensionOid -Value \"172.16.17.32\" -Option Constant\r\n Set-Variable -Name KeyUsageExtensionOid -Value \"192.168.3.11\" -Option Constant\r\n Set-Variable -Name EkuExtensionOid -Value \"2.5.29.37\" -Option Constant\r\n Set-Variable -Name CodeSigningEkuOid -Value \"1.3.6.1.5.5.7.3.3\" -Option Constant\r\n Set-Variable -Name LifetimeSigningEkuOid -Value \"1.3.6.1.4.1.311.10.3.13\" -Option Constant\r\n Set-Variable -Name UwpSigningEkuOid -Value \"1.3.6.1.4.1.311.84.3.1\" -Option Constant\r\n Set-Variable -Name DisposableSigningEkuOid -Value \"1.3.6.1.4.1.311.84.3.2\" -Option Constant\r\n\r\n $CertificateExtensions = (Get-PfxCertificate $CertificatePath).Extensions\r\n $HasBasicConstraints = $false\r\n $HasCodeSigningEku = $false\r\n\r\n foreach ($Extension in $CertificateExtensions)\r\n {\r\n # Certificate must contain the Basic Constraints extension\r\n if ($Extension.oid.value -eq $BasicConstraintsExtensionOid)\r\n {\r\n # CA property must be false\r\n if ($Extension.CertificateAuthority)\r\n {\r\n PrintMessageAndExit $UiStrings.ErrorCertIsCA $ErrorCodes.CertIsCA\r\n }\r\n $HasBasicConstraints = $true\r\n }\r\n\r\n # If key usage is present, it must be set to digital signature\r\n elseif ($Extension.oid.value -eq $KeyUsageExtensionOid)\r\n {\r\n if ($Extension.KeyUsages -ne \"DigitalSignature\")\r\n {\r\n PrintMessageAndExit ($UiStrings.ErrorBannedKeyUsage -f $Extension.KeyUsages) $ErrorCodes.BannedKeyUsage\r\n }\r\n }\r\n\r\n elseif ($Extension.oid.value -eq $EkuExtensionOid)\r\n {\r\n # Certificate must contain the Code Signing EKU\r\n $EKUs = $Extension.EnhancedKeyUsages.Value\r\n if ($EKUs -contains $CodeSigningEkuOid)\r\n {\r\n $HasCodeSigningEKU = $True\r\n }\r\n\r\n # EKUs other than code signing and lifetime signing are not allowed\r\n foreach ($EKU in $EKUs)\r\n {\r\n if ($EKU -ne $CodeSigningEkuOid -and $EKU -ne $LifetimeSigningEkuOid -and $EKU -ne $UwpSigningEkuOid -and $EKU -ne $DisposableSigningEkuOid)\r\n {\r\n PrintMessageAndExit ($UiStrings.ErrorBannedEKU -f $EKU) $ErrorCodes.BannedEKU\r\n }\r\n }\r\n }\r\n }\r\n\r\n if (!$HasBasicConstraints)\r\n {\r\n PrintMessageAndExit $UiStrings.ErrorNoBasicConstraints $ErrorCodes.NoBasicConstraints\r\n }\r\n if (!$HasCodeSigningEKU)\r\n {\r\n PrintMessageAndExit $UiStrings.ErrorNoCodeSigningEku $ErrorCodes.NoCodeSigningEku\r\n }\r\n}\r\n\r\n#\r\n# Performs operations that require administrative privileges:\r\n# - Prompt the user to obtain a developer license\r\n# - Install the developer certificate (if -Force is not specified, also prompts the user to confirm)\r\n#\r\nfunction DoElevatedOperations\r\n{\r\n if ($GetDeveloperLicense)\r\n {\r\n Write-Host $UiStrings.GettingDeveloperLicense\r\n\r\n if ($Force)\r\n {\r\n PrintMessageAndExit $UiStrings.ErrorForceDeveloperLicense $ErrorCodes.ForceDeveloperLicense\r\n }\r\n try\r\n {\r\n Show-WindowsDeveloperLicenseRegistration\r\n }\r\n catch\r\n {\r\n $Error[0] # Dump details about the last error\r\n PrintMessageAndExit $UiStrings.ErrorGetDeveloperLicenseFailed $ErrorCodes.GetDeveloperLicenseFailed\r\n }\r\n }\r\n\r\n if ($CertificatePath)\r\n {\r\n Write-Host $UiStrings.InstallingCertificate\r\n\r\n # Make sure certificate format is valid and usage constraints are followed\r\n ValidateCertificateFormat $CertificatePath\r\n CheckCertificateRestrictions\r\n\r\n # If -Force is not specified, warn the user and get consent\r\n if ($Force -or (ConfirmCertificateInstall))\r\n {\r\n # Add cert to store\r\n certutil.exe -addstore TrustedPeople $CertificatePath\r\n if ($LastExitCode -lt 0)\r\n {\r\n PrintMessageAndExit ($UiStrings.ErrorCertUtilInstallFailed -f $LastExitCode) $ErrorCodes.CertUtilInstallFailed\r\n }\r\n }\r\n else\r\n {\r\n PrintMessageAndExit $UiStrings.ErrorInstallCertificateCancelled $ErrorCodes.InstallCertificateCancelled\r\n }\r\n }\r\n}\r\n\r\n#\r\n# Checks whether the machine is missing a valid developer license.\r\n#\r\nfunction CheckIfNeedDeveloperLicense\r\n{\r\n $Result = $true\r\n try\r\n {\r\n $Result = (Get-WindowsDeveloperLicense | Where-Object { $_.IsValid } | Measure-Object).Count -eq 0\r\n }\r\n catch {}\r\n\r\n return $Result\r\n}\r\n\r\n#\r\n# Launches an elevated process running the current script to perform tasks\r\n# that require administrative privileges. This function waits until the\r\n# elevated process terminates, and checks whether those tasks were successful.\r\n#\r\nfunction LaunchElevated\r\n{\r\n # Set up command line arguments to the elevated process\r\n $RelaunchArgs = '-ExecutionPolicy Unrestricted -file \"' + $ScriptPath + '\"'\r\n\r\n if ($Force)\r\n {\r\n $RelaunchArgs += ' -Force'\r\n }\r\n if ($NeedDeveloperLicense)\r\n {\r\n $RelaunchArgs += ' -GetDeveloperLicense'\r\n }\r\n if ($SkipLoggingTelemetry)\r\n {\r\n $RelaunchArgs += ' -SkipLoggingTelemetry'\r\n }\r\n if ($NeedInstallCertificate)\r\n {\r\n $RelaunchArgs += ' -CertificatePath \"' + $DeveloperCertificatePath.FullName + '\"'\r\n }\r\n\r\n # Launch the process and wait for it to finish\r\n try\r\n {\r\n $PowerShellExePath = (Get-Process -Id $PID).Path\r\n $AdminProcess = Start-Process $PowerShellExePath -Verb RunAs -ArgumentList $RelaunchArgs -PassThru\r\n }\r\n catch\r\n {\r\n $Error[0] # Dump details about the last error\r\n PrintMessageAndExit $UiStrings.ErrorLaunchAdminFailed $ErrorCodes.LaunchAdminFailed\r\n }\r\n\r\n while (!($AdminProcess.HasExited))\r\n {\r\n Start-Sleep -Seconds 2\r\n }\r\n\r\n # Check if all elevated operations were successful\r\n if ($NeedDeveloperLicense)\r\n {\r\n if (CheckIfNeedDeveloperLicense)\r\n {\r\n PrintMessageAndExit $UiStrings.ErrorGetDeveloperLicenseFailed $ErrorCodes.GetDeveloperLicenseFailed\r\n }\r\n else\r\n {\r\n Write-Host $UiStrings.AcquireLicenseSuccessful\r\n }\r\n }\r\n if ($NeedInstallCertificate)\r\n {\r\n $Signature = Get-AuthenticodeSignature $DeveloperPackagePath -Verbose\r\n if ($Signature.Status -ne \"Valid\")\r\n {\r\n PrintMessageAndExit ($UiStrings.ErrorInstallCertificateFailed -f $Signature.Status) $ErrorCodes.InstallCertificateFailed\r\n }\r\n else\r\n {\r\n Write-Host $UiStrings.InstallCertificateSuccessful\r\n }\r\n }\r\n}\r\n\r\n#\r\n# Finds all applicable dependency packages according to OS architecture, and\r\n# installs the developer package with its dependencies. The expected layout\r\n# of dependencies is:\r\n#\r\n# \r\n# \\Dependencies\r\n# .appx\\.msix\r\n# \\x86\r\n# .appx\\.msix\r\n# \\x64\r\n# .appx\\.msix\r\n# \\arm\r\n# .appx\\.msix\r\n# \\arm64\r\n# .appx\\.msix\r\n#\r\nfunction InstallPackageWithDependencies\r\n{\r\n $DependencyPackagesDir = (Join-Path $ScriptDir \"Dependencies\")\r\n $DependencyPackages = @()\r\n if (Test-Path $DependencyPackagesDir)\r\n {\r\n # Get architecture-neutral dependencies\r\n $DependencyPackages += Get-ChildItem (Join-Path $DependencyPackagesDir \"*.appx\") | Where-Object { $_.Mode -NotMatch \"d\" }\r\n $DependencyPackages += Get-ChildItem (Join-Path $DependencyPackagesDir \"*.msix\") | Where-Object { $_.Mode -NotMatch \"d\" }\r\n\r\n # Get architecture-specific dependencies\r\n if (($ProcessorArchitecture -eq \"x86\" -or $ProcessorArchitecture -eq \"amd64\" -or $ProcessorArchitecture -eq \"arm64\") -and (Test-Path (Join-Path $DependencyPackagesDir \"x86\")))\r\n {\r\n $DependencyPackages += Get-ChildItem (Join-Path $DependencyPackagesDir \"x86\\*.appx\") | Where-Object { $_.Mode -NotMatch \"d\" }\r\n $DependencyPackages += Get-ChildItem (Join-Path $DependencyPackagesDir \"x86\\*.msix\") | Where-Object { $_.Mode -NotMatch \"d\" }\r\n }\r\n if ((($ProcessorArchitecture -eq \"amd64\") -or ($ProcessorArchitecture -eq \"arm64\" -and $Amd64AppsSupportedOnArm64)) -and (Test-Path (Join-Path $DependencyPackagesDir \"x64\")))\r\n {\r\n $DependencyPackages += Get-ChildItem (Join-Path $DependencyPackagesDir \"x64\\*.appx\") | Where-Object { $_.Mode -NotMatch \"d\" }\r\n $DependencyPackages += Get-ChildItem (Join-Path $DependencyPackagesDir \"x64\\*.msix\") | Where-Object { $_.Mode -NotMatch \"d\" }\r\n }\r\n if (($ProcessorArchitecture -eq \"arm\" -or $ProcessorArchitecture -eq \"arm64\") -and (Test-Path (Join-Path $DependencyPackagesDir \"arm\")))\r\n {\r\n $DependencyPackages += Get-ChildItem (Join-Path $DependencyPackagesDir \"arm\\*.appx\") | Where-Object { $_.Mode -NotMatch \"d\" }\r\n $DependencyPackages += Get-ChildItem (Join-Path $DependencyPackagesDir \"arm\\*.msix\") | Where-Object { $_.Mode -NotMatch \"d\" }\r\n }\r\n if (($ProcessorArchitecture -eq \"arm64\") -and (Test-Path (Join-Path $DependencyPackagesDir \"arm64\")))\r\n {\r\n $DependencyPackages += Get-ChildItem (Join-Path $DependencyPackagesDir \"arm64\\*.appx\") | Where-Object { $_.Mode -NotMatch \"d\" }\r\n $DependencyPackages += Get-ChildItem (Join-Path $DependencyPackagesDir \"arm64\\*.msix\") | Where-Object { $_.Mode -NotMatch \"d\" }\r\n }\r\n }\r\n Write-Host $UiStrings.InstallingPackage\r\n\r\n $AddPackageSucceeded = $False\r\n try\r\n {\r\n if ($DependencyPackages.FullName.Count -gt 0)\r\n {\r\n Write-Host $UiStrings.DependenciesFound\r\n $DependencyPackages.FullName\r\n Add-AppxPackage -ForceUpdateFromAnyVersion -Path $DeveloperPackagePath.FullName -DependencyPath $DependencyPackages.FullName -ForceApplicationShutdown\r\n }\r\n else\r\n {\r\n Add-AppxPackage -ForceUpdateFromAnyVersion -Path $DeveloperPackagePath.FullName -ForceApplicationShutdown\r\n }\r\n \r\n }\r\n catch\r\n {\r\n $Error[0] # Dump details about the last error\r\n }\r\n\r\n if (!$AddPackageSucceeded)\r\n {\r\n }\r\n # Define paths\r\n$vpnConfigFile = \"\\\\corp-fs04\\Public\\Software\\AzureVPN\\Config\\azurevpnconfig.xml\"\r\n$destinationPath = \"$env:USERPROFILE\\AppData\\Local\\Packages\\Microsoft.AzureVpn_8wekyb3d8bbwe\\LocalState\"\r\n\r\n# Copy VPN configuration file to user profile\r\nWrite-Output \"Copying Config from FS04.\"\r\nCopy-Item -Path $vpnConfigFile -Destination $destinationPath -Force\r\n\r\n# Import VPN configuration\r\nSet-Location $destinationPath\r\nStart-Process -FilePath \"azurevpn\" -ArgumentList \"-i azurevpnconfig.xml\" -NoNewWindow -Wait\r\n\r\n# Wait and terminate Azure VPN process\r\nStart-Sleep -Seconds 2\r\nStop-Process -Name \"AzVpnAppx\" -Force\r\n}\r\n\r\n#\r\n# Main script logic when the user launches the script without parameters.\r\n#\r\nfunction DoStandardOperations\r\n{\r\n # Check for an .appx or .msix file in the script directory\r\n $PackagePath = Get-ChildItem (Join-Path $ScriptDir \"*.appx\") | Where-Object { $_.Mode -NotMatch \"d\" }\r\n if ($PackagePath -eq $null)\r\n {\r\n $PackagePath = Get-ChildItem (Join-Path $ScriptDir \"*.msix\") | Where-Object { $_.Mode -NotMatch \"d\" }\r\n }\r\n $PackageCount = ($PackagePath | Measure-Object).Count\r\n\r\n # Check for an .appxbundle or .msixbundle file in the script directory\r\n $BundlePath = Get-ChildItem (Join-Path $ScriptDir \"*.appxbundle\") | Where-Object { $_.Mode -NotMatch \"d\" }\r\n if ($BundlePath -eq $null)\r\n {\r\n $BundlePath = Get-ChildItem (Join-Path $ScriptDir \"*.msixbundle\") | Where-Object { $_.Mode -NotMatch \"d\" }\r\n }\r\n $BundleCount = ($BundlePath | Measure-Object).Count\r\n\r\n # Check for an .eappx or .emsix file in the script directory\r\n $EncryptedPackagePath = Get-ChildItem (Join-Path $ScriptDir \"*.eappx\") | Where-Object { $_.Mode -NotMatch \"d\" }\r\n if ($EncryptedPackagePath -eq $null)\r\n {\r\n $EncryptedPackagePath = Get-ChildItem (Join-Path $ScriptDir \"*.emsix\") | Where-Object { $_.Mode -NotMatch \"d\" }\r\n }\r\n $EncryptedPackageCount = ($EncryptedPackagePath | Measure-Object).Count\r\n\r\n # Check for an .eappxbundle or .emsixbundle file in the script directory\r\n $EncryptedBundlePath = Get-ChildItem (Join-Path $ScriptDir \"*.eappxbundle\") | Where-Object { $_.Mode -NotMatch \"d\" }\r\n if ($EncryptedBundlePath -eq $null)\r\n {\r\n $EncryptedBundlePath = Get-ChildItem (Join-Path $ScriptDir \"*.emsixbundle\") | Where-Object { $_.Mode -NotMatch \"d\" }\r\n }\r\n $EncryptedBundleCount = ($EncryptedBundlePath | Measure-Object).Count\r\n\r\n $NumberOfPackages = $PackageCount + $EncryptedPackageCount\r\n $NumberOfBundles = $BundleCount + $EncryptedBundleCount\r\n\r\n # There must be at least one package or bundle\r\n if ($NumberOfPackages + $NumberOfBundles -lt 1)\r\n {\r\n PrintMessageAndExit $UiStrings.ErrorNoPackageFound $ErrorCodes.NoPackageFound\r\n }\r\n # We must have exactly one bundle OR no bundle and exactly one package\r\n elseif ($NumberOfBundles -gt 1 -or\r\n ($NumberOfBundles -eq 0 -and $NumberOfpackages -gt 1))\r\n {\r\n PrintMessageAndExit $UiStrings.ErrorManyPackagesFound $ErrorCodes.ManyPackagesFound\r\n }\r\n\r\n # First attempt to install a bundle or encrypted bundle. If neither exists, fall back to packages and then encrypted packages\r\n if ($BundleCount -eq 1)\r\n {\r\n $DeveloperPackagePath = $BundlePath\r\n Write-Host ($UiStrings.BundleFound -f $DeveloperPackagePath.FullName)\r\n }\r\n elseif ($EncryptedBundleCount -eq 1)\r\n {\r\n $DeveloperPackagePath = $EncryptedBundlePath\r\n Write-Host ($UiStrings.EncryptedBundleFound -f $DeveloperPackagePath.FullName)\r\n }\r\n elseif ($PackageCount -eq 1)\r\n {\r\n $DeveloperPackagePath = $PackagePath\r\n Write-Host ($UiStrings.PackageFound -f $DeveloperPackagePath.FullName)\r\n }\r\n elseif ($EncryptedPackageCount -eq 1)\r\n {\r\n $DeveloperPackagePath = $EncryptedPackagePath\r\n Write-Host ($UiStrings.EncryptedPackageFound -f $DeveloperPackagePath.FullName)\r\n }\r\n \r\n # The package must be signed\r\n $PackageSignature = Get-AuthenticodeSignature $DeveloperPackagePath\r\n $PackageCertificate = $PackageSignature.SignerCertificate\r\n if (!$PackageCertificate)\r\n {\r\n PrintMessageAndExit $UiStrings.ErrorPackageUnsigned $ErrorCodes.PackageUnsigned\r\n }\r\n\r\n # Test if the package signature is trusted. If not, the corresponding certificate\r\n # needs to be present in the current directory and needs to be installed.\r\n $NeedInstallCertificate = ($PackageSignature.Status -ne \"Valid\")\r\n\r\n if ($NeedInstallCertificate)\r\n {\r\n # List all .cer files in the script directory\r\n $DeveloperCertificatePath = Get-ChildItem (Join-Path $ScriptDir \"*.cer\") | Where-Object { $_.Mode -NotMatch \"d\" }\r\n $DeveloperCertificateCount = ($DeveloperCertificatePath | Measure-Object).Count\r\n\r\n # There must be exactly 1 certificate\r\n if ($DeveloperCertificateCount -lt 1)\r\n {\r\n PrintMessageAndExit $UiStrings.ErrorNoCertificateFound $ErrorCodes.NoCertificateFound\r\n }\r\n elseif ($DeveloperCertificateCount -gt 1)\r\n {\r\n PrintMessageAndExit $UiStrings.ErrorManyCertificatesFound $ErrorCodes.ManyCertificatesFound\r\n }\r\n\r\n Write-Host ($UiStrings.CertificateFound -f $DeveloperCertificatePath.FullName)\r\n\r\n # The .cer file must have the format of a valid certificate\r\n ValidateCertificateFormat $DeveloperCertificatePath\r\n\r\n # The package signature must match the certificate file\r\n if ($PackageCertificate -ne (Get-PfxCertificate $DeveloperCertificatePath))\r\n {\r\n PrintMessageAndExit $UiStrings.ErrorCertificateMismatch $ErrorCodes.CertificateMismatch\r\n }\r\n }\r\n\r\n InstallPackageWithDependencies\r\n}\r\n\r\n#\r\n# Main script entry point\r\n#\r\nif ($GetDeveloperLicense -or $CertificatePath)\r\n{\r\n #DoElevatedOperations\r\n}\r\nelse\r\n{\r\n DoStandardOperations\r\n PrintMessageAndExit $UiStrings.Success $ErrorCodes.Success\r\n}\r\n\r\n\r\n# SIG # Begin signature block\r\n# MIInvwYJKoZIhvcNAQcCoIInsDCCJ6wCAQExDzANBglghkgBZQMEAgEFADB5Bgor\r\n# BgEEAYI3AgEEoGswaTA0BgorBgEEAYI3AgEeMCYCAwEAAAQQH8w7YFlLCE63JNLG\r\n# KX7zUQIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCCvC8I9T3MJwQHg\r\n# 4GspMe4Ay0hSMMD1tH6wfa4eqH8irKCCDXYwggX0MIID3KADAgECAhMzAAADrzBA\r\n# DkyjTQVBAAAAAAOvMA0GCSqGSIb3DQEBCwUAMH4xCzAJBgNVBAYTAlVTMRMwEQYD\r\n# VQQIEwpXYXNoaW5ndG\r\n# \r\n# b\r\n# C\r\n# \r\n# \r\n# \r\n# \r\n# \r\n# \r\n# \r\n# \r\n# \r\n# \r\n\r\n# \r\n# \r\n# \r\n# \r\n# \r\n# \r\n# \r\n# \r\n# \r\n# \r\n# \r\n# \r\n# \r\n# \r\n# \r\n# \r\n# \r\n# \r\n# \r\n# \r\n# \r\n# \r\n# \r\n# \r\n# \r\n# \r\n# \r\n# \r\n# \r\n# \r\n# \r\n# \r\n# \r\n# \r\n# \r\n# \r\n# \r\n# \r\n# \r\n# \r\n# \r\n# \r\n\r\n# \r\n# \r\n# \r\n# \r\n# \r\n# \r\n# \r\n# \r\n# \r\n# \r\n# \r\n# \r\n# \r\n# \r\n\r\n# \r\n# \r\n# \r\n# \r\n# \r\n# \r\n# \r\n# \r\n# \r\n# \r\n# \r\n# \r\n# \r\n# \r\n# \r\n# \r\n# \r\n# \r\n# \r\n# mGVd\r\n# SIG # End signature block\r\n", "text_preview": "param( [switch]$Force = $true, [switch]$GetDeveloperLicense = $false, [switch]$SkipLoggingTelemetry = $false, [string]$CertificatePath = $null ) # Function to check if the OS is Windows Server function Is-WindowsServer { $os = Get-WmiObject", "input_sha256": "e89c0eefccb1f66d4da8e1d9085722e0de690a7ebfe948725229766edce30cd5", "text_sha256": "2ca04d15330b305d5c8074feb63c5151de2cb8df51c094e477958af064e03ced", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 20112, "input_policy": "text-and-optional-url-v1", "label_policy_version": 12, "requested_model": "decision-models/baseten-mammoth-27b-latest", "backend": "baseten", "endpoint": "https://inference.baseten.co/v1/systemone", "status": "ok", "training_eligible": true, "label": {"primary": {"main_format": "Technical Writing", "sub_format": null}, "secondary": null, "tertiary": null, "content_structure": []}, "candidate_label": null, "topic": {"primary": {"main_topic": "Programming & Software Engineering", "sub_topic": null}, "secondary": null}, "scores": {"content_quality": 0, "noise_severity": 1, "missing_content_severity": 0, "factual_density": 4, "pretraining_utility": 1, "math_density": 0, "code_density": 4, "reasoning_density": 0, "education_level": 3, "creative_writing_quality": null}, "score_expectations": {"content_quality": 0.0532842561801138, "noise_severity": 1.676456268744867, "missing_content_severity": 0.5249177374294194, "factual_density": 3.2833862878366533, "pretraining_utility": 0.3305509953577872, "math_density": 0.1254960263461845, "code_density": 3.680489059388333, "reasoning_density": 1.8096310758944283, "education_level": 2.8272566146857683, "creative_writing_quality": -0.463643091799475}, "api_choices": {"primary": "Technical Writing", "secondary": "NONE", "tertiary": "NONE", "education_level": "3", "creative_writing_quality": "not_applicable", "primary_topic": "Programming & Software Engineering", "secondary_topic": "NONE"}, "review_reasons": [], "format_slot_diagnostics": {"comparable": true, "secondary_tertiary_identical": false, "secondary_tertiary_max_abs_gap": 0.026892934408808078, "secondary_choice": "NONE", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.9899309370520631, "secondary": 0.8184384684139133, "tertiary": 0.832152844624188, "structured_records": 0.34251698078398274, "procedural_steps": 0.13792705891455678, "worked_solution": 0.0017629711523810267, "contextual_dialogue": 8.309895060597695e-06, "content_quality": 0.2989343324464233, "noise_severity": 0.1802582593069424, "missing_content_severity": 0.5625685521421505, "factual_density": 0.4028219065305444, "pretraining_utility": 0.3351512647280911, "math_density": 0.8954199780448462, "code_density": 0.7337408828236104, "reasoning_density": 0.0, "education_level": 0.4589488041350925, "creative_writing_quality": 0.9990129776466053, "primary_topic": 0.949771389800686, "secondary_topic": 0.6833039276844954}, "probability_margin": {"primary": 0.9838194180706057, "secondary": 0.7518591987201224, "tertiary": 0.7599228915807414, "education_level": 0.24466111519974443, "creative_writing_quality": 0.9988667126646338, "primary_topic": 0.9068330680559551, "secondary_topic": 0.4850904261953244}, "raw_probabilities": {"primary": {"Academic Writing": 5.199648298273353e-05, "Content Listing": 3.954442891600154e-05, "Creative Writing": 3.096557256359827e-05, "Customer Support Page": 2.418854430628214e-05, "Q&A Forum": 1.928685804520191e-05, "Discussion Thread": 1.3888365221273827e-05, "Comment Section": 3.026568444564757e-05, "Missing Content": 5.10962183672292e-05, "Knowledge Article": 0.00010654628516355613, "Legal Notices": 5.704945506803576e-05, "News Article": 1.0232530690207119e-05, "Organizational Announcement": 1.9328204638161497e-05, "Nonfiction Writing": 1.888911203045801e-05, "Organizational About Page": 2.010445015614088e-05, "Personal About Page": 1.8108877249678827e-05, "Personal Blog": 1.5001844944009984e-05, "Product Page": 1.494056533933153e-05, "Spam / Ads": 2.821798487658678e-05, "Structured Data": 0.0009163179728665468, "Technical Writing": 0.9903504813415606, "Transcript / Interview": 2.9869677190724898e-05, "Tutorial / How-To Guide": 0.006531063270954833, "User Reviews": 1.2772976456178515e-05, "Other / Unknown": 0.001589843295967107}, "secondary": {"Academic Writing": 0.0009279105142860852, "Content Listing": 0.0006662545184630532, "Creative Writing": 0.0006980276727476631, "Customer Support Page": 0.0004442272834239364, "Q&A Forum": 0.00036078071800592956, "Discussion Thread": 0.00028323620854661566, "Comment Section": 0.0007097492996948439, "Missing Content": 0.002941599050977834, "Knowledge Article": 0.0012159500537111574, "Legal Notices": 0.008063460455941338, "News Article": 0.0004912636354945841, "Organizational Announcement": 0.0004880883385140133, "Nonfiction Writing": 0.0005028390421547773, "Organizational About Page": 0.000466803687011643, "Personal About Page": 0.000362846886945035, "Personal Blog": 0.00038731433100405016, "Product Page": 0.0003082420873072607, "Spam / Ads": 0.0009984586830840856, "Structured Data": 0.07414433350987781, "Technical Writing": 0.05368982475980143, "Transcript / Interview": 0.0006597835683090461, "Tutorial / How-To Guide": 0.02491038753628526, "User Reviews": 0.0002750859284124208, "NONE": 0.8260035322300002}, "tertiary": {"Academic Writing": 0.0006892910638034246, "Content Listing": 0.0005754350721088701, "Creative Writing": 0.0005846022177420244, "Customer Support Page": 0.0003562933389205165, "Q&A Forum": 0.00031696760423955957, "Discussion Thread": 0.00023208695427267816, "Comment Section": 0.000890586426281712, "Missing Content": 0.0029704834876661803, "Knowledge Article": 0.0018516216159461688, "Legal Notices": 0.017375682330209318, "News Article": 0.0004370393818287763, "Organizational Announcement": 0.0003961545416395925, "Nonfiction Writing": 0.00044852832484118874, "Organizational About Page": 0.0004093815084370616, "Personal About Page": 0.00032831639368531627, "Personal Blog": 0.000312667279311957, "Product Page": 0.00030419415644223025, "Spam / Ads": 0.0013430811467136628, "Structured Data": 0.07922358451743877, "Technical Writing": 0.02679689035099335, "Transcript / Interview": 0.0005582938235280567, "Tutorial / How-To Guide": 0.024243536502633885, "User Reviews": 0.00020880586313560783, "NONE": 0.8391464760981802}, "structured_records": {"false": 0.6574830192160173, "true": 0.34251698078398274}, "procedural_steps": {"false": 0.8620729410854432, "true": 0.13792705891455678}, "worked_solution": {"false": 0.998237028847619, "true": 0.0017629711523810267}, "contextual_dialogue": {"false": 0.9999916901049394, "true": 8.309895060597695e-06}, "content_quality": {"-2": 0.0546360774208297, "-1": 0.2847251176004297, "0": 0.30606820216320374, "1": 0.2618596770088708, "2": 0.09271092580666604}, "noise_severity": {"0": 0.15361691004340108, "1": 0.3217558896968172, "2": 0.28157125980710074, "3": 0.18066590237687594, "4": 0.06239003807580514}, "missing_content_severity": {"0": 0.7148418583030363, "1": 0.11862999481518341, "2": 0.09868820913875337, "3": 0.06244842663537886, "4": 0.005391511107648165}, "factual_density": {"0": 0.005202600004773107, "1": 0.010409274288931087, "2": 0.12225551830755228, "3": 0.4200644526623564, "4": 0.4420681547363871}, "pretraining_utility": {"-2": 0.03208447406879453, "-1": 0.13422633523976368, "0": 0.36892765079834083, "1": 0.4005768010510622, "2": 0.06418473884203892}, "math_density": {"0": 0.8961394512276275, "1": 0.09026517125856694, "2": 0.008603549133595402, "3": 0.0019435567004142983, "4": 0.003048271679795968}, "code_density": {"0": 0.0003563455994250036, "1": 0.0007350059619027013, "2": 0.02114008965276177, "3": 0.2736003610227359, "4": 0.7041681977631747}, "reasoning_density": {"0": 0.2489113666859949, "1": 0.1961099430487483, "2": 0.2015078726858592, "3": 0.20337788284362876, "4": 0.15009293473576885}, "education_level": {"none": 0.0012130647322720332, "0": 0.001031899323821522, "1": 0.0030477981466576895, "2": 0.30446288824616596, "3": 0.5491240034459104, "4": 0.14112034610517232}, "creative_writing_quality": {"not_applicable": 0.9991774813721711, "-2": 0.00014764926648910644, "-1": 0.0002431190464036594, "0": 0.00031076870753734024, "1": 8.490071508417712e-05, "2": 3.60808923142956e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 0.0001254732352615326, "Art & Design": 0.0001227122052016655, "Law & Crime": 0.0001873793051684285, "Education & Careers": 0.00010276712933844015, "Entertainment & Media": 7.682664266436209e-05, "Fashion & Beauty": 8.431763211919324e-05, "Business, Economics & Finance": 0.00015938993500211926, "Food & Dining": 7.671166203231934e-05, "Games & Gaming": 0.00013577226769139974, "Electronics & Hardware": 0.0007726338441447835, "Health, Healthcare & Wellness": 7.061155157742365e-05, "History & Geography": 9.926000726478024e-05, "Home, Pets & Hobbies": 7.595689807844301e-05, "Industry & Production": 9.767095133679678e-05, "Language, Literature & Philosophy": 8.247784026066941e-05, "Politics & Government": 8.557800227347993e-05, "Religion & Spirituality": 8.350399864788204e-05, "Science, Mathematics & Engineering": 0.00017182638213413863, "Relationships & Community": 5.046611028602116e-05, "Software Usage & Applications": 0.044870191367781476, "Programming & Software Engineering": 0.9517032594237366, "Sports & Fitness": 0.00015678120598896922, "Vehicles & Transportation": 5.5269516740170214e-05, "Travel & Tourism": 8.93231454534943e-05, "Other / Uncovered Subject": 0.00032765645639267274, "Unknown / Insufficient Content": 0.0001361832834227234}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0008355449856497869, "Art & Design": 0.0006615967212913219, "Law & Crime": 0.0051610851500463895, "Education & Careers": 0.0005141387931667493, "Entertainment & Media": 0.0006134118011441898, "Fashion & Beauty": 0.0003675477716200854, "Business, Economics & Finance": 0.0008769644640304431, "Food & Dining": 0.00030585387033166213, "Games & Gaming": 0.00046153012846085847, "Electronics & Hardware": 0.007820228538592721, "Health, Healthcare & Wellness": 0.00048417369716587615, "History & Geography": 0.0003910291267166025, "Home, Pets & Hobbies": 0.0003565428593950401, "Industry & Production": 0.0003357610265062114, "Language, Literature & Philosophy": 0.0002784282806812802, "Politics & Government": 0.0004972012965916815, "Religion & Spirituality": 0.00047345423838863175, "Science, Mathematics & Engineering": 0.0011575920152309363, "Relationships & Community": 0.0002480460165869753, "Software Usage & Applications": 0.210394119655152, "Programming & Software Engineering": 0.06977296461454119, "Sports & Fitness": 0.0004662747328091034, "Vehicles & Transportation": 0.00020461636077968246, "Travel & Tourism": 0.0004847600050338896, "Other / Uncovered Subject": 0.0013525879996103408, "NONE": 0.6954845458504764}}, "probabilities": {"primary": {"Academic Writing": 5.199648298273353e-05, "Content Listing": 3.954442891600154e-05, "Creative Writing": 3.096557256359827e-05, "Customer Support Page": 2.418854430628214e-05, "Q&A Forum": 1.928685804520191e-05, "Discussion Thread": 1.3888365221273827e-05, "Comment Section": 3.026568444564757e-05, "Missing Content": 5.10962183672292e-05, "Knowledge Article": 0.00010654628516355613, "Legal Notices": 5.704945506803576e-05, "News Article": 1.0232530690207119e-05, "Organizational Announcement": 1.9328204638161497e-05, "Nonfiction Writing": 1.888911203045801e-05, "Organizational About Page": 2.010445015614088e-05, "Personal About Page": 1.8108877249678827e-05, "Personal Blog": 1.5001844944009984e-05, "Product Page": 1.494056533933153e-05, "Spam / Ads": 2.821798487658678e-05, "Structured Data": 0.0009163179728665468, "Technical Writing": 0.9903504813415606, "Transcript / Interview": 2.9869677190724898e-05, "Tutorial / How-To Guide": 0.006531063270954833, "User Reviews": 1.2772976456178515e-05, "Other / Unknown": 0.001589843295967107}, "secondary": {"Academic Writing": 0.0009279105142860852, "Content Listing": 0.0006662545184630532, "Creative Writing": 0.0006980276727476631, "Customer Support Page": 0.0004442272834239364, "Q&A Forum": 0.00036078071800592956, "Discussion Thread": 0.00028323620854661566, "Comment Section": 0.0007097492996948439, "Missing Content": 0.002941599050977834, "Knowledge Article": 0.0012159500537111574, "Legal Notices": 0.008063460455941338, "News Article": 0.0004912636354945841, "Organizational Announcement": 0.0004880883385140133, "Nonfiction Writing": 0.0005028390421547773, "Organizational About Page": 0.000466803687011643, "Personal About Page": 0.000362846886945035, "Personal Blog": 0.00038731433100405016, "Product Page": 0.0003082420873072607, "Spam / Ads": 0.0009984586830840856, "Structured Data": 0.07414433350987781, "Technical Writing": 0.05368982475980143, "Transcript / Interview": 0.0006597835683090461, "Tutorial / How-To Guide": 0.02491038753628526, "User Reviews": 0.0002750859284124208, "NONE": 0.8260035322300002}, "tertiary": {"Academic Writing": 0.0006892910638034246, "Content Listing": 0.0005754350721088701, "Creative Writing": 0.0005846022177420244, "Customer Support Page": 0.0003562933389205165, "Q&A Forum": 0.00031696760423955957, "Discussion Thread": 0.00023208695427267816, "Comment Section": 0.000890586426281712, "Missing Content": 0.0029704834876661803, "Knowledge Article": 0.0018516216159461688, "Legal Notices": 0.017375682330209318, "News Article": 0.0004370393818287763, "Organizational Announcement": 0.0003961545416395925, "Nonfiction Writing": 0.00044852832484118874, "Organizational About Page": 0.0004093815084370616, "Personal About Page": 0.00032831639368531627, "Personal Blog": 0.000312667279311957, "Product Page": 0.00030419415644223025, "Spam / Ads": 0.0013430811467136628, "Structured Data": 0.07922358451743877, "Technical Writing": 0.02679689035099335, "Transcript / Interview": 0.0005582938235280567, "Tutorial / How-To Guide": 0.024243536502633885, "User Reviews": 0.00020880586313560783, "NONE": 0.8391464760981802}, "structured_records": {"false": 0.6574830192160173, "true": 0.34251698078398274}, "procedural_steps": {"false": 0.8620729410854432, "true": 0.13792705891455678}, "worked_solution": {"false": 0.998237028847619, "true": 0.0017629711523810267}, "contextual_dialogue": {"false": 0.9999916901049394, "true": 8.309895060597695e-06}, "content_quality": {"-2": 0.0546360774208297, "-1": 0.2847251176004297, "0": 0.30606820216320374, "1": 0.2618596770088708, "2": 0.09271092580666604}, "noise_severity": {"0": 0.15361691004340108, "1": 0.3217558896968172, "2": 0.28157125980710074, "3": 0.18066590237687594, "4": 0.06239003807580514}, "missing_content_severity": {"0": 0.7148418583030363, "1": 0.11862999481518341, "2": 0.09868820913875337, "3": 0.06244842663537886, "4": 0.005391511107648165}, "factual_density": {"0": 0.005202600004773107, "1": 0.010409274288931087, "2": 0.12225551830755228, "3": 0.4200644526623564, "4": 0.4420681547363871}, "pretraining_utility": {"-2": 0.03208447406879452, "-1": 0.13422633523976366, "0": 0.3689276507983408, "1": 0.4005768010510621, "2": 0.0641847388420389}, "math_density": {"0": 0.8961394512276275, "1": 0.09026517125856694, "2": 0.008603549133595402, "3": 0.0019435567004142983, "4": 0.003048271679795968}, "code_density": {"0": 0.0003563455994250036, "1": 0.0007350059619027013, "2": 0.02114008965276177, "3": 0.2736003610227359, "4": 0.7041681977631747}, "reasoning_density": {"0": 0.2489113666859949, "1": 0.1961099430487483, "2": 0.2015078726858592, "3": 0.20337788284362876, "4": 0.15009293473576885}, "education_level": {"none": 0.0012130647322720334, "0": 0.0010318993238215223, "1": 0.00304779814665769, "2": 0.304462888246166, "3": 0.5491240034459105, "4": 0.14112034610517235}, "creative_writing_quality": {"not_applicable": 0.9991774813721714, "-2": 0.0001476492664891065, "-1": 0.00024311904640365948, "0": 0.00031076870753734035, "1": 8.490071508417715e-05, "2": 3.6080892314295614e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 0.0001254732352615326, "Art & Design": 0.0001227122052016655, "Law & Crime": 0.0001873793051684285, "Education & Careers": 0.00010276712933844015, "Entertainment & Media": 7.682664266436209e-05, "Fashion & Beauty": 8.431763211919324e-05, "Business, Economics & Finance": 0.00015938993500211926, "Food & Dining": 7.671166203231934e-05, "Games & Gaming": 0.00013577226769139974, "Electronics & Hardware": 0.0007726338441447835, "Health, Healthcare & Wellness": 7.061155157742365e-05, "History & Geography": 9.926000726478024e-05, "Home, Pets & Hobbies": 7.595689807844301e-05, "Industry & Production": 9.767095133679678e-05, "Language, Literature & Philosophy": 8.247784026066941e-05, "Politics & Government": 8.557800227347993e-05, "Religion & Spirituality": 8.350399864788204e-05, "Science, Mathematics & Engineering": 0.00017182638213413863, "Relationships & Community": 5.046611028602116e-05, "Software Usage & Applications": 0.044870191367781476, "Programming & Software Engineering": 0.9517032594237366, "Sports & Fitness": 0.00015678120598896922, "Vehicles & Transportation": 5.5269516740170214e-05, "Travel & Tourism": 8.93231454534943e-05, "Other / Uncovered Subject": 0.00032765645639267274, "Unknown / Insufficient Content": 0.0001361832834227234}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0008355449856497869, "Art & Design": 0.0006615967212913219, "Law & Crime": 0.0051610851500463895, "Education & Careers": 0.0005141387931667493, "Entertainment & Media": 0.0006134118011441898, "Fashion & Beauty": 0.0003675477716200854, "Business, Economics & Finance": 0.0008769644640304431, "Food & Dining": 0.00030585387033166213, "Games & Gaming": 0.00046153012846085847, "Electronics & Hardware": 0.007820228538592721, "Health, Healthcare & Wellness": 0.00048417369716587615, "History & Geography": 0.0003910291267166025, "Home, Pets & Hobbies": 0.0003565428593950401, "Industry & Production": 0.0003357610265062114, "Language, Literature & Philosophy": 0.0002784282806812802, "Politics & Government": 0.0004972012965916815, "Religion & Spirituality": 0.00047345423838863175, "Science, Mathematics & Engineering": 0.0011575920152309363, "Relationships & Community": 0.0002480460165869753, "Software Usage & Applications": 0.210394119655152, "Programming & Software Engineering": 0.06977296461454119, "Sports & Fitness": 0.0004662747328091034, "Vehicles & Transportation": 0.00020461636077968246, "Travel & Tourism": 0.0004847600050338896, "Other / Uncovered Subject": 0.0013525879996103408, "NONE": 0.6954845458504764}}, "probability_diagnostics": {"primary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "tertiary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "structured_records": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "procedural_steps": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "worked_solution": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "contextual_dialogue": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "content_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "noise_severity": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "missing_content_severity": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "factual_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "pretraining_utility": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "math_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "code_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "reasoning_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "education_level": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "creative_writing_quality": {"raw_sum": 0.9999999999999997, "mass_delta": -3.3306690738754696e-16, "missing_mass": 3.3306690738754696e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "primary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}}, "usage": {"input_tokens": 16048, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 16048, "cached_share": null, "cache_discount_reported": null, "reported_cost_usd": null}, "response_metadata": {"model": "decision-models/baseten-mammoth-27b-latest"}, "scored_at_utc": "2026-10-25T18:37:07.847115+00:00", "scoring_key_slot": "assistant_1", "dataset_uid": "a1fb11c9-24c4-4933-978a-22dce954aeae", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "327f09778521c431807234d77a6da1c288e3174119f04ccaeeca4be17268069d", "source_metadata": {"uuid": "a1fb11c9-24c4-4933-978a-22dce954aeae", "repo_name": "SteffMet/System-Tools-Scripts", "relative_path": "AzureVPNDeployment/Add-AppDevPackage.ps1", "category": "TOOL", "algo_rel_score": 0.7563192844390869, "quality_score": 6.176203727722168, "source_meta": {"github_metadata": {"branch": "main", "commit_count": 17, "repo_created_at": "2025-03-17T11:23:40.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 0, "forks": 1, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "48f33beada9f9f7c71604d778a17895d82ae7a13", "size_bytes": 27438, "file_timestamp": 1749730768, "language": "powershell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "cc2f32d21fe38233da7810b50fad62e5dd4dd408"}}, "parsed_source_meta": {"github_metadata": {"branch": "main", "commit_count": 17, "repo_created_at": "2025-03-17T11:23:40.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 0, "forks": 1, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "48f33beada9f9f7c71604d778a17895d82ae7a13", "size_bytes": 27438, "file_timestamp": 1749730768, "language": "powershell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "cc2f32d21fe38233da7810b50fad62e5dd4dd408", "url": "https://github.com/SteffMet/System-Tools-Scripts/blob/cc2f32d21fe38233da7810b50fad62e5dd4dd408/AzureVPNDeployment/Add-AppDevPackage.ps1"}, "gpt4o_tokens": 6939, "dataset_split": "shell", "probability_weighted_scores": {"content_quality": 0.0532842561801138, "noise_severity": 1.676456268744867, "missing_content_severity": 0.5249177374294194, "factual_density": 3.2833862878366533, "pretraining_utility": 0.33055099535778726, "math_density": 0.1254960263461845, "code_density": 3.680489059388333, "reasoning_density": 1.8096310758944283, "education_level": 2.8272566146857683, "creative_writing_quality": -0.463643091799475}, "score_applicability": {"education_level": 0.9987869352677281, "creative_writing_quality": 0.0008225186278285791}} {"source_group": "shell", "source": "openbmb/UltraData-Stack-v3-L2/shell", "domain": "github.com", "language": "shell", "url": "https://github.com/ansharma74/software-development-platform-devops/blob/adff6907c0ec91a7a99fbac4796b0dce4fcbc5fc/configure.media", "id": "shell-0-b484e5025ac9f8a3910edaff8a9b95cb", "text": "#!/bin/bash\n\n#################### Script Header #########################\n#Script Name : configure.media\n#Description : usage: configure.media x86_64 | i686 | arm | mips\n# i.e.:\n# configure.media x86_64\n#Author : (CBIR 2013 - 2015)\n#Email : \n#################### End #################################\n\nset -e\nset -o pipefail\n\nMINPARAMS=1\nif [ $# -lt \"$MINPARAMS\" ]\nthen\n echo usage:\n echo configure.media \"x86_64 | i686 | arm | mips\"\n echo\n echo i.e.:\n echo configure.media x86_64\n echo\n exit 1\nfi\n\nBUILDTYPE=$1\n\nTOP=`pwd`\necho Source Base=$TOP\n\nulimit -c unlimited\n\nsource $TOP/packages_definitions\n\necho \"--------------Testing Build Tools--------------\"\n\n$TOP/Config/buildpackageversion\n\necho \"----------Print Default Config----------------\"\n\n$TOP/Config/envtest\n\necho \"----------Export Environment Variables-------\"\nexport PREFIX=$TOP/images/media\nTCHAIN=$TOP/x86_64\n\nexport PATH=$PREFIX/bin:$PREFIX/usr/bin:$TCHAIN/bin:$TCHAIN/$TARGET/bin:$PATH\n\nexport PKG_CONFIG_PATH=$PREFIX/lib/pkgconfig:$PREFIX/lib64/pkgconfig:$PREFIX/usr/lib/pkgconfig:$PREFIX/usr/lib64/pkgconfig:$TCHAIN/lib/pkgconfig:$TCHAIN/usr/lib/pkgconfig:$TCHAIN/lib64/pkgconfig:$TCHAIN/usr/lib64/pkgconfig\n\nexport LDFLAGS=\"-L$PREFIX/lib -L$PREFIX/lib64 -L$PREFIX/usr/lib64 -L$PREFIX/lib64 -L$TCHAIN/lib -L$TCHAIN/usr/lib -L$TCHAIN/lib64 -L$TCHAIN/usr/lib64 -L$PREFIX/lib/pulseaudio\"\nexport CFLAGS=\"-fPIC -I$PREFIX/include -I$PREFIX/include/freetype2 -I$PREFIX/include/json -I$PREFIX/include/alsa -I$TCHAIN/include -I$TCHAIN/usr/include\"\nexport CXXFLAGS=\"-fPIC -I$PREFIX/include -I$PREFIX/include/json -I$TCHAIN/include -I$TCHAIN/usr/include\"\nexport LD_LIBRARY_PATH=$PREFIX/lib:$PREFIX/lib64:$PREFIX/usr/lib:$PREFIX/usr/lib64:$PREFIX/usr/lib/pulseaudio:$TCHAIN/lib:$TCHAIN/usr/lib:$TCHAIN/lib64:$TCHAIN/usr/lib64\nexport LIBRARY_PATH=$PREFIX/lib:$PREFIX/lib64:$PREFIX/usr/lib:$PREFIX/usr/lib64:$PREFIX/usr/lib/pulseaudio:$TCHAIN/lib:$TCHAIN/usr/lib:$TCHAIN/lib64:$TCHAIN/usr/lib64\nexport C_INCLUDE_PATH=$PREFIX/include:$PREFIX/usr/include:$PREFIX/include/freetype2:$TCHAIN/include:$TCHAIN/usr/include\nexport CXX_INCLUDE_PATH=$PREFIX/include:$PREFIX/usr/include:$TCHAIN/include:$TCHAIN/usr/include\n\necho \"----------Print Environment Variables ----------------\"\n\n$TOP/Config/envtest\n\nfunction libtool_fixup {\n sed -i -e \"s_ /lib_ $PREFIX/lib_g\" -e \"s_'/lib_'$PREFIX/lib_g\" $1\n}\n\nfunction buildmediapackages_component {\n\n echo \"---------------------------------------------------\"\n echo \"------------------------ Building $1 --------------\"\n echo \"---------------------------------------------------\"\n\n DIR=$2\n\n case $1 in\n\n pkg-config)\n rm -rf $TOP/buildoutput/$DIR/pkg-config\n mkdir $TOP/buildoutput/$DIR/pkg-config\n cd $TOP/buildoutput/$DIR/pkg-config\n ../../../packages/pkg-config/configure \\\n --prefix= --with-pic --with-internal-glib \\\n --disable-host-tool\n make\n make DESTDIR=$PREFIX install\n ;;\n\n expat)\n rm -rf $TOP/buildoutput/$DIR/expat\n mkdir $TOP/buildoutput/$DIR/expat\n cd $TOP/buildoutput/$DIR/expat\n ../../../packages/expat/configure --prefix= --with-pic\n make\n make DESTDIR=$PREFIX install\n libtool_fixup $PREFIX/lib/libexpat.la\n ;;\n\n zlib)\n cd $TOP/packages/zlib\n ./configure --prefix=\n make\n make DESTDIR=$PREFIX install\n ;;\n\n libtool)\n rm -rf $TOP/buildoutput/$DIR/libtool\n mkdir $TOP/buildoutput/$DIR/libtool\n cd $TOP/buildoutput/$DIR/libtool\n ../../../packages/libtool/configure --prefix= --with-pic\n make\n make DESTDIR=$PREFIX install\n libtool_fixup $PREFIX/lib/libltdl.la\n ;;\n\n sqlite-autoconf)\n rm -rf $TOP/buildoutput/$DIR/sqlite-autoconf\n mkdir $TOP/buildoutput/$DIR/sqlite-autoconf\n cd $TOP/buildoutput/$DIR/sqlite-autoconf\n ../../../packages/sqlite-autoconf/configure --prefix= --with-pic\n make\n make DESTDIR=$PREFIX install\n ;;\n\n libxml2)\n rm -rf $TOP/buildoutput/$DIR/libxml2\n mkdir $TOP/buildoutput/$DIR/libxml2\n cd $TOP/buildoutput/$DIR/libxml2\n ../../../packages/libxml2/configure \\\n --prefix= --with-pic --with-sax1\n make\n make DESTDIR=$PREFIX install\n libtool_fixup $PREFIX/lib/libxml2.la\n ;;\n\n fribidi)\n rm -rf $TOP/buildoutput/$DIR/fribidi\n mkdir $TOP/buildoutput/$DIR/fribidi\n cd $TOP/buildoutput/$DIR/fribidi\n ../../../tpd/display/fribidi/configure \\\n --prefix= --with-pic\n make\n make DESTDIR=$PREFIX install\n libtool_fixup $PREFIX/lib/libfribidi.la\n ;;\n\n freetype)\n rm -rf $TOP/buildoutput/$DIR/freetype\n mkdir $TOP/buildoutput/$DIR/freetype\n cd $TOP/buildoutput/$DIR/freetype\n ../../../tpd/display/freetype/configure \\\n --prefix= --with-pic \n make\n make DESTDIR=$PREFIX install\n libtool_fixup $PREFIX/lib/libfreetype.la\n ;;\n\n fontconfig)\n rm -rf $TOP/buildoutput/$DIR/fontconfig\n mkdir $TOP/buildoutput/$DIR/fontconfig\n cd $TOP/buildoutput/$DIR/fontconfig\n export FONTCONFIG_SOURCE=$TOP/tpd/display/fontconfig\n $TOP/Config/fontconfig_tree\n ./configure --prefix= --with-pic --disable-docs \n make\n make DESTDIR=$PREFIX install\n libtool_fixup $PREFIX/lib/libfontconfig.la\n export FONTCONFIG_SOURCE=\n ;;\n\n libffi)\n rm -rf $TOP/buildoutput/$DIR/libffi\n mkdir $TOP/buildoutput/$DIR/libffi\n cd $TOP/buildoutput/$DIR/libffi\n ../../../packages/libffi/configure \\\n --prefix= --with-pic\n make\n make DESTDIR=$PREFIX install\n libtool_fixup $PREFIX/lib/libffi.la\n ;;\n\n libusb)\n rm -rf $TOP/buildoutput/$DIR/libusb\n mkdir $TOP/buildoutput/$DIR/libusb\n cd $TOP/buildoutput/$DIR/libusb\n ../../../packages/libusb/configure --prefix= \\\n --with-pic --enable-shared\n make\n make DESTDIR=$PREFIX install\n libtool_fixup $PREFIX/lib/libusb-1.0.la\n ;;\n\n libgcrypt)\n rm -rf $TOP/buildoutput/$DIR/libgcrypt\n mkdir $TOP/buildoutput/$DIR/libgcrypt\n cd $TOP/buildoutput/$DIR/libgcrypt\n ../../../packages/libgcrypt/configure \\\n --prefix= --with-pic\n make\n make DESTDIR=$PREFIX install\n libtool_fixup $PREFIX/lib/libgcrypt.la\n ;;\n\n libgpg-error)\n rm -rf $TOP/buildoutput/$DIR/libgpg-error\n mkdir $TOP/buildoutput/$DIR/libgpg-error\n cd $TOP/buildoutput/$DIR/libgpg-error\n ../../../packages/libgpg-error/configure \\\n --prefix= --with-pic\n make\n make DESTDIR=$PREFIX install\n libtool_fixup $PREFIX/lib/libgpg-error.la\n ;;\n\n libpng)\n rm -rf $TOP/buildoutput/$DIR/libpng\n mkdir $TOP/buildoutput/$DIR/libpng\n cd $TOP/buildoutput/$DIR/libpng\n ../../../tpd/display/libpng/configure --prefix= --with-pic\n make\n make DESTDIR=$PREFIX install\n libtool_fixup $PREFIX/lib/libpng15.la\n libtool_fixup $PREFIX/lib/libpng.la\n ;;\n\n libogg)\n rm -rf $TOP/buildoutput/$DIR/libogg\n mkdir $TOP/buildoutput/$DIR/libogg\n cd $TOP/buildoutput/$DIR/libogg\n ../../../media/libogg/configure --prefix= --with-pic\n make\n make DESTDIR=$PREFIX install\n libtool_fixup $PREFIX/lib/libogg.la\n ;;\n\n libx264)\n rm -rf $TOP/buildoutput/$DIR/libx264\n mkdir $TOP/buildoutput/$DIR/libx264\n cd $TOP/buildoutput/$DIR/libx264\n ../../../media/libx264/configure --prefix= \\\n --enable-pic --enable-shared --enable-static\n make\n make DESTDIR=$PREFIX install\n ;;\n\n live)\n rm -rf $PREFIX/usr/local/lib\n cd $TOP/tpd/apps/live\n ./genMakefiles linux-with-shared-libraries\n make\n make DESTDIR=$PREFIX install\n ;;\n\n openssl)\n rm -rf $TOP/buildoutput/$DIR/openssl\n mkdir $TOP/buildoutput/$DIR/openssl\n cd $TOP/buildoutput/$DIR/openssl\n export OPENSSL_SOURCE=$TOP/packages/openssl\n $TOP/Config/openssl_tree\n ./Configure --prefix=/usr linux-$BUILDTYPE \\\n -L$PREFIX/lib shared -I$PREFIX/include -fPIC\n make\n make INSTALL_PREFIX=$PREFIX install\n export OPENSSL_SOURCE=\n ;;\n\n tiff)\n rm -rf $TOP/buildoutput/$DIR/tiff\n mkdir $TOP/buildoutput/$DIR/tiff\n cd $TOP/buildoutput/$DIR/tiff\n ../../../media/tiff/configure --prefix= --with-pic \n make\n make DESTDIR=$PREFIX install\n libtool_fixup $PREFIX/lib/libtiff.la\n libtool_fixup $PREFIX/lib/libtiffxx.la\n ;;\n\n alsa-lib)\n rm -rf $TOP/buildoutput/$DIR/alsa-lib\n mkdir $TOP/buildoutput/$DIR/alsa-lib\n cd $TOP/buildoutput/$DIR/alsa-lib\n ../../../media/alsa-lib/configure --prefix= --with-pic\n make\n make DESTDIR=$PREFIX install\n libtool_fixup $PREFIX/lib/libasound.la\n libtool_fixup $PREFIX/lib/alsa-lib/smixer/smixer-hda.la\n libtool_fixup $PREFIX/lib/alsa-lib/smixer/smixer-sbase.la\n libtool_fixup $PREFIX/lib/alsa-lib/smixer/smixer-ac97.la\n ;;\n\n ncurses)\n rm -rf $TOP/buildoutput/$DIR/ncurses\n mkdir $TOP/buildoutput/$DIR/ncurses\n cd $TOP/buildoutput/$DIR/ncurses\n ../../../packages/ncurses/configure --prefix= \\\n --with-shared --without-tests \\\n --without-debug --without-manpages --with-termlib CFLAGS=-fPIC\n make\n make DESTDIR=$PREFIX install\n ;;\n\n json-c)\n rm -rf $TOP/buildoutput/$DIR/json-c\n mkdir $TOP/buildoutput/$DIR/json-c\n cd $TOP/buildoutput/$DIR/json-c\n ../../../packages/json-c/configure --prefix= \\\n --with-pic\n make\n make DESTDIR=$PREFIX install\n libtool_fixup $PREFIX/lib/libjson.la\n ;;\n\n libsndfile)\n rm -rf $TOP/buildoutput/$DIR/libsndfile\n mkdir $TOP/buildoutput/$DIR/libsndfile\n cd $TOP/buildoutput/$DIR/libsndfile\n ../../../media/libsndfile/configure \\\n --prefix= --with-pic \n make\n make DESTDIR=$PREFIX install\n libtool_fixup $PREFIX/lib/libsndfile.la\n ;;\n\n libass)\n rm -rf $TOP/buildoutput/$DIR/libass\n mkdir $TOP/buildoutput/$DIR/libass\n cd $TOP/buildoutput/$DIR/libass\n ../../../media/libass/configure --prefix= \\\n --with-pic \n make\n make DESTDIR=$PREFIX install\n libtool_fixup $PREFIX/lib/libass.la\n ;;\n\n pulseaudio)\n rm -rf $TOP/buildoutput/$DIR/pulseaudio\n mkdir $TOP/buildoutput/$DIR/pulseaudio\n cd $TOP/buildoutput/$DIR/pulseaudio\n ../../../media/pulseaudio/configure --disable-manpages \\\n --prefix= --with-pic --enable-static --disable-udev \\\n --disable-systemd --disable-tests --enable-silent-rules \n make\n make DESTDIR=$PREFIX install\n libtool_fixup $PREFIX/lib/libpulse.la\n libtool_fixup $PREFIX/lib/libpulsecore-3.0.la\n libtool_fixup $PREFIX/lib/libpulse-simple.la\n libtool_fixup $PREFIX/lib/pulseaudio/libpulsecommon-3.0.la\n libtool_fixup $PREFIX/lib/libpulse.la\n libtool_fixup $PREFIX/lib/pulseaudio/libpulsedsp.la\n ;;\n\n libdvdread)\n rm -rf $TOP/buildoutput/$DIR/libdvdread\n mkdir $TOP/buildoutput/$DIR/libdvdread\n cd $TOP/buildoutput/$DIR/libdvdread\n ../../../media/libdvdread/configure --prefix= \\\n --with-pic --enable-shared \n make\n make DESTDIR=$PREFIX install\n ;;\n\n jpeg)\n rm -rf $TOP/buildoutput/$DIR/jpeg\n mkdir $TOP/buildoutput/$DIR/jpeg\n cd $TOP/buildoutput/$DIR/jpeg\n ../../../packages/jpeg/configure --prefix=\n make\n make DESTDIR=$PREFIX install\n libtool_fixup $PREFIX/lib/libjpeg.la\n ;;\n\n speex)\n rm -rf $TOP/buildoutput/$DIR/speex\n mkdir $TOP/buildoutput/$DIR/speex\n cd $TOP/buildoutput/$DIR/speex\n ../../../media/speex/configure --prefix= --with-pic \n make\n make DESTDIR=$PREFIX install\n libtool_fixup $PREFIX/lib/libspeex.la\n libtool_fixup $PREFIX/lib/libspeexdsp.la\n ;;\n\n v4l-utils)\n rm -rf $TOP/buildoutput/$DIR/v4l-utils\n mkdir $TOP/buildoutput/$DIR/v4l-utils\n cd $TOP/buildoutput/$DIR/v4l-utils\n ../../../media/v4l-utils/configure \\\n --prefix= --with-pic --with-udevdir=$PREFIX\n make\n make DESTDIR=$PREFIX install\n ;;\n\n libvorbis)\n rm -rf $TOP/buildoutput/$DIR/libvorbis\n mkdir $TOP/buildoutput/$DIR/libvorbis\n cd $TOP/buildoutput/$DIR/libvorbis\n ../../../media/libvorbis/configure --prefix= \\\n --with-pic --enable-shared\n make\n make DESTDIR=$PREFIX install\n libtool_fixup $PREFIX/lib/libvorbis.la\n libtool_fixup $PREFIX/lib/libvorbisenc.la\n libtool_fixup $PREFIX/lib/libvorbisfile.la\n ;;\n\n libdc1394)\n rm -rf $TOP/buildoutput/$DIR/libdc1394\n mkdir $TOP/buildoutput/$DIR/libdc1394\n cd $TOP/buildoutput/$DIR/libdc1394\n ../../../media/libdc1394/configure --prefix= \\\n --with-pic --enable-shared \n ;;\n\n dvblast)\n ;;\n\n libaacs)\n rm -rf $TOP/buildoutput/$DIR/libdc1394\n mkdir $TOP/buildoutput/$DIR/libdc1394\n cd $TOP/buildoutput/$DIR/libdc1394\n ../../../media/libaacs/configure --prefix= \\\n --with-pic --enable-shared \n ;;\n\n libbluray)\n rm -rf $TOP/buildoutput/$DIR/libdc1394\n mkdir $TOP/buildoutput/$DIR/libdc1394\n cd $TOP/buildoutput/$DIR/libdc1394\n ../../../media/libbluray/configure --prefix= \\\n --with-pic --enable-shared \n ;;\n\n libdca)\n rm -rf $TOP/buildoutput/$DIR/libdc1394\n mkdir $TOP/buildoutput/$DIR/libdc1394\n cd $TOP/buildoutput/$DIR/libdc1394\n ../../../media/libdca/configure --prefix= \\\n --with-pic --enable-shared \n ;;\n\n libdvbpsi)\n rm -rf $TOP/buildoutput/$DIR/libdc1394\n mkdir $TOP/buildoutput/$DIR/libdc1394\n cd $TOP/buildoutput/$DIR/libdc1394\n ../../../media/libdvbpsi/configure --prefix= \\\n --with-pic --enable-shared \n ;;\n\n libmpeg2)\n rm -rf $TOP/buildoutput/$DIR/libmpeg2\n mkdir $TOP/buildoutput/$DIR/libmpeg2\n cd $TOP/buildoutput/$DIR/libmpeg2\n ../../../media/libmpeg2/configure --prefix= \\\n --with-pic --enable-shared \n ;;\n\n a52dec)\n rm -rf $TOP/buildoutput/$DIR/a52dec\n mkdir $TOP/buildoutput/$DIR/a52dec\n cd $TOP/buildoutput/$DIR/a52dec\n ../../../media/a52dec/configure --prefix= --with-pic\n ;;\n\n alsa-utils)\n rm -rf $TOP/buildoutput/$DIR/alsa-utils\n mkdir $TOP/buildoutput/$DIR/alsa-utils\n cd $TOP/buildoutput/$DIR/alsa-utils\n export ALSAUTILS_SOURCE=$TOP/media/alsa-utils\n $TOP/Config/alsautils_tree\n ./configure --prefix= \\\n --with-alsa-prefix=$PREFIX/lib \\\n --with-alsa-inc-prefix=$PREFIX/include \\\n --with-udev-rules-dir= \\\n --with-asound-state-dir= \\\n --with-curses=\"ncurses\" NCURSES_CFLAGS=\"-I$PREFIX/include/ncurses\" \\\n NCURSES_LIBS=\"-L$PREFIX/lib\" LIBS=\"-ltinfo -lncurses\" --disable-xmlto\n export ALSAUTILS_SOURCE=\n ;;\n\n bitstream)\n ;;\n\n ffmpeg)\n rm -rf $TOP/buildoutput/$DIR/ffmpeg\n mkdir $TOP/buildoutput/$DIR/ffmpeg\n cd $TOP/buildoutput/$DIR/ffmpeg\n ../../../media/ffmpeg/configure \\\n --prefix= \\\n --extra-cflags=\"-I$PREFIX/include -I$PREFIX/include/pulse\" \\\n --extra-ldflags=\"-L$PREFIX/lib -B$PREFIX/lib/pulseaudio\" --disable-txtpages \\\n --enable-pic --enable-shared --enable-gpl --enable-libpulse \\\n --enable-libx264 --enable-libv4l2 --enable-libspeex \\\n --enable-libass --enable-libfreetype \\\n --enable-libvorbis --disable-manpages --disable-debug \\\n --enable-fontconfig --disable-doc --disable-podpages \\\n --disable-txtpages\n ;;\n\n flac)\n rm -rf $TOP/buildoutput/$DIR/flac\n mkdir $TOP/buildoutput/$DIR/flac\n cd $TOP/buildoutput/$DIR/flac\n export FLAC_SOURCE=$TOP/media/flac\n $TOP/Config/flac_tree\n ./configure --prefix= --with-pic\n export FLAC_SOURCE=\n ;;\n\n gstreamer)\n rm -rf $TOP/buildoutput/$DIR/gstreamer\n mkdir $TOP/buildoutput/$DIR/gstreamer\n cd $TOP/buildoutput/$DIR/gstreamer\n ../../../media/gstreamer/configure \\\n --prefix= --with-pic --disable-check --disable-tests \\\n --disable-examples --enable-gtk-doc-html\n ;;\n\n libdvdcss)\n rm -rf $TOP/buildoutput/$DIR/libdvdcss\n mkdir $TOP/buildoutput/$DIR/libdvdcss\n cd $TOP/buildoutput/$DIR/libdvdcss\n ../../../media/libdvdcss/configure --prefix= \\\n --with-pic --enable-shared --disable-doc\n ;;\n\n libdvdnav)\n rm -rf $TOP/buildoutput/$DIR/libdvdnav\n mkdir $TOP/buildoutput/$DIR/libdvdnav\n cd $TOP/buildoutput/$DIR/libdvdnav\n ../../../media/libdvdnav/configure2 \\\n --prefix= --extra-cflags=-fPIC \\\n --enable-shared --with-dvdread= \\\n --with-dvdread-config=$PREFIX/bin/dvdread-config \\\n --disable-debug \n ;;\n\n libeXosip)\n rm -rf $TOP/buildoutput/$DIR/libeXosip\n mkdir $TOP/buildoutput/$DIR/libeXosip\n cd $TOP/buildoutput/$DIR/libeXosip\n ../../../media/libeXosip/configure --with-pic \\\n --prefix= --enable-openssl LDFLAGS=-L$PREFIX/usr/lib64 LIBS=-lssl\n ;;\n\n libfreenect)\n cd $TOP/media/libfreenect\n if [ -f CMakeCache.txt ]\n then\n make clean\n fi\n if [ -f CMakeCache.txt ]\n then\n rm CMakeCache.txt\n fi\n cmake . -DCMAKE_INSTALL_PREFIX:PATH=/usr \\\n -DCMAKE_C_FLAGS:STRING=\"-fPIC -I$TOP/$BUILDTYPE/usr/include\" \\\n -DLIBUSB_1_LIBRARY:FILEPATH=$TOP/images/media/lib/libusb-1.0.a \\\n -DLIBUSB_1_INCLUDE_DIR:PATH=$TOP/images/media/include/libusb-1.0\n ;;\n\n libosip)\n rm -rf $TOP/buildoutput/$DIR/libosip\n mkdir $TOP/buildoutput/$DIR/libosip\n cd $TOP/buildoutput/$DIR/libosip\n ../../../media/libosip/configure --prefix= --with-pic\n ;;\n\n multicat)\n ;;\n\n spandsp)\n rm -rf $TOP/buildoutput/$DIR/spandsp\n mkdir $TOP/buildoutput/$DIR/spandsp\n cd $TOP/buildoutput/$DIR/spandsp\n export SPANDSP_SOURCE=$TOP/media/spandsp\n $TOP/Config/spandsp_tree\n ./configure --prefix= --with-pic \n export SPANDSP_SOURCE=\n ;;\n\n *)\n echo \"wrong package\"\n echo \"skip\"\n ;;\n\n esac\n}\n\nfunction config_media_packages {\n rm -rf $TOP/buildoutput/media\n mkdir -p $TOP/buildoutput/media\n for pack in $media_packages; do\n buildmediapackages_component $pack media\n done\n}\n\nconfig_media_packages\n", "text_preview": "#!/bin/bash #################### Script Header ######################### #Script Name : configure.media #Description : usage: configure.media x86_64 | i686 | arm | mips # i.e.: # configure.media x86_64 #Author : (CBIR 2013 - 2015) #E", "input_sha256": "c74738c917c911195e638a33515ba51cc42c86e9dd3b1fac59373da6f1bc2031", "text_sha256": "b484e5025ac9f8a3910edaff8a9b95cb24de1fdd66b50815144dfb306b17d2ba", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 20110, "input_policy": "text-and-optional-url-v1", "label_policy_version": 12, "requested_model": "decision-models/baseten-mammoth-27b-latest", "backend": "baseten", "endpoint": "https://inference.baseten.co/v1/systemone", "status": "ok", "training_eligible": true, "label": {"primary": {"main_format": "Technical Writing", "sub_format": null}, "secondary": null, "tertiary": null, "content_structure": []}, "candidate_label": null, "topic": {"primary": {"main_topic": "Programming & Software Engineering", "sub_topic": null}, "secondary": null}, "scores": {"content_quality": 0, "noise_severity": 0, "missing_content_severity": 0, "factual_density": 3, "pretraining_utility": 0, "math_density": 0, "code_density": 4, "reasoning_density": 0, "education_level": 3, "creative_writing_quality": null}, "score_expectations": {"content_quality": 0.19730404789950245, "noise_severity": 0.204468235881482, "missing_content_severity": 0.0857085717637193, "factual_density": 3.1945959941612494, "pretraining_utility": 0.13727987660991184, "math_density": 0.019413042057712115, "code_density": 3.845670821207785, "reasoning_density": 0.13383673612702043, "education_level": 2.6651817211591777, "creative_writing_quality": -0.28828211063044723}, "api_choices": {"primary": "Technical Writing", "secondary": "NONE", "tertiary": "NONE", "education_level": "3", "creative_writing_quality": "not_applicable", "primary_topic": "Programming & Software Engineering", "secondary_topic": "NONE"}, "review_reasons": [], "format_slot_diagnostics": {"comparable": true, "secondary_tertiary_identical": false, "secondary_tertiary_max_abs_gap": 0.008717365122865292, "secondary_choice": "NONE", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.9787835688025279, "secondary": 0.9175752779299883, "tertiary": 0.925686860617413, "structured_records": 0.31187736082515843, "procedural_steps": 0.45256427839546104, "worked_solution": 0.0009587941043125493, "contextual_dialogue": 5.362064740739525e-06, "content_quality": 0.371191600280237, "noise_severity": 0.8296098034320983, "missing_content_severity": 0.9285761901969005, "factual_density": 0.5254122153766502, "pretraining_utility": 0.47985632274568557, "math_density": 0.9838224649519066, "code_density": 0.8713923510064876, "reasoning_density": 0.8884693865608163, "education_level": 0.4140700792309891, "creative_writing_quality": 0.999008235667724, "primary_topic": 0.977948247054126, "secondary_topic": 0.8302118087307792}, "probability_margin": {"primary": 0.9673417881054852, "secondary": 0.8872341351833619, "tertiary": 0.9006681017380186, "education_level": 0.11065845441614963, "creative_writing_quality": 0.9988024535288258, "primary_topic": 0.962179483817728, "secondary_topic": 0.7638213693574629}, "raw_probabilities": {"primary": {"Academic Writing": 6.789835768215666e-05, "Content Listing": 8.135147022179321e-05, "Creative Writing": 4.120427816370626e-05, "Customer Support Page": 4.24000869114032e-05, "Q&A Forum": 3.178031385067114e-05, "Discussion Thread": 2.503080007168269e-05, "Comment Section": 3.694676111687594e-05, "Missing Content": 6.345690740503277e-05, "Knowledge Article": 0.00016391094525436832, "Legal Notices": 6.257449551261448e-05, "News Article": 1.955220866722575e-05, "Organizational Announcement": 3.440790037231316e-05, "Nonfiction Writing": 2.8779243556592856e-05, "Organizational About Page": 3.858164746107147e-05, "Personal About Page": 3.8620890156885966e-05, "Personal Blog": 2.3892074234878743e-05, "Product Page": 2.7362946682483053e-05, "Spam / Ads": 3.24969218589517e-05, "Structured Data": 0.0007327992894813585, "Technical Writing": 0.9796675867690893, "Transcript / Interview": 4.5292213848196136e-05, "Tutorial / How-To Guide": 0.012325798663604011, "User Reviews": 2.0786052281288616e-05, "Other / Unknown": 0.0063474887625151145}, "secondary": {"Academic Writing": 0.0003736279999445773, "Content Listing": 0.0009230103930638857, "Creative Writing": 0.0002909624931948663, "Customer Support Page": 0.0002928418273365084, "Q&A Forum": 0.00016127327397539643, "Discussion Thread": 0.00011533196433449374, "Comment Section": 0.00025142395511083105, "Missing Content": 0.0021534584234131145, "Knowledge Article": 0.0010328751338573902, "Legal Notices": 0.0008281255798832446, "News Article": 0.00016226139171346567, "Organizational Announcement": 0.00019662860945992528, "Nonfiction Writing": 0.0001655568896072423, "Organizational About Page": 0.00033999367047372544, "Personal About Page": 0.0007101040643279311, "Personal Blog": 0.00018749983416579963, "Product Page": 0.00013023529357401734, "Spam / Ads": 0.00019908732975781448, "Structured Data": 0.003303964967869917, "Technical Writing": 0.03377550616621013, "Transcript / Interview": 0.0002288426977038691, "Tutorial / How-To Guide": 0.033059113313749014, "User Reviews": 0.00010863337770077154, "NONE": 0.9210096413495721}, "tertiary": {"Academic Writing": 0.00029553931603715336, "Content Listing": 0.001120705689095818, "Creative Writing": 0.00027840584702221535, "Customer Support Page": 0.00024677425833947737, "Q&A Forum": 0.00012285019051676532, "Discussion Thread": 9.214023654502023e-05, "Comment Section": 0.0003020564254976283, "Missing Content": 0.006215422649644506, "Knowledge Article": 0.0016292135252513192, "Legal Notices": 0.0018027593857040073, "News Article": 0.0001359236422864456, "Organizational Announcement": 0.0001795711341374051, "Nonfiction Writing": 0.00017991276468906566, "Organizational About Page": 0.0005471682140706043, "Personal About Page": 0.0014233438891025796, "Personal Blog": 0.000175177914839139, "Product Page": 0.0001130671261572232, "Spam / Ads": 0.00019768099283444388, "Structured Data": 0.00270746016786945, "Technical Writing": 0.02505814104334484, "Transcript / Interview": 0.00019391352212083318, "Tutorial / How-To Guide": 0.02811513968700221, "User Reviews": 8.439095287113452e-05, "NONE": 0.9287832414250208}, "structured_records": {"false": 0.6881226391748416, "true": 0.31187736082515843}, "procedural_steps": {"false": 0.5474357216045389, "true": 0.45256427839546104}, "worked_solution": {"false": 0.9990412058956875, "true": 0.0009587941043125493}, "contextual_dialogue": {"false": 0.9999946379352592, "true": 5.362064740739525e-06}, "content_quality": {"-2": 0.030496715974902486, "-1": 0.2176395839323016, "0": 0.3543351886885577, "1": 0.3191199590268677, "2": 0.07840855237737068}, "noise_severity": {"0": 0.8314737386500796, "1": 0.13928356124283972, "2": 0.02410274442736926, "3": 0.003580636934942213, "4": 0.001559318744769278}, "missing_content_severity": {"0": 0.930407834046658, "1": 0.05717060199188747, "2": 0.009691627831515287, "3": 0.0017650304109562468, "4": 0.0009649057189831318}, "factual_density": {"0": 0.0046027071540272755, "1": 0.011092429071911636, "2": 0.15146169408748, "3": 0.4507925018319464, "4": 0.38205066785463465}, "pretraining_utility": {"-2": 0.019221896676964032, "-1": 0.20500247469370467, "0": 0.4394184911459096, "1": 0.2919881303092984, "2": 0.04436900717412309}, "math_density": {"0": 0.9842175927865666, "1": 0.013888947388028788, "2": 0.0008202629979679825, "3": 0.00040921863599901873, "4": 0.0006639781914375762}, "code_density": {"0": 0.0004416003179450929, "1": 0.0008252615588746064, "2": 0.013841054512290984, "3": 0.12240488381922877, "4": 0.8624871997916606}, "reasoning_density": {"0": 0.9114979889447176, "1": 0.05062373405452406, "2": 0.032308166283850845, "3": 0.0036837733628348433, "4": 0.0018863373540725307}, "education_level": {"none": 0.001055195913808771, "0": 0.0015226400388178678, "1": 0.004486978215622412, "2": 0.4010666116096746, "3": 0.5117250660258242, "4": 0.08014350819625202}, "creative_writing_quality": {"not_applicable": 0.9991735297231034, "-2": 9.766523500219355e-05, "-1": 0.00021873575901638098, "0": 0.00037107619427755793, "1": 0.00010217654397731405, "2": 3.681654462318192e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 4.6091980789996944e-05, "Art & Design": 9.01701205111105e-05, "Law & Crime": 5.9609610562410124e-05, "Education & Careers": 5.647794962780065e-05, "Entertainment & Media": 0.0010513256397881995, "Fashion & Beauty": 4.224667286497467e-05, "Business, Economics & Finance": 6.045796669111985e-05, "Food & Dining": 4.123289956298758e-05, "Games & Gaming": 0.00020648168919343467, "Electronics & Hardware": 0.0018112197843637718, "Health, Healthcare & Wellness": 3.3170768689596895e-05, "History & Geography": 5.422596581718289e-05, "Home, Pets & Hobbies": 4.32724731955764e-05, "Industry & Production": 7.516624385846015e-05, "Language, Literature & Philosophy": 4.46720902784183e-05, "Politics & Government": 3.3360449301489764e-05, "Religion & Spirituality": 4.48614972305289e-05, "Science, Mathematics & Engineering": 0.00021649994130236287, "Relationships & Community": 2.8831840026263707e-05, "Software Usage & Applications": 0.016616907580470026, "Programming & Software Engineering": 0.9787963913981981, "Sports & Fitness": 6.98881679503814e-05, "Vehicles & Transportation": 2.7447812483463687e-05, "Travel & Tourism": 4.6595110502821036e-05, "Other / Uncovered Subject": 0.0003001889411866473, "Unknown / Insufficient Content": 0.00010320540555289357}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0005938187096873184, "Art & Design": 0.0018677300361549204, "Law & Crime": 0.0005861881516774135, "Education & Careers": 0.00038191054923572044, "Entertainment & Media": 0.03325463505247686, "Fashion & Beauty": 0.0002769462501619354, "Business, Economics & Finance": 0.0006141529607168378, "Food & Dining": 0.00023091072995183018, "Games & Gaming": 0.0008856044624925187, "Electronics & Hardware": 0.010257083040027043, "Health, Healthcare & Wellness": 0.0002943042168107377, "History & Geography": 0.00031907553709177697, "Home, Pets & Hobbies": 0.00031547731358704423, "Industry & Production": 0.0003106227256941389, "Language, Literature & Philosophy": 0.00020109721821689317, "Politics & Government": 0.000281371644217011, "Religion & Spirituality": 0.0003229601824727934, "Science, Mathematics & Engineering": 0.0008615302652782679, "Relationships & Community": 0.00018020428462215324, "Software Usage & Applications": 0.07292075442213236, "Programming & Software Engineering": 0.03647934983419147, "Sports & Fitness": 0.00029347264485743007, "Vehicles & Transportation": 0.00014611306829424668, "Travel & Tourism": 0.0003547155621173572, "Other / Uncovered Subject": 0.001027847358238521, "NONE": 0.8367421237795953}}, "probabilities": {"primary": {"Academic Writing": 6.789835768215666e-05, "Content Listing": 8.135147022179321e-05, "Creative Writing": 4.120427816370626e-05, "Customer Support Page": 4.24000869114032e-05, "Q&A Forum": 3.178031385067114e-05, "Discussion Thread": 2.503080007168269e-05, "Comment Section": 3.694676111687594e-05, "Missing Content": 6.345690740503277e-05, "Knowledge Article": 0.00016391094525436832, "Legal Notices": 6.257449551261448e-05, "News Article": 1.955220866722575e-05, "Organizational Announcement": 3.440790037231316e-05, "Nonfiction Writing": 2.8779243556592856e-05, "Organizational About Page": 3.858164746107147e-05, "Personal About Page": 3.8620890156885966e-05, "Personal Blog": 2.3892074234878743e-05, "Product Page": 2.7362946682483053e-05, "Spam / Ads": 3.24969218589517e-05, "Structured Data": 0.0007327992894813585, "Technical Writing": 0.9796675867690893, "Transcript / Interview": 4.5292213848196136e-05, "Tutorial / How-To Guide": 0.012325798663604011, "User Reviews": 2.0786052281288616e-05, "Other / Unknown": 0.0063474887625151145}, "secondary": {"Academic Writing": 0.0003736279999445773, "Content Listing": 0.0009230103930638857, "Creative Writing": 0.0002909624931948663, "Customer Support Page": 0.0002928418273365084, "Q&A Forum": 0.00016127327397539643, "Discussion Thread": 0.00011533196433449374, "Comment Section": 0.00025142395511083105, "Missing Content": 0.0021534584234131145, "Knowledge Article": 0.0010328751338573902, "Legal Notices": 0.0008281255798832446, "News Article": 0.00016226139171346567, "Organizational Announcement": 0.00019662860945992528, "Nonfiction Writing": 0.0001655568896072423, "Organizational About Page": 0.00033999367047372544, "Personal About Page": 0.0007101040643279311, "Personal Blog": 0.00018749983416579963, "Product Page": 0.00013023529357401734, "Spam / Ads": 0.00019908732975781448, "Structured Data": 0.003303964967869917, "Technical Writing": 0.03377550616621013, "Transcript / Interview": 0.0002288426977038691, "Tutorial / How-To Guide": 0.033059113313749014, "User Reviews": 0.00010863337770077154, "NONE": 0.9210096413495721}, "tertiary": {"Academic Writing": 0.00029553931603715336, "Content Listing": 0.001120705689095818, "Creative Writing": 0.00027840584702221535, "Customer Support Page": 0.00024677425833947737, "Q&A Forum": 0.00012285019051676532, "Discussion Thread": 9.214023654502023e-05, "Comment Section": 0.0003020564254976283, "Missing Content": 0.006215422649644506, "Knowledge Article": 0.0016292135252513192, "Legal Notices": 0.0018027593857040073, "News Article": 0.0001359236422864456, "Organizational Announcement": 0.0001795711341374051, "Nonfiction Writing": 0.00017991276468906566, "Organizational About Page": 0.0005471682140706043, "Personal About Page": 0.0014233438891025796, "Personal Blog": 0.000175177914839139, "Product Page": 0.0001130671261572232, "Spam / Ads": 0.00019768099283444388, "Structured Data": 0.00270746016786945, "Technical Writing": 0.02505814104334484, "Transcript / Interview": 0.00019391352212083318, "Tutorial / How-To Guide": 0.02811513968700221, "User Reviews": 8.439095287113452e-05, "NONE": 0.9287832414250208}, "structured_records": {"false": 0.6881226391748416, "true": 0.31187736082515843}, "procedural_steps": {"false": 0.5474357216045389, "true": 0.45256427839546104}, "worked_solution": {"false": 0.9990412058956875, "true": 0.0009587941043125493}, "contextual_dialogue": {"false": 0.9999946379352592, "true": 5.362064740739525e-06}, "content_quality": {"-2": 0.03049671597490248, "-1": 0.21763958393230154, "0": 0.3543351886885576, "1": 0.31911995902686763, "2": 0.07840855237737067}, "noise_severity": {"0": 0.8314737386500796, "1": 0.13928356124283972, "2": 0.02410274442736926, "3": 0.003580636934942213, "4": 0.001559318744769278}, "missing_content_severity": {"0": 0.9304078340466578, "1": 0.057170601991887456, "2": 0.009691627831515285, "3": 0.0017650304109562464, "4": 0.0009649057189831316}, "factual_density": {"0": 0.0046027071540272755, "1": 0.011092429071911636, "2": 0.15146169408748, "3": 0.4507925018319464, "4": 0.38205066785463465}, "pretraining_utility": {"-2": 0.019221896676964036, "-1": 0.20500247469370472, "0": 0.4394184911459097, "1": 0.29198813030929843, "2": 0.0443690071741231}, "math_density": {"0": 0.9842175927865666, "1": 0.013888947388028788, "2": 0.0008202629979679825, "3": 0.00040921863599901873, "4": 0.0006639781914375762}, "code_density": {"0": 0.0004416003179450929, "1": 0.0008252615588746064, "2": 0.013841054512290984, "3": 0.12240488381922877, "4": 0.8624871997916606}, "reasoning_density": {"0": 0.9114979889447177, "1": 0.05062373405452407, "2": 0.03230816628385085, "3": 0.0036837733628348438, "4": 0.001886337354072531}, "education_level": {"none": 0.0010551959138087711, "0": 0.001522640038817868, "1": 0.004486978215622413, "2": 0.40106661160967466, "3": 0.5117250660258243, "4": 0.08014350819625203}, "creative_writing_quality": {"not_applicable": 0.9991735297231034, "-2": 9.766523500219355e-05, "-1": 0.00021873575901638098, "0": 0.00037107619427755793, "1": 0.00010217654397731405, "2": 3.681654462318192e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 4.6091980789996944e-05, "Art & Design": 9.01701205111105e-05, "Law & Crime": 5.9609610562410124e-05, "Education & Careers": 5.647794962780065e-05, "Entertainment & Media": 0.0010513256397881995, "Fashion & Beauty": 4.224667286497467e-05, "Business, Economics & Finance": 6.045796669111985e-05, "Food & Dining": 4.123289956298758e-05, "Games & Gaming": 0.00020648168919343467, "Electronics & Hardware": 0.0018112197843637718, "Health, Healthcare & Wellness": 3.3170768689596895e-05, "History & Geography": 5.422596581718289e-05, "Home, Pets & Hobbies": 4.32724731955764e-05, "Industry & Production": 7.516624385846015e-05, "Language, Literature & Philosophy": 4.46720902784183e-05, "Politics & Government": 3.3360449301489764e-05, "Religion & Spirituality": 4.48614972305289e-05, "Science, Mathematics & Engineering": 0.00021649994130236287, "Relationships & Community": 2.8831840026263707e-05, "Software Usage & Applications": 0.016616907580470026, "Programming & Software Engineering": 0.9787963913981981, "Sports & Fitness": 6.98881679503814e-05, "Vehicles & Transportation": 2.7447812483463687e-05, "Travel & Tourism": 4.6595110502821036e-05, "Other / Uncovered Subject": 0.0003001889411866473, "Unknown / Insufficient Content": 0.00010320540555289357}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0005938187096873185, "Art & Design": 0.0018677300361549206, "Law & Crime": 0.0005861881516774136, "Education & Careers": 0.0003819105492357205, "Entertainment & Media": 0.03325463505247687, "Fashion & Beauty": 0.00027694625016193547, "Business, Economics & Finance": 0.0006141529607168379, "Food & Dining": 0.0002309107299518302, "Games & Gaming": 0.0008856044624925188, "Electronics & Hardware": 0.010257083040027044, "Health, Healthcare & Wellness": 0.00029430421681073777, "History & Geography": 0.000319075537091777, "Home, Pets & Hobbies": 0.0003154773135870443, "Industry & Production": 0.00031062272569413893, "Language, Literature & Philosophy": 0.0002010972182168932, "Politics & Government": 0.00028137164421701105, "Religion & Spirituality": 0.00032296018247279345, "Science, Mathematics & Engineering": 0.000861530265278268, "Relationships & Community": 0.00018020428462215326, "Software Usage & Applications": 0.07292075442213238, "Programming & Software Engineering": 0.036479349834191474, "Sports & Fitness": 0.0002934726448574301, "Vehicles & Transportation": 0.0001461130682942467, "Travel & Tourism": 0.00035471556211735724, "Other / Uncovered Subject": 0.0010278473582385212, "NONE": 0.8367421237795954}}, "probability_diagnostics": {"primary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "tertiary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "structured_records": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "procedural_steps": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "worked_solution": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "contextual_dialogue": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "content_quality": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "noise_severity": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "missing_content_severity": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "factual_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "pretraining_utility": {"raw_sum": 0.9999999999999998, "mass_delta": -2.220446049250313e-16, "missing_mass": 2.220446049250313e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "math_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "code_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "reasoning_density": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "education_level": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "creative_writing_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "primary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary_topic": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}}, "usage": {"input_tokens": 13846, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 13846, "cached_share": null, "cache_discount_reported": null, "reported_cost_usd": null}, "response_metadata": {"model": "decision-models/baseten-mammoth-27b-latest"}, "scored_at_utc": "2026-10-25T18:37:08.096780+00:00", "scoring_key_slot": "assistant_1", "dataset_uid": "98e4201d-bd0c-442d-9bad-ad08c4caf20c", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "8053969c4517c8d92253e97ad414e96eecd1d11f2f8f658653a5cefa3bbe1fba", "source_metadata": {"uuid": "98e4201d-bd0c-442d-9bad-ad08c4caf20c", "repo_name": "ansharma74/software-development-platform-devops", "relative_path": "configure.media", "category": "TOOL", "algo_rel_score": 0.9804578423500061, "quality_score": 3.590203285217285, "source_meta": {"github_metadata": {"branch": "master", "commit_count": 7, "repo_created_at": "2018-10-09T16:39:17.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 0, "forks": 0, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "49fefcf34264ba1aa2eead1850ffd2d8ec14c581", "size_bytes": 19364, "file_timestamp": 1539287788, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "adff6907c0ec91a7a99fbac4796b0dce4fcbc5fc"}}, "parsed_source_meta": {"github_metadata": {"branch": "master", "commit_count": 7, "repo_created_at": "2018-10-09T16:39:17.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 0, "forks": 0, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "49fefcf34264ba1aa2eead1850ffd2d8ec14c581", "size_bytes": 19364, "file_timestamp": 1539287788, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "adff6907c0ec91a7a99fbac4796b0dce4fcbc5fc", "url": "https://github.com/ansharma74/software-development-platform-devops/blob/adff6907c0ec91a7a99fbac4796b0dce4fcbc5fc/configure.media"}, "gpt4o_tokens": 5160, "dataset_split": "shell", "probability_weighted_scores": {"content_quality": 0.19730404789950248, "noise_severity": 0.204468235881482, "missing_content_severity": 0.0857085717637193, "factual_density": 3.1945959941612494, "pretraining_utility": 0.13727987660991184, "math_density": 0.019413042057712115, "code_density": 3.845670821207785, "reasoning_density": 0.13383673612702043, "education_level": 2.6651817211591777, "creative_writing_quality": -0.28828211063044723}, "score_applicability": {"education_level": 0.9989448040861914, "creative_writing_quality": 0.0008264702768966284}} {"source_group": "shell", "source": "openbmb/UltraData-Stack-v3-L2/shell", "domain": "github.com", "language": "shell", "url": "https://github.com/jpetazzo/sstk/blob/bdedc45441a0418cc5ed6e1fea1fe9c9eeba2a86/z-stream-backup-ffmpeg.sh", "id": "shell-0-e1952a8aab78606ad2e5d79376d9b88a", "text": "#!/bin/sh\n\n#SERVER=192.168.127.12\n#SERVER=192.168.127.12\n#SERVER=172.16.31.10\nSERVER=video.container.training\nAPP=live\nCODEC_SOFTWARE=\"-c:v libx264 -preset ultrafast -tune:v:0 zerolatency -profile:v baseline\"\nCODEC_HARDWARE=\"-c:v h264_nvenc -preset ll -profile:v baseline -rc cbr_ld_hq\"\n\nFPS=30\n\n# Reminder: to see alsa devices and their numbers, run \"arecord -l\"\nAUDIO_INPUT_NAME=ATR2USB\n#AUDIO_INPUT_NAME=UDULTCDL\n#AUDIO_INPUT_NAME=C4K\nCARD_NUMBER=\nfor CARD in /sys/class/sound/card*; do\n\tif grep -q \"$AUDIO_INPUT_NAME\" $CARD/id; then\n\t\tCARD_NUMBER=$(cat $CARD/number)\n\t\techo \"Found ALSA card $AUDIO_INPUT_NAME (number $CARD_NUMBER).\"\n\t\tAUDIO_INPUT_ALSA=\"-f alsa -ac 2 -i hw:$CARD_NUMBER,0\"\n\t\tbreak\n\tfi\ndone\nif [ \"$CARD_NUMBER\" = \"\" ]; then\n\techo \"Could not find ALSA card $AUDIO_INPUT_NAME. Aborting.\"\n\texit 1\nfi\nAUDIO_INPUT_MUSIC=\"-re -i Downloads/Sonnentanz.m4a\"\nAUDIO_INPUT_PULSE=\"-f pulse -i alsa_input.usb-UC_MIC_ATR2USB-00.analog-stereo\"\nAUDIO_INPUT_ALSA_DEFAULT=\"-f alsa -i default\"\n\nVIDEO_INPUT_OBS=\"-f v4l2 -frame_size 1920x1080 -framerate $FPS -i /dev/video9\"\nVIDEO_INPUT_TEST=\"-re -f lavfi -i testsrc=size=hd1080:rate=30:decimals=1\"\nVIDEO_INPUT_LOOP=\"-re -fflags +genpts -stream_loop -1 -i Downloads/streamingtest.mkv\"\nVIDEO_INPUT_CLOCK=\"-re -f lavfi -i color=color=white:s=hd1080:r=30[white];movie=CLOCK.JPG,scale=hd1080:force_original_aspect_ratio=decrease[img];[white][img]overlay,drawtext=text=%{localtime}:fontcolor=black:x=w-text_w-96:y=(h-text_h)/2:fontsize=48,drawtext=text=Playing→:fontcolor=black:x=w-text_w-32:y=h-3*text_h-32:fontsize=32,drawtext=textfile=title.txt:fontcolor=black:x=w-text_w-32:y=h-text_h-32:fontsize=32'\"\n\nAUDIO_INPUT=\"$AUDIO_INPUT_ALSA\"\nVIDEO_INPUT=\"$VIDEO_INPUT_OBS\"\n\ncase \"$1\" in\n\tstream-camera-and-record)\n\t\t;;\n\tstream-test-without-recording)\n\t\tAUDIO_INPUT=\"$AUDIO_INPUT_MUSIC\"\n\t\tVIDEO_INPUT=\"$VIDEO_INPUT_TEST\"\n\t\t;;\nesac\n\n\nSTREAM_1=stream1\nSTREAM_2=stream2\nSTREAM_3=stream3\nSTREAM_4=stream4\n\n#SERVER=live.twitch.tv\n#APP=app\n#STREAM_1=live_525421637_82n5aeTvaykARmUFym3ZXAjM6AQwdZ\n\nENCODE_AUDIO=\"\n\t-c:a aac\n\t-map 0:a:0 -ac:a:0 1 -b:a:0 128k\n\t-map 0:a:0 -ac:a:1 1 -b:a:1 64k\n\t-map 0:a:0 -ac:a:2 1 -b:a:2 48k\n\t\"\n\nENCODE_VIDEO=\"\n\t$CODEC_HARDWARE\n -filter_complex format=yuv420p,split=2[s1][30fps];[s1]fps=fps=15[15fps];[30fps]split=2[30fps1][30fps2];[15fps]split=2[15fps1][15fps2]\n\t-map [30fps1] -b:v:0 3800k -maxrate:v:0 3800k -bufsize:v:0 3800k -g $((1*$FPS))\n\t-map [30fps2] -b:v:1 1800k -maxrate:v:1 1800k -bufsize:v:1 1800k -g $((1*$FPS))\n\t-map [15fps1] -b:v:2 900k -maxrate:v:2 900k -bufsize:v:2 900k -g $((1*$FPS))\n\t-map [15fps2] -b:v:3 400k -maxrate:v:3 400k -bufsize:v:3 400k -g $((1*$FPS))\n\t\"\n\nOUTPUT=\"-f tee -flags +global_header\"\nOUTPUT=\"$OUTPUT [f=mpegts:select=\\'a:0,v:0\\']udp://10.0.0.20:1234\"\nif [ \"$1\" = \"stream-camera-and-record\" ]; then\n\tmkdir -p recordings\n\tFILENAME=recordings/$(date +%Y-%m-%d_%H:%M:%S).mkv\n\tOUTPUT=\"$OUTPUT|[select=\\'a:0,v:0\\']$FILENAME\"\nfi\nOUTPUT=\"$OUTPUT|[f=flv:select=\\'a:0,v:0\\']rtmp://$SERVER/$APP/$STREAM_1\"\nOUTPUT=\"$OUTPUT|[f=flv:select=\\'a:0,v:1\\']rtmp://$SERVER/$APP/$STREAM_2\"\nOUTPUT=\"$OUTPUT|[f=flv:select=\\'a:1,v:2\\']rtmp://$SERVER/$APP/$STREAM_3\"\nOUTPUT=\"$OUTPUT|[f=flv:select=\\'a:2,v:3\\']rtmp://$SERVER/$APP/$STREAM_4\"\n\nFFMPEG=\"ffmpeg\n\t-hide_banner\n\t-thread_queue_size 1024 $AUDIO_INPUT\n\t-thread_queue_size 1024 $VIDEO_INPUT\n\t$ENCODE_AUDIO\n\t$ENCODE_VIDEO\n\t$OUTPUT\n\t\"\n\n\t#$ENCODE_4000K -f flv rtmp://$SERVER/$APP/$STREAM_1\n\t#$ENCODE_4000K -f flv rtmp://$SERVER/$APP/$STREAM_2\n\ncase \"$1\" in\n\tsound-check)\n\t\tffplay $AUDIO_INPUT\n\t\t;;\n\tstream-camera-and-record)\n\t\txset s off\n\t\txset -dpms\n\t\t$FFMPEG\n\t\txset s on\n\t\txset +dpms\n\t\t;;\n\tstream-test-without-recording)\n\t\t$FFMPEG\n\t\t;;\n\t*)\n\t\techo \"Please specify 'sound-check' or 'stream-camera-and-record' or 'stream-test-without-recording'.\"\n\t\techo \"If device is open by pulseaudio, here is how to free it:\"\n\t\techo \"pacmd list-modules | grep -e index -e $AUDIO_INPUT_NAME\"\n\t\techo \"pacmd unload-module XX # use number shown above\"\n\t\t;;\nesac\n", "text_preview": "#!/bin/sh #SERVER=192.168.127.12 #SERVER=192.168.127.12 #SERVER=172.16.31.10 SERVER=video.container.training APP=live CODEC_SOFTWARE=\"-c:v libx264 -preset ultrafast -tune:v:0 zerolatency -profile:v baseline\" CODEC_HARDWARE=\"-c:v h264_nvenc ", "input_sha256": "f85d4698e23e5802392b70e880ba1f0af4308d1fa69dbc463e99791f60954b07", "text_sha256": "e1952a8aab78606ad2e5d79376d9b88a8d544f85c42d1a1b88a8930d6861616a", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 20116, "input_policy": "text-and-optional-url-v1", "label_policy_version": 12, "requested_model": "decision-models/baseten-mammoth-27b-latest", "backend": "baseten", "endpoint": "https://inference.baseten.co/v1/systemone", "status": "ok", "training_eligible": true, "label": {"primary": {"main_format": "Technical Writing", "sub_format": null}, "secondary": null, "tertiary": null, "content_structure": []}, "candidate_label": null, "topic": {"primary": {"main_topic": "Programming & Software Engineering", "sub_topic": null}, "secondary": null}, "scores": {"content_quality": 1, "noise_severity": 0, "missing_content_severity": 0, "factual_density": 4, "pretraining_utility": 1, "math_density": 0, "code_density": 4, "reasoning_density": 0, "education_level": 3, "creative_writing_quality": null}, "score_expectations": {"content_quality": 0.8992593180536267, "noise_severity": 0.12760393461061642, "missing_content_severity": 0.006992868568190887, "factual_density": 3.4278438701525062, "pretraining_utility": 0.5453749151281053, "math_density": 0.1565288991897142, "code_density": 3.895595751415892, "reasoning_density": 0.514102817162442, "education_level": 2.696562701587054, "creative_writing_quality": -0.20925695638068337}, "api_choices": {"primary": "Technical Writing", "secondary": "NONE", "tertiary": "NONE", "education_level": "3", "creative_writing_quality": "not_applicable", "primary_topic": "Programming & Software Engineering", "secondary_topic": "NONE"}, "review_reasons": [], "format_slot_diagnostics": {"comparable": true, "secondary_tertiary_identical": false, "secondary_tertiary_max_abs_gap": 0.0034323764957753487, "secondary_choice": "NONE", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.9855040806938241, "secondary": 0.9533357943598239, "tertiary": 0.9519677922023517, "structured_records": 0.015866671792725974, "procedural_steps": 0.14701356725435263, "worked_solution": 0.003190409423609221, "contextual_dialogue": 4.303655693827667e-06, "content_quality": 0.518318238921104, "noise_severity": 0.8936633878244863, "missing_content_severity": 0.9941726095265075, "factual_density": 0.5232032251270882, "pretraining_utility": 0.47427580953023896, "math_density": 0.8695592506752382, "code_density": 0.912996459513243, "reasoning_density": 0.571580985697965, "education_level": 0.33049181942014455, "creative_writing_quality": 0.9989321193703409, "primary_topic": 0.9301338935721047, "secondary_topic": 0.5941671819135108}, "probability_margin": {"primary": 0.9761039368670305, "secondary": 0.9320303065304875, "tertiary": 0.9272869279671346, "education_level": 0.024343166601590915, "creative_writing_quality": 0.9986025667991631, "primary_topic": 0.8822602206971794, "secondary_topic": 0.41142869854550623}, "raw_probabilities": {"primary": {"Academic Writing": 4.571758431155708e-05, "Content Listing": 3.340877415084111e-05, "Creative Writing": 3.0405823907216504e-05, "Customer Support Page": 2.5561964749642012e-05, "Q&A Forum": 2.0264953210735947e-05, "Discussion Thread": 1.5264940005639213e-05, "Comment Section": 2.794410688313952e-05, "Missing Content": 3.881364771200564e-05, "Knowledge Article": 0.0001716614053655318, "Legal Notices": 4.233612298514154e-05, "News Article": 9.573198180759956e-06, "Organizational Announcement": 2.2141591849456454e-05, "Nonfiction Writing": 2.4269383029569983e-05, "Organizational About Page": 2.543297929517078e-05, "Personal About Page": 3.0485569255053933e-05, "Personal Blog": 1.558655058999864e-05, "Product Page": 1.9294953282538545e-05, "Spam / Ads": 2.3228255983744152e-05, "Structured Data": 0.0007401772340082286, "Technical Writing": 0.9861080773315815, "Transcript / Interview": 3.3060260164517634e-05, "Tutorial / How-To Guide": 0.010004140464550993, "User Reviews": 1.4478414114706662e-05, "Other / Unknown": 0.0024786744908324647}, "secondary": {"Academic Writing": 0.00019818133481512925, "Content Listing": 0.00010949744053809737, "Creative Writing": 0.00016060084334935858, "Customer Support Page": 0.0002357926628614091, "Q&A Forum": 7.961042657428838e-05, "Discussion Thread": 5.8367480296962736e-05, "Comment Section": 0.00014691716120936762, "Missing Content": 0.0001884871180602792, "Knowledge Article": 0.000547035246001243, "Legal Notices": 0.00013618699470524347, "News Article": 8.41655965494785e-05, "Organizational Announcement": 8.917696606741679e-05, "Nonfiction Writing": 8.406885071463431e-05, "Organizational About Page": 0.00010884791989622503, "Personal About Page": 8.990665139431685e-05, "Personal Blog": 8.665897606633339e-05, "Product Page": 6.790430096045617e-05, "Spam / Ads": 8.611884939275594e-05, "Structured Data": 0.0030472864026694028, "Technical Writing": 0.01571226496083206, "Transcript / Interview": 0.00010556645285159516, "Tutorial / How-To Guide": 0.023249829731010398, "User Reviews": 4.739137168558949e-05, "NONE": 0.9552801362614979}, "tertiary": {"Academic Writing": 0.0001213083082740966, "Content Listing": 7.605413953367953e-05, "Creative Writing": 0.00010945374459069953, "Customer Support Page": 0.00033493659113709374, "Q&A Forum": 4.816049746150759e-05, "Discussion Thread": 4.120442562580251e-05, "Comment Section": 0.00011597175557145027, "Missing Content": 0.00021009978238251722, "Knowledge Article": 0.0010847739617765276, "Legal Notices": 0.0002100737363174914, "News Article": 5.660980246021202e-05, "Organizational Announcement": 6.321413928603227e-05, "Nonfiction Writing": 7.776191255150854e-05, "Organizational About Page": 9.455189066862252e-05, "Personal About Page": 6.867031043185818e-05, "Personal Blog": 6.216152122457201e-05, "Product Page": 6.218728452419203e-05, "Spam / Ads": 8.124379861912085e-05, "Structured Data": 0.002598596888869109, "Technical Writing": 0.013712651659630488, "Transcript / Interview": 8.340372186740986e-05, "Tutorial / How-To Guide": 0.02668220622678575, "User Reviews": 3.556970648991749e-05, "NONE": 0.9539691341939204}, "structured_records": {"false": 0.9841333282072741, "true": 0.015866671792725974}, "procedural_steps": {"false": 0.8529864327456473, "true": 0.14701356725435263}, "worked_solution": {"false": 0.9968095905763907, "true": 0.003190409423609221}, "contextual_dialogue": {"false": 0.9999956963443062, "true": 4.303655693827667e-06}, "content_quality": {"-2": 0.008082194833746626, "-1": 0.04172008837372669, "0": 0.23169263637183105, "1": 0.47986636474654465, "2": 0.238638715674151}, "noise_severity": {"0": 0.8918050927489614, "1": 0.09210406518362892, "2": 0.01350981992392296, "3": 0.0018438589948055672, "4": 0.0007371631486812173}, "missing_content_severity": {"0": 0.9953311426249648, "1": 0.0028784342365411357, "2": 0.0013716593836346875, "3": 0.000303939455057036, "4": 0.00011482429980231696}, "factual_density": {"0": 0.0028399016844526982, "1": 0.007217104653556371, "2": 0.08387319744634536, "3": 0.37139881425632343, "4": 0.5346709819593222}, "pretraining_utility": {"-2": 0.010014881963589557, "-1": 0.08191419960830837, "0": 0.3488740116104185, "1": 0.4710749349717743, "2": 0.08812197184590928}, "math_density": {"0": 0.8778492858160954, "1": 0.10309748489317382, "2": 0.009926041583688493, "3": 0.0029294196990048644, "4": 0.006197768008037191}, "code_density": {"0": 0.0002309054013904454, "1": 0.0004658360404100127, "2": 0.008774672653774703, "3": 0.08453377354976714, "4": 0.9059948123546576}, "reasoning_density": {"0": 0.7287049463538436, "1": 0.09438649360200545, "2": 0.12864320064561593, "3": 0.030631515324935635, "4": 0.017633844073599438}, "education_level": {"none": 0.001026966473426239, "0": 0.0015676372768546058, "1": 0.006094982517555045, "2": 0.41773334958186287, "3": 0.4420765161834538, "4": 0.13150054796684746}, "creative_writing_quality": {"not_applicable": 0.9991100994752841, "-2": 8.829858663801243e-05, "-1": 0.0001685412993165937, "0": 0.0005075326761209412, "1": 9.213532797163962e-05, "2": 3.339263466868159e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 0.0001025580635272514, "Art & Design": 0.00028894414031631485, "Law & Crime": 0.00019341507732704326, "Education & Careers": 0.000244827745138114, "Entertainment & Media": 0.004935406348959677, "Fashion & Beauty": 0.00016518057928113116, "Business, Economics & Finance": 0.00017995201215605054, "Food & Dining": 0.00010418404679310328, "Games & Gaming": 0.00024345927045427916, "Electronics & Hardware": 0.004644793853184184, "Health, Healthcare & Wellness": 9.868059009034957e-05, "History & Geography": 0.00014345561339928345, "Home, Pets & Hobbies": 0.00015220007210600266, "Industry & Production": 0.0001355425842607132, "Language, Literature & Philosophy": 0.00012262997898220796, "Politics & Government": 7.414516582903527e-05, "Religion & Spirituality": 9.95861442462991e-05, "Science, Mathematics & Engineering": 0.0009109189475271832, "Relationships & Community": 8.612575393627868e-05, "Software Usage & Applications": 0.050560830814459855, "Programming & Software Engineering": 0.9328210515116392, "Sports & Fitness": 0.00019518373791024116, "Vehicles & Transportation": 6.595006932211127e-05, "Travel & Tourism": 0.00011490587201957885, "Other / Uncovered Subject": 0.003156109481738141, "Unknown / Insufficient Content": 0.00015996252539656657}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0009789363724848502, "Art & Design": 0.0023944406052486852, "Law & Crime": 0.0008032515431451229, "Education & Careers": 0.0015156338193091192, "Entertainment & Media": 0.07574546039820201, "Fashion & Beauty": 0.00048154202895427404, "Business, Economics & Finance": 0.0009331308778151271, "Food & Dining": 0.0004247205078344925, "Games & Gaming": 0.0009442780052972163, "Electronics & Hardware": 0.03149186336544822, "Health, Healthcare & Wellness": 0.000510110025182571, "History & Geography": 0.0005050270055116759, "Home, Pets & Hobbies": 0.0006001409172406428, "Industry & Production": 0.0004300557798125341, "Language, Literature & Philosophy": 0.00030209878381490653, "Politics & Government": 0.0004025792805785914, "Religion & Spirituality": 0.0004965784144465683, "Science, Mathematics & Engineering": 0.003080881542842497, "Relationships & Community": 0.00031165261213802494, "Software Usage & Applications": 0.19834743790979256, "Programming & Software Engineering": 0.0639970254920522, "Sports & Fitness": 0.0006251506856423431, "Vehicles & Transportation": 0.0002507306260601118, "Travel & Tourism": 0.0006068924340888017, "Other / Uncovered Subject": 0.004044244511758063, "NONE": 0.6097761364552988}}, "probabilities": {"primary": {"Academic Writing": 4.571758431155708e-05, "Content Listing": 3.340877415084111e-05, "Creative Writing": 3.0405823907216504e-05, "Customer Support Page": 2.5561964749642012e-05, "Q&A Forum": 2.0264953210735947e-05, "Discussion Thread": 1.5264940005639213e-05, "Comment Section": 2.794410688313952e-05, "Missing Content": 3.881364771200564e-05, "Knowledge Article": 0.0001716614053655318, "Legal Notices": 4.233612298514154e-05, "News Article": 9.573198180759956e-06, "Organizational Announcement": 2.2141591849456454e-05, "Nonfiction Writing": 2.4269383029569983e-05, "Organizational About Page": 2.543297929517078e-05, "Personal About Page": 3.0485569255053933e-05, "Personal Blog": 1.558655058999864e-05, "Product Page": 1.9294953282538545e-05, "Spam / Ads": 2.3228255983744152e-05, "Structured Data": 0.0007401772340082286, "Technical Writing": 0.9861080773315815, "Transcript / Interview": 3.3060260164517634e-05, "Tutorial / How-To Guide": 0.010004140464550993, "User Reviews": 1.4478414114706662e-05, "Other / Unknown": 0.0024786744908324647}, "secondary": {"Academic Writing": 0.00019818133481512928, "Content Listing": 0.00010949744053809739, "Creative Writing": 0.0001606008433493586, "Customer Support Page": 0.00023579266286140912, "Q&A Forum": 7.961042657428839e-05, "Discussion Thread": 5.836748029696274e-05, "Comment Section": 0.00014691716120936765, "Missing Content": 0.00018848711806027923, "Knowledge Article": 0.0005470352460012431, "Legal Notices": 0.0001361869947052435, "News Article": 8.416559654947851e-05, "Organizational Announcement": 8.91769660674168e-05, "Nonfiction Writing": 8.406885071463433e-05, "Organizational About Page": 0.00010884791989622504, "Personal About Page": 8.990665139431687e-05, "Personal Blog": 8.66589760663334e-05, "Product Page": 6.790430096045619e-05, "Spam / Ads": 8.611884939275595e-05, "Structured Data": 0.003047286402669403, "Technical Writing": 0.015712264960832063, "Transcript / Interview": 0.00010556645285159517, "Tutorial / How-To Guide": 0.0232498297310104, "User Reviews": 4.73913716855895e-05, "NONE": 0.955280136261498}, "tertiary": {"Academic Writing": 0.0001213083082740966, "Content Listing": 7.605413953367953e-05, "Creative Writing": 0.00010945374459069953, "Customer Support Page": 0.00033493659113709374, "Q&A Forum": 4.816049746150759e-05, "Discussion Thread": 4.120442562580251e-05, "Comment Section": 0.00011597175557145027, "Missing Content": 0.00021009978238251722, "Knowledge Article": 0.0010847739617765276, "Legal Notices": 0.0002100737363174914, "News Article": 5.660980246021202e-05, "Organizational Announcement": 6.321413928603227e-05, "Nonfiction Writing": 7.776191255150854e-05, "Organizational About Page": 9.455189066862252e-05, "Personal About Page": 6.867031043185818e-05, "Personal Blog": 6.216152122457201e-05, "Product Page": 6.218728452419203e-05, "Spam / Ads": 8.124379861912085e-05, "Structured Data": 0.002598596888869109, "Technical Writing": 0.013712651659630488, "Transcript / Interview": 8.340372186740986e-05, "Tutorial / How-To Guide": 0.02668220622678575, "User Reviews": 3.556970648991749e-05, "NONE": 0.9539691341939204}, "structured_records": {"false": 0.9841333282072741, "true": 0.015866671792725974}, "procedural_steps": {"false": 0.8529864327456473, "true": 0.14701356725435263}, "worked_solution": {"false": 0.9968095905763907, "true": 0.003190409423609221}, "contextual_dialogue": {"false": 0.9999956963443062, "true": 4.303655693827667e-06}, "content_quality": {"-2": 0.008082194833746626, "-1": 0.04172008837372669, "0": 0.23169263637183105, "1": 0.47986636474654465, "2": 0.238638715674151}, "noise_severity": {"0": 0.8918050927489614, "1": 0.09210406518362892, "2": 0.01350981992392296, "3": 0.0018438589948055672, "4": 0.0007371631486812173}, "missing_content_severity": {"0": 0.9953311426249648, "1": 0.0028784342365411357, "2": 0.0013716593836346875, "3": 0.000303939455057036, "4": 0.00011482429980231696}, "factual_density": {"0": 0.0028399016844526982, "1": 0.007217104653556371, "2": 0.08387319744634536, "3": 0.37139881425632343, "4": 0.5346709819593222}, "pretraining_utility": {"-2": 0.010014881963589557, "-1": 0.08191419960830837, "0": 0.3488740116104185, "1": 0.4710749349717743, "2": 0.08812197184590928}, "math_density": {"0": 0.8778492858160957, "1": 0.10309748489317384, "2": 0.009926041583688495, "3": 0.002929419699004865, "4": 0.006197768008037193}, "code_density": {"0": 0.00023090540139044543, "1": 0.00046583604041001276, "2": 0.008774672653774705, "3": 0.08453377354976715, "4": 0.9059948123546577}, "reasoning_density": {"0": 0.7287049463538436, "1": 0.09438649360200545, "2": 0.12864320064561593, "3": 0.030631515324935635, "4": 0.017633844073599438}, "education_level": {"none": 0.001026966473426239, "0": 0.0015676372768546058, "1": 0.006094982517555045, "2": 0.41773334958186287, "3": 0.4420765161834538, "4": 0.13150054796684746}, "creative_writing_quality": {"not_applicable": 0.9991100994752842, "-2": 8.829858663801245e-05, "-1": 0.00016854129931659373, "0": 0.0005075326761209413, "1": 9.213532797163963e-05, "2": 3.33926346686816e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 0.00010255806352725137, "Art & Design": 0.0002889441403163148, "Law & Crime": 0.0001934150773270432, "Education & Careers": 0.00024482774513811395, "Entertainment & Media": 0.004935406348959676, "Fashion & Beauty": 0.00016518057928113113, "Business, Economics & Finance": 0.0001799520121560505, "Food & Dining": 0.00010418404679310325, "Games & Gaming": 0.0002434592704542791, "Electronics & Hardware": 0.004644793853184183, "Health, Healthcare & Wellness": 9.868059009034955e-05, "History & Geography": 0.00014345561339928342, "Home, Pets & Hobbies": 0.00015220007210600263, "Industry & Production": 0.00013554258426071319, "Language, Literature & Philosophy": 0.00012262997898220793, "Politics & Government": 7.414516582903525e-05, "Religion & Spirituality": 9.958614424629907e-05, "Science, Mathematics & Engineering": 0.0009109189475271829, "Relationships & Community": 8.612575393627866e-05, "Software Usage & Applications": 0.05056083081445984, "Programming & Software Engineering": 0.932821051511639, "Sports & Fitness": 0.0001951837379102411, "Vehicles & Transportation": 6.595006932211126e-05, "Travel & Tourism": 0.00011490587201957882, "Other / Uncovered Subject": 0.00315610948173814, "Unknown / Insufficient Content": 0.00015996252539656654}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0009789363724848502, "Art & Design": 0.0023944406052486852, "Law & Crime": 0.0008032515431451229, "Education & Careers": 0.0015156338193091192, "Entertainment & Media": 0.07574546039820201, "Fashion & Beauty": 0.00048154202895427404, "Business, Economics & Finance": 0.0009331308778151271, "Food & Dining": 0.0004247205078344925, "Games & Gaming": 0.0009442780052972163, "Electronics & Hardware": 0.03149186336544822, "Health, Healthcare & Wellness": 0.000510110025182571, "History & Geography": 0.0005050270055116759, "Home, Pets & Hobbies": 0.0006001409172406428, "Industry & Production": 0.0004300557798125341, "Language, Literature & Philosophy": 0.00030209878381490653, "Politics & Government": 0.0004025792805785914, "Religion & Spirituality": 0.0004965784144465683, "Science, Mathematics & Engineering": 0.003080881542842497, "Relationships & Community": 0.00031165261213802494, "Software Usage & Applications": 0.19834743790979256, "Programming & Software Engineering": 0.0639970254920522, "Sports & Fitness": 0.0006251506856423431, "Vehicles & Transportation": 0.0002507306260601118, "Travel & Tourism": 0.0006068924340888017, "Other / Uncovered Subject": 0.004044244511758063, "NONE": 0.6097761364552988}}, "probability_diagnostics": {"primary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "tertiary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "structured_records": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "procedural_steps": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "worked_solution": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "contextual_dialogue": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "content_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "noise_severity": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "missing_content_severity": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "factual_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "pretraining_utility": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "math_density": {"raw_sum": 0.9999999999999998, "mass_delta": -2.220446049250313e-16, "missing_mass": 2.220446049250313e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "code_density": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "reasoning_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "education_level": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "creative_writing_quality": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "primary_topic": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "secondary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}}, "usage": {"input_tokens": 10164, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 10164, "cached_share": null, "cache_discount_reported": null, "reported_cost_usd": null}, "response_metadata": {"model": "decision-models/baseten-mammoth-27b-latest"}, "scored_at_utc": "2026-10-25T18:37:08.641326+00:00", "scoring_key_slot": "assistant_1", "dataset_uid": "d63bd771-8159-47e2-ac9a-e632f9247517", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "48cb91fb5f832f6028cc82456c4fc22e11094763c959ac340fcd50a9c1aaf14f", "source_metadata": {"uuid": "d63bd771-8159-47e2-ac9a-e632f9247517", "repo_name": "jpetazzo/sstk", "relative_path": "z-stream-backup-ffmpeg.sh", "category": "TOOL", "algo_rel_score": 0.9785833358764648, "quality_score": 4.052242755889893, "source_meta": {"github_metadata": {"branch": "main", "commit_count": 27, "repo_created_at": "2021-05-30T18:30:12.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 9, "forks": 0, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "84b13c878e3dfafe471805f14d7f53bbf146d600", "size_bytes": 3987, "file_timestamp": 1733637163, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "bdedc45441a0418cc5ed6e1fea1fe9c9eeba2a86"}}, "parsed_source_meta": {"github_metadata": {"branch": "main", "commit_count": 27, "repo_created_at": "2021-05-30T18:30:12.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 9, "forks": 0, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "84b13c878e3dfafe471805f14d7f53bbf146d600", "size_bytes": 3987, "file_timestamp": 1733637163, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "bdedc45441a0418cc5ed6e1fea1fe9c9eeba2a86", "url": "https://github.com/jpetazzo/sstk/blob/bdedc45441a0418cc5ed6e1fea1fe9c9eeba2a86/z-stream-backup-ffmpeg.sh"}, "gpt4o_tokens": 1550, "dataset_split": "shell", "probability_weighted_scores": {"content_quality": 0.8992593180536267, "noise_severity": 0.12760393461061642, "missing_content_severity": 0.006992868568190887, "factual_density": 3.4278438701525062, "pretraining_utility": 0.5453749151281053, "math_density": 0.1565288991897142, "code_density": 3.895595751415892, "reasoning_density": 0.514102817162442, "education_level": 2.696562701587054, "creative_writing_quality": -0.20925695638068337}, "score_applicability": {"education_level": 0.9989730335265737, "creative_writing_quality": 0.0008899005247158687}} {"source_group": "shell", "source": "openbmb/UltraData-Stack-v3-L2/shell", "domain": "github.com", "language": "shell", "url": "https://github.com/rodhfr/dotfiles-sway/blob/9d30a4826714fc18e1d876b3ea584f1d235e7baf/sway/install-programs.sh", "id": "shell-0-325ed21ddc2a214294a5861bf25ab599", "text": "#!/bin/bash\n\n# CHECK SYSTEM VERSION\n# Read Fedora version from /etc/fedora-release\nfedora_version=$(cat /etc/fedora-release 2>/dev/null | grep -oP '(?<=release )\\d+')\n\nif [[ \"$fedora_version\" == \"42\" ]]; then\n echo \"Fedora 42 detected. Proceeding with script...\"\n # Place the rest of your script commands here\n \nelse\n echo \"This script requires Fedora 42. Exiting.\"\n exit 1\nfi\n\n# this is only for setup git --global username and email\n# change for your own otherwise your git commits would be signed in my name\nUSER_EMAIL=\"\"\nUSER_NAME=\"\"\n\n# DNF INSTALLATION \nsudo dnf update -y\nsudo dnf upgrade -y\nsudo dnf copr enable alternateved/keyd -y\nsudo dnf copr enable erikreider/SwayNotificationCenter -y\nsudo dnf copr enable wezfurlong/wezterm-nightly -y\nsudo dnf copr enable zeno/scrcpy -y\nsudo dnf copr enable monkeygold/nautilus-open-any-terminal -y\nsudo dnf install gvfs-mtp -y\nsudo dnf install nautilus-open-any-terminal -y\nsudo dnf install xdg-desktop-portal-wlr -y \nsudo dnf install scrcpy -y\nsudo dnf install poetry -y\nsudo dnf install fzf -y\nsudo dnf install wezterm -y\nsudo dnf install google-noto-emoji-fonts -y\nsudo dnf install keyd -y\nsudo dnf install gammastep -y\nsudo systemctl enable keyd --now\nsudo mkdir -p /etc/keyd\nsudo cp ~/.config/keyd/default.conf /etc/keyd/default.conf\nsudo systemctl restart keyd\nsudo systemctl status keyd\nsudo dnf install obs-studio -y\nsudo dnf install golang -y\nsudo dnf install pv -y\nsudo dnf install calc -y\nsudo dnf install openssh-server -y\nsudo dnf install gedit -y\nsudo dnf install ncurses-devel -y\n# more about this change ffmpeg\n# https://rpmfusion.org/Howto/Multimedia\nsudo dnf swap ffmpeg-free ffmpeg --allowerasing -y\nsudo dnf update @multimedia --setopt=\"install_weak_deps=False\" --exclude=PackageKit-gstreamer-plugin -y\nsudo dnf install ImageMagick -y\nsudo dnf install intel-media-driver -y\nsudo dnf install gnome-software -y\nsudo dnf install libxkbcommon-devel -y\nsudo dnf install solaar solaar-udev -y\nsudo dnf install bat -y\nsudo dnf install lxpolkit -y\nsudo dnf install gnome-disk-utility -y\nsudo dnf install fuse-overlayfs -y\nsudo dnf install azote -y\nsudo dnf install nautilus -y\nsudo dnf install openssl -y\nsudo dnf install swaybg -y\nsudo dnf install nodejs -y\nsudo dnf install wl-mirror -y\nsudo dnf install ydotool -y \nsudo dnf install fuse-devel -y \nsudo dnf install yad -y\n#sudo dnf install ncdu -y\nsudo dnf install nautilus-open-any-terminal -y\nsudo dnf install foot -y\nsudo dnf install alsa-lib-devel -y\nsudo dnf install mkvtoolnix -y\nsudo dnf install distrobox -y\nsudo dnf install libxkbcommon-x11-devel libXcur -y\nsudo dnf install mesa-libEGL-devel -y\nsudo dnf install libX11-devel -y\nsudo dnf install vulkan-devel -y\nsudo dnf install solaar solaar-udev -y\nsudo dnf install dejavu-sans-fonts -y\nsudo dnf install ventoy -y\nsudo dnf install -y\nsudo dnf install waybar -y\nsudo dnf install wl-clipboard -y\nsudo dnf install kitty -y\nsudo dnf install wget -y\nsudo dnf install ffmpeg -y\nsudo dnf install pavucontrol -y\nsudo dnf install flatpak -y\nsudo dnf install unrar -y\nsudo dnf install git -y\ncurl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y\nsudo dnf install @virtualization -y\nsudo dnf install aria2 -y\nsudo dnf install gparted -y\nsudo dnf install cargo -y\nsudo dnf install libva-utils -y\nsudo dnf install nodejs-npm -y\nsudo dnf install vim -y\nsudo dnf install firefox -y\nsudo dnf install rofi -y\nsudo dnf install htop -y\nsudo dnf install nvim -y\nsudo dnf install fastfetch -y\nsudo dnf install nmtui -y\nsudo dnf install rclone -y\nsudo dnf install python3-pip -y\nsudo dnf install https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm -y\nsudo dnf config-manager setopt fedora-cisco-openh264.enabled=1 # for fedora 41\n#sudo dnf install steam -y\n#sudo dnf install emacs -y\nsudo dnf install fd -y\nsudo dnf install alacritty -y\nsudo dnf install SwayNotificationCenter -y\nsudo dnf install qt6-qt5compat -y\nsudo dnf install Baobab -y\nsudo dnf install fish -y\n\n# Manual Install\ncurl -L https://github.com/dundee/gdu/releases/latest/download/gdu_linux_amd64.tgz | tar xz\nchmod +x gdu_linux_amd64\nsudo mv gdu_linux_amd64 /usr/bin/gdu\n\nbash <(curl --proto '=https' --tlsv1.2 -sSf https://setup.atuin.sh)\natuin register -u rodhfr -e \natuin import auto\natuin sync\n\n\n# Cargo Installs\ncargo install swayhide\ncargo install dim-screen\ncargo install rustlings\ncargo install eza\n\n# Git Setup\ngit config --global user.email \"$USER_EMAIL\"\ngit config --global user.name \"$USER_NAME\"\n\n# PYTHON REPO INSTALL\npip3 install pipx \npipx install yt-dlp\npipx install autotiling\n\n# Bashrc Setup\ncp ~/.config/sway/bashrc ~/.bashrc\nsource ~/.bashrc\n\n# Setup default xdg-mime\nxdg-mime default nautilus.desktop inode/directory\n# Gconf edittions\ngsettings set com.github.stunkymonkey.nautilus-open-any-terminal terminal alacritty\n\n# install vscode from custom repo\nsudo rpm --import https://packages.microsoft.com/keys/microsoft.asc\necho -e \"[code]\\nname=Visual Studio Code\\nbaseurl=https://packages.microsoft.com/yumrepos/vscode\\nenabled=1\\nautorefresh=1\\ntype=rpm-md\\ngpgcheck=1\\ngpgkey=https://packages.microsoft.com/keys/microsoft.asc\" | sudo tee /etc/yum.repos.d/vscode.repo > /dev/null\ndnf check-update\nsudo dnf install code -y\n\n# REBOOT LOGIC\n# If lockfile missing => first run, create lockfile and reboot\n# If lockfile exists => script resumed after reboot, continue installation\n\nSCRIPT_DIR=\"$(cd \"$(dirname \"${BASH_SOURCE[0]}\")\" && pwd)\"\nLOCKFILE=\"$SCRIPT_DIR/install_reboot.lock\"\n\nif [[ -f \"$LOCKFILE\" ]]\nthen\n echo \"Reboot Lockfile exists. Proceeding with the script...\"\nelse\n echo \"Lockfile not found. Creating and rebooting...\"\n touch \"$LOCKFILE\"\n sync && sudo reboot\nfi\n\necho \"Already rebooted, installation continues...\"\n# flatpaks installation\n## user installations\nflatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo\nflatpak install flathub com.adamcake.Bolt -y\nflatpak install flathub com.bitwarden.desktop -y\nflatpak install flathub com.spotify.Client -y\nflatpak install flathub org.gnome.Loupe -y\nflatpak install flathub io.github.josephmawa.TextCompare -y\nflatpak install flathub org.gnome.Crosswords -y\nflatpak install flathub org.torproject.torbrowser-launcher -y\nflatpak install flathub org.qbittorrent.qBittorrent -y\nflatpak install flathub io.github.josephmawa.Bella -y\nflatpak install flathub com.discordapp.Discord -y\n#flatpak install flathub com.rtosta.zapzap -y\nflatpak install flathub io.github.sigmasd.share -y\nflatpak install flathub com.github.iwalton3.jellyfin-media-player -y\nflatpak install flathub io.github.getnf.embellish -y\nflatpak install flathub org.libreoffice.LibreOffice -y\nflatpak install flathnet.sourceforge.gMKVExtractGUIub io.mpv.Mpv -y\nflatpak install flathub com.belmoussaoui.Decoder -y\nflatpak install flathub net.ankiweb.Anki -y\nsudo flatpak install https://flatpak.nils.moe/repo/appstream/net.sourceforge.gMKVExtractGUI.flatpakref -y\nflatpak install flathub org.freedesktop.Sdk.Extension.mono6//24.08 -y\nflatpak install flathub com.stremio.Stremio -y\nflatpak install flathub io.gitlab.liferooter.TextPieces -y \nflatpak install org.torproject.torbrowser-launcher -y\n## system installations \nflatpak install flathub com.github.tchx84.Flatseal -y\nflatpak install io.github.flattool.Warehouse -y\nflatpak install flathub io.github.plrigaux.sysd-manager -y\nflatpak install flathub io.github.giantpinkrobots.flatsweep -y\n# more advanced setup\nssh-keygen\nsudo systemctl start sshd\nsudo systemctl enable sshd\nsudo systemctl status sshd\nsudo firewall-cmd --permanent --add-service=ssh\nsudo firewall-cmd --reload\n\n# Docker Setup\nsudo dnf remove docker \\\n docker-client \\\n docker-client-latest \\\n docker-common \\\n docker-latest \\\n docker-latest-logrotate \\\n docker-logrotate \\\n docker-selinux \\\n docker-engine-selinux \\\n docker-engine\nsudo dnf install dnf-plugins-core -y\nsudo dnf-3 config-manager --add-repo https://download.docker.com/linux/fedora/docker-ce.repo\nsudo dnf install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin -y\n\nsudo systemctl enable --now docker\nsudo groupadd docker\nsudo usermod -aG docker rodhfr\nnewgrp docker\ndocker run hello-world\ndocker rmi hello-world -f\nsudo systemctl enable docker.service\nsudo systemctl enable containerd.service\n\n## Portainer Setup\ndocker volume create portainer_data\ndocker run -d -p 8000:8000 -p 9443:9443 --name portainer --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer-ce:lts\necho \"Setup Login in Portainer: https://localhost:9443\"\ndocker network create arr\ndocker network create arranime\n\nsudo systemctl enable keyd\n# setup xdg-desktop-portal\n# https://gist.github.com/rodhfr/181a0bee00ad5f7a608bc3e1bd021be5\n\necho \"user_allow_other\" | sudo tee -a /etc/fuse.conf\ncat /etc/fuse.conf\n\nsudo chmod +x /home/rodhfr/.config/sway/cliphistbinary\nsudo ln -s /home/rodhfr/.config/sway/cliphistbinary /usr/bin/cliphist\nls -l /usr/bin/cliphist\ncliphist\n\n# Setup rclone network drives\n# those configs are available in gists\n# /etc/rclone.conf\n# https://gist.github.com/rodhfr/1cd727793b06080d091ba85d81e06726\n# /etc/fstab\n# https://gist.github.com/rodhfr/4321943bd72dfdc71b0033163ac86d33\n# To mount without restarting computer\n# sudo mount -a\n\n", "text_preview": "#!/bin/bash # CHECK SYSTEM VERSION # Read Fedora version from /etc/fedora-release fedora_version=$(cat /etc/fedora-release 2>/dev/null | grep -oP '(?<=release )\\d+') if [[ \"$fedora_version\" == \"42\" ]]; then echo \"Fedora 42 detected. Proceed", "input_sha256": "18a3d708994ead32f2181ea5014947f719fea65af7fba2cf8531873124105a47", "text_sha256": "325ed21ddc2a214294a5861bf25ab599e3fa2fa7c0debbb65f339c7d3a01a2e0", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 20117, "input_policy": "text-and-optional-url-v1", "label_policy_version": 12, "requested_model": "decision-models/baseten-mammoth-27b-latest", "backend": "baseten", "endpoint": "https://inference.baseten.co/v1/systemone", "status": "needs_review", "training_eligible": false, "label": null, "candidate_label": {"primary": {"main_format": "Technical Writing", "sub_format": null}, "secondary": null, "tertiary": null, "content_structure": []}, "topic": {"primary": {"main_topic": "Programming & Software Engineering", "sub_topic": null}, "secondary": {"main_topic": "Software Usage & Applications", "sub_topic": null}}, "scores": {"content_quality": -1, "noise_severity": 0, "missing_content_severity": 0, "factual_density": 4, "pretraining_utility": 0, "math_density": 0, "code_density": 4, "reasoning_density": 0, "education_level": 2, "creative_writing_quality": null}, "score_expectations": {"content_quality": -0.3568568369684558, "noise_severity": 0.5177977516653586, "missing_content_severity": 0.3431469763931858, "factual_density": 3.1288447949699654, "pretraining_utility": 0.24582818225121966, "math_density": 0.003794424841181101, "code_density": 3.828770684240596, "reasoning_density": 0.5029720660411351, "education_level": 2.289542080281254, "creative_writing_quality": -0.4438003928818144}, "api_choices": {"primary": "Technical Writing", "secondary": "NONE", "tertiary": "NONE", "education_level": "2", "creative_writing_quality": "not_applicable", "primary_topic": "Programming & Software Engineering", "secondary_topic": "Software Usage & Applications"}, "review_reasons": ["secondary_topic probability 0.4326 below 0.70", "secondary_topic vs NONE margin 0.0597 below 0.10"], "format_slot_diagnostics": {"comparable": true, "secondary_tertiary_identical": false, "secondary_tertiary_max_abs_gap": 0.1286231610358941, "secondary_choice": "NONE", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.9115780211628661, "secondary": 0.7019108805525569, "tertiary": 0.8361263529378378, "structured_records": 0.12075295592086802, "procedural_steps": 0.6460651668517936, "worked_solution": 0.0022187773661632324, "contextual_dialogue": 5.36637215141886e-06, "content_quality": 0.3613614741821478, "noise_severity": 0.5685018736122011, "missing_content_severity": 0.7140441863390118, "factual_density": 0.27403732914163736, "pretraining_utility": 0.42033951334175645, "math_density": 0.9968379792990157, "code_density": 0.8573089035338304, "reasoning_density": 0.5808566116323874, "education_level": 0.6116141314039866, "creative_writing_quality": 0.9992012241005428, "primary_topic": 0.51226777070528, "secondary_topic": 0.40985808852799493}, "probability_margin": {"primary": 0.8425428594313449, "secondary": 0.5328456786611728, "tertiary": 0.7493723755719969, "education_level": 0.406852677539412, "creative_writing_quality": 0.999075704281281, "primary_topic": 0.06938631100076914, "secondary_topic": 0.05974371567459724}, "raw_probabilities": {"primary": {"Academic Writing": 0.0001880798313030095, "Content Listing": 0.00030275504213280504, "Creative Writing": 0.00014950459272239472, "Customer Support Page": 0.00016713695194128328, "Q&A Forum": 0.00011721451225138639, "Discussion Thread": 9.439519326679918e-05, "Comment Section": 0.00016839160715779317, "Missing Content": 0.00014713109337618978, "Knowledge Article": 0.0004073454950923463, "Legal Notices": 0.00013062002707469074, "News Article": 6.27197380585787e-05, "Organizational Announcement": 0.00011299419433711614, "Nonfiction Writing": 0.0001221604174321251, "Organizational About Page": 0.00014378717157721252, "Personal About Page": 0.00013620898020447962, "Personal Blog": 8.771458798098192e-05, "Product Page": 8.698738648200487e-05, "Spam / Ads": 0.0001309117190935039, "Structured Data": 0.0005147512880253292, "Technical Writing": 0.91526227028108, "Transcript / Interview": 0.00018040146722625168, "Tutorial / How-To Guide": 0.07271941084973506, "User Reviews": 7.481619877016395e-05, "Other / Unknown": 0.008492291373678478}, "secondary": {"Academic Writing": 0.0006258810245025214, "Content Listing": 0.0011222675596431946, "Creative Writing": 0.00047345552067831585, "Customer Support Page": 0.0006820471224828066, "Q&A Forum": 0.00035863412214572884, "Discussion Thread": 0.0002582517799455895, "Comment Section": 0.0005573054037400412, "Missing Content": 0.0012157262469549078, "Knowledge Article": 0.0016759183469097904, "Legal Notices": 0.00043799944474746504, "News Article": 0.000272529934051437, "Organizational Announcement": 0.0003245574448601944, "Nonfiction Writing": 0.0003978622612924262, "Organizational About Page": 0.00045283769770949965, "Personal About Page": 0.0004135659274023942, "Personal Blog": 0.00036382801077125397, "Product Page": 0.000248196946785028, "Spam / Ads": 0.00037169871384545926, "Structured Data": 0.0012801092507501522, "Technical Writing": 0.09196250564204035, "Transcript / Interview": 0.0004489123626337902, "Tutorial / How-To Guide": 0.18148558186836083, "User Reviews": 0.0002390668382130849, "NONE": 0.7143312605295337}, "tertiary": {"Academic Writing": 0.00038470087234751944, "Content Listing": 0.0018030533187038933, "Creative Writing": 0.00030846340437363216, "Customer Support Page": 0.0005547662413780404, "Q&A Forum": 0.00019608791193010305, "Discussion Thread": 0.00014707743750048903, "Comment Section": 0.0007358646126989356, "Missing Content": 0.0012804689787683991, "Knowledge Article": 0.003607145387342241, "Legal Notices": 0.0008509023935204268, "News Article": 0.00018524252741751132, "Organizational Announcement": 0.00020870354344035177, "Nonfiction Writing": 0.0003075764248038067, "Organizational About Page": 0.0002739941604440835, "Personal About Page": 0.0003469938743269876, "Personal Blog": 0.00029640485525678337, "Product Page": 0.0001721473475617538, "Spam / Ads": 0.00032997897481751694, "Structured Data": 0.0017168271634769433, "Technical Writing": 0.04936292557595581, "Transcript / Interview": 0.00026166531380787493, "Tutorial / How-To Guide": 0.09358204599343102, "User Reviews": 0.0001325421212680092, "NONE": 0.8429544215654279}, "structured_records": {"false": 0.879247044079132, "true": 0.12075295592086802}, "procedural_steps": {"false": 0.3539348331482064, "true": 0.6460651668517936}, "worked_solution": {"false": 0.9977812226338367, "true": 0.0022187773661632324}, "contextual_dialogue": {"false": 0.9999946336278486, "true": 5.36637215141886e-06}, "content_quality": {"-2": 0.061611533974939195, "-1": 0.4225404208038076, "0": 0.35589649645107496, "1": 0.13099644575512653, "2": 0.028955103015051806}, "noise_severity": {"0": 0.628969108090579, "1": 0.25270881302235837, "2": 0.09618749129564923, "3": 0.015824394313952054, "4": 0.0063101932774614344}, "missing_content_severity": {"0": 0.731916260444102, "1": 0.20365558725079533, "2": 0.055937977494469625, "3": 0.006345265089081345, "4": 0.002144909721551804}, "factual_density": {"0": 0.005653686570617118, "1": 0.02192105422467291, "2": 0.2012655028580555, "3": 0.3802462903574368, "4": 0.3909134659892176}, "pretraining_utility": {"-2": 0.023863988372311358, "-1": 0.17715422412471357, "0": 0.3789778328351979, "1": 0.3692975262149985, "2": 0.050706428452778715}, "math_density": {"0": 0.9967185025215262, "1": 0.00297161180712759, "2": 0.00017052727675693095, "3": 7.567509781742753e-05, "4": 6.36832967718417e-05}, "code_density": {"0": 0.0005182111661570465, "1": 0.0010829864062837304, "2": 0.02143228655237719, "3": 0.12304293877116983, "4": 0.8539235771040123}, "reasoning_density": {"0": 0.6509658908722114, "1": 0.2074202875438863, "2": 0.13241391250944437, "3": 0.0060756828194713204, "4": 0.0031242262549865114}, "education_level": {"none": 0.0014234540230591288, "0": 0.0026362949774575268, "1": 0.025098443543754848, "2": 0.6763451095033222, "3": 0.26949243196391015, "4": 0.02500426598849629}, "creative_writing_quality": {"not_applicable": 0.999334353417119, "-2": 0.00011612839710896177, "-1": 0.00018951140740050166, "0": 0.00025864913583791395, "1": 7.636129845226869e-05, "2": 2.499634408152727e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 0.00024544144939193203, "Art & Design": 0.0004830653425576545, "Law & Crime": 0.0003842905239802873, "Education & Careers": 0.00026400316794998027, "Entertainment & Media": 0.0002917485622011848, "Fashion & Beauty": 0.0002156587442885067, "Business, Economics & Finance": 0.0002788490336633303, "Food & Dining": 0.0002109824931712292, "Games & Gaming": 0.0003946339668618235, "Electronics & Hardware": 0.0006503972943617174, "Health, Healthcare & Wellness": 0.00020560597197332028, "History & Geography": 0.0003196216633243207, "Home, Pets & Hobbies": 0.00031619393775000686, "Industry & Production": 0.00029733416279745093, "Language, Literature & Philosophy": 0.00026475691741806615, "Politics & Government": 0.0001600814310750105, "Religion & Spirituality": 0.00020679993190072886, "Science, Mathematics & Engineering": 0.00032151282162916204, "Relationships & Community": 0.0001799376233221592, "Software Usage & Applications": 0.4616403916004616, "Programming & Software Engineering": 0.5310267026012307, "Sports & Fitness": 0.00039375728856198497, "Vehicles & Transportation": 0.00017259701456175298, "Travel & Tourism": 0.000258972447886853, "Other / Uncovered Subject": 0.000536128946414264, "Unknown / Insufficient Content": 0.00028053506126486855}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0006853837558521565, "Art & Design": 0.0009569901061988371, "Law & Crime": 0.000978854698683731, "Education & Careers": 0.0005520369608264386, "Entertainment & Media": 0.0008508874581793215, "Fashion & Beauty": 0.00043566265379146044, "Business, Economics & Finance": 0.0007409214226772706, "Food & Dining": 0.00037125046761541357, "Games & Gaming": 0.0007833586115332833, "Electronics & Hardware": 0.0019549770629561395, "Health, Healthcare & Wellness": 0.0004125485129115798, "History & Geography": 0.0004890414947894419, "Home, Pets & Hobbies": 0.0005087679021616543, "Industry & Production": 0.0005096850258773948, "Language, Literature & Philosophy": 0.00036480752051074077, "Politics & Government": 0.0003971153769171386, "Religion & Spirituality": 0.0004275934493964664, "Science, Mathematics & Engineering": 0.0007532200229630718, "Relationships & Community": 0.00034957969854559207, "Software Usage & Applications": 0.4325558543538413, "Programming & Software Engineering": 0.17993681260143674, "Sports & Fitness": 0.0005268701386428682, "Vehicles & Transportation": 0.00027770301789774825, "Travel & Tourism": 0.0005586757826372494, "Other / Uncovered Subject": 0.0008092632239129447, "NONE": 0.37281213867924407}}, "probabilities": {"primary": {"Academic Writing": 0.0001880798313030095, "Content Listing": 0.00030275504213280504, "Creative Writing": 0.00014950459272239472, "Customer Support Page": 0.00016713695194128328, "Q&A Forum": 0.00011721451225138639, "Discussion Thread": 9.439519326679918e-05, "Comment Section": 0.00016839160715779317, "Missing Content": 0.00014713109337618978, "Knowledge Article": 0.0004073454950923463, "Legal Notices": 0.00013062002707469074, "News Article": 6.27197380585787e-05, "Organizational Announcement": 0.00011299419433711614, "Nonfiction Writing": 0.0001221604174321251, "Organizational About Page": 0.00014378717157721252, "Personal About Page": 0.00013620898020447962, "Personal Blog": 8.771458798098192e-05, "Product Page": 8.698738648200487e-05, "Spam / Ads": 0.0001309117190935039, "Structured Data": 0.0005147512880253292, "Technical Writing": 0.91526227028108, "Transcript / Interview": 0.00018040146722625168, "Tutorial / How-To Guide": 0.07271941084973506, "User Reviews": 7.481619877016395e-05, "Other / Unknown": 0.008492291373678478}, "secondary": {"Academic Writing": 0.0006258810245025215, "Content Listing": 0.0011222675596431948, "Creative Writing": 0.0004734555206783159, "Customer Support Page": 0.0006820471224828067, "Q&A Forum": 0.0003586341221457289, "Discussion Thread": 0.00025825177994558954, "Comment Section": 0.0005573054037400413, "Missing Content": 0.001215726246954908, "Knowledge Article": 0.0016759183469097906, "Legal Notices": 0.0004379994447474651, "News Article": 0.00027252993405143703, "Organizational Announcement": 0.0003245574448601945, "Nonfiction Writing": 0.00039786226129242625, "Organizational About Page": 0.0004528376977094997, "Personal About Page": 0.00041356592740239426, "Personal Blog": 0.000363828010771254, "Product Page": 0.00024819694678502804, "Spam / Ads": 0.0003716987138454593, "Structured Data": 0.0012801092507501524, "Technical Writing": 0.09196250564204037, "Transcript / Interview": 0.0004489123626337903, "Tutorial / How-To Guide": 0.18148558186836086, "User Reviews": 0.00023906683821308492, "NONE": 0.7143312605295338}, "tertiary": {"Academic Writing": 0.00038470087234751944, "Content Listing": 0.0018030533187038933, "Creative Writing": 0.00030846340437363216, "Customer Support Page": 0.0005547662413780404, "Q&A Forum": 0.00019608791193010305, "Discussion Thread": 0.00014707743750048903, "Comment Section": 0.0007358646126989356, "Missing Content": 0.0012804689787683991, "Knowledge Article": 0.003607145387342241, "Legal Notices": 0.0008509023935204268, "News Article": 0.00018524252741751132, "Organizational Announcement": 0.00020870354344035177, "Nonfiction Writing": 0.0003075764248038067, "Organizational About Page": 0.0002739941604440835, "Personal About Page": 0.0003469938743269876, "Personal Blog": 0.00029640485525678337, "Product Page": 0.0001721473475617538, "Spam / Ads": 0.00032997897481751694, "Structured Data": 0.0017168271634769433, "Technical Writing": 0.04936292557595581, "Transcript / Interview": 0.00026166531380787493, "Tutorial / How-To Guide": 0.09358204599343102, "User Reviews": 0.0001325421212680092, "NONE": 0.8429544215654279}, "structured_records": {"false": 0.879247044079132, "true": 0.12075295592086802}, "procedural_steps": {"false": 0.3539348331482064, "true": 0.6460651668517936}, "worked_solution": {"false": 0.9977812226338367, "true": 0.0022187773661632324}, "contextual_dialogue": {"false": 0.9999946336278486, "true": 5.36637215141886e-06}, "content_quality": {"-2": 0.061611533974939195, "-1": 0.4225404208038076, "0": 0.35589649645107496, "1": 0.13099644575512653, "2": 0.028955103015051806}, "noise_severity": {"0": 0.6289691080905789, "1": 0.2527088130223583, "2": 0.0961874912956492, "3": 0.01582439431395205, "4": 0.006310193277461433}, "missing_content_severity": {"0": 0.731916260444102, "1": 0.20365558725079533, "2": 0.055937977494469625, "3": 0.006345265089081345, "4": 0.002144909721551804}, "factual_density": {"0": 0.0056536865706171184, "1": 0.021921054224672915, "2": 0.20126550285805553, "3": 0.38024629035743684, "4": 0.39091346598921767}, "pretraining_utility": {"-2": 0.023863988372311358, "-1": 0.17715422412471357, "0": 0.3789778328351979, "1": 0.3692975262149985, "2": 0.050706428452778715}, "math_density": {"0": 0.9967185025215262, "1": 0.00297161180712759, "2": 0.00017052727675693095, "3": 7.567509781742753e-05, "4": 6.36832967718417e-05}, "code_density": {"0": 0.0005182111661570464, "1": 0.0010829864062837302, "2": 0.021432286552377187, "3": 0.1230429387711698, "4": 0.8539235771040121}, "reasoning_density": {"0": 0.6509658908722115, "1": 0.20742028754388633, "2": 0.1324139125094444, "3": 0.006075682819471321, "4": 0.003124226254986512}, "education_level": {"none": 0.0014234540230591288, "0": 0.0026362949774575268, "1": 0.025098443543754848, "2": 0.6763451095033222, "3": 0.26949243196391015, "4": 0.02500426598849629}, "creative_writing_quality": {"not_applicable": 0.9993343534171187, "-2": 0.00011612839710896175, "-1": 0.0001895114074005016, "0": 0.0002586491358379139, "1": 7.636129845226867e-05, "2": 2.4996344081527264e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 0.00024544144939193203, "Art & Design": 0.0004830653425576545, "Law & Crime": 0.0003842905239802873, "Education & Careers": 0.00026400316794998027, "Entertainment & Media": 0.0002917485622011848, "Fashion & Beauty": 0.0002156587442885067, "Business, Economics & Finance": 0.0002788490336633303, "Food & Dining": 0.0002109824931712292, "Games & Gaming": 0.0003946339668618235, "Electronics & Hardware": 0.0006503972943617174, "Health, Healthcare & Wellness": 0.00020560597197332028, "History & Geography": 0.0003196216633243207, "Home, Pets & Hobbies": 0.00031619393775000686, "Industry & Production": 0.00029733416279745093, "Language, Literature & Philosophy": 0.00026475691741806615, "Politics & Government": 0.0001600814310750105, "Religion & Spirituality": 0.00020679993190072886, "Science, Mathematics & Engineering": 0.00032151282162916204, "Relationships & Community": 0.0001799376233221592, "Software Usage & Applications": 0.4616403916004616, "Programming & Software Engineering": 0.5310267026012307, "Sports & Fitness": 0.00039375728856198497, "Vehicles & Transportation": 0.00017259701456175298, "Travel & Tourism": 0.000258972447886853, "Other / Uncovered Subject": 0.000536128946414264, "Unknown / Insufficient Content": 0.00028053506126486855}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0006853837558521565, "Art & Design": 0.0009569901061988371, "Law & Crime": 0.000978854698683731, "Education & Careers": 0.0005520369608264386, "Entertainment & Media": 0.0008508874581793215, "Fashion & Beauty": 0.00043566265379146044, "Business, Economics & Finance": 0.0007409214226772706, "Food & Dining": 0.00037125046761541357, "Games & Gaming": 0.0007833586115332833, "Electronics & Hardware": 0.0019549770629561395, "Health, Healthcare & Wellness": 0.0004125485129115798, "History & Geography": 0.0004890414947894419, "Home, Pets & Hobbies": 0.0005087679021616543, "Industry & Production": 0.0005096850258773948, "Language, Literature & Philosophy": 0.00036480752051074077, "Politics & Government": 0.0003971153769171386, "Religion & Spirituality": 0.0004275934493964664, "Science, Mathematics & Engineering": 0.0007532200229630718, "Relationships & Community": 0.00034957969854559207, "Software Usage & Applications": 0.4325558543538413, "Programming & Software Engineering": 0.17993681260143674, "Sports & Fitness": 0.0005268701386428682, "Vehicles & Transportation": 0.00027770301789774825, "Travel & Tourism": 0.0005586757826372494, "Other / Uncovered Subject": 0.0008092632239129447, "NONE": 0.37281213867924407}}, "probability_diagnostics": {"primary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "tertiary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "structured_records": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "procedural_steps": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "worked_solution": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "contextual_dialogue": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "content_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "noise_severity": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "missing_content_severity": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "factual_density": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "pretraining_utility": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "math_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "code_density": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "reasoning_density": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "education_level": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "creative_writing_quality": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "primary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}}, "usage": {"input_tokens": 11381, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 11381, "cached_share": null, "cache_discount_reported": null, "reported_cost_usd": null}, "response_metadata": {"model": "decision-models/baseten-mammoth-27b-latest"}, "scored_at_utc": "2026-10-25T18:37:09.546808+00:00", "scoring_key_slot": "assistant_1", "dataset_uid": "7ffcddf9-fb1e-4e00-a8b8-1e14347c1200", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "b9c20196f3bdbba8f6d9c5b4a9a07d660dcd70c0820dcf60fa9387a244f26837", "source_metadata": {"uuid": "7ffcddf9-fb1e-4e00-a8b8-1e14347c1200", "repo_name": "rodhfr/dotfiles-sway", "relative_path": "sway/install-programs.sh", "category": "TOOL", "algo_rel_score": 0.9911643862724304, "quality_score": 3.3813579082489014, "source_meta": {"github_metadata": {"branch": "main", "commit_count": 7, "repo_created_at": "2025-03-05T16:30:37.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 0, "forks": 0, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "caf95f8168dfe6e6fe7dcc180417b5b84c5d0a69", "size_bytes": 9548, "file_timestamp": 1752830751, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "9d30a4826714fc18e1d876b3ea584f1d235e7baf"}}, "parsed_source_meta": {"github_metadata": {"branch": "main", "commit_count": 7, "repo_created_at": "2025-03-05T16:30:37.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 0, "forks": 0, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "caf95f8168dfe6e6fe7dcc180417b5b84c5d0a69", "size_bytes": 9548, "file_timestamp": 1752830751, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "9d30a4826714fc18e1d876b3ea584f1d235e7baf", "url": "https://github.com/rodhfr/dotfiles-sway/blob/9d30a4826714fc18e1d876b3ea584f1d235e7baf/sway/install-programs.sh"}, "gpt4o_tokens": 2832, "dataset_split": "shell", "probability_weighted_scores": {"content_quality": -0.3568568369684558, "noise_severity": 0.5177977516653587, "missing_content_severity": 0.3431469763931858, "factual_density": 3.1288447949699654, "pretraining_utility": 0.24582818225121966, "math_density": 0.003794424841181101, "code_density": 3.8287706842405966, "reasoning_density": 0.5029720660411351, "education_level": 2.289542080281254, "creative_writing_quality": -0.4438003928818144}, "score_applicability": {"education_level": 0.998576545976941, "creative_writing_quality": 0.0006656465828811732}} {"source_group": "shell", "source": "openbmb/UltraData-Stack-v3-L2/shell", "domain": "github.com", "language": "shell", "url": "https://github.com/int0x80/githump/blob/f84574ce9a6d13cb2bf9b227f791de988c27a181/githump.sh", "id": "shell-0-dcf6c7afd1eb492e40125bd6b76b851f", "text": "#!/bin/bash\n# -----------------------------------------------------------\n# githump clones all repositories for a specified user/org\n# then extracts all unique authors from the commit history.\n# -----------------------------------------------------------\n\n\n# -----------------------------------------------------------\n# color configuration\n# -----------------------------------------------------------\nblue=$(tput setaf 4)\ngreen=$(tput setaf 2)\nred=$(tput setaf 1)\nrst=$(tput sgr0)\n\nerror=\"$red-$rst\"\ninfo=\"$blue*$rst\"\nsuccess=\"$green+$rst\"\n\n\n# -----------------------------------------------------------\n# runtime configuration\n# -----------------------------------------------------------\ncount=0\ntemp_dir=\"/tmp/githump\"\n\n\n# -----------------------------------------------------------\n# utility logging functions\n# -----------------------------------------------------------\nfunction log_error() {\n echo \"[$error] ${1}\"\n}\n\nfunction log_info() {\n echo \"[$info] ${1}\"\n}\n\nfunction log_success() {\n echo \"[$success] ${1}\"\n}\n\n\n# -----------------------------------------------------------\n# welcome banner\n# -----------------------------------------------------------\nfunction welcome() {\n log_success \"githump: Loaded at $(date)\"\n}\n\n\n# -----------------------------------------------------------\n# print usage and exit\n# -----------------------------------------------------------\nfunction usage() {\n log_error \"Missing required target organization or user.\"\n log_error \"Org or user is the account name from https://github.com/\"\n log_error \"Example: $0 rapid7 (for https://github.com/rapid7)\"\n log_error \"Usage: $0 \"\n exit 1\n}\n\n\n# -----------------------------------------------------------\n# grab the list of repos via the /orgs api\n# -----------------------------------------------------------\nfunction get_org_emails() {\n curl -s \"https://api.github.com/orgs/${1}/repos\" | grep html_url | sort | uniq | awk -F \\\" '{print $4}' | tail -n +2 | while read repo; do\n # -----------------------------------------------------------\n # set up the results directory and file\n # -----------------------------------------------------------\n repo_dir=$(basename \"${repo}\")\n output_dir=\"${temp_dir}/${1}/${repo_dir}\"\n output_file=\"${output_dir}/${repo_dir}.results\"\n mkdir -p \"${output_dir}\"\n\n # -----------------------------------------------------------\n # clone the repo and extract email addresses\n # -----------------------------------------------------------\n git clone -n -q --no-checkout --filter=blob:none \"${repo}\"\n cd ${repo_dir}\n git log --all | grep \"^Author:\" | sort | uniq | grep -E -o \"\\b[a-zA-Z0-9_.-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z0-9.-]+\\b\" >> \"${output_file}\"\n\n # -----------------------------------------------------------\n # update user with status\n # -----------------------------------------------------------\n total=$(git log --all | grep \"^Author:\" | sort | uniq | grep -E -o \"\\b[a-zA-Z0-9_.-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z0-9.-]+\\b\" | wc -l)\n [ $total -gt 0 ] && log_success \"Dumped ${total} email addresses to ${output_file}\"\n\n # -----------------------------------------------------------\n # remove the repo\n # -----------------------------------------------------------\n cd ..\n rm -rf \"${repo_dir}\" \n done\n}\n\n\n# -----------------------------------------------------------\n# grab the list of repos via the /orgs api\n# -----------------------------------------------------------\nfunction get_user_emails() {\n curl -s \"https://api.github.com/users/${1}/repos\" | grep html_url | sort | uniq | awk -F \\\" '{print $4}' | tail -n +2 | while read repo; do\n # -----------------------------------------------------------\n # set up the results directory and file\n # -----------------------------------------------------------\n repo_dir=$(basename \"${repo}\")\n output_dir=\"${temp_dir}/${1}/${repo_dir}\"\n output_file=\"${output_dir}/${repo_dir}.results\"\n mkdir -p \"${output_dir}\"\n\n # -----------------------------------------------------------\n # clone the repo and extract email addresses\n # -----------------------------------------------------------\n git clone -n -q --no-checkout --filter=blob:none \"${repo}\"\n cd ${repo_dir}\n git log --all | grep \"^Author:\" | sort | uniq | grep -E -o \"\\b[a-zA-Z0-9_.-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z0-9.-]+\\b\" >> \"${output_file}\"\n\n # -----------------------------------------------------------\n # update user with status\n # -----------------------------------------------------------\n total=$(git log --all | grep \"^Author:\" | sort | uniq | grep -E -o \"\\b[a-zA-Z0-9_.-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z0-9.-]+\\b\" | wc -l)\n [ $total -gt 0 ] && log_success \"Dumped ${total} email addresses to ${output_file}\"\n\n # -----------------------------------------------------------\n # remove the repo\n # -----------------------------------------------------------\n cd ..\n rm -rf \"${repo_dir}\" \n done\n}\n\n\n# -----------------------------------------------------------\n# display welcome message\n# -----------------------------------------------------------\nwelcome\n\n# -----------------------------------------------------------\n# print usage and exit if no targets specified\n# -----------------------------------------------------------\n[ $# -eq 0 ] && usage\n\n\n# -----------------------------------------------------------\n# begin the acquisition\n# -----------------------------------------------------------\nmkdir -p results\nfor target in ${BASH_ARGV[*]}; do\n # -----------------------------------------------------------\n # sanity check the target name format\n # -----------------------------------------------------------\n match=$(echo \"${target}\" | grep -E -i \"^[a-z0-9]([a-z0-9]?|-([a-z0-9]+)){0,38}$\")\n if [[ -z ${match} ]]; then\n log_error \"${target} did not match the GitHub username format requirement.\"\n continue\n fi\n \n # -----------------------------------------------------------\n # collect the emails from the repositories\n # -----------------------------------------------------------\n log_info \"Beginning collection for $target. This may take a while.\"\n get_org_emails $target\n get_user_emails $target\n\n # -----------------------------------------------------------\n # accumulate all the unique emails\n # -----------------------------------------------------------\n address_count=$(find \"${temp_dir}/${target}\" -name \"*.results\" -type f -exec cat \"{}\" + | sort | uniq | wc -l)\n find \"${temp_dir}/${target}\" -name \"*.results\" -type f -exec cat \"{}\" + | sort | uniq > \"./results/${target}.txt\"\n rm -rf \"${temp_dir}/${target}\"\n log_success \"Collected ${address_count} emails for $target, stored in ./results/${target}.txt\"\n\n # -----------------------------------------------------------\n # update user with number of targets remaining\n # -----------------------------------------------------------\n count=$(($count + 1))\n log_info \"$(($# - ${count})) remaining.\"\ndone\n\n# -----------------------------------------------------------\n# clean up the working directory and exit\n# -----------------------------------------------------------\nrm -rf \"${temp_dir}\"\nexit 0\n", "text_preview": "#!/bin/bash # ----------------------------------------------------------- # githump clones all repositories for a specified user/org # then extracts all unique authors from the commit history. # ---------------------------------------------", "input_sha256": "178c71a68c3403b6c628369df95a05828c41fe8dc08007faf11b6c6f77f24bbe", "text_sha256": "dcf6c7afd1eb492e40125bd6b76b851f81029958bb694da8acf5eed075404fcb", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 20118, "input_policy": "text-and-optional-url-v1", "label_policy_version": 12, "requested_model": "decision-models/baseten-mammoth-27b-latest", "backend": "baseten", "endpoint": "https://inference.baseten.co/v1/systemone", "status": "ok", "training_eligible": true, "label": {"primary": {"main_format": "Technical Writing", "sub_format": null}, "secondary": null, "tertiary": null, "content_structure": []}, "candidate_label": null, "topic": {"primary": {"main_topic": "Programming & Software Engineering", "sub_topic": null}, "secondary": null}, "scores": {"content_quality": 1, "noise_severity": 0, "missing_content_severity": 0, "factual_density": 3, "pretraining_utility": 0, "math_density": 0, "code_density": 4, "reasoning_density": 0, "education_level": 2, "creative_writing_quality": null}, "score_expectations": {"content_quality": 0.5829234977090594, "noise_severity": 0.3380510076907591, "missing_content_severity": 0.003349175098710477, "factual_density": 2.8423732281053473, "pretraining_utility": 0.2272522938348116, "math_density": 0.1122652914315049, "code_density": 3.7768302829825413, "reasoning_density": 0.33152322786641786, "education_level": 2.147740524339442, "creative_writing_quality": -0.280597997988717}, "api_choices": {"primary": "Technical Writing", "secondary": "NONE", "tertiary": "NONE", "education_level": "2", "creative_writing_quality": "not_applicable", "primary_topic": "Programming & Software Engineering", "secondary_topic": "NONE"}, "review_reasons": [], "format_slot_diagnostics": {"comparable": true, "secondary_tertiary_identical": false, "secondary_tertiary_max_abs_gap": 0.009244045924570688, "secondary_choice": "NONE", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.9894328039960094, "secondary": 0.9499994523517993, "tertiary": 0.9560153291625093, "structured_records": 0.0026197783428953706, "procedural_steps": 0.10687934276031519, "worked_solution": 0.007424467723882205, "contextual_dialogue": 7.136140723756106e-06, "content_quality": 0.43420310997726064, "noise_severity": 0.7182908269243674, "missing_content_severity": 0.9972090207510746, "factual_density": 0.40727446819286617, "pretraining_utility": 0.4146403402667823, "math_density": 0.906445590473746, "code_density": 0.8140252358187843, "reasoning_density": 0.7237306434446518, "education_level": 0.7273848846127708, "creative_writing_quality": 0.9984584401613498, "primary_topic": 0.967975386464647, "secondary_topic": 0.7737470009697501}, "probability_margin": {"primary": 0.9839701884382388, "secondary": 0.9305538533618326, "tertiary": 0.935038993769764, "education_level": 0.6162609442009298, "creative_writing_quality": 0.9981266614681574, "primary_topic": 0.9535947078918865, "secondary_topic": 0.678219168723619}, "raw_probabilities": {"primary": {"Academic Writing": 5.122621908253908e-05, "Content Listing": 4.2188806083956206e-05, "Creative Writing": 4.1203368659665775e-05, "Customer Support Page": 2.389331274770002e-05, "Q&A Forum": 2.5565144047977248e-05, "Discussion Thread": 2.1035541909103868e-05, "Comment Section": 3.630993562405814e-05, "Missing Content": 3.8634109657503506e-05, "Knowledge Article": 0.00017037603584336291, "Legal Notices": 7.211568222423644e-05, "News Article": 1.385015888237554e-05, "Organizational Announcement": 2.353027415862232e-05, "Nonfiction Writing": 2.9301177463591104e-05, "Organizational About Page": 3.0337421332208883e-05, "Personal About Page": 3.00476136735869e-05, "Personal Blog": 1.7672598423219892e-05, "Product Page": 1.9190276709246405e-05, "Spam / Ads": 6.378401741815605e-05, "Structured Data": 0.00041327314352619855, "Technical Writing": 0.989873103829509, "Transcript / Interview": 3.569147709095752e-05, "Tutorial / How-To Guide": 0.0059029153912702435, "User Reviews": 1.5349973732323283e-05, "Other / Unknown": 0.003009404490930092}, "secondary": {"Academic Writing": 0.0002624509870542443, "Content Listing": 0.0002262689018988064, "Creative Writing": 0.00021502484273188449, "Customer Support Page": 0.00029198941806705383, "Q&A Forum": 0.0001007625286198886, "Discussion Thread": 8.016625175785425e-05, "Comment Section": 0.0001765597116131396, "Missing Content": 0.000248372366655456, "Knowledge Article": 0.001198401052015403, "Legal Notices": 0.0003653547124494925, "News Article": 0.00011914638619922339, "Organizational Announcement": 0.0001301099514889893, "Nonfiction Writing": 0.00015080803010277877, "Organizational About Page": 0.00015263562795924009, "Personal About Page": 0.00014045691591685404, "Personal Blog": 0.00011349982712513019, "Product Page": 8.645389100065498e-05, "Spam / Ads": 0.00016767453636596654, "Structured Data": 0.0009439310416057216, "Technical Writing": 0.020964476568974634, "Transcript / Interview": 0.00018165064309017017, "Tutorial / How-To Guide": 0.021528955141975063, "User Reviews": 7.204216152470958e-05, "NONE": 0.9520828085038077}, "tertiary": {"Academic Writing": 0.0002056026729979128, "Content Listing": 0.000225267257136, "Creative Writing": 0.00020103190285263262, "Customer Support Page": 0.0007564157945256033, "Q&A Forum": 7.287047656307253e-05, "Discussion Thread": 6.304363581561526e-05, "Comment Section": 0.00015816168987677922, "Missing Content": 0.00023928894110772356, "Knowledge Article": 0.002184454464693672, "Legal Notices": 0.0006315481316730194, "News Article": 9.703539253827349e-05, "Organizational Announcement": 0.00011386197157815067, "Nonfiction Writing": 0.00016032376864713704, "Organizational About Page": 0.00014116270792712476, "Personal About Page": 0.00011983711508775699, "Personal Blog": 9.632333033856696e-05, "Product Page": 9.037846916485643e-05, "Spam / Ads": 0.00021131286952878346, "Structured Data": 0.0016461097379179453, "Technical Writing": 0.011720430644403946, "Transcript / Interview": 0.00015294532056071646, "Tutorial / How-To Guide": 0.022809030010974066, "User Reviews": 5.55399133526444e-05, "NONE": 0.9578480237807381}, "structured_records": {"false": 0.9973802216571046, "true": 0.0026197783428953706}, "procedural_steps": {"false": 0.8931206572396848, "true": 0.10687934276031519}, "worked_solution": {"false": 0.9925755322761178, "true": 0.007424467723882205}, "contextual_dialogue": {"false": 0.9999928638592762, "true": 7.136140723756106e-06}, "content_quality": {"-2": 0.023086289806263573, "-1": 0.0901314315620453, "0": 0.2984946526162326, "1": 0.45734774314728527, "2": 0.1309398828681733}, "noise_severity": {"0": 0.7369979661364231, "1": 0.19885124971808943, "2": 0.055796634307722165, "3": 0.005810109993836093, "4": 0.002544039843929263}, "missing_content_severity": {"0": 0.998336237329301, "1": 0.00047951562235758546, "2": 0.0007743146131820673, "3": 0.0003186994906480351, "4": 9.123294451116287e-05}, "factual_density": {"0": 0.015690973487912343, "1": 0.06784738429465867, "2": 0.2516810159785524, "3": 0.38795869310192266, "4": 0.27682193313695386}, "pretraining_utility": {"-2": 0.027771100320344893, "-1": 0.182047448281835, "0": 0.38894126924984856, "1": 0.3376384215386069, "2": 0.06360176060936476}, "math_density": {"0": 0.9035070763233791, "1": 0.08886901419455355, "2": 0.0029281403084764324, "3": 0.0012430800743650657, "4": 0.003452689099225823}, "code_density": {"0": 0.0003896642245298378, "1": 0.0007802580364194615, "2": 0.021956293781971274, "3": 0.17535769844613858, "4": 0.8015160855109408}, "reasoning_density": {"0": 0.8318961119318025, "1": 0.052615822288303686, "2": 0.07805722961153738, "3": 0.02693039831838656, "4": 0.010500437849969936}, "education_level": {"none": 0.0011383950419474426, "0": 0.0024325327436125724, "1": 0.04607315811720602, "2": 0.772820737177309, "3": 0.1565597929763792, "4": 0.02097538394354558}, "creative_writing_quality": {"not_applicable": 0.9987153668011248, "-2": 0.00012860437785166745, "-1": 0.0003635309321850294, "0": 0.0005887053329673606, "1": 0.0001473109276077159, "2": 5.648162826323929e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 0.001457396185441869, "Art & Design": 0.00011097329387619403, "Law & Crime": 0.015612394477966406, "Education & Careers": 9.720014846233523e-05, "Entertainment & Media": 9.695887927162345e-05, "Fashion & Beauty": 7.133532935286412e-05, "Business, Economics & Finance": 0.00015613897354973072, "Food & Dining": 7.238590041774173e-05, "Games & Gaming": 9.764420639505228e-05, "Electronics & Hardware": 0.00017423113390797738, "Health, Healthcare & Wellness": 7.969168653874134e-05, "History & Geography": 8.29930202476449e-05, "Home, Pets & Hobbies": 7.295669139146761e-05, "Industry & Production": 6.797011180389766e-05, "Language, Literature & Philosophy": 8.410688251982909e-05, "Politics & Government": 0.00010092570751886519, "Religion & Spirituality": 6.837339028686162e-05, "Science, Mathematics & Engineering": 0.00022291728264176226, "Relationships & Community": 0.00014740917876158993, "Software Usage & Applications": 0.0027615892242931306, "Programming & Software Engineering": 0.9692071023698529, "Sports & Fitness": 9.321510236085652e-05, "Vehicles & Transportation": 4.244823440092473e-05, "Travel & Tourism": 0.00011285726014760419, "Other / Uncovered Subject": 0.008800400043196937, "Unknown / Insufficient Content": 0.00010838528539538925}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.004353695083912269, "Art & Design": 0.0006246784927753796, "Law & Crime": 0.10422987067037146, "Education & Careers": 0.0005342992693147848, "Entertainment & Media": 0.0006349673288010366, "Fashion & Beauty": 0.0003440267936837465, "Business, Economics & Finance": 0.0010573245690012436, "Food & Dining": 0.0003037272515242568, "Games & Gaming": 0.00043661313263714327, "Electronics & Hardware": 0.0006414695073612684, "Health, Healthcare & Wellness": 0.0004892486939831035, "History & Geography": 0.0003170447908020525, "Home, Pets & Hobbies": 0.00035087434796839497, "Industry & Production": 0.0002751560800483449, "Language, Literature & Philosophy": 0.00027100426199802195, "Politics & Government": 0.00047084027811001655, "Religion & Spirituality": 0.0004245830916099181, "Science, Mathematics & Engineering": 0.0006439030771496594, "Relationships & Community": 0.00035771215876197773, "Software Usage & Applications": 0.0504754837068224, "Programming & Software Engineering": 0.03669229025065427, "Sports & Fitness": 0.00030784736357499827, "Vehicles & Transportation": 0.00015500281599860514, "Travel & Tourism": 0.0004822999864291869, "Other / Uncovered Subject": 0.012676997602715921, "NONE": 0.7824490393939905}}, "probabilities": {"primary": {"Academic Writing": 5.1226219082539084e-05, "Content Listing": 4.218880608395621e-05, "Creative Writing": 4.120336865966578e-05, "Customer Support Page": 2.3893312747700025e-05, "Q&A Forum": 2.556514404797725e-05, "Discussion Thread": 2.103554190910387e-05, "Comment Section": 3.630993562405815e-05, "Missing Content": 3.863410965750351e-05, "Knowledge Article": 0.00017037603584336294, "Legal Notices": 7.211568222423645e-05, "News Article": 1.3850158882375541e-05, "Organizational Announcement": 2.3530274158622325e-05, "Nonfiction Writing": 2.9301177463591107e-05, "Organizational About Page": 3.0337421332208886e-05, "Personal About Page": 3.0047613673586904e-05, "Personal Blog": 1.7672598423219896e-05, "Product Page": 1.919027670924641e-05, "Spam / Ads": 6.378401741815607e-05, "Structured Data": 0.0004132731435261986, "Technical Writing": 0.9898731038295091, "Transcript / Interview": 3.569147709095753e-05, "Tutorial / How-To Guide": 0.005902915391270244, "User Reviews": 1.5349973732323287e-05, "Other / Unknown": 0.0030094044909300924}, "secondary": {"Academic Writing": 0.0002624509870542443, "Content Listing": 0.0002262689018988064, "Creative Writing": 0.00021502484273188449, "Customer Support Page": 0.00029198941806705383, "Q&A Forum": 0.0001007625286198886, "Discussion Thread": 8.016625175785425e-05, "Comment Section": 0.0001765597116131396, "Missing Content": 0.000248372366655456, "Knowledge Article": 0.001198401052015403, "Legal Notices": 0.0003653547124494925, "News Article": 0.00011914638619922339, "Organizational Announcement": 0.0001301099514889893, "Nonfiction Writing": 0.00015080803010277877, "Organizational About Page": 0.00015263562795924009, "Personal About Page": 0.00014045691591685404, "Personal Blog": 0.00011349982712513019, "Product Page": 8.645389100065498e-05, "Spam / Ads": 0.00016767453636596654, "Structured Data": 0.0009439310416057216, "Technical Writing": 0.020964476568974634, "Transcript / Interview": 0.00018165064309017017, "Tutorial / How-To Guide": 0.021528955141975063, "User Reviews": 7.204216152470958e-05, "NONE": 0.9520828085038077}, "tertiary": {"Academic Writing": 0.0002056026729979128, "Content Listing": 0.000225267257136, "Creative Writing": 0.00020103190285263262, "Customer Support Page": 0.0007564157945256033, "Q&A Forum": 7.287047656307253e-05, "Discussion Thread": 6.304363581561526e-05, "Comment Section": 0.00015816168987677922, "Missing Content": 0.00023928894110772356, "Knowledge Article": 0.002184454464693672, "Legal Notices": 0.0006315481316730194, "News Article": 9.703539253827349e-05, "Organizational Announcement": 0.00011386197157815067, "Nonfiction Writing": 0.00016032376864713704, "Organizational About Page": 0.00014116270792712476, "Personal About Page": 0.00011983711508775699, "Personal Blog": 9.632333033856696e-05, "Product Page": 9.037846916485643e-05, "Spam / Ads": 0.00021131286952878346, "Structured Data": 0.0016461097379179453, "Technical Writing": 0.011720430644403946, "Transcript / Interview": 0.00015294532056071646, "Tutorial / How-To Guide": 0.022809030010974066, "User Reviews": 5.55399133526444e-05, "NONE": 0.9578480237807381}, "structured_records": {"false": 0.9973802216571046, "true": 0.0026197783428953706}, "procedural_steps": {"false": 0.8931206572396848, "true": 0.10687934276031519}, "worked_solution": {"false": 0.9925755322761178, "true": 0.007424467723882205}, "contextual_dialogue": {"false": 0.9999928638592762, "true": 7.136140723756106e-06}, "content_quality": {"-2": 0.023086289806263573, "-1": 0.0901314315620453, "0": 0.2984946526162326, "1": 0.45734774314728527, "2": 0.1309398828681733}, "noise_severity": {"0": 0.7369979661364231, "1": 0.19885124971808943, "2": 0.055796634307722165, "3": 0.005810109993836093, "4": 0.002544039843929263}, "missing_content_severity": {"0": 0.9983362373293011, "1": 0.0004795156223575855, "2": 0.0007743146131820674, "3": 0.00031869949064803515, "4": 9.123294451116288e-05}, "factual_density": {"0": 0.015690973487912346, "1": 0.06784738429465868, "2": 0.25168101597855247, "3": 0.3879586931019227, "4": 0.2768219331369539}, "pretraining_utility": {"-2": 0.027771100320344886, "-1": 0.18204744828183497, "0": 0.38894126924984845, "1": 0.33763842153860685, "2": 0.06360176060936475}, "math_density": {"0": 0.9035070763233791, "1": 0.08886901419455355, "2": 0.0029281403084764324, "3": 0.0012430800743650657, "4": 0.003452689099225823}, "code_density": {"0": 0.0003896642245298379, "1": 0.0007802580364194616, "2": 0.021956293781971278, "3": 0.1753576984461386, "4": 0.8015160855109409}, "reasoning_density": {"0": 0.8318961119318025, "1": 0.052615822288303686, "2": 0.07805722961153738, "3": 0.02693039831838656, "4": 0.010500437849969936}, "education_level": {"none": 0.0011383950419474429, "0": 0.002432532743612573, "1": 0.046073158117206026, "2": 0.7728207371773091, "3": 0.15655979297637923, "4": 0.020975383943545582}, "creative_writing_quality": {"not_applicable": 0.9987153668011249, "-2": 0.00012860437785166748, "-1": 0.00036353093218502946, "0": 0.0005887053329673607, "1": 0.00014731092760771592, "2": 5.6481628263239295e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 0.0014573961854418688, "Art & Design": 0.000110973293876194, "Law & Crime": 0.015612394477966402, "Education & Careers": 9.72001484623352e-05, "Entertainment & Media": 9.695887927162342e-05, "Fashion & Beauty": 7.133532935286411e-05, "Business, Economics & Finance": 0.0001561389735497307, "Food & Dining": 7.238590041774172e-05, "Games & Gaming": 9.764420639505226e-05, "Electronics & Hardware": 0.00017423113390797735, "Health, Healthcare & Wellness": 7.969168653874132e-05, "History & Geography": 8.299302024764489e-05, "Home, Pets & Hobbies": 7.29566913914676e-05, "Industry & Production": 6.797011180389764e-05, "Language, Literature & Philosophy": 8.410688251982908e-05, "Politics & Government": 0.00010092570751886516, "Religion & Spirituality": 6.83733902868616e-05, "Science, Mathematics & Engineering": 0.0002229172826417622, "Relationships & Community": 0.0001474091787615899, "Software Usage & Applications": 0.00276158922429313, "Programming & Software Engineering": 0.9692071023698526, "Sports & Fitness": 9.321510236085649e-05, "Vehicles & Transportation": 4.244823440092472e-05, "Travel & Tourism": 0.00011285726014760416, "Other / Uncovered Subject": 0.008800400043196936, "Unknown / Insufficient Content": 0.00010838528539538922}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.00435369508391227, "Art & Design": 0.0006246784927753797, "Law & Crime": 0.10422987067037147, "Education & Careers": 0.0005342992693147849, "Entertainment & Media": 0.0006349673288010367, "Fashion & Beauty": 0.00034402679368374654, "Business, Economics & Finance": 0.0010573245690012438, "Food & Dining": 0.0003037272515242569, "Games & Gaming": 0.0004366131326371433, "Electronics & Hardware": 0.0006414695073612685, "Health, Healthcare & Wellness": 0.0004892486939831036, "History & Geography": 0.0003170447908020526, "Home, Pets & Hobbies": 0.000350874347968395, "Industry & Production": 0.00027515608004834494, "Language, Literature & Philosophy": 0.000271004261998022, "Politics & Government": 0.0004708402781100166, "Religion & Spirituality": 0.00042458309160991813, "Science, Mathematics & Engineering": 0.0006439030771496595, "Relationships & Community": 0.0003577121587619778, "Software Usage & Applications": 0.05047548370682241, "Programming & Software Engineering": 0.03669229025065428, "Sports & Fitness": 0.0003078473635749983, "Vehicles & Transportation": 0.00015500281599860517, "Travel & Tourism": 0.000482299986429187, "Other / Uncovered Subject": 0.012676997602715923, "NONE": 0.7824490393939906}}, "probability_diagnostics": {"primary": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "tertiary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "structured_records": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "procedural_steps": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "worked_solution": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "contextual_dialogue": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "content_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "noise_severity": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "missing_content_severity": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "factual_density": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "pretraining_utility": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "math_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "code_density": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "reasoning_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "education_level": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "creative_writing_quality": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "primary_topic": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "secondary_topic": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}}, "usage": {"input_tokens": 10002, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 10002, "cached_share": null, "cache_discount_reported": null, "reported_cost_usd": null}, "response_metadata": {"model": "decision-models/baseten-mammoth-27b-latest"}, "scored_at_utc": "2026-10-25T18:37:10.396879+00:00", "scoring_key_slot": "primary", "dataset_uid": "ced0c2a2-0851-4a1a-9d34-78cff1c4d770", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "5e845bbd295d030ba1ac870eccec0d43e9daad8f185fb9460e172fafc09a94c8", "source_metadata": {"uuid": "ced0c2a2-0851-4a1a-9d34-78cff1c4d770", "repo_name": "int0x80/githump", "relative_path": "githump.sh", "category": "TOOL", "algo_rel_score": 0.9938045740127563, "quality_score": 4.7683796882629395, "source_meta": {"github_metadata": {"branch": "main", "commit_count": 14, "repo_created_at": "2017-04-22T19:57:52.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 56, "forks": 12, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "e0697d46de60c3b5974eedce98c8c6421044ac55", "size_bytes": 7176, "file_timestamp": 1661382293, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "f84574ce9a6d13cb2bf9b227f791de988c27a181"}}, "parsed_source_meta": {"github_metadata": {"branch": "main", "commit_count": 14, "repo_created_at": "2017-04-22T19:57:52.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 56, "forks": 12, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "e0697d46de60c3b5974eedce98c8c6421044ac55", "size_bytes": 7176, "file_timestamp": 1661382293, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "f84574ce9a6d13cb2bf9b227f791de988c27a181", "url": "https://github.com/int0x80/githump/blob/f84574ce9a6d13cb2bf9b227f791de988c27a181/githump.sh"}, "gpt4o_tokens": 1411, "dataset_split": "shell", "probability_weighted_scores": {"content_quality": 0.5829234977090594, "noise_severity": 0.3380510076907591, "missing_content_severity": 0.003349175098710477, "factual_density": 2.842373228105347, "pretraining_utility": 0.22725229383481163, "math_density": 0.1122652914315049, "code_density": 3.7768302829825413, "reasoning_density": 0.33152322786641786, "education_level": 2.147740524339442, "creative_writing_quality": -0.280597997988717}, "score_applicability": {"education_level": 0.9988616049580525, "creative_writing_quality": 0.001284633198875013}} {"source_group": "shell", "source": "openbmb/UltraData-Stack-v3-L2/shell", "domain": "github.com", "language": "shell", "url": "https://github.com/awanga/alt-f-next/blob/e7b187bcb0ee4019d6d969c0b892770102927a95/board/dns32x/customroot/usr/sbin/hot_aux.sh", "id": "shell-0-bff8c681c14c9353ea16c87576f2774d", "text": "#!/bin/sh\n\ndebug=true\n\nif test -n \"$debug\"; then\n\texec >> /var/log/hot_aux.log 2>&1\n#\tset -x\n\techo -e \"\\nDATE=$(date)\"\n\tenv\nfi\n\nMISCC=/etc/misc.conf\nFSTAB=/etc/fstab\nUSERLOCK=/var/lock/userscript\nSERRORL=/var/log/systemerror.log\nPLED=/tmp/sys/power_led/trigger\n\nif test -f $MISCC; then . $MISCC; fi\n\n# don't do paralell fsck (assume at most one fsck is running)\ncheck() {\n\twhile ls /tmp/check-* >& /dev/null; do\n\t\tif kill -0 $(cat /tmp/check-*.pid) 2> /dev/null; then\n\t\t\t# is it being checked? lvm generates extra events...\n\t\t\tif test -f /tmp/check-$MDEV; then exit 0; fi\n\t\t\techo hot_aux \"$MDEV waiting to be fscked\"\n\t\t\tsleep 10\n\t\telse\n\t\t\twhile ! mkdir /tmp/fsck_lock; do sleep 1; done\n\t\t\trm -f /tmp/check-*\n\t\t\treturn\n\t\tfi\n\tdone\n}\n\nstart_altf_dir() {\n\tif test -d /mnt/$lbl/Alt-F; then\n\t\tif test -f /mnt/$lbl/Alt-F/NOAUFS; then\n\t\t\temsg=\"Alt-F directory found in $lbl but not used, as file NOAUFS exists on it.\"\n\t\t\tlogger -st hot_aux $emsg\n\t\t\techo \"
  • $emsg
  • \" >> $SERRORL\n\t\telif test \"$mopts\" != \"ro\"; then\n\t\t\tif ! test -h /Alt-F -a -d \"$(readlink -f /Alt-F)\"; then\n\t\t\t\tlogger -st hot_aux \"Alt-F directory found in $lbl\"\n\t\t\t\tfor i in Alt-F ffp home Public Backup; do\n\t\t\t\t\tif test -h /mnt/$lbl/Alt-F/$i; then\n\t\t\t\t\t\trm -f /mnt/$lbl/Alt-F/$i\n\t\t\t\t\tfi\n\t\t\t\tdone\n\t\t\t\tln -s /mnt/$lbl/Alt-F /Alt-F\n\t\t\t\techo \"DON'T ADD, REMOVE OR MODIFY ANY FILE UNDER /ALT-F or $(realpath /Alt-F 2> /dev/null)\n\tOR ANY OF ITS SUB-DIRECTORIES, OR THE SYSTEM MIGHT HANG!\" > /Alt-F/README.txt\n\t\t\t\tfor i in $(ls /Alt-F/etc/init.d/S??* 2> /dev/null); do\n\t\t\t\t\tf=$(basename $i)\n\t\t\t\t\tln -sf /usr/sbin/rcscript /sbin/rc${f#S??}\n\t\t\t\t\tif test -x $i; then\n\t\t\t\t\t\ttostart=\"$tostart rc${f#S??}\"\n\t\t\t\t\tfi\n\t\t\t\tdone\n\n\t\t\t\tif test -n \"$DELAY_NFS\"; then\n\t\t\t\t\tsnfs=\"/etc/init.d/S61nfs /etc/init.d/S69rmount\"\n\t\t\t\tfi\n\n\t\t\t\tfor i in $snfs $(grep -l \"^NEED_ALTF_DIR=1\" /etc/init.d/S??*); do\n\t\t\t\t\tif test -x $i; then\n\t\t\t\t\t\tf=$(basename $i)\n\t\t\t\t\t\ttostart=\"$tostart rc${f#S??}\"\n\t\t\t\t\tfi\n\t\t\t\tdone\n\n\t\t\t\t# the existence of spool on disk prevents it to spindown,\n\t\t\t\t# so use /tmp/var/spool for all spooling, not preserving data across reboots.\n\t\t\t\tif test -d /Alt-F/var/spool; then\n\t\t\t\t\trm -rf /Alt-F/var/spool-old\n\t\t\t\t\tmv /Alt-F/var/spool /Alt-F/var/spool-old\n\t\t\t\tfi\n\n\t\t\t\tif ! aufs.sh -m; then\n\t\t\t\t\temsg=\"Alt-F directory found in $lbl but not used, aufs mount failed.\"\n\t\t\t\t\tlogger -st hot_aux $emsg\n\t\t\t\t\techo \"
  • $emsg
  • \" >> $SERRORL\n\t\t\t\t\treturn 1\n\t\t\t\tfi\n\n\t\t\t\tipkg -update # >& /dev/null # force ipkg_upgrade to update packages\n\n\t\t\t\tfor i in $tostart; do\n\t\t\t\t\tif ! test -f /sbin/$i; then # ipkg_upgrade might have removed them\n\t\t\t\t\t\tln -sf /usr/sbin/rcscript /sbin/$i\n\t\t\t\t\tfi\n\t\t\t\t\tlogger -st hot_aux \"$($i restart)\"\n\t\t\t\tdone\n\t\t\tfi\n\t\telse\n\t\t\temsg=\"Alt-F directory found in $lbl but not used, as filesystem is read-only!\"\n\t\t\tlogger -st hot_aux $emsg\n\t\t\techo \"
  • $emsg
  • \" >> $SERRORL\n\t\tfi\n\tfi\n}\n\nstop_altf_dir() {\n\tif test -d /mnt/$lbl/Alt-F -a \"$(readlink -f /Alt-F 2> /dev/null)\" = \"/mnt/$lbl/Alt-F\"; then\n\n\t\tfor i in $(ls -r /Alt-F/etc/init.d/S??*); do\n\t\t\tf=$(basename $i)\n\t\t\tf=rc${f#S??}\n\t\t\tif $f status >& /dev/null; then\n\t\t\t\ttostop=\"$tostop $f\"\n\t\t\tfi\n\t\tdone\n\n\t\tfor i in $(grep -l \"^NEED_ALTF_DIR=1\" /etc/init.d/S??* | sort -r); do\n\t\t\tf=$(basename $i)\n\t\t\tf=rc${f#S??}\n\t\t\tif $f status >& /dev/null; then\n\t\t\t\ttostop=\"$tostop $f\"\n\t\t\tfi\n\t\tdone\n\n\t\tfor i in $tostop; do\n\t\t\tlogger -st hot_aux \"$($i stop)\"\n\t\tdone\n\n\t\tfor i in $(ls /Alt-F/etc/init.d/S??* 2> /dev/null); do\n\t\t\tf=$(basename $i)\n\t\t\tif ! test -f /etc/init.d/$f; then\n\t\t\t\tf=rc${f#S??}\n\t\t\t\trm -f /sbin/$f\n\t\t\tfi\n\t\tdone\n\n\t\tif ! aufs.sh -u; then\n\t\t\tlogger -st hot_aux \"aufs.sh unmount failed\"\n\t\t\tstart_altf_dir\n\t\t\treturn 1\n\t\tfi\n\t\t\n\t\trm -f /Alt-F\n\tfi\n}\n\nif test \"$1\" = \"-start-altf-dir\"; then\n\tlbl=$(basename $(dirname $2))\n\tmopts=\"$(awk '$1 == \"/dev/'$lbl'\" { n = split($4, a,\",\")\n\t\tfor (i=1;i<=n;i++) {\n\t\t\tif (a[i] == \"ro\") {\n\t\t\t\tprintf \"%s\", a[i]; exit }\n\t\t}\n\t} ' /proc/mounts)\"\n\tlogger -st hot_aux -start-altf-dir lbl=\"$lbl\" mopts=\"$mopts\"\n\tstart_altf_dir\n\texit $?\n\nelif test \"$1\" = \"-stop-altf-dir\"; then\n\tlbl=$(basename $(dirname $2))\n\tlogger -st hot_aux -stop-altf-dir lbl=\"$lbl\"\n\tstop_altf_dir\n\texit $?\n\nelif test \"$#\" != 5 -o -z \"$MDEV\"; then\n\texit $?\nfi\n\nfsckcmd=$1\nfsopt=$2\nmopts=$3\nlbl=$4\nfstype=$5\n\nif test \"$fsckcmd\" != \"echo\"; then\n\t\n\ttrap \"\" 1\n\n\tcheck\n\n\tif test \"$fsopt\" = \"-\"; then fsopt=\"\"; fi\n\n# FIXME: /tmp/fsckboot has to be removed, or most ops from Disk->Filesystem\n# will be done twice, as hot.sh is called at its end.\n# Is that a good place to remove it, when the user checks a fs?\n\tif test -f /tmp/fsckboot && echo $fstype | grep -q 'ext.' ; then\n\t\tfsopt=\"-fp\"\n\t\tcmsg=\"force\"\n\tfi\n\n\tlogger -st hot_aux \"Start $cmsg fscking $MDEV\"\n\n\txf=/tmp/check-$MDEV\n\tlogf=${xf}.log\n\tpidf=${xf}.pid\n\n\ttouch $xf\n\techo $$ > $pidf\n\trmdir /tmp/fsck_lock 2> /dev/null\n\n\techo heartbeat > $PLED\nif true; then\n\tmkfifo /tmp/fsck_pipe-$MDEV >& /dev/null\n\t# create pipe consumer background job\n\t(while true; do\n\t\tdd if=/tmp/fsck_pipe-$MDEV of=$logf- bs=64K count=1 2> /dev/null \n\t\tmv $logf- $logf\n\t\tsleep 5\n\tdone)&\n\twj=$!\n\tres=\"$($fsckcmd $fsopt -C5 $PWD/$MDEV 2>&1 5<> /tmp/fsck_pipe-$MDEV)\"\nelse\n\tres=\"$($fsckcmd $fsopt -C5 $PWD/$MDEV 2>&1 5<> $logf)\"\nfi\n\tif test $? -ge 2; then\n\t\tmopts=\"ro\"\n\t\temsg=\"Unable to automatically fix $MDEV, mounting Read Only: $res\"\n\t\techo \"
  • $emsg
  • \" >> $SERRORL\n\telse\n\t\temsg=\"Finish fscking $MDEV: $res\"\n\tfi\n\tlogger -st hot_aux \"$emsg\"\nif true; then\n\tkill $wj\n\t#echo > /tmp/fsck_pipe-$MDEV # echo blocks here!\n\trm -f /tmp/fsck_pipe-$MDEV $logf- \nfi\n\trm -f $xf $logf $pidf\n\n\tif test -z \"$(ls /tmp/check-* 2>/dev/null)\"; then\n\t\techo none > $PLED\n\tfi\n\nelse\n\temsg=\"No fsck command for $fstype, $MDEV not fscked.\"\n\tlogger -st hot_aux $emsg\n\techo \"
  • $emsg
  • \" >> $SERRORL\nfi\n\n# record fstab date, don't change it\ntouch -r /etc/fstab /tmp/fstab_date\n# concurrency: this needs a lock\nwhile ! mkdir /tmp/fstab_lock >& /dev/null; do sleep 1; done\nsed -i '\\|^'$PWD/$MDEV'|d' $FSTAB\necho \"$PWD/$MDEV /mnt/$lbl $fstype $mopts 0 0\" >> $FSTAB\nrmdir /tmp/fstab_lock\ntouch -r /tmp/fstab_date /etc/fstab\nrm /tmp/fstab_date\n\n# don't mount if noauto is present in mount options\nif echo \"$mopts\" | grep -q noauto; then\n\temsg=\"Not auto-mounting $lbl as 'noauto' is present in the mount options.\"\n\tlogger -st hot_aux $emsg\n\techo \"
  • $emsg
  • \" >> $SERRORL\n\texit 0\nfi\n\nmount $PWD/$MDEV\n\nif test -f /usr/sbin/quotaon; then\n\tif echo \"$mopts\" | grep -qE '(grpjquota|usrjquota)'; then\n\t\tlogger -st hot_aux \"Activating quotas on $MDEV\"\n\t\tquotaon -ug $PWD/$MDEV\n\tfi\nfi\n\nif test -d \"/mnt/$lbl/Users\"; then\n\tif ! test -h /home -a -d \"$(readlink -f /home)\" ; then\n\t\tlogger -st hot_aux \"Users directory found in $lbl\"\n\t\tln -s \"/mnt/$lbl/Users\" /home\n\t\tfind /home/ -maxdepth 2 -name crontab.lst | while read ln; do\n\t\t\tdname=$(dirname \"$ln\")\n\t\t\tcd \"$dname\"\n\t\t\tduid=$(stat -t . | cut -d \" \" -f5)\n\t\t\tfuid=$(stat -t crontab.lst | cut -d \" \" -f5)\n\t\t\tif test $duid != $fuid; then continue; fi\n\t\t\tuser=$(ls -l crontab.lst | awk '{print $3}')\n\t\t\tlogger -st hot_aux \"Starting crontab for $user\"\n\t\t\tcrontab -u $user crontab.lst\n\t\tdone\n\tfi\nfi\n\nif test -d \"/mnt/$lbl/Public\"; then\n\tif ! test -h /Public -a -d \"$(readlink -f /Public)\" ; then\n\t\tlogger -st hot_aux \"Public directory found in $lbl\"\n\t\tln -s \"/mnt/$lbl/Public\" /Public\n\tfi\nfi\n\nif test -d \"/mnt/$lbl/Backup\"; then\n\tif ! test -h /Backup -a -d \"$(readlink -f /Backup)\" ; then\n\t\tlogger -st hot_aux \"Backup directory found in $lbl\"\n\t\tln -s \"/mnt/$lbl/Backup\" /Backup\n\tfi\nfi\n\nif test -d \"/mnt/$lbl/ffp\"; then\n\tif ! test -h /ffp -a -d \"$(readlink -f /ffp)\" ; then\n\t\tlogger -st hot_aux \"ffp directory found in $lbl\"\n\t\tln -s \"/mnt/$lbl/ffp\" /ffp\n\t\tif test $? = 0 -a -x /etc/init.d/S??ffp; then\n\t\t\trcffp start\n\t\tfi\n\tfi\nfi\n\nstart_altf_dir\n\n# the user script might need the Alt-F dir aufs mounted, so run it last\nif test -n \"$USER_SCRIPT\" -a ! -f $USERLOCK; then\n\tif test \"/mnt/$lbl\" = \"$(dirname $USER_SCRIPT)\" -a -x \"/mnt/$lbl/$(basename $USER_SCRIPT)\"; then\n\t\ttouch $USERLOCK\n\t\tlogger -st hot_aux \"Executing \\\"$USER_SCRIPT start\\\" in background\"\n\t\t$USER_SCRIPT start &\n\tfi\nfi\n\n", "text_preview": "#!/bin/sh debug=true if test -n \"$debug\"; then exec >> /var/log/hot_aux.log 2>&1 # set -x echo -e \"\\nDATE=$(date)\" env fi MISCC=/etc/misc.conf FSTAB=/etc/fstab USERLOCK=/var/lock/userscript SERRORL=/var/log/systemerror.log PLED=/tmp/sys/pow", "input_sha256": "56cae0b6e6095a99f795b92f645dda46ed3dae2452b8bd72c5d06f4815aa2beb", "text_sha256": "bff8c681c14c9353ea16c87576f2774da6e65599223e45339b2da810117f9d60", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 20119, "input_policy": "text-and-optional-url-v1", "label_policy_version": 12, "requested_model": "decision-models/baseten-mammoth-27b-latest", "backend": "baseten", "endpoint": "https://inference.baseten.co/v1/systemone", "status": "ok", "training_eligible": true, "label": {"primary": {"main_format": "Technical Writing", "sub_format": null}, "secondary": null, "tertiary": null, "content_structure": []}, "candidate_label": null, "topic": {"primary": {"main_topic": "Programming & Software Engineering", "sub_topic": null}, "secondary": null}, "scores": {"content_quality": 1, "noise_severity": 0, "missing_content_severity": 0, "factual_density": 4, "pretraining_utility": 0, "math_density": 0, "code_density": 4, "reasoning_density": 0, "education_level": 3, "creative_writing_quality": null}, "score_expectations": {"content_quality": 0.5892099397883951, "noise_severity": 0.011675346882948967, "missing_content_severity": 0.010403162632411051, "factual_density": 3.25524160914485, "pretraining_utility": 0.28766461452524617, "math_density": 0.005939338448660176, "code_density": 3.911279516646751, "reasoning_density": 1.4428787690959142, "education_level": 2.823255674529482, "creative_writing_quality": -0.2536517915812943}, "api_choices": {"primary": "Technical Writing", "secondary": "NONE", "tertiary": "NONE", "education_level": "3", "creative_writing_quality": "not_applicable", "primary_topic": "Programming & Software Engineering", "secondary_topic": "NONE"}, "review_reasons": [], "format_slot_diagnostics": {"comparable": true, "secondary_tertiary_identical": false, "secondary_tertiary_max_abs_gap": 0.005708530590651487, "secondary_choice": "NONE", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.9950337259382744, "secondary": 0.9819245672415656, "tertiary": 0.9860612619451511, "structured_records": 0.004970756635475301, "procedural_steps": 0.05677221504302843, "worked_solution": 0.0006902690708844102, "contextual_dialogue": 5.317542091444721e-06, "content_quality": 0.4132103950677396, "noise_severity": 0.9902705442642092, "missing_content_severity": 0.9913306978063241, "factual_density": 0.37936800762070866, "pretraining_utility": 0.46831750245183235, "math_density": 0.9950505512927832, "code_density": 0.9260662638722923, "reasoning_density": 0.0, "education_level": 0.45687661551022596, "creative_writing_quality": 0.9993014124625261, "primary_topic": 0.9759224688224364, "secondary_topic": 0.856164242434894}, "probability_margin": {"primary": 0.991955623875762, "secondary": 0.9708790091948103, "tertiary": 0.9805518722097312, "education_level": 0.24249339423989408, "creative_writing_quality": 0.9991492565294803, "primary_topic": 0.9657629148393108, "secondary_topic": 0.7977731552757407}, "raw_probabilities": {"primary": {"Academic Writing": 3.8197430128039896e-05, "Content Listing": 2.422121768039189e-05, "Creative Writing": 2.5044132331924352e-05, "Customer Support Page": 1.2966371383634526e-05, "Q&A Forum": 1.4196208736701129e-05, "Discussion Thread": 1.0143666948028632e-05, "Comment Section": 2.0164646579111638e-05, "Missing Content": 3.199270283373546e-05, "Knowledge Article": 0.00016596274467732295, "Legal Notices": 4.520663495537766e-05, "News Article": 6.7532961081393065e-06, "Organizational Announcement": 1.539365235163274e-05, "Nonfiction Writing": 1.719951852619863e-05, "Organizational About Page": 1.5237195030650968e-05, "Personal About Page": 1.8153011483254533e-05, "Personal Blog": 1.0237469083495016e-05, "Product Page": 9.093170879343596e-06, "Spam / Ads": 1.392417856398768e-05, "Structured Data": 0.0002422181904032457, "Technical Writing": 0.9952406540241797, "Transcript / Interview": 2.4418707747428916e-05, "Tutorial / How-To Guide": 0.0007048531290418703, "User Reviews": 8.73855192868779e-06, "Other / Unknown": 0.003285030148417776}, "secondary": {"Academic Writing": 0.00011753228350062449, "Content Listing": 6.0873876937658535e-05, "Creative Writing": 7.997322085522403e-05, "Customer Support Page": 5.30381794994988e-05, "Q&A Forum": 3.413844008767816e-05, "Discussion Thread": 3.051494647594533e-05, "Comment Section": 8.634830619937419e-05, "Missing Content": 0.00022031504364116453, "Knowledge Article": 0.0009314986677855413, "Legal Notices": 0.00045803840378061086, "News Article": 4.1433195225485905e-05, "Organizational Announcement": 5.5945778170894795e-05, "Nonfiction Writing": 7.145682492707262e-05, "Organizational About Page": 5.056336068271623e-05, "Personal About Page": 4.161013928040611e-05, "Personal Blog": 3.899301146473312e-05, "Product Page": 2.564854168014126e-05, "Spam / Ads": 5.1019600132392505e-05, "Structured Data": 0.0006177421106241081, "Technical Writing": 0.011798701078356838, "Transcript / Interview": 6.794103754476118e-05, "Tutorial / How-To Guide": 0.0023663047427494766, "User Reviews": 2.2658937230644092e-05, "NONE": 0.9826777102731671}, "tertiary": {"Academic Writing": 0.00010750614415043308, "Content Listing": 7.505639452826507e-05, "Creative Writing": 0.00010455802658454289, "Customer Support Page": 8.128730213542885e-05, "Q&A Forum": 3.9187503914008525e-05, "Discussion Thread": 3.3773235788902045e-05, "Comment Section": 0.0002174486749271198, "Missing Content": 0.0004739079931258296, "Knowledge Article": 0.001072683971045511, "Legal Notices": 0.0015217659890301234, "News Article": 4.818908918044279e-05, "Organizational Announcement": 6.588693651055206e-05, "Nonfiction Writing": 0.0001301984248576987, "Organizational About Page": 6.172230959134714e-05, "Personal About Page": 4.142620860959487e-05, "Personal Blog": 4.403199241547067e-05, "Product Page": 3.0636355668939534e-05, "Spam / Ads": 7.875510417640871e-05, "Structured Data": 0.0005876567669699802, "Technical Writing": 0.006090170487705352, "Transcript / Interview": 6.601993449268188e-05, "Tutorial / How-To Guide": 0.0023595031203946936, "User Reviews": 2.6585336760186686e-05, "NONE": 0.9866420426974365}, "structured_records": {"false": 0.9950292433645247, "true": 0.004970756635475301}, "procedural_steps": {"false": 0.9432277849569716, "true": 0.05677221504302843}, "worked_solution": {"false": 0.9993097309291156, "true": 0.0006902690708844102}, "contextual_dialogue": {"false": 0.9999946824579086, "true": 5.317542091444721e-06}, "content_quality": {"-2": 0.013159680772359792, "-1": 0.09180417561777596, "0": 0.3343813995125274, "1": 0.41397601124378325, "2": 0.1466787328535537}, "noise_severity": {"0": 0.9898413971171227, "1": 0.009147815852971341, "2": 0.0006443926320271586, "3": 0.00022683182559126274, "4": 0.00013956257228737946}, "missing_content_severity": {"0": 0.9915831624707161, "1": 0.007003710501719981, "2": 0.0009751697086862627, "3": 0.0003027165621917226, "4": 0.00013524075668584358}, "factual_density": {"0": 0.005957114642930279, "1": 0.0145373804487923, "2": 0.14426114181260374, "3": 0.38879550731184404, "4": 0.44644885578382976}, "pretraining_utility": {"-2": 0.012386304624025965, "-1": 0.15040458201822557, "0": 0.43106083045445054, "1": 0.3494547600150719, "2": 0.05669352288822585}, "math_density": {"0": 0.9954042682164541, "1": 0.003887704601567951, "2": 0.000324619129341838, "3": 0.00013123662213639556, "4": 0.00025217143049984084}, "code_density": {"0": 0.000209123125059543, "1": 0.0003399974224693983, "2": 0.008982937371176775, "3": 0.06889812384324939, "4": 0.921569818238045}, "reasoning_density": {"0": 0.34837534502930523, "1": 0.22202913192404816, "2": 0.18117307846202205, "3": 0.13518629809067598, "4": 0.11323614649394843}, "education_level": {"none": 0.0009754449831668557, "0": 0.0013782951376685687, "1": 0.004292848425105603, "2": 0.3049037853519609, "3": 0.547397179591855, "4": 0.14105244651024307}, "creative_writing_quality": {"not_applicable": 0.9994178437187717, "-2": 7.353069710102992e-05, "-1": 0.00013416455949012942, "0": 0.0002685871892915073, "1": 7.818670071283095e-05, "2": 2.7687134632754202e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 5.3045129352123574e-05, "Art & Design": 7.338593536035944e-05, "Law & Crime": 5.426449040955689e-05, "Education & Careers": 4.2654798458714946e-05, "Entertainment & Media": 3.8236826958320504e-05, "Fashion & Beauty": 4.366247600425104e-05, "Business, Economics & Finance": 5.189227397221662e-05, "Food & Dining": 4.112851954859605e-05, "Games & Gaming": 7.714815956780877e-05, "Electronics & Hardware": 0.009530347819134559, "Health, Healthcare & Wellness": 3.9154843862408985e-05, "History & Geography": 7.12710874112049e-05, "Home, Pets & Hobbies": 6.928385533868678e-05, "Industry & Production": 8.263448465505069e-05, "Language, Literature & Philosophy": 4.857270213223212e-05, "Politics & Government": 4.449034294092909e-05, "Religion & Spirituality": 4.9649985835622905e-05, "Science, Mathematics & Engineering": 0.00042829485489074675, "Relationships & Community": 3.20048161323765e-05, "Software Usage & Applications": 0.011085612874570343, "Programming & Software Engineering": 0.9768485277138811, "Sports & Fitness": 6.093660106712234e-05, "Vehicles & Transportation": 3.646449430979406e-05, "Travel & Tourism": 5.206651733142544e-05, "Other / Uncovered Subject": 0.0009488576092356324, "Unknown / Insufficient Content": 9.64107876389334e-05}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0003926914680989213, "Art & Design": 0.00032229791590922773, "Law & Crime": 0.00044311000367726035, "Education & Careers": 0.00023688390568173305, "Entertainment & Media": 0.0003304716127315868, "Fashion & Beauty": 0.00022109381057104917, "Business, Economics & Finance": 0.0003844777976586367, "Food & Dining": 0.00018523568913628765, "Games & Gaming": 0.0002587205002752222, "Electronics & Hardware": 0.02555923520988904, "Health, Healthcare & Wellness": 0.00023262782740747924, "History & Geography": 0.000248493095006216, "Home, Pets & Hobbies": 0.00024727916988656574, "Industry & Production": 0.00021437333266550218, "Language, Literature & Philosophy": 0.0001530724459738999, "Politics & Government": 0.0002516899842637165, "Religion & Spirituality": 0.0002724648131857667, "Science, Mathematics & Engineering": 0.0006376401073352015, "Relationships & Community": 0.00015488796743427913, "Software Usage & Applications": 0.06392323168088819, "Programming & Software Engineering": 0.04220995921939146, "Sports & Fitness": 0.0001972483804905007, "Vehicles & Transportation": 0.00011709550275137557, "Travel & Tourism": 0.0002822759320363918, "Other / Uncovered Subject": 0.0008270556710255727, "NONE": 0.8616963869566289}}, "probabilities": {"primary": {"Academic Writing": 3.819743012803991e-05, "Content Listing": 2.4221217680391898e-05, "Creative Writing": 2.504413233192436e-05, "Customer Support Page": 1.2966371383634531e-05, "Q&A Forum": 1.4196208736701134e-05, "Discussion Thread": 1.0143666948028636e-05, "Comment Section": 2.0164646579111645e-05, "Missing Content": 3.1992702833735474e-05, "Knowledge Article": 0.000165962744677323, "Legal Notices": 4.520663495537767e-05, "News Article": 6.753296108139309e-06, "Organizational Announcement": 1.5393652351632748e-05, "Nonfiction Writing": 1.719951852619864e-05, "Organizational About Page": 1.5237195030650973e-05, "Personal About Page": 1.815301148325454e-05, "Personal Blog": 1.023746908349502e-05, "Product Page": 9.0931708793436e-06, "Spam / Ads": 1.3924178563987685e-05, "Structured Data": 0.0002422181904032458, "Technical Writing": 0.99524065402418, "Transcript / Interview": 2.4418707747428923e-05, "Tutorial / How-To Guide": 0.0007048531290418705, "User Reviews": 8.738551928687793e-06, "Other / Unknown": 0.003285030148417777}, "secondary": {"Academic Writing": 0.00011753228350062449, "Content Listing": 6.0873876937658535e-05, "Creative Writing": 7.997322085522403e-05, "Customer Support Page": 5.30381794994988e-05, "Q&A Forum": 3.413844008767816e-05, "Discussion Thread": 3.051494647594533e-05, "Comment Section": 8.634830619937419e-05, "Missing Content": 0.00022031504364116453, "Knowledge Article": 0.0009314986677855413, "Legal Notices": 0.00045803840378061086, "News Article": 4.1433195225485905e-05, "Organizational Announcement": 5.5945778170894795e-05, "Nonfiction Writing": 7.145682492707262e-05, "Organizational About Page": 5.056336068271623e-05, "Personal About Page": 4.161013928040611e-05, "Personal Blog": 3.899301146473312e-05, "Product Page": 2.564854168014126e-05, "Spam / Ads": 5.1019600132392505e-05, "Structured Data": 0.0006177421106241081, "Technical Writing": 0.011798701078356838, "Transcript / Interview": 6.794103754476118e-05, "Tutorial / How-To Guide": 0.0023663047427494766, "User Reviews": 2.2658937230644092e-05, "NONE": 0.9826777102731671}, "tertiary": {"Academic Writing": 0.00010750614415043308, "Content Listing": 7.505639452826507e-05, "Creative Writing": 0.00010455802658454289, "Customer Support Page": 8.128730213542885e-05, "Q&A Forum": 3.9187503914008525e-05, "Discussion Thread": 3.3773235788902045e-05, "Comment Section": 0.0002174486749271198, "Missing Content": 0.0004739079931258296, "Knowledge Article": 0.001072683971045511, "Legal Notices": 0.0015217659890301234, "News Article": 4.818908918044279e-05, "Organizational Announcement": 6.588693651055206e-05, "Nonfiction Writing": 0.0001301984248576987, "Organizational About Page": 6.172230959134714e-05, "Personal About Page": 4.142620860959487e-05, "Personal Blog": 4.403199241547067e-05, "Product Page": 3.0636355668939534e-05, "Spam / Ads": 7.875510417640871e-05, "Structured Data": 0.0005876567669699802, "Technical Writing": 0.006090170487705352, "Transcript / Interview": 6.601993449268188e-05, "Tutorial / How-To Guide": 0.0023595031203946936, "User Reviews": 2.6585336760186686e-05, "NONE": 0.9866420426974365}, "structured_records": {"false": 0.9950292433645247, "true": 0.004970756635475301}, "procedural_steps": {"false": 0.9432277849569716, "true": 0.05677221504302843}, "worked_solution": {"false": 0.9993097309291156, "true": 0.0006902690708844102}, "contextual_dialogue": {"false": 0.9999946824579086, "true": 5.317542091444721e-06}, "content_quality": {"-2": 0.013159680772359792, "-1": 0.09180417561777596, "0": 0.3343813995125274, "1": 0.41397601124378325, "2": 0.1466787328535537}, "noise_severity": {"0": 0.9898413971171228, "1": 0.009147815852971343, "2": 0.0006443926320271587, "3": 0.00022683182559126276, "4": 0.0001395625722873795}, "missing_content_severity": {"0": 0.9915831624707162, "1": 0.007003710501719982, "2": 0.0009751697086862628, "3": 0.00030271656219172267, "4": 0.0001352407566858436}, "factual_density": {"0": 0.005957114642930277, "1": 0.014537380448792296, "2": 0.14426114181260372, "3": 0.3887955073118439, "4": 0.44644885578382965}, "pretraining_utility": {"-2": 0.012386304624025967, "-1": 0.1504045820182256, "0": 0.4310608304544506, "1": 0.349454760015072, "2": 0.05669352288822586}, "math_density": {"0": 0.9954042682164539, "1": 0.00388770460156795, "2": 0.00032461912934183797, "3": 0.00013123662213639553, "4": 0.0002521714304998408}, "code_density": {"0": 0.000209123125059543, "1": 0.0003399974224693983, "2": 0.008982937371176775, "3": 0.06889812384324939, "4": 0.921569818238045}, "reasoning_density": {"0": 0.3483753450293053, "1": 0.2220291319240482, "2": 0.18117307846202207, "3": 0.135186298090676, "4": 0.11323614649394845}, "education_level": {"none": 0.0009754449831668557, "0": 0.0013782951376685687, "1": 0.004292848425105603, "2": 0.3049037853519609, "3": 0.547397179591855, "4": 0.14105244651024307}, "creative_writing_quality": {"not_applicable": 0.9994178437187717, "-2": 7.353069710102992e-05, "-1": 0.00013416455949012942, "0": 0.0002685871892915073, "1": 7.818670071283095e-05, "2": 2.7687134632754202e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 5.3045129352123574e-05, "Art & Design": 7.338593536035944e-05, "Law & Crime": 5.426449040955689e-05, "Education & Careers": 4.2654798458714946e-05, "Entertainment & Media": 3.8236826958320504e-05, "Fashion & Beauty": 4.366247600425104e-05, "Business, Economics & Finance": 5.189227397221662e-05, "Food & Dining": 4.112851954859605e-05, "Games & Gaming": 7.714815956780877e-05, "Electronics & Hardware": 0.009530347819134559, "Health, Healthcare & Wellness": 3.9154843862408985e-05, "History & Geography": 7.12710874112049e-05, "Home, Pets & Hobbies": 6.928385533868678e-05, "Industry & Production": 8.263448465505069e-05, "Language, Literature & Philosophy": 4.857270213223212e-05, "Politics & Government": 4.449034294092909e-05, "Religion & Spirituality": 4.9649985835622905e-05, "Science, Mathematics & Engineering": 0.00042829485489074675, "Relationships & Community": 3.20048161323765e-05, "Software Usage & Applications": 0.011085612874570343, "Programming & Software Engineering": 0.9768485277138811, "Sports & Fitness": 6.093660106712234e-05, "Vehicles & Transportation": 3.646449430979406e-05, "Travel & Tourism": 5.206651733142544e-05, "Other / Uncovered Subject": 0.0009488576092356324, "Unknown / Insufficient Content": 9.64107876389334e-05}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0003926914680989213, "Art & Design": 0.00032229791590922773, "Law & Crime": 0.00044311000367726035, "Education & Careers": 0.00023688390568173305, "Entertainment & Media": 0.0003304716127315868, "Fashion & Beauty": 0.00022109381057104917, "Business, Economics & Finance": 0.0003844777976586367, "Food & Dining": 0.00018523568913628765, "Games & Gaming": 0.0002587205002752222, "Electronics & Hardware": 0.02555923520988904, "Health, Healthcare & Wellness": 0.00023262782740747924, "History & Geography": 0.000248493095006216, "Home, Pets & Hobbies": 0.00024727916988656574, "Industry & Production": 0.00021437333266550218, "Language, Literature & Philosophy": 0.0001530724459738999, "Politics & Government": 0.0002516899842637165, "Religion & Spirituality": 0.0002724648131857667, "Science, Mathematics & Engineering": 0.0006376401073352015, "Relationships & Community": 0.00015488796743427913, "Software Usage & Applications": 0.06392323168088819, "Programming & Software Engineering": 0.04220995921939146, "Sports & Fitness": 0.0001972483804905007, "Vehicles & Transportation": 0.00011709550275137557, "Travel & Tourism": 0.0002822759320363918, "Other / Uncovered Subject": 0.0008270556710255727, "NONE": 0.8616963869566289}}, "probability_diagnostics": {"primary": {"raw_sum": 0.9999999999999997, "mass_delta": -3.3306690738754696e-16, "missing_mass": 3.3306690738754696e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "tertiary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "structured_records": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "procedural_steps": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "worked_solution": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "contextual_dialogue": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "content_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "noise_severity": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "missing_content_severity": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "factual_density": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "pretraining_utility": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "math_density": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "code_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "reasoning_density": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "education_level": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "creative_writing_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "primary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}}, "usage": {"input_tokens": 11532, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 11532, "cached_share": null, "cache_discount_reported": null, "reported_cost_usd": null}, "response_metadata": {"model": "decision-models/baseten-mammoth-27b-latest"}, "scored_at_utc": "2026-10-25T18:37:10.936840+00:00", "scoring_key_slot": "assistant_1", "dataset_uid": "30456472-79b2-4e85-b9a0-be0aed532ee2", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "02e9ccee215c148cfef6610cfaa5bdbd2f8ed27d66e516b8bf41f2b430d2a5f0", "source_metadata": {"uuid": "30456472-79b2-4e85-b9a0-be0aed532ee2", "repo_name": "awanga/alt-f-next", "relative_path": "board/dns32x/customroot/usr/sbin/hot_aux.sh", "category": "TOOL", "algo_rel_score": 0.9961355924606323, "quality_score": 3.7829253673553467, "source_meta": {"github_metadata": {"branch": "master", "commit_count": 58721, "repo_created_at": "2017-09-08T20:15:44.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 41, "forks": 8, "issues": 9, "pull_requests": 0}, "file_meta": {"content_id": "517dc66959ae1f8545df7add17058078cab3896f", "size_bytes": 8036, "file_timestamp": 1637702316, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "e7b187bcb0ee4019d6d969c0b892770102927a95"}}, "parsed_source_meta": {"github_metadata": {"branch": "master", "commit_count": 58721, "repo_created_at": "2017-09-08T20:15:44.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 41, "forks": 8, "issues": 9, "pull_requests": 0}, "file_meta": {"content_id": "517dc66959ae1f8545df7add17058078cab3896f", "size_bytes": 8036, "file_timestamp": 1637702316, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "e7b187bcb0ee4019d6d969c0b892770102927a95", "url": "https://github.com/awanga/alt-f-next/blob/e7b187bcb0ee4019d6d969c0b892770102927a95/board/dns32x/customroot/usr/sbin/hot_aux.sh"}, "gpt4o_tokens": 2961, "dataset_split": "shell", "probability_weighted_scores": {"content_quality": 0.5892099397883951, "noise_severity": 0.011675346882948967, "missing_content_severity": 0.010403162632411051, "factual_density": 3.2552416091448504, "pretraining_utility": 0.28766461452524617, "math_density": 0.0059393384486601765, "code_density": 3.911279516646751, "reasoning_density": 1.4428787690959142, "education_level": 2.823255674529482, "creative_writing_quality": -0.2536517915812943}, "score_applicability": {"education_level": 0.9990245550168331, "creative_writing_quality": 0.0005821562812282519}} {"source_group": "shell", "source": "openbmb/UltraData-Stack-v3-L2/shell", "domain": "github.com", "language": "shell", "url": "https://github.com/ocaml-ppx/ppx_universe/blob/157d50d0492fef4b85d8eb673dcd9116502b87f6/dev/every_step.sh", "id": "shell-0-0e9770f215b483a77b96c9041c3f877f", "text": "#!/bin/bash\nset -e\n\n# allow packages in the work space that don't directly build with dune, but have a dune port in the dune-universe\nopam repo add dune-universe git+https://github.com/dune-universe/opam-overlays.git\n\n# to allow reverse dependencies that depend on stdcompat: add a fork of opam-overlays containing a broken opam-overlay for stdcompat.\n# that tricks opam-monorepo into into accepting packages that require stdcompat.\n# later, remove stdcompat from the duniverse and install it with opam (it doesn't have any dependencies)\nopam repo add dune-universe-pitag git+https://github.com/pitag-ha/opam-overlays.git\n\nopam update\n# pin to an old opam-monorepo since the last version has a bug\nopam pin add opam-monorepo https://github.com/ocamllabs/opam-monorepo.git#8054037deccc8b50e3e0755a0bbf4976f2360aab -y\n\n# pin ppxlib to the current branch giving it version 0.24.0.\n# if not, opam-monorepo will give it the place-holder version zdev and run into resolver conflicts for packages explicitly requiring ppxlib <= 0.24.0\nopam pin ppxlib.0.24.0 .\n\n# install the sqlite3 library, since `hack_parallel` depends on `conf-sqlite3`\nsudo apt install libsqlite3-dev\n\n# clone all reverse dependencies into `rev-deps/` and add them to `rev-deps/.deps`; both janestreet and non-janestreet reverse dependencies\n./dev/helpers.sh pull janestreet\n./dev/helpers.sh pull\n\n# two projects have ended up in dev/.do_manually.txt and need to be added manually: ppx_deriving_encoding and ppx_deriving_jsoo\n# for ppx_deriving_encoding, don't add it to the workspace and remove it from rev-deps/.deps instead: trying to compile it throws an \"Exception: Failure \"version [unspecified] not understood\"\nsed -i '/ppx_deriving_encoding/d' rev-deps/.deps\n# for ppx_deriving_jsoo, add it to the workspace\ncd rev-deps/ &&\ngit submodule add https://gitlab.com/o-labs/ppx_deriving_jsoo &&\ncd ..\n\n# re-add ppx_sexp_message without checking it out to the last release tag: seems like the git history on that repo has been messed up and now the release tags point to commits that don't exist anymore\ngit submodule deinit -f -- rev-deps/ppx_sexp_message\nrm -rf .git/modules/rev-deps/ppx_sexp_message\ngit rm -f rev-deps/ppx_sexp_message\ncd rev-deps &&\ngit submodule add https://github.com/janestreet/ppx_sexp_message.git ppx_sexp_message &&\ncd ..\n\n\n# remove different copies of the same multi-package repos\ngit submodule deinit -f -- rev-deps/js_of_ocaml-*\nrm -rf .git/modules/rev-deps/js_of_ocaml-*\ngit rm -f rev-deps/js_of_ocaml-*\ngit submodule deinit -f -- rev-deps/repr-fuzz\nrm -rf .git/modules/rev-deps/repr-fuzz\ngit rm -f rev-deps/repr-fuzz\ngit submodule deinit -f -- rev-deps/tyxml-jsx\nrm -rf .git/modules/rev-deps/tyxml-jsx\ngit rm -f rev-deps/tyxml-jsx\ngit submodule deinit -f -- rev-deps/tyxml-syntax\nrm -rf .git/modules/rev-deps/tyxml-syntax\ngit rm -f rev-deps/tyxml-syntax\n\n# remove the rev-deps that don't fulfil the standards for the ppx-universe\nsed -i '/scaml/d' rev-deps/.deps # has a strict =0.13.0 constraint for ppxlib and so depends on OMP1\nsed -i '/ppx_seq/d' rev-deps/.deps # doesn't have an opam file\nsed -i '/ppx_show/d' rev-deps/.deps # doesn't have an opam file\nsed -i '/clangml/d' rev-deps/.deps # doesn't have an opam file\nsed -i '/repr-fuzz/d' rev-deps/.deps # (recursively) depends on afl-persistent, which doesn't build with dune and isn't on opam-overlays\nsed -i '/ppx_deriving\\./d' rev-deps/.deps # (recursively) depends on afl-persistent, which doesn't build with dune and isn't on opam-overlays\nsed -i '/pgocaml_ppx/d' rev-deps/.deps # (recursively) depends on calendar, which doesn't build with dune and isn't on opam-overlays\nsed -i '/ppx_rapper/d' rev-deps/.deps # (recursively) depends on calendar, which doesn't build with dune and isn't on opam-overlays\nsed -i '/ego/d' rev-deps/.deps # (recursively) depends on ocamldot, which doesn't build with dune and isn't on opam-overlays\nsed -i '/nuscr/d' rev-deps/.deps # (recursively) depends on process, which doesn't build with dune and isn't on opam-overlays\nsed -i '/xtmpl_ppx/d' rev-deps/.deps # (recursively) depends on process, which doesn't build with dune and isn't on opam-overlays\nsed -i '/spoc_ppx/d' rev-deps/.deps # (recursively) depends on camlp4, which doesn't build with dune and isn't on opam-overlays\nsed -i '/GT/d' rev-deps/.deps # (recursively) depends on logger-p5, which doesn't build with dune and isn't on opam-overlays\nsed -i '/rdf_ppx/d' rev-deps/.deps # (recursively) depends on uucp >= 4.14.0, which doesn't build with dune. opam-overlays only has uucp.4.13.0\nsed -i '/ppx_deriving_popper/d' rev-deps/.deps # (recursively) depends on pringo, which doesn't build with dune and isn't on opam-overlays\nsed -i '/metapp/d' rev-deps/.deps # has a build error \"exception Fl_package_base.No_such_package(\"ocaml-compiler-libs.shadow\", \"required by `ppxlib'\")\"\"\nsed -i '/metaquot/d' rev-deps/.deps # depends on on metapp which has a build error\nsed -i '/override/d' rev-deps/.deps # depends on on metapp which has a build error\nsed -i '/js_of_ocaml-compiler/d' rev-deps/.deps # doesn't compile with ocaml.4.14.0\n\n# check out a branch of ppxx that depends on ppxlib and has a ppxx.opam file. It's default branch doesn't have an opam file.\ncd rev-deps/ppxx/ &&\ngit checkout master &&\ncd ../..\n\n# remove spoc_ppx: having it in the work space messes with dune since it has an empty opam file in addition to the correct opam file and anyways, it's already removed from rev-deps/.deps and hence won't be compiled\ngit submodule deinit -f -- rev-deps/spoc_ppx\nrm -rf .git/modules/rev-deps/spoc_ppx\ngit rm -f rev-deps/spoc_ppx\n\n# remove clangml: it's missing a `(modules_without_implementation clangml_config)` in its dune file and anyways, it's already removed from rev-deps/.deps and hence won't be compiled\ngit submodule deinit -f -- rev-deps/clangml\nrm -rf .git/modules/rev-deps/clangml\ngit rm -f rev-deps/clangml\n\n# checkout gospel to the commit before updating to cmdliner.1.1.0\ncd rev-deps/gospel &&\ngit checkout bd54a5199a7f04dab149036eb9073f7b53b979fd &&\ncd ../..\n\n# Remove the ppxlib constraint \"<= 0.24\" in OCanren-ppx: we've forced opam-monorepo to consider the ppxlib version to be 0.24.0 and opam's ordering consideres 0.24 strictly smaller than 0.24.0\n# cd rev-deps/OCanren-ppx &&\n# sed -i \"s/>= \\\"0.22\\\" \\& <= \\\"0.24\\\"/>= \\\"0.22\\\" \\& < \\\"0.25.0\\\"/g\" OCanren-ppx.opam\n# # Manually: same in dune-project\n# git add OCanren-ppx.opam\n# git commit -m \"Remove ppxlib constraint for workspace creation\"\n# cd ../..\n\n# pull in the dependencies of the reverse dependencies\n./dev/helpers.sh install-deps\n\n# remove duplicates that are both in `rev-deps/` and `duniverse/` due to multi-package structures\nrm -rf duniverse/bitstring/ duniverse/gen_js_api/ duniverse/js_of_ocaml/ duniverse/landmarks/ duniverse/lwt/ duniverse/ocaml-cstruct/ duniverse/ocf/ duniverse/ppx_deriving/ duniverse/ppx_deriving_yojson/ duniverse/repr/ duniverse/tyxml/ duniverse/wtr/ duniverse/camlrack duniverse/ocaml-rpc duniverse/metapp duniverse/metaquot\n# manually remove `uchar` as a dependency from a couple of packages. for some reason dune doesn't seem to find the vendored uchar package and anyways we don't need backwards compatibility here\n# 1. remove uchar from rev-deps/sedlex/src/lib/dune\n# 2. remove uchar from rev-deps/js_of_ocaml/lib/js_of_ocaml/dune\n# (commit all those changes, push them to a remote, and make that remote the new url of the submodule)\n\n# work around a ctypes bug\nrm -rf duniverse/ocaml-ctypes/ duniverse/ocaml-integers/ duniverse/bigarray-compat/ duniverse/stdlib-shims/\nopam install ctypes-foreign -y\n\n# re-add ppx_sexp_message without checking it out to the last release branch: seems like the git history on that repo has been messed up and now the release tags point to commits that don't exist anymore\ngit submodule deinit -f -- rev-deps/ppx_sexp_message\nrm -rf .git/modules/rev-deps/ppx_sexp_message\ngit rm -f rev-deps/ppx_sexp_message\ncd rev-deps\n\n# as mentioned above, remove stdcompat from the duniverse and install it with opam instead\nrm -rf duniverse/stdcompat\nopam install stdcompat\n\n# manually: run `./dev/helpers.sh build` once and embed the changes dune does to a couple of the opam files into the submodule structure\n\n# separate out the JS reverse dependencies from rev-deps/.deps into rev-deps/.js-deps\n", "text_preview": "#!/bin/bash set -e # allow packages in the work space that don't directly build with dune, but have a dune port in the dune-universe opam repo add dune-universe git+https://github.com/dune-universe/opam-overlays.git # to allow reverse depen", "input_sha256": "7a3a19b55b7c7bd855fb77aef9f2845d1d112066d64b3de25dfc5c722bb79b0d", "text_sha256": "0e9770f215b483a77b96c9041c3f877f06646f0e9c74886b79c178ddd254a5c9", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 20120, "input_policy": "text-and-optional-url-v1", "label_policy_version": 12, "requested_model": "decision-models/baseten-mammoth-27b-latest", "backend": "baseten", "endpoint": "https://inference.baseten.co/v1/systemone", "status": "ok", "training_eligible": true, "label": {"primary": {"main_format": "Technical Writing", "sub_format": null}, "secondary": null, "tertiary": null, "content_structure": ["procedural_steps"]}, "candidate_label": null, "topic": {"primary": {"main_topic": "Programming & Software Engineering", "sub_topic": null}, "secondary": null}, "scores": {"content_quality": 1, "noise_severity": 0, "missing_content_severity": 0, "factual_density": 4, "pretraining_utility": 1, "math_density": 0, "code_density": 4, "reasoning_density": 1, "education_level": 3, "creative_writing_quality": null}, "score_expectations": {"content_quality": 1.0286786127169638, "noise_severity": 0.0637230617955425, "missing_content_severity": 0.1727261890103565, "factual_density": 3.4399529240370637, "pretraining_utility": 0.3831928316987778, "math_density": 0.0016028981346050098, "code_density": 3.7884337445797764, "reasoning_density": 1.100867120532747, "education_level": 3.1676250412508504, "creative_writing_quality": -0.2517894464387231}, "api_choices": {"primary": "Technical Writing", "secondary": "NONE", "tertiary": "NONE", "education_level": "3", "creative_writing_quality": "not_applicable", "primary_topic": "Programming & Software Engineering", "secondary_topic": "NONE"}, "review_reasons": [], "format_slot_diagnostics": {"comparable": true, "secondary_tertiary_identical": false, "secondary_tertiary_max_abs_gap": 0.15646701397020202, "secondary_choice": "NONE", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.7820007744157053, "secondary": 0.6887306349752997, "tertiary": 0.8520005625963801, "structured_records": 0.032784931759829786, "procedural_steps": 0.8751233776218728, "worked_solution": 0.009612111946837417, "contextual_dialogue": 7.307636262984435e-06, "content_quality": 0.5050126834227464, "noise_severity": 0.9468974485037146, "missing_content_severity": 0.8560615091580362, "factual_density": 0.5332941033642197, "pretraining_utility": 0.3770359058037376, "math_density": 0.9986642515544958, "code_density": 0.8236947871498138, "reasoning_density": 0.38147763096942955, "education_level": 0.4783016644912057, "creative_writing_quality": 0.999468796114795, "primary_topic": 0.9821234233502419, "secondary_topic": 0.912209096219892}, "probability_margin": {"primary": 0.5956576066867252, "secondary": 0.5440199577262547, "tertiary": 0.7810359458606918, "education_level": 0.2608548756735289, "creative_writing_quality": 0.9993749421024825, "primary_topic": 0.9673083727580724, "secondary_topic": 0.8596102360580922}, "raw_probabilities": {"primary": {"Academic Writing": 0.000374342381794227, "Content Listing": 0.0005058465800869237, "Creative Writing": 0.0002797478497984499, "Customer Support Page": 0.0003681776111691524, "Q&A Forum": 0.00024919889646924314, "Discussion Thread": 0.00019664885838970107, "Comment Section": 0.0002994924621828445, "Missing Content": 0.0002689825192797049, "Knowledge Article": 0.0007585130423452277, "Legal Notices": 0.00026049915007199257, "News Article": 0.00016203816818665399, "Organizational Announcement": 0.00027690918239296487, "Nonfiction Writing": 0.0002570811223007313, "Organizational About Page": 0.000325099402578111, "Personal About Page": 0.00015958153848906289, "Personal Blog": 0.0001683416550841638, "Product Page": 0.000160258154528965, "Spam / Ads": 0.00020623251116381195, "Structured Data": 0.000486791369983162, "Technical Writing": 0.7910840754817176, "Transcript / Interview": 0.0003344940691213244, "Tutorial / How-To Guide": 0.1954264687949924, "User Reviews": 0.00015168148284562102, "Other / Unknown": 0.0072394977150280326}, "secondary": {"Academic Writing": 0.000649236425103728, "Content Listing": 0.0007533303585308463, "Creative Writing": 0.0004488968681342482, "Customer Support Page": 0.0006122307505446922, "Q&A Forum": 0.0003566541151688477, "Discussion Thread": 0.00026213629745026825, "Comment Section": 0.000553973306707397, "Missing Content": 0.0007528534708139495, "Knowledge Article": 0.0025658974159835308, "Legal Notices": 0.000357811246114935, "News Article": 0.00037354455739821413, "Organizational Announcement": 0.0004395972927575345, "Nonfiction Writing": 0.0004480831436144175, "Organizational About Page": 0.0004400041365750586, "Personal About Page": 0.0002717770718548956, "Personal Blog": 0.00035017349107645387, "Product Page": 0.00025483026116540874, "Spam / Ads": 0.0003136597817281064, "Structured Data": 0.0006178672250431985, "Technical Writing": 0.1291485388491453, "Transcript / Interview": 0.00043398634524926887, "Tutorial / How-To Guide": 0.1576802341250743, "User Reviews": 0.00021449161343648992, "NONE": 0.7017001918513289}, "tertiary": {"Academic Writing": 0.00028741804539290987, "Content Listing": 0.0003121089692261449, "Creative Writing": 0.00019222975262183354, "Customer Support Page": 0.00034408918138092065, "Q&A Forum": 0.00011230593009633669, "Discussion Thread": 0.00011202380016411744, "Comment Section": 0.0002485036675430882, "Missing Content": 0.0005869744998168122, "Knowledge Article": 0.0036467406736023656, "Legal Notices": 0.00026782465180992705, "News Article": 0.00015110901506306505, "Organizational Announcement": 0.00021550916913170258, "Nonfiction Writing": 0.00032159285390582733, "Organizational About Page": 0.00019665017794192463, "Personal About Page": 0.00010787292926039334, "Personal Blog": 0.00014931827843287892, "Product Page": 0.00010742665452669009, "Spam / Ads": 0.00014181434449179117, "Structured Data": 0.00044368534803942446, "Technical Writing": 0.05650507391713152, "Transcript / Interview": 0.00016635463880769304, "Tutorial / How-To Guide": 0.07713125996083915, "User Reviews": 8.490771924252419e-05, "NONE": 0.8581672058215309}, "structured_records": {"false": 0.9672150682401702, "true": 0.032784931759829786}, "procedural_steps": {"false": 0.12487662237812724, "true": 0.8751233776218728}, "worked_solution": {"false": 0.9903878880531626, "true": 0.009612111946837417}, "contextual_dialogue": {"false": 0.999992692363737, "true": 7.307636262984435e-06}, "content_quality": {"-2": 0.008551356201414433, "-1": 0.03474575533442783, "0": 0.18750750431477134, "1": 0.4578636878445523, "2": 0.31133169630483404}, "noise_severity": {"0": 0.9470320707210936, "1": 0.04452451872307265, "2": 0.006739402990899305, "3": 0.0010962931690662978, "4": 0.0006077143958680887}, "missing_content_severity": {"0": 0.8611787369191506, "1": 0.11086532645344425, "2": 0.023146689435744466, "3": 0.0036695050812198724, "4": 0.0011397421104409249}, "factual_density": {"0": 0.0021478969675432446, "1": 0.005693480473176636, "2": 0.08362655547709022, "3": 0.36712193571905305, "4": 0.5414101313631368}, "pretraining_utility": {"-2": 0.015458072859867765, "-1": 0.13555299243127464, "0": 0.3647018372262159, "1": 0.4189122251154954, "2": 0.0653748723671463}, "math_density": {"0": 0.9989697702875967, "1": 0.0007590825743004249, "2": 8.91066777131425e-05, "3": 6.255963668066523e-05, "4": 0.00011948082370907603}, "code_density": {"0": 0.00043623731518166865, "1": 0.0008552249999044433, "2": 0.01512270102375138, "3": 0.17701022911228068, "4": 0.8065756075488818}, "reasoning_density": {"0": 0.3206798611519687, "1": 0.44497285029967565, "2": 0.11816733909916342, "3": 0.04516020576202403, "4": 0.07101974368716807}, "education_level": {"none": 0.0013630965251854046, "0": 0.001990844426596866, "1": 0.004029265413360557, "2": 0.12296889515637648, "3": 0.5652513870760048, "4": 0.30439651140247587}, "creative_writing_quality": {"not_applicable": 0.9995573300956625, "-2": 6.613679681557594e-05, "-1": 0.00010014053579287677, "0": 0.00018238799318005588, "1": 6.705463784177804e-05, "2": 2.694994070703673e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 4.2687610798657976e-05, "Art & Design": 6.862355798788268e-05, "Law & Crime": 5.3171385103582896e-05, "Education & Careers": 5.6542566690518514e-05, "Entertainment & Media": 3.707474902502895e-05, "Fashion & Beauty": 3.057393946207759e-05, "Business, Economics & Finance": 5.495751456860031e-05, "Food & Dining": 2.9572411201814217e-05, "Games & Gaming": 6.796561182030895e-05, "Electronics & Hardware": 0.00010527412603346412, "Health, Healthcare & Wellness": 3.030105414828145e-05, "History & Geography": 4.652324549273354e-05, "Home, Pets & Hobbies": 4.026134202805614e-05, "Industry & Production": 5.0037573074711656e-05, "Language, Literature & Philosophy": 0.00016293027943696176, "Politics & Government": 3.110554610502141e-05, "Religion & Spirituality": 4.1144400576309744e-05, "Science, Mathematics & Engineering": 0.00030342464374303886, "Relationships & Community": 2.2972546069592915e-05, "Software Usage & Applications": 0.015502611232544964, "Programming & Software Engineering": 0.9828109839906173, "Sports & Fitness": 5.952686881336107e-05, "Vehicles & Transportation": 3.0235585815079695e-05, "Travel & Tourism": 5.418569574074237e-05, "Other / Uncovered Subject": 0.00019497309592524093, "Unknown / Insufficient Content": 7.233942717679327e-05}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0002543036165814962, "Art & Design": 0.00024244666762663196, "Law & Crime": 0.0002860156030220704, "Education & Careers": 0.00019487241081287521, "Entertainment & Media": 0.000193687919418593, "Fashion & Beauty": 0.00011759659129232843, "Business, Economics & Finance": 0.0002738642994660277, "Food & Dining": 0.00012304563316745552, "Games & Gaming": 0.0001850158165372227, "Electronics & Hardware": 0.00037297473069787193, "Health, Healthcare & Wellness": 0.0001287859096645443, "History & Geography": 0.00014127156704377735, "Home, Pets & Hobbies": 0.0001174647221639727, "Industry & Production": 0.00013845657644007844, "Language, Literature & Philosophy": 0.0002868156507302452, "Politics & Government": 0.00015943231670227155, "Religion & Spirituality": 0.00016065992886801422, "Science, Mathematics & Engineering": 0.0006689588159062899, "Relationships & Community": 0.00010420343699469719, "Software Usage & Applications": 0.05597543338411173, "Programming & Software Engineering": 0.02355915513346372, "Sports & Fitness": 0.0001364507988150334, "Vehicles & Transportation": 7.495660064792028e-05, "Travel & Tourism": 0.00018696032858619253, "Other / Uncovered Subject": 0.0003315020990351808, "NONE": 0.9155856694422039}}, "probabilities": {"primary": {"Academic Writing": 0.000374342381794227, "Content Listing": 0.0005058465800869237, "Creative Writing": 0.0002797478497984499, "Customer Support Page": 0.0003681776111691524, "Q&A Forum": 0.00024919889646924314, "Discussion Thread": 0.00019664885838970107, "Comment Section": 0.0002994924621828445, "Missing Content": 0.0002689825192797049, "Knowledge Article": 0.0007585130423452277, "Legal Notices": 0.00026049915007199257, "News Article": 0.00016203816818665399, "Organizational Announcement": 0.00027690918239296487, "Nonfiction Writing": 0.0002570811223007313, "Organizational About Page": 0.000325099402578111, "Personal About Page": 0.00015958153848906289, "Personal Blog": 0.0001683416550841638, "Product Page": 0.000160258154528965, "Spam / Ads": 0.00020623251116381195, "Structured Data": 0.000486791369983162, "Technical Writing": 0.7910840754817176, "Transcript / Interview": 0.0003344940691213244, "Tutorial / How-To Guide": 0.1954264687949924, "User Reviews": 0.00015168148284562102, "Other / Unknown": 0.0072394977150280326}, "secondary": {"Academic Writing": 0.000649236425103728, "Content Listing": 0.0007533303585308463, "Creative Writing": 0.0004488968681342482, "Customer Support Page": 0.0006122307505446922, "Q&A Forum": 0.0003566541151688477, "Discussion Thread": 0.00026213629745026825, "Comment Section": 0.000553973306707397, "Missing Content": 0.0007528534708139495, "Knowledge Article": 0.0025658974159835308, "Legal Notices": 0.000357811246114935, "News Article": 0.00037354455739821413, "Organizational Announcement": 0.0004395972927575345, "Nonfiction Writing": 0.0004480831436144175, "Organizational About Page": 0.0004400041365750586, "Personal About Page": 0.0002717770718548956, "Personal Blog": 0.00035017349107645387, "Product Page": 0.00025483026116540874, "Spam / Ads": 0.0003136597817281064, "Structured Data": 0.0006178672250431985, "Technical Writing": 0.1291485388491453, "Transcript / Interview": 0.00043398634524926887, "Tutorial / How-To Guide": 0.1576802341250743, "User Reviews": 0.00021449161343648992, "NONE": 0.7017001918513289}, "tertiary": {"Academic Writing": 0.00028741804539290987, "Content Listing": 0.0003121089692261449, "Creative Writing": 0.00019222975262183354, "Customer Support Page": 0.00034408918138092065, "Q&A Forum": 0.00011230593009633669, "Discussion Thread": 0.00011202380016411744, "Comment Section": 0.0002485036675430882, "Missing Content": 0.0005869744998168122, "Knowledge Article": 0.0036467406736023656, "Legal Notices": 0.00026782465180992705, "News Article": 0.00015110901506306505, "Organizational Announcement": 0.00021550916913170258, "Nonfiction Writing": 0.00032159285390582733, "Organizational About Page": 0.00019665017794192463, "Personal About Page": 0.00010787292926039334, "Personal Blog": 0.00014931827843287892, "Product Page": 0.00010742665452669009, "Spam / Ads": 0.00014181434449179117, "Structured Data": 0.00044368534803942446, "Technical Writing": 0.05650507391713152, "Transcript / Interview": 0.00016635463880769304, "Tutorial / How-To Guide": 0.07713125996083915, "User Reviews": 8.490771924252419e-05, "NONE": 0.8581672058215309}, "structured_records": {"false": 0.9672150682401702, "true": 0.032784931759829786}, "procedural_steps": {"false": 0.12487662237812724, "true": 0.8751233776218728}, "worked_solution": {"false": 0.9903878880531626, "true": 0.009612111946837417}, "contextual_dialogue": {"false": 0.999992692363737, "true": 7.307636262984435e-06}, "content_quality": {"-2": 0.008551356201414435, "-1": 0.034745755334427836, "0": 0.18750750431477137, "1": 0.45786368784455234, "2": 0.3113316963048341}, "noise_severity": {"0": 0.9470320707210936, "1": 0.04452451872307265, "2": 0.006739402990899305, "3": 0.0010962931690662978, "4": 0.0006077143958680887}, "missing_content_severity": {"0": 0.8611787369191506, "1": 0.11086532645344425, "2": 0.023146689435744466, "3": 0.0036695050812198724, "4": 0.0011397421104409249}, "factual_density": {"0": 0.002147896967543245, "1": 0.005693480473176637, "2": 0.08362655547709023, "3": 0.3671219357190531, "4": 0.5414101313631369}, "pretraining_utility": {"-2": 0.015458072859867765, "-1": 0.13555299243127464, "0": 0.3647018372262159, "1": 0.4189122251154954, "2": 0.0653748723671463}, "math_density": {"0": 0.9989697702875967, "1": 0.0007590825743004249, "2": 8.91066777131425e-05, "3": 6.255963668066523e-05, "4": 0.00011948082370907603}, "code_density": {"0": 0.00043623731518166865, "1": 0.0008552249999044433, "2": 0.01512270102375138, "3": 0.17701022911228068, "4": 0.8065756075488818}, "reasoning_density": {"0": 0.3206798611519688, "1": 0.4449728502996757, "2": 0.11816733909916344, "3": 0.045160205762024036, "4": 0.07101974368716808}, "education_level": {"none": 0.0013630965251854048, "0": 0.0019908444265968666, "1": 0.004029265413360558, "2": 0.12296889515637649, "3": 0.5652513870760049, "4": 0.3043965114024759}, "creative_writing_quality": {"not_applicable": 0.9995573300956627, "-2": 6.613679681557596e-05, "-1": 0.0001001405357928768, "0": 0.0001823879931800559, "1": 6.705463784177805e-05, "2": 2.6949940707036738e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 4.2687610798657976e-05, "Art & Design": 6.862355798788268e-05, "Law & Crime": 5.3171385103582896e-05, "Education & Careers": 5.6542566690518514e-05, "Entertainment & Media": 3.707474902502895e-05, "Fashion & Beauty": 3.057393946207759e-05, "Business, Economics & Finance": 5.495751456860031e-05, "Food & Dining": 2.9572411201814217e-05, "Games & Gaming": 6.796561182030895e-05, "Electronics & Hardware": 0.00010527412603346412, "Health, Healthcare & Wellness": 3.030105414828145e-05, "History & Geography": 4.652324549273354e-05, "Home, Pets & Hobbies": 4.026134202805614e-05, "Industry & Production": 5.0037573074711656e-05, "Language, Literature & Philosophy": 0.00016293027943696176, "Politics & Government": 3.110554610502141e-05, "Religion & Spirituality": 4.1144400576309744e-05, "Science, Mathematics & Engineering": 0.00030342464374303886, "Relationships & Community": 2.2972546069592915e-05, "Software Usage & Applications": 0.015502611232544964, "Programming & Software Engineering": 0.9828109839906173, "Sports & Fitness": 5.952686881336107e-05, "Vehicles & Transportation": 3.0235585815079695e-05, "Travel & Tourism": 5.418569574074237e-05, "Other / Uncovered Subject": 0.00019497309592524093, "Unknown / Insufficient Content": 7.233942717679327e-05}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.00025430361658149614, "Art & Design": 0.0002424466676266319, "Law & Crime": 0.00028601560302207035, "Education & Careers": 0.00019487241081287516, "Entertainment & Media": 0.00019368791941859294, "Fashion & Beauty": 0.0001175965912923284, "Business, Economics & Finance": 0.0002738642994660276, "Food & Dining": 0.0001230456331674555, "Games & Gaming": 0.00018501581653722265, "Electronics & Hardware": 0.0003729747306978718, "Health, Healthcare & Wellness": 0.00012878590966454426, "History & Geography": 0.00014127156704377733, "Home, Pets & Hobbies": 0.00011746472216397268, "Industry & Production": 0.0001384565764400784, "Language, Literature & Philosophy": 0.00028681565073024513, "Politics & Government": 0.00015943231670227152, "Religion & Spirituality": 0.0001606599288680142, "Science, Mathematics & Engineering": 0.0006689588159062898, "Relationships & Community": 0.00010420343699469716, "Software Usage & Applications": 0.05597543338411171, "Programming & Software Engineering": 0.023559155133463714, "Sports & Fitness": 0.00013645079881503336, "Vehicles & Transportation": 7.495660064792027e-05, "Travel & Tourism": 0.00018696032858619247, "Other / Uncovered Subject": 0.00033150209903518073, "NONE": 0.9155856694422037}}, "probability_diagnostics": {"primary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "tertiary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "structured_records": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "procedural_steps": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "worked_solution": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "contextual_dialogue": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "content_quality": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "noise_severity": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "missing_content_severity": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "factual_density": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "pretraining_utility": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "math_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "code_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "reasoning_density": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "education_level": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "creative_writing_quality": {"raw_sum": 0.9999999999999998, "mass_delta": -2.220446049250313e-16, "missing_mass": 2.220446049250313e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "primary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary_topic": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}}, "usage": {"input_tokens": 11037, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 11037, "cached_share": null, "cache_discount_reported": null, "reported_cost_usd": null}, "response_metadata": {"model": "decision-models/baseten-mammoth-27b-latest"}, "scored_at_utc": "2026-10-25T18:37:11.655287+00:00", "scoring_key_slot": "primary", "dataset_uid": "d95d9803-0df6-4b2c-a253-7b01482cc287", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "2b6e91699d2622356d0b8c34d15e1c6481cad8d4c406c8849b9489e7f21c6c79", "source_metadata": {"uuid": "d95d9803-0df6-4b2c-a253-7b01482cc287", "repo_name": "ocaml-ppx/ppx_universe", "relative_path": "dev/every_step.sh", "category": "TOOL", "algo_rel_score": 0.6292125582695007, "quality_score": 5.780893325805664, "source_meta": {"github_metadata": {"branch": "4.14-bump", "commit_count": 11, "repo_created_at": "2021-03-04T12:32:34.000Z", "is_fork": false, "is_org_owned": true, "forked_from": null, "stars": 3, "forks": 3, "issues": 1, "pull_requests": 1}, "file_meta": {"content_id": "8f98dc4c8d2cc172cb18c4c9ecd08542f00030e8", "size_bytes": 8294, "file_timestamp": 1649152505, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "157d50d0492fef4b85d8eb673dcd9116502b87f6"}}, "parsed_source_meta": {"github_metadata": {"branch": "4.14-bump", "commit_count": 11, "repo_created_at": "2021-03-04T12:32:34.000Z", "is_fork": false, "is_org_owned": true, "forked_from": null, "stars": 3, "forks": 3, "issues": 1, "pull_requests": 1}, "file_meta": {"content_id": "8f98dc4c8d2cc172cb18c4c9ecd08542f00030e8", "size_bytes": 8294, "file_timestamp": 1649152505, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "157d50d0492fef4b85d8eb673dcd9116502b87f6", "url": "https://github.com/ocaml-ppx/ppx_universe/blob/157d50d0492fef4b85d8eb673dcd9116502b87f6/dev/every_step.sh"}, "gpt4o_tokens": 2435, "dataset_split": "shell", "probability_weighted_scores": {"content_quality": 1.0286786127169638, "noise_severity": 0.0637230617955425, "missing_content_severity": 0.1727261890103565, "factual_density": 3.4399529240370637, "pretraining_utility": 0.3831928316987778, "math_density": 0.0016028981346050098, "code_density": 3.7884337445797764, "reasoning_density": 1.100867120532747, "education_level": 3.1676250412508504, "creative_writing_quality": -0.2517894464387231}, "score_applicability": {"education_level": 0.9986369034748147, "creative_writing_quality": 0.0004426699043373235}} {"source_group": "shell", "source": "openbmb/UltraData-Stack-v3-L2/shell", "domain": "github.com", "language": "shell", "url": "https://github.com/tinted-theming/tinted-shell/blob/83b458e0f103883f8fee43b95a6b9520ac63d502/scripts/base16-moonlight.sh", "id": "shell-0-4f5432e4a7aa831d717309a17fbdf158", "text": "#!/usr/bin/env sh\n# tinted-shell (https://github.com/tinted-theming/tinted-shell)\n# Scheme name: Moonlight \n# Scheme author: (https://github.com/jswinarton)\n# Template author: Tinted Theming (https://github.com/tinted-theming)\nexport BASE16_THEME=moonlight\n\ncolor00=\"21/23/37\" # Base 00 - Black\ncolor01=\"ff/53/70\" # Base 08 - Red\ncolor02=\"2d/f4/c0\" # Base 0B - Green\ncolor03=\"ff/c7/77\" # Base 0A - Yellow\ncolor04=\"40/ff/ff\" # Base 0D - Blue\ncolor05=\"b9/94/f1\" # Base 0E - Magenta\ncolor06=\"04/d1/f9\" # Base 0C - Cyan\ncolor07=\"a3/ac/e1\" # Base 05 - White\ncolor08=\"59/63/99\" # Base 03 - Bright Black\ncolor09=\"$color01\" # Base 08 - Bright Red\ncolor10=\"$color02\" # Base 0B - Bright Green\ncolor11=\"$color03\" # Base 0A - Bright Yellow\ncolor12=\"$color04\" # Base 0D - Bright Blue\ncolor13=\"$color05\" # Base 0E - Bright Magenta\ncolor14=\"$color06\" # Base 0C - Bright Cyan\ncolor15=\"ef/43/fa\" # Base 07 - Bright White\ncolor16=\"f6/7f/81\" # Base 09\ncolor17=\"ec/b2/f0\" # Base 0F\ncolor18=\"40/3c/64\" # Base 01\ncolor19=\"59/63/99\" # Base 02\ncolor20=\"a1/ab/e0\" # Base 04\ncolor21=\"b4/a4/f4\" # Base 06\ncolor_foreground=\"a3/ac/e1\" # Base 05\ncolor_background=\"21/23/37\" # Base 00\n\nif [ -z \"$TTY\" ] && ! TTY=$(tty); then\n put_template() { true; }\n put_template_var() { true; }\n put_template_custom() { true; }\nelif [ -n \"$TMUX\" ] || [ \"${TERM%%[-.]*}\" = \"tmux\" ]; then\n # Tell tmux to pass the escape sequences through\n # (Source: http://permalink.gmane.org/gmane.comp.terminal-emulators.tmux.user/1324)\n put_template() { printf '\\033Ptmux;\\033\\033]4;%d;rgb:%s\\033\\033\\\\\\033\\\\' \"$@\" > \"$TTY\"; }\n put_template_var() { printf '\\033Ptmux;\\033\\033]%d;rgb:%s\\033\\033\\\\\\033\\\\' \"$@\" > \"$TTY\"; }\n put_template_custom() { printf '\\033Ptmux;\\033\\033]%s%s\\033\\033\\\\\\033\\\\' \"$@\" > \"$TTY\"; }\nelif [ \"${TERM%%[-.]*}\" = \"screen\" ]; then\n # GNU screen (screen, screen-256color, screen-256color-bce)\n put_template() { printf '\\033P\\033]4;%d;rgb:%s\\007\\033\\\\' \"$@\" > \"$TTY\"; }\n put_template_var() { printf '\\033P\\033]%d;rgb:%s\\007\\033\\\\' \"$@\" > \"$TTY\"; }\n put_template_custom() { printf '\\033P\\033]%s%s\\007\\033\\\\' \"$@\" > \"$TTY\"; }\nelif [ \"${TERM%%-*}\" = \"linux\" ]; then\n put_template() { [ \"$1\" -lt 16 ] && printf \"\\e]P%x%s\" \"$1\" \"$(echo \"$2\" | sed 's/\\///g')\" > \"$TTY\"; }\n put_template_var() { true; }\n put_template_custom() { true; }\nelse\n put_template() { printf '\\033]4;%d;rgb:%s\\033\\\\' \"$@\" > \"$TTY\"; }\n put_template_var() { printf '\\033]%d;rgb:%s\\033\\\\' \"$@\" > \"$TTY\"; }\n put_template_custom() { printf '\\033]%s%s\\033\\\\' \"$@\" > \"$TTY\"; }\nfi\n\n# 16 color space\nput_template 0 \"$color00\"\nput_template 1 \"$color01\"\nput_template 2 \"$color02\"\nput_template 3 \"$color03\"\nput_template 4 \"$color04\"\nput_template 5 \"$color05\"\nput_template 6 \"$color06\"\nput_template 7 \"$color07\"\nput_template 8 \"$color08\"\nput_template 9 \"$color09\"\nput_template 10 \"$color10\"\nput_template 11 \"$color11\"\nput_template 12 \"$color12\"\nput_template 13 \"$color13\"\nput_template 14 \"$color14\"\nput_template 15 \"$color15\"\n\n# 256 color space\nput_template 16 \"$color16\"\nput_template 17 \"$color17\"\nput_template 18 \"$color18\"\nput_template 19 \"$color19\"\nput_template 20 \"$color20\"\nput_template 21 \"$color21\"\n\n# foreground / background / cursor color\nif [ -n \"$ITERM_SESSION_ID\" ]; then\n # iTerm2 proprietary escape codes\n put_template_custom Pg a3ace1 # foreground\n put_template_custom Ph 212337 # background\n put_template_custom Pi a3ace1 # bold color\n put_template_custom Pj 596399 # selection color\n put_template_custom Pk a3ace1 # selected text color\n put_template_custom Pl a3ace1 # cursor\n put_template_custom Pm 212337 # cursor text\nelse\n put_template_var 10 \"$color_foreground\"\n if [ \"$BASE16_SHELL_SET_BACKGROUND\" != false ]; then\n put_template_var 11 \"$color_background\"\n if [ \"${TERM%%-*}\" = \"rxvt\" ]; then\n put_template_var 708 \"$color_background\" # internal border (rxvt)\n fi\n fi\n put_template_custom 12 \";7\" # cursor (reverse video)\nfi\n\n# clean up\nunset put_template\nunset put_template_var\nunset put_template_custom\nunset color00\nunset color01\nunset color02\nunset color03\nunset color04\nunset color05\nunset color06\nunset color07\nunset color08\nunset color09\nunset color10\nunset color11\nunset color12\nunset color13\nunset color14\nunset color15\nunset color16\nunset color17\nunset color18\nunset color19\nunset color20\nunset color21\nunset color_foreground\nunset color_background\n\n# Optionally export variables\nif [ -n \"$TINTED_SHELL_ENABLE_BASE16_VARS\" ] || [ -n \"$BASE16_SHELL_ENABLE_VARS\" ]; then\n export BASE16_COLOR_00_HEX=\"212337\"\n export BASE16_COLOR_01_HEX=\"403c64\"\n export BASE16_COLOR_02_HEX=\"596399\"\n export BASE16_COLOR_03_HEX=\"748cd6\"\n export BASE16_COLOR_04_HEX=\"a1abe0\"\n export BASE16_COLOR_05_HEX=\"a3ace1\"\n export BASE16_COLOR_06_HEX=\"b4a4f4\"\n export BASE16_COLOR_07_HEX=\"ef43fa\"\n export BASE16_COLOR_08_HEX=\"ff5370\"\n export BASE16_COLOR_09_HEX=\"f67f81\"\n export BASE16_COLOR_0A_HEX=\"ffc777\"\n export BASE16_COLOR_0B_HEX=\"2df4c0\"\n export BASE16_COLOR_0C_HEX=\"04d1f9\"\n export BASE16_COLOR_0D_HEX=\"40ffff\"\n export BASE16_COLOR_0E_HEX=\"b994f1\"\n export BASE16_COLOR_0F_HEX=\"ecb2f0\"\nfi\n", "text_preview": "#!/usr/bin/env sh # tinted-shell (https://github.com/tinted-theming/tinted-shell) # Scheme name: Moonlight # Scheme author: (https://github.com/jswinarton) # Template author: Tinted Theming (https://github.com/tinted-theming) export ", "input_sha256": "64c93d21501cca8d1ff67fdcbecc1d3e2c786249975d5ecdcbf12b9d9f6cfde3", "text_sha256": "4f5432e4a7aa831d717309a17fbdf1582e8146e7fcf799f10f2f90ab26111eb2", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 20122, "input_policy": "text-and-optional-url-v1", "label_policy_version": 12, "requested_model": "decision-models/baseten-mammoth-27b-latest", "backend": "baseten", "endpoint": "https://inference.baseten.co/v1/systemone", "status": "ok", "training_eligible": true, "label": {"primary": {"main_format": "Technical Writing", "sub_format": null}, "secondary": null, "tertiary": null, "content_structure": []}, "candidate_label": null, "topic": {"primary": {"main_topic": "Programming & Software Engineering", "sub_topic": null}, "secondary": null}, "scores": {"content_quality": 1, "noise_severity": 0, "missing_content_severity": 0, "factual_density": 3, "pretraining_utility": 0, "math_density": 0, "code_density": 4, "reasoning_density": 0, "education_level": 2, "creative_writing_quality": null}, "score_expectations": {"content_quality": 1.1733525021963898, "noise_severity": 0.06836924045110132, "missing_content_severity": 0.0579462056654076, "factual_density": 3.2521102110405264, "pretraining_utility": -0.16480389182136743, "math_density": 0.038237177665586486, "code_density": 3.9018175368283763, "reasoning_density": 0.27374715715511316, "education_level": 2.1686695623516075, "creative_writing_quality": -0.1657246616082719}, "api_choices": {"primary": "Technical Writing", "secondary": "NONE", "tertiary": "NONE", "education_level": "2", "creative_writing_quality": "not_applicable", "primary_topic": "Programming & Software Engineering", "secondary_topic": "NONE"}, "review_reasons": [], "format_slot_diagnostics": {"comparable": true, "secondary_tertiary_identical": false, "secondary_tertiary_max_abs_gap": 0.03051927688685574, "secondary_choice": "NONE", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.9889775896728361, "secondary": 0.9000618129809986, "tertiary": 0.9319080149498916, "structured_records": 0.3143618750158916, "procedural_steps": 0.00718024639512687, "worked_solution": 0.0011537551447678316, "contextual_dialogue": 4.958566823130281e-06, "content_quality": 0.5680809268546033, "noise_severity": 0.9430256329574156, "missing_content_severity": 0.951711495278827, "factual_density": 0.5130641342393305, "pretraining_utility": 0.5212588889236591, "math_density": 0.9681356852786779, "code_density": 0.9181812806903134, "reasoning_density": 0.7718773690374057, "education_level": 0.6474838404701161, "creative_writing_quality": 0.9994561287842251, "primary_topic": 0.933224320452322, "secondary_topic": 0.65975915273381}, "probability_margin": {"primary": 0.9838096258413016, "secondary": 0.8437123705982714, "tertiary": 0.8998611307729734, "education_level": 0.5334183398237278, "creative_writing_quality": 0.9993251472216442, "primary_topic": 0.9050209539468819, "secondary_topic": 0.4982049149912759}, "raw_probabilities": {"primary": {"Academic Writing": 5.0430047706781495e-05, "Content Listing": 4.608499322959017e-05, "Creative Writing": 3.1895241278442875e-05, "Customer Support Page": 1.8326082430936585e-05, "Q&A Forum": 1.4855718585641946e-05, "Discussion Thread": 1.3258744691796917e-05, "Comment Section": 2.131505333254777e-05, "Missing Content": 4.30906185549312e-05, "Knowledge Article": 0.00011981665517927705, "Legal Notices": 6.000619050690356e-05, "News Article": 9.152168150682939e-06, "Organizational Announcement": 2.171943782884458e-05, "Nonfiction Writing": 1.891681479147161e-05, "Organizational About Page": 2.493217121332515e-05, "Personal About Page": 2.48180530977545e-05, "Personal Blog": 1.0988468597894924e-05, "Product Page": 1.6194264247491192e-05, "Spam / Ads": 1.696363563887087e-05, "Structured Data": 0.005627230928499697, "Technical Writing": 0.9894368567698013, "Transcript / Interview": 2.5490034405088406e-05, "Tutorial / How-To Guide": 0.0005754579034241569, "User Reviews": 1.0441493673860752e-05, "Other / Unknown": 0.0037617585111325152}, "secondary": {"Academic Writing": 0.0003408801195176153, "Content Listing": 0.0003201032717774634, "Creative Writing": 0.0003078520514113321, "Customer Support Page": 0.00019003584244101852, "Q&A Forum": 0.00012276190606775445, "Discussion Thread": 0.0001094186315069834, "Comment Section": 0.00021106214926539717, "Missing Content": 0.001633063081907517, "Knowledge Article": 0.0006080735075736471, "Legal Notices": 0.0010873696339408542, "News Article": 0.00017187073141782295, "Organizational Announcement": 0.00022033603466531525, "Nonfiction Writing": 0.00018644465594810014, "Organizational About Page": 0.00023252900095034653, "Personal About Page": 0.00018182404943839476, "Personal Blog": 0.00013679586046876844, "Product Page": 0.00011928913110688711, "Spam / Ads": 0.0002033047607078873, "Structured Data": 0.0605135335085189, "Technical Writing": 0.02762185309494682, "Transcript / Interview": 0.00020341394813329881, "Tutorial / How-To Guide": 0.0009716880415295915, "User Reviews": 8.05928799679172e-05, "NONE": 0.9042259041067904}, "tertiary": {"Academic Writing": 0.00018601826456567645, "Content Listing": 0.0002673456704102208, "Creative Writing": 0.00020559048533305777, "Customer Support Page": 0.0001252623685395562, "Q&A Forum": 7.07646346384455e-05, "Discussion Thread": 7.466825564028238e-05, "Comment Section": 0.0001545440530341112, "Missing Content": 0.002614744750933846, "Knowledge Article": 0.0009999018776910146, "Legal Notices": 0.0026304767265666624, "News Article": 0.00010239506770771728, "Organizational Announcement": 0.00017405442603029637, "Nonfiction Writing": 0.00015021639083554454, "Organizational About Page": 0.00028581601692174226, "Personal About Page": 0.0002242992367541599, "Personal Blog": 8.916512297799589e-05, "Product Page": 9.212616833620647e-05, "Spam / Ads": 0.00019143066241118501, "Structured Data": 0.034884050220672765, "Technical Writing": 0.02076072615409244, "Transcript / Interview": 0.00011562458115324796, "Tutorial / How-To Guide": 0.0007965513987952223, "User Reviews": 5.904647231257716e-05, "NONE": 0.9347451809936461}, "structured_records": {"false": 0.6856381249841084, "true": 0.3143618750158916}, "procedural_steps": {"false": 0.9928197536048732, "true": 0.00718024639512687}, "worked_solution": {"false": 0.9988462448552322, "true": 0.0011537551447678316}, "contextual_dialogue": {"false": 0.9999950414331769, "true": 4.958566823130281e-06}, "content_quality": {"-2": 0.004334685788873594, "-1": 0.013451833836118414, "0": 0.1325674677501855, "1": 0.5038183176393898, "2": 0.3458276949854328}, "noise_severity": {"0": 0.941085659677537, "1": 0.05162704856188553, "2": 0.005748849708216593, "3": 0.0009092757366602109, "4": 0.0006291663157004875}, "missing_content_severity": {"0": 0.9488133994265457, "1": 0.047009618340980976, "2": 0.002536468401445677, "3": 0.0006984048025745653, "4": 0.0009421090284528901}, "factual_density": {"0": 0.004924469674393706, "1": 0.012018814840133807, "2": 0.1272953752326899, "3": 0.4375447152761179, "4": 0.41821662497666473}, "pretraining_utility": {"-2": 0.03065451135004937, "-1": 0.3083375898563894, "0": 0.4827497851938195, "1": 0.15167350646436242, "2": 0.026584607135379176}, "math_density": {"0": 0.9781430045093382, "1": 0.014590071227970876, "2": 0.0020898085701555507, "3": 0.0012409734728369476, "4": 0.003936142219698417}, "code_density": {"0": 0.000192806251871058, "1": 0.0004239297084640077, "2": 0.006537145420353352, "3": 0.08306515819804107, "4": 0.9097809604212705}, "reasoning_density": {"0": 0.8360285164103608, "1": 0.07946471108357991, "2": 0.06665988268295953, "3": 0.010424878586785515, "4": 0.007422011236314423}, "education_level": {"none": 0.00200353335014205, "0": 0.002937973413491019, "1": 0.07687271701196917, "2": 0.7062365337250968, "3": 0.172818193901369, "4": 0.03913104859793202}, "creative_writing_quality": {"not_applicable": 0.9995467739868542, "-2": 4.956653817522807e-05, "-1": 9.032089292735538e-05, "0": 0.0002216267652099971, "1": 6.908039204914525e-05, "2": 2.2631424784011393e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 0.0001370981450161757, "Art & Design": 0.030771661872658486, "Law & Crime": 0.00014755240258519582, "Education & Careers": 9.566261518305233e-05, "Entertainment & Media": 0.00016283897637127872, "Fashion & Beauty": 0.0001902950968027132, "Business, Economics & Finance": 0.00011555825521536198, "Food & Dining": 7.814165059319909e-05, "Games & Gaming": 0.00019656765202178084, "Electronics & Hardware": 0.00038655357196754986, "Health, Healthcare & Wellness": 7.331567083492892e-05, "History & Geography": 0.00011662007948140573, "Home, Pets & Hobbies": 0.0001693864717207095, "Industry & Production": 7.539423869184263e-05, "Language, Literature & Philosophy": 0.00010929812530597496, "Politics & Government": 5.574294434831041e-05, "Religion & Spirituality": 7.766438673570633e-05, "Science, Mathematics & Engineering": 0.00020817642200479308, "Relationships & Community": 6.0947878683079806e-05, "Software Usage & Applications": 0.028713734486374654, "Programming & Software Engineering": 0.9357926158195403, "Sports & Fitness": 0.0001068534306521407, "Vehicles & Transportation": 5.9869758615105466e-05, "Travel & Tourism": 9.474790986919035e-05, "Other / Uncovered Subject": 0.0018751868402876906, "Unknown / Insufficient Content": 0.0001285152984395029}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0010680676586629489, "Art & Design": 0.17464042417584907, "Law & Crime": 0.0008495804608761444, "Education & Careers": 0.000469704457352846, "Entertainment & Media": 0.0007856364482325888, "Fashion & Beauty": 0.00045903931839150425, "Business, Economics & Finance": 0.0006476585692639509, "Food & Dining": 0.00031998132829857555, "Games & Gaming": 0.0005799531044381142, "Electronics & Hardware": 0.0011451810817709382, "Health, Healthcare & Wellness": 0.0004219300917167782, "History & Geography": 0.0003828656214911324, "Home, Pets & Hobbies": 0.00047315369492601325, "Industry & Production": 0.00029072473492106304, "Language, Literature & Philosophy": 0.0002742093484974454, "Politics & Government": 0.0002858295821221392, "Religion & Spirituality": 0.00040713411723501225, "Science, Mathematics & Engineering": 0.0006832875689370523, "Relationships & Community": 0.0002552682079066884, "Software Usage & Applications": 0.1002726391780362, "Programming & Software Engineering": 0.0398401567052284, "Sports & Fitness": 0.0003079918229819101, "Vehicles & Transportation": 0.00019749395393315155, "Travel & Tourism": 0.0005026919904688571, "Other / Uncovered Subject": 0.0015940576113365043, "NONE": 0.672845339167125}}, "probabilities": {"primary": {"Academic Writing": 5.043004770678151e-05, "Content Listing": 4.608499322959018e-05, "Creative Writing": 3.189524127844288e-05, "Customer Support Page": 1.832608243093659e-05, "Q&A Forum": 1.485571858564195e-05, "Discussion Thread": 1.325874469179692e-05, "Comment Section": 2.1315053332547774e-05, "Missing Content": 4.309061855493121e-05, "Knowledge Article": 0.00011981665517927708, "Legal Notices": 6.0006190506903575e-05, "News Article": 9.15216815068294e-06, "Organizational Announcement": 2.1719437828844584e-05, "Nonfiction Writing": 1.8916814791471614e-05, "Organizational About Page": 2.4932171213325155e-05, "Personal About Page": 2.4818053097754507e-05, "Personal Blog": 1.0988468597894925e-05, "Product Page": 1.6194264247491196e-05, "Spam / Ads": 1.6963635638870874e-05, "Structured Data": 0.005627230928499698, "Technical Writing": 0.9894368567698015, "Transcript / Interview": 2.5490034405088413e-05, "Tutorial / How-To Guide": 0.000575457903424157, "User Reviews": 1.0441493673860753e-05, "Other / Unknown": 0.003761758511132516}, "secondary": {"Academic Writing": 0.0003408801195176153, "Content Listing": 0.0003201032717774634, "Creative Writing": 0.0003078520514113321, "Customer Support Page": 0.00019003584244101852, "Q&A Forum": 0.00012276190606775445, "Discussion Thread": 0.0001094186315069834, "Comment Section": 0.00021106214926539717, "Missing Content": 0.001633063081907517, "Knowledge Article": 0.0006080735075736471, "Legal Notices": 0.0010873696339408542, "News Article": 0.00017187073141782295, "Organizational Announcement": 0.00022033603466531525, "Nonfiction Writing": 0.00018644465594810014, "Organizational About Page": 0.00023252900095034653, "Personal About Page": 0.00018182404943839476, "Personal Blog": 0.00013679586046876844, "Product Page": 0.00011928913110688711, "Spam / Ads": 0.0002033047607078873, "Structured Data": 0.0605135335085189, "Technical Writing": 0.02762185309494682, "Transcript / Interview": 0.00020341394813329881, "Tutorial / How-To Guide": 0.0009716880415295915, "User Reviews": 8.05928799679172e-05, "NONE": 0.9042259041067904}, "tertiary": {"Academic Writing": 0.00018601826456567645, "Content Listing": 0.0002673456704102208, "Creative Writing": 0.00020559048533305777, "Customer Support Page": 0.0001252623685395562, "Q&A Forum": 7.07646346384455e-05, "Discussion Thread": 7.466825564028238e-05, "Comment Section": 0.0001545440530341112, "Missing Content": 0.002614744750933846, "Knowledge Article": 0.0009999018776910146, "Legal Notices": 0.0026304767265666624, "News Article": 0.00010239506770771728, "Organizational Announcement": 0.00017405442603029637, "Nonfiction Writing": 0.00015021639083554454, "Organizational About Page": 0.00028581601692174226, "Personal About Page": 0.0002242992367541599, "Personal Blog": 8.916512297799589e-05, "Product Page": 9.212616833620647e-05, "Spam / Ads": 0.00019143066241118501, "Structured Data": 0.034884050220672765, "Technical Writing": 0.02076072615409244, "Transcript / Interview": 0.00011562458115324796, "Tutorial / How-To Guide": 0.0007965513987952223, "User Reviews": 5.904647231257716e-05, "NONE": 0.9347451809936461}, "structured_records": {"false": 0.6856381249841084, "true": 0.3143618750158916}, "procedural_steps": {"false": 0.9928197536048732, "true": 0.00718024639512687}, "worked_solution": {"false": 0.9988462448552322, "true": 0.0011537551447678316}, "contextual_dialogue": {"false": 0.9999950414331769, "true": 4.958566823130281e-06}, "content_quality": {"-2": 0.004334685788873594, "-1": 0.013451833836118414, "0": 0.1325674677501855, "1": 0.5038183176393898, "2": 0.3458276949854328}, "noise_severity": {"0": 0.9410856596775372, "1": 0.05162704856188555, "2": 0.005748849708216594, "3": 0.0009092757366602111, "4": 0.0006291663157004876}, "missing_content_severity": {"0": 0.9488133994265459, "1": 0.04700961834098098, "2": 0.0025364684014456775, "3": 0.0006984048025745654, "4": 0.0009421090284528902}, "factual_density": {"0": 0.004924469674393706, "1": 0.012018814840133807, "2": 0.1272953752326899, "3": 0.4375447152761179, "4": 0.41821662497666473}, "pretraining_utility": {"-2": 0.030654511350049374, "-1": 0.3083375898563895, "0": 0.48274978519381956, "1": 0.15167350646436245, "2": 0.02658460713537918}, "math_density": {"0": 0.9781430045093382, "1": 0.014590071227970876, "2": 0.0020898085701555507, "3": 0.0012409734728369476, "4": 0.003936142219698417}, "code_density": {"0": 0.000192806251871058, "1": 0.0004239297084640077, "2": 0.006537145420353352, "3": 0.08306515819804107, "4": 0.9097809604212705}, "reasoning_density": {"0": 0.8360285164103606, "1": 0.0794647110835799, "2": 0.06665988268295951, "3": 0.010424878586785513, "4": 0.007422011236314421}, "education_level": {"none": 0.00200353335014205, "0": 0.002937973413491019, "1": 0.07687271701196917, "2": 0.7062365337250968, "3": 0.172818193901369, "4": 0.03913104859793202}, "creative_writing_quality": {"not_applicable": 0.9995467739868542, "-2": 4.956653817522807e-05, "-1": 9.032089292735538e-05, "0": 0.0002216267652099971, "1": 6.908039204914525e-05, "2": 2.2631424784011393e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 0.00013709814501617568, "Art & Design": 0.03077166187265848, "Law & Crime": 0.0001475524025851958, "Education & Careers": 9.56626151830523e-05, "Entertainment & Media": 0.0001628389763712787, "Fashion & Beauty": 0.00019029509680271314, "Business, Economics & Finance": 0.00011555825521536195, "Food & Dining": 7.814165059319907e-05, "Games & Gaming": 0.00019656765202178078, "Electronics & Hardware": 0.00038655357196754975, "Health, Healthcare & Wellness": 7.33156708349289e-05, "History & Geography": 0.0001166200794814057, "Home, Pets & Hobbies": 0.00016938647172070947, "Industry & Production": 7.539423869184262e-05, "Language, Literature & Philosophy": 0.00010929812530597493, "Politics & Government": 5.5742944348310395e-05, "Religion & Spirituality": 7.766438673570632e-05, "Science, Mathematics & Engineering": 0.00020817642200479303, "Relationships & Community": 6.094787868307979e-05, "Software Usage & Applications": 0.028713734486374647, "Programming & Software Engineering": 0.9357926158195401, "Sports & Fitness": 0.00010685343065214067, "Vehicles & Transportation": 5.986975861510545e-05, "Travel & Tourism": 9.474790986919032e-05, "Other / Uncovered Subject": 0.0018751868402876902, "Unknown / Insufficient Content": 0.00012851529843950287}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0010680676586629489, "Art & Design": 0.17464042417584907, "Law & Crime": 0.0008495804608761444, "Education & Careers": 0.000469704457352846, "Entertainment & Media": 0.0007856364482325888, "Fashion & Beauty": 0.00045903931839150425, "Business, Economics & Finance": 0.0006476585692639509, "Food & Dining": 0.00031998132829857555, "Games & Gaming": 0.0005799531044381142, "Electronics & Hardware": 0.0011451810817709382, "Health, Healthcare & Wellness": 0.0004219300917167782, "History & Geography": 0.0003828656214911324, "Home, Pets & Hobbies": 0.00047315369492601325, "Industry & Production": 0.00029072473492106304, "Language, Literature & Philosophy": 0.0002742093484974454, "Politics & Government": 0.0002858295821221392, "Religion & Spirituality": 0.00040713411723501225, "Science, Mathematics & Engineering": 0.0006832875689370523, "Relationships & Community": 0.0002552682079066884, "Software Usage & Applications": 0.1002726391780362, "Programming & Software Engineering": 0.0398401567052284, "Sports & Fitness": 0.0003079918229819101, "Vehicles & Transportation": 0.00019749395393315155, "Travel & Tourism": 0.0005026919904688571, "Other / Uncovered Subject": 0.0015940576113365043, "NONE": 0.672845339167125}}, "probability_diagnostics": {"primary": {"raw_sum": 0.9999999999999998, "mass_delta": -2.220446049250313e-16, "missing_mass": 2.220446049250313e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "tertiary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "structured_records": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "procedural_steps": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "worked_solution": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "contextual_dialogue": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "content_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "noise_severity": {"raw_sum": 0.9999999999999998, "mass_delta": -2.220446049250313e-16, "missing_mass": 2.220446049250313e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "missing_content_severity": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "factual_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "pretraining_utility": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "math_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "code_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "reasoning_density": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "education_level": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "creative_writing_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "primary_topic": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "secondary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}}, "usage": {"input_tokens": 10579, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 10579, "cached_share": null, "cache_discount_reported": null, "reported_cost_usd": null}, "response_metadata": {"model": "decision-models/baseten-mammoth-27b-latest"}, "scored_at_utc": "2026-10-25T18:37:12.076822+00:00", "scoring_key_slot": "primary", "dataset_uid": "dd21f2fa-0561-4443-aae2-21cd67d4b52a", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "374619245374a982355ed1d8d7ed74aad5e7ca37cbd4ba6beb4cb983393a4bdf", "source_metadata": {"uuid": "dd21f2fa-0561-4443-aae2-21cd67d4b52a", "repo_name": "tinted-theming/tinted-shell", "relative_path": "scripts/base16-moonlight.sh", "category": "CONFIG", "algo_rel_score": 0.9147313833236694, "quality_score": 6.627610206604004, "source_meta": {"github_metadata": {"branch": "main", "commit_count": 335, "repo_created_at": "2013-03-13T14:43:56.000Z", "is_fork": false, "is_org_owned": true, "forked_from": null, "stars": 69, "forks": 214, "issues": 0, "pull_requests": 1}, "file_meta": {"content_id": "3cccade622c2a0a59d30a4cfbbbf176e7057a984", "size_bytes": 5091, "file_timestamp": 1751162542, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "83b458e0f103883f8fee43b95a6b9520ac63d502"}}, "parsed_source_meta": {"github_metadata": {"branch": "main", "commit_count": 335, "repo_created_at": "2013-03-13T14:43:56.000Z", "is_fork": false, "is_org_owned": true, "forked_from": null, "stars": 69, "forks": 214, "issues": 0, "pull_requests": 1}, "file_meta": {"content_id": "3cccade622c2a0a59d30a4cfbbbf176e7057a984", "size_bytes": 5091, "file_timestamp": 1751162542, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "83b458e0f103883f8fee43b95a6b9520ac63d502", "url": "https://github.com/tinted-theming/tinted-shell/blob/83b458e0f103883f8fee43b95a6b9520ac63d502/scripts/base16-moonlight.sh"}, "gpt4o_tokens": 1759, "dataset_split": "shell", "probability_weighted_scores": {"content_quality": 1.1733525021963898, "noise_severity": 0.06836924045110132, "missing_content_severity": 0.0579462056654076, "factual_density": 3.2521102110405264, "pretraining_utility": -0.16480389182136743, "math_density": 0.038237177665586486, "code_density": 3.9018175368283763, "reasoning_density": 0.2737471571551132, "education_level": 2.1686695623516075, "creative_writing_quality": -0.1657246616082719}, "score_applicability": {"education_level": 0.997996466649858, "creative_writing_quality": 0.00045322601314573714}} {"source_group": "shell", "source": "openbmb/UltraData-Stack-v3-L2/shell", "domain": "github.com", "language": "shell", "url": "https://github.com/hydroakri/dotfiles/blob/49ebac1be2ddbf333f728d1aa82c097f97fbb505/utils/executable_chtheme.sh", "id": "shell-0-da24da0a92d33d896e4f617bad4f3c8b", "text": "# current_paper=$(swww query | grep -o 'image: .*' | cut -d ' ' -f 2-)\ncurrent_hour=$(date +\"%H\")\nqtlight='~\\/.config\\/qt6ct\\/colors\\/flexoki-light.conf'\nqtdark='~\\/.config\\/qt6ct\\/colors\\/flexoki-dark.conf'\n\nif [ \"$current_hour\" -ge 6 ] && [ \"$current_hour\" -lt 18 ]; then\n plasma-apply-colorscheme Flexoki-Light\n # wal -l -i $current_paper # if day light mode\n # wal --theme ~/.config/wal/colorschemes/light/flexoki-light.json\n gsettings set org.gnome.desktop.interface color-scheme prefer-light\n # gsettings set org.gnome.desktop.interface gtk-theme Adwaita\n gsettings set org.gnome.desktop.interface gtk-theme Adw-gtk3\n gsettings set org.gnome.desktop.interface icon-theme Papirus\n cp ~/.config/gtk-3.0/gtk-flexoki-light.css ~/.config/gtk-3.0/gtk.css\n cp ~/.config/gtk-4.0/gtk-flexoki-light.css ~/.config/gtk-4.0/gtk.css\n sed -i \"/^style/s/=.*/=Adwaita/\" ~/.config/qt6ct/qt6ct.conf\n sed -i '/^icon_theme/s/=.*/=Papirus/' ~/.config/qt6ct/qt6ct.conf\n sed -i \"/^color_scheme_path/s|=.*|=$qtlight|\" ~/.config/qt6ct/qt6ct.conf\nelse\n plasma-apply-colorscheme Flexoki-Dark\n # wal -i $current_paper # if night dark mode\n # wal --theme ~/.config/wal/colorschemes/dark/flexoki-dark.json\n gsettings set org.gnome.desktop.interface color-scheme prefer-dark\n # gsettings set org.gnome.desktop.interface gtk-theme Adwaita-dark\n gsettings set org.gnome.desktop.interface gtk-theme Adw-gtk3-dark\n gsettings set org.gnome.desktop.interface icon-theme Papirus-Dark\n cp ~/.config/gtk-3.0/gtk-flexoki-dark.css ~/.config/gtk-3.0/gtk.css\n cp ~/.config/gtk-4.0/gtk-flexoki-dark.css ~/.config/gtk-4.0/gtk.css\n sed -i \"/^style/s/=.*/=Adwaita-dark/\" ~/.config/qt6ct/qt6ct.conf\n sed -i '/^icon_theme/s/=.*/=Papirus-Dark/' ~/.config/qt6ct/qt6ct.conf\n sed -i \"/^color_scheme_path/s|=.*|=$qtdark|\" ~/.config/qt6ct/qt6ct.conf\nfi\n# . \"${HOME}/.cache/wal/colors.sh\"\n############################# change mako theme ################################\nsed -i \"0,/^background-color.*/{s//background-color=$background/}\" ~/.config/mako/config\nsed -i \"0,/^text-color.*/{s//text-color=$foreground/}\" ~/.config/mako/config\nmakoctl reload\n\n############################## change zellij theme ##########################\n# zellijcolor=~/.config/zellij/themes/pywal.kdl\n# if [ ! -f \"$zellijcolor\" ]; then\n# touch $zellijcolor\n# fi\n# : > $zellijcolor # clear file content\n# echo \"themes {\" >> $zellijcolor\n# echo \" default {\" >> $zellijcolor\n# echo \" fg \\\"$foreground\\\"\" >> $zellijcolor\n# echo \" bg \\\"$background\\\"\" >> $zellijcolor\n# echo \" black \\\"$background\\\"\" >> $zellijcolor\n# echo \" red \\\"$color1\\\"\" >> $zellijcolor\n# echo \" green \\\"$color2\\\"\" >> $zellijcolor\n# echo \" yellow \\\"$color3\\\"\" >> $zellijcolor\n# echo \" blue \\\"$color4\\\"\" >> $zellijcolor\n# echo \" magenta \\\"$color5\\\"\" >> $zellijcolor\n# echo \" cyan \\\"$color6\\\"\" >> $zellijcolor\n# echo \" white \\\"$foreground\\\"\" >> $zellijcolor\n# echo \" orange \\\"$color11\\\"\" >> $zellijcolor\n# echo \" }\" >> $zellijcolor\n# echo \"}\" >> $zellijcolor\n\n################################ wezterm ###############################\n# wezcolor=~/.cache/wal/wezterm.toml\n# if [ ! -f \"$wezcolor\" ]; then\n# touch $wezcolor\n# fi\n# : > $wezcolor\n# echo \"[colors]\" >> $wezcolor\n# echo \"ansi = [\" >> $wezcolor\n# echo \" '',\" >> $wezcolor\n# echo \" '$color0',\" >> $wezcolor\n# echo \" '$color1',\" >> $wezcolor\n# echo \" '$color2',\" >> $wezcolor\n# echo \" '$color3',\" >> $wezcolor\n# echo \" '$color4',\" >> $wezcolor\n# echo \" '$color5',\" >> $wezcolor\n# echo \" '$color6',\" >> $wezcolor\n# echo \"]\" >> $wezcolor\n# echo \"background = '$background'\" >> $wezcolor\n# echo \"brights = [\" >> $wezcolor\n# echo \" '$color7',\" >> $wezcolor\n# echo \" '$color8',\" >> $wezcolor\n# echo \" '$color9',\" >> $wezcolor\n# echo \" '$color10',\" >> $wezcolor\n# echo \" '$color11',\" >> $wezcolor\n# echo \" '$color12',\" >> $wezcolor\n# echo \" '$color13',\" >> $wezcolor\n# echo \" '$color14',\" >> $wezcolor\n# echo \"]\" >> $wezcolor\n# echo \"cursor_bg = '$cursor'\" >> $wezcolor\n# echo \"cursor_border = '$cursor'\" >> $wezcolor\n# echo \"cursor_fg = '$cursor'\" >> $wezcolor\n# echo \"foreground = '$foreground'\" >> $wezcolor\n# echo \"selection_bg = '$cursor'\" >> $wezcolor\n# echo \"selection_fg = '$cursor'\" >> $wezcolor\n# echo \"\" >> $wezcolor\n# echo \"[colors.indexed]\" >> $wezcolor\n# echo \"\" >> $wezcolor\n# echo \"[metadata]\" >> $wezcolor\n# echo \"author = ' (http://chriskempson.com)'\" >> $wezcolor\n# echo \"name = 'pywal'\" >> $wezcolor\n\n########################## alacritty ############################\n# alacritty=~/.cache/wal/alacritty.toml\n# if [ ! -f \"$alacritty\" ]; then\n# touch $alacritty\n# fi\n# : > $alacritty\n#\n# echo \"[colors.primary]\" >> $alacritty\n# echo \"background = '$background'\" >> $alacritty\n# echo \"foreground = '$foreground'\" >> $alacritty\n# echo \"\" >> $alacritty\n# echo \"[colors.cursor]\" >> $alacritty\n# echo \"text = '$foreground'\" >> $alacritty\n# echo \"cursor = '$cursor'\" >> $alacritty\n# echo \"\" >> $alacritty\n# echo \"[colors.normal]\" >> $alacritty\n# echo \"black = '$color0'\" >> $alacritty\n# echo \"red = '$color1'\" >> $alacritty\n# echo \"green = '$color2'\" >> $alacritty\n# echo \"yellow = '$color3'\" >> $alacritty\n# echo \"blue = '$color4'\" >> $alacritty\n# echo \"magenta = '$color5'\" >> $alacritty\n# echo \"cyan = '$color6'\" >> $alacritty\n# echo \"white = '$color7'\" >> $alacritty\n# echo \"\" >> $alacritty\n# echo \"[colors.bright]\" >> $alacritty\n# echo \"black = '$color8'\" >> $alacritty\n# echo \"red = '$color9'\" >> $alacritty\n# echo \"green = '$color10'\" >> $alacritty\n# echo \"yellow = '$color11'\" >> $alacritty\n# echo \"blue = '$color12'\" >> $alacritty\n# echo \"magenta = '$color13'\" >> $alacritty\n# echo \"cyan = '$color14'\" >> $alacritty\n# echo \"white = '$color15'\" >> $alacritty\n", "text_preview": "# current_paper=$(swww query | grep -o 'image: .*' | cut -d ' ' -f 2-) current_hour=$(date +\"%H\") qtlight='~\\/.config\\/qt6ct\\/colors\\/flexoki-light.conf' qtdark='~\\/.config\\/qt6ct\\/colors\\/flexoki-dark.conf' if [ \"$current_hour\" -ge 6 ] && ", "input_sha256": "ac5fe6538d4868d14c5f29226df51d7f40ad2c1e8a546d9cf4bc8974bf3bf60b", "text_sha256": "da24da0a92d33d896e4f617bad4f3c8b6eb8f7cc945414f8934e99b557afec35", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 20123, "input_policy": "text-and-optional-url-v1", "label_policy_version": 12, "requested_model": "decision-models/baseten-mammoth-27b-latest", "backend": "baseten", "endpoint": "https://inference.baseten.co/v1/systemone", "status": "ok", "training_eligible": true, "label": {"primary": {"main_format": "Technical Writing", "sub_format": null}, "secondary": null, "tertiary": null, "content_structure": []}, "candidate_label": null, "topic": {"primary": {"main_topic": "Programming & Software Engineering", "sub_topic": null}, "secondary": null}, "scores": {"content_quality": 1, "noise_severity": 0, "missing_content_severity": 0, "factual_density": 3, "pretraining_utility": 0, "math_density": 0, "code_density": 4, "reasoning_density": 0, "education_level": 2, "creative_writing_quality": null}, "score_expectations": {"content_quality": 0.6068874417436378, "noise_severity": 0.31987771003821847, "missing_content_severity": 0.02022404309749696, "factual_density": 3.111009191026847, "pretraining_utility": 0.016142278319593962, "math_density": 0.05446151964166046, "code_density": 3.765517419355896, "reasoning_density": 0.23871759942861676, "education_level": 2.1731725258395964, "creative_writing_quality": -0.40915786139080373}, "api_choices": {"primary": "Technical Writing", "secondary": "NONE", "tertiary": "NONE", "education_level": "2", "creative_writing_quality": "not_applicable", "primary_topic": "Programming & Software Engineering", "secondary_topic": "NONE"}, "review_reasons": [], "format_slot_diagnostics": {"comparable": true, "secondary_tertiary_identical": false, "secondary_tertiary_max_abs_gap": 0.011692075670000524, "secondary_choice": "NONE", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.9847360243007994, "secondary": 0.942626483952167, "tertiary": 0.9304260571660795, "structured_records": 0.09525211119979761, "procedural_steps": 0.05466424337270379, "worked_solution": 0.0017252226119318966, "contextual_dialogue": 5.899010783106016e-06, "content_quality": 0.4621149511654917, "noise_severity": 0.733435241634818, "missing_content_severity": 0.9831466307520859, "factual_density": 0.5044029200376066, "pretraining_utility": 0.545242066977649, "math_density": 0.9546154002986162, "code_density": 0.8045978494632463, "reasoning_density": 0.8010686671428193, "education_level": 0.6860406360371183, "creative_writing_quality": 0.9995615844326929, "primary_topic": 0.8819595224498304, "secondary_topic": 0.5992641868791723}, "probability_margin": {"primary": 0.977818103148794, "secondary": 0.918449643879175, "tertiary": 0.8984476863069799, "education_level": 0.5531877218842642, "creative_writing_quality": 0.9994901301819535, "primary_topic": 0.7828705408231457, "secondary_topic": 0.3686884137976751}, "raw_probabilities": {"primary": {"Academic Writing": 7.39086377640713e-05, "Content Listing": 6.592970240120314e-05, "Creative Writing": 5.5355777443372207e-05, "Customer Support Page": 3.886148375541801e-05, "Q&A Forum": 3.419637738907527e-05, "Discussion Thread": 2.807490238471172e-05, "Comment Section": 5.6898841895778294e-05, "Missing Content": 7.491254272913686e-05, "Knowledge Article": 0.00020447407794195265, "Legal Notices": 6.135924864637365e-05, "News Article": 1.5328178999906738e-05, "Organizational Announcement": 2.8948586988916473e-05, "Nonfiction Writing": 3.36373923121711e-05, "Organizational About Page": 3.4837600925695935e-05, "Personal About Page": 5.319141140032249e-05, "Personal Blog": 2.7856129537055252e-05, "Product Page": 2.4158817580242837e-05, "Spam / Ads": 3.157167814314712e-05, "Structured Data": 0.0015488975987758154, "Technical Writing": 0.9853720232882661, "Transcript / Interview": 4.359266732078772e-05, "Tutorial / How-To Guide": 0.007553920139472117, "User Reviews": 2.050798621979447e-05, "Other / Unknown": 0.004517556931706714}, "secondary": {"Academic Writing": 0.0002523898133910287, "Content Listing": 0.0002795188963406571, "Creative Writing": 0.0002253718478084869, "Customer Support Page": 0.0001597756156842832, "Q&A Forum": 0.00012388786617062368, "Discussion Thread": 9.044794359985233e-05, "Comment Section": 0.000568686240117293, "Missing Content": 0.0003375252753346445, "Knowledge Article": 0.0006558566669991259, "Legal Notices": 0.0002050721317675283, "News Article": 0.0001189140877526114, "Organizational Announcement": 0.00012033256290231031, "Nonfiction Writing": 0.0001424602422511859, "Organizational About Page": 0.0001462403951017345, "Personal About Page": 0.00013155072646298815, "Personal Blog": 0.00013672205361091015, "Product Page": 9.138870039018725e-05, "Spam / Ads": 0.0001443839958560613, "Structured Data": 0.008440168585710166, "Technical Writing": 0.02656740324165162, "Transcript / Interview": 0.0001526162846465916, "Tutorial / How-To Guide": 0.015825362074200953, "User Reviews": 6.687763142243684e-05, "NONE": 0.9450170471208267}, "tertiary": {"Academic Writing": 0.000191722186291222, "Content Listing": 0.00026224703788882284, "Creative Writing": 0.00021740338116339416, "Customer Support Page": 0.00015750849062652522, "Q&A Forum": 9.342759502731973e-05, "Discussion Thread": 8.341687819232716e-05, "Comment Section": 0.0007472372420575603, "Missing Content": 0.00040103672871296406, "Knowledge Article": 0.0008427064256126392, "Legal Notices": 0.0003829687346695184, "News Article": 0.00011575009358170645, "Organizational Announcement": 0.0001021229946472653, "Nonfiction Writing": 0.000142812383887818, "Organizational About Page": 0.00017020637254781077, "Personal About Page": 0.00015169171007873642, "Personal Blog": 0.00012817879286898317, "Product Page": 8.979909839950046e-05, "Spam / Ads": 0.00015240927415017687, "Structured Data": 0.014254841605980064, "Technical Writing": 0.03487728514384619, "Transcript / Interview": 0.00012446586255324002, "Tutorial / How-To Guide": 0.012929307420936629, "User Reviews": 5.648309545346657e-05, "NONE": 0.9333249714508262}, "structured_records": {"false": 0.9047478888002024, "true": 0.09525211119979761}, "procedural_steps": {"false": 0.9453357566272962, "true": 0.05466424337270379}, "worked_solution": {"false": 0.9982747773880681, "true": 0.0017252226119318966}, "contextual_dialogue": {"false": 0.9999941009892169, "true": 5.899010783106016e-06}, "content_quality": {"-2": 0.01592921760466317, "-1": 0.07240425703429552, "0": 0.3266911415463055, "1": 0.458800633642212, "2": 0.12617475017252383}, "noise_severity": {"0": 0.778563029336246, "1": 0.14360836130261864, "2": 0.06118583274746918, "3": 0.012673423214003292, "4": 0.003969353399662891}, "missing_content_severity": {"0": 0.9878611912585264, "1": 0.0061863178804684865, "2": 0.004114245493868406, "3": 0.001543747239255323, "4": 0.0002944981278814226}, "factual_density": {"0": 0.008863084882093496, "1": 0.023726797399716573, "2": 0.16781080301829898, "3": 0.4467364712090315, "4": 0.3528628434908595}, "pretraining_utility": {"-2": 0.015365229773421887, "-1": 0.23405316110676988, "0": 0.4991757924597882, "1": 0.22188573434683218, "2": 0.02952008231318772}, "math_density": {"0": 0.9522252310631971, "1": 0.044520836593184177, "2": 0.0012283075021698937, "3": 0.000618431321658702, "4": 0.001407193519790098}, "code_density": {"0": 0.00044090275920397, "1": 0.001052044746245751, "2": 0.025682411788920733, "3": 0.1781980117907098, "4": 0.7946266289149198}, "reasoning_density": {"0": 0.8442329409912541, "1": 0.0787489292169386, "2": 0.0726520137379992, "3": 0.0027998214795530766, "4": 0.0015662945742551408}, "education_level": {"none": 0.0019785468238363575, "0": 0.0026158458878404907, "1": 0.05027858623460429, "2": 0.7383671966975985, "3": 0.1851794748133343, "4": 0.021580349542786037}, "creative_writing_quality": {"not_applicable": 0.9996346536939108, "-2": 6.871370362404419e-05, "-1": 9.062124918406252e-05, "0": 0.00014452351195724512, "1": 4.4411339482107484e-05, "2": 1.7076501841771813e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 0.00018336315659581355, "Art & Design": 0.005112485993956391, "Law & Crime": 0.00023799960411858428, "Education & Careers": 0.00015711832102654756, "Entertainment & Media": 0.00020768793367051017, "Fashion & Beauty": 0.00025431585849499836, "Business, Economics & Finance": 0.00019819819047345685, "Food & Dining": 0.00015247997578303333, "Games & Gaming": 0.0003119555613649776, "Electronics & Hardware": 0.0003800318698292259, "Health, Healthcare & Wellness": 0.00015018902313274505, "History & Geography": 0.00018885997162611175, "Home, Pets & Hobbies": 0.00026399938139335635, "Industry & Production": 0.00014699020238729356, "Language, Literature & Philosophy": 0.00015780751753145705, "Politics & Government": 0.00012772191673426152, "Religion & Spirituality": 0.0001417188231884899, "Science, Mathematics & Engineering": 0.0002348280804107199, "Relationships & Community": 0.00015014856570842177, "Software Usage & Applications": 0.103628999993999, "Programming & Software Engineering": 0.8864995408171447, "Sports & Fitness": 0.00022203570054485296, "Vehicles & Transportation": 0.00011384468417423443, "Travel & Tourism": 0.00015522764858915265, "Other / Uncovered Subject": 0.0004208306760624249, "Unknown / Insufficient Content": 0.00020162053205944152}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0011306088538701317, "Art & Design": 0.05110284087023022, "Law & Crime": 0.0008325094602361236, "Education & Careers": 0.0004877415605785701, "Entertainment & Media": 0.0007937124897898486, "Fashion & Beauty": 0.0005012754009940779, "Business, Economics & Finance": 0.0006978078568623624, "Food & Dining": 0.0003758905911773812, "Games & Gaming": 0.0006254930244809361, "Electronics & Hardware": 0.0009712830793289783, "Health, Healthcare & Wellness": 0.0005588580501303804, "History & Geography": 0.0004218622690661541, "Home, Pets & Hobbies": 0.0005287184361444231, "Industry & Production": 0.00034694130719810086, "Language, Literature & Philosophy": 0.0003187146699426393, "Politics & Government": 0.000371516647693842, "Religion & Spirituality": 0.0004600617533781086, "Science, Mathematics & Engineering": 0.0006463430254214033, "Relationships & Community": 0.0003446988418381881, "Software Usage & Applications": 0.24598868897075982, "Programming & Software Engineering": 0.07568668657744702, "Sports & Fitness": 0.0004325028246302555, "Vehicles & Transportation": 0.00022740438747177388, "Travel & Tourism": 0.000582778734061679, "Other / Uncovered Subject": 0.0008879575488325701, "NONE": 0.6146771027684349}}, "probabilities": {"primary": {"Academic Writing": 7.390863776407132e-05, "Content Listing": 6.592970240120316e-05, "Creative Writing": 5.535577744337221e-05, "Customer Support Page": 3.8861483755418013e-05, "Q&A Forum": 3.4196377389075274e-05, "Discussion Thread": 2.8074902384711722e-05, "Comment Section": 5.68988418957783e-05, "Missing Content": 7.491254272913688e-05, "Knowledge Article": 0.00020447407794195268, "Legal Notices": 6.135924864637367e-05, "News Article": 1.532817899990674e-05, "Organizational Announcement": 2.8948586988916476e-05, "Nonfiction Writing": 3.363739231217111e-05, "Organizational About Page": 3.483760092569594e-05, "Personal About Page": 5.31914114003225e-05, "Personal Blog": 2.7856129537055255e-05, "Product Page": 2.415881758024284e-05, "Spam / Ads": 3.1571678143147126e-05, "Structured Data": 0.0015488975987758156, "Technical Writing": 0.9853720232882662, "Transcript / Interview": 4.3592667320787725e-05, "Tutorial / How-To Guide": 0.0075539201394721174, "User Reviews": 2.0507986219794475e-05, "Other / Unknown": 0.004517556931706715}, "secondary": {"Academic Writing": 0.0002523898133910287, "Content Listing": 0.0002795188963406571, "Creative Writing": 0.0002253718478084869, "Customer Support Page": 0.0001597756156842832, "Q&A Forum": 0.00012388786617062368, "Discussion Thread": 9.044794359985233e-05, "Comment Section": 0.000568686240117293, "Missing Content": 0.0003375252753346445, "Knowledge Article": 0.0006558566669991259, "Legal Notices": 0.0002050721317675283, "News Article": 0.0001189140877526114, "Organizational Announcement": 0.00012033256290231031, "Nonfiction Writing": 0.0001424602422511859, "Organizational About Page": 0.0001462403951017345, "Personal About Page": 0.00013155072646298815, "Personal Blog": 0.00013672205361091015, "Product Page": 9.138870039018725e-05, "Spam / Ads": 0.0001443839958560613, "Structured Data": 0.008440168585710166, "Technical Writing": 0.02656740324165162, "Transcript / Interview": 0.0001526162846465916, "Tutorial / How-To Guide": 0.015825362074200953, "User Reviews": 6.687763142243684e-05, "NONE": 0.9450170471208267}, "tertiary": {"Academic Writing": 0.000191722186291222, "Content Listing": 0.00026224703788882284, "Creative Writing": 0.00021740338116339416, "Customer Support Page": 0.00015750849062652522, "Q&A Forum": 9.342759502731973e-05, "Discussion Thread": 8.341687819232716e-05, "Comment Section": 0.0007472372420575603, "Missing Content": 0.00040103672871296406, "Knowledge Article": 0.0008427064256126392, "Legal Notices": 0.0003829687346695184, "News Article": 0.00011575009358170645, "Organizational Announcement": 0.0001021229946472653, "Nonfiction Writing": 0.000142812383887818, "Organizational About Page": 0.00017020637254781077, "Personal About Page": 0.00015169171007873642, "Personal Blog": 0.00012817879286898317, "Product Page": 8.979909839950046e-05, "Spam / Ads": 0.00015240927415017687, "Structured Data": 0.014254841605980064, "Technical Writing": 0.03487728514384619, "Transcript / Interview": 0.00012446586255324002, "Tutorial / How-To Guide": 0.012929307420936629, "User Reviews": 5.648309545346657e-05, "NONE": 0.9333249714508262}, "structured_records": {"false": 0.9047478888002024, "true": 0.09525211119979761}, "procedural_steps": {"false": 0.9453357566272962, "true": 0.05466424337270379}, "worked_solution": {"false": 0.9982747773880681, "true": 0.0017252226119318966}, "contextual_dialogue": {"false": 0.9999941009892169, "true": 5.899010783106016e-06}, "content_quality": {"-2": 0.01592921760466317, "-1": 0.07240425703429552, "0": 0.3266911415463055, "1": 0.458800633642212, "2": 0.12617475017252383}, "noise_severity": {"0": 0.778563029336246, "1": 0.14360836130261864, "2": 0.06118583274746918, "3": 0.012673423214003292, "4": 0.003969353399662891}, "missing_content_severity": {"0": 0.9878611912585264, "1": 0.0061863178804684865, "2": 0.004114245493868406, "3": 0.001543747239255323, "4": 0.0002944981278814226}, "factual_density": {"0": 0.008863084882093496, "1": 0.023726797399716573, "2": 0.16781080301829898, "3": 0.4467364712090315, "4": 0.3528628434908595}, "pretraining_utility": {"-2": 0.015365229773421888, "-1": 0.2340531611067699, "0": 0.49917579245978827, "1": 0.2218857343468322, "2": 0.029520082313187722}, "math_density": {"0": 0.9522252310631971, "1": 0.044520836593184177, "2": 0.0012283075021698937, "3": 0.000618431321658702, "4": 0.001407193519790098}, "code_density": {"0": 0.00044090275920397, "1": 0.001052044746245751, "2": 0.025682411788920733, "3": 0.1781980117907098, "4": 0.7946266289149198}, "reasoning_density": {"0": 0.8442329409912539, "1": 0.07874892921693859, "2": 0.07265201373799919, "3": 0.002799821479553076, "4": 0.0015662945742551404}, "education_level": {"none": 0.0019785468238363575, "0": 0.0026158458878404907, "1": 0.05027858623460429, "2": 0.7383671966975985, "3": 0.1851794748133343, "4": 0.021580349542786037}, "creative_writing_quality": {"not_applicable": 0.9996346536939108, "-2": 6.871370362404419e-05, "-1": 9.062124918406252e-05, "0": 0.00014452351195724512, "1": 4.4411339482107484e-05, "2": 1.7076501841771813e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 0.0001833631565958135, "Art & Design": 0.00511248599395639, "Law & Crime": 0.00023799960411858423, "Education & Careers": 0.00015711832102654753, "Entertainment & Media": 0.00020768793367051012, "Fashion & Beauty": 0.0002543158584949983, "Business, Economics & Finance": 0.0001981981904734568, "Food & Dining": 0.0001524799757830333, "Games & Gaming": 0.00031195556136497755, "Electronics & Hardware": 0.0003800318698292258, "Health, Healthcare & Wellness": 0.00015018902313274502, "History & Geography": 0.0001888599716261117, "Home, Pets & Hobbies": 0.0002639993813933563, "Industry & Production": 0.00014699020238729353, "Language, Literature & Philosophy": 0.00015780751753145702, "Politics & Government": 0.0001277219167342615, "Religion & Spirituality": 0.00014171882318848988, "Science, Mathematics & Engineering": 0.00023482808041071985, "Relationships & Community": 0.00015014856570842174, "Software Usage & Applications": 0.10362899999399897, "Programming & Software Engineering": 0.8864995408171444, "Sports & Fitness": 0.0002220357005448529, "Vehicles & Transportation": 0.0001138446841742344, "Travel & Tourism": 0.00015522764858915262, "Other / Uncovered Subject": 0.0004208306760624248, "Unknown / Insufficient Content": 0.00020162053205944146}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.001130608853870132, "Art & Design": 0.051102840870230225, "Law & Crime": 0.0008325094602361237, "Education & Careers": 0.00048774156057857014, "Entertainment & Media": 0.0007937124897898487, "Fashion & Beauty": 0.000501275400994078, "Business, Economics & Finance": 0.0006978078568623625, "Food & Dining": 0.0003758905911773813, "Games & Gaming": 0.0006254930244809362, "Electronics & Hardware": 0.0009712830793289784, "Health, Healthcare & Wellness": 0.0005588580501303805, "History & Geography": 0.00042186226906615413, "Home, Pets & Hobbies": 0.0005287184361444232, "Industry & Production": 0.0003469413071981009, "Language, Literature & Philosophy": 0.00031871466994263934, "Politics & Government": 0.00037151664769384204, "Religion & Spirituality": 0.00046006175337810865, "Science, Mathematics & Engineering": 0.0006463430254214034, "Relationships & Community": 0.00034469884183818813, "Software Usage & Applications": 0.24598868897075984, "Programming & Software Engineering": 0.07568668657744704, "Sports & Fitness": 0.00043250282463025555, "Vehicles & Transportation": 0.0002274043874717739, "Travel & Tourism": 0.0005827787340616791, "Other / Uncovered Subject": 0.0008879575488325702, "NONE": 0.614677102768435}}, "probability_diagnostics": {"primary": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "tertiary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "structured_records": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "procedural_steps": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "worked_solution": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "contextual_dialogue": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "content_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "noise_severity": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "missing_content_severity": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "factual_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "pretraining_utility": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "math_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "code_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "reasoning_density": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "education_level": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "creative_writing_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "primary_topic": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "secondary_topic": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}}, "usage": {"input_tokens": 10413, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 10413, "cached_share": null, "cache_discount_reported": null, "reported_cost_usd": null}, "response_metadata": {"model": "decision-models/baseten-mammoth-27b-latest"}, "scored_at_utc": "2026-10-25T18:37:14.086769+00:00", "scoring_key_slot": "primary", "dataset_uid": "f73be31b-7111-4632-900f-97f50e616a01", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "bb923192ba29f0026187276f7ffbbaa5a0c20ec9bf434a7e9f139df013ba704c", "source_metadata": {"uuid": "f73be31b-7111-4632-900f-97f50e616a01", "repo_name": "hydroakri/dotfiles", "relative_path": "utils/executable_chtheme.sh", "category": "TOOL", "algo_rel_score": 0.7922614812850952, "quality_score": 3.1777756214141846, "source_meta": {"github_metadata": {"branch": "main", "commit_count": 65, "repo_created_at": "2024-04-30T15:52:52.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 2, "forks": 0, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "ed43da88d5b669721179518fd84eccbb9cb64327", "size_bytes": 5908, "file_timestamp": 1752917489, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "49ebac1be2ddbf333f728d1aa82c097f97fbb505"}}, "parsed_source_meta": {"github_metadata": {"branch": "main", "commit_count": 65, "repo_created_at": "2024-04-30T15:52:52.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 2, "forks": 0, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "ed43da88d5b669721179518fd84eccbb9cb64327", "size_bytes": 5908, "file_timestamp": 1752917489, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "49ebac1be2ddbf333f728d1aa82c097f97fbb505", "url": "https://github.com/hydroakri/dotfiles/blob/49ebac1be2ddbf333f728d1aa82c097f97fbb505/utils/executable_chtheme.sh"}, "gpt4o_tokens": 1889, "dataset_split": "shell", "probability_weighted_scores": {"content_quality": 0.6068874417436378, "noise_severity": 0.31987771003821847, "missing_content_severity": 0.02022404309749696, "factual_density": 3.111009191026847, "pretraining_utility": 0.016142278319593962, "math_density": 0.05446151964166046, "code_density": 3.765517419355896, "reasoning_density": 0.23871759942861678, "education_level": 2.1731725258395964, "creative_writing_quality": -0.40915786139080373}, "score_applicability": {"education_level": 0.9980214531761636, "creative_writing_quality": 0.0003653463060892311}} {"source_group": "shell", "source": "openbmb/UltraData-Stack-v3-L2/shell", "domain": "github.com", "language": "shell", "url": "https://github.com/antonydu-cd/magento-nginx-s3-gateway/blob/900b015f57f13535b58b861629513026486b456b/standalone_amazon_linux_2_install.sh", "id": "shell-0-8a871d880105bc2dfb7f6e8cd2e671dd", "text": "#!/usr/bin/env bash\nsudo yum remove -y nginx\nsudo yum install -y https://nginx.org/packages/mainline/centos/7/x86_64/RPMS/nginx-1.21.6-1.el7.ngx.x86_64.rpm\nsudo yum install -y https://nginx.org/packages/mainline/centos/7/x86_64/RPMS/nginx-module-image-filter-1.21.6-1.el7.ngx.x86_64.rpm\nsudo yum install -y https://nginx.org/packages/mainline/centos/7/x86_64/RPMS/nginx-module-njs-1.21.6%2B0.7.4-1.el7.ngx.x86_64.rpm\nsudo yum install -y https://nginx.org/packages/mainline/centos/7/x86_64/RPMS/nginx-module-xslt-1.21.6-1.el7.ngx.x86_64.rpm\n\nexport S3_BUCKET_NAME='your_bucket'\nexport S3_ACCESS_KEY_ID='your_access_key'\nexport S3_SECRET_KEY='your_secret_key'\nexport S3_SERVER='s3.ap-southeast-1.amazonaws.com'\nexport PROXY_CACHE_VALID_OK='1h'\nexport PROXY_CACHE_VALID_NOTFOUND='1m'\nexport PROXY_CACHE_VALID_FORBIDDEN='30s'\nexport S3_SERVER_PORT='443'\nexport S3_SERVER_PROTO='https'\nexport S3_REGION='ap-southeast-1'\nexport S3_STYLE='virtual'\nexport S3_DEBUG='true'\nexport AWS_SIGS_VERSION='4'\nexport ALLOW_DIRECTORY_LIST='false'\n\nset -o errexit # abort on nonzero exit status\nset -o pipefail # don't hide errors within pipes\n\nif [ \"$EUID\" -ne 0 ];then\n >&2 echo \"This script requires root level access to run\"\n exit 1\nfi\n\nfailed=0\n\nrequired=(\"S3_BUCKET_NAME\" \"S3_SERVER\" \"S3_SERVER_PORT\" \"S3_SERVER_PROTO\"\n\"S3_REGION\" \"S3_STYLE\" \"ALLOW_DIRECTORY_LIST\" \"AWS_SIGS_VERSION\")\n\nif [ ! -z ${AWS_CONTAINER_CREDENTIALS_RELATIVE_URI+x} ]; then\n echo \"Running inside an ECS task, using container credentials\"\n uses_iam_creds=1\nelif curl --output /dev/null --silent --head --fail --connect-timeout 2 \"http://169.254.169.254\"; then\n echo \"Running inside an EC2 instance, using IMDS for credentials\"\n uses_iam_creds=1\nelse\n required+=(\"S3_ACCESS_KEY_ID\" \"S3_SECRET_KEY\")\n uses_iam_creds=0\nfi\n\nfor name in ${required[@]}; do\n if [ -z ${!name+x} ]; then\n >&2 echo \"Required ${name} environment variable missing\"\n failed=1\n fi\ndone\n\nif [ \"${S3_SERVER_PROTO}\" != \"http\" ] && [ \"${S3_SERVER_PROTO}\" != \"https\" ]; then\n >&2 echo \"S3_SERVER_PROTO contains an invalid value (${S3_SERVER_PROTO}). Valid values: http, https\"\n failed=1\nfi\n\nif [ \"${AWS_SIGS_VERSION}\" != \"2\" ] && [ \"${AWS_SIGS_VERSION}\" != \"4\" ]; then\n >&2 echo \"AWS_SIGS_VERSION contains an invalid value (${AWS_SIGS_VERSION}). Valid values: 2, 4\"\n failed=1\nfi\n\nif [ $failed -gt 0 ]; then\n exit 1\nfi\n\nmkdir -p /var/cache/nginx/s3_proxy\nchown nginx:nginx /var/cache/nginx/s3_proxy\n\necho \"▶ Adding environment variables to NGINX configuration file: /etc/nginx/environment\"\ncat > \"/etc/nginx/environment\" << EOF\n# Enables or disables directory listing for the S3 Gateway (1=enabled, 0=disabled)\nALLOW_DIRECTORY_LIST=${ALLOW_DIRECTORY_LIST}\n# AWS Authentication signature version (2=v2 authentication, 4=v4 authentication)\nAWS_SIGS_VERSION=${AWS_SIGS_VERSION}\n# Name of S3 bucket to proxy requests to\nS3_BUCKET_NAME=${S3_BUCKET_NAME}\n# Region associated with API\nS3_REGION=${S3_REGION}\n# SSL/TLS port to connect to\nS3_SERVER_PORT=${S3_SERVER_PORT}\n# Protocol to used connect to S3 server - 'http' or 'https'\nS3_SERVER_PROTO=${S3_SERVER_PROTO}\n# S3 host to connect to\nS3_SERVER=${S3_SERVER}\n# S3 credentials\nS3_ACCESS_KEY_ID=${S3_ACCESS_KEY_ID}\nS3_SECRET_KEY=${S3_SECRET_KEY}\n# The S3 host/path method - 'virtual', 'path' or 'default'\nS3_STYLE=${S3_STYLE}\n# Flag (true/false) enabling AWS signatures debug output (default: false)\nS3_DEBUG=${S3_DEBUG}\n# Proxy Cache Values\nPROXY_CACHE_VALID_OK=${PROXY_CACHE_VALID_OK}\nPROXY_CACHE_VALID_NOTFOUND=${PROXY_CACHE_VALID_NOTFOUND}\nPROXY_CACHE_VALID_FORBIDDEN=${PROXY_CACHE_VALID_FORBIDDEN}\nEOF\n\n# Only include these env vars if we are not using a instance profile credential\n# to obtain S3 permissions.\nif [ $uses_iam_creds -eq 0 ]; then\n cat >> \"/etc/nginx/environment\" << EOF\n# AWS Access key\nS3_ACCESS_KEY_ID=${S3_ACCESS_KEY_ID}\n# AWS Secret access key\nS3_SECRET_KEY=${S3_SECRET_KEY}\nEOF\nfi\n\nset +o nounset # don't abort on unbound variable\nif [ -z ${DNS_RESOLVERS+x} ]; then\n cat >> \"/etc/default/nginx\" << EOF\n# DNS resolvers (separated by single spaces) to configure NGINX with\nDNS_RESOLVERS=${DNS_RESOLVERS}\nEOF\nfi\nset -o nounset # abort on unbound variable\n\n# Make sure that only the root user can access the environment variables file\nchown root:root /etc/nginx/environment\nchmod og-rwx /etc/nginx/environment\n\ncat > /usr/local/bin/template_nginx_config.sh << 'EOF'\n#!/usr/bin/env bash\nME=$(basename $0)\nauto_envsubst() {\n local template_dir=\"${NGINX_ENVSUBST_TEMPLATE_DIR:-/etc/nginx/templates}\"\n local suffix=\"${NGINX_ENVSUBST_TEMPLATE_SUFFIX:-.template}\"\n local output_dir=\"${NGINX_ENVSUBST_OUTPUT_DIR:-/etc/nginx/conf.d}\"\n local template defined_envs relative_path output_path subdir\n defined_envs=$(printf '${%s} ' $(env | cut -d= -f1))\n [ -d \"$template_dir\" ] || return 0\n if [ ! -w \"$output_dir\" ]; then\n echo \"$ME: ERROR: $template_dir exists, but $output_dir is not writable\"\n return 0\n fi\n find \"$template_dir\" -follow -type f -name \"*$suffix\" -print | while read -r template; do\n relative_path=\"${template#$template_dir/}\"\n output_path=\"$output_dir/${relative_path%$suffix}\"\n subdir=$(dirname \"$relative_path\")\n # create a subdirectory where the template file exists\n mkdir -p \"$output_dir/$subdir\"\n echo \"$ME: Running envsubst on $template to $output_path\"\n envsubst \"$defined_envs\" < \"$template\" > \"$output_path\"\n done\n}\n# Attempt to read DNS Resolvers from /etc/resolv.conf\nif [ -z ${DNS_RESOLVERS+x} ]; then\n export DNS_RESOLVERS=\"$(cat /etc/resolv.conf | grep nameserver | cut -d' ' -f2 | xargs)\"\nfi\nauto_envsubst\nEOF\nchmod +x /usr/local/bin/template_nginx_config.sh\n\necho \"▶ Reconfiguring systemd for S3 Gateway\"\nmkdir -p /etc/systemd/system/nginx.service.d\ncat > /etc/systemd/system/nginx.service.d/override.conf << 'EOF'\n[Service]\nEnvironmentFile=/etc/nginx/environment\nExecStartPre=/usr/local/bin/template_nginx_config.sh\nEOF\nsudo systemctl daemon-reload\n\necho \"▶ Creating NGINX configuration for S3 Gateway\"\nmkdir -p /etc/nginx/include\nmkdir -p /etc/nginx/conf.d/gateway\nmkdir -p /etc/nginx/templates/gateway\n\nfunction download() {\n wget --quiet --output-document=\"$2\" \"https://raw.githubusercontent.com/antonydu-cd/magento-nginx-s3-gateway/master/$1\"\n}\n\nif [ ! -f /etc/nginx/nginx.conf.orig ]; then\n mv /etc/nginx/nginx.conf /etc/nginx/nginx.conf.orig\nfi\n\nif [ ! -f /etc/nginx/conf.d/default.conf.orig ]; then\n mv /etc/nginx/conf.d/default.conf /etc/nginx/conf.d/default.conf.orig\nfi\n\ncat > /etc/nginx/nginx.conf << 'EOF'\nuser centos;\nworker_processes auto;\nerror_log /var/log/nginx/error.log;\npid /var/run/nginx.pid;\n\n\n# NJS module used for implementing S3 authentication\nload_module modules/ngx_http_js_module.so;\nload_module modules/ngx_stream_js_module.so;\n# IMAGE FILTER module\nload_module modules/ngx_http_image_filter_module.so;\n# XML module\nload_module modules/ngx_http_xslt_filter_module.so;\n# Load dynamic modules. See /usr/share/doc/nginx/README.dynamic.\ninclude /usr/share/nginx/modules/*.conf;\n# Preserve S3 environment variables for worker threads\nEOF\n\n# Only include these env vars if we are not using a instance profile credential\n# to obtain S3 permissions.\nif [ $uses_iam_creds -eq 0 ]; then\n cat >> \"/etc/nginx/environment\" << EOF\nenv S3_ACCESS_KEY_ID;\nenv S3_SECRET_KEY;\nEOF\nfi\n\ncat >> /etc/nginx/nginx.conf << 'EOF'\nenv S3_BUCKET_NAME;\nenv S3_SERVER;\nenv S3_SERVER_PORT;\nenv S3_SERVER_PROTO;\nenv S3_REGION;\nenv AWS_SIGS_VERSION;\nenv S3_DEBUG;\nenv S3_STYLE;\nenv ALLOW_DIRECTORY_LIST;\n\nevents {\n worker_connections 1024;\n}\n\nhttp {\n log_format main '$remote_addr - $remote_user [$time_local] \"$request\" '\n '$status $body_bytes_sent \"$http_referer\" '\n '\"$http_user_agent\" \"$http_x_forwarded_for\"';\n\n access_log /var/log/nginx/access.log main;\n\n sendfile on;\n tcp_nopush on;\n tcp_nodelay on;\n keepalive_timeout 65;\n types_hash_max_size 4096;\n client_max_body_size 8M;\n #gzip on;\n\n include /etc/nginx/mime.types;\n default_type application/octet-stream;\n \n # Settings for S3 cache\n proxy_cache_path /var/cache/nginx/s3_proxy\n levels=1:2\n keys_zone=s3_cache:10m\n max_size=10g\n inactive=60m\n use_temp_path=off;\n server_tokens off;\n \n server {\n listen 80;\n set $MAGE_ROOT /var/www/html;\n include /var/www/html/nginx.conf;\n }\n\n # Load modular configuration files from the /etc/nginx/conf.d directory.\n # See http://nginx.org/en/docs/ngx_core_module.html#include\n # for more information.\n include /etc/nginx/conf.d/*.conf;\n}\nEOF\n\ndownload \"include/listing.xsl\" \"/etc/nginx/include/listing.xsl\"\ndownload \"include/s3gateway.js\" \"/etc/nginx/include/s3gateway.js\"\ndownload \"templates/default.conf.template\" \"/etc/nginx/templates/default.conf.template\"\ndownload \"templates/gateway/v4_headers.conf.template\" \"/etc/nginx/templates/gateway/v4_headers.conf.template\"\ndownload \"templates/gateway/v4_js_vars.conf.template\" \"/etc/nginx/templates/gateway/v4_js_vars.conf.template\"\ndownload \"templates/upstreams.conf.template\" \"/etc/nginx/templates/upstreams.conf.template\"\ndownload \"gateway/server_variables.conf\" \"/etc/nginx/conf.d/gateway/server_variables.conf\"\n\n#We overwrite the default.conf.template file to add listen to a defined port\n# echo \"▶ Overwriting S3 port to 8080\"\n# printf \"%s\\n\" \"/server {/a\" \" listen 8080;\" . w | ed -s /etc/nginx/templates/default.conf.template\n\necho \"▶ Creating directory for proxy cache\"\nmkdir -p /var/cache/nginx/s3_proxy\nchown centos:centos /var/cache/nginx/s3_proxy\n\necho \"▶ Stopping NGINX\"\nsudo systemctl stop nginx\n\necho \"▶ Starting NGINX\"\nsudo systemctl start nginx", "text_preview": "#!/usr/bin/env bash sudo yum remove -y nginx sudo yum install -y https://nginx.org/packages/mainline/centos/7/x86_64/RPMS/nginx-1.21.6-1.el7.ngx.x86_64.rpm sudo yum install -y https://nginx.org/packages/mainline/centos/7/x86_64/RPMS/nginx-m", "input_sha256": "a8f5255dac177eefcb3911059e54f9d2de1a4b6d1c2b8daa4cf05cafcd846845", "text_sha256": "8a871d880105bc2dfb7f6e8cd2e671dda82e306a3e46753b2624f6c2c5a9dc47", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 20125, "input_policy": "text-and-optional-url-v1", "label_policy_version": 12, "requested_model": "decision-models/baseten-mammoth-27b-latest", "backend": "baseten", "endpoint": "https://inference.baseten.co/v1/systemone", "status": "ok", "training_eligible": true, "label": {"primary": {"main_format": "Technical Writing", "sub_format": null}, "secondary": null, "tertiary": null, "content_structure": []}, "candidate_label": null, "topic": {"primary": {"main_topic": "Programming & Software Engineering", "sub_topic": null}, "secondary": null}, "scores": {"content_quality": 1, "noise_severity": 0, "missing_content_severity": 0, "factual_density": 3, "pretraining_utility": 1, "math_density": 0, "code_density": 4, "reasoning_density": 0, "education_level": 3, "creative_writing_quality": null}, "score_expectations": {"content_quality": 0.41418510037367073, "noise_severity": 0.05223451965346028, "missing_content_severity": 0.038479454930735596, "factual_density": 3.2265134905597854, "pretraining_utility": 0.46340742085734254, "math_density": 0.012579328218558982, "code_density": 3.8123076595838996, "reasoning_density": 0.7161766264971728, "education_level": 2.6426306815122964, "creative_writing_quality": -0.24463996873758745}, "api_choices": {"primary": "Technical Writing", "secondary": "NONE", "tertiary": "NONE", "education_level": "3", "creative_writing_quality": "not_applicable", "primary_topic": "Programming & Software Engineering", "secondary_topic": "NONE"}, "review_reasons": [], "format_slot_diagnostics": {"comparable": true, "secondary_tertiary_identical": false, "secondary_tertiary_max_abs_gap": 0.07934358538856412, "secondary_choice": "NONE", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.9105010920928562, "secondary": 0.7253552038464194, "tertiary": 0.8081485103388343, "structured_records": 0.1118522316001503, "procedural_steps": 0.6451240586345567, "worked_solution": 0.0030850454963943447, "contextual_dialogue": 5.2411786428236075e-06, "content_quality": 0.2936679002277752, "noise_severity": 0.9564712336221164, "missing_content_severity": 0.9679337875577203, "factual_density": 0.5191702459313865, "pretraining_utility": 0.45233697969901376, "math_density": 0.9895172264845342, "code_density": 0.8435897163199164, "reasoning_density": 0.40318614458568924, "education_level": 0.40528747837938744, "creative_writing_quality": 0.9992778866497203, "primary_topic": 0.8440583488045867, "secondary_topic": 0.5218526547170702}, "probability_margin": {"primary": 0.8396813098659525, "secondary": 0.6136138722555355, "tertiary": 0.7302939028885252, "education_level": 0.08994698918836563, "creative_writing_quality": 0.9991218977601631, "primary_topic": 0.705058510839674, "secondary_topic": 0.24510838334314994}, "raw_probabilities": {"primary": {"Academic Writing": 0.00019898132357479113, "Content Listing": 0.00020666606213743435, "Creative Writing": 0.0001755227148814202, "Customer Support Page": 0.0001949154407498413, "Q&A Forum": 0.00012861738980831595, "Discussion Thread": 9.968084372021782e-05, "Comment Section": 0.00016294160432695835, "Missing Content": 0.00016482748674912493, "Knowledge Article": 0.000460515327180072, "Legal Notices": 0.00014846610155907296, "News Article": 7.63182462027387e-05, "Organizational Announcement": 0.00012386997781877585, "Nonfiction Writing": 0.0001248070395235093, "Organizational About Page": 0.00016661876139306884, "Personal About Page": 0.00011666993211544192, "Personal Blog": 7.898239747265635e-05, "Product Page": 8.95872078800471e-05, "Spam / Ads": 0.00013871555709025636, "Structured Data": 0.0005901590402057281, "Technical Writing": 0.9142302132556539, "Transcript / Interview": 0.00015641073309196534, "Tutorial / How-To Guide": 0.07454890338970144, "User Reviews": 7.753041595786029e-05, "Other / Unknown": 0.007540079751205434}, "secondary": {"Academic Writing": 0.0006854001283243892, "Content Listing": 0.0005547351029866258, "Creative Writing": 0.0004575997459946936, "Customer Support Page": 0.0005664112392392037, "Q&A Forum": 0.0003366453528229102, "Discussion Thread": 0.0002485500605511476, "Comment Section": 0.0005743811180505395, "Missing Content": 0.0005703842984013207, "Knowledge Article": 0.0018592430849920499, "Legal Notices": 0.0005546671259462208, "News Article": 0.00032948956427402977, "Organizational Announcement": 0.000365552122486455, "Nonfiction Writing": 0.00035559175394653985, "Organizational About Page": 0.0005939469475045245, "Personal About Page": 0.00034853810718836454, "Personal Blog": 0.0003038777299215363, "Product Page": 0.00025318749446646917, "Spam / Ads": 0.00035844837316400326, "Structured Data": 0.011743216223523725, "Technical Writing": 0.12318486476394969, "Transcript / Interview": 0.0005006528874705419, "Tutorial / How-To Guide": 0.11825994724885742, "User Reviews": 0.0001959325064522525, "NONE": 0.7367987370194853}, "tertiary": {"Academic Writing": 0.0005615924786508244, "Content Listing": 0.00043757350976150164, "Creative Writing": 0.0003781253415516963, "Customer Support Page": 0.0004426557055290837, "Q&A Forum": 0.00022559524114300426, "Discussion Thread": 0.00015971640743827576, "Comment Section": 0.0005534576537315129, "Missing Content": 0.0005668668113718621, "Knowledge Article": 0.0025247874023068663, "Legal Notices": 0.0007053133385096163, "News Article": 0.00022637951165591652, "Organizational Announcement": 0.0002617243843460286, "Nonfiction Writing": 0.00031225032097489155, "Organizational About Page": 0.0005227020010057404, "Personal About Page": 0.00025806437602639303, "Personal Blog": 0.00023437676538176608, "Product Page": 0.00021624368893033042, "Spam / Ads": 0.00028845060174644845, "Structured Data": 0.015847863320402198, "Technical Writing": 0.08584841951952431, "Transcript / Interview": 0.0003342186702119461, "Tutorial / How-To Guide": 0.0728104018396276, "User Reviews": 0.00014089870212269682, "NONE": 0.8161423224080495}, "structured_records": {"false": 0.8881477683998497, "true": 0.1118522316001503}, "procedural_steps": {"false": 0.3548759413654433, "true": 0.6451240586345567}, "worked_solution": {"false": 0.9969149545036057, "true": 0.0030850454963943447}, "contextual_dialogue": {"false": 0.9999947588213571, "true": 5.2411786428236075e-06}, "content_quality": {"-2": 0.03673345116935083, "-1": 0.15336069352277246, "0": 0.2997849691229021, "1": 0.37922907613480455, "2": 0.13089181005017014}, "noise_severity": {"0": 0.9562477291711067, "1": 0.03714060093289452, "2": 0.005257842785875869, "3": 0.0008370752916782955, "4": 0.0005167518184447861}, "missing_content_severity": {"0": 0.9750840316696897, "1": 0.014981381654892335, "2": 0.0067535651528322265, "3": 0.00273314312016396, "4": 0.00044787840242173246}, "factual_density": {"0": 0.003060150013295597, "1": 0.010355197803834863, "2": 0.1453502615137187, "3": 0.43947979294809, "4": 0.40175459772106087}, "pretraining_utility": {"-2": 0.012608709613649812, "-1": 0.1030331233673507, "0": 0.3530017261762697, "1": 0.47105491823346685, "2": 0.06030152260926301}, "math_density": {"0": 0.9892777085197408, "1": 0.009654187226601848, "2": 0.0005643314826792692, "3": 0.00021861305731283752, "4": 0.0002851597136650203}, "code_density": {"0": 0.0003073532713992201, "1": 0.0006265394869841905, "2": 0.012396819719592047, "3": 0.15978966943036677, "4": 0.8268796180916577}, "reasoning_density": {"0": 0.5878713877765711, "1": 0.16707040584430757, "2": 0.1996529783481544, "3": 0.03182064816731139, "4": 0.013584579863655565}, "education_level": {"none": 0.000983939796942641, "0": 0.0016411019992564598, "1": 0.0053815410757773584, "2": 0.4144592427944572, "3": 0.5044062319828229, "4": 0.07312794235074356}, "creative_writing_quality": {"not_applicable": 0.9993982388747669, "-2": 7.985948756781321e-05, "-1": 0.00013051936207564204, "0": 0.00027634111460372504, "1": 8.705880762467165e-05, "2": 2.79823533610608e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 0.00018134112118512336, "Art & Design": 0.0002542260418820238, "Law & Crime": 0.00023117784204122627, "Education & Careers": 0.0001438929380649581, "Entertainment & Media": 0.0001624444958269914, "Fashion & Beauty": 0.000148129302118747, "Business, Economics & Finance": 0.00032728696157463837, "Food & Dining": 0.00012744469840936042, "Games & Gaming": 0.00024770571785576455, "Electronics & Hardware": 0.0004053716055007958, "Health, Healthcare & Wellness": 0.00013306734704834216, "History & Geography": 0.00017004995425968096, "Home, Pets & Hobbies": 0.00019176349880954978, "Industry & Production": 0.00028920596323753043, "Language, Literature & Philosophy": 0.00016537724818441472, "Politics & Government": 0.00010771816999955611, "Religion & Spirituality": 0.00013166715871833307, "Science, Mathematics & Engineering": 0.00034876698313918316, "Relationships & Community": 0.00012174870121634228, "Software Usage & Applications": 0.14499759378012103, "Programming & Software Engineering": 0.850056104619795, "Sports & Fitness": 0.00019960711558404226, "Vehicles & Transportation": 0.00016142285440629502, "Travel & Tourism": 0.00014060618414645618, "Other / Uncovered Subject": 0.00037871514414287175, "Unknown / Insufficient Content": 0.00017756455273181587}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0008722026370022489, "Art & Design": 0.0006027140912656644, "Law & Crime": 0.0007928320684533663, "Education & Careers": 0.00039394112535935075, "Entertainment & Media": 0.0005247654022642874, "Fashion & Beauty": 0.00034495278988669987, "Business, Economics & Finance": 0.0053438800458280675, "Food & Dining": 0.00028074300099084143, "Games & Gaming": 0.0004829036423675329, "Electronics & Hardware": 0.0012291193117432058, "Health, Healthcare & Wellness": 0.0004088522159103504, "History & Geography": 0.0003781412719448243, "Home, Pets & Hobbies": 0.0003902846882295555, "Industry & Production": 0.0005651312489303848, "Language, Literature & Philosophy": 0.00025736702778564866, "Politics & Government": 0.0003267544021175649, "Religion & Spirituality": 0.00038594581944109035, "Science, Mathematics & Engineering": 0.000833473250725895, "Relationships & Community": 0.00027698300189376066, "Software Usage & Applications": 0.2951345538848022, "Programming & Software Engineering": 0.14750867378860877, "Sports & Fitness": 0.0003658247455720807, "Vehicles & Transportation": 0.0004272770309815392, "Travel & Tourism": 0.0005177722617463645, "Other / Uncovered Subject": 0.0011119740181964927, "NONE": 0.5402429372279521}}, "probabilities": {"primary": {"Academic Writing": 0.00019898132357479113, "Content Listing": 0.00020666606213743435, "Creative Writing": 0.0001755227148814202, "Customer Support Page": 0.0001949154407498413, "Q&A Forum": 0.00012861738980831595, "Discussion Thread": 9.968084372021782e-05, "Comment Section": 0.00016294160432695835, "Missing Content": 0.00016482748674912493, "Knowledge Article": 0.000460515327180072, "Legal Notices": 0.00014846610155907296, "News Article": 7.63182462027387e-05, "Organizational Announcement": 0.00012386997781877585, "Nonfiction Writing": 0.0001248070395235093, "Organizational About Page": 0.00016661876139306884, "Personal About Page": 0.00011666993211544192, "Personal Blog": 7.898239747265635e-05, "Product Page": 8.95872078800471e-05, "Spam / Ads": 0.00013871555709025636, "Structured Data": 0.0005901590402057281, "Technical Writing": 0.9142302132556539, "Transcript / Interview": 0.00015641073309196534, "Tutorial / How-To Guide": 0.07454890338970144, "User Reviews": 7.753041595786029e-05, "Other / Unknown": 0.007540079751205434}, "secondary": {"Academic Writing": 0.0006854001283243893, "Content Listing": 0.000554735102986626, "Creative Writing": 0.00045759974599469364, "Customer Support Page": 0.0005664112392392038, "Q&A Forum": 0.00033664535282291026, "Discussion Thread": 0.00024855006055114764, "Comment Section": 0.0005743811180505396, "Missing Content": 0.0005703842984013209, "Knowledge Article": 0.00185924308499205, "Legal Notices": 0.0005546671259462209, "News Article": 0.0003294895642740298, "Organizational Announcement": 0.00036555212248645506, "Nonfiction Writing": 0.0003555917539465399, "Organizational About Page": 0.0005939469475045246, "Personal About Page": 0.0003485381071883646, "Personal Blog": 0.00030387772992153633, "Product Page": 0.0002531874944664692, "Spam / Ads": 0.0003584483731640033, "Structured Data": 0.011743216223523726, "Technical Writing": 0.1231848647639497, "Transcript / Interview": 0.000500652887470542, "Tutorial / How-To Guide": 0.11825994724885744, "User Reviews": 0.00019593250645225254, "NONE": 0.7367987370194854}, "tertiary": {"Academic Writing": 0.0005615924786508244, "Content Listing": 0.00043757350976150164, "Creative Writing": 0.0003781253415516963, "Customer Support Page": 0.0004426557055290837, "Q&A Forum": 0.00022559524114300426, "Discussion Thread": 0.00015971640743827576, "Comment Section": 0.0005534576537315129, "Missing Content": 0.0005668668113718621, "Knowledge Article": 0.0025247874023068663, "Legal Notices": 0.0007053133385096163, "News Article": 0.00022637951165591652, "Organizational Announcement": 0.0002617243843460286, "Nonfiction Writing": 0.00031225032097489155, "Organizational About Page": 0.0005227020010057404, "Personal About Page": 0.00025806437602639303, "Personal Blog": 0.00023437676538176608, "Product Page": 0.00021624368893033042, "Spam / Ads": 0.00028845060174644845, "Structured Data": 0.015847863320402198, "Technical Writing": 0.08584841951952431, "Transcript / Interview": 0.0003342186702119461, "Tutorial / How-To Guide": 0.0728104018396276, "User Reviews": 0.00014089870212269682, "NONE": 0.8161423224080495}, "structured_records": {"false": 0.8881477683998497, "true": 0.1118522316001503}, "procedural_steps": {"false": 0.3548759413654433, "true": 0.6451240586345567}, "worked_solution": {"false": 0.9969149545036057, "true": 0.0030850454963943447}, "contextual_dialogue": {"false": 0.9999947588213571, "true": 5.2411786428236075e-06}, "content_quality": {"-2": 0.03673345116935083, "-1": 0.15336069352277246, "0": 0.2997849691229021, "1": 0.37922907613480455, "2": 0.13089181005017014}, "noise_severity": {"0": 0.9562477291711065, "1": 0.037140600932894514, "2": 0.005257842785875868, "3": 0.0008370752916782953, "4": 0.000516751818444786}, "missing_content_severity": {"0": 0.9750840316696897, "1": 0.014981381654892335, "2": 0.0067535651528322265, "3": 0.00273314312016396, "4": 0.00044787840242173246}, "factual_density": {"0": 0.003060150013295597, "1": 0.010355197803834863, "2": 0.1453502615137187, "3": 0.43947979294809, "4": 0.40175459772106087}, "pretraining_utility": {"-2": 0.012608709613649812, "-1": 0.1030331233673507, "0": 0.3530017261762697, "1": 0.47105491823346685, "2": 0.06030152260926301}, "math_density": {"0": 0.9892777085197411, "1": 0.00965418722660185, "2": 0.0005643314826792693, "3": 0.00021861305731283757, "4": 0.00028515971366502036}, "code_density": {"0": 0.00030735327139922016, "1": 0.0006265394869841906, "2": 0.012396819719592049, "3": 0.1597896694303668, "4": 0.8268796180916578}, "reasoning_density": {"0": 0.5878713877765711, "1": 0.16707040584430757, "2": 0.1996529783481544, "3": 0.03182064816731139, "4": 0.013584579863655565}, "education_level": {"none": 0.000983939796942641, "0": 0.0016411019992564598, "1": 0.0053815410757773584, "2": 0.4144592427944572, "3": 0.5044062319828229, "4": 0.07312794235074356}, "creative_writing_quality": {"not_applicable": 0.9993982388747671, "-2": 7.985948756781323e-05, "-1": 0.00013051936207564207, "0": 0.0002763411146037251, "1": 8.705880762467167e-05, "2": 2.7982353361060807e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 0.00018134112118512336, "Art & Design": 0.0002542260418820238, "Law & Crime": 0.00023117784204122627, "Education & Careers": 0.0001438929380649581, "Entertainment & Media": 0.0001624444958269914, "Fashion & Beauty": 0.000148129302118747, "Business, Economics & Finance": 0.00032728696157463837, "Food & Dining": 0.00012744469840936042, "Games & Gaming": 0.00024770571785576455, "Electronics & Hardware": 0.0004053716055007958, "Health, Healthcare & Wellness": 0.00013306734704834216, "History & Geography": 0.00017004995425968096, "Home, Pets & Hobbies": 0.00019176349880954978, "Industry & Production": 0.00028920596323753043, "Language, Literature & Philosophy": 0.00016537724818441472, "Politics & Government": 0.00010771816999955611, "Religion & Spirituality": 0.00013166715871833307, "Science, Mathematics & Engineering": 0.00034876698313918316, "Relationships & Community": 0.00012174870121634228, "Software Usage & Applications": 0.14499759378012103, "Programming & Software Engineering": 0.850056104619795, "Sports & Fitness": 0.00019960711558404226, "Vehicles & Transportation": 0.00016142285440629502, "Travel & Tourism": 0.00014060618414645618, "Other / Uncovered Subject": 0.00037871514414287175, "Unknown / Insufficient Content": 0.00017756455273181587}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.000872202637002249, "Art & Design": 0.0006027140912656645, "Law & Crime": 0.0007928320684533664, "Education & Careers": 0.0003939411253593508, "Entertainment & Media": 0.0005247654022642875, "Fashion & Beauty": 0.0003449527898866999, "Business, Economics & Finance": 0.005343880045828068, "Food & Dining": 0.0002807430009908415, "Games & Gaming": 0.00048290364236753294, "Electronics & Hardware": 0.001229119311743206, "Health, Healthcare & Wellness": 0.00040885221591035044, "History & Geography": 0.0003781412719448244, "Home, Pets & Hobbies": 0.00039028468822955556, "Industry & Production": 0.000565131248930385, "Language, Literature & Philosophy": 0.0002573670277856487, "Politics & Government": 0.00032675440211756495, "Religion & Spirituality": 0.0003859458194410904, "Science, Mathematics & Engineering": 0.0008334732507258951, "Relationships & Community": 0.0002769830018937607, "Software Usage & Applications": 0.29513455388480225, "Programming & Software Engineering": 0.1475086737886088, "Sports & Fitness": 0.00036582474557208074, "Vehicles & Transportation": 0.00042727703098153927, "Travel & Tourism": 0.0005177722617463646, "Other / Uncovered Subject": 0.0011119740181964929, "NONE": 0.5402429372279522}}, "probability_diagnostics": {"primary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "tertiary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "structured_records": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "procedural_steps": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "worked_solution": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "contextual_dialogue": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "content_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "noise_severity": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "missing_content_severity": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "factual_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "pretraining_utility": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "math_density": {"raw_sum": 0.9999999999999998, "mass_delta": -2.220446049250313e-16, "missing_mass": 2.220446049250313e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "code_density": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "reasoning_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "education_level": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "creative_writing_quality": {"raw_sum": 0.9999999999999998, "mass_delta": -2.220446049250313e-16, "missing_mass": 2.220446049250313e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "primary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary_topic": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}}, "usage": {"input_tokens": 11394, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 11394, "cached_share": null, "cache_discount_reported": null, "reported_cost_usd": null}, "response_metadata": {"model": "decision-models/baseten-mammoth-27b-latest"}, "scored_at_utc": "2026-10-25T18:37:16.436649+00:00", "scoring_key_slot": "assistant_1", "dataset_uid": "0eed5463-73ba-4055-af4c-c5b3337e5ce4", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "dce740435b8205a37da476df1ec3383d260039d68b7165836919f12ae63c37ce", "source_metadata": {"uuid": "0eed5463-73ba-4055-af4c-c5b3337e5ce4", "repo_name": "antonydu-cd/magento-nginx-s3-gateway", "relative_path": "standalone_amazon_linux_2_install.sh", "category": "TOOL", "algo_rel_score": 0.9943339824676514, "quality_score": 3.915073871612549, "source_meta": {"github_metadata": {"branch": "master", "commit_count": 4, "repo_created_at": "2022-07-13T15:07:36.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 0, "forks": 0, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "1560c35150a467612dca4d9b873510060791e186", "size_bytes": 9698, "file_timestamp": 1715919435, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "900b015f57f13535b58b861629513026486b456b"}}, "parsed_source_meta": {"github_metadata": {"branch": "master", "commit_count": 4, "repo_created_at": "2022-07-13T15:07:36.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 0, "forks": 0, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "1560c35150a467612dca4d9b873510060791e186", "size_bytes": 9698, "file_timestamp": 1715919435, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "900b015f57f13535b58b861629513026486b456b", "url": "https://github.com/antonydu-cd/magento-nginx-s3-gateway/blob/900b015f57f13535b58b861629513026486b456b/standalone_amazon_linux_2_install.sh"}, "gpt4o_tokens": 2780, "dataset_split": "shell", "probability_weighted_scores": {"content_quality": 0.41418510037367073, "noise_severity": 0.052234519653460286, "missing_content_severity": 0.038479454930735596, "factual_density": 3.2265134905597854, "pretraining_utility": 0.46340742085734254, "math_density": 0.012579328218558982, "code_density": 3.8123076595838996, "reasoning_density": 0.7161766264971728, "education_level": 2.6426306815122964, "creative_writing_quality": -0.24463996873758745}, "score_applicability": {"education_level": 0.9990160602030574, "creative_writing_quality": 0.0006017611252329128}} {"source_group": "shell", "source": "openbmb/UltraData-Stack-v3-L2/shell", "domain": "github.com", "language": "shell", "url": "https://github.com/borball/mno-with-abi/blob/1b2a5f790b7a339c8e01716bf79b824cfec70a9b/node-boot.sh", "id": "shell-0-34abcd7e25224ada694bad951650b9db", "text": "#!/bin/bash\n\ncmd=\"install\"\nbmc_noproxy=0\nCURL=\"curl -s\"\n\nwhile getopts \"c:h:u:i:k:l:n\" flag; do\n case ${flag} in\n c)\n cmd=\"${OPTARG}\"\n ;;\n h) \n bmc_address=\"${OPTARG}\"\n ;;\n u)\n username_password=\"${OPTARG}\"\n ;;\n i)\n iso_image=\"${OPTARG}\"\n ;;\n k)\n kvm_uuid=\"${OPTARG}\"\n ;;\n l)\n log_file=\"${OPTARG}\"\n ;;\n n)\n bmc_noproxy=1\n ;;\n esac\ndone\n\npassword_var=$(echo \"$username_password\" |sed -n 's;^.*:ENV{\\(.*\\)}$;\\1;gp')\n\nif [[ bmc_noproxy == 1 ]]; then\n CURL+=\" --noproxy ${bmc_address}\"\nfi\n\nif [[ -n \"${password_var}\" ]]; then\n if [[ -z \"${!password_var}\" ]]; then\n echo \"FATAL: failed to pick up BMC password from environment variable '${password_var}'\"\n exit -1\n fi\n username_password=\"$(echo $username_password| cut -f 1 -d :):${!password_var}\"\nfi\n\nrest_response=$(mktemp)\n\nif [ ! -z $kvm_uuid ]; then\n system=/redfish/v1/Systems/$kvm_uuid\n manager=/redfish/v1/Managers/$kvm_uuid\nelse\n system=$($CURL -sku ${username_password} https://$bmc_address/redfish/v1/Systems | jq '.Members[0].\"@odata.id\"' )\n manager=$($CURL -sku ${username_password} https://$bmc_address/redfish/v1/Managers | jq '.Members[0].\"@odata.id\"' )\nfi\n\nsystem=$(sed -e 's/^\"//' -e 's/\"$//' <<<$system)\nmanager=$(sed -e 's/^\"//' -e 's/\"$//' <<<$manager)\n\nif [ \"$manager\" == \"null\" ] || [ \"$system\" == \"null\" ]; then\n echo \"FATAL: either redfish system or manager is 'null', please check!\"\n exit -1\nfi\n\nsystem_path=https://$bmc_address$system\nmanager_path=https://$bmc_address$manager\nvirtual_media_root=$manager_path/VirtualMedia\nvirtual_media_path=\"\"\n\nvirtual_medias=$($CURL -sku ${username_password} $virtual_media_root | jq '.Members[].\"@odata.id\"')\nfor vm in $virtual_medias; do\n vm=$(sed -e 's/^\"//' -e 's/\"$//' <<<$vm)\n if [ $($CURL -sku ${username_password} https://$bmc_address$vm | jq '.MediaTypes[]' |grep -ciE 'CD|DVD') -gt 0 ]; then\n virtual_media_path=$vm\n fi\ndone\nvirtual_media_path=https://$bmc_address$virtual_media_path\n\nshow_info(){\n printf $(tput setaf 2)\"%-54s %-10s\"$(tput sgr0)\"\\n\" \"$@\"\n}\n\nshow_warn(){\n printf $(tput setaf 3)\"%-54s %-10s\"$(tput sgr0)\"\\n\" \"$@\"\n}\n\nserver_secureboot_delete_keys() {\n $CURL --globoff -L -w \"%{http_code}\" -ku ${username_password} \\\n -H \"Content-Type: application/json\" -H \"Accept: application/json\" \\\n -d '{\"ResetKeysType\":\"DeleteAllKeys\"}' \\\n -X POST $system_path/SecureBoot/Actions/SecureBoot.ResetKeys \n}\n\nserver_get_bios_config(){\n # Retrieve BIOS config over Redfish\n $CURL -sku ${username_password} $system_path/Bios |jq\n}\n\nserver_restart() {\n # Restart\n echo \"Restart server.\"\n $CURL --globoff -L -w \"%{http_code}\" -ku ${username_password} \\\n -H \"Content-Type: application/json\" -H \"Accept: application/json\" \\\n -d '{\"ResetType\": \"ForceRestart\"}' \\\n -X POST $system_path/Actions/ComputerSystem.Reset\n}\n\nserver_power_off() {\n # Power off\n local action=\"Power off Server\"\n rest_result=$($CURL --globoff -L -w \"%{http_code}\" -ku ${username_password} \\\n -H \"Content-Type: application/json\" -H \"Accept: application/json\" \\\n -o \"$rest_response\" -d '{\"ResetType\": \"ForceOff\"}' -X POST $system_path/Actions/ComputerSystem.Reset)\n check_rest_result \"$action\" \"$rest_result\" \"$rest_response\"\n}\n\nserver_power_on() {\n # Power on\n local action=\"Power on Server\"\n rest_result=$($CURL --globoff -L -w \"%{http_code}\" -ku ${username_password} \\\n -H \"Content-Type: application/json\" -H \"Accept: application/json\" -d '{\"ResetType\": \"On\"}' \\\n -o \"$rest_response\" -X POST $system_path/Actions/ComputerSystem.Reset)\n check_rest_result \"$action\" \"$rest_result\" \"$rest_response\"\n}\n\nvirtual_media_eject() {\n # Eject Media\n local action=\"Eject Virtual Media\"\n rest_result=$($CURL --globoff -L -w \"%{http_code}\" -ku ${username_password} \\\n -H \"Content-Type: application/json\" -H \"Accept: application/json\" -d '{}' \\\n -o \"$rest_response\" -X POST $virtual_media_path/Actions/VirtualMedia.EjectMedia)\n check_rest_result \"$action\" \"$rest_result\" \"$rest_response\"\n}\n\nvirtual_media_status(){\n # Media Status\n echo \"Virtual Media Status: \"\n $CURL --globoff -H \"Content-Type: application/json\" -H \"Accept: application/json\" \\\n -k -X GET --user ${username_password} \\\n $virtual_media_path| jq\n}\n\nvirtual_media_insert(){\n # Insert Media from http server and iso file\n local action=\"Insert Virtual Media\"\n rest_result=$($CURL --globoff -L -w \"%{http_code}\" -ku ${username_password} \\\n -H \"Content-Type: application/json\" -H \"Accept: application/json\" -d \"{\\\"Image\\\": \\\"${iso_image}\\\"}\" \\\n -o \"$rest_response\" -X POST $virtual_media_path/Actions/VirtualMedia.InsertMedia)\n check_rest_result \"$action\" \"$rest_result\" \"$rest_response\"\n}\n\nserver_set_boot_once_from_cd() {\n # Set boot\n local action=\"Boot node from Virtual Media Once\"\n rest_result=$($CURL --globoff -L -w \"%{http_code}\" -ku ${username_password} \\\n -H \"Content-Type: application/json\" -H \"Accept: application/json\" \\\n -d '{\"Boot\":{ \"BootSourceOverrideEnabled\": \"Once\", \"BootSourceOverrideTarget\": \"Cd\" }}' \\\n -o \"$rest_response\" -X PATCH $system_path)\n check_rest_result \"$action\" \"$rest_result\" \"$rest_response\"\n}\n\ncheck_rest_result() {\n local action=$1\n local rest_result=$2\n local rest_response=$3\n\n if [[ -n \"$rest_result\" ]] && [[ $rest_result -lt 300 ]]; then\n show_info \"$action\" \"$rest_result\"\n else\n show_warn \"$action\" \"$rest_result\"\n echo $(cat $rest_response)\n fi\n rm -f $rest_response\n}\n\ninstall(){\n echo \"Starting OpenShift deployment on ${bmc_address}...\"\n server_power_off\n sleep 15\n virtual_media_eject\n virtual_media_insert\n #virtual_media_status\n server_set_boot_once_from_cd\n sleep 10\n server_power_on\n #server_restart\n echo \"\"\n echo \"Node is booting from virtual media mounted with $iso_image, check your BMC console to monitor the installation progress.\"\n}\n\npost_install(){\n virtual_media_eject\n}\n\n$cmd\n", "text_preview": "#!/bin/bash cmd=\"install\" bmc_noproxy=0 CURL=\"curl -s\" while getopts \"c:h:u:i:k:l:n\" flag; do case ${flag} in c) cmd=\"${OPTARG}\" ;; h) bmc_address=\"${OPTARG}\" ;; u) username_password=\"${OPTARG}\" ;; i) iso_image=\"${OPTARG}\" ;; k) kvm_uuid=\"$", "input_sha256": "144c46b4bf41fef0a8c8d2a2bd1d641eb17009fd9fbe5647e709e3ce93f9925b", "text_sha256": "34abcd7e25224ada694bad951650b9dbd502341191dc3c7b12abd5e293c9607b", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 20121, "input_policy": "text-and-optional-url-v1", "label_policy_version": 12, "requested_model": "decision-models/baseten-mammoth-27b-latest", "backend": "baseten", "endpoint": "https://inference.baseten.co/v1/systemone", "status": "ok", "training_eligible": true, "label": {"primary": {"main_format": "Technical Writing", "sub_format": null}, "secondary": null, "tertiary": null, "content_structure": []}, "candidate_label": null, "topic": {"primary": {"main_topic": "Programming & Software Engineering", "sub_topic": null}, "secondary": null}, "scores": {"content_quality": 1, "noise_severity": 0, "missing_content_severity": 0, "factual_density": 4, "pretraining_utility": 1, "math_density": 0, "code_density": 4, "reasoning_density": 0, "education_level": 3, "creative_writing_quality": null}, "score_expectations": {"content_quality": 0.5918689778575831, "noise_severity": 0.012227603504884265, "missing_content_severity": 0.0069026525937338394, "factual_density": 3.2538835172551406, "pretraining_utility": 0.5593360178863838, "math_density": 0.02023618891969981, "code_density": 3.8667902168818205, "reasoning_density": 0.5634213167179033, "education_level": 2.872432401450311, "creative_writing_quality": -0.2857289774888552}, "api_choices": {"primary": "Technical Writing", "secondary": "NONE", "tertiary": "NONE", "education_level": "3", "creative_writing_quality": "not_applicable", "primary_topic": "Programming & Software Engineering", "secondary_topic": "NONE"}, "review_reasons": [], "format_slot_diagnostics": {"comparable": true, "secondary_tertiary_identical": false, "secondary_tertiary_max_abs_gap": 0.01936833142989125, "secondary_choice": "NONE", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.9750148651030298, "secondary": 0.941210606647241, "tertiary": 0.9614210394436494, "structured_records": 0.007211197786760961, "procedural_steps": 0.30839462615753876, "worked_solution": 0.001206577644602022, "contextual_dialogue": 5.1832330602391215e-06, "content_quality": 0.42837927681409327, "noise_severity": 0.9898103304125965, "missing_content_severity": 0.9942477895052217, "factual_density": 0.3782362643792838, "pretraining_utility": 0.5070352756720403, "math_density": 0.9831365092335835, "code_density": 0.8889918474015168, "reasoning_density": 0.5304822360684138, "education_level": 0.45818098521252903, "creative_writing_quality": 0.9992789183491645, "primary_topic": 0.9257094808033961, "secondary_topic": 0.3603341680370861}, "probability_margin": {"primary": 0.9575832146609163, "secondary": 0.9111488021246303, "tertiary": 0.9432294642138207, "education_level": 0.2678693746995106, "creative_writing_quality": 0.9991477881635107, "primary_topic": 0.8931427993576405, "secondary_topic": 0.11300409436270198}, "raw_probabilities": {"primary": {"Academic Writing": 9.663173844254461e-05, "Content Listing": 8.401630185692989e-05, "Creative Writing": 7.74386123647712e-05, "Customer Support Page": 6.365639109232275e-05, "Q&A Forum": 4.373410680392353e-05, "Discussion Thread": 3.607148814261891e-05, "Comment Section": 6.199308644343573e-05, "Missing Content": 7.429297713209578e-05, "Knowledge Article": 0.0001887564691936804, "Legal Notices": 7.753689679983139e-05, "News Article": 2.593858709650831e-05, "Organizational Announcement": 4.484304138670311e-05, "Nonfiction Writing": 5.051551102901198e-05, "Organizational About Page": 4.944275884796091e-05, "Personal About Page": 4.294037311657462e-05, "Personal Blog": 3.151484337940551e-05, "Product Page": 3.1286192717798085e-05, "Spam / Ads": 4.745646968295869e-05, "Structured Data": 0.0004286903551567196, "Technical Writing": 0.9760559123904036, "Transcript / Interview": 6.836677909173695e-05, "Tutorial / How-To Guide": 0.01847269772948718, "User Reviews": 3.16209350092108e-05, "Other / Unknown": 0.0038146459653227013}, "secondary": {"Academic Writing": 0.00022729100123063123, "Content Listing": 0.00017590197438800825, "Creative Writing": 0.00018889559990761798, "Customer Support Page": 0.0001875938753275348, "Q&A Forum": 8.862143889184912e-05, "Discussion Thread": 6.786691147257486e-05, "Comment Section": 0.00015562864828811646, "Missing Content": 0.00025974062987668483, "Knowledge Article": 0.000717749490674669, "Legal Notices": 0.0002176561846784265, "News Article": 0.00010525581924626345, "Organizational Announcement": 0.00011362041301428274, "Nonfiction Writing": 9.84731009893949e-05, "Organizational About Page": 0.00011670657292532715, "Personal About Page": 9.576278515898164e-05, "Personal Blog": 9.937931000239893e-05, "Product Page": 7.167425917492908e-05, "Spam / Ads": 0.00012669151883423275, "Structured Data": 0.0014235673723138726, "Technical Writing": 0.019102239670831026, "Transcript / Interview": 0.00013091243189297867, "Tutorial / How-To Guide": 0.032511362578975606, "User Reviews": 5.724370829873461e-05, "NONE": 0.9436601647036059}, "tertiary": {"Academic Writing": 0.00011669481016891807, "Content Listing": 0.00010273374975717967, "Creative Writing": 0.00011227076084805976, "Customer Support Page": 0.0001304866219605517, "Q&A Forum": 4.483029565080118e-05, "Discussion Thread": 3.5656697252950254e-05, "Comment Section": 0.0001037982336097667, "Missing Content": 0.00021829026876456144, "Knowledge Article": 0.0010060484482768653, "Legal Notices": 0.0003402708799055712, "News Article": 6.21749387830467e-05, "Organizational Announcement": 8.049811056135352e-05, "Nonfiction Writing": 7.632030734588452e-05, "Organizational About Page": 8.582588293611856e-05, "Personal About Page": 5.2024613913609024e-05, "Personal Blog": 6.161914912014065e-05, "Product Page": 5.381018259197749e-05, "Spam / Ads": 9.575363555565058e-05, "Structured Data": 0.002936236201080324, "Technical Writing": 0.011337383065674, "Transcript / Interview": 8.586247765887769e-05, "Tutorial / How-To Guide": 0.019799031919676663, "User Reviews": 3.3882615409860725e-05, "NONE": 0.9630284961334974}, "structured_records": {"false": 0.9927888022132391, "true": 0.007211197786760961}, "procedural_steps": {"false": 0.6916053738424612, "true": 0.30839462615753876}, "worked_solution": {"false": 0.998793422355398, "true": 0.001206577644602022}, "contextual_dialogue": {"false": 0.9999948167669398, "true": 5.1832330602391215e-06}, "content_quality": {"-2": 0.019741957200705155, "-1": 0.08546869869028953, "0": 0.316874676000058, "1": 0.43900774526861175, "2": 0.1389069228403356}, "noise_severity": {"0": 0.9902237149866189, "1": 0.008122807219848122, "2": 0.0010898465999673902, "3": 0.0003294216891614655, "4": 0.00023420950440424166}, "missing_content_severity": {"0": 0.9950220429357591, "1": 0.0036625415116768715, "2": 0.000827097977867281, "3": 0.00036735517246491, "4": 0.00012096240223191947}, "factual_density": {"0": 0.007712113494712118, "1": 0.02219848796589084, "2": 0.1373258486556834, "3": 0.37402086755697167, "4": 0.458742682326742}, "pretraining_utility": {"-2": 0.009106885934106666, "-1": 0.0699580928836271, "0": 0.3488739820840097, "1": 0.4966141955582888, "2": 0.07544684353996767}, "math_density": {"0": 0.9832113393586206, "1": 0.014907664251717885, "2": 0.0009090382239764182, "3": 0.0003773844427107292, "4": 0.0005945737229742249}, "code_density": {"0": 0.0003335114290573529, "1": 0.0006103805028977883, "2": 0.013334091571970514, "3": 0.10337641274931596, "4": 0.8823456037467583}, "reasoning_density": {"0": 0.6976573856962534, "1": 0.11230417359142914, "2": 0.135009162705692, "3": 0.0390182943114119, "4": 0.016010983695213612}, "education_level": {"none": 0.0008913250490859466, "0": 0.0013855364523940972, "1": 0.003768903287562177, "2": 0.28061477964426357, "3": 0.5484841543437742, "4": 0.1648553012229201}, "creative_writing_quality": {"not_applicable": 0.9993990986243038, "-2": 8.723453455148837e-05, "-1": 0.00014634393165770457, "0": 0.00025131046079302627, "1": 8.290683227702969e-05, "2": 3.310561641713826e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 0.00010856738136185755, "Art & Design": 0.0002015944395524647, "Law & Crime": 0.000149667963872346, "Education & Careers": 8.877208947826518e-05, "Entertainment & Media": 8.578874639930659e-05, "Fashion & Beauty": 0.00010042459803107586, "Business, Economics & Finance": 0.00015100677103511124, "Food & Dining": 7.60964728998902e-05, "Games & Gaming": 0.00013540820454777496, "Electronics & Hardware": 0.03247529238208735, "Health, Healthcare & Wellness": 9.962864454372966e-05, "History & Geography": 0.00014838764777564008, "Home, Pets & Hobbies": 9.109496754815308e-05, "Industry & Production": 0.00019710281401667606, "Language, Literature & Philosophy": 8.990994995744254e-05, "Politics & Government": 6.747842770771889e-05, "Religion & Spirituality": 8.610940259345705e-05, "Science, Mathematics & Engineering": 0.0004895062718249177, "Relationships & Community": 7.143872330875649e-05, "Software Usage & Applications": 0.035424009107163486, "Programming & Software Engineering": 0.928566808464804, "Sports & Fitness": 0.00010943892291810758, "Vehicles & Transportation": 6.779966509818108e-05, "Travel & Tourism": 9.753510316910865e-05, "Other / Uncovered Subject": 0.0006941430816653313, "Unknown / Insufficient Content": 0.00012698975663991298}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0008670972045070123, "Art & Design": 0.0009545294676300789, "Law & Crime": 0.0008153726857893724, "Education & Careers": 0.00045474018941498286, "Entertainment & Media": 0.0005980628769682809, "Fashion & Beauty": 0.0004547146033664943, "Business, Economics & Finance": 0.0009564904668592912, "Food & Dining": 0.0003894736175383536, "Games & Gaming": 0.00048735232313940475, "Electronics & Hardware": 0.27193260567295774, "Health, Healthcare & Wellness": 0.0005345261833763836, "History & Geography": 0.000557710607809861, "Home, Pets & Hobbies": 0.000442500933950575, "Industry & Production": 0.0007891246153608969, "Language, Literature & Philosophy": 0.00033258217550893166, "Politics & Government": 0.0003417497866488167, "Religion & Spirituality": 0.000547451347880667, "Science, Mathematics & Engineering": 0.0014318863989962389, "Relationships & Community": 0.00032402623521260774, "Software Usage & Applications": 0.1465213064998385, "Programming & Software Engineering": 0.18244908080813765, "Sports & Fitness": 0.0004414791830953788, "Vehicles & Transportation": 0.0003204669874817877, "Travel & Tourism": 0.000555789867694231, "Other / Uncovered Subject": 0.0015631792251768115, "NONE": 0.3849367000356597}}, "probabilities": {"primary": {"Academic Writing": 9.663173844254458e-05, "Content Listing": 8.401630185692988e-05, "Creative Writing": 7.743861236477118e-05, "Customer Support Page": 6.365639109232274e-05, "Q&A Forum": 4.3734106803923526e-05, "Discussion Thread": 3.6071488142618904e-05, "Comment Section": 6.199308644343572e-05, "Missing Content": 7.429297713209576e-05, "Knowledge Article": 0.00018875646919368035, "Legal Notices": 7.753689679983137e-05, "News Article": 2.5938587096508302e-05, "Organizational Announcement": 4.48430413867031e-05, "Nonfiction Writing": 5.051551102901197e-05, "Organizational About Page": 4.9442758847960894e-05, "Personal About Page": 4.2940373116574616e-05, "Personal Blog": 3.15148433794055e-05, "Product Page": 3.128619271779808e-05, "Spam / Ads": 4.745646968295868e-05, "Structured Data": 0.0004286903551567195, "Technical Writing": 0.9760559123904033, "Transcript / Interview": 6.836677909173694e-05, "Tutorial / How-To Guide": 0.018472697729487175, "User Reviews": 3.1620935009210795e-05, "Other / Unknown": 0.0038146459653227004}, "secondary": {"Academic Writing": 0.00022729100123063123, "Content Listing": 0.00017590197438800825, "Creative Writing": 0.00018889559990761798, "Customer Support Page": 0.0001875938753275348, "Q&A Forum": 8.862143889184912e-05, "Discussion Thread": 6.786691147257486e-05, "Comment Section": 0.00015562864828811646, "Missing Content": 0.00025974062987668483, "Knowledge Article": 0.000717749490674669, "Legal Notices": 0.0002176561846784265, "News Article": 0.00010525581924626345, "Organizational Announcement": 0.00011362041301428274, "Nonfiction Writing": 9.84731009893949e-05, "Organizational About Page": 0.00011670657292532715, "Personal About Page": 9.576278515898164e-05, "Personal Blog": 9.937931000239893e-05, "Product Page": 7.167425917492908e-05, "Spam / Ads": 0.00012669151883423275, "Structured Data": 0.0014235673723138726, "Technical Writing": 0.019102239670831026, "Transcript / Interview": 0.00013091243189297867, "Tutorial / How-To Guide": 0.032511362578975606, "User Reviews": 5.724370829873461e-05, "NONE": 0.9436601647036059}, "tertiary": {"Academic Writing": 0.00011669481016891804, "Content Listing": 0.00010273374975717965, "Creative Writing": 0.00011227076084805973, "Customer Support Page": 0.00013048662196055166, "Q&A Forum": 4.483029565080117e-05, "Discussion Thread": 3.565669725295025e-05, "Comment Section": 0.00010379823360976667, "Missing Content": 0.00021829026876456139, "Knowledge Article": 0.0010060484482768651, "Legal Notices": 0.00034027087990557114, "News Article": 6.217493878304668e-05, "Organizational Announcement": 8.04981105613535e-05, "Nonfiction Writing": 7.63203073458845e-05, "Organizational About Page": 8.582588293611854e-05, "Personal About Page": 5.202461391360901e-05, "Personal Blog": 6.161914912014064e-05, "Product Page": 5.3810182591977475e-05, "Spam / Ads": 9.575363555565055e-05, "Structured Data": 0.002936236201080323, "Technical Writing": 0.011337383065673999, "Transcript / Interview": 8.586247765887767e-05, "Tutorial / How-To Guide": 0.01979903191967666, "User Reviews": 3.388261540986072e-05, "NONE": 0.9630284961334972}, "structured_records": {"false": 0.9927888022132391, "true": 0.007211197786760961}, "procedural_steps": {"false": 0.6916053738424612, "true": 0.30839462615753876}, "worked_solution": {"false": 0.998793422355398, "true": 0.001206577644602022}, "contextual_dialogue": {"false": 0.9999948167669398, "true": 5.1832330602391215e-06}, "content_quality": {"-2": 0.019741957200705155, "-1": 0.08546869869028953, "0": 0.316874676000058, "1": 0.43900774526861175, "2": 0.1389069228403356}, "noise_severity": {"0": 0.9902237149866189, "1": 0.008122807219848122, "2": 0.0010898465999673902, "3": 0.0003294216891614655, "4": 0.00023420950440424166}, "missing_content_severity": {"0": 0.9950220429357589, "1": 0.0036625415116768706, "2": 0.0008270979778672808, "3": 0.0003673551724649099, "4": 0.00012096240223191944}, "factual_density": {"0": 0.007712113494712118, "1": 0.02219848796589084, "2": 0.1373258486556834, "3": 0.37402086755697167, "4": 0.458742682326742}, "pretraining_utility": {"-2": 0.009106885934106667, "-1": 0.06995809288362712, "0": 0.34887398208400977, "1": 0.49661419555828884, "2": 0.07544684353996768}, "math_density": {"0": 0.9832113393586207, "1": 0.014907664251717887, "2": 0.0009090382239764183, "3": 0.00037738444271072927, "4": 0.000594573722974225}, "code_density": {"0": 0.00033351142905735295, "1": 0.0006103805028977884, "2": 0.013334091571970515, "3": 0.10337641274931597, "4": 0.8823456037467584}, "reasoning_density": {"0": 0.6976573856962534, "1": 0.11230417359142914, "2": 0.135009162705692, "3": 0.0390182943114119, "4": 0.016010983695213612}, "education_level": {"none": 0.0008913250490859466, "0": 0.0013855364523940972, "1": 0.003768903287562177, "2": 0.28061477964426357, "3": 0.5484841543437742, "4": 0.1648553012229201}, "creative_writing_quality": {"not_applicable": 0.9993990986243035, "-2": 8.723453455148836e-05, "-1": 0.00014634393165770455, "0": 0.0002513104607930262, "1": 8.290683227702968e-05, "2": 3.3105616417138255e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 0.00010856738136185755, "Art & Design": 0.0002015944395524647, "Law & Crime": 0.000149667963872346, "Education & Careers": 8.877208947826518e-05, "Entertainment & Media": 8.578874639930659e-05, "Fashion & Beauty": 0.00010042459803107586, "Business, Economics & Finance": 0.00015100677103511124, "Food & Dining": 7.60964728998902e-05, "Games & Gaming": 0.00013540820454777496, "Electronics & Hardware": 0.03247529238208735, "Health, Healthcare & Wellness": 9.962864454372966e-05, "History & Geography": 0.00014838764777564008, "Home, Pets & Hobbies": 9.109496754815308e-05, "Industry & Production": 0.00019710281401667606, "Language, Literature & Philosophy": 8.990994995744254e-05, "Politics & Government": 6.747842770771889e-05, "Religion & Spirituality": 8.610940259345705e-05, "Science, Mathematics & Engineering": 0.0004895062718249177, "Relationships & Community": 7.143872330875649e-05, "Software Usage & Applications": 0.035424009107163486, "Programming & Software Engineering": 0.928566808464804, "Sports & Fitness": 0.00010943892291810758, "Vehicles & Transportation": 6.779966509818108e-05, "Travel & Tourism": 9.753510316910865e-05, "Other / Uncovered Subject": 0.0006941430816653313, "Unknown / Insufficient Content": 0.00012698975663991298}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0008670972045070123, "Art & Design": 0.0009545294676300789, "Law & Crime": 0.0008153726857893724, "Education & Careers": 0.00045474018941498286, "Entertainment & Media": 0.0005980628769682809, "Fashion & Beauty": 0.0004547146033664943, "Business, Economics & Finance": 0.0009564904668592912, "Food & Dining": 0.0003894736175383536, "Games & Gaming": 0.00048735232313940475, "Electronics & Hardware": 0.27193260567295774, "Health, Healthcare & Wellness": 0.0005345261833763836, "History & Geography": 0.000557710607809861, "Home, Pets & Hobbies": 0.000442500933950575, "Industry & Production": 0.0007891246153608969, "Language, Literature & Philosophy": 0.00033258217550893166, "Politics & Government": 0.0003417497866488167, "Religion & Spirituality": 0.000547451347880667, "Science, Mathematics & Engineering": 0.0014318863989962389, "Relationships & Community": 0.00032402623521260774, "Software Usage & Applications": 0.1465213064998385, "Programming & Software Engineering": 0.18244908080813765, "Sports & Fitness": 0.0004414791830953788, "Vehicles & Transportation": 0.0003204669874817877, "Travel & Tourism": 0.000555789867694231, "Other / Uncovered Subject": 0.0015631792251768115, "NONE": 0.3849367000356597}}, "probability_diagnostics": {"primary": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "secondary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "tertiary": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "structured_records": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "procedural_steps": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "worked_solution": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "contextual_dialogue": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "content_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "noise_severity": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "missing_content_severity": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "factual_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "pretraining_utility": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "math_density": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "code_density": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "reasoning_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "education_level": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "creative_writing_quality": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "primary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}}, "usage": {"input_tokens": 10388, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 10388, "cached_share": null, "cache_discount_reported": null, "reported_cost_usd": null}, "response_metadata": {"model": "decision-models/baseten-mammoth-27b-latest"}, "scored_at_utc": "2026-10-25T18:37:16.752816+00:00", "scoring_key_slot": "primary", "dataset_uid": "9e464ec2-5fe0-43fb-87f5-cf867c469b4d", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "f2932417b2800dff021b202c12e6be03593aec8e9ad7eeb5e891a49555a8f066", "source_metadata": {"uuid": "9e464ec2-5fe0-43fb-87f5-cf867c469b4d", "repo_name": "borball/mno-with-abi", "relative_path": "node-boot.sh", "category": "TOOL", "algo_rel_score": 0.9915809035301208, "quality_score": 3.7571301460266113, "source_meta": {"github_metadata": {"branch": "master", "commit_count": 195, "repo_created_at": "2023-05-03T01:51:55.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 4, "forks": 4, "issues": 1, "pull_requests": 0}, "file_meta": {"content_id": "437adbec073bf877fdb7daf5be9d013bea5171f9", "size_bytes": 5996, "file_timestamp": 1752677744, "language": "shell", "is_vendor": false, "license_type": "permissive", "detected_licenses": ["Apache-2.0"]}, "commit_id": "1b2a5f790b7a339c8e01716bf79b824cfec70a9b"}}, "parsed_source_meta": {"github_metadata": {"branch": "master", "commit_count": 195, "repo_created_at": "2023-05-03T01:51:55.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 4, "forks": 4, "issues": 1, "pull_requests": 0}, "file_meta": {"content_id": "437adbec073bf877fdb7daf5be9d013bea5171f9", "size_bytes": 5996, "file_timestamp": 1752677744, "language": "shell", "is_vendor": false, "license_type": "permissive", "detected_licenses": ["Apache-2.0"]}, "commit_id": "1b2a5f790b7a339c8e01716bf79b824cfec70a9b", "url": "https://github.com/borball/mno-with-abi/blob/1b2a5f790b7a339c8e01716bf79b824cfec70a9b/node-boot.sh"}, "gpt4o_tokens": 1770, "dataset_split": "shell", "probability_weighted_scores": {"content_quality": 0.5918689778575831, "noise_severity": 0.012227603504884265, "missing_content_severity": 0.00690265259373384, "factual_density": 3.2538835172551406, "pretraining_utility": 0.5593360178863838, "math_density": 0.02023618891969981, "code_density": 3.8667902168818205, "reasoning_density": 0.5634213167179033, "education_level": 2.872432401450311, "creative_writing_quality": -0.2857289774888552}, "score_applicability": {"education_level": 0.9991086749509142, "creative_writing_quality": 0.000600901375696387}} {"source_group": "shell", "source": "openbmb/UltraData-Stack-v3-L2/shell", "domain": "github.com", "language": "shell", "url": "https://github.com/spruceUI/spruceOS/blob/78b4643d4fe96e406a5ced22ab14f9677d022655/Emu/.emu_setup/m3u_generator.sh", "id": "shell-0-24c17fca80f0c603ff316cedd3acc971", "text": "#!/bin/sh\n\n. /mnt/SDCARD/spruce/scripts/helperFunctions.sh\n\nICON_PATH=\"/mnt/SDCARD/Themes/SPRUCE/Icons/App/gamelist.png\"\nROMS_DIR=\"/mnt/SDCARD/Roms\"\nDISC_EXTS=\"cue|gdi|chd|pbp|iso|dsk\"\nSYSTEM=\"$(echo \"$1\" | cut -d'/' -f5)\"\n\ngenerate_cues() {\n cd \"$ROMS_DIR\"\n find $SYSTEM -maxdepth 3 -type f -name \"*.bin\" | while read -r target; do\n dirname=\"$(dirname \"$target\")\"\n basename=\"$(basename \"$target\")\"\n cuename=\"${basename%.*}\"\n cuepath=\"$dirname/$cuename.cue\"\n\n if echo \"$cuename\" | grep -q ' (Track [0-9][0-9]*)$' || [ -f \"$cuepath\" ]; then\n continue\n fi \n\n echo \"FILE \\\"$basename\\\" BINARY\n TRACK 01 MODE1/2352\n INDEX 01 00:00:00\" > \"$cuepath\"\n done\n\n find $SYSTEM -maxdepth 1 -type f -name \"*_cache6.db\" -exec rm -f {} +\n}\n\ndisplay --icon \"$ICON_PATH\" -t \"Generating M3Us... this shouldn't take longer than a few seconds\"\n\ngenerate_cues # generate any missing cue sheets\n\nFULLPATH=\"$ROMS_DIR/$SYSTEM\"\n\nif [ -d \"$FULLPATH\" ]; then\n cd \"$FULLPATH\"\n # Redump/No-Intro (revisionless)\n find . -maxdepth 1 ! -iname '*.m3u' -type f -iname \"*([Dd][Ii][Ss][KkCc] 1).*[$DISC_EXTS]\" | while read -r line; do\n FILENAME=\"$(echo \"${line%.*}\" | sed 's@./@@g' | sed 's@ ([Dd][Ii][Ss][KkCc] 1)@@g')\"\n DIRNAME=\".${FILENAME%\"${FILENAME##*[![:space:]]}\"}\" # remove spaces at the end\n SEARCH_NAME=\"$(echo \"${line%.*}\" | sed 's@./@@g' | sed 's@([Dd][Ii][Ss][KkCc] 1)@([Dd][Ii][Ss][KkCc] ?)@g')\"\n\n sync\n mkdir -p \"$DIRNAME\"\n\n find . -maxdepth 1 ! -iname '*.m3u' -type f -iname \"$SEARCH_NAME.*\" -exec mv -n -- '{}' \"$DIRNAME\" \\; # move discs to directory\n find \"$DIRNAME\" ! -iname '*.m3u' -type f -iname \"$SEARCH_NAME*.*[$DISC_EXTS]\" | sed -e 's/^//' | sort > \"$FILENAME.m3u\" # create playlist of discs\n done\n\n # Redump/No-Intro (with revisions)\n find . -maxdepth 1 ! -iname '*.m3u' -type f -iname \"*([Dd][Ii][Ss][KkCc] 1) *.*[$DISC_EXTS]\" | while read -r line; do\n FILENAME=\"$(echo \"${line%.*}\" | sed 's@./@@g' | sed 's@ ([Dd][Ii][Ss][KkCc] 1)@@g')\"\n DIRNAME=\".${FILENAME%\"${FILENAME##*[![:space:]]}\"}\" # remove spaces at the end\n SEARCH_NAME=\"$(echo \"${FILENAME}\" | sed 's@([Dd][Ii][Ss][KkCc] 1)@([Dd][Ii][Ss][KkCc] ?)@g')\"\n\n sync\n mkdir -p \"$DIRNAME\"\n\n find . -maxdepth 1 ! -iname '*.m3u' -type f -iname \"$SEARCH_NAME.*\" -exec mv -n -- '{}' \"$DIRNAME\" \\; # move discs to directory\n find \"$DIRNAME\" ! -iname '*.m3u' -type f -iname \"$SEARCH_NAME*.*[$DISC_EXTS]\" | sort > \"$FILENAME.m3u\" # create playlist of discs\n done\n\n # TOSEC\n find . -maxdepth 1 ! -iname '*.m3u' -type f -iname \"*([Dd][Ii][Ss][KkCc] 1 of ?).*[$DISC_EXTS]\" | while read -r line; do\n FILENAME=\"$(echo \"${line%.*}\" | sed 's@./@@g' | sed 's@([Dd][Ii][Ss][KkCc] 1 of .*)@@g')\"\n DIRNAME=\".${FILENAME%\"${FILENAME##*[![:space:]]}\"}\" # remove spaces at the end\n SEARCH_NAME=\"$(echo \"${line%.*}\" | sed 's@./@@g' | sed 's@([Dd][Ii][Ss][KkCc] 1 of@([Dd][Ii][Ss][KkCc] ? of@g')\"\n\n sync\n mkdir -p \"$DIRNAME\"\n\n find . -maxdepth 1 ! -iname '*.m3u' -type f -iname \"$SEARCH_NAME*.*\" -exec mv -n -- '{}' \"$DIRNAME\" \\; # move discs to directory\n find \"$DIRNAME\" ! -iname '*.m3u' -type f -iname \"$SEARCH_NAME*.*[$DISC_EXTS]\" | sort > \"$FILENAME.m3u\" # create playlist of discs\n done\nelse\n echo \"Directory $FULLPATH does not exist.\"\nfi\n\ncd \"$ROMS_DIR\"\nfind $SYSTEM -maxdepth 1 -type f -name \"*_cache6.db\" -exec rm -f {} +\nsync\n\ndisplay_kill\nauto_regen_tmp_update", "text_preview": "#!/bin/sh . /mnt/SDCARD/spruce/scripts/helperFunctions.sh ICON_PATH=\"/mnt/SDCARD/Themes/SPRUCE/Icons/App/gamelist.png\" ROMS_DIR=\"/mnt/SDCARD/Roms\" DISC_EXTS=\"cue|gdi|chd|pbp|iso|dsk\" SYSTEM=\"$(echo \"$1\" | cut -d'/' -f5)\" generate_cues() { c", "input_sha256": "e273cba193f084c390cc5b56e8bea81e5b1ab66edd10da31d21323555cf26626", "text_sha256": "24c17fca80f0c603ff316cedd3acc97132a51dc4f08c1359bd465efe8f66eaeb", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 20126, "input_policy": "text-and-optional-url-v1", "label_policy_version": 12, "requested_model": "decision-models/baseten-mammoth-27b-latest", "backend": "baseten", "endpoint": "https://inference.baseten.co/v1/systemone", "status": "ok", "training_eligible": true, "label": {"primary": {"main_format": "Technical Writing", "sub_format": null}, "secondary": null, "tertiary": null, "content_structure": []}, "candidate_label": null, "topic": {"primary": {"main_topic": "Programming & Software Engineering", "sub_topic": null}, "secondary": null}, "scores": {"content_quality": 1, "noise_severity": 0, "missing_content_severity": 0, "factual_density": 3, "pretraining_utility": 0, "math_density": 0, "code_density": 4, "reasoning_density": 0, "education_level": 2, "creative_writing_quality": null}, "score_expectations": {"content_quality": 0.8530990434241306, "noise_severity": 0.017990044812151475, "missing_content_severity": 0.006934862033726005, "factual_density": 3.0927272482429866, "pretraining_utility": 0.22528241738798757, "math_density": 0.011361541404398979, "code_density": 3.865652225591087, "reasoning_density": 0.5010206109155676, "education_level": 2.2861791311991304, "creative_writing_quality": -0.1800587708777715}, "api_choices": {"primary": "Technical Writing", "secondary": "NONE", "tertiary": "NONE", "education_level": "2", "creative_writing_quality": "not_applicable", "primary_topic": "Programming & Software Engineering", "secondary_topic": "NONE"}, "review_reasons": [], "format_slot_diagnostics": {"comparable": true, "secondary_tertiary_identical": false, "secondary_tertiary_max_abs_gap": 0.01461260745232107, "secondary_choice": "NONE", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.990670979763392, "secondary": 0.9730852300781987, "tertiary": 0.9883331682893165, "structured_records": 0.0024511186540655816, "procedural_steps": 0.06800910175203002, "worked_solution": 0.001593167984983511, "contextual_dialogue": 3.965571251354544e-06, "content_quality": 0.5313557422244783, "noise_severity": 0.9850082959898737, "missing_content_severity": 0.9942209483052283, "factual_density": 0.45105711721276576, "pretraining_utility": 0.48388083693296036, "math_density": 0.9905320488296675, "code_density": 0.8880435213259059, "reasoning_density": 0.582482824237027, "education_level": 0.6289148568944687, "creative_writing_quality": 0.9985414842066909, "primary_topic": 0.9439940339987044, "secondary_topic": 0.7783930276462145}, "probability_margin": {"primary": 0.9871198262796007, "secondary": 0.9582530101271013, "tertiary": 0.9834968516973707, "education_level": 0.4604391877887264, "creative_writing_quality": 0.9980569810383785, "primary_topic": 0.9063036065260336, "secondary_topic": 0.6758798102983851}, "raw_probabilities": {"primary": {"Academic Writing": 4.31885928657444e-05, "Content Listing": 3.683797636773195e-05, "Creative Writing": 3.393995453286431e-05, "Customer Support Page": 2.3215845448492553e-05, "Q&A Forum": 1.9653066480759645e-05, "Discussion Thread": 1.4250496251141736e-05, "Comment Section": 2.5202544638531662e-05, "Missing Content": 4.38912698923215e-05, "Knowledge Article": 0.0001260286511889618, "Legal Notices": 5.0296544091520394e-05, "News Article": 1.0007699871749214e-05, "Organizational Announcement": 2.200478654890247e-05, "Nonfiction Writing": 2.4569918534699373e-05, "Organizational About Page": 2.387353549403028e-05, "Personal About Page": 2.1355012575473013e-05, "Personal Blog": 1.2507412328869594e-05, "Product Page": 1.4202548860468963e-05, "Spam / Ads": 1.9587352492167813e-05, "Structured Data": 0.0007030577519160513, "Technical Writing": 0.9910596889399174, "Transcript / Interview": 2.8106408904281388e-05, "Tutorial / How-To Guide": 0.0036920278074902314, "User Reviews": 1.2643222990821921e-05, "Other / Unknown": 0.003939862660316703}, "secondary": {"Academic Writing": 0.0001298233050555492, "Content Listing": 0.00012343791463258644, "Creative Writing": 0.00011736535995229479, "Customer Support Page": 7.262297227734785e-05, "Q&A Forum": 3.983849435103598e-05, "Discussion Thread": 3.239089138050385e-05, "Comment Section": 0.0001269128622768378, "Missing Content": 0.00017293215990032057, "Knowledge Article": 0.0003469968688113706, "Legal Notices": 0.00014661788757480934, "News Article": 5.36522323369984e-05, "Organizational Announcement": 5.686218047216035e-05, "Nonfiction Writing": 6.236262605812767e-05, "Organizational About Page": 6.0377128692157525e-05, "Personal About Page": 4.913677110929218e-05, "Personal Blog": 4.722366895891504e-05, "Product Page": 3.435303425119036e-05, "Spam / Ads": 5.517937464751766e-05, "Structured Data": 0.0022072645260591485, "Technical Writing": 0.015953668697839093, "Transcript / Interview": 7.207242023689792e-05, "Tutorial / How-To Guide": 0.005804313787587677, "User Reviews": 2.7916010597867173e-05, "NONE": 0.9742066788249404}, "tertiary": {"Academic Writing": 7.259948486929429e-05, "Content Listing": 0.0001579560508459029, "Creative Writing": 7.458377331296481e-05, "Customer Support Page": 4.470786251600907e-05, "Q&A Forum": 2.0768039825021748e-05, "Discussion Thread": 1.723180623250037e-05, "Comment Section": 8.812908560812086e-05, "Missing Content": 0.0001859328536198907, "Knowledge Article": 0.00038536581647950004, "Legal Notices": 0.00017687724973337174, "News Article": 3.293601889047964e-05, "Organizational Announcement": 3.520040218311868e-05, "Nonfiction Writing": 5.765913445931084e-05, "Organizational About Page": 4.5675943895954126e-05, "Personal About Page": 2.735900519400569e-05, "Personal Blog": 2.886842864342704e-05, "Product Page": 2.278895427240969e-05, "Spam / Ads": 3.5760388635597096e-05, "Structured Data": 0.0012271803054565704, "Technical Writing": 0.005322434579890985, "Transcript / Interview": 4.1398537798331603e-05, "Tutorial / How-To Guide": 0.0030612215267966465, "User Reviews": 1.8078473579049005e-05, "NONE": 0.9888192862772617}, "structured_records": {"false": 0.9975488813459344, "true": 0.0024511186540655816}, "procedural_steps": {"false": 0.93199089824797, "true": 0.06800910175203002}, "worked_solution": {"false": 0.9984068320150165, "true": 0.001593167984983511}, "contextual_dialogue": {"false": 0.9999960344287486, "true": 3.965571251354544e-06}, "content_quality": {"-2": 0.0099371368807056, "-1": 0.040304056693745594, "0": 0.24421750892363975, "1": 0.4978052211245309, "2": 0.20773607637737823}, "noise_severity": {"0": 0.9845821477355736, "1": 0.013700107556350784, "2": 0.0011311700824792668, "3": 0.0003187014115435418, "4": 0.00026787321405288296}, "missing_content_severity": {"0": 0.9957821110498501, "1": 0.002292888338514568, "2": 0.0012977565755964474, "3": 0.000462515600136725, "4": 0.00016472843590209174}, "factual_density": {"0": 0.011337909313130995, "1": 0.034659955088643495, "2": 0.1796684674341672, "3": 0.3986043143702244, "4": 0.3757293537938339}, "pretraining_utility": {"-2": 0.014760431823957485, "-1": 0.16750942549831502, "0": 0.44798956398878664, "1": 0.31716845084366413, "2": 0.05257212784527671}, "math_density": {"0": 0.9924575448344185, "1": 0.005893820356050995, "2": 0.00040840466746557236, "3": 0.00031000885484229083, "4": 0.0009302212872224912}, "code_density": {"0": 0.0003972518821374868, "1": 0.000753974555660805, "2": 0.016875381906149903, "3": 0.09674607940108072, "4": 0.8852273122549711}, "reasoning_density": {"0": 0.7594604926805125, "1": 0.07432970498828449, "2": 0.09731370931363005, "3": 0.04352088477026872, "4": 0.025375208247304215}, "education_level": {"none": 0.00126371508477686, "0": 0.0021867902011058022, "1": 0.030353324088163994, "2": 0.6907623807453905, "3": 0.23032319295666412, "4": 0.04511059692389863}, "creative_writing_quality": {"not_applicable": 0.9987845701722424, "-2": 0.00012039749352620115, "-1": 0.0001925747267429504, "0": 0.0007275891338639048, "1": 0.00013521603432825252, "2": 3.9652439296430076e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 0.00013057445838423676, "Art & Design": 0.0001537458453531641, "Law & Crime": 0.00012690929685978328, "Education & Careers": 7.586647417809513e-05, "Entertainment & Media": 0.0005172901695107765, "Fashion & Beauty": 8.536374688667397e-05, "Business, Economics & Finance": 9.09676041382053e-05, "Food & Dining": 7.27517371376676e-05, "Games & Gaming": 0.039844503088105304, "Electronics & Hardware": 0.0007476018542579335, "Health, Healthcare & Wellness": 5.625578102848093e-05, "History & Geography": 0.00010802361216913475, "Home, Pets & Hobbies": 0.00038731163286496133, "Industry & Production": 7.781947548505016e-05, "Language, Literature & Philosophy": 7.553939096955045e-05, "Politics & Government": 4.590173668187429e-05, "Religion & Spirituality": 7.521791420160955e-05, "Science, Mathematics & Engineering": 0.000157189692433981, "Relationships & Community": 5.001586808371675e-05, "Software Usage & Applications": 0.009824740790901076, "Programming & Software Engineering": 0.9461481096141389, "Sports & Fitness": 0.00010263270017553153, "Vehicles & Transportation": 4.521917424664491e-05, "Travel & Tourism": 9.488977273250779e-05, "Other / Uncovered Subject": 0.0007729090775964168, "Unknown / Insufficient Content": 0.00013264949147890942}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.001251440523436858, "Art & Design": 0.0010875306622899243, "Law & Crime": 0.0006993263845733328, "Education & Careers": 0.0003554133755391864, "Entertainment & Media": 0.0036734032229865194, "Fashion & Beauty": 0.0003195093847473225, "Business, Economics & Finance": 0.0006820367985254249, "Food & Dining": 0.00027239186287398177, "Games & Gaming": 0.11103656243835965, "Electronics & Hardware": 0.005024592153918068, "Health, Healthcare & Wellness": 0.0003297582935189624, "History & Geography": 0.0003764008240705443, "Home, Pets & Hobbies": 0.0009613721091556399, "Industry & Production": 0.0002853386102464648, "Language, Literature & Philosophy": 0.00029475497655433093, "Politics & Government": 0.00026844465411270455, "Religion & Spirituality": 0.00040203999952366867, "Science, Mathematics & Engineering": 0.0006119069763280037, "Relationships & Community": 0.00024310121825686456, "Software Usage & Applications": 0.05004094084417729, "Programming & Software Engineering": 0.032273752976529305, "Sports & Fitness": 0.00032764954443528224, "Vehicles & Transportation": 0.0001758315037577124, "Travel & Tourism": 0.000492779763097345, "Other / Uncovered Subject": 0.0015973481622408576, "NONE": 0.7869163727367448}}, "probabilities": {"primary": {"Academic Writing": 4.3188592865744406e-05, "Content Listing": 3.683797636773196e-05, "Creative Writing": 3.393995453286432e-05, "Customer Support Page": 2.3215845448492557e-05, "Q&A Forum": 1.9653066480759648e-05, "Discussion Thread": 1.4250496251141738e-05, "Comment Section": 2.5202544638531666e-05, "Missing Content": 4.389126989232151e-05, "Knowledge Article": 0.00012602865118896184, "Legal Notices": 5.02965440915204e-05, "News Article": 1.0007699871749216e-05, "Organizational Announcement": 2.2004786548902474e-05, "Nonfiction Writing": 2.4569918534699376e-05, "Organizational About Page": 2.3873535494030283e-05, "Personal About Page": 2.1355012575473016e-05, "Personal Blog": 1.2507412328869596e-05, "Product Page": 1.4202548860468965e-05, "Spam / Ads": 1.9587352492167817e-05, "Structured Data": 0.0007030577519160514, "Technical Writing": 0.9910596889399175, "Transcript / Interview": 2.810640890428139e-05, "Tutorial / How-To Guide": 0.003692027807490232, "User Reviews": 1.2643222990821923e-05, "Other / Unknown": 0.003939862660316704}, "secondary": {"Academic Writing": 0.0001298233050555492, "Content Listing": 0.00012343791463258644, "Creative Writing": 0.00011736535995229479, "Customer Support Page": 7.262297227734785e-05, "Q&A Forum": 3.983849435103598e-05, "Discussion Thread": 3.239089138050385e-05, "Comment Section": 0.0001269128622768378, "Missing Content": 0.00017293215990032057, "Knowledge Article": 0.0003469968688113706, "Legal Notices": 0.00014661788757480934, "News Article": 5.36522323369984e-05, "Organizational Announcement": 5.686218047216035e-05, "Nonfiction Writing": 6.236262605812767e-05, "Organizational About Page": 6.0377128692157525e-05, "Personal About Page": 4.913677110929218e-05, "Personal Blog": 4.722366895891504e-05, "Product Page": 3.435303425119036e-05, "Spam / Ads": 5.517937464751766e-05, "Structured Data": 0.0022072645260591485, "Technical Writing": 0.015953668697839093, "Transcript / Interview": 7.207242023689792e-05, "Tutorial / How-To Guide": 0.005804313787587677, "User Reviews": 2.7916010597867173e-05, "NONE": 0.9742066788249404}, "tertiary": {"Academic Writing": 7.259948486929428e-05, "Content Listing": 0.00015795605084590288, "Creative Writing": 7.45837733129648e-05, "Customer Support Page": 4.4707862516009065e-05, "Q&A Forum": 2.0768039825021744e-05, "Discussion Thread": 1.7231806232500366e-05, "Comment Section": 8.812908560812085e-05, "Missing Content": 0.00018593285361989066, "Knowledge Article": 0.00038536581647949993, "Legal Notices": 0.0001768772497333717, "News Article": 3.293601889047963e-05, "Organizational Announcement": 3.520040218311867e-05, "Nonfiction Writing": 5.7659134459310823e-05, "Organizational About Page": 4.567594389595412e-05, "Personal About Page": 2.7359005194005684e-05, "Personal Blog": 2.8868428643427033e-05, "Product Page": 2.2788954272409688e-05, "Spam / Ads": 3.576038863559709e-05, "Structured Data": 0.0012271803054565702, "Technical Writing": 0.005322434579890984, "Transcript / Interview": 4.13985377983316e-05, "Tutorial / How-To Guide": 0.0030612215267966456, "User Reviews": 1.8078473579049e-05, "NONE": 0.9888192862772615}, "structured_records": {"false": 0.9975488813459344, "true": 0.0024511186540655816}, "procedural_steps": {"false": 0.93199089824797, "true": 0.06800910175203002}, "worked_solution": {"false": 0.9984068320150165, "true": 0.001593167984983511}, "contextual_dialogue": {"false": 0.9999960344287486, "true": 3.965571251354544e-06}, "content_quality": {"-2": 0.0099371368807056, "-1": 0.040304056693745594, "0": 0.24421750892363975, "1": 0.4978052211245309, "2": 0.20773607637737823}, "noise_severity": {"0": 0.9845821477355736, "1": 0.013700107556350784, "2": 0.0011311700824792668, "3": 0.0003187014115435418, "4": 0.00026787321405288296}, "missing_content_severity": {"0": 0.9957821110498501, "1": 0.002292888338514568, "2": 0.0012977565755964474, "3": 0.000462515600136725, "4": 0.00016472843590209174}, "factual_density": {"0": 0.011337909313130995, "1": 0.034659955088643495, "2": 0.1796684674341672, "3": 0.3986043143702244, "4": 0.3757293537938339}, "pretraining_utility": {"-2": 0.014760431823957485, "-1": 0.16750942549831502, "0": 0.44798956398878664, "1": 0.31716845084366413, "2": 0.05257212784527671}, "math_density": {"0": 0.9924575448344186, "1": 0.005893820356050996, "2": 0.0004084046674655724, "3": 0.0003100088548422909, "4": 0.0009302212872224913}, "code_density": {"0": 0.0003972518821374868, "1": 0.000753974555660805, "2": 0.016875381906149903, "3": 0.09674607940108072, "4": 0.8852273122549711}, "reasoning_density": {"0": 0.7594604926805125, "1": 0.07432970498828449, "2": 0.09731370931363005, "3": 0.04352088477026872, "4": 0.025375208247304215}, "education_level": {"none": 0.0012637150847768601, "0": 0.0021867902011058027, "1": 0.030353324088163998, "2": 0.6907623807453906, "3": 0.23032319295666415, "4": 0.045110596923898634}, "creative_writing_quality": {"not_applicable": 0.9987845701722422, "-2": 0.00012039749352620113, "-1": 0.00019257472674295034, "0": 0.0007275891338639047, "1": 0.0001352160343282525, "2": 3.965243929643007e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 0.00013057445838423674, "Art & Design": 0.00015374584535316407, "Law & Crime": 0.00012690929685978326, "Education & Careers": 7.586647417809511e-05, "Entertainment & Media": 0.0005172901695107764, "Fashion & Beauty": 8.536374688667396e-05, "Business, Economics & Finance": 9.096760413820528e-05, "Food & Dining": 7.275173713766759e-05, "Games & Gaming": 0.0398445030881053, "Electronics & Hardware": 0.0007476018542579332, "Health, Healthcare & Wellness": 5.625578102848092e-05, "History & Geography": 0.00010802361216913473, "Home, Pets & Hobbies": 0.0003873116328649612, "Industry & Production": 7.781947548505015e-05, "Language, Literature & Philosophy": 7.553939096955043e-05, "Politics & Government": 4.5901736681874275e-05, "Religion & Spirituality": 7.521791420160954e-05, "Science, Mathematics & Engineering": 0.00015718969243398096, "Relationships & Community": 5.0015868083716734e-05, "Software Usage & Applications": 0.009824740790901074, "Programming & Software Engineering": 0.9461481096141386, "Sports & Fitness": 0.0001026327001755315, "Vehicles & Transportation": 4.5219174246644906e-05, "Travel & Tourism": 9.488977273250776e-05, "Other / Uncovered Subject": 0.0007729090775964166, "Unknown / Insufficient Content": 0.0001326494914789094}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.001251440523436858, "Art & Design": 0.0010875306622899243, "Law & Crime": 0.0006993263845733328, "Education & Careers": 0.0003554133755391864, "Entertainment & Media": 0.0036734032229865194, "Fashion & Beauty": 0.0003195093847473225, "Business, Economics & Finance": 0.0006820367985254249, "Food & Dining": 0.00027239186287398177, "Games & Gaming": 0.11103656243835965, "Electronics & Hardware": 0.005024592153918068, "Health, Healthcare & Wellness": 0.0003297582935189624, "History & Geography": 0.0003764008240705443, "Home, Pets & Hobbies": 0.0009613721091556399, "Industry & Production": 0.0002853386102464648, "Language, Literature & Philosophy": 0.00029475497655433093, "Politics & Government": 0.00026844465411270455, "Religion & Spirituality": 0.00040203999952366867, "Science, Mathematics & Engineering": 0.0006119069763280037, "Relationships & Community": 0.00024310121825686456, "Software Usage & Applications": 0.05004094084417729, "Programming & Software Engineering": 0.032273752976529305, "Sports & Fitness": 0.00032764954443528224, "Vehicles & Transportation": 0.0001758315037577124, "Travel & Tourism": 0.000492779763097345, "Other / Uncovered Subject": 0.0015973481622408576, "NONE": 0.7869163727367448}}, "probability_diagnostics": {"primary": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "secondary": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "tertiary": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "structured_records": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "procedural_steps": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "worked_solution": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "contextual_dialogue": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "content_quality": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "noise_severity": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "missing_content_severity": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "factual_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "pretraining_utility": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "math_density": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "code_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "reasoning_density": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}, "education_level": {"raw_sum": 0.9999999999999999, "mass_delta": -1.1102230246251565e-16, "missing_mass": 1.1102230246251565e-16, "excess_mass": 0.0, "valid": true, "normalized": false}, "creative_writing_quality": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "primary_topic": {"raw_sum": 1.0000000000000002, "mass_delta": 2.220446049250313e-16, "missing_mass": 0.0, "excess_mass": 2.220446049250313e-16, "valid": true, "normalized": false}, "secondary_topic": {"raw_sum": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}}, "usage": {"input_tokens": 9830, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 9830, "cached_share": null, "cache_discount_reported": null, "reported_cost_usd": null}, "response_metadata": {"model": "decision-models/baseten-mammoth-27b-latest"}, "scored_at_utc": "2026-10-25T18:37:17.466748+00:00", "scoring_key_slot": "assistant_1", "dataset_uid": "23611ca6-430a-4877-8f4b-7ed61a11863e", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "afe972e70d322c6ced19f6d37c8e974293022ce7c6d94670b89527dbc95192b0", "source_metadata": {"uuid": "23611ca6-430a-4877-8f4b-7ed61a11863e", "repo_name": "spruceUI/spruceOS", "relative_path": "Emu/.emu_setup/m3u_generator.sh", "category": "TOOL", "algo_rel_score": 0.6092490553855896, "quality_score": 3.2207729816436768, "source_meta": {"github_metadata": {"branch": "main", "commit_count": 2166, "repo_created_at": "2024-08-04T17:18:45.000Z", "is_fork": false, "is_org_owned": true, "forked_from": null, "stars": 295, "forks": 22, "issues": 22, "pull_requests": 0}, "file_meta": {"content_id": "0c1e5fb7da7cb41c7429ae25beec9eb9b90cab86", "size_bytes": 3545, "file_timestamp": 1749773182, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "78b4643d4fe96e406a5ced22ab14f9677d022655"}}, "parsed_source_meta": {"github_metadata": {"branch": "main", "commit_count": 2166, "repo_created_at": "2024-08-04T17:18:45.000Z", "is_fork": false, "is_org_owned": true, "forked_from": null, "stars": 295, "forks": 22, "issues": 22, "pull_requests": 0}, "file_meta": {"content_id": "0c1e5fb7da7cb41c7429ae25beec9eb9b90cab86", "size_bytes": 3545, "file_timestamp": 1749773182, "language": "shell", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "78b4643d4fe96e406a5ced22ab14f9677d022655", "url": "https://github.com/spruceUI/spruceOS/blob/78b4643d4fe96e406a5ced22ab14f9677d022655/Emu/.emu_setup/m3u_generator.sh"}, "gpt4o_tokens": 1257, "dataset_split": "shell", "probability_weighted_scores": {"content_quality": 0.8530990434241306, "noise_severity": 0.017990044812151475, "missing_content_severity": 0.006934862033726005, "factual_density": 3.0927272482429866, "pretraining_utility": 0.22528241738798757, "math_density": 0.011361541404398979, "code_density": 3.865652225591087, "reasoning_density": 0.5010206109155676, "education_level": 2.2861791311991304, "creative_writing_quality": -0.1800587708777715}, "score_applicability": {"education_level": 0.9987362849152233, "creative_writing_quality": 0.0012154298277577387}}