{"source_group": "csharp", "source": "openbmb/UltraData-Stack-v3-L2/csharp", "domain": "github.com", "language": "csharp", "url": "https://github.com/KSP-RO/ProceduralSolidsLibrary/blob/8d2dbcdeaea683f7183fbd092721ba6d7cb2d905/Source/HelperClasses.cs", "id": "csharp-0-f1dc6be250fc53a5e457c6f7c1f7f40a", "text": "using UnityEngine;\n\nnamespace ProceduralSolidsLibrary\n{\n\tpublic class PropellantConfig : IConfigNode\n\t{\n\t\tpublic const string nodeName = \"SRBLIB_PROPELLANT_DEFINITION\";\n\t\tprivate const float R = 8.31446261815324f; // J / K mol\n\n\t\t[Persistent] public string name;\n\t\t[Persistent] public float burnRateCoeff;\n\t\t[Persistent] public float burnRateExponent;\n\t\t[Persistent] public float heatCapacityRatio;\n\t\t[Persistent] public float density;\n\t\t[Persistent] public float characVel;\n\n\t\t// public float CharacVel => Mathf.Sqrt(heatCapacityRatio * R * combustionTemp / molarMass) / (heatCapacityRatio * Mathf.Sqrt(Mathf.Pow(2 / (heatCapacityRatio + 1), (heatCapacityRatio + 1)/(heatCapacityRatio - 1))));\n\n\t\t/// \n\t\t/// is in kg / mol\n\t\t/// is in kg / m^3\n\t\t/// \n\t\tpublic PropellantConfig(float burnRateCoeff, float burnRateExponent, float heatCapacityRatio, float density, float characVel)//, float combustionTemp, float heatCapacityRatio, float molarMass)\n\t\t{\n\t\t\tthis.burnRateCoeff = burnRateCoeff;\n\t\t\tthis.burnRateExponent = burnRateExponent;\n\t\t\tthis.heatCapacityRatio = heatCapacityRatio;\n\t\t\tthis.density = density;\n\t\t\tthis.characVel = characVel;\n\t\t\t// this.combustionTemp = combustionTemp;\n\t\t\t// this.molarMass = molarMass;\n\t\t}\n\t\tpublic PropellantConfig() {}\n\t\tpublic PropellantConfig(ConfigNode node)\n\t\t{\n\t\t\tLoad(node);\n\t\t}\n\n\t\tpublic void Load(ConfigNode node)\n\t\t{\n\t\t\tif (! (node.name.Equals(nodeName) && node.HasValue(\"name\")))\n\t\t\t\treturn;\n\n\t\t\tConfigNode.LoadObjectFromConfig(this, node);\n\t\t}\n\n\t\tpublic void Save(ConfigNode node)\n\t\t{\n\t\t\tif (name == null) return;\n\t\t\tConfigNode.CreateConfigFromObject(this, node);\n\t\t}\n\t}\n\n\tpublic class GrainGeometryConfig : IConfigNode\n\t{\n\t\tpublic const string nodeName = \"SRBLIB_GRAINGEOMETRY_DEFINITION\";\n\t\t[Persistent] public string name;\n\t\t[Persistent] public FloatCurve thrustCurve;\n\t\t[Persistent] public float burnAreaScale;\n\t\t[Persistent] public float propellantFraction;\n\n\t\tpublic GrainGeometryConfig() {}\n\t\tpublic GrainGeometryConfig(ConfigNode node)\n\t\t{\n\t\t\tLoad(node);\n\t\t}\n\n\t\tpublic void Load(ConfigNode node)\n\t\t{\n\t\t\tif (! (node.name.Equals(nodeName) && node.HasValue(\"name\")))\n\t\t\t\treturn;\n\n\t\t\tConfigNode.LoadObjectFromConfig(this, node);\n\t\t}\n\n\t\tpublic void Save(ConfigNode node)\n\t\t{\n\t\t\tif (name == null) return;\n\t\t\tConfigNode.CreateConfigFromObject(this, node);\n\t\t}\n\t}\n\n\tpublic class CasingMaterialConfig : IConfigNode\n\t{\n\t\tpublic const string nodeName = \"SRBLIB_CASINGMATERIAL_DEFINITION\";\n\n\t\t[Persistent] public string name;\n\t\t[Persistent] public float density;\n\t\t[Persistent] public float tensileStrength;\n\t\t// [Persistent] public float corrosionSafety = 0f;\n\t\t[Persistent] public float safetyFactor = 1f;\n\t\t[Persistent] public float weldEff = 1f;\n\t\t[Persistent] public float maxThicknessFraction = 1f;\n\n\t\tpublic CasingMaterialConfig(float density, float tensileStrength, float safetyFactor = 0f, float weldEff = 1f, float maxThicknessFraction = 1f)\n\t\t{\n\t\t\tthis.density = density;\n\t\t\tthis.tensileStrength = tensileStrength;\n\t\t\tthis.safetyFactor = safetyFactor;\n\t\t\tthis.weldEff = weldEff;\n\t\t\tthis.maxThicknessFraction = maxThicknessFraction;\n\t\t}\n\t\tpublic CasingMaterialConfig() {}\n\t\tpublic CasingMaterialConfig(ConfigNode node)\n\t\t{\n\t\t\tLoad(node);\n\t\t}\n\n\t\tpublic void Load(ConfigNode node)\n\t\t{\n\t\t\tif (! (node.name.Equals(nodeName) && node.HasValue(\"name\")))\n\t\t\t\treturn;\n\n\t\t\tConfigNode.LoadObjectFromConfig(this, node);\n\t\t}\n\n\t\tpublic void Save(ConfigNode node)\n\t\t{\n\t\t\tif (name == null) return;\n\t\t\tConfigNode.CreateConfigFromObject(this, node);\n\t\t}\n\t}\n\n\tpublic class NozzleConfig : IConfigNode\n\t{\n\t\tpublic const string nodeName = \"SRBLIB_NOZZLE_DEFINITION\";\n\n\t\t[Persistent] public string name;\n\t\t[Persistent] public float nozzleCoeff; // Is this needed with atmo curve?\n\t\t[Persistent] public float designPressurePa;\n\t\t[Persistent] public FloatCurve atmosphereCurve; // Currently normalized to 1 and nozzleCoeff is used to scale\n\t\t[Persistent] public float gimbalRange = 0f;\n\n\t\tpublic NozzleConfig() { nozzleCoeff = 1f; }\n\t\tpublic NozzleConfig(float nozzleCoeff)\n\t\t{\n\t\t\tthis.nozzleCoeff = nozzleCoeff;\n\t\t}\n\t\tpublic NozzleConfig(ConfigNode node)\n\t\t{\n\t\t\tLoad(node);\n\t\t}\n\n\t\tpublic void Load(ConfigNode node)\n\t\t{\n\t\t\tif (! (node.name.Equals(nodeName) && node.HasValue(\"name\")))\n\t\t\t\treturn;\n\n\t\t\tConfigNode.LoadObjectFromConfig(this, node);\n\t\t}\n\n\t\tpublic void Save(ConfigNode node)\n\t\t{\n\t\t\tif (name == null) return;\n\t\t\tConfigNode.CreateConfigFromObject(this, node);\n\t\t}\n\t}\n}\n", "text_preview": "using UnityEngine; namespace ProceduralSolidsLibrary { public class PropellantConfig : IConfigNode { public const string nodeName = \"SRBLIB_PROPELLANT_DEFINITION\"; private const float R = 8.31446261815324f; // J / K mol [Persistent] public ", "input_sha256": "c99aa684c9de408f160bb9f1e30544611156bf42d408a6aa72c561edb6bf687d", "text_sha256": "f1dc6be250fc53a5e457c6f7c1f7f40a5d47da3da9dcc3c19efb8108bf064f00", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 2001, "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": 1, "code_density": 4, "reasoning_density": 0, "education_level": 2, "creative_writing_quality": null}, "score_expectations": {"content_quality": 0.8707468421553173, "noise_severity": 0.08244394045144551, "missing_content_severity": 0.06664607865612182, "factual_density": 3.070680664219629, "pretraining_utility": 0.13060998988509648, "math_density": 1.1397402472143274, "code_density": 3.826837288018215, "reasoning_density": 0.08470987488944906, "education_level": 2.4237438044706816, "creative_writing_quality": -0.284950012006776}, "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.03138427508596109, "secondary_choice": "NONE", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.9947187340522543, "secondary": 0.949795172022018, "tertiary": 0.9825439808073687, "structured_records": 0.07284801779414735, "procedural_steps": 0.0015957200043503804, "worked_solution": 0.0005105293871812965, "contextual_dialogue": 8.109815190005002e-06, "content_quality": 0.5408374713815158, "noise_severity": 0.9312967162904621, "missing_content_severity": 0.9444616011198985, "factual_density": 0.5247337514801237, "pretraining_utility": 0.502686075247174, "math_density": 0.5455816228131987, "code_density": 0.855697740015179, "reasoning_density": 0.9294084375921258, "education_level": 0.5301542292286292, "creative_writing_quality": 0.9996679292502366, "primary_topic": 0.901416601099028, "secondary_topic": 0.5064204917820075}, "probability_margin": {"primary": 0.9917580346074536, "secondary": 0.9253252288061317, "tertiary": 0.9760728752606145, "education_level": 0.2997073196186421, "creative_writing_quality": 0.9996186977484145, "primary_topic": 0.857774001579827, "secondary_topic": 0.2899150217669151}, "raw_probabilities": {"primary": {"Academic Writing": 4.404905227289045e-05, "Content Listing": 2.7100190689650385e-05, "Creative Writing": 2.173547854418749e-05, "Customer Support Page": 9.054579755094547e-06, "Q&A Forum": 1.0355916897982727e-05, "Discussion Thread": 7.365004288365455e-06, "Comment Section": 1.085043432530113e-05, "Missing Content": 2.5954785557236972e-05, "Knowledge Article": 7.590042180280262e-05, "Legal Notices": 2.4589684341033956e-05, "News Article": 3.586322385109786e-06, "Organizational Announcement": 1.0264415873134844e-05, "Nonfiction Writing": 1.0200216247619157e-05, "Organizational About Page": 1.1559990767806966e-05, "Personal About Page": 8.665273272258598e-06, "Personal Blog": 6.712448653977742e-06, "Product Page": 9.946971753674418e-06, "Spam / Ads": 7.673196810925836e-06, "Structured Data": 0.0031807521926234678, "Technical Writing": 0.9949387868000771, "Transcript / Interview": 1.2373293100279927e-05, "Tutorial / How-To Guide": 9.028862390056707e-05, "User Reviews": 5.975635233064155e-06, "Other / Unknown": 0.0014462590708263776}, "secondary": {"Academic Writing": 0.0004655400680460134, "Content Listing": 0.0003289983089873585, "Creative Writing": 0.00033340192302298973, "Customer Support Page": 0.0001410539739423575, "Q&A Forum": 0.0001326064240407635, "Discussion Thread": 0.00010597557464092438, "Comment Section": 0.000250297666024767, "Missing Content": 0.0008334424343359509, "Knowledge Article": 0.0029966910044511184, "Legal Notices": 0.00034093127919362134, "News Article": 0.00011608549846739175, "Organizational Announcement": 0.00013797022084681494, "Nonfiction Writing": 0.00014612708982403866, "Organizational About Page": 0.00015979737024468795, "Personal About Page": 0.0001356969255883433, "Personal Blog": 0.00012491762458183907, "Product Page": 0.00010662524051305911, "Spam / Ads": 0.00013384512809892896, "Structured Data": 0.02656181104830219, "Technical Writing": 0.013679891672334202, "Transcript / Interview": 0.00018961717916193, "Tutorial / How-To Guide": 0.0006285456409331605, "User Reviews": 6.3090849983669e-05, "NONE": 0.9518870398544339}, "tertiary": {"Academic Writing": 0.0001599308413891018, "Content Listing": 0.00011895908656659716, "Creative Writing": 0.00011403649171928151, "Customer Support Page": 4.932007910760213e-05, "Q&A Forum": 4.483750314215407e-05, "Discussion Thread": 3.720821542553001e-05, "Comment Section": 0.00014737074847193473, "Missing Content": 0.00045358507506462477, "Knowledge Article": 0.0009857644931824843, "Legal Notices": 0.00014936088375654933, "News Article": 4.007593334673249e-05, "Organizational Announcement": 4.584455636473488e-05, "Nonfiction Writing": 5.32092278385534e-05, "Organizational About Page": 7.281396162293664e-05, "Personal About Page": 4.170165721399958e-05, "Personal Blog": 4.413122871982358e-05, "Product Page": 4.31151793661985e-05, "Spam / Ads": 4.556968051387457e-05, "Structured Data": 0.0071984396797804655, "Technical Writing": 0.006439840298687946, "Transcript / Interview": 5.712982730317813e-05, "Tutorial / How-To Guide": 0.00036249571031040387, "User Reviews": 2.3944700710373862e-05, "NONE": 0.983271314940395}, "structured_records": {"false": 0.9271519822058527, "true": 0.07284801779414735}, "procedural_steps": {"false": 0.9984042799956496, "true": 0.0015957200043503804}, "worked_solution": {"false": 0.9994894706128187, "true": 0.0005105293871812965}, "contextual_dialogue": {"false": 0.9999918901848099, "true": 8.109815190005002e-06}, "content_quality": {"-2": 0.006085927715099867, "-1": 0.022732051326181904, "0": 0.27640221029576845, "1": 0.4839088724142007, "2": 0.2108709382487492}, "noise_severity": {"0": 0.9261473131799293, "1": 0.0678418901455667, "2": 0.0042374501049909155, "3": 0.0009662361821546808, "4": 0.0008071103873582299}, "missing_content_severity": {"0": 0.9444135717157557, "1": 0.047457739117833596, "2": 0.005772049028813011, "3": 0.0017823190697288042, "4": 0.0005743210678689487}, "factual_density": {"0": 0.006452551137992667, "1": 0.023038018900071892, "2": 0.18438572578798965, "3": 0.46562362295220583, "4": 0.32050008122174006}, "pretraining_utility": {"-2": 0.014476784592620062, "-1": 0.20412979072390727, "0": 0.4694042696455865, "1": 0.26028496028152814, "2": 0.05170419475635785}, "math_density": {"0": 0.20278090270491722, "1": 0.6003577495899719, "2": 0.10730531609885174, "3": 0.03345226099838478, "4": 0.056103770607874394}, "code_density": {"0": 0.00035000788033425596, "1": 0.0007201358348542065, "2": 0.02486788229706458, "3": 0.1198665083617565, "4": 0.8541954656259905}, "reasoning_density": {"0": 0.9407699459559209, "1": 0.03794330265340163, "2": 0.018285994327457995, "3": 0.001808444671746161, "4": 0.001192312391473235}, "education_level": {"none": 0.0017752732627471005, "0": 0.0016905368281350482, "1": 0.013672503094894869, "2": 0.6084618576905243, "3": 0.3087545380718822, "4": 0.06564529105181639}, "creative_writing_quality": {"not_applicable": 0.9997232743751971, "-2": 4.3136482360290865e-05, "-1": 7.049336014538167e-05, "0": 0.00010457662678265854, "1": 3.912495627379485e-05, "2": 1.939419924097166e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 0.00012435881042637922, "Art & Design": 0.0002527574996384546, "Law & Crime": 0.00024638196258750975, "Education & Careers": 0.00013193813776949726, "Entertainment & Media": 0.0005973958226254134, "Fashion & Beauty": 0.00014575787082569497, "Business, Economics & Finance": 0.00015637432469599836, "Food & Dining": 0.00012574637986952395, "Games & Gaming": 0.0364879641114822, "Electronics & Hardware": 0.0003020213580689674, "Health, Healthcare & Wellness": 0.00016095106017133785, "History & Geography": 0.00019920325977899024, "Home, Pets & Hobbies": 0.00020709693819134147, "Industry & Production": 0.0008678254629730877, "Language, Literature & Philosophy": 0.0001140167277129754, "Politics & Government": 7.512799387737648e-05, "Religion & Spirituality": 0.0001274848515569721, "Science, Mathematics & Engineering": 0.04743426870769991, "Relationships & Community": 5.8642427825307684e-05, "Software Usage & Applications": 0.00038588083991846124, "Programming & Software Engineering": 0.9052082702875269, "Sports & Fitness": 0.0002573002614302415, "Vehicles & Transportation": 0.003989344431854531, "Travel & Tourism": 0.00016665394399545275, "Other / Uncovered Subject": 0.0019089393450494642, "Unknown / Insufficient Content": 0.00026829718244790295}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0010817372285173506, "Art & Design": 0.001047139650606717, "Law & Crime": 0.0007964152209742634, "Education & Careers": 0.0004840622540510056, "Entertainment & Media": 0.003321342913768558, "Fashion & Beauty": 0.0004343192223380054, "Business, Economics & Finance": 0.0006828015939043689, "Food & Dining": 0.0004528838139052313, "Games & Gaming": 0.13943313802237012, "Electronics & Hardware": 0.0009444924238581631, "Health, Healthcare & Wellness": 0.0005727123008109447, "History & Geography": 0.0005643703819820979, "Home, Pets & Hobbies": 0.0006099631112201716, "Industry & Production": 0.0012274287787175293, "Language, Literature & Philosophy": 0.00029657398675851854, "Politics & Government": 0.0002965983115655078, "Religion & Spirituality": 0.0005404087041189578, "Science, Mathematics & Engineering": 0.23548929725424603, "Relationships & Community": 0.00020238244188339752, "Software Usage & Applications": 0.0007438447606094839, "Programming & Software Engineering": 0.07274664937811998, "Sports & Fitness": 0.0007310516168019221, "Vehicles & Transportation": 0.00948361370866585, "Travel & Tourism": 0.0006395297578621008, "Other / Uncovered Subject": 0.0017729241411826593, "NONE": 0.5254043190211611}}, "probabilities": {"primary": {"Academic Writing": 4.4049052272890455e-05, "Content Listing": 2.7100190689650388e-05, "Creative Writing": 2.1735478544187493e-05, "Customer Support Page": 9.054579755094548e-06, "Q&A Forum": 1.0355916897982728e-05, "Discussion Thread": 7.365004288365456e-06, "Comment Section": 1.0850434325301131e-05, "Missing Content": 2.5954785557236975e-05, "Knowledge Article": 7.590042180280264e-05, "Legal Notices": 2.458968434103396e-05, "News Article": 3.5863223851097866e-06, "Organizational Announcement": 1.0264415873134846e-05, "Nonfiction Writing": 1.0200216247619159e-05, "Organizational About Page": 1.1559990767806968e-05, "Personal About Page": 8.6652732722586e-06, "Personal Blog": 6.7124486539777425e-06, "Product Page": 9.94697175367442e-06, "Spam / Ads": 7.673196810925837e-06, "Structured Data": 0.003180752192623468, "Technical Writing": 0.9949387868000772, "Transcript / Interview": 1.2373293100279929e-05, "Tutorial / How-To Guide": 9.028862390056709e-05, "User Reviews": 5.975635233064156e-06, "Other / Unknown": 0.0014462590708263778}, "secondary": {"Academic Writing": 0.0004655400680460134, "Content Listing": 0.0003289983089873585, "Creative Writing": 0.00033340192302298973, "Customer Support Page": 0.0001410539739423575, "Q&A Forum": 0.0001326064240407635, "Discussion Thread": 0.00010597557464092438, "Comment Section": 0.000250297666024767, "Missing Content": 0.0008334424343359509, "Knowledge Article": 0.0029966910044511184, "Legal Notices": 0.00034093127919362134, "News Article": 0.00011608549846739175, "Organizational Announcement": 0.00013797022084681494, "Nonfiction Writing": 0.00014612708982403866, "Organizational About Page": 0.00015979737024468795, "Personal About Page": 0.0001356969255883433, "Personal Blog": 0.00012491762458183907, "Product Page": 0.00010662524051305911, "Spam / Ads": 0.00013384512809892896, "Structured Data": 0.02656181104830219, "Technical Writing": 0.013679891672334202, "Transcript / Interview": 0.00018961717916193, "Tutorial / How-To Guide": 0.0006285456409331605, "User Reviews": 6.3090849983669e-05, "NONE": 0.9518870398544339}, "tertiary": {"Academic Writing": 0.0001599308413891018, "Content Listing": 0.00011895908656659716, "Creative Writing": 0.00011403649171928151, "Customer Support Page": 4.932007910760213e-05, "Q&A Forum": 4.483750314215407e-05, "Discussion Thread": 3.720821542553001e-05, "Comment Section": 0.00014737074847193473, "Missing Content": 0.00045358507506462477, "Knowledge Article": 0.0009857644931824843, "Legal Notices": 0.00014936088375654933, "News Article": 4.007593334673249e-05, "Organizational Announcement": 4.584455636473488e-05, "Nonfiction Writing": 5.32092278385534e-05, "Organizational About Page": 7.281396162293664e-05, "Personal About Page": 4.170165721399958e-05, "Personal Blog": 4.413122871982358e-05, "Product Page": 4.31151793661985e-05, "Spam / Ads": 4.556968051387457e-05, "Structured Data": 0.0071984396797804655, "Technical Writing": 0.006439840298687946, "Transcript / Interview": 5.712982730317813e-05, "Tutorial / How-To Guide": 0.00036249571031040387, "User Reviews": 2.3944700710373862e-05, "NONE": 0.983271314940395}, "structured_records": {"false": 0.9271519822058527, "true": 0.07284801779414735}, "procedural_steps": {"false": 0.9984042799956496, "true": 0.0015957200043503804}, "worked_solution": {"false": 0.9994894706128187, "true": 0.0005105293871812965}, "contextual_dialogue": {"false": 0.9999918901848099, "true": 8.109815190005002e-06}, "content_quality": {"-2": 0.006085927715099865, "-1": 0.0227320513261819, "0": 0.2764022102957684, "1": 0.4839088724142006, "2": 0.21087093824874914}, "noise_severity": {"0": 0.9261473131799295, "1": 0.06784189014556671, "2": 0.004237450104990916, "3": 0.000966236182154681, "4": 0.0008071103873582301}, "missing_content_severity": {"0": 0.9444135717157557, "1": 0.047457739117833596, "2": 0.005772049028813011, "3": 0.0017823190697288042, "4": 0.0005743210678689487}, "factual_density": {"0": 0.006452551137992667, "1": 0.023038018900071892, "2": 0.18438572578798965, "3": 0.46562362295220583, "4": 0.32050008122174006}, "pretraining_utility": {"-2": 0.014476784592620064, "-1": 0.2041297907239073, "0": 0.46940426964558657, "1": 0.2602849602815282, "2": 0.05170419475635786}, "math_density": {"0": 0.20278090270491722, "1": 0.6003577495899719, "2": 0.10730531609885174, "3": 0.03345226099838478, "4": 0.056103770607874394}, "code_density": {"0": 0.00035000788033425596, "1": 0.0007201358348542065, "2": 0.02486788229706458, "3": 0.1198665083617565, "4": 0.8541954656259905}, "reasoning_density": {"0": 0.940769945955921, "1": 0.03794330265340164, "2": 0.018285994327457998, "3": 0.0018084446717461613, "4": 0.0011923123914732352}, "education_level": {"none": 0.0017752732627471007, "0": 0.0016905368281350485, "1": 0.01367250309489487, "2": 0.6084618576905244, "3": 0.30875453807188225, "4": 0.0656452910518164}, "creative_writing_quality": {"not_applicable": 0.9997232743751969, "-2": 4.313648236029086e-05, "-1": 7.049336014538166e-05, "0": 0.00010457662678265851, "1": 3.9124956273794844e-05, "2": 1.9394199240971656e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 0.00012435881042637925, "Art & Design": 0.0002527574996384547, "Law & Crime": 0.0002463819625875098, "Education & Careers": 0.0001319381377694973, "Entertainment & Media": 0.0005973958226254136, "Fashion & Beauty": 0.000145757870825695, "Business, Economics & Finance": 0.0001563743246959984, "Food & Dining": 0.00012574637986952398, "Games & Gaming": 0.03648796411148221, "Electronics & Hardware": 0.00030202135806896746, "Health, Healthcare & Wellness": 0.00016095106017133788, "History & Geography": 0.00019920325977899027, "Home, Pets & Hobbies": 0.0002070969381913415, "Industry & Production": 0.0008678254629730878, "Language, Literature & Philosophy": 0.00011401672771297541, "Politics & Government": 7.512799387737649e-05, "Religion & Spirituality": 0.00012748485155697213, "Science, Mathematics & Engineering": 0.047434268707699914, "Relationships & Community": 5.864242782530769e-05, "Software Usage & Applications": 0.0003858808399184613, "Programming & Software Engineering": 0.905208270287527, "Sports & Fitness": 0.00025730026143024157, "Vehicles & Transportation": 0.003989344431854532, "Travel & Tourism": 0.00016665394399545278, "Other / Uncovered Subject": 0.0019089393450494644, "Unknown / Insufficient Content": 0.000268297182447903}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0010817372285173506, "Art & Design": 0.001047139650606717, "Law & Crime": 0.0007964152209742634, "Education & Careers": 0.0004840622540510056, "Entertainment & Media": 0.003321342913768558, "Fashion & Beauty": 0.0004343192223380054, "Business, Economics & Finance": 0.0006828015939043689, "Food & Dining": 0.0004528838139052313, "Games & Gaming": 0.13943313802237012, "Electronics & Hardware": 0.0009444924238581631, "Health, Healthcare & Wellness": 0.0005727123008109447, "History & Geography": 0.0005643703819820979, "Home, Pets & Hobbies": 0.0006099631112201716, "Industry & Production": 0.0012274287787175293, "Language, Literature & Philosophy": 0.00029657398675851854, "Politics & Government": 0.0002965983115655078, "Religion & Spirituality": 0.0005404087041189578, "Science, Mathematics & Engineering": 0.23548929725424603, "Relationships & Community": 0.00020238244188339752, "Software Usage & Applications": 0.0007438447606094839, "Programming & Software Engineering": 0.07274664937811998, "Sports & Fitness": 0.0007310516168019221, "Vehicles & Transportation": 0.00948361370866585, "Travel & Tourism": 0.0006395297578621008, "Other / Uncovered Subject": 0.0017729241411826593, "NONE": 0.5254043190211611}}, "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.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.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": 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.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": 9856, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 9856, "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:05.084192+00:00", "scoring_key_slot": "assistant_1", "dataset_uid": "fab28238-f83e-44bf-a29b-fb616f56ca90", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "ee38ab69556cb8e51a7093efe2ce46612ed07a39cb4cdd9ced26e7be92c8de0f", "source_metadata": {"uuid": "fab28238-f83e-44bf-a29b-fb616f56ca90", "repo_name": "KSP-RO/ProceduralSolidsLibrary", "relative_path": "Source/HelperClasses.cs", "category": "CONFIG", "algo_rel_score": 0.6983113884925842, "quality_score": 5.879278659820557, "source_meta": {"github_metadata": {"branch": "master", "commit_count": 7, "repo_created_at": "2022-08-06T19:27:24.000Z", "is_fork": false, "is_org_owned": true, "forked_from": null, "stars": 3, "forks": 3, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "8f1c776bf306276d3f2db9966d1e8b24214b4062", "size_bytes": 4525, "file_timestamp": 1687670648, "language": "c#", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "8d2dbcdeaea683f7183fbd092721ba6d7cb2d905"}}, "parsed_source_meta": {"github_metadata": {"branch": "master", "commit_count": 7, "repo_created_at": "2022-08-06T19:27:24.000Z", "is_fork": false, "is_org_owned": true, "forked_from": null, "stars": 3, "forks": 3, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "8f1c776bf306276d3f2db9966d1e8b24214b4062", "size_bytes": 4525, "file_timestamp": 1687670648, "language": "c#", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "8d2dbcdeaea683f7183fbd092721ba6d7cb2d905", "url": "https://github.com/KSP-RO/ProceduralSolidsLibrary/blob/8d2dbcdeaea683f7183fbd092721ba6d7cb2d905/Source/HelperClasses.cs"}, "gpt4o_tokens": 1222, "dataset_split": "csharp", "probability_weighted_scores": {"content_quality": 0.8707468421553174, "noise_severity": 0.08244394045144551, "missing_content_severity": 0.06664607865612182, "factual_density": 3.070680664219629, "pretraining_utility": 0.13060998988509648, "math_density": 1.1397402472143274, "code_density": 3.826837288018215, "reasoning_density": 0.08470987488944906, "education_level": 2.4237438044706816, "creative_writing_quality": -0.284950012006776}, "score_applicability": {"education_level": 0.9982247267372529, "creative_writing_quality": 0.0002767256248030975}} {"source_group": "csharp", "source": "openbmb/UltraData-Stack-v3-L2/csharp", "domain": "github.com", "language": "csharp", "url": "https://github.com/RedMeansWar/SharpQL/blob/bfe3d7ebc7950d456efda4567057818cb029dcf8/Execution/QueryExecutor.cs", "id": "csharp-0-ffb44eea1095ba737655962345d29e10", "text": "using System.Data.Common;\n\n#if NET9_0_OR_GREATER\nusing Microsoft.Data.SqlClient;\n#else\nusing System.Data.SqlClient;\n#endif\n\nusing SharpQL.Connection;\n\nnamespace SharpQL.Execution;\n\npublic static class QueryExecutor\n{\n /// \n /// Executes an SQL command against a database connection and returns the number of rows affected.\n /// \n /// The SQL command to execute against the database.\n /// An optional dictionary containing parameter names and their corresponding values to be included in the SQL command.\n /// The number of rows affected by the command.\n public static int ExecuteNonQuery(string sql, Dictionary? parameters = null)\n {\n using var connection = Db.Create();\n using var command = CreateCommand(connection, sql, parameters);\n connection.Open();\n return command.ExecuteNonQuery();\n }\n\n /// \n /// Executes an SQL command asynchronously against a database connection and returns the number of rows affected.\n /// \n /// The SQL command to execute against the database.\n /// An optional dictionary containing parameter names and their corresponding values to be included in the SQL command.\n /// A task representing the asynchronous operation, containing the number of rows affected by the command.\n public static async Task ExecuteNonQueryAsync(string sql, Dictionary? parameters = null)\n {\n using var connection = await Db.CreateAsync();\n using var command = CreateCommand(connection, sql, parameters);\n return await command.ExecuteNonQueryAsync();\n }\n\n /// \n /// Executes an SQL query and retrieves the first column of the first row in the result set returned by the query.\n /// Additional rows and columns are ignored.\n /// \n /// The SQL query to execute against the database.\n /// An optional dictionary containing parameter names and their corresponding values to be included in the query.\n /// The first column of the first row in the result set, or null if the result set is empty.\n public static object? ExecuteScalar(string sql, Dictionary? parameters = null)\n {\n using var connection = Db.Create();\n using var command = CreateCommand(connection, sql, parameters);\n connection.Open();\n return command.ExecuteScalar();\n }\n\n /// \n /// Asynchronously executes an SQL query and retrieves the first column of the first row in the result set returned by the query.\n /// Additional rows and columns are ignored.\n /// \n /// The SQL query to execute against the database.\n /// An optional dictionary containing parameter names and their corresponding values to be included in the query.\n /// A task representing the asynchronous operation, containing the first column of the first row in the result set, or null if the result set is empty.\n public static async Task ExecuteScalarAsync(string sql, Dictionary? parameters = null)\n {\n using var connection = await Db.CreateAsync();\n using var command = CreateCommand(connection, sql, parameters);\n \n return await command.ExecuteScalarAsync();\n }\n\n /// \n /// Executes an SQL query and retrieves the results as a list of dictionaries, where each dictionary represents a row and maps column names to their corresponding values.\n /// \n /// The SQL query to execute against the database.\n /// An optional dictionary containing parameter names and their corresponding values to be included in the query.\n /// A list of dictionaries that represent the result set of the query.\n public static List> ExecuteReader(string sql, Dictionary? parameters = null)\n {\n using var connection = Db.Create();\n using var command = CreateCommand(connection, sql, parameters);\n connection.Open();\n \n using var reader = command.ExecuteReader();\n return ReadAll(reader);\n }\n\n /// \n /// Asynchronously executes an SQL query and retrieves the results as a list of dictionaries, where each dictionary represents a row and maps column names to their corresponding values.\n /// \n /// The SQL query to execute against the database.\n /// An optional dictionary containing parameter names and their corresponding values to be included in the query.\n /// A task representing the asynchronous operation, containing a list of dictionaries that represent the result set of the query.\n public static async Task>> ExecuteReaderAsync(string sql, Dictionary? parameters = null)\n {\n using var connection = await Db.CreateAsync();\n using var command = CreateCommand(connection, sql, parameters);\n using var reader = await command.ExecuteReaderAsync();\n\n return await ReadAllAsync(reader);\n }\n\n /// \n /// Creates a database command with the specified SQL query and optional parameters for a given database connection.\n /// \n /// The database connection used to create the command.\n /// The SQL query to be executed by the command.\n /// An optional dictionary containing parameter names and their values to be added to the command.\n /// A database command configured with the provided SQL query and parameters.\n private static DbCommand CreateCommand(DbConnection connection, string sql, Dictionary? parameters)\n {\n var command = connection.CreateCommand();\n command.CommandText = sql;\n\n if (parameters is null) return command;\n \n foreach (var param in parameters)\n {\n var dbParam = command.CreateParameter();\n dbParam.ParameterName = param.Key;\n dbParam.Value = param.Value;\n command.Parameters.Add(dbParam);\n }\n\n return command;\n }\n\n /// \n /// Reads all rows from the provided DbDataReader and converts them into a list of dictionaries,\n /// where each dictionary represents a row with column names as keys and their respective values.\n /// \n /// The DbDataReader instance to read data from.\n /// A list of dictionaries, each representing a row of data, with column names as keys and their corresponding values.\n private static List> ReadAll(DbDataReader reader)\n {\n var results = new List>();\n while (reader.Read())\n {\n var row = new Dictionary();\n for (int i = 0; i < reader.FieldCount; i++)\n {\n row[reader.GetName(i)] = reader.IsDBNull(i) ? null! : reader.GetValue(i);\n }\n \n results.Add(row);\n }\n \n return results;\n }\n\n /// \n /// Reads all rows from the provided DbDataReader and converts them into a list of dictionaries,\n /// where each dictionary represents a row with column names as keys and their respective values.\n /// \n /// The DbDataReader instance to read data from.\n /// A task representing the asynchronous operation. The task result contains a list of dictionaries, each representing a row of data.\n private static async Task>> ReadAllAsync(DbDataReader reader)\n {\n var result = new List>();\n while (await reader.ReadAsync())\n {\n var row = new Dictionary();\n for (int i = 0; i < reader.FieldCount; i++)\n {\n row[reader.GetName(i)] = await reader.IsDBNullAsync(i) ? null! : reader.GetValue(i);\n }\n \n result.Add(row);\n }\n\n return result;\n }\n}", "text_preview": "using System.Data.Common; #if NET9_0_OR_GREATER using Microsoft.Data.SqlClient; #else using System.Data.SqlClient; #endif using SharpQL.Connection; namespace SharpQL.Execution; public static class QueryExecutor { /// /// Executes ", "input_sha256": "4841df06bd3f753162bf5cb60e85c926b2fff84d541f3ae9dae80a38e55515bf", "text_sha256": "ffb44eea1095ba737655962345d29e1025bb359ac3a5f8ea4dcdf56d23a6e4d0", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 2004, "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.2003031866181886, "noise_severity": 0.02995885372289112, "missing_content_severity": 0.013213461226634058, "factual_density": 3.2703114107574676, "pretraining_utility": 0.689445175765142, "math_density": 0.11556982097194826, "code_density": 3.643950324221566, "reasoning_density": 0.2044237657060587, "education_level": 2.2234802855470717, "creative_writing_quality": -0.10056562879614826}, "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.01933822142222741, "secondary_choice": "NONE", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.9974491560351808, "secondary": 0.9732124343742699, "tertiary": 0.9933914480322463, "structured_records": 0.014199626808091005, "procedural_steps": 0.02164455592009284, "worked_solution": 0.002179101202653796, "contextual_dialogue": 5.465668251904084e-06, "content_quality": 0.5769983685187271, "noise_severity": 0.9750342885642574, "missing_content_severity": 0.9889887823111383, "factual_density": 0.3919261756312228, "pretraining_utility": 0.562706304676214, "math_density": 0.9036918158567098, "code_density": 0.7032919368513046, "reasoning_density": 0.8296468619116177, "education_level": 0.7113439463393746, "creative_writing_quality": 0.9990173498787617, "primary_topic": 0.9977618975429564, "secondary_topic": 0.9752985472749047}, "probability_margin": {"primary": 0.9963507181695799, "secondary": 0.9541153483585527, "tertiary": 0.9897442033583838, "education_level": 0.5486620685036809, "creative_writing_quality": 0.9987576056153481, "primary_topic": 0.9969725191441848, "secondary_topic": 0.9618092839279304}, "raw_probabilities": {"primary": {"Academic Writing": 3.0760509947986125e-05, "Content Listing": 2.0191789569467276e-05, "Creative Writing": 1.6148979767318466e-05, "Customer Support Page": 1.1131064830676427e-05, "Q&A Forum": 1.0855217071902249e-05, "Discussion Thread": 6.741829018658367e-06, "Comment Section": 1.2569224072543304e-05, "Missing Content": 2.57037579778108e-05, "Knowledge Article": 0.00013580084232462625, "Legal Notices": 2.4072628174458576e-05, "News Article": 4.047926056467326e-06, "Organizational Announcement": 1.0073173759000191e-05, "Nonfiction Writing": 9.853543809818395e-06, "Organizational About Page": 1.0584680960689276e-05, "Personal About Page": 9.373251656182619e-06, "Personal Blog": 6.784523775627816e-06, "Product Page": 7.868515449086154e-06, "Spam / Ads": 7.752186440974304e-06, "Structured Data": 0.0005010766415511504, "Technical Writing": 0.9975554412003816, "Transcript / Interview": 1.3745784140053631e-05, "Tutorial / How-To Guide": 0.0003582611408020703, "User Reviews": 6.438557659838378e-06, "Other / Unknown": 0.001204723030801803}, "secondary": {"Academic Writing": 0.00012554440868568773, "Content Listing": 9.328707374853837e-05, "Creative Writing": 0.0001228635125974823, "Customer Support Page": 9.179981052653617e-05, "Q&A Forum": 4.290757100168939e-05, "Discussion Thread": 3.88391370526954e-05, "Comment Section": 0.00010561167109547165, "Missing Content": 0.0002088216546496922, "Knowledge Article": 0.001042735585485906, "Legal Notices": 0.00018629438342721943, "News Article": 6.712465280789656e-05, "Organizational Announcement": 6.203502865600283e-05, "Nonfiction Writing": 6.033468990141865e-05, "Organizational About Page": 7.827011847767654e-05, "Personal About Page": 5.7209302640552715e-05, "Personal Blog": 5.336492029330622e-05, "Product Page": 5.1255147099741164e-05, "Spam / Ads": 5.965964193531399e-05, "Structured Data": 0.00148951034462891, "Technical Writing": 0.020213234583455877, "Transcript / Interview": 7.142367375662694e-05, "Tutorial / How-To Guide": 0.0013189227949834618, "User Reviews": 3.0367351083621392e-05, "NONE": 0.9743285829420086}, "tertiary": {"Academic Writing": 4.997120298613627e-05, "Content Listing": 4.1948369142730806e-05, "Creative Writing": 5.737225790645148e-05, "Customer Support Page": 2.9765030752435894e-05, "Q&A Forum": 1.6878121281449805e-05, "Discussion Thread": 1.334847814496711e-05, "Comment Section": 4.211628561728683e-05, "Missing Content": 0.00019681319374846841, "Knowledge Article": 0.0002994533085355823, "Legal Notices": 0.00013093685436794868, "News Article": 2.795955214429423e-05, "Organizational Announcement": 2.5027693504015688e-05, "Nonfiction Writing": 2.5348238966644418e-05, "Organizational About Page": 4.2013007097041703e-05, "Personal About Page": 2.1402564382823224e-05, "Personal Blog": 2.0861603421703774e-05, "Product Page": 2.3997147628920984e-05, "Spam / Ads": 2.5290637520607154e-05, "Structured Data": 0.0004949686005699326, "Technical Writing": 0.003922601005852253, "Transcript / Interview": 2.511388669295195e-05, "Tutorial / How-To Guide": 0.0007852956717197383, "User Reviews": 1.4712923779521439e-05, "NONE": 0.993666804364236}, "structured_records": {"false": 0.9858003731919089, "true": 0.014199626808091005}, "procedural_steps": {"false": 0.9783554440799072, "true": 0.02164455592009284}, "worked_solution": {"false": 0.9978208987973463, "true": 0.002179101202653796}, "contextual_dialogue": {"false": 0.9999945343317481, "true": 5.465668251904084e-06}, "content_quality": {"-2": 0.003864693388815674, "-1": 0.01410981960536773, "0": 0.11383566620248702, "1": 0.5142372486054716, "2": 0.35395257219785803}, "noise_severity": {"0": 0.9741043403884269, "1": 0.023062402185634913, "2": 0.0019941265012608255, "3": 0.0004483251639742879, "4": 0.00039080576070292164}, "missing_content_severity": {"0": 0.9925407866688961, "1": 0.0032256500655247597, "2": 0.003011190398417638, "3": 0.0009240611043716847, "4": 0.0002983117627897419}, "factual_density": {"0": 0.0028852723375791933, "1": 0.00910349642060519, "2": 0.13296634540633093, "3": 0.42490431981773846, "4": 0.43014056601774625}, "pretraining_utility": {"-2": 0.006396265538154707, "-1": 0.04061646613315742, "0": 0.3172319004309216, "1": 0.5286565628209237, "2": 0.10709880507684252}, "math_density": {"0": 0.9204416237357708, "1": 0.06315472101272306, "2": 0.005183681936388058, "3": 0.0028321571740229545, "4": 0.008387816141095052}, "code_density": {"0": 0.0005545389719943459, "1": 0.0011086634055243044, "2": 0.04373702156353049, "3": 0.26303148654682307, "4": 0.6915682895121278}, "reasoning_density": {"0": 0.8855258977338722, "1": 0.04228973066046713, "2": 0.05756215276813769, "3": 0.011479145840775275, "4": 0.003143072996747581}, "education_level": {"none": 0.0009291328437581665, "0": 0.0012862510351412915, "1": 0.013342096717775248, "2": 0.7594532886161455, "3": 0.21079122011246454, "4": 0.014198010674715284}, "creative_writing_quality": {"not_applicable": 0.999181124898968, "-2": 5.0695508686468316e-05, "-1": 0.00018244283931394988, "0": 0.0004235192836199352, "1": 0.00012295177157691209, "2": 3.9265697834597824e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 3.526102656892477e-05, "Art & Design": 3.360441023382687e-05, "Law & Crime": 3.233666833886561e-05, "Education & Careers": 3.0689305855379174e-05, "Entertainment & Media": 2.0167270941987343e-05, "Fashion & Beauty": 1.3220060738731758e-05, "Business, Economics & Finance": 4.512087786688616e-05, "Food & Dining": 1.8038120856903728e-05, "Games & Gaming": 5.345841517409971e-05, "Electronics & Hardware": 9.909435645241801e-05, "Health, Healthcare & Wellness": 1.95742484656215e-05, "History & Geography": 2.3024301483916474e-05, "Home, Pets & Hobbies": 1.6657718094515864e-05, "Industry & Production": 2.2504064025072096e-05, "Language, Literature & Philosophy": 4.197545993738963e-05, "Politics & Government": 1.4665552748189702e-05, "Religion & Spirituality": 2.9355633542501053e-05, "Science, Mathematics & Engineering": 0.00043249193706352304, "Relationships & Community": 1.6502917553228474e-05, "Software Usage & Applications": 0.0008754592625039796, "Programming & Software Engineering": 0.9978479784066888, "Sports & Fitness": 4.502843534002121e-05, "Vehicles & Transportation": 1.6447415167016068e-05, "Travel & Tourism": 3.290394492157807e-05, "Other / Uncovered Subject": 0.00013960584247921928, "Unknown / Insufficient Content": 4.483434695754017e-05}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0002122167070821611, "Art & Design": 0.0001426423056216382, "Law & Crime": 0.00022978616570752363, "Education & Careers": 0.0001289265716664737, "Entertainment & Media": 0.00012435990684765802, "Fashion & Beauty": 6.801949720492376e-05, "Business, Economics & Finance": 0.00018717639983379557, "Food & Dining": 6.311178939744643e-05, "Games & Gaming": 0.00013378858801339568, "Electronics & Hardware": 0.00018545358973933956, "Health, Healthcare & Wellness": 7.985571798577396e-05, "History & Geography": 7.792760377607241e-05, "Home, Pets & Hobbies": 5.976694717692464e-05, "Industry & Production": 6.782840421554302e-05, "Language, Literature & Philosophy": 0.00010211656547690496, "Politics & Government": 7.371781149669752e-05, "Religion & Spirituality": 0.0001241064824785748, "Science, Mathematics & Engineering": 0.0009876431847459124, "Relationships & Community": 6.0876124693312965e-05, "Software Usage & Applications": 0.005732751036229927, "Programming & Software Engineering": 0.014439319221016458, "Sports & Fitness": 7.37171787743615e-05, "Vehicles & Transportation": 3.8290754610656745e-05, "Travel & Tourism": 0.00012235718150549027, "Other / Uncovered Subject": 0.00023564111575613935, "NONE": 0.9762486031489469}}, "probabilities": {"primary": {"Academic Writing": 3.076050994798613e-05, "Content Listing": 2.019178956946728e-05, "Creative Writing": 1.614897976731847e-05, "Customer Support Page": 1.1131064830676428e-05, "Q&A Forum": 1.085521707190225e-05, "Discussion Thread": 6.741829018658368e-06, "Comment Section": 1.2569224072543306e-05, "Missing Content": 2.5703757977810804e-05, "Knowledge Article": 0.00013580084232462628, "Legal Notices": 2.407262817445858e-05, "News Article": 4.047926056467327e-06, "Organizational Announcement": 1.0073173759000193e-05, "Nonfiction Writing": 9.853543809818396e-06, "Organizational About Page": 1.0584680960689277e-05, "Personal About Page": 9.37325165618262e-06, "Personal Blog": 6.784523775627817e-06, "Product Page": 7.868515449086156e-06, "Spam / Ads": 7.752186440974306e-06, "Structured Data": 0.0005010766415511505, "Technical Writing": 0.9975554412003818, "Transcript / Interview": 1.3745784140053633e-05, "Tutorial / How-To Guide": 0.0003582611408020704, "User Reviews": 6.438557659838379e-06, "Other / Unknown": 0.0012047230308018032}, "secondary": {"Academic Writing": 0.00012554440868568773, "Content Listing": 9.328707374853837e-05, "Creative Writing": 0.0001228635125974823, "Customer Support Page": 9.179981052653617e-05, "Q&A Forum": 4.290757100168939e-05, "Discussion Thread": 3.88391370526954e-05, "Comment Section": 0.00010561167109547165, "Missing Content": 0.0002088216546496922, "Knowledge Article": 0.001042735585485906, "Legal Notices": 0.00018629438342721943, "News Article": 6.712465280789656e-05, "Organizational Announcement": 6.203502865600283e-05, "Nonfiction Writing": 6.033468990141865e-05, "Organizational About Page": 7.827011847767654e-05, "Personal About Page": 5.7209302640552715e-05, "Personal Blog": 5.336492029330622e-05, "Product Page": 5.1255147099741164e-05, "Spam / Ads": 5.965964193531399e-05, "Structured Data": 0.00148951034462891, "Technical Writing": 0.020213234583455877, "Transcript / Interview": 7.142367375662694e-05, "Tutorial / How-To Guide": 0.0013189227949834618, "User Reviews": 3.0367351083621392e-05, "NONE": 0.9743285829420086}, "tertiary": {"Academic Writing": 4.997120298613627e-05, "Content Listing": 4.1948369142730806e-05, "Creative Writing": 5.737225790645148e-05, "Customer Support Page": 2.9765030752435894e-05, "Q&A Forum": 1.6878121281449805e-05, "Discussion Thread": 1.334847814496711e-05, "Comment Section": 4.211628561728683e-05, "Missing Content": 0.00019681319374846841, "Knowledge Article": 0.0002994533085355823, "Legal Notices": 0.00013093685436794868, "News Article": 2.795955214429423e-05, "Organizational Announcement": 2.5027693504015688e-05, "Nonfiction Writing": 2.5348238966644418e-05, "Organizational About Page": 4.2013007097041703e-05, "Personal About Page": 2.1402564382823224e-05, "Personal Blog": 2.0861603421703774e-05, "Product Page": 2.3997147628920984e-05, "Spam / Ads": 2.5290637520607154e-05, "Structured Data": 0.0004949686005699326, "Technical Writing": 0.003922601005852253, "Transcript / Interview": 2.511388669295195e-05, "Tutorial / How-To Guide": 0.0007852956717197383, "User Reviews": 1.4712923779521439e-05, "NONE": 0.993666804364236}, "structured_records": {"false": 0.9858003731919089, "true": 0.014199626808091005}, "procedural_steps": {"false": 0.9783554440799072, "true": 0.02164455592009284}, "worked_solution": {"false": 0.9978208987973463, "true": 0.002179101202653796}, "contextual_dialogue": {"false": 0.9999945343317481, "true": 5.465668251904084e-06}, "content_quality": {"-2": 0.003864693388815674, "-1": 0.01410981960536773, "0": 0.11383566620248702, "1": 0.5142372486054716, "2": 0.35395257219785803}, "noise_severity": {"0": 0.9741043403884271, "1": 0.023062402185634916, "2": 0.001994126501260826, "3": 0.000448325163974288, "4": 0.00039080576070292175}, "missing_content_severity": {"0": 0.9925407866688962, "1": 0.00322565006552476, "2": 0.0030111903984176383, "3": 0.0009240611043716848, "4": 0.00029831176278974196}, "factual_density": {"0": 0.0028852723375791933, "1": 0.00910349642060519, "2": 0.13296634540633093, "3": 0.42490431981773846, "4": 0.43014056601774625}, "pretraining_utility": {"-2": 0.006396265538154708, "-1": 0.040616466133157426, "0": 0.31723190043092164, "1": 0.5286565628209238, "2": 0.10709880507684254}, "math_density": {"0": 0.9204416237357709, "1": 0.06315472101272307, "2": 0.005183681936388059, "3": 0.002832157174022955, "4": 0.008387816141095053}, "code_density": {"0": 0.0005545389719943459, "1": 0.0011086634055243044, "2": 0.04373702156353049, "3": 0.26303148654682307, "4": 0.6915682895121278}, "reasoning_density": {"0": 0.8855258977338724, "1": 0.04228973066046714, "2": 0.0575621527681377, "3": 0.011479145840775277, "4": 0.0031430729967475814}, "education_level": {"none": 0.0009291328437581665, "0": 0.0012862510351412915, "1": 0.013342096717775248, "2": 0.7594532886161455, "3": 0.21079122011246454, "4": 0.014198010674715284}, "creative_writing_quality": {"not_applicable": 0.9991811248989682, "-2": 5.069550868646832e-05, "-1": 0.0001824428393139499, "0": 0.00042351928361993523, "1": 0.0001229517715769121, "2": 3.926569783459783e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 3.526102656892476e-05, "Art & Design": 3.360441023382686e-05, "Law & Crime": 3.2336668338865604e-05, "Education & Careers": 3.068930585537917e-05, "Entertainment & Media": 2.016727094198734e-05, "Fashion & Beauty": 1.3220060738731755e-05, "Business, Economics & Finance": 4.5120877866886153e-05, "Food & Dining": 1.8038120856903724e-05, "Games & Gaming": 5.34584151740997e-05, "Electronics & Hardware": 9.909435645241798e-05, "Health, Healthcare & Wellness": 1.9574248465621497e-05, "History & Geography": 2.3024301483916467e-05, "Home, Pets & Hobbies": 1.665771809451586e-05, "Industry & Production": 2.2504064025072092e-05, "Language, Literature & Philosophy": 4.1975459937389624e-05, "Politics & Government": 1.4665552748189699e-05, "Religion & Spirituality": 2.9355633542501046e-05, "Science, Mathematics & Engineering": 0.00043249193706352293, "Relationships & Community": 1.650291755322847e-05, "Software Usage & Applications": 0.0008754592625039794, "Programming & Software Engineering": 0.9978479784066886, "Sports & Fitness": 4.5028435340021204e-05, "Vehicles & Transportation": 1.6447415167016065e-05, "Travel & Tourism": 3.290394492157806e-05, "Other / Uncovered Subject": 0.00013960584247921926, "Unknown / Insufficient Content": 4.4834346957540163e-05}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0002122167070821611, "Art & Design": 0.0001426423056216382, "Law & Crime": 0.00022978616570752363, "Education & Careers": 0.0001289265716664737, "Entertainment & Media": 0.00012435990684765802, "Fashion & Beauty": 6.801949720492376e-05, "Business, Economics & Finance": 0.00018717639983379557, "Food & Dining": 6.311178939744643e-05, "Games & Gaming": 0.00013378858801339568, "Electronics & Hardware": 0.00018545358973933956, "Health, Healthcare & Wellness": 7.985571798577396e-05, "History & Geography": 7.792760377607241e-05, "Home, Pets & Hobbies": 5.976694717692464e-05, "Industry & Production": 6.782840421554302e-05, "Language, Literature & Philosophy": 0.00010211656547690496, "Politics & Government": 7.371781149669752e-05, "Religion & Spirituality": 0.0001241064824785748, "Science, Mathematics & Engineering": 0.0009876431847459124, "Relationships & Community": 6.0876124693312965e-05, "Software Usage & Applications": 0.005732751036229927, "Programming & Software Engineering": 0.014439319221016458, "Sports & Fitness": 7.37171787743615e-05, "Vehicles & Transportation": 3.8290754610656745e-05, "Travel & Tourism": 0.00012235718150549027, "Other / Uncovered Subject": 0.00023564111575613935, "NONE": 0.9762486031489469}}, "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": 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.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": 10317, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 10317, "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.303841+00:00", "scoring_key_slot": "primary", "dataset_uid": "921a51e5-fd9b-4f6b-a054-a8d77b84f275", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "96a9bb2a18c71e501836b114bb6445c369cb9dd34f11640381159e3b46e9f798", "source_metadata": {"uuid": "921a51e5-fd9b-4f6b-a054-a8d77b84f275", "repo_name": "RedMeansWar/SharpQL", "relative_path": "Execution/QueryExecutor.cs", "category": "TOOL", "algo_rel_score": 0.6557220816612244, "quality_score": 5.179568290710449, "source_meta": {"github_metadata": {"branch": "master", "commit_count": 2, "repo_created_at": "2025-05-22T17:40:46.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 0, "forks": 0, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "8cfa4b323e79526a0c12fa6bcac674e694752106", "size_bytes": 8608, "file_timestamp": 1747935701, "language": "c#", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "bfe3d7ebc7950d456efda4567057818cb029dcf8"}}, "parsed_source_meta": {"github_metadata": {"branch": "master", "commit_count": 2, "repo_created_at": "2025-05-22T17:40:46.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 0, "forks": 0, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "8cfa4b323e79526a0c12fa6bcac674e694752106", "size_bytes": 8608, "file_timestamp": 1747935701, "language": "c#", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "bfe3d7ebc7950d456efda4567057818cb029dcf8", "url": "https://github.com/RedMeansWar/SharpQL/blob/bfe3d7ebc7950d456efda4567057818cb029dcf8/Execution/QueryExecutor.cs"}, "gpt4o_tokens": 1697, "dataset_split": "csharp", "probability_weighted_scores": {"content_quality": 1.2003031866181886, "noise_severity": 0.02995885372289112, "missing_content_severity": 0.013213461226634058, "factual_density": 3.2703114107574676, "pretraining_utility": 0.689445175765142, "math_density": 0.11556982097194826, "code_density": 3.643950324221566, "reasoning_density": 0.2044237657060587, "education_level": 2.2234802855470717, "creative_writing_quality": -0.10056562879614826}, "score_applicability": {"education_level": 0.9990708671562418, "creative_writing_quality": 0.0008188751010318634}} {"source_group": "csharp", "source": "openbmb/UltraData-Stack-v3-L2/csharp", "domain": "github.com", "language": "csharp", "url": "https://github.com/submeonic/WebcamGazeInteractionComic/blob/dc6a1119506d18e25f01f5c26536f3989a431d27/Assets/DlibFaceLandmarkDetectorWithOpenCVExample/NoiseFilterExample/NoiseFilter/KFPointsFilter.cs", "id": "csharp-0-f6fc2c73e9c3386544c73724de2c392b", "text": "using OpenCVForUnity.CoreModule;\nusing OpenCVForUnity.ImgprocModule;\nusing OpenCVForUnity.VideoModule;\nusing System;\nusing System.Collections.Generic;\nusing UnityEngine;\n\nnamespace DlibFaceLandmarkDetectorExample\n{\n /// \n /// Kalman Filter Points Filter.\n /// v 1.0.4\n /// \n public class KFPointsFilter : PointsFilterBase\n {\n public double diffCheckSensitivity = 1;\n\n bool flag = false;\n double diffDlib = 1;\n MatOfPoint prevTrackPtsMat;\n\n List src_points;\n List last_points;\n\n // Kalman Filter\n List predict_points;\n int stateNum = 272;\n int measureNum = 136;\n KalmanFilter KF;\n Mat measurement;\n\n public KFPointsFilter(int numberOfElements) : base(numberOfElements)\n {\n diffDlib = diffDlib * (double)numberOfElements / 68.0;\n prevTrackPtsMat = new MatOfPoint();\n\n src_points = new List();\n for (int i = 0; i < numberOfElements; i++)\n {\n src_points.Add(new Point(0.0, 0.0));\n }\n last_points = new List();\n for (int i = 0; i < numberOfElements; i++)\n {\n last_points.Add(new Point(0.0, 0.0));\n }\n\n // Initialize Kalman Filter\n stateNum = numberOfElements * 4;\n measureNum = numberOfElements * 2;\n InitializeKalmanFilter();\n }\n\n /// \n /// Processes points by filter.\n /// \n /// Image mat.\n /// Input points.\n /// Output points.\n /// if true, draws debug points.\n /// Output points.\n public override List Process(Mat img, List srcPoints, List dstPoints = null, bool drawDebugPoints = false)\n {\n if (srcPoints != null && srcPoints.Count != numberOfElements)\n {\n throw new ArgumentException(\"The number of elements is different.\");\n }\n\n if (srcPoints != null)\n {\n\n if (dstPoints == null)\n {\n dstPoints = new List();\n }\n if (dstPoints != null && dstPoints.Count != numberOfElements)\n {\n dstPoints.Clear();\n for (int i = 0; i < numberOfElements; i++)\n {\n dstPoints.Add(new Vector2());\n }\n }\n\n for (int i = 0; i < numberOfElements; i++)\n {\n src_points[i].x = srcPoints[i].x;\n src_points[i].y = srcPoints[i].y;\n }\n\n // clac diffDlib\n prevTrackPtsMat.fromList(src_points);\n OpenCVForUnity.CoreModule.Rect rect = Imgproc.boundingRect(prevTrackPtsMat);\n double diffDlib = this.diffDlib * rect.area() / 40000.0 * diffCheckSensitivity;\n\n // if the face is moving so fast, use dlib to detect the face\n double diff = calDistanceDiff(src_points, last_points);\n if (drawDebugPoints)\n Debug.Log(\"variance:\" + diff);\n if (diff > diffDlib)\n {\n for (int i = 0; i < numberOfElements; i++)\n {\n dstPoints[i] = srcPoints[i];\n }\n\n if (drawDebugPoints)\n {\n Debug.Log(\"DLIB\");\n for (int i = 0; i < numberOfElements; i++)\n {\n Imgproc.circle(img, new Point(srcPoints[i].x, srcPoints[i].y), 2, new Scalar(255, 0, 0, 255), -1);\n }\n }\n\n flag = false;\n }\n else\n {\n if (!flag)\n {\n // Set initial state estimate.\n Mat statePreMat = KF.get_statePre();\n float[] tmpStatePre = new float[statePreMat.total()];\n for (int i = 0; i < numberOfElements; i++)\n {\n tmpStatePre[i * 2] = (float)srcPoints[i].x;\n tmpStatePre[i * 2 + 1] = (float)srcPoints[i].y;\n }\n statePreMat.put(0, 0, tmpStatePre);\n Mat statePostMat = KF.get_statePost();\n float[] tmpStatePost = new float[statePostMat.total()];\n for (int i = 0; i < numberOfElements; i++)\n {\n tmpStatePost[i * 2] = (float)srcPoints[i].x;\n tmpStatePost[i * 2 + 1] = (float)srcPoints[i].y;\n }\n statePostMat.put(0, 0, tmpStatePost);\n\n flag = true;\n }\n\n // Kalman Prediction\n KF.predict();\n\n // Update Measurement\n float[] tmpMeasurement = new float[measurement.total()];\n for (int i = 0; i < numberOfElements; i++)\n {\n tmpMeasurement[i * 2] = (float)srcPoints[i].x;\n tmpMeasurement[i * 2 + 1] = (float)srcPoints[i].y;\n }\n measurement.put(0, 0, tmpMeasurement);\n\n // Correct Measurement\n Mat estimated = KF.correct(measurement);\n float[] tmpEstimated = new float[estimated.total()];\n estimated.get(0, 0, tmpEstimated);\n for (int i = 0; i < numberOfElements; i++)\n {\n predict_points[i].x = tmpEstimated[i * 2];\n predict_points[i].y = tmpEstimated[i * 2 + 1];\n }\n estimated.Dispose();\n\n for (int i = 0; i < numberOfElements; i++)\n {\n dstPoints[i] = new Vector2((float)predict_points[i].x, (float)predict_points[i].y);\n }\n\n if (drawDebugPoints)\n {\n Debug.Log(\"Kalman Filter\");\n for (int i = 0; i < numberOfElements; i++)\n {\n Imgproc.circle(img, predict_points[i], 2, new Scalar(0, 255, 0, 255), -1);\n }\n }\n }\n\n for (int i = 0; i < numberOfElements; i++)\n {\n last_points[i].x = src_points[i].x;\n last_points[i].y = src_points[i].y;\n }\n\n return dstPoints;\n }\n else\n {\n return dstPoints == null ? srcPoints : dstPoints;\n }\n }\n\n /// \n /// Resets filter.\n /// \n public override void Reset()\n {\n flag = false;\n\n // Reset Kalman Filter\n for (int i = 0; i < numberOfElements; i++)\n {\n predict_points[i].x = 0.0;\n predict_points[i].y = 0.0;\n }\n }\n\n /// \n /// To release the resources for the initialized method.\n /// \n public override void Dispose()\n {\n if (src_points != null)\n src_points.Clear();\n\n DisposeKalmanFilter();\n\n if (prevTrackPtsMat != null)\n prevTrackPtsMat.Dispose();\n }\n\n protected virtual void InitializeKalmanFilter()\n {\n predict_points = new List();\n for (int i = 0; i < numberOfElements; i++)\n {\n predict_points.Add(new Point(0.0, 0.0));\n }\n\n KF = new KalmanFilter(stateNum, measureNum, 0, CvType.CV_32F);\n measurement = Mat.zeros(measureNum, 1, CvType.CV_32F);\n\n // Generate the Measurement Matrix\n KF.set_transitionMatrix(Mat.zeros(stateNum, stateNum, CvType.CV_32F));\n for (int i = 0; i < stateNum; i++)\n {\n for (int j = 0; j < stateNum; j++)\n {\n if (i == j || (j - measureNum) == i)\n {\n KF.get_transitionMatrix().put(i, j, new float[] { 1.0f });\n }\n else\n {\n KF.get_transitionMatrix().put(i, j, new float[] { 0.0f });\n }\n }\n }\n\n // measurement matrix (H)\n Core.setIdentity(KF.get_measurementMatrix());\n // process noise covariance matrix (Q)\n Core.setIdentity(KF.get_processNoiseCov(), Scalar.all(1e-5));\n // measurement noise covariance matrix (R)\n Core.setIdentity(KF.get_measurementNoiseCov(), Scalar.all(1e-1));\n // posteriori error estimate covariance matrix (P(k)): P(k)=(I-K(k)*H)*P'(k)\n Core.setIdentity(KF.get_errorCovPost(), Scalar.all(0.1));\n }\n\n protected virtual void DisposeKalmanFilter()\n {\n if (predict_points != null)\n predict_points.Clear();\n if (KF != null)\n KF.Dispose();\n if (measurement != null)\n measurement.Dispose();\n }\n }\n}", "text_preview": "using OpenCVForUnity.CoreModule; using OpenCVForUnity.ImgprocModule; using OpenCVForUnity.VideoModule; using System; using System.Collections.Generic; using UnityEngine; namespace DlibFaceLandmarkDetectorExample { /// /// Kalman F", "input_sha256": "805ee102bb53117b4178c8946317ee702ae02a572b305c9c7f4e25eb1e8805b8", "text_sha256": "f6fc2c73e9c3386544c73724de2c392b7d3e4b8e1ad1b490976b06704f7d3e9b", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 2002, "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": 3, "code_density": 4, "reasoning_density": 0, "education_level": 2, "creative_writing_quality": null}, "score_expectations": {"content_quality": 0.9522550041443455, "noise_severity": 0.02280394419187168, "missing_content_severity": 0.042674624274676165, "factual_density": 3.1878569081886763, "pretraining_utility": 0.5814728044649096, "math_density": 2.5273176817883916, "code_density": 3.890594612046157, "reasoning_density": 0.7170339370216808, "education_level": 2.6535508376949544, "creative_writing_quality": -0.2543700191959516}, "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.007727154799077374, "secondary_choice": "NONE", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.9980067766171625, "secondary": 0.9875771317092602, "tertiary": 0.9956402497604714, "structured_records": 0.004352846951977347, "procedural_steps": 0.015723414906848154, "worked_solution": 0.007953254275536118, "contextual_dialogue": 7.388246130776992e-06, "content_quality": 0.5428906364742209, "noise_severity": 0.9809967131734403, "missing_content_severity": 0.9644378131044365, "factual_density": 0.32321409015723024, "pretraining_utility": 0.4883530167911696, "math_density": 0.2529534552467064, "code_density": 0.9088288433717975, "reasoning_density": 0.40247171914859936, "education_level": 0.3322874828859525, "creative_writing_quality": 0.9993036821296093, "primary_topic": 0.9360591114361534, "secondary_topic": 0.43707913120724423}, "probability_margin": {"primary": 0.9971606578984178, "secondary": 0.9802547772686159, "tertiary": 0.993807137183834, "education_level": 0.003851315321162563, "creative_writing_quality": 0.9991609520997021, "primary_topic": 0.8889676796312147, "secondary_topic": 0.07501991985583506}, "raw_probabilities": {"primary": {"Academic Writing": 3.455663609819704e-05, "Content Listing": 1.2830815878985571e-05, "Creative Writing": 1.4480968586798647e-05, "Customer Support Page": 8.292409976151113e-06, "Q&A Forum": 7.480905367757287e-06, "Discussion Thread": 5.109965282753872e-06, "Comment Section": 7.92795717841232e-06, "Missing Content": 1.8439118500808152e-05, "Knowledge Article": 0.00012251917145597618, "Legal Notices": 2.3428684563285422e-05, "News Article": 4.978977433989712e-06, "Organizational Announcement": 7.402456519655442e-06, "Nonfiction Writing": 7.680427688876806e-06, "Organizational About Page": 8.59739407760033e-06, "Personal About Page": 8.080784094243922e-06, "Personal Blog": 4.948255989267133e-06, "Product Page": 5.896332467995617e-06, "Spam / Ads": 6.638313594170227e-06, "Structured Data": 0.0003671418528296953, "Technical Writing": 0.9980898275914474, "Transcript / Interview": 9.502617526649653e-06, "Tutorial / How-To Guide": 0.0002903436601970129, "User Reviews": 4.725010214726511e-06, "Other / Unknown": 0.0009291696930296255}, "secondary": {"Academic Writing": 0.00031254141598539056, "Content Listing": 5.07089529355687e-05, "Creative Writing": 7.775876769882803e-05, "Customer Support Page": 4.585296083747589e-05, "Q&A Forum": 2.7561475098108887e-05, "Discussion Thread": 2.2440199974357876e-05, "Comment Section": 5.440398434709413e-05, "Missing Content": 0.000200443358868982, "Knowledge Article": 0.0008643135034202224, "Legal Notices": 0.00023708855004318143, "News Article": 7.538467632877145e-05, "Organizational Announcement": 3.8542641113526204e-05, "Nonfiction Writing": 3.728445075533263e-05, "Organizational About Page": 4.431670314015156e-05, "Personal About Page": 4.2859517733857194e-05, "Personal Blog": 2.9681791214354697e-05, "Product Page": 2.3193710997188882e-05, "Spam / Ads": 3.370967592521426e-05, "Structured Data": 0.0009812232302581255, "Technical Writing": 0.007839973952758523, "Transcript / Interview": 4.365669022698132e-05, "Tutorial / How-To Guide": 0.0008030506233950691, "User Reviews": 1.9257945569369337e-05, "NONE": 0.9880947512213744}, "tertiary": {"Academic Writing": 0.0001606729679349752, "Content Listing": 2.67855703617251e-05, "Creative Writing": 4.958857685324279e-05, "Customer Support Page": 2.2413940419312095e-05, "Q&A Forum": 1.4005994657971202e-05, "Discussion Thread": 1.0753654386837786e-05, "Comment Section": 3.092088479578175e-05, "Missing Content": 0.0001590005730597755, "Knowledge Article": 0.000391357416101314, "Legal Notices": 0.0001565197490017046, "News Article": 3.7663780170549314e-05, "Organizational Announcement": 2.5741700650463476e-05, "Nonfiction Writing": 2.365338183062836e-05, "Organizational About Page": 3.516733926868845e-05, "Personal About Page": 2.2992205555213932e-05, "Personal Blog": 1.915311954422508e-05, "Product Page": 1.587362610630459e-05, "Spam / Ads": 2.2062204482894403e-05, "Structured Data": 0.00043547257463702856, "Technical Writing": 0.0020147688366177847, "Transcript / Interview": 2.2873951008559364e-05, "Tutorial / How-To Guide": 0.0004681148432369127, "User Reviews": 1.2537088866413906e-05, "NONE": 0.9958219060204517}, "structured_records": {"false": 0.9956471530480226, "true": 0.004352846951977347}, "procedural_steps": {"false": 0.9842765850931519, "true": 0.015723414906848154}, "worked_solution": {"false": 0.9920467457244638, "true": 0.007953254275536118}, "contextual_dialogue": {"false": 0.9999926117538692, "true": 7.388246130776992e-06}, "content_quality": {"-2": 0.006703193476145825, "-1": 0.020670419419752402, "0": 0.23668769677535245, "1": 0.48554557014110916, "2": 0.2503931201876402}, "noise_severity": {"0": 0.9801902758413684, "1": 0.017743417647777916, "2": 0.001409243118680156, "3": 0.00038621326196047024, "4": 0.0002708501302130111}, "missing_content_severity": {"0": 0.9763768443283062, "1": 0.0076903335324327365, "2": 0.013238779222895894, "3": 0.002269439369008412, "4": 0.000424603547356599}, "factual_density": {"0": 0.009590235779640102, "1": 0.029596854299131413, "2": 0.1473044020679614, "3": 0.39038278165944623, "4": 0.4231257261938207}, "pretraining_utility": {"-2": 0.008305821286688615, "-1": 0.05980017462894184, "0": 0.37173397457489393, "1": 0.46243543735172266, "2": 0.097724592157753}, "math_density": {"0": 0.044461513398489715, "1": 0.13108006696686367, "2": 0.28902441182858407, "3": 0.3235472400598909, "4": 0.21188676774617177}, "code_density": {"0": 0.00021147280203324725, "1": 0.00039213334392192124, "2": 0.009742956842278638, "3": 0.08789718302938702, "4": 0.9017562539823791}, "reasoning_density": {"0": 0.7093256754052254, "1": 0.07126946477440664, "2": 0.08102085977741226, "3": 0.06981324747937302, "4": 0.06857075256358261}, "education_level": {"none": 0.0011621974974991326, "0": 0.0013606488038356915, "1": 0.00419144511634777, "2": 0.44357290240496045, "3": 0.4397215870837979, "4": 0.10999121909355915}, "creative_writing_quality": {"not_applicable": 0.9994197351080077, "-2": 6.315836510620392e-05, "-1": 0.00015521132406390534, "0": 0.00025878300830561336, "1": 7.22983264715675e-05, "2": 3.081386804496898e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 8.379417432510899e-05, "Art & Design": 0.0002087156056118349, "Law & Crime": 0.0001365522982737128, "Education & Careers": 0.00010582191480563514, "Entertainment & Media": 0.00016428578221085025, "Fashion & Beauty": 0.0001198002072443539, "Business, Economics & Finance": 0.00010337459472393854, "Food & Dining": 7.540432963175055e-05, "Games & Gaming": 0.008474400675243009, "Electronics & Hardware": 0.0003674797993011665, "Health, Healthcare & Wellness": 0.0002825966795315417, "History & Geography": 0.00011221115139071196, "Home, Pets & Hobbies": 8.053090659925138e-05, "Industry & Production": 8.049397414691567e-05, "Language, Literature & Philosophy": 7.512042081429355e-05, "Politics & Government": 4.020120352234692e-05, "Religion & Spirituality": 7.466314052556446e-05, "Science, Mathematics & Engineering": 0.04955069674970206, "Relationships & Community": 4.642000788838003e-05, "Software Usage & Applications": 0.00043970459461353654, "Programming & Software Engineering": 0.9385183763809167, "Sports & Fitness": 0.00012301773127490985, "Vehicles & Transportation": 5.0862089507433205e-05, "Travel & Tourism": 9.603815776794959e-05, "Other / Uncovered Subject": 0.00047208678225131004, "Unknown / Insufficient Content": 0.00011735064817549688}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0008210964909302972, "Art & Design": 0.0017043232917404757, "Law & Crime": 0.000775004956783926, "Education & Careers": 0.0005614144026751674, "Entertainment & Media": 0.0015723843259656065, "Fashion & Beauty": 0.0006030991977212271, "Business, Economics & Finance": 0.0006303191766087726, "Food & Dining": 0.00038475219883286215, "Games & Gaming": 0.0244235977203995, "Electronics & Hardware": 0.0026162680568681033, "Health, Healthcare & Wellness": 0.0014519998172607643, "History & Geography": 0.0005534022108580727, "Home, Pets & Hobbies": 0.0005196469870937705, "Industry & Production": 0.0004627099594694555, "Language, Literature & Philosophy": 0.0003675314213851197, "Politics & Government": 0.0002936913575566251, "Religion & Spirituality": 0.0005827120467905844, "Science, Mathematics & Engineering": 0.38371001399728444, "Relationships & Community": 0.0003521560604259779, "Software Usage & Applications": 0.0011345344949513065, "Programming & Software Engineering": 0.11460747992269876, "Sports & Fitness": 0.0006288700437649522, "Vehicles & Transportation": 0.0003076756268873135, "Travel & Tourism": 0.0006092111287991861, "Other / Uncovered Subject": 0.0015961712531282596, "NONE": 0.4587299338531195}}, "probabilities": {"primary": {"Academic Writing": 3.455663609819704e-05, "Content Listing": 1.2830815878985571e-05, "Creative Writing": 1.4480968586798647e-05, "Customer Support Page": 8.292409976151113e-06, "Q&A Forum": 7.480905367757287e-06, "Discussion Thread": 5.109965282753872e-06, "Comment Section": 7.92795717841232e-06, "Missing Content": 1.8439118500808152e-05, "Knowledge Article": 0.00012251917145597618, "Legal Notices": 2.3428684563285422e-05, "News Article": 4.978977433989712e-06, "Organizational Announcement": 7.402456519655442e-06, "Nonfiction Writing": 7.680427688876806e-06, "Organizational About Page": 8.59739407760033e-06, "Personal About Page": 8.080784094243922e-06, "Personal Blog": 4.948255989267133e-06, "Product Page": 5.896332467995617e-06, "Spam / Ads": 6.638313594170227e-06, "Structured Data": 0.0003671418528296953, "Technical Writing": 0.9980898275914474, "Transcript / Interview": 9.502617526649653e-06, "Tutorial / How-To Guide": 0.0002903436601970129, "User Reviews": 4.725010214726511e-06, "Other / Unknown": 0.0009291696930296255}, "secondary": {"Academic Writing": 0.00031254141598539056, "Content Listing": 5.07089529355687e-05, "Creative Writing": 7.775876769882803e-05, "Customer Support Page": 4.585296083747589e-05, "Q&A Forum": 2.7561475098108887e-05, "Discussion Thread": 2.2440199974357876e-05, "Comment Section": 5.440398434709413e-05, "Missing Content": 0.000200443358868982, "Knowledge Article": 0.0008643135034202224, "Legal Notices": 0.00023708855004318143, "News Article": 7.538467632877145e-05, "Organizational Announcement": 3.8542641113526204e-05, "Nonfiction Writing": 3.728445075533263e-05, "Organizational About Page": 4.431670314015156e-05, "Personal About Page": 4.2859517733857194e-05, "Personal Blog": 2.9681791214354697e-05, "Product Page": 2.3193710997188882e-05, "Spam / Ads": 3.370967592521426e-05, "Structured Data": 0.0009812232302581255, "Technical Writing": 0.007839973952758523, "Transcript / Interview": 4.365669022698132e-05, "Tutorial / How-To Guide": 0.0008030506233950691, "User Reviews": 1.9257945569369337e-05, "NONE": 0.9880947512213744}, "tertiary": {"Academic Writing": 0.0001606729679349752, "Content Listing": 2.67855703617251e-05, "Creative Writing": 4.958857685324279e-05, "Customer Support Page": 2.2413940419312095e-05, "Q&A Forum": 1.4005994657971202e-05, "Discussion Thread": 1.0753654386837786e-05, "Comment Section": 3.092088479578175e-05, "Missing Content": 0.0001590005730597755, "Knowledge Article": 0.000391357416101314, "Legal Notices": 0.0001565197490017046, "News Article": 3.7663780170549314e-05, "Organizational Announcement": 2.5741700650463476e-05, "Nonfiction Writing": 2.365338183062836e-05, "Organizational About Page": 3.516733926868845e-05, "Personal About Page": 2.2992205555213932e-05, "Personal Blog": 1.915311954422508e-05, "Product Page": 1.587362610630459e-05, "Spam / Ads": 2.2062204482894403e-05, "Structured Data": 0.00043547257463702856, "Technical Writing": 0.0020147688366177847, "Transcript / Interview": 2.2873951008559364e-05, "Tutorial / How-To Guide": 0.0004681148432369127, "User Reviews": 1.2537088866413906e-05, "NONE": 0.9958219060204517}, "structured_records": {"false": 0.9956471530480226, "true": 0.004352846951977347}, "procedural_steps": {"false": 0.9842765850931519, "true": 0.015723414906848154}, "worked_solution": {"false": 0.9920467457244638, "true": 0.007953254275536118}, "contextual_dialogue": {"false": 0.9999926117538692, "true": 7.388246130776992e-06}, "content_quality": {"-2": 0.006703193476145825, "-1": 0.020670419419752402, "0": 0.23668769677535245, "1": 0.48554557014110916, "2": 0.2503931201876402}, "noise_severity": {"0": 0.9801902758413684, "1": 0.017743417647777916, "2": 0.001409243118680156, "3": 0.00038621326196047024, "4": 0.0002708501302130111}, "missing_content_severity": {"0": 0.9763768443283064, "1": 0.007690333532432738, "2": 0.013238779222895897, "3": 0.0022694393690084126, "4": 0.00042460354735659913}, "factual_density": {"0": 0.009590235779640103, "1": 0.029596854299131416, "2": 0.14730440206796142, "3": 0.3903827816594463, "4": 0.4231257261938208}, "pretraining_utility": {"-2": 0.008305821286688615, "-1": 0.05980017462894184, "0": 0.37173397457489393, "1": 0.46243543735172266, "2": 0.097724592157753}, "math_density": {"0": 0.044461513398489715, "1": 0.13108006696686367, "2": 0.28902441182858407, "3": 0.3235472400598909, "4": 0.21188676774617177}, "code_density": {"0": 0.00021147280203324725, "1": 0.00039213334392192124, "2": 0.009742956842278638, "3": 0.08789718302938702, "4": 0.9017562539823791}, "reasoning_density": {"0": 0.7093256754052255, "1": 0.07126946477440665, "2": 0.08102085977741227, "3": 0.06981324747937304, "4": 0.06857075256358262}, "education_level": {"none": 0.0011621974974991326, "0": 0.0013606488038356915, "1": 0.00419144511634777, "2": 0.44357290240496045, "3": 0.4397215870837979, "4": 0.10999121909355915}, "creative_writing_quality": {"not_applicable": 0.9994197351080077, "-2": 6.315836510620392e-05, "-1": 0.00015521132406390534, "0": 0.00025878300830561336, "1": 7.22983264715675e-05, "2": 3.081386804496898e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 8.3794174325109e-05, "Art & Design": 0.00020871560561183496, "Law & Crime": 0.00013655229827371282, "Education & Careers": 0.00010582191480563516, "Entertainment & Media": 0.00016428578221085028, "Fashion & Beauty": 0.00011980020724435393, "Business, Economics & Finance": 0.00010337459472393857, "Food & Dining": 7.540432963175056e-05, "Games & Gaming": 0.00847440067524301, "Electronics & Hardware": 0.00036747979930116663, "Health, Healthcare & Wellness": 0.00028259667953154174, "History & Geography": 0.00011221115139071199, "Home, Pets & Hobbies": 8.053090659925139e-05, "Industry & Production": 8.049397414691568e-05, "Language, Literature & Philosophy": 7.512042081429357e-05, "Politics & Government": 4.020120352234693e-05, "Religion & Spirituality": 7.466314052556448e-05, "Science, Mathematics & Engineering": 0.049550696749702076, "Relationships & Community": 4.6420007888380046e-05, "Software Usage & Applications": 0.00043970459461353665, "Programming & Software Engineering": 0.938518376380917, "Sports & Fitness": 0.00012301773127490988, "Vehicles & Transportation": 5.086208950743322e-05, "Travel & Tourism": 9.603815776794962e-05, "Other / Uncovered Subject": 0.00047208678225131015, "Unknown / Insufficient Content": 0.00011735064817549691}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0008210964909302972, "Art & Design": 0.0017043232917404757, "Law & Crime": 0.000775004956783926, "Education & Careers": 0.0005614144026751674, "Entertainment & Media": 0.0015723843259656065, "Fashion & Beauty": 0.0006030991977212271, "Business, Economics & Finance": 0.0006303191766087726, "Food & Dining": 0.00038475219883286215, "Games & Gaming": 0.0244235977203995, "Electronics & Hardware": 0.0026162680568681033, "Health, Healthcare & Wellness": 0.0014519998172607643, "History & Geography": 0.0005534022108580727, "Home, Pets & Hobbies": 0.0005196469870937705, "Industry & Production": 0.0004627099594694555, "Language, Literature & Philosophy": 0.0003675314213851197, "Politics & Government": 0.0002936913575566251, "Religion & Spirituality": 0.0005827120467905844, "Science, Mathematics & Engineering": 0.38371001399728444, "Relationships & Community": 0.0003521560604259779, "Software Usage & Applications": 0.0011345344949513065, "Programming & Software Engineering": 0.11460747992269876, "Sports & Fitness": 0.0006288700437649522, "Vehicles & Transportation": 0.0003076756268873135, "Travel & Tourism": 0.0006092111287991861, "Other / Uncovered Subject": 0.0015961712531282596, "NONE": 0.4587299338531195}}, "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.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.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": 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": 10802, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 10802, "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.175359+00:00", "scoring_key_slot": "primary", "dataset_uid": "a50fd3fc-f410-4030-9005-8738a527a824", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "b259845c8e0ee64ec9be06b5576237a30810675abaaa29722f9495dddddab5df", "source_metadata": {"uuid": "a50fd3fc-f410-4030-9005-8738a527a824", "repo_name": "submeonic/WebcamGazeInteractionComic", "relative_path": "Assets/DlibFaceLandmarkDetectorWithOpenCVExample/NoiseFilterExample/NoiseFilter/KFPointsFilter.cs", "category": "TOOL", "algo_rel_score": 0.9858415126800537, "quality_score": 4.637392044067383, "source_meta": {"github_metadata": {"branch": "main", "commit_count": 6, "repo_created_at": "2023-05-31T23:27:24.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 1, "forks": 1, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "08dd883b34edc386bd4086c360b9fb925c6fe9a1", "size_bytes": 9774, "file_timestamp": 1688851072, "language": "c#", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "dc6a1119506d18e25f01f5c26536f3989a431d27"}}, "parsed_source_meta": {"github_metadata": {"branch": "main", "commit_count": 6, "repo_created_at": "2023-05-31T23:27:24.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 1, "forks": 1, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "08dd883b34edc386bd4086c360b9fb925c6fe9a1", "size_bytes": 9774, "file_timestamp": 1688851072, "language": "c#", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "dc6a1119506d18e25f01f5c26536f3989a431d27", "url": "https://github.com/submeonic/WebcamGazeInteractionComic/blob/dc6a1119506d18e25f01f5c26536f3989a431d27/Assets/DlibFaceLandmarkDetectorWithOpenCVExample/NoiseFilterExample/NoiseFilter/KFPointsFilter.cs"}, "gpt4o_tokens": 2057, "dataset_split": "csharp", "probability_weighted_scores": {"content_quality": 0.9522550041443455, "noise_severity": 0.02280394419187168, "missing_content_severity": 0.042674624274676165, "factual_density": 3.1878569081886763, "pretraining_utility": 0.5814728044649096, "math_density": 2.5273176817883916, "code_density": 3.890594612046157, "reasoning_density": 0.7170339370216808, "education_level": 2.6535508376949544, "creative_writing_quality": -0.2543700191959516}, "score_applicability": {"education_level": 0.998837802502501, "creative_writing_quality": 0.0005802648919922591}} {"source_group": "csharp", "source": "openbmb/UltraData-Stack-v3-L2/csharp", "domain": "github.com", "language": "csharp", "url": "https://github.com/AlexanderReaper7/CSharp-XNA-Tools/blob/5c63d8398b274ae471b358eb0a1cd1a3b7b43884/Tool_files/Tool_files/Tool_files/Game1.cs", "id": "csharp-0-917a29f30fceb934eb59323e79c6ab44", "text": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing Microsoft.Xna.Framework;\nusing Microsoft.Xna.Framework.Audio;\nusing Microsoft.Xna.Framework.Content;\nusing Microsoft.Xna.Framework.GamerServices;\nusing Microsoft.Xna.Framework.Graphics;\nusing Microsoft.Xna.Framework.Input;\nusing Microsoft.Xna.Framework.Media;\nusing System.Xml.Serialization;\nusing System.IO;\n// using Microsoft.Xna.Framework.Storage; TODO\n\nnamespace Tool_files\n{\n /// \n /// This is the main type for your game\n /// \n public class Game1 : Microsoft.Xna.Framework.Game\n {\n GraphicsDeviceManager graphics;\n SpriteBatch spriteBatch;\n\n public readonly string FileName = \"save.dat\";\n\n public int PlayerScore = 30;\n\n public Game1()\n {\n graphics = new GraphicsDeviceManager(this);\n Content.RootDirectory = \"Content\";\n }\n\n /// \n /// Allows the game to perform any initialization it needs to before starting to run.\n /// This is where it can query for any required services and load any non-graphic\n /// related content. Calling base.Initialize will enumerate through any components\n /// and initialize them as well.\n /// \n protected override void Initialize()\n {\n // TODO: Add your initialization logic here\n if (!File.Exists(FileName))\n {\n SaveData data = new SaveData(1);\n data.PlayerName[0] = \"kalle\";\n data.Score[0] = 0;\n\n DoSave(data, FileName);\n }\n base.Initialize();\n }\n\n /// \n /// LoadContent will be called once per game and is the place to load\n /// all of your content.\n /// \n protected override void LoadContent()\n {\n // Create a new SpriteBatch, which can be used to draw textures.\n spriteBatch = new SpriteBatch(GraphicsDevice);\n\n // TODO: use this.Content to load your game content here\n }\n\n /// \n /// UnloadContent will be called once per game and is the place to unload\n /// all content.\n /// \n protected override void UnloadContent()\n {\n // TODO: Unload any non ContentManager content here\n }\n\n /// \n /// Allows the game to run logic such as updating the world,\n /// checking for collisions, gathering input, and playing audio.\n /// \n /// Provides a snapshot of timing values.\n protected override void Update(GameTime gameTime)\n {\n // Allows the game to exit\n GamePadState gamepad = GamePad.GetState(PlayerIndex.One);\n KeyboardState keyboard = Keyboard.GetState();\n //back or escape exits the game\n\n if (gamepad.Buttons.Back == ButtonState.Pressed || keyboard.IsKeyDown(Keys.End))\n this.Exit();\n\n //F to toggle fullscreen\n if (Keyboard.GetState().IsKeyDown(Keys.F))\n {\n graphics.IsFullScreen = !graphics.IsFullScreen;\n graphics.ApplyChanges();\n }\n\n Console.WriteLine(LoadData(FileName).Score[0].ToString());\n base.Update(gameTime);\n }\n\n [Serializable]\n public struct SaveData\n {\n public string[] PlayerName;\n public int[] Score;\n\n public int Count;\n\n \n\n public SaveData(int count)\n {\n PlayerName = new string[count];\n Score = new int[count];\n\n Count = count;\n }\n }\n\n /// \n /// Opens file and saves data\n /// \n /// data to write\n /// name of file to write to\n public static void DoSave(SaveData data, string filename)\n {\n // Open or create file\n FileStream stream = File.Open(filename, FileMode.OpenOrCreate);\n try\n {\n // Make to XML and try to open filestream\n XmlSerializer serializer = new XmlSerializer(typeof(SaveData));\n serializer.Serialize(stream, data);\n }\n finally\n {\n // Close file\n stream.Close();\n }\n }\n\n public static SaveData LoadData(string FileName)\n {\n SaveData data;\n\n string fullpath = FileName;\n\n FileStream stream = File.Open(fullpath, FileMode.OpenOrCreate, FileAccess.Read);\n try\n {\n XmlSerializer serializer = new XmlSerializer(typeof(SaveData));\n data = (SaveData) serializer.Deserialize(stream);\n }\n finally\n {\n stream.Close();\n }\n\n return data;\n }\n\n private void SaveHighScore()\n {\n SaveData data = LoadData(FileName);\n\n int scoreIndex = -1;\n for (int i = 0; i < data.Count; i++)\n {\n if (PlayerScore > data.Score[i])\n {\n scoreIndex = i;\n break;\n }\n }\n\n if (scoreIndex > -1)\n {\n for (int i = 0; i > scoreIndex; i--)\n {\n data.Score[i] = data.Score[i - 1];\n }\n\n data.Score[scoreIndex] = PlayerScore;\n }\n }\n\n /// \n /// This is called when the game should draw itself.\n /// \n /// Provides a snapshot of timing values.\n protected override void Draw(GameTime gameTime)\n {\n GraphicsDevice.Clear(Color.CornflowerBlue);\n\n base.Draw(gameTime);\n }\n }\n}\n", "text_preview": "using System; using System.Collections.Generic; using System.Linq; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Audio; using Microsoft.Xna.Framework.Content; using Microsoft.Xna.Framework.GamerServices; using Microsoft.Xna.F", "input_sha256": "1e854e2060b9ce16e0195b8dcda5a7e3965c352bd098e7b6dcd4b41c16cfb384", "text_sha256": "917a29f30fceb934eb59323e79c6ab44cf7e76dc7a358961f5187f02ca94f779", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 2003, "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.33169394671618446, "noise_severity": 0.22355841043765165, "missing_content_severity": 0.42664425338484313, "factual_density": 3.151939182477997, "pretraining_utility": 0.3570711726367543, "math_density": 0.32928865554235903, "code_density": 3.729960164804562, "reasoning_density": 0.5249435914662958, "education_level": 2.004686844172311, "creative_writing_quality": -0.35075630182084044}, "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.010543157575576334, "secondary_choice": "NONE", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.993059634403775, "secondary": 0.9523034067362153, "tertiary": 0.9633049624672515, "structured_records": 0.015541590428494512, "procedural_steps": 0.015462863197951381, "worked_solution": 0.00364119186231426, "contextual_dialogue": 5.4884653525622416e-06, "content_quality": 0.4393645033938385, "noise_severity": 0.8137013246352903, "missing_content_severity": 0.6444631221792974, "factual_density": 0.49113313512235446, "pretraining_utility": 0.4735548255702813, "math_density": 0.7255927870480341, "code_density": 0.7749668040038019, "reasoning_density": 0.5625470071114202, "education_level": 0.7972667686782555, "creative_writing_quality": 0.9980248980507884, "primary_topic": 0.9699230410987587, "secondary_topic": 0.8352834715369047}, "probability_margin": {"primary": 0.9894294334321472, "secondary": 0.9362102760813804, "tertiary": 0.9492369604172566, "education_level": 0.750018742622591, "creative_writing_quality": 0.9974586272727642, "primary_topic": 0.9446774467914278, "secondary_topic": 0.7147378432659168}, "raw_probabilities": {"primary": {"Academic Writing": 4.7342064180473905e-05, "Content Listing": 3.180319679233338e-05, "Creative Writing": 8.689636287613081e-05, "Customer Support Page": 1.927061102211562e-05, "Q&A Forum": 1.9402628465800226e-05, "Discussion Thread": 1.3824253260128899e-05, "Comment Section": 2.3703527683752213e-05, "Missing Content": 5.344701791474561e-05, "Knowledge Article": 0.00015898065834366637, "Legal Notices": 3.4008098014237416e-05, "News Article": 8.176806339044667e-06, "Organizational Announcement": 1.6109000562610415e-05, "Nonfiction Writing": 2.1332819046688194e-05, "Organizational About Page": 1.9148967408149184e-05, "Personal About Page": 2.3104474779210143e-05, "Personal Blog": 1.5116735060956915e-05, "Product Page": 1.2644847054930088e-05, "Spam / Ads": 1.644468488502488e-05, "Structured Data": 0.0004636694100562734, "Technical Writing": 0.9933488163036177, "Transcript / Interview": 2.1872978745978107e-05, "Tutorial / How-To Guide": 0.003919382871470585, "User Reviews": 1.2706183036149967e-05, "Other / Unknown": 0.001612795499383201}, "secondary": {"Academic Writing": 0.00022133818544493555, "Content Listing": 0.00012279831097407453, "Creative Writing": 0.00027139334654605773, "Customer Support Page": 0.000143491855458873, "Q&A Forum": 8.514069676457148e-05, "Discussion Thread": 6.901561356335281e-05, "Comment Section": 0.00017803231438434606, "Missing Content": 0.0055702952219507966, "Knowledge Article": 0.001198534681367305, "Legal Notices": 0.00017735489155799283, "News Article": 9.428832319941117e-05, "Organizational Announcement": 9.630657137929343e-05, "Nonfiction Writing": 0.00011925778305309294, "Organizational About Page": 0.00012376308246822378, "Personal About Page": 0.0001122584117929143, "Personal Blog": 9.142939425295794e-05, "Product Page": 6.221815926040606e-05, "Spam / Ads": 9.418649846178312e-05, "Structured Data": 0.001519120651087633, "Technical Writing": 0.018080488707492594, "Transcript / Interview": 0.00013127004248557353, "Tutorial / How-To Guide": 0.0170837206737416, "User Reviews": 6.353179443927181e-05, "NONE": 0.954290764788873}, "tertiary": {"Academic Writing": 0.000117643988789598, "Content Listing": 8.813964087649696e-05, "Creative Writing": 0.0001828677365432992, "Customer Support Page": 9.728732219722531e-05, "Q&A Forum": 5.056464417730464e-05, "Discussion Thread": 4.432015550308305e-05, "Comment Section": 0.00012125941373101707, "Missing Content": 0.006370233000435369, "Knowledge Article": 0.0010309763313649679, "Legal Notices": 0.00016746961695561738, "News Article": 5.807898158050147e-05, "Organizational Announcement": 5.930352804694081e-05, "Nonfiction Writing": 9.285133617088445e-05, "Organizational About Page": 0.00010399109256187367, "Personal About Page": 6.633495269409556e-05, "Personal Blog": 6.25303825833375e-05, "Product Page": 4.403772246167655e-05, "Spam / Ads": 6.870602933395908e-05, "Structured Data": 0.0016764875461222023, "Technical Writing": 0.008948283058812147, "Transcript / Interview": 7.480214293983383e-05, "Tutorial / How-To Guide": 0.015596961947192697, "User Reviews": 4.294706447661736e-05, "NONE": 0.9648339223644493}, "structured_records": {"false": 0.9844584095715054, "true": 0.015541590428494512}, "procedural_steps": {"false": 0.9845371368020486, "true": 0.015462863197951381}, "worked_solution": {"false": 0.9963588081376857, "true": 0.00364119186231426}, "contextual_dialogue": {"false": 0.9999945115346475, "true": 5.4884653525622416e-06}, "content_quality": {"-2": 0.021281337862924424, "-1": 0.1279716488797558, "0": 0.43076530257170204, "1": 0.33773515004944615, "2": 0.08224656063617145}, "noise_severity": {"0": 0.7957613604169592, "1": 0.18964038593744958, "2": 0.011289245244205368, "3": 0.0018964995937518394, "4": 0.0014125088076339539}, "missing_content_severity": {"0": 0.5963768195424392, "1": 0.38781229915674853, "2": 0.010476040708524441, "3": 0.003459489558105755, "4": 0.0018753510341821091}, "factual_density": {"0": 0.006163667747290306, "1": 0.02530902246313418, "2": 0.16024147951944964, "3": 0.4269961201045401, "4": 0.3812897101655857}, "pretraining_utility": {"-2": 0.01007849629711589, "-1": 0.11717452574522223, "0": 0.43654731830535226, "1": 0.37799662832841086, "2": 0.05820303132389874}, "math_density": {"0": 0.7527303750102183, "1": 0.19929093674546067, "2": 0.027683441043738707, "3": 0.006550152092908078, "4": 0.013745095107674184}, "code_density": {"0": 0.0004516840942804564, "1": 0.0008743065897796132, "2": 0.033057925798106506, "3": 0.19949432745276402, "4": 0.7661217560650694}, "reasoning_density": {"0": 0.7055438773165958, "1": 0.11531766440247541, "2": 0.1382863417980139, "3": 0.030355222463866963, "4": 0.010496894019047897}, "education_level": {"none": 0.0015333449305127444, "0": 0.002112771493039497, "1": 0.08103689794262194, "2": 0.831055640565213, "3": 0.07858059158496566, "4": 0.005680753483647215}, "creative_writing_quality": {"not_applicable": 0.9983540817089903, "-2": 0.00010437415911342468, "-1": 0.0005239223495103728, "0": 0.0008954544362260758, "1": 8.898023743593396e-05, "2": 3.3187108723749194e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 6.165445462572003e-05, "Art & Design": 0.00011824217016645673, "Law & Crime": 9.867586977919025e-05, "Education & Careers": 7.294289211324078e-05, "Entertainment & Media": 0.00043275469718985363, "Fashion & Beauty": 5.4003952210543255e-05, "Business, Economics & Finance": 8.255180959355341e-05, "Food & Dining": 5.0871306754926224e-05, "Games & Gaming": 0.026402400418917088, "Electronics & Hardware": 8.056808697496223e-05, "Health, Healthcare & Wellness": 4.586568074729173e-05, "History & Geography": 6.01370409595479e-05, "Home, Pets & Hobbies": 5.6471463749471715e-05, "Industry & Production": 4.5511637414558125e-05, "Language, Literature & Philosophy": 6.301180941651792e-05, "Politics & Government": 2.862631549806617e-05, "Religion & Spirituality": 4.9332312363619076e-05, "Science, Mathematics & Engineering": 0.0001519827706432238, "Relationships & Community": 3.8993189031512825e-05, "Software Usage & Applications": 0.0005132824604592883, "Programming & Software Engineering": 0.9710798472103449, "Sports & Fitness": 9.02902100349497e-05, "Vehicles & Transportation": 3.129307218834714e-05, "Travel & Tourism": 8.96470929354726e-05, "Other / Uncovered Subject": 0.0001083611163564921, "Unknown / Insufficient Content": 9.268095953103423e-05}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0006285504805743368, "Art & Design": 0.000750898794652325, "Law & Crime": 0.00048473926161206397, "Education & Careers": 0.0003742830528538346, "Entertainment & Media": 0.0012565693793848488, "Fashion & Beauty": 0.0002122839333131041, "Business, Economics & Finance": 0.0004602974354239929, "Food & Dining": 0.00018595932903134416, "Games & Gaming": 0.12688087936572232, "Electronics & Hardware": 0.0004413140326096361, "Health, Healthcare & Wellness": 0.0002543131388519272, "History & Geography": 0.0002657160357617802, "Home, Pets & Hobbies": 0.0002721916933323203, "Industry & Production": 0.00017965628714618708, "Language, Literature & Philosophy": 0.0002994567048114882, "Politics & Government": 0.00017312219014136633, "Religion & Spirituality": 0.0002641083662962628, "Science, Mathematics & Engineering": 0.0007854131798250047, "Relationships & Community": 0.00018213390897208224, "Software Usage & Applications": 0.002358196486025953, "Programming & Software Engineering": 0.02054974332329518, "Sports & Fitness": 0.0002234058632078849, "Vehicles & Transportation": 0.00010508821744062884, "Travel & Tourism": 0.00038874913658830526, "Other / Uncovered Subject": 0.0004042077714867523, "NONE": 0.8416187226316392}}, "probabilities": {"primary": {"Academic Writing": 4.734206418047391e-05, "Content Listing": 3.1803196792333385e-05, "Creative Writing": 8.689636287613083e-05, "Customer Support Page": 1.9270611022115622e-05, "Q&A Forum": 1.940262846580023e-05, "Discussion Thread": 1.38242532601289e-05, "Comment Section": 2.3703527683752217e-05, "Missing Content": 5.344701791474562e-05, "Knowledge Article": 0.0001589806583436664, "Legal Notices": 3.400809801423742e-05, "News Article": 8.176806339044669e-06, "Organizational Announcement": 1.6109000562610418e-05, "Nonfiction Writing": 2.1332819046688197e-05, "Organizational About Page": 1.9148967408149187e-05, "Personal About Page": 2.3104474779210146e-05, "Personal Blog": 1.5116735060956917e-05, "Product Page": 1.264484705493009e-05, "Spam / Ads": 1.6444684885024884e-05, "Structured Data": 0.00046366941005627344, "Technical Writing": 0.9933488163036178, "Transcript / Interview": 2.187297874597811e-05, "Tutorial / How-To Guide": 0.003919382871470586, "User Reviews": 1.270618303614997e-05, "Other / Unknown": 0.0016127954993832012}, "secondary": {"Academic Writing": 0.00022133818544493555, "Content Listing": 0.00012279831097407453, "Creative Writing": 0.00027139334654605773, "Customer Support Page": 0.000143491855458873, "Q&A Forum": 8.514069676457148e-05, "Discussion Thread": 6.901561356335281e-05, "Comment Section": 0.00017803231438434606, "Missing Content": 0.0055702952219507966, "Knowledge Article": 0.001198534681367305, "Legal Notices": 0.00017735489155799283, "News Article": 9.428832319941117e-05, "Organizational Announcement": 9.630657137929343e-05, "Nonfiction Writing": 0.00011925778305309294, "Organizational About Page": 0.00012376308246822378, "Personal About Page": 0.0001122584117929143, "Personal Blog": 9.142939425295794e-05, "Product Page": 6.221815926040606e-05, "Spam / Ads": 9.418649846178312e-05, "Structured Data": 0.001519120651087633, "Technical Writing": 0.018080488707492594, "Transcript / Interview": 0.00013127004248557353, "Tutorial / How-To Guide": 0.0170837206737416, "User Reviews": 6.353179443927181e-05, "NONE": 0.954290764788873}, "tertiary": {"Academic Writing": 0.000117643988789598, "Content Listing": 8.813964087649696e-05, "Creative Writing": 0.0001828677365432992, "Customer Support Page": 9.728732219722531e-05, "Q&A Forum": 5.056464417730464e-05, "Discussion Thread": 4.432015550308305e-05, "Comment Section": 0.00012125941373101707, "Missing Content": 0.006370233000435369, "Knowledge Article": 0.0010309763313649679, "Legal Notices": 0.00016746961695561738, "News Article": 5.807898158050147e-05, "Organizational Announcement": 5.930352804694081e-05, "Nonfiction Writing": 9.285133617088445e-05, "Organizational About Page": 0.00010399109256187367, "Personal About Page": 6.633495269409556e-05, "Personal Blog": 6.25303825833375e-05, "Product Page": 4.403772246167655e-05, "Spam / Ads": 6.870602933395908e-05, "Structured Data": 0.0016764875461222023, "Technical Writing": 0.008948283058812147, "Transcript / Interview": 7.480214293983383e-05, "Tutorial / How-To Guide": 0.015596961947192697, "User Reviews": 4.294706447661736e-05, "NONE": 0.9648339223644493}, "structured_records": {"false": 0.9844584095715054, "true": 0.015541590428494512}, "procedural_steps": {"false": 0.9845371368020486, "true": 0.015462863197951381}, "worked_solution": {"false": 0.9963588081376857, "true": 0.00364119186231426}, "contextual_dialogue": {"false": 0.9999945115346475, "true": 5.4884653525622416e-06}, "content_quality": {"-2": 0.021281337862924427, "-1": 0.12797164887975582, "0": 0.4307653025717021, "1": 0.3377351500494462, "2": 0.08224656063617146}, "noise_severity": {"0": 0.7957613604169592, "1": 0.18964038593744958, "2": 0.011289245244205368, "3": 0.0018964995937518394, "4": 0.0014125088076339539}, "missing_content_severity": {"0": 0.5963768195424392, "1": 0.38781229915674853, "2": 0.010476040708524441, "3": 0.003459489558105755, "4": 0.0018753510341821091}, "factual_density": {"0": 0.006163667747290307, "1": 0.025309022463134184, "2": 0.16024147951944967, "3": 0.42699612010454013, "4": 0.38128971016558577}, "pretraining_utility": {"-2": 0.01007849629711589, "-1": 0.11717452574522223, "0": 0.43654731830535226, "1": 0.37799662832841086, "2": 0.05820303132389874}, "math_density": {"0": 0.7527303750102183, "1": 0.19929093674546067, "2": 0.027683441043738707, "3": 0.006550152092908078, "4": 0.013745095107674184}, "code_density": {"0": 0.0004516840942804564, "1": 0.0008743065897796132, "2": 0.033057925798106506, "3": 0.19949432745276402, "4": 0.7661217560650694}, "reasoning_density": {"0": 0.7055438773165958, "1": 0.11531766440247541, "2": 0.1382863417980139, "3": 0.030355222463866963, "4": 0.010496894019047897}, "education_level": {"none": 0.0015333449305127444, "0": 0.002112771493039497, "1": 0.08103689794262194, "2": 0.831055640565213, "3": 0.07858059158496566, "4": 0.005680753483647215}, "creative_writing_quality": {"not_applicable": 0.9983540817089904, "-2": 0.0001043741591134247, "-1": 0.0005239223495103729, "0": 0.0008954544362260759, "1": 8.898023743593397e-05, "2": 3.31871087237492e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 6.165445462572005e-05, "Art & Design": 0.00011824217016645676, "Law & Crime": 9.867586977919028e-05, "Education & Careers": 7.294289211324079e-05, "Entertainment & Media": 0.00043275469718985374, "Fashion & Beauty": 5.400395221054327e-05, "Business, Economics & Finance": 8.255180959355343e-05, "Food & Dining": 5.087130675492624e-05, "Games & Gaming": 0.026402400418917095, "Electronics & Hardware": 8.056808697496224e-05, "Health, Healthcare & Wellness": 4.5865680747291744e-05, "History & Geography": 6.013704095954791e-05, "Home, Pets & Hobbies": 5.647146374947173e-05, "Industry & Production": 4.551163741455813e-05, "Language, Literature & Philosophy": 6.301180941651794e-05, "Politics & Government": 2.8626315498066176e-05, "Religion & Spirituality": 4.933231236361909e-05, "Science, Mathematics & Engineering": 0.00015198277064322382, "Relationships & Community": 3.899318903151283e-05, "Software Usage & Applications": 0.0005132824604592884, "Programming & Software Engineering": 0.9710798472103451, "Sports & Fitness": 9.029021003494971e-05, "Vehicles & Transportation": 3.1293072188347144e-05, "Travel & Tourism": 8.964709293547261e-05, "Other / Uncovered Subject": 0.00010836111635649212, "Unknown / Insufficient Content": 9.268095953103426e-05}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0006285504805743368, "Art & Design": 0.000750898794652325, "Law & Crime": 0.00048473926161206397, "Education & Careers": 0.0003742830528538346, "Entertainment & Media": 0.0012565693793848488, "Fashion & Beauty": 0.0002122839333131041, "Business, Economics & Finance": 0.0004602974354239929, "Food & Dining": 0.00018595932903134416, "Games & Gaming": 0.12688087936572232, "Electronics & Hardware": 0.0004413140326096361, "Health, Healthcare & Wellness": 0.0002543131388519272, "History & Geography": 0.0002657160357617802, "Home, Pets & Hobbies": 0.0002721916933323203, "Industry & Production": 0.00017965628714618708, "Language, Literature & Philosophy": 0.0002994567048114882, "Politics & Government": 0.00017312219014136633, "Religion & Spirituality": 0.0002641083662962628, "Science, Mathematics & Engineering": 0.0007854131798250047, "Relationships & Community": 0.00018213390897208224, "Software Usage & Applications": 0.002358196486025953, "Programming & Software Engineering": 0.02054974332329518, "Sports & Fitness": 0.0002234058632078849, "Vehicles & Transportation": 0.00010508821744062884, "Travel & Tourism": 0.00038874913658830526, "Other / Uncovered Subject": 0.0004042077714867523, "NONE": 0.8416187226316392}}, "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": 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.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": 9799, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 9799, "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": "assistant_1", "dataset_uid": "e1603f43-5559-4994-a404-7cb5f3d6ebda", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "fcf1c010ee2269383cfb4342d40cb6216b82bfd53e5c104ec489e3d46ced11de", "source_metadata": {"uuid": "e1603f43-5559-4994-a404-7cb5f3d6ebda", "repo_name": "AlexanderReaper7/CSharp-XNA-Tools", "relative_path": "Tool_files/Tool_files/Tool_files/Game1.cs", "category": "TOOL", "algo_rel_score": 0.7566708326339722, "quality_score": 4.174836158752441, "source_meta": {"github_metadata": {"branch": "master", "commit_count": 27, "repo_created_at": "2018-01-23T14:59:25.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 0, "forks": 0, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "1eca0056825f01af5c70de85135d65eb49679c39", "size_bytes": 6238, "file_timestamp": 1639489515, "language": "c#", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "5c63d8398b274ae471b358eb0a1cd1a3b7b43884"}}, "parsed_source_meta": {"github_metadata": {"branch": "master", "commit_count": 27, "repo_created_at": "2018-01-23T14:59:25.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 0, "forks": 0, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "1eca0056825f01af5c70de85135d65eb49679c39", "size_bytes": 6238, "file_timestamp": 1639489515, "language": "c#", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "5c63d8398b274ae471b358eb0a1cd1a3b7b43884", "url": "https://github.com/AlexanderReaper7/CSharp-XNA-Tools/blob/5c63d8398b274ae471b358eb0a1cd1a3b7b43884/Tool_files/Tool_files/Tool_files/Game1.cs"}, "gpt4o_tokens": 1161, "dataset_split": "csharp", "probability_weighted_scores": {"content_quality": 0.33169394671618446, "noise_severity": 0.22355841043765165, "missing_content_severity": 0.42664425338484313, "factual_density": 3.151939182477997, "pretraining_utility": 0.3570711726367543, "math_density": 0.32928865554235903, "code_density": 3.729960164804562, "reasoning_density": 0.5249435914662958, "education_level": 2.004686844172311, "creative_writing_quality": -0.35075630182084044}, "score_applicability": {"education_level": 0.9984666550694873, "creative_writing_quality": 0.0016459182910095566}} {"source_group": "csharp", "source": "openbmb/UltraData-Stack-v3-L2/csharp", "domain": "github.com", "language": "csharp", "url": "https://github.com/MiguelJDZ/Shopping-Cart-Win-App/blob/7fc16bdc445785f4c261cd7390a0764c57ac9862/ShoppingCartApp/ShoppingCartForm.cs", "id": "csharp-0-6789702d00d662640323f37bc63ce2a1", "text": "using System;\nusing System.Windows.Forms;\n\nnamespace ShoppingCartApp\n{\n public partial class ShoppingCartForm : Form\n {\n // Declare instance variables for the subtotal, tax, shipping and total.\n private double subtotal = 0;\n private double tax;\n private double shipping;\n private double total;\n\n // Initializes form.\n public ShoppingCartForm()\n {\n InitializeComponent();\n }\n\n // Event handler when PRODUCTS > PRINT BOOK menu item is clicked.\n private void tsmiPrint_Click(object sender, EventArgs e)\n {\n PrintBooksForm frmPrintBook = new PrintBooksForm();\n DialogResult button = frmPrintBook.ShowDialog();\n\n if (button == DialogResult.OK)\n {\n lbBooks.Items.Add(frmPrintBook.Tag);\n\n Subtotal1();\n\n txtSubtotal.Text = subtotal.ToString(\"c\");\n tax = subtotal * 0.115;\n txtTax.Text = tax.ToString(\"c\");\n int counter = lbBooks.Items.Count;\n shipping = counter * 2;\n txtShipping.Text = shipping.ToString(\"c\");\n total = subtotal + tax + shipping;\n txtTotal.Text = total.ToString(\"c\");\n }\n }\n\n // Event handler when PRODUCTS > AUDIO BOOK menu item is clicked.\n private void tsmiAudio_Click(object sender, EventArgs e)\n {\n AudioBooksForm frmAudioBook = new AudioBooksForm();\n DialogResult button = frmAudioBook.ShowDialog();\n\n if (button == DialogResult.OK)\n {\n lbBooks.Items.Add(frmAudioBook.Tag);\n\n Subtotal();\n\n txtSubtotal.Text = subtotal.ToString(\"c\");\n tax = subtotal * 0.115;\n txtTax.Text = tax.ToString(\"c\");\n int counter = lbBooks.Items.Count;\n shipping = counter * 2;\n txtShipping.Text = shipping.ToString(\"c\");\n total = subtotal + tax + shipping;\n txtTotal.Text = total.ToString(\"c\");\n }\n }\n\n private double Subtotal1()\n {\n if (lbBooks.Items.Contains(\"The History of Computers - $14.50\"))\n {\n subtotal = subtotal + 14.50;\n }\n else if (lbBooks.Items.Contains(\"Learn Calculus in One Day - $29.95\"))\n {\n subtotal = subtotal + 29.95;\n }\n else if (lbBooks.Items.Contains(\"Feel the Stress - $18.50\"))\n {\n subtotal = subtotal + 18.50;\n }\n else if (lbBooks.Items.Contains(\"C# Programming Made Easy - $11.95\"))\n {\n subtotal = subtotal + 11.95;\n }\n return subtotal;\n }\n\n private double Subtotal ()\n {\n if (lbBooks.Items.Contains(\"You Can Program Too! - $25.50\"))\n {\n subtotal = subtotal + 25.50;\n }\n else if (lbBooks.Items.Contains(\"Relaxation Techniques - $11.50\"))\n {\n subtotal = subtotal + 11.50;\n }\n else if (lbBooks.Items.Contains(\"Indiscrete Math - $19.95\"))\n {\n subtotal = subtotal + 19.95;\n }\n else if (lbBooks.Items.Contains(\"Developing People Skills - $12.95\"))\n {\n subtotal = subtotal + 12.95;\n }\n return subtotal;\n }\n\n // Event handler when HELP > ABOUT menu item is clicked.\n private void tsmiAbout_Click(object sender, EventArgs e)\n {\n MessageBox.Show(\"ShoppingCart © 2020 . All Rights Reserved \\n\\n This app lets you choose between\" +\n \" audio books or physical books and gives you how much will it cost. It simulates a shopping cart.\",\n \"About Shopping Cart App\", MessageBoxButtons.OK, MessageBoxIcon.Information);\n }\n\n // Event handler when REMOVE button is clicked.\n private void btnRemove_Click(object sender, EventArgs e)\n {\n if (lbBooks.SelectedIndex >= 0)\n {\n lbBooks.Items.RemoveAt(lbBooks.SelectedIndex);\n shipping = shipping - 2;\n txtShipping.Text = shipping.ToString(\"c\");\n\n if (lbBooks.Items.Count == 0)\n {\n txtShipping.Clear();\n txtTax.Clear();\n }\n }\n }\n\n // Event handler when FILE > RESET menu item is clicked.\n private void tsmiReset_Click(object sender, EventArgs e)\n {\n lbBooks.Items.Clear();\n txtSubtotal.Clear();\n subtotal = 0;\n txtTax.Clear();\n tax = 0;\n txtShipping.Clear();\n shipping = 0;\n txtTotal.Clear();\n total = 0;\n }\n\n // Event handler when FILE > EXIT menu item is clicked.\n private void tsmiExit_Click(object sender, EventArgs e)\n {\n Application.Exit();\n }\n\n private void lbBooks_SelectedIndexChanged(object sender, EventArgs e)\n {\n }\n }\n}\n", "text_preview": "using System; using System.Windows.Forms; namespace ShoppingCartApp { public partial class ShoppingCartForm : Form { // Declare instance variables for the subtotal, tax, shipping and total. private double subtotal = 0; private double tax; p", "input_sha256": "7a621e48fec4c2f65908147f5a85d51de68aaa825409825425ff0630f7b975d3", "text_sha256": "6789702d00d662640323f37bc63ce2a1785ab4f61c2ec52468dcc67a7babf064", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 2005, "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": 1, "code_density": 4, "reasoning_density": 0, "education_level": 2, "creative_writing_quality": null}, "score_expectations": {"content_quality": 0.5936366336230946, "noise_severity": 0.06265945946615739, "missing_content_severity": 0.04359250882388903, "factual_density": 2.921880726517628, "pretraining_utility": 0.2486668093017904, "math_density": 1.391751003948992, "code_density": 3.7684709588547873, "reasoning_density": 0.5372945633047228, "education_level": 1.848116242992506, "creative_writing_quality": -0.3000293107139829}, "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.05217159121578796, "secondary_choice": "NONE", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.9959973429171751, "secondary": 0.9627143908299514, "tertiary": 0.908274469561303, "structured_records": 0.14029483546525917, "procedural_steps": 0.0023595776171256126, "worked_solution": 0.019458430878922805, "contextual_dialogue": 7.0880794845214806e-06, "content_quality": 0.4619441827670604, "noise_severity": 0.9477837837782022, "missing_content_severity": 0.9636729093134259, "factual_density": 0.4615539007679146, "pretraining_utility": 0.5323365619598928, "math_density": 0.41630538518480165, "code_density": 0.8070591323789893, "reasoning_density": 0.5522545305793976, "education_level": 0.782320921765833, "creative_writing_quality": 0.9982447533992276, "primary_topic": 0.9750243948527166, "secondary_topic": 0.7740218544972127}, "probability_margin": {"primary": 0.9943131292763656, "secondary": 0.9565827242488382, "tertiary": 0.8903886765978312, "education_level": 0.6617752962288729, "creative_writing_quality": 0.9977571470980552, "primary_topic": 0.966400664852313, "secondary_topic": 0.6578488914368239}, "raw_probabilities": {"primary": {"Academic Writing": 4.669701489988555e-05, "Content Listing": 8.410410135696285e-05, "Creative Writing": 4.884684812415947e-05, "Customer Support Page": 1.3520833180534706e-05, "Q&A Forum": 1.8222261709916955e-05, "Discussion Thread": 1.0128104193242357e-05, "Comment Section": 1.840820257554953e-05, "Missing Content": 4.09839448945444e-05, "Knowledge Article": 0.00010156711076057637, "Legal Notices": 7.313351424892126e-05, "News Article": 6.7931022332229875e-06, "Organizational Announcement": 1.8830153111393194e-05, "Nonfiction Writing": 2.1953407369183428e-05, "Organizational About Page": 3.6761269830605446e-05, "Personal About Page": 5.49106393065395e-05, "Personal Blog": 1.2534426257939802e-05, "Product Page": 9.75521371969031e-05, "Spam / Ads": 1.7168103267669676e-05, "Structured Data": 0.0005282961386287834, "Technical Writing": 0.9961641202956262, "Transcript / Interview": 2.01339013114747e-05, "Tutorial / How-To Guide": 0.0007032675168647959, "User Reviews": 1.107595379053747e-05, "Other / Unknown": 0.0018509910192605345}, "secondary": {"Academic Writing": 0.0002913622860892598, "Content Listing": 0.0027982292028466637, "Creative Writing": 0.000419267696000553, "Customer Support Page": 0.00022965540444833793, "Q&A Forum": 0.0001258212780470193, "Discussion Thread": 0.00010389956907294659, "Comment Section": 0.00026375434766717093, "Missing Content": 0.0004993651846411932, "Knowledge Article": 0.0005748263769400682, "Legal Notices": 0.006893040552277555, "News Article": 0.0001837085502257527, "Organizational Announcement": 0.0002671484662145045, "Nonfiction Writing": 0.00022124090539627517, "Organizational About Page": 0.0028047080449955606, "Personal About Page": 0.001812176363604333, "Personal Blog": 0.00019248378426534783, "Product Page": 0.0029351126837719164, "Spam / Ads": 0.00036027607906677936, "Structured Data": 0.004002676355179778, "Technical Writing": 0.007685233629865201, "Transcript / Interview": 0.0002580002710329566, "Tutorial / How-To Guide": 0.0027010156900384775, "User Reviews": 0.00010903939960894099, "NONE": 0.9642679578787033}, "tertiary": {"Academic Writing": 0.0004692475242592211, "Content Listing": 0.016069736470002333, "Creative Writing": 0.00087709711971218, "Customer Support Page": 0.0004700893722627674, "Q&A Forum": 0.0002530980492691135, "Discussion Thread": 0.00018961800145910724, "Comment Section": 0.0005892180392797086, "Missing Content": 0.000710846503257541, "Knowledge Article": 0.001096088635175834, "Legal Notices": 0.02170769006508427, "News Article": 0.0003828999227146751, "Organizational Announcement": 0.000593341455828466, "Nonfiction Writing": 0.0006402342685115827, "Organizational About Page": 0.005216875607585293, "Personal About Page": 0.0037057275119492077, "Personal Blog": 0.0003663024184656204, "Product Page": 0.013157831417817116, "Spam / Ads": 0.0011550767194891994, "Structured Data": 0.0076537202126860555, "Technical Writing": 0.00919505113283419, "Transcript / Interview": 0.0005021909934710894, "Tutorial / How-To Guide": 0.002658252782264041, "User Reviews": 0.00024339911370593653, "NONE": 0.9120963666629154}, "structured_records": {"false": 0.8597051645347409, "true": 0.14029483546525917}, "procedural_steps": {"false": 0.9976404223828744, "true": 0.0023595776171256126}, "worked_solution": {"false": 0.9805415691210772, "true": 0.019458430878922805}, "contextual_dialogue": {"false": 0.9999929119205154, "true": 7.0880794845214806e-06}, "content_quality": {"-2": 0.015943747972401896, "-1": 0.07571951105615815, "0": 0.3267449074986945, "1": 0.46194002632143427, "2": 0.11965180715131109}, "noise_severity": {"0": 0.9450619064542458, "1": 0.04952247000105032, "2": 0.0037896990933265436, "3": 0.0009461065270550881, "4": 0.000679817924322182}, "missing_content_severity": {"0": 0.9715767005511782, "1": 0.01683185664967053, "2": 0.008532955789813597, "3": 0.0025392074427592927, "4": 0.0005192795665783565}, "factual_density": {"0": 0.012148841344710103, "1": 0.044935716072670766, "2": 0.23580934010096524, "3": 0.4230980796835886, "4": 0.2840080227980653}, "pretraining_utility": {"-2": 0.010008960801319333, "-1": 0.13624673657053044, "0": 0.49409082586362324, "1": 0.3143754860540945, "2": 0.045277990710432495}, "math_density": {"0": 0.15434126691462305, "1": 0.454677154860906, "2": 0.28713619526488193, "3": 0.05258007328003392, "4": 0.05126530967955508}, "code_density": {"0": 0.00040066686470095156, "1": 0.0008275091315645208, "2": 0.0364729431209635, "3": 0.1544979600497884, "4": 0.8078009208329826}, "reasoning_density": {"0": 0.7172628182851378, "1": 0.08011322794800167, "2": 0.1587370897541176, "3": 0.035840300202486096, "4": 0.00804656381025694}, "education_level": {"none": 0.001972086522590166, "0": 0.006447291106393159, "1": 0.15682547190932125, "2": 0.8186007681381942, "3": 0.014172939622194392, "4": 0.0019814427013069695}, "creative_writing_quality": {"not_applicable": 0.9985372944993564, "-2": 0.00013638366123455603, "-1": 0.0003800122878372506, "0": 0.0007801474013011587, "1": 0.00011839921337098238, "2": 4.776293689983714e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 5.012527916902967e-05, "Art & Design": 0.00022162517883266618, "Law & Crime": 0.00014216437937200318, "Education & Careers": 0.00038485568035715416, "Entertainment & Media": 0.00030539709373607696, "Fashion & Beauty": 0.00014385292608588463, "Business, Economics & Finance": 0.009584330198376024, "Food & Dining": 0.00016422434142127624, "Games & Gaming": 0.000766816572157493, "Electronics & Hardware": 0.00018773162777749048, "Health, Healthcare & Wellness": 7.132845290208939e-05, "History & Geography": 8.948094104915229e-05, "Home, Pets & Hobbies": 0.00014610664484605444, "Industry & Production": 9.06674375451353e-05, "Language, Literature & Philosophy": 0.0005531509107552559, "Politics & Government": 4.38029505425065e-05, "Religion & Spirituality": 8.034651114771741e-05, "Science, Mathematics & Engineering": 0.0004229502283150129, "Relationships & Community": 6.910239916987016e-05, "Software Usage & Applications": 0.0051911687789787785, "Programming & Software Engineering": 0.975984995050689, "Sports & Fitness": 8.069348556786858e-05, "Vehicles & Transportation": 0.00047292166942083187, "Travel & Tourism": 0.00012787292171149888, "Other / Uncovered Subject": 0.004479520692393855, "Unknown / Insufficient Content": 0.0001447676476800986}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.001087832380966922, "Art & Design": 0.0028300792221577263, "Law & Crime": 0.0018445741998660598, "Education & Careers": 0.0025800192644732825, "Entertainment & Media": 0.00416938586938829, "Fashion & Beauty": 0.0006355744487602573, "Business, Economics & Finance": 0.1248644301951114, "Food & Dining": 0.0006878082937947774, "Games & Gaming": 0.0016771686663974072, "Electronics & Hardware": 0.0009135764168233249, "Health, Healthcare & Wellness": 0.0006666590548036494, "History & Geography": 0.000705597039772281, "Home, Pets & Hobbies": 0.0006499452496369545, "Industry & Production": 0.0004314137348810168, "Language, Literature & Philosophy": 0.007615863902162538, "Politics & Government": 0.00037886393477665496, "Religion & Spirituality": 0.0006230346958593712, "Science, Mathematics & Engineering": 0.001522440794746635, "Relationships & Community": 0.0003460681658278196, "Software Usage & Applications": 0.02312093609228497, "Programming & Software Engineering": 0.029294267820182456, "Sports & Fitness": 0.00039895956804919487, "Vehicles & Transportation": 0.0025275318592778394, "Travel & Tourism": 0.0006551634111276908, "Other / Uncovered Subject": 0.007059484086936224, "NONE": 0.7827133216319353}}, "probabilities": {"primary": {"Academic Writing": 4.669701489988555e-05, "Content Listing": 8.410410135696285e-05, "Creative Writing": 4.884684812415947e-05, "Customer Support Page": 1.3520833180534706e-05, "Q&A Forum": 1.8222261709916955e-05, "Discussion Thread": 1.0128104193242357e-05, "Comment Section": 1.840820257554953e-05, "Missing Content": 4.09839448945444e-05, "Knowledge Article": 0.00010156711076057637, "Legal Notices": 7.313351424892126e-05, "News Article": 6.7931022332229875e-06, "Organizational Announcement": 1.8830153111393194e-05, "Nonfiction Writing": 2.1953407369183428e-05, "Organizational About Page": 3.6761269830605446e-05, "Personal About Page": 5.49106393065395e-05, "Personal Blog": 1.2534426257939802e-05, "Product Page": 9.75521371969031e-05, "Spam / Ads": 1.7168103267669676e-05, "Structured Data": 0.0005282961386287834, "Technical Writing": 0.9961641202956262, "Transcript / Interview": 2.01339013114747e-05, "Tutorial / How-To Guide": 0.0007032675168647959, "User Reviews": 1.107595379053747e-05, "Other / Unknown": 0.0018509910192605345}, "secondary": {"Academic Writing": 0.00029136228608925985, "Content Listing": 0.002798229202846664, "Creative Writing": 0.00041926769600055306, "Customer Support Page": 0.00022965540444833796, "Q&A Forum": 0.00012582127804701933, "Discussion Thread": 0.0001038995690729466, "Comment Section": 0.000263754347667171, "Missing Content": 0.0004993651846411933, "Knowledge Article": 0.0005748263769400683, "Legal Notices": 0.006893040552277556, "News Article": 0.00018370855022575272, "Organizational Announcement": 0.00026714846621450454, "Nonfiction Writing": 0.0002212409053962752, "Organizational About Page": 0.002804708044995561, "Personal About Page": 0.0018121763636043333, "Personal Blog": 0.00019248378426534786, "Product Page": 0.002935112683771917, "Spam / Ads": 0.0003602760790667794, "Structured Data": 0.004002676355179779, "Technical Writing": 0.007685233629865202, "Transcript / Interview": 0.00025800027103295664, "Tutorial / How-To Guide": 0.002701015690038478, "User Reviews": 0.000109039399608941, "NONE": 0.9642679578787035}, "tertiary": {"Academic Writing": 0.00046924752425922116, "Content Listing": 0.016069736470002337, "Creative Writing": 0.0008770971197121801, "Customer Support Page": 0.00047008937226276746, "Q&A Forum": 0.0002530980492691136, "Discussion Thread": 0.00018961800145910726, "Comment Section": 0.0005892180392797087, "Missing Content": 0.0007108465032575411, "Knowledge Article": 0.0010960886351758343, "Legal Notices": 0.021707690065084273, "News Article": 0.00038289992271467514, "Organizational Announcement": 0.0005933414558284661, "Nonfiction Writing": 0.0006402342685115828, "Organizational About Page": 0.005216875607585294, "Personal About Page": 0.003705727511949208, "Personal Blog": 0.00036630241846562044, "Product Page": 0.013157831417817118, "Spam / Ads": 0.0011550767194891997, "Structured Data": 0.007653720212686056, "Technical Writing": 0.009195051132834193, "Transcript / Interview": 0.0005021909934710895, "Tutorial / How-To Guide": 0.0026582527822640416, "User Reviews": 0.00024339911370593656, "NONE": 0.9120963666629155}, "structured_records": {"false": 0.8597051645347409, "true": 0.14029483546525917}, "procedural_steps": {"false": 0.9976404223828744, "true": 0.0023595776171256126}, "worked_solution": {"false": 0.9805415691210772, "true": 0.019458430878922805}, "contextual_dialogue": {"false": 0.9999929119205154, "true": 7.0880794845214806e-06}, "content_quality": {"-2": 0.0159437479724019, "-1": 0.07571951105615816, "0": 0.32674490749869456, "1": 0.4619400263214343, "2": 0.1196518071513111}, "noise_severity": {"0": 0.9450619064542458, "1": 0.04952247000105032, "2": 0.0037896990933265436, "3": 0.0009461065270550881, "4": 0.000679817924322182}, "missing_content_severity": {"0": 0.9715767005511782, "1": 0.01683185664967053, "2": 0.008532955789813597, "3": 0.0025392074427592927, "4": 0.0005192795665783565}, "factual_density": {"0": 0.012148841344710103, "1": 0.044935716072670766, "2": 0.23580934010096524, "3": 0.4230980796835886, "4": 0.2840080227980653}, "pretraining_utility": {"-2": 0.010008960801319333, "-1": 0.13624673657053044, "0": 0.49409082586362324, "1": 0.3143754860540945, "2": 0.045277990710432495}, "math_density": {"0": 0.15434126691462305, "1": 0.454677154860906, "2": 0.28713619526488193, "3": 0.05258007328003392, "4": 0.05126530967955508}, "code_density": {"0": 0.00040066686470095156, "1": 0.0008275091315645208, "2": 0.0364729431209635, "3": 0.1544979600497884, "4": 0.8078009208329826}, "reasoning_density": {"0": 0.7172628182851377, "1": 0.08011322794800166, "2": 0.15873708975411757, "3": 0.03584030020248609, "4": 0.008046563810256938}, "education_level": {"none": 0.001972086522590166, "0": 0.006447291106393159, "1": 0.15682547190932125, "2": 0.8186007681381942, "3": 0.014172939622194392, "4": 0.0019814427013069695}, "creative_writing_quality": {"not_applicable": 0.9985372944993561, "-2": 0.000136383661234556, "-1": 0.0003800122878372505, "0": 0.0007801474013011585, "1": 0.00011839921337098236, "2": 4.7762936899837125e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 5.0125279169029675e-05, "Art & Design": 0.0002216251788326662, "Law & Crime": 0.0001421643793720032, "Education & Careers": 0.0003848556803571542, "Entertainment & Media": 0.000305397093736077, "Fashion & Beauty": 0.00014385292608588466, "Business, Economics & Finance": 0.009584330198376026, "Food & Dining": 0.00016422434142127627, "Games & Gaming": 0.0007668165721574931, "Electronics & Hardware": 0.0001877316277774905, "Health, Healthcare & Wellness": 7.13284529020894e-05, "History & Geography": 8.94809410491523e-05, "Home, Pets & Hobbies": 0.00014610664484605447, "Industry & Production": 9.066743754513531e-05, "Language, Literature & Philosophy": 0.000553150910755256, "Politics & Government": 4.380295054250651e-05, "Religion & Spirituality": 8.034651114771742e-05, "Science, Mathematics & Engineering": 0.00042295022831501295, "Relationships & Community": 6.910239916987018e-05, "Software Usage & Applications": 0.005191168778978779, "Programming & Software Engineering": 0.9759849950506891, "Sports & Fitness": 8.06934855678686e-05, "Vehicles & Transportation": 0.0004729216694208319, "Travel & Tourism": 0.0001278729217114989, "Other / Uncovered Subject": 0.004479520692393856, "Unknown / Insufficient Content": 0.00014476764768009862}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.001087832380966922, "Art & Design": 0.0028300792221577263, "Law & Crime": 0.0018445741998660598, "Education & Careers": 0.0025800192644732825, "Entertainment & Media": 0.00416938586938829, "Fashion & Beauty": 0.0006355744487602573, "Business, Economics & Finance": 0.1248644301951114, "Food & Dining": 0.0006878082937947774, "Games & Gaming": 0.0016771686663974072, "Electronics & Hardware": 0.0009135764168233249, "Health, Healthcare & Wellness": 0.0006666590548036494, "History & Geography": 0.000705597039772281, "Home, Pets & Hobbies": 0.0006499452496369545, "Industry & Production": 0.0004314137348810168, "Language, Literature & Philosophy": 0.007615863902162538, "Politics & Government": 0.00037886393477665496, "Religion & Spirituality": 0.0006230346958593712, "Science, Mathematics & Engineering": 0.001522440794746635, "Relationships & Community": 0.0003460681658278196, "Software Usage & Applications": 0.02312093609228497, "Programming & Software Engineering": 0.029294267820182456, "Sports & Fitness": 0.00039895956804919487, "Vehicles & Transportation": 0.0025275318592778394, "Travel & Tourism": 0.0006551634111276908, "Other / Uncovered Subject": 0.007059484086936224, "NONE": 0.7827133216319353}}, "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": 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": 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.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": 9697, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 9697, "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.089133+00:00", "scoring_key_slot": "primary", "dataset_uid": "f5076c6b-e4ab-40d0-ae4a-22edc7e50cf6", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "518eb7915a105448f02e51b8773a40060b39b34ee050de9f3c44c82d3043a2ad", "source_metadata": {"uuid": "f5076c6b-e4ab-40d0-ae4a-22edc7e50cf6", "repo_name": "MiguelJDZ/Shopping-Cart-Win-App", "relative_path": "ShoppingCartApp/ShoppingCartForm.cs", "category": "TOOL", "algo_rel_score": 0.7498926520347595, "quality_score": 3.440099000930786, "source_meta": {"github_metadata": {"branch": "main", "commit_count": 5, "repo_created_at": "2022-08-10T20:41:31.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 0, "forks": 0, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "bf8d277b2a8a9cee50c2e7bccedcbbe1d76dff1b", "size_bytes": 5384, "file_timestamp": 1660164218, "language": "c#", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "7fc16bdc445785f4c261cd7390a0764c57ac9862"}}, "parsed_source_meta": {"github_metadata": {"branch": "main", "commit_count": 5, "repo_created_at": "2022-08-10T20:41:31.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 0, "forks": 0, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "bf8d277b2a8a9cee50c2e7bccedcbbe1d76dff1b", "size_bytes": 5384, "file_timestamp": 1660164218, "language": "c#", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "7fc16bdc445785f4c261cd7390a0764c57ac9862", "url": "https://github.com/MiguelJDZ/Shopping-Cart-Win-App/blob/7fc16bdc445785f4c261cd7390a0764c57ac9862/ShoppingCartApp/ShoppingCartForm.cs"}, "gpt4o_tokens": 1037, "dataset_split": "csharp", "probability_weighted_scores": {"content_quality": 0.5936366336230946, "noise_severity": 0.06265945946615739, "missing_content_severity": 0.04359250882388903, "factual_density": 2.921880726517628, "pretraining_utility": 0.2486668093017904, "math_density": 1.391751003948992, "code_density": 3.7684709588547873, "reasoning_density": 0.5372945633047228, "education_level": 1.848116242992506, "creative_writing_quality": -0.3000293107139829}, "score_applicability": {"education_level": 0.9980279134774099, "creative_writing_quality": 0.0014627055006437844}} {"source_group": "csharp", "source": "openbmb/UltraData-Stack-v3-L2/csharp", "domain": "github.com", "language": "csharp", "url": "https://github.com/dotnet/runtime/blob/94b6d05ad5e6fffe1d213305a9bc938c2545e9a2/src/tests/JIT/opt/Compares/conditionalInverts.cs", "id": "csharp-0-043a2bab53d040ab1a98edebcfc4a84d", "text": "// Licensed to the .NET Foundation under one or more agreements.\n// The .NET Foundation licenses this file to you under the MIT license.\n\n// unit test for the full range comparison optimization\n\nusing System;\nusing System.Runtime.CompilerServices;\nusing Xunit;\n\npublic class ConditionalInvertTest\n{\n\n [Theory]\n [InlineData(72, 13, 13)]\n [InlineData(32, 13, 223)]\n [MethodImpl(MethodImplOptions.NoInlining)]\n public static void cinv_byte(byte op1, byte op2, byte expected)\n {\n //ARM64-FULL-LINE: cmp {{w[0-9]+}}, #42\n //ARM64-FULL-LINE-NEXT: csinv {{w[0-9]+}}, {{w[0-9]+}}, {{w[0-9]+}}, {{gt|le}}\n byte result = (byte) (op1 > 42 ? op2: ~op1);\n Assert.Equal(expected, result);\n }\n\n [Theory]\n [InlineData(34, 13, ~13)]\n [InlineData(74, 13, 74)]\n [MethodImpl(MethodImplOptions.NoInlining)]\n public static void cinv_short(short op1, short op2, short expected)\n {\n //ARM64-FULL-LINE: cmp {{w[0-9]+}}, #43\n //ARM64-FULL-LINE-NEXT: csinv {{w[0-9]+}}, {{w[0-9]+}}, {{w[0-9]+}}, {{gt|le}}\n short result = (short) (op1 <= 43 ? ~op2 : op1);\n Assert.Equal(expected, result);\n }\n\n [Theory]\n [InlineData(75, ~short.MaxValue)]\n [InlineData(-35, short.MaxValue)]\n [MethodImpl(MethodImplOptions.NoInlining)]\n public static void cinv_short_min_max(short op1, short expected)\n {\n //ARM64-FULL-LINE: cmp {{w[0-9]+}}, #44\n //ARM64-FULL-LINE-NEXT: csel {{w[0-9]+}}, {{w[0-9]+}}, {{w[0-9]+}}, {{gt|le}}\n short result = (short) (op1 > 44 ? ~short.MaxValue : short.MaxValue);\n Assert.Equal(expected, result);\n }\n\n [Theory]\n [InlineData(76, 17, 17)]\n [InlineData(36, 17, ~36)]\n [MethodImpl(MethodImplOptions.NoInlining)]\n public static void cinv_int(int op1, int op2, int expected)\n {\n //ARM64-FULL-LINE: cmp {{w[0-9]+}}, #45\n //ARM64-FULL-LINE-NEXT: csinv {{w[0-9]+}}, {{w[0-9]+}}, {{w[0-9]+}}, {{gt|le}}\n int result = op1 > 45 ? op2 : ~op1;\n Assert.Equal(expected, result);\n }\n\n [Theory]\n [InlineData(77, int.MaxValue)]\n [InlineData(37, ~int.MaxValue)]\n [MethodImpl(MethodImplOptions.NoInlining)]\n public static void cinv_int_min_max(int op1, int expected)\n {\n //ARM64-FULL-LINE: cmp {{w[0-9]+}}, #46\n //ARM64-FULL-LINE-NEXT: csel {{w[0-9]+}}, {{w[0-9]+}}, {{w[0-9]+}}, {{ge|lt}}\n int result = op1 >= 46 ? int.MaxValue : ~int.MaxValue;\n Assert.Equal(expected, result);\n }\n\n [Theory]\n [InlineData(78, 23, 78)]\n [InlineData(38, 23, ~23)]\n [MethodImpl(MethodImplOptions.NoInlining)]\n public static void cinv_long(long op1, long op2, long expected)\n {\n //ARM64-FULL-LINE: cmp {{x[0-9]+}}, #47\n //ARM64-FULL-LINE-NEXT: csinv {{x[0-9]+}}, {{x[0-9]+}}, {{x[0-9]+}}, {{ge|lt}}\n long result = op1 < 47 ? ~op2 : op1;\n Assert.Equal(expected, result);\n }\n\n [Theory]\n [InlineData(80.0f, 29, 29)]\n [InlineData(30.0f, 29, ~29)]\n [MethodImpl(MethodImplOptions.NoInlining)]\n public static void cinv_float(float op1, int op2, int expected)\n {\n //ARM64-FULL-LINE: fcmp {{s[0-9]+}}, {{s[0-9]+}}\n //ARM64-FULL-LINE-NEXT: csinv {{w[0-9]+}}, {{w[0-9]+}}, {{w[0-9]+}}, {{gt|le}}\n int result = op1 > 48.0f ? op2 : ~op2;\n Assert.Equal(expected, result);\n }\n\n [Theory]\n [InlineData(60.0, 31, ~31)]\n [InlineData(30.0, 31, 31)]\n [MethodImpl(MethodImplOptions.NoInlining)]\n public static void cinv_double(double op1, int op2, int expected)\n {\n //ARM64-FULL-LINE: fcmp {{d[0-9]+}}, {{d[0-9]+}}\n //ARM64-FULL-LINE-NEXT: csinv {{w[0-9]+}}, {{w[0-9]+}}, {{w[0-9]+}}, {{gt|le}}\n int result = op1 > 49.0 ? ~op2 : op2;\n Assert.Equal(expected, result);\n }\n\n [Theory]\n [InlineData(81, 21, 21)]\n [InlineData(31, 17, -8)]\n [MethodImpl(MethodImplOptions.NoInlining)]\n public static void cinv_int_shifted_false_opr(int op1, int op2, int expected)\n {\n //ARM64-FULL-LINE: cmp {{w[0-9]+}}, #50\n //ARM64-FULL-LINE-NEXT: csinv {{w[0-9]+}}, {{w[0-9]+}}, {{w[0-9]+}}, {{gt|le}}\n int result = op1 > 50 ? op2 : ~(op1 >> 2);\n Assert.Equal(expected, result);\n }\n\n\n [Theory]\n [InlineData(81, 21, -21)]\n [InlineData(31, 17, 17)]\n [MethodImpl(MethodImplOptions.NoInlining)]\n public static void cinv_int_shifted_true_opr(int op1, int op2, int expected)\n {\n //ARM64-FULL-LINE: cmp {{w[0-9]+}}, #51\n //ARM64-FULL-LINE-NEXT: csinv {{w[0-9]+}}, {{w[0-9]+}}, {{w[0-9]+}}, {{gt|le}}\n int result = op1 > 51 ? ~(op1 >> 2) : op2;\n Assert.Equal(expected, result);\n }\n}\n", "text_preview": "// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // unit test for the full range comparison optimization using System; using System.Runtime.CompilerServ", "input_sha256": "0859e0fca83e8e8ffad3b1052fcf10403bbad8ef1a6fb6ec5ff76e734181ada5", "text_sha256": "043a2bab53d040ab1a98edebcfc4a84d8a8a9c4ec87e5d6494e54fa117fb652f", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 2008, "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": 2, "noise_severity": 0, "missing_content_severity": 0, "factual_density": 3, "pretraining_utility": 0, "math_density": 4, "code_density": 4, "reasoning_density": 0, "education_level": 3, "creative_writing_quality": null}, "score_expectations": {"content_quality": 1.360031808496116, "noise_severity": 0.3625945545235054, "missing_content_severity": 0.004866191190533043, "factual_density": 3.194714433757657, "pretraining_utility": 0.22141947500140421, "math_density": 2.1835362874350985, "code_density": 3.811003016535736, "reasoning_density": 0.2957521339460461, "education_level": 2.9635430384681243, "creative_writing_quality": -0.32420885533305227}, "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": ["secondary probability 0.5924 below 0.70"], "format_slot_diagnostics": {"comparable": true, "secondary_tertiary_identical": false, "secondary_tertiary_max_abs_gap": 0.2756677609992537, "secondary_choice": "Legal Notices", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.9896796836728868, "secondary": 0.5746714697098887, "tertiary": 0.6138090575489076, "structured_records": 0.4775258442880904, "procedural_steps": 0.000540555144690355, "worked_solution": 0.12013042288483217, "contextual_dialogue": 6.219831650916309e-06, "content_quality": 0.46669317374676333, "noise_severity": 0.6978378712304121, "missing_content_severity": 0.9959448406745558, "factual_density": 0.4840110447339715, "pretraining_utility": 0.4538759547098814, "math_density": 0.0, "code_density": 0.8425025137797798, "reasoning_density": 0.7535398883782949, "education_level": 0.27401399171891055, "creative_writing_quality": 0.9994133240816289, "primary_topic": 0.9872846741266599, "secondary_topic": 0.85511821843257}, "probability_margin": {"primary": 0.9851009293385423, "secondary": 0.2381609059868604, "tertiary": 0.28647314074824404, "education_level": 0.08333707680889746, "creative_writing_quality": 0.9993114862975171, "primary_topic": 0.9809226324458921, "secondary_topic": 0.8162411970534036}, "raw_probabilities": {"primary": {"Academic Writing": 6.521248055162823e-05, "Content Listing": 3.576596507231003e-05, "Creative Writing": 2.9242291931173258e-05, "Customer Support Page": 1.6559296228090155e-05, "Q&A Forum": 1.798850205908289e-05, "Discussion Thread": 1.3189102814349423e-05, "Comment Section": 2.277049938455466e-05, "Missing Content": 3.159691897125664e-05, "Knowledge Article": 7.992042521503013e-05, "Legal Notices": 0.0020866153188981423, "News Article": 1.0590563393034702e-05, "Organizational Announcement": 2.8001275420670508e-05, "Nonfiction Writing": 2.28365889404876e-05, "Organizational About Page": 2.1764573593685167e-05, "Personal About Page": 1.145885285559376e-05, "Personal Blog": 9.891525399271116e-06, "Product Page": 1.1005251761936933e-05, "Spam / Ads": 1.409086658554682e-05, "Structured Data": 0.00193472568714594, "Technical Writing": 0.9901096968531832, "Transcript / Interview": 2.596990581827187e-05, "Tutorial / How-To Guide": 0.00038149762035317043, "User Reviews": 1.0842119782763173e-05, "Other / Unknown": 0.005008767514640805}, "secondary": {"Academic Writing": 0.0007685136195778739, "Content Listing": 0.0006345457958298996, "Creative Writing": 0.0007294583800164327, "Customer Support Page": 0.00035372483102386477, "Q&A Forum": 0.000383881924484383, "Discussion Thread": 0.00035249182090176504, "Comment Section": 0.0005768292645298795, "Missing Content": 0.0006480652496823325, "Knowledge Article": 0.0010264942542463711, "Legal Notices": 0.59239349180531, "News Article": 0.0005640043804209814, "Organizational Announcement": 0.0006516268952184327, "Nonfiction Writing": 0.0005562180021835749, "Organizational About Page": 0.0006717730688117329, "Personal About Page": 0.0003702971963374583, "Personal Blog": 0.00033330856115046045, "Product Page": 0.0003876526481324929, "Spam / Ads": 0.00038855306622550455, "Structured Data": 0.00937360239810815, "Technical Writing": 0.0324540301174058, "Transcript / Interview": 0.0006792582066438175, "Tutorial / How-To Guide": 0.0011786949091735026, "User Reviews": 0.0002908977861359422, "NONE": 0.3542325858184496}, "tertiary": {"Academic Writing": 0.0005387167582109764, "Content Listing": 0.0003648715285376587, "Creative Writing": 0.0004819536678029578, "Customer Support Page": 0.00025262465743844685, "Q&A Forum": 0.00019775830458072812, "Discussion Thread": 0.00020773026056533156, "Comment Section": 0.00037930288855713356, "Missing Content": 0.0004175886706399186, "Knowledge Article": 0.000686015432495797, "Legal Notices": 0.3434272060694591, "News Article": 0.0003548022868491207, "Organizational Announcement": 0.0003508737766933982, "Nonfiction Writing": 0.0003118097228513599, "Organizational About Page": 0.0004141047154189862, "Personal About Page": 0.00022515191426540051, "Personal Blog": 0.00021092629079027332, "Product Page": 0.0002351936663141011, "Spam / Ads": 0.0002586051200864883, "Structured Data": 0.008979113946178166, "Technical Writing": 0.010383993066698485, "Transcript / Interview": 0.0004227891924353091, "Tutorial / How-To Guide": 0.0008463419947136832, "User Reviews": 0.0001521792507138815, "NONE": 0.6299003468177031}, "structured_records": {"false": 0.5224741557119096, "true": 0.4775258442880904}, "procedural_steps": {"false": 0.9994594448553097, "true": 0.000540555144690355}, "worked_solution": {"false": 0.8798695771151679, "true": 0.12013042288483217}, "contextual_dialogue": {"false": 0.9999937801683491, "true": 6.219831650916309e-06}, "content_quality": {"-2": 0.0033945657942077772, "-1": 0.006394650979574496, "0": 0.07911623150866236, "1": 0.4489735123710047, "2": 0.4621210393465506}, "noise_severity": {"0": 0.6585565988504732, "1": 0.325415244888113, "2": 0.01242827830331525, "3": 0.0020767588036319784, "4": 0.0015231191544664926}, "missing_content_severity": {"0": 0.9972941350326139, "1": 0.0011163354400269593, "2": 0.0011470221182003266, "3": 0.00031421812252875115, "4": 0.0001282892866297939}, "factual_density": {"0": 0.007207330260690316, "1": 0.018053957201082646, "2": 0.15450625109655214, "3": 0.413281871403229, "4": 0.4069505900384458}, "pretraining_utility": {"-2": 0.018658436828967218, "-1": 0.17964781601543459, "0": 0.42789108436310597, "1": 0.3092211609102114, "2": 0.06458150188228094}, "math_density": {"0": 0.18091516260079163, "1": 0.18855523143356043, "2": 0.18033104432034366, "3": 0.16647527922036612, "4": 0.2837232824249381}, "code_density": {"0": 0.0002457175467699934, "1": 0.0005830720742413745, "2": 0.018059381248070078, "3": 0.15014613455832, "4": 0.8309656945725986}, "reasoning_density": {"0": 0.8489349132377135, "1": 0.052941168369473886, "2": 0.06814098062653541, "3": 0.013402746741607638, "4": 0.016580191024669618}, "education_level": {"none": 0.0008785150365942468, "0": 0.0011187182822941383, "1": 0.0042369065659098575, "2": 0.31167458295686135, "3": 0.3950116597657588, "4": 0.28707961739258164}, "creative_writing_quality": {"not_applicable": 0.9995111034013574, "-2": 7.546618833373702e-05, "-1": 0.00012309839767303887, "0": 0.00019961710384031804, "1": 6.590364987245965e-05, "2": 2.481125892296915e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 4.123602594351729e-05, "Art & Design": 5.305227844496061e-05, "Law & Crime": 0.00027274096934781436, "Education & Careers": 4.6769181912258e-05, "Entertainment & Media": 3.076282018400693e-05, "Fashion & Beauty": 2.002534830473361e-05, "Business, Economics & Finance": 4.692015945469497e-05, "Food & Dining": 2.8590695299710533e-05, "Games & Gaming": 5.0021160275171845e-05, "Electronics & Hardware": 0.003670617563157985, "Health, Healthcare & Wellness": 3.918554311124758e-05, "History & Geography": 4.696907053719503e-05, "Home, Pets & Hobbies": 2.5690591715983133e-05, "Industry & Production": 3.277764309269906e-05, "Language, Literature & Philosophy": 5.308502324935129e-05, "Politics & Government": 2.3619705465400136e-05, "Religion & Spirituality": 3.064211290547067e-05, "Science, Mathematics & Engineering": 0.006851092675896206, "Relationships & Community": 1.8262401498778162e-05, "Software Usage & Applications": 0.0003767308669804193, "Programming & Software Engineering": 0.9877737251217883, "Sports & Fitness": 5.3037911525553985e-05, "Vehicles & Transportation": 2.1382790299868238e-05, "Travel & Tourism": 5.329116581374087e-05, "Other / Uncovered Subject": 0.00027127984974572455, "Unknown / Insufficient Content": 6.849132404920619e-05}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0005061169416376133, "Art & Design": 0.0004010241413145388, "Law & Crime": 0.017828803749813313, "Education & Careers": 0.00041051810292962534, "Entertainment & Media": 0.0003652881435773466, "Fashion & Beauty": 0.00021420327602400158, "Business, Economics & Finance": 0.0007283081225811588, "Food & Dining": 0.00019143490105222397, "Games & Gaming": 0.00034486210082471943, "Electronics & Hardware": 0.028673273328250468, "Health, Healthcare & Wellness": 0.0003285566975097351, "History & Geography": 0.00032972767952645825, "Home, Pets & Hobbies": 0.0001813296493145841, "Industry & Production": 0.00018507012527877207, "Language, Literature & Philosophy": 0.0002946115514204557, "Politics & Government": 0.00029189988608667856, "Religion & Spirituality": 0.0003252830862675545, "Science, Mathematics & Engineering": 0.044449397593298204, "Relationships & Community": 0.0001353556543801067, "Software Usage & Applications": 0.0007443432683700849, "Programming & Software Engineering": 0.04089375598430729, "Sports & Fitness": 0.0002426101338600369, "Vehicles & Transportation": 0.00011463091715812684, "Travel & Tourism": 0.0003646254566986287, "Other / Uncovered Subject": 0.0007643748618163852, "NONE": 0.8606905946467018}}, "probabilities": {"primary": {"Academic Writing": 6.521248055162823e-05, "Content Listing": 3.576596507231003e-05, "Creative Writing": 2.9242291931173258e-05, "Customer Support Page": 1.6559296228090155e-05, "Q&A Forum": 1.798850205908289e-05, "Discussion Thread": 1.3189102814349423e-05, "Comment Section": 2.277049938455466e-05, "Missing Content": 3.159691897125664e-05, "Knowledge Article": 7.992042521503013e-05, "Legal Notices": 0.0020866153188981423, "News Article": 1.0590563393034702e-05, "Organizational Announcement": 2.8001275420670508e-05, "Nonfiction Writing": 2.28365889404876e-05, "Organizational About Page": 2.1764573593685167e-05, "Personal About Page": 1.145885285559376e-05, "Personal Blog": 9.891525399271116e-06, "Product Page": 1.1005251761936933e-05, "Spam / Ads": 1.409086658554682e-05, "Structured Data": 0.00193472568714594, "Technical Writing": 0.9901096968531832, "Transcript / Interview": 2.596990581827187e-05, "Tutorial / How-To Guide": 0.00038149762035317043, "User Reviews": 1.0842119782763173e-05, "Other / Unknown": 0.005008767514640805}, "secondary": {"Academic Writing": 0.0007685136195778737, "Content Listing": 0.0006345457958298995, "Creative Writing": 0.0007294583800164326, "Customer Support Page": 0.0003537248310238647, "Q&A Forum": 0.0003838819244843829, "Discussion Thread": 0.000352491820901765, "Comment Section": 0.0005768292645298794, "Missing Content": 0.0006480652496823324, "Knowledge Article": 0.001026494254246371, "Legal Notices": 0.5923934918053099, "News Article": 0.0005640043804209813, "Organizational Announcement": 0.0006516268952184326, "Nonfiction Writing": 0.0005562180021835748, "Organizational About Page": 0.0006717730688117328, "Personal About Page": 0.0003702971963374582, "Personal Blog": 0.0003333085611504604, "Product Page": 0.00038765264813249277, "Spam / Ads": 0.00038855306622550444, "Structured Data": 0.009373602398108149, "Technical Writing": 0.032454030117405795, "Transcript / Interview": 0.0006792582066438174, "Tutorial / How-To Guide": 0.0011786949091735024, "User Reviews": 0.00029089778613594213, "NONE": 0.3542325858184495}, "tertiary": {"Academic Writing": 0.0005387167582109765, "Content Listing": 0.00036487152853765875, "Creative Writing": 0.0004819536678029579, "Customer Support Page": 0.0002526246574384469, "Q&A Forum": 0.00019775830458072818, "Discussion Thread": 0.00020773026056533162, "Comment Section": 0.00037930288855713367, "Missing Content": 0.0004175886706399187, "Knowledge Article": 0.0006860154324957971, "Legal Notices": 0.34342720606945915, "News Article": 0.0003548022868491208, "Organizational Announcement": 0.00035087377669339826, "Nonfiction Writing": 0.00031180972285135995, "Organizational About Page": 0.0004141047154189863, "Personal About Page": 0.00022515191426540057, "Personal Blog": 0.00021092629079027338, "Product Page": 0.00023519366631410117, "Spam / Ads": 0.00025860512008648836, "Structured Data": 0.008979113946178167, "Technical Writing": 0.010383993066698486, "Transcript / Interview": 0.0004227891924353092, "Tutorial / How-To Guide": 0.0008463419947136834, "User Reviews": 0.00015217925071388152, "NONE": 0.6299003468177032}, "structured_records": {"false": 0.5224741557119096, "true": 0.4775258442880904}, "procedural_steps": {"false": 0.9994594448553097, "true": 0.000540555144690355}, "worked_solution": {"false": 0.8798695771151679, "true": 0.12013042288483217}, "contextual_dialogue": {"false": 0.9999937801683491, "true": 6.219831650916309e-06}, "content_quality": {"-2": 0.0033945657942077777, "-1": 0.006394650979574497, "0": 0.07911623150866237, "1": 0.44897351237100475, "2": 0.46212103934655063}, "noise_severity": {"0": 0.6585565988504732, "1": 0.325415244888113, "2": 0.01242827830331525, "3": 0.0020767588036319784, "4": 0.0015231191544664926}, "missing_content_severity": {"0": 0.9972941350326142, "1": 0.0011163354400269597, "2": 0.001147022118200327, "3": 0.00031421812252875126, "4": 0.00012828928662979395}, "factual_density": {"0": 0.007207330260690317, "1": 0.01805395720108265, "2": 0.15450625109655217, "3": 0.41328187140322903, "4": 0.40695059003844586}, "pretraining_utility": {"-2": 0.018658436828967215, "-1": 0.17964781601543456, "0": 0.42789108436310586, "1": 0.30922116091021135, "2": 0.06458150188228093}, "math_density": {"0": 0.18091516260079163, "1": 0.18855523143356043, "2": 0.18033104432034366, "3": 0.16647527922036612, "4": 0.2837232824249381}, "code_density": {"0": 0.0002457175467699934, "1": 0.0005830720742413745, "2": 0.018059381248070078, "3": 0.15014613455832, "4": 0.8309656945725986}, "reasoning_density": {"0": 0.8489349132377135, "1": 0.052941168369473886, "2": 0.06814098062653541, "3": 0.013402746741607638, "4": 0.016580191024669618}, "education_level": {"none": 0.0008785150365942468, "0": 0.0011187182822941383, "1": 0.0042369065659098575, "2": 0.31167458295686135, "3": 0.3950116597657588, "4": 0.28707961739258164}, "creative_writing_quality": {"not_applicable": 0.9995111034013575, "-2": 7.546618833373703e-05, "-1": 0.0001230983976730389, "0": 0.00019961710384031807, "1": 6.590364987245966e-05, "2": 2.4811258922969152e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 4.123602594351729e-05, "Art & Design": 5.305227844496061e-05, "Law & Crime": 0.00027274096934781436, "Education & Careers": 4.6769181912258e-05, "Entertainment & Media": 3.076282018400693e-05, "Fashion & Beauty": 2.002534830473361e-05, "Business, Economics & Finance": 4.692015945469497e-05, "Food & Dining": 2.8590695299710533e-05, "Games & Gaming": 5.0021160275171845e-05, "Electronics & Hardware": 0.003670617563157985, "Health, Healthcare & Wellness": 3.918554311124758e-05, "History & Geography": 4.696907053719503e-05, "Home, Pets & Hobbies": 2.5690591715983133e-05, "Industry & Production": 3.277764309269906e-05, "Language, Literature & Philosophy": 5.308502324935129e-05, "Politics & Government": 2.3619705465400136e-05, "Religion & Spirituality": 3.064211290547067e-05, "Science, Mathematics & Engineering": 0.006851092675896206, "Relationships & Community": 1.8262401498778162e-05, "Software Usage & Applications": 0.0003767308669804193, "Programming & Software Engineering": 0.9877737251217883, "Sports & Fitness": 5.3037911525553985e-05, "Vehicles & Transportation": 2.1382790299868238e-05, "Travel & Tourism": 5.329116581374087e-05, "Other / Uncovered Subject": 0.00027127984974572455, "Unknown / Insufficient Content": 6.849132404920619e-05}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0005061169416376133, "Art & Design": 0.0004010241413145388, "Law & Crime": 0.017828803749813313, "Education & Careers": 0.00041051810292962534, "Entertainment & Media": 0.0003652881435773466, "Fashion & Beauty": 0.00021420327602400158, "Business, Economics & Finance": 0.0007283081225811588, "Food & Dining": 0.00019143490105222397, "Games & Gaming": 0.00034486210082471943, "Electronics & Hardware": 0.028673273328250468, "Health, Healthcare & Wellness": 0.0003285566975097351, "History & Geography": 0.00032972767952645825, "Home, Pets & Hobbies": 0.0001813296493145841, "Industry & Production": 0.00018507012527877207, "Language, Literature & Philosophy": 0.0002946115514204557, "Politics & Government": 0.00029189988608667856, "Religion & Spirituality": 0.0003252830862675545, "Science, Mathematics & Engineering": 0.044449397593298204, "Relationships & Community": 0.0001353556543801067, "Software Usage & Applications": 0.0007443432683700849, "Programming & Software Engineering": 0.04089375598430729, "Sports & Fitness": 0.0002426101338600369, "Vehicles & Transportation": 0.00011463091715812684, "Travel & Tourism": 0.0003646254566986287, "Other / Uncovered Subject": 0.0007643748618163852, "NONE": 0.8606905946467018}}, "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": 0.9999999999999998, "mass_delta": -2.220446049250313e-16, "missing_mass": 2.220446049250313e-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.9999999999999997, "mass_delta": -3.3306690738754696e-16, "missing_mass": 3.3306690738754696e-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": 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": 10243, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 10243, "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.724131+00:00", "scoring_key_slot": "assistant_1", "dataset_uid": "584e41ba-a34e-45d5-a36b-4f09e0cd7098", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "fe4b4579b818f01f73d139194ef872cd289cccaadd20535d1c8139903f643082", "source_metadata": {"uuid": "584e41ba-a34e-45d5-a36b-4f09e0cd7098", "repo_name": "dotnet/runtime", "relative_path": "src/tests/JIT/opt/Compares/conditionalInverts.cs", "category": "TEST", "algo_rel_score": 0.7547927498817444, "quality_score": 4.36767578125, "source_meta": {"github_metadata": {"branch": "main", "commit_count": 139698, "repo_created_at": "2019-09-24T23:36:39.000Z", "is_fork": false, "is_org_owned": true, "forked_from": null, "stars": 16637, "forks": 5086, "issues": 5000, "pull_requests": 282}, "file_meta": {"content_id": "6b7d2fcdf42c2e2635251511a33fac6c37c459ed", "size_bytes": 4666, "file_timestamp": 1752772146, "language": "c#", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "94b6d05ad5e6fffe1d213305a9bc938c2545e9a2"}}, "parsed_source_meta": {"github_metadata": {"branch": "main", "commit_count": 139698, "repo_created_at": "2019-09-24T23:36:39.000Z", "is_fork": false, "is_org_owned": true, "forked_from": null, "stars": 16637, "forks": 5086, "issues": 5000, "pull_requests": 282}, "file_meta": {"content_id": "6b7d2fcdf42c2e2635251511a33fac6c37c459ed", "size_bytes": 4666, "file_timestamp": 1752772146, "language": "c#", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "94b6d05ad5e6fffe1d213305a9bc938c2545e9a2", "url": "https://github.com/dotnet/runtime/blob/94b6d05ad5e6fffe1d213305a9bc938c2545e9a2/src/tests/JIT/opt/Compares/conditionalInverts.cs"}, "gpt4o_tokens": 1596, "dataset_split": "csharp", "probability_weighted_scores": {"content_quality": 1.360031808496116, "noise_severity": 0.3625945545235054, "missing_content_severity": 0.004866191190533043, "factual_density": 3.194714433757657, "pretraining_utility": 0.22141947500140424, "math_density": 2.1835362874350985, "code_density": 3.811003016535736, "reasoning_density": 0.2957521339460461, "education_level": 2.9635430384681243, "creative_writing_quality": -0.32420885533305227}, "score_applicability": {"education_level": 0.9991214849634058, "creative_writing_quality": 0.0004888965986425228}} {"source_group": "csharp", "source": "openbmb/UltraData-Stack-v3-L2/csharp", "domain": "github.com", "language": "csharp", "url": "https://github.com/Phong13/BulletSharpUnity3d/blob/f61aa17d3072ee26ef57cacf13635f16b9a06345/Plugins/BulletUnity/BulletSharp/Collision/GImpact/GImpactBvh.cs", "id": "csharp-0-df528b56593ecd3e58e8d017549722b9", "text": "using System;\nusing System.Runtime.InteropServices;\nusing System.Security;\nusing BulletSharp.Math;\n\nnamespace BulletSharp\n{\n\tpublic class GimPair : IDisposable\n\t{\n\t\tinternal IntPtr _native;\n\n\t\tinternal GimPair(IntPtr native)\n\t\t{\n\t\t\t_native = native;\n\t\t}\n\n\t\tpublic GimPair()\n\t\t{\n\t\t\t_native = GIM_PAIR_new();\n\t\t}\n\n\t\tpublic GimPair(GimPair p)\n\t\t{\n\t\t\t_native = GIM_PAIR_new2(p._native);\n\t\t}\n\n\t\tpublic GimPair(int index1, int index2)\n\t\t{\n\t\t\t_native = GIM_PAIR_new3(index1, index2);\n\t\t}\n\n\t\tpublic int Index1\n\t\t{\n\t\t\tget { return GIM_PAIR_getIndex1(_native); }\n\t\t\tset { GIM_PAIR_setIndex1(_native, value); }\n\t\t}\n\n\t\tpublic int Index2\n\t\t{\n\t\t\tget { return GIM_PAIR_getIndex2(_native); }\n\t\t\tset { GIM_PAIR_setIndex2(_native, value); }\n\t\t}\n\n\t\tpublic void Dispose()\n\t\t{\n\t\t\tDispose(true);\n\t\t\tGC.SuppressFinalize(this);\n\t\t}\n\n\t\tprotected virtual void Dispose(bool disposing)\n\t\t{\n\t\t\tif (_native != IntPtr.Zero)\n\t\t\t{\n\t\t\t\tGIM_PAIR_delete(_native);\n\t\t\t\t_native = IntPtr.Zero;\n\t\t\t}\n\t\t}\n\n\t\t~GimPair()\n\t\t{\n\t\t\tDispose(false);\n\t\t}\n\n\t\t[DllImport(Native.Dll, CallingConvention = Native.Conv), SuppressUnmanagedCodeSecurity]\n\t\tstatic extern IntPtr GIM_PAIR_new();\n\t\t[DllImport(Native.Dll, CallingConvention = Native.Conv), SuppressUnmanagedCodeSecurity]\n\t\tstatic extern IntPtr GIM_PAIR_new2(IntPtr p);\n\t\t[DllImport(Native.Dll, CallingConvention = Native.Conv), SuppressUnmanagedCodeSecurity]\n\t\tstatic extern IntPtr GIM_PAIR_new3(int index1, int index2);\n\t\t[DllImport(Native.Dll, CallingConvention = Native.Conv), SuppressUnmanagedCodeSecurity]\n\t\tstatic extern int GIM_PAIR_getIndex1(IntPtr obj);\n\t\t[DllImport(Native.Dll, CallingConvention = Native.Conv), SuppressUnmanagedCodeSecurity]\n\t\tstatic extern int GIM_PAIR_getIndex2(IntPtr obj);\n\t\t[DllImport(Native.Dll, CallingConvention = Native.Conv), SuppressUnmanagedCodeSecurity]\n\t\tstatic extern void GIM_PAIR_setIndex1(IntPtr obj, int value);\n\t\t[DllImport(Native.Dll, CallingConvention = Native.Conv), SuppressUnmanagedCodeSecurity]\n\t\tstatic extern void GIM_PAIR_setIndex2(IntPtr obj, int value);\n\t\t[DllImport(Native.Dll, CallingConvention = Native.Conv), SuppressUnmanagedCodeSecurity]\n\t\tstatic extern void GIM_PAIR_delete(IntPtr obj);\n\t}\n\n\tpublic class PairSet\n\t{\n\t\tinternal IntPtr _native;\n\n\t\tinternal PairSet(IntPtr native)\n\t\t{\n\t\t\t_native = native;\n\t\t}\n /*\n\t\tpublic PairSet()\n\t\t{\n\t\t\t_native = btPairSet_new();\n\t\t}\n */\n\t\tpublic void PushPair(int index1, int index2)\n\t\t{\n\t\t\tbtPairSet_push_pair(_native, index1, index2);\n\t\t}\n\n\t\tpublic void PushPairInv(int index1, int index2)\n\t\t{\n\t\t\tbtPairSet_push_pair_inv(_native, index1, index2);\n\t\t}\n\n\t\t[DllImport(Native.Dll, CallingConvention = Native.Conv), SuppressUnmanagedCodeSecurity]\n\t\tstatic extern IntPtr btPairSet_new();\n\t\t[DllImport(Native.Dll, CallingConvention = Native.Conv), SuppressUnmanagedCodeSecurity]\n\t\tstatic extern void btPairSet_push_pair(IntPtr obj, int index1, int index2);\n\t\t[DllImport(Native.Dll, CallingConvention = Native.Conv), SuppressUnmanagedCodeSecurity]\n\t\tstatic extern void btPairSet_push_pair_inv(IntPtr obj, int index1, int index2);\n\t}\n\n\tpublic class GimBvhData : IDisposable\n\t{\n\t\tinternal IntPtr _native;\n\n\t\tinternal GimBvhData(IntPtr native)\n\t\t{\n\t\t\t_native = native;\n\t\t}\n\n\t\tpublic GimBvhData()\n\t\t{\n\t\t\t_native = GIM_BVH_DATA_new();\n\t\t}\n\n\t\tpublic Aabb Bound\n\t\t{\n get { return new Aabb(GIM_BVH_DATA_getBound(_native), true); }\n\t\t}\n\n\t\tpublic int Data\n\t\t{\n\t\t\tget { return GIM_BVH_DATA_getData(_native); }\n\t\t\tset { GIM_BVH_DATA_setData(_native, value); }\n\t\t}\n\n\t\tpublic void Dispose()\n\t\t{\n\t\t\tDispose(true);\n\t\t\tGC.SuppressFinalize(this);\n\t\t}\n\n\t\tprotected virtual void Dispose(bool disposing)\n\t\t{\n\t\t\tif (_native != IntPtr.Zero)\n\t\t\t{\n\t\t\t\tGIM_BVH_DATA_delete(_native);\n\t\t\t\t_native = IntPtr.Zero;\n\t\t\t}\n\t\t}\n\n\t\t~GimBvhData()\n\t\t{\n\t\t\tDispose(false);\n\t\t}\n\n\t\t[DllImport(Native.Dll, CallingConvention = Native.Conv), SuppressUnmanagedCodeSecurity]\n\t\tstatic extern IntPtr GIM_BVH_DATA_new();\n\t\t[DllImport(Native.Dll, CallingConvention = Native.Conv), SuppressUnmanagedCodeSecurity]\n\t\tstatic extern IntPtr GIM_BVH_DATA_getBound(IntPtr obj);\n\t\t[DllImport(Native.Dll, CallingConvention = Native.Conv), SuppressUnmanagedCodeSecurity]\n\t\tstatic extern int GIM_BVH_DATA_getData(IntPtr obj);\n\t\t[DllImport(Native.Dll, CallingConvention = Native.Conv), SuppressUnmanagedCodeSecurity]\n\t\tstatic extern void GIM_BVH_DATA_setData(IntPtr obj, int value);\n\t\t[DllImport(Native.Dll, CallingConvention = Native.Conv), SuppressUnmanagedCodeSecurity]\n\t\tstatic extern void GIM_BVH_DATA_delete(IntPtr obj);\n\t}\n\n\tpublic class GimBvhTreeNode : IDisposable\n\t{\n\t\tinternal IntPtr _native;\n\n\t\tinternal GimBvhTreeNode(IntPtr native)\n\t\t{\n\t\t\t_native = native;\n\t\t}\n\n\t\tpublic GimBvhTreeNode()\n\t\t{\n\t\t\t_native = GIM_BVH_TREE_NODE_new();\n\t\t}\n\n\t\tpublic Aabb Bound\n\t\t{\n get { return new Aabb(GIM_BVH_TREE_NODE_getBound(_native), true); }\n\t\t}\n\n\t\tpublic int DataIndex\n\t\t{\n\t\t\tget { return GIM_BVH_TREE_NODE_getDataIndex(_native); }\n\t\t\tset { GIM_BVH_TREE_NODE_setDataIndex(_native, value); }\n\t\t}\n\n\t\tpublic int EscapeIndex\n\t\t{\n\t\t\tget { return GIM_BVH_TREE_NODE_getEscapeIndex(_native); }\n\t\t\tset { GIM_BVH_TREE_NODE_setEscapeIndex(_native, value); }\n\t\t}\n\n\t\tpublic bool IsLeafNode\n\t\t{\n\t\t\tget { return GIM_BVH_TREE_NODE_isLeafNode(_native); }\n\t\t}\n\n\t\tpublic void Dispose()\n\t\t{\n\t\t\tDispose(true);\n\t\t\tGC.SuppressFinalize(this);\n\t\t}\n\n\t\tprotected virtual void Dispose(bool disposing)\n\t\t{\n\t\t\tif (_native != IntPtr.Zero)\n\t\t\t{\n\t\t\t\tGIM_BVH_TREE_NODE_delete(_native);\n\t\t\t\t_native = IntPtr.Zero;\n\t\t\t}\n\t\t}\n\n\t\t~GimBvhTreeNode()\n\t\t{\n\t\t\tDispose(false);\n\t\t}\n\n\t\t[DllImport(Native.Dll, CallingConvention = Native.Conv), SuppressUnmanagedCodeSecurity]\n\t\tstatic extern IntPtr GIM_BVH_TREE_NODE_new();\n\t\t[DllImport(Native.Dll, CallingConvention = Native.Conv), SuppressUnmanagedCodeSecurity]\n\t\tstatic extern IntPtr GIM_BVH_TREE_NODE_getBound(IntPtr obj);\n\t\t[DllImport(Native.Dll, CallingConvention = Native.Conv), SuppressUnmanagedCodeSecurity]\n\t\tstatic extern int GIM_BVH_TREE_NODE_getDataIndex(IntPtr obj);\n\t\t[DllImport(Native.Dll, CallingConvention = Native.Conv), SuppressUnmanagedCodeSecurity]\n\t\tstatic extern int GIM_BVH_TREE_NODE_getEscapeIndex(IntPtr obj);\n\t\t[DllImport(Native.Dll, CallingConvention = Native.Conv), SuppressUnmanagedCodeSecurity]\n\t\t[return: MarshalAs(UnmanagedType.I1)]\n\t\tstatic extern bool GIM_BVH_TREE_NODE_isLeafNode(IntPtr obj);\n\t\t[DllImport(Native.Dll, CallingConvention = Native.Conv), SuppressUnmanagedCodeSecurity]\n\t\tstatic extern void GIM_BVH_TREE_NODE_setDataIndex(IntPtr obj, int index);\n\t\t[DllImport(Native.Dll, CallingConvention = Native.Conv), SuppressUnmanagedCodeSecurity]\n\t\tstatic extern void GIM_BVH_TREE_NODE_setEscapeIndex(IntPtr obj, int index);\n\t\t[DllImport(Native.Dll, CallingConvention = Native.Conv), SuppressUnmanagedCodeSecurity]\n\t\tstatic extern void GIM_BVH_TREE_NODE_delete(IntPtr obj);\n\t}\n\n\tpublic class GimBvhDataArray\n\t{\n\t\tinternal IntPtr _native;\n\n\t\tinternal GimBvhDataArray(IntPtr native)\n\t\t{\n\t\t\t_native = native;\n\t\t}\n /*\n\t\tpublic GimBvhDataArray()\n\t\t{\n\t\t\t_native = GIM_BVH_DATA_ARRAY_new();\n\t\t}\n */\n\t\t[DllImport(Native.Dll, CallingConvention = Native.Conv), SuppressUnmanagedCodeSecurity]\n\t\tstatic extern IntPtr GIM_BVH_DATA_ARRAY_new();\n\t}\n\n\tpublic class GimBvhTreeNodeArray\n\t{\n\t\tinternal IntPtr _native;\n\n\t\tinternal GimBvhTreeNodeArray(IntPtr native)\n\t\t{\n\t\t\t_native = native;\n\t\t}\n/*\n\t\tpublic GimBvhTreeNodeArray()\n\t\t{\n\t\t\t_native = GIM_BVH_TREE_NODE_ARRAY_new();\n\t\t}\n*/\n\t\t[DllImport(Native.Dll, CallingConvention = Native.Conv), SuppressUnmanagedCodeSecurity]\n\t\tstatic extern IntPtr GIM_BVH_TREE_NODE_ARRAY_new();\n\t}\n\n\tpublic class BvhTree : IDisposable\n\t{\n\t\tinternal IntPtr _native;\n\n\t\tinternal BvhTree(IntPtr native)\n\t\t{\n\t\t\t_native = native;\n\t\t}\n\n\t\tpublic BvhTree()\n\t\t{\n\t\t\t_native = btBvhTree_new();\n\t\t}\n\n\t\tpublic void BuildTree(GimBvhDataArray primitiveBoxes)\n\t\t{\n\t\t\tbtBvhTree_build_tree(_native, primitiveBoxes._native);\n\t\t}\n\n\t\tpublic void ClearNodes()\n\t\t{\n\t\t\tbtBvhTree_clearNodes(_native);\n\t\t}\n\n\t\tpublic GimBvhTreeNode GetNodePointer()\n\t\t{\n\t\t\treturn new GimBvhTreeNode(btBvhTree_get_node_pointer(_native));\n\t\t}\n\n\t\tpublic GimBvhTreeNode GetNodePointer(int index)\n\t\t{\n\t\t\treturn new GimBvhTreeNode(btBvhTree_get_node_pointer2(_native, index));\n\t\t}\n\n\t\tpublic int GetEscapeNodeIndex(int nodeIndex)\n\t\t{\n\t\t\treturn btBvhTree_getEscapeNodeIndex(_native, nodeIndex);\n\t\t}\n\n\t\tpublic int GetLeftNode(int nodeIndex)\n\t\t{\n\t\t\treturn btBvhTree_getLeftNode(_native, nodeIndex);\n\t\t}\n\n\t\tpublic void GetNodeBound(int nodeIndex, Aabb bound)\n\t\t{\n\t\t\tbtBvhTree_getNodeBound(_native, nodeIndex, bound._native);\n\t\t}\n\n\t\tpublic int GetNodeData(int nodeIndex)\n\t\t{\n\t\t\treturn btBvhTree_getNodeData(_native, nodeIndex);\n\t\t}\n\n\t\tpublic int GetRightNode(int nodeIndex)\n\t\t{\n\t\t\treturn btBvhTree_getRightNode(_native, nodeIndex);\n\t\t}\n\n\t\tpublic bool IsLeafNode(int nodeIndex)\n\t\t{\n\t\t\treturn btBvhTree_isLeafNode(_native, nodeIndex);\n\t\t}\n\n\t\tpublic void SetNodeBound(int nodeIndex, Aabb bound)\n\t\t{\n\t\t\tbtBvhTree_setNodeBound(_native, nodeIndex, bound._native);\n\t\t}\n\n\t\tpublic int NodeCount\n\t\t{\n\t\t\tget { return btBvhTree_getNodeCount(_native); }\n\t\t}\n\n\t\tpublic void Dispose()\n\t\t{\n\t\t\tDispose(true);\n\t\t\tGC.SuppressFinalize(this);\n\t\t}\n\n\t\tprotected virtual void Dispose(bool disposing)\n\t\t{\n\t\t\tif (_native != IntPtr.Zero)\n\t\t\t{\n\t\t\t\tbtBvhTree_delete(_native);\n\t\t\t\t_native = IntPtr.Zero;\n\t\t\t}\n\t\t}\n\n\t\t~BvhTree()\n\t\t{\n\t\t\tDispose(false);\n\t\t}\n\n\t\t[DllImport(Native.Dll, CallingConvention = Native.Conv), SuppressUnmanagedCodeSecurity]\n\t\tstatic extern IntPtr btBvhTree_new();\n\t\t[DllImport(Native.Dll, CallingConvention = Native.Conv), SuppressUnmanagedCodeSecurity]\n\t\tstatic extern void btBvhTree_build_tree(IntPtr obj, IntPtr primitive_boxes);\n\t\t[DllImport(Native.Dll, CallingConvention = Native.Conv), SuppressUnmanagedCodeSecurity]\n\t\tstatic extern void btBvhTree_clearNodes(IntPtr obj);\n\t\t[DllImport(Native.Dll, CallingConvention = Native.Conv), SuppressUnmanagedCodeSecurity]\n\t\tstatic extern IntPtr btBvhTree_get_node_pointer(IntPtr obj);\n\t\t[DllImport(Native.Dll, CallingConvention = Native.Conv), SuppressUnmanagedCodeSecurity]\n\t\tstatic extern IntPtr btBvhTree_get_node_pointer2(IntPtr obj, int index);\n\t\t[DllImport(Native.Dll, CallingConvention = Native.Conv), SuppressUnmanagedCodeSecurity]\n\t\tstatic extern int btBvhTree_getEscapeNodeIndex(IntPtr obj, int nodeindex);\n\t\t[DllImport(Native.Dll, CallingConvention = Native.Conv), SuppressUnmanagedCodeSecurity]\n\t\tstatic extern int btBvhTree_getLeftNode(IntPtr obj, int nodeindex);\n\t\t[DllImport(Native.Dll, CallingConvention = Native.Conv), SuppressUnmanagedCodeSecurity]\n\t\tstatic extern void btBvhTree_getNodeBound(IntPtr obj, int nodeindex, IntPtr bound);\n\t\t[DllImport(Native.Dll, CallingConvention = Native.Conv), SuppressUnmanagedCodeSecurity]\n\t\tstatic extern int btBvhTree_getNodeCount(IntPtr obj);\n\t\t[DllImport(Native.Dll, CallingConvention = Native.Conv), SuppressUnmanagedCodeSecurity]\n\t\tstatic extern int btBvhTree_getNodeData(IntPtr obj, int nodeindex);\n\t\t[DllImport(Native.Dll, CallingConvention = Native.Conv), SuppressUnmanagedCodeSecurity]\n\t\tstatic extern int btBvhTree_getRightNode(IntPtr obj, int nodeindex);\n\t\t[DllImport(Native.Dll, CallingConvention = Native.Conv), SuppressUnmanagedCodeSecurity]\n\t\t[return: MarshalAs(UnmanagedType.I1)]\n\t\tstatic extern bool btBvhTree_isLeafNode(IntPtr obj, int nodeindex);\n\t\t[DllImport(Native.Dll, CallingConvention = Native.Conv), SuppressUnmanagedCodeSecurity]\n\t\tstatic extern void btBvhTree_setNodeBound(IntPtr obj, int nodeindex, IntPtr bound);\n\t\t[DllImport(Native.Dll, CallingConvention = Native.Conv), SuppressUnmanagedCodeSecurity]\n\t\tstatic extern void btBvhTree_delete(IntPtr obj);\n\t}\n\n\tpublic class PrimitiveManagerBase : IDisposable\n\t{\n\t\tinternal IntPtr _native;\n\n\t\tinternal PrimitiveManagerBase(IntPtr native)\n\t\t{\n\t\t\t_native = native;\n\t\t}\n\n\t\tpublic void GetPrimitiveBox(int primIndex, Aabb primbox)\n\t\t{\n\t\t\tbtPrimitiveManagerBase_get_primitive_box(_native, primIndex, primbox._native);\n\t\t}\n /*\n\t\tpublic void GetPrimitiveTriangle(int primIndex, PrimitiveTriangle triangle)\n\t\t{\n\t\t\tbtPrimitiveManagerBase_get_primitive_triangle(_native, primIndex, triangle._native);\n\t\t}\n */\n\t\tpublic bool IsTrimesh\n\t\t{\n\t\t\tget { return btPrimitiveManagerBase_is_trimesh(_native); }\n\t\t}\n\n\t\tpublic int PrimitiveCount\n\t\t{\n\t\t\tget { return btPrimitiveManagerBase_get_primitive_count(_native); }\n\t\t}\n\n\t\tpublic void Dispose()\n\t\t{\n\t\t\tDispose(true);\n\t\t\tGC.SuppressFinalize(this);\n\t\t}\n\n\t\tprotected virtual void Dispose(bool disposing)\n\t\t{\n\t\t\tif (_native != IntPtr.Zero)\n\t\t\t{\n\t\t\t\tbtPrimitiveManagerBase_delete(_native);\n\t\t\t\t_native = IntPtr.Zero;\n\t\t\t}\n\t\t}\n\n\t\t~PrimitiveManagerBase()\n\t\t{\n\t\t\tDispose(false);\n\t\t}\n\n\t\t[DllImport(Native.Dll, CallingConvention = Native.Conv), SuppressUnmanagedCodeSecurity]\n\t\tstatic extern void btPrimitiveManagerBase_get_primitive_box(IntPtr obj, int prim_index, IntPtr primbox);\n\t\t[DllImport(Native.Dll, CallingConvention = Native.Conv), SuppressUnmanagedCodeSecurity]\n\t\tstatic extern int btPrimitiveManagerBase_get_primitive_count(IntPtr obj);\n\t\t[DllImport(Native.Dll, CallingConvention = Native.Conv), SuppressUnmanagedCodeSecurity]\n\t\tstatic extern void btPrimitiveManagerBase_get_primitive_triangle(IntPtr obj, int prim_index, IntPtr triangle);\n\t\t[DllImport(Native.Dll, CallingConvention = Native.Conv), SuppressUnmanagedCodeSecurity]\n\t\t[return: MarshalAs(UnmanagedType.I1)]\n\t\tstatic extern bool btPrimitiveManagerBase_is_trimesh(IntPtr obj);\n\t\t[DllImport(Native.Dll, CallingConvention = Native.Conv), SuppressUnmanagedCodeSecurity]\n\t\tstatic extern void btPrimitiveManagerBase_delete(IntPtr obj);\n\t}\n\n\tpublic class GImpactBvh : IDisposable\n\t{\n\t\tinternal IntPtr _native;\n\n\t\tprivate PrimitiveManagerBase _primitiveManager;\n\n\t\tinternal GImpactBvh(IntPtr native)\n\t\t{\n\t\t\t_native = native;\n\t\t}\n\n\t\tpublic GImpactBvh()\n\t\t{\n\t\t\t_native = btGImpactBvh_new();\n\t\t}\n\n\t\tpublic GImpactBvh(PrimitiveManagerBase primitiveManager)\n\t\t{\n\t\t\t_native = btGImpactBvh_new2(primitiveManager._native);\n\t\t\t_primitiveManager = primitiveManager;\n\t\t}\n /*\n public bool BoxQuery(Aabb box, AlignedIntArray collidedResults)\n\t\t{\n\t\t\treturn btGImpactBvh_boxQuery(_native, box._native, collidedResults._native);\n\t\t}\n\n public bool BoxQueryTrans(Aabb box, Matrix transform, AlignedIntArray collidedResults)\n\t\t{\n\t\t\treturn btGImpactBvh_boxQueryTrans(_native, box._native, ref transform, collidedResults._native);\n\t\t}\n */\n\t\tpublic void BuildSet()\n\t\t{\n\t\t\tbtGImpactBvh_buildSet(_native);\n\t\t}\n\n\t\tpublic static void FindCollision(GImpactBvh boxset1, Matrix trans1, GImpactBvh boxset2, Matrix trans2, PairSet collisionPairs)\n\t\t{\n\t\t\tbtGImpactBvh_find_collision(boxset1._native, ref trans1, boxset2._native, ref trans2, collisionPairs._native);\n\t\t}\n\n\t\tpublic GimBvhTreeNode GetNodePointer()\n\t\t{\n\t\t\treturn new GimBvhTreeNode(btGImpactBvh_get_node_pointer(_native));\n\t\t}\n\n\t\tpublic GimBvhTreeNode GetNodePointer(int index)\n\t\t{\n\t\t\treturn new GimBvhTreeNode(btGImpactBvh_get_node_pointer2(_native, index));\n\t\t}\n\n\t\tpublic int GetEscapeNodeIndex(int nodeIndex)\n\t\t{\n\t\t\treturn btGImpactBvh_getEscapeNodeIndex(_native, nodeIndex);\n\t\t}\n\n\t\tpublic int GetLeftNode(int nodeIndex)\n\t\t{\n\t\t\treturn btGImpactBvh_getLeftNode(_native, nodeIndex);\n\t\t}\n\n\t\tpublic void GetNodeBound(int nodeIndex, Aabb bound)\n\t\t{\n\t\t\tbtGImpactBvh_getNodeBound(_native, nodeIndex, bound._native);\n\t\t}\n\n\t\tpublic int GetNodeData(int nodeIndex)\n\t\t{\n\t\t\treturn btGImpactBvh_getNodeData(_native, nodeIndex);\n\t\t}\n /*\n\t\tpublic void GetNodeTriangle(int nodeIndex, PrimitiveTriangle triangle)\n\t\t{\n\t\t\tbtGImpactBvh_getNodeTriangle(_native, nodeIndex, triangle._native);\n\t\t}\n */\n\t\tpublic int GetRightNode(int nodeIndex)\n\t\t{\n\t\t\treturn btGImpactBvh_getRightNode(_native, nodeIndex);\n\t\t}\n\n\t\tpublic bool IsLeafNode(int nodeIndex)\n\t\t{\n\t\t\treturn btGImpactBvh_isLeafNode(_native, nodeIndex);\n\t\t}\n /*\n public bool RayQuery(Vector3 rayDir, Vector3 rayOrigin, AlignedIntArray collidedResults)\n\t\t{\n\t\t\treturn btGImpactBvh_rayQuery(_native, ref rayDir, ref rayOrigin, collidedResults._native);\n\t\t}\n */\n\t\tpublic void SetNodeBound(int nodeIndex, Aabb bound)\n\t\t{\n\t\t\tbtGImpactBvh_setNodeBound(_native, nodeIndex, bound._native);\n\t\t}\n\n\t\tpublic void Update()\n\t\t{\n\t\t\tbtGImpactBvh_update(_native);\n\t\t}\n\n\t\tpublic Aabb GlobalBox\n\t\t{\n\t\t\tget { return new Aabb(btGImpactBvh_getGlobalBox(_native), true); }\n\t\t}\n\n\t\tpublic bool HasHierarchy\n\t\t{\n\t\t\tget { return btGImpactBvh_hasHierarchy(_native); }\n\t\t}\n\n\t\tpublic bool IsTrimesh\n\t\t{\n\t\t\tget { return btGImpactBvh_isTrimesh(_native); }\n\t\t}\n\n\t\tpublic int NodeCount\n\t\t{\n\t\t\tget { return btGImpactBvh_getNodeCount(_native); }\n\t\t}\n\n\t\tpublic PrimitiveManagerBase PrimitiveManager\n\t\t{\n\t\t\tget { return new PrimitiveManagerBase(btGImpactBvh_getPrimitiveManager(_native)); }\n\t\t\tset { btGImpactBvh_setPrimitiveManager(_native, value._native); }\n\t\t}\n\n\t\tpublic void Dispose()\n\t\t{\n\t\t\tDispose(true);\n\t\t\tGC.SuppressFinalize(this);\n\t\t}\n\n\t\tprotected virtual void Dispose(bool disposing)\n\t\t{\n\t\t\tif (_native != IntPtr.Zero)\n\t\t\t{\n\t\t\t\tbtGImpactBvh_delete(_native);\n\t\t\t\t_native = IntPtr.Zero;\n\t\t\t}\n\t\t}\n\n\t\t~GImpactBvh()\n\t\t{\n\t\t\tDispose(false);\n\t\t}\n\n\t\t[DllImport(Native.Dll, CallingConvention = Native.Conv), SuppressUnmanagedCodeSecurity]\n\t\tstatic extern IntPtr btGImpactBvh_new();\n\t\t[DllImport(Native.Dll, CallingConvention = Native.Conv), SuppressUnmanagedCodeSecurity]\n\t\tstatic extern IntPtr btGImpactBvh_new2(IntPtr primitive_manager);\n\t\t[DllImport(Native.Dll, CallingConvention = Native.Conv), SuppressUnmanagedCodeSecurity]\n\t\t[return: MarshalAs(UnmanagedType.I1)]\n\t\tstatic extern bool btGImpactBvh_boxQuery(IntPtr obj, IntPtr box, IntPtr collided_results);\n\t\t[DllImport(Native.Dll, CallingConvention = Native.Conv), SuppressUnmanagedCodeSecurity]\n\t\t[return: MarshalAs(UnmanagedType.I1)]\n\t\tstatic extern bool btGImpactBvh_boxQueryTrans(IntPtr obj, IntPtr box, [In] ref Matrix transform, IntPtr collided_results);\n\t\t[DllImport(Native.Dll, CallingConvention = Native.Conv), SuppressUnmanagedCodeSecurity]\n\t\tstatic extern void btGImpactBvh_buildSet(IntPtr obj);\n\t\t[DllImport(Native.Dll, CallingConvention = Native.Conv), SuppressUnmanagedCodeSecurity]\n\t\tstatic extern void btGImpactBvh_find_collision(IntPtr boxset1, [In] ref Matrix trans1, IntPtr boxset2, [In] ref Matrix trans2, IntPtr collision_pairs);\n\t\t[DllImport(Native.Dll, CallingConvention = Native.Conv), SuppressUnmanagedCodeSecurity]\n\t\tstatic extern IntPtr btGImpactBvh_get_node_pointer(IntPtr obj);\n\t\t[DllImport(Native.Dll, CallingConvention = Native.Conv), SuppressUnmanagedCodeSecurity]\n\t\tstatic extern IntPtr btGImpactBvh_get_node_pointer2(IntPtr obj, int index);\n\t\t[DllImport(Native.Dll, CallingConvention = Native.Conv), SuppressUnmanagedCodeSecurity]\n\t\tstatic extern int btGImpactBvh_getEscapeNodeIndex(IntPtr obj, int nodeindex);\n\t\t[DllImport(Native.Dll, CallingConvention = Native.Conv), SuppressUnmanagedCodeSecurity]\n\t\tstatic extern IntPtr btGImpactBvh_getGlobalBox(IntPtr obj);\n\t\t[DllImport(Native.Dll, CallingConvention = Native.Conv), SuppressUnmanagedCodeSecurity]\n\t\tstatic extern int btGImpactBvh_getLeftNode(IntPtr obj, int nodeindex);\n\t\t[DllImport(Native.Dll, CallingConvention = Native.Conv), SuppressUnmanagedCodeSecurity]\n\t\tstatic extern void btGImpactBvh_getNodeBound(IntPtr obj, int nodeindex, IntPtr bound);\n\t\t[DllImport(Native.Dll, CallingConvention = Native.Conv), SuppressUnmanagedCodeSecurity]\n\t\tstatic extern int btGImpactBvh_getNodeCount(IntPtr obj);\n\t\t[DllImport(Native.Dll, CallingConvention = Native.Conv), SuppressUnmanagedCodeSecurity]\n\t\tstatic extern int btGImpactBvh_getNodeData(IntPtr obj, int nodeindex);\n\t\t[DllImport(Native.Dll, CallingConvention = Native.Conv), SuppressUnmanagedCodeSecurity]\n\t\tstatic extern void btGImpactBvh_getNodeTriangle(IntPtr obj, int nodeindex, IntPtr triangle);\n\t\t[DllImport(Native.Dll, CallingConvention = Native.Conv), SuppressUnmanagedCodeSecurity]\n\t\tstatic extern IntPtr btGImpactBvh_getPrimitiveManager(IntPtr obj);\n\t\t[DllImport(Native.Dll, CallingConvention = Native.Conv), SuppressUnmanagedCodeSecurity]\n\t\tstatic extern int btGImpactBvh_getRightNode(IntPtr obj, int nodeindex);\n\t\t[DllImport(Native.Dll, CallingConvention = Native.Conv), SuppressUnmanagedCodeSecurity]\n\t\t[return: MarshalAs(UnmanagedType.I1)]\n\t\tstatic extern bool btGImpactBvh_hasHierarchy(IntPtr obj);\n\t\t[DllImport(Native.Dll, CallingConvention = Native.Conv), SuppressUnmanagedCodeSecurity]\n\t\t[return: MarshalAs(UnmanagedType.I1)]\n\t\tstatic extern bool btGImpactBvh_isLeafNode(IntPtr obj, int nodeindex);\n\t\t[DllImport(Native.Dll, CallingConvention = Native.Conv), SuppressUnmanagedCodeSecurity]\n\t\t[return: MarshalAs(UnmanagedType.I1)]\n\t\tstatic extern bool btGImpactBvh_isTrimesh(IntPtr obj);\n\t\t[DllImport(Native.Dll, CallingConvention = Native.Conv), SuppressUnmanagedCodeSecurity]\n\t\t[return: MarshalAs(UnmanagedType.I1)]\n\t\tstatic extern bool btGImpactBvh_rayQuery(IntPtr obj, [In] ref Vector3 ray_dir, [In] ref Vector3 ray_origin, IntPtr collided_results);\n\t\t[DllImport(Native.Dll, CallingConvention = Native.Conv), SuppressUnmanagedCodeSecurity]\n\t\tstatic extern void btGImpactBvh_setNodeBound(IntPtr obj, int nodeindex, IntPtr bound);\n\t\t[DllImport(Native.Dll, CallingConvention = Native.Conv), SuppressUnmanagedCodeSecurity]\n\t\tstatic extern void btGImpactBvh_setPrimitiveManager(IntPtr obj, IntPtr primitive_manager);\n\t\t[DllImport(Native.Dll, CallingConvention = Native.Conv), SuppressUnmanagedCodeSecurity]\n\t\tstatic extern void btGImpactBvh_update(IntPtr obj);\n\t\t[DllImport(Native.Dll, CallingConvention = Native.Conv), SuppressUnmanagedCodeSecurity]\n\t\tstatic extern void btGImpactBvh_delete(IntPtr obj);\n\t}\n}\n", "text_preview": "using System; using System.Runtime.InteropServices; using System.Security; using BulletSharp.Math; namespace BulletSharp { public class GimPair : IDisposable { internal IntPtr _native; internal GimPair(IntPtr native) { _native = native; } p", "input_sha256": "385702d1b869a17dadb43c1bade55b11651867fb8c9be3049a9d7fca148f0239", "text_sha256": "df528b56593ecd3e58e8d017549722b99a558ca7efc4f7adf73af9cc9a2989de", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 2006, "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": 1.0573061545950209, "noise_severity": 0.06196693591522058, "missing_content_severity": 0.14003238950978758, "factual_density": 3.3201859125738933, "pretraining_utility": 0.1547546660540256, "math_density": 0.28797834280286977, "code_density": 3.9386500032754075, "reasoning_density": 0.030015842647291312, "education_level": 2.666584929568055, "creative_writing_quality": -0.2823113432518636}, "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.006592943237577087, "secondary_choice": "NONE", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.9971280868448325, "secondary": 0.9853885294191153, "tertiary": 0.9922681223626738, "structured_records": 0.04287699244287263, "procedural_steps": 0.0004977903680707247, "worked_solution": 0.000297889438235892, "contextual_dialogue": 7.130059194625624e-06, "content_quality": 0.5431361892289377, "noise_severity": 0.9483608867373162, "missing_content_severity": 0.883306342075177, "factual_density": 0.4334882604782445, "pretraining_utility": 0.5107165748792836, "math_density": 0.7600180476642752, "code_density": 0.9488750027295059, "reasoning_density": 0.9749867977939239, "education_level": 0.355612210652232, "creative_writing_quality": 0.9993348430103794, "primary_topic": 0.9763633482126095, "secondary_topic": 0.8041798781845586}, "probability_margin": {"primary": 0.9959614442212691, "secondary": 0.980075551524925, "tertiary": 0.9894663167754053, "education_level": 0.03685636165447609, "creative_writing_quality": 0.9991692528477222, "primary_topic": 0.9644108298764107, "secondary_topic": 0.7333899139028736}, "raw_probabilities": {"primary": {"Academic Writing": 3.4733696661903636e-05, "Content Listing": 2.7149589323775415e-05, "Creative Writing": 2.4873077847429482e-05, "Customer Support Page": 8.51230491040837e-06, "Q&A Forum": 1.0268220745746856e-05, "Discussion Thread": 7.084751173949326e-06, "Comment Section": 2.2765341156055408e-05, "Missing Content": 3.719101842450016e-05, "Knowledge Article": 8.298916973745212e-05, "Legal Notices": 3.303756543390997e-05, "News Article": 4.556908168139296e-06, "Organizational Announcement": 9.28101982980549e-06, "Nonfiction Writing": 8.895706031304447e-06, "Organizational About Page": 1.0687585242255117e-05, "Personal About Page": 8.910832422059201e-06, "Personal Blog": 6.827700669528634e-06, "Product Page": 7.518583349230122e-06, "Spam / Ads": 8.64188613557359e-06, "Structured Data": 0.0009653794947703658, "Technical Writing": 0.9972477498929644, "Transcript / Interview": 1.4452085295674825e-05, "Tutorial / How-To Guide": 0.00012596308411683835, "User Reviews": 6.224813894485288e-06, "Other / Unknown": 0.0012863056716953321}, "secondary": {"Academic Writing": 9.432672396965685e-05, "Content Listing": 7.011491862385296e-05, "Creative Writing": 7.64456087811795e-05, "Customer Support Page": 3.751864630445394e-05, "Q&A Forum": 2.677390165489186e-05, "Discussion Thread": 2.5950204796562816e-05, "Comment Section": 0.00014254052804846975, "Missing Content": 0.0016290295105343838, "Knowledge Article": 0.000251356039856893, "Legal Notices": 0.00031879415408190675, "News Article": 3.5760311537370326e-05, "Organizational Announcement": 3.657015116101453e-05, "Nonfiction Writing": 3.257827346178788e-05, "Organizational About Page": 4.7158144679102186e-05, "Personal About Page": 3.38456089433475e-05, "Personal Blog": 3.4668049450493485e-05, "Product Page": 2.629201665019602e-05, "Spam / Ads": 3.489711271876487e-05, "Structured Data": 0.004810676710390261, "Technical Writing": 0.005921789168393829, "Transcript / Interview": 4.923436386211889e-05, "Tutorial / How-To Guide": 0.0002447815988588948, "User Reviews": 2.1557559921834525e-05, "NONE": 0.9859973406933188}, "tertiary": {"Academic Writing": 4.822162129533835e-05, "Content Listing": 4.101199300456323e-05, "Creative Writing": 4.742014535002415e-05, "Customer Support Page": 2.0241075987996977e-05, "Q&A Forum": 1.5357930193146358e-05, "Discussion Thread": 1.6526777070919554e-05, "Comment Section": 0.00012442071549082005, "Missing Content": 0.001823433364757579, "Knowledge Article": 0.00017065832004893616, "Legal Notices": 0.00021196894968907937, "News Article": 2.571552360717868e-05, "Organizational Announcement": 2.188642673798947e-05, "Nonfiction Writing": 2.4262204132387086e-05, "Organizational About Page": 3.939216851916137e-05, "Personal About Page": 1.9794398213055792e-05, "Personal Blog": 1.8816121900390817e-05, "Product Page": 1.798398706130151e-05, "Spam / Ads": 2.5870454344294607e-05, "Structured Data": 0.0012504087735755749, "Technical Writing": 0.0031239671554905025, "Transcript / Interview": 2.9838367882992564e-05, "Tutorial / How-To Guide": 0.00027858966685275226, "User Reviews": 1.3929927898181138e-05, "NONE": 0.9925902839308958}, "structured_records": {"false": 0.9571230075571273, "true": 0.04287699244287263}, "procedural_steps": {"false": 0.9995022096319293, "true": 0.0004977903680707247}, "worked_solution": {"false": 0.9997021105617641, "true": 0.000297889438235892}, "contextual_dialogue": {"false": 0.9999928699408054, "true": 7.130059194625624e-06}, "content_quality": {"-2": 0.005864356893232625, "-1": 0.015640551894367236, "0": 0.1965910346966946, "1": 0.47913269275555764, "2": 0.3027713637601478}, "noise_severity": {"0": 0.9462741197315907, "1": 0.04749222657886351, "2": 0.004669913101964399, "3": 0.001120079217897166, "4": 0.000443661369684194}, "missing_content_severity": {"0": 0.8752674267858829, "1": 0.1135062914498315, "2": 0.007928600553975117, "3": 0.0025218278892365567, "4": 0.000775853321074043}, "factual_density": {"0": 0.005605794073723954, "1": 0.009809744972814465, "2": 0.1150859178747384, "3": 0.3977898404632904, "4": 0.47170870261543274}, "pretraining_utility": {"-2": 0.012702351182399698, "-1": 0.19078801968061768, "0": 0.4715707953453858, "1": 0.27893027948375076, "2": 0.046008554307845936}, "math_density": {"0": 0.8839320510799088, "1": 0.038015176621691835, "2": 0.023010383151094247, "3": 0.016227156710231224, "4": 0.03881523243707394}, "code_density": {"0": 0.0001580974589236909, "1": 0.00029935020240005986, "2": 0.005847880426644468, "3": 0.04812379542840901, "4": 0.9455708764836228}, "reasoning_density": {"0": 0.9779984355004451, "1": 0.01562647675948692, "2": 0.005244057035446237, "3": 0.0006228710015745098, "4": 0.0005081597030470951}, "education_level": {"none": 0.0011764642818687411, "0": 0.0012201804580386714, "1": 0.0038826100249648335, "2": 0.42615381388905055, "3": 0.46301017554352664, "4": 0.1045567558025506}, "creative_writing_quality": {"not_applicable": 0.9994457025086495, "-2": 6.547673593769912e-05, "-1": 0.0001298967193939686, "0": 0.00027644966092727966, "1": 6.058302825766879e-05, "2": 2.1891346833722815e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 6.770800885087519e-05, "Art & Design": 0.00018932257481911276, "Law & Crime": 6.355009688541839e-05, "Education & Careers": 5.686983396785534e-05, "Entertainment & Media": 0.00013497281651975792, "Fashion & Beauty": 4.0367325839007226e-05, "Business, Economics & Finance": 0.00013760230282175586, "Food & Dining": 4.697707308812765e-05, "Games & Gaming": 0.007622932670363988, "Electronics & Hardware": 0.00013613959410913005, "Health, Healthcare & Wellness": 4.403050893954855e-05, "History & Geography": 5.2812731337542394e-05, "Home, Pets & Hobbies": 4.3827700161354275e-05, "Industry & Production": 5.296028323335429e-05, "Language, Literature & Philosophy": 4.922586917057639e-05, "Politics & Government": 2.4783264202360252e-05, "Religion & Spirituality": 4.355986938677772e-05, "Science, Mathematics & Engineering": 0.012861620328021524, "Relationships & Community": 2.1957906878409475e-05, "Software Usage & Applications": 0.00039268805422910805, "Programming & Software Engineering": 0.9772724502044322, "Sports & Fitness": 9.869672249978594e-05, "Vehicles & Transportation": 3.4946554828477765e-05, "Travel & Tourism": 7.685727826247129e-05, "Other / Uncovered Subject": 0.00030793410377845463, "Unknown / Insufficient Content": 0.00012520632337293633}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0006947763652716438, "Art & Design": 0.001011869267071651, "Law & Crime": 0.0005741041397842803, "Education & Careers": 0.0003550909685723407, "Entertainment & Media": 0.0014124832931835004, "Fashion & Beauty": 0.0002817848248424319, "Business, Economics & Finance": 0.0007546262238034752, "Food & Dining": 0.00021211064831471233, "Games & Gaming": 0.06375331833187166, "Electronics & Hardware": 0.0006500704686817142, "Health, Healthcare & Wellness": 0.00026622782885893885, "History & Geography": 0.00033329360742793214, "Home, Pets & Hobbies": 0.0002952652974377291, "Industry & Production": 0.00023559579895208034, "Language, Literature & Philosophy": 0.00023413709417868334, "Politics & Government": 0.00023102607441286983, "Religion & Spirituality": 0.0003230869961923996, "Science, Mathematics & Engineering": 0.07832150742843282, "Relationships & Community": 0.00015098977221720094, "Software Usage & Applications": 0.0008933019774950855, "Programming & Software Engineering": 0.03574348087544397, "Sports & Fitness": 0.00036455373423489277, "Vehicles & Transportation": 0.00014467476262914594, "Travel & Tourism": 0.0004738241058713343, "Other / Uncovered Subject": 0.0005773787835111344, "NONE": 0.8117114213313064}}, "probabilities": {"primary": {"Academic Writing": 3.4733696661903636e-05, "Content Listing": 2.7149589323775415e-05, "Creative Writing": 2.4873077847429482e-05, "Customer Support Page": 8.51230491040837e-06, "Q&A Forum": 1.0268220745746856e-05, "Discussion Thread": 7.084751173949326e-06, "Comment Section": 2.2765341156055408e-05, "Missing Content": 3.719101842450016e-05, "Knowledge Article": 8.298916973745212e-05, "Legal Notices": 3.303756543390997e-05, "News Article": 4.556908168139296e-06, "Organizational Announcement": 9.28101982980549e-06, "Nonfiction Writing": 8.895706031304447e-06, "Organizational About Page": 1.0687585242255117e-05, "Personal About Page": 8.910832422059201e-06, "Personal Blog": 6.827700669528634e-06, "Product Page": 7.518583349230122e-06, "Spam / Ads": 8.64188613557359e-06, "Structured Data": 0.0009653794947703658, "Technical Writing": 0.9972477498929644, "Transcript / Interview": 1.4452085295674825e-05, "Tutorial / How-To Guide": 0.00012596308411683835, "User Reviews": 6.224813894485288e-06, "Other / Unknown": 0.0012863056716953321}, "secondary": {"Academic Writing": 9.432672396965685e-05, "Content Listing": 7.011491862385296e-05, "Creative Writing": 7.64456087811795e-05, "Customer Support Page": 3.751864630445394e-05, "Q&A Forum": 2.677390165489186e-05, "Discussion Thread": 2.5950204796562816e-05, "Comment Section": 0.00014254052804846975, "Missing Content": 0.0016290295105343838, "Knowledge Article": 0.000251356039856893, "Legal Notices": 0.00031879415408190675, "News Article": 3.5760311537370326e-05, "Organizational Announcement": 3.657015116101453e-05, "Nonfiction Writing": 3.257827346178788e-05, "Organizational About Page": 4.7158144679102186e-05, "Personal About Page": 3.38456089433475e-05, "Personal Blog": 3.4668049450493485e-05, "Product Page": 2.629201665019602e-05, "Spam / Ads": 3.489711271876487e-05, "Structured Data": 0.004810676710390261, "Technical Writing": 0.005921789168393829, "Transcript / Interview": 4.923436386211889e-05, "Tutorial / How-To Guide": 0.0002447815988588948, "User Reviews": 2.1557559921834525e-05, "NONE": 0.9859973406933188}, "tertiary": {"Academic Writing": 4.8221621295338356e-05, "Content Listing": 4.101199300456324e-05, "Creative Writing": 4.7420145350024155e-05, "Customer Support Page": 2.024107598799698e-05, "Q&A Forum": 1.535793019314636e-05, "Discussion Thread": 1.6526777070919558e-05, "Comment Section": 0.00012442071549082008, "Missing Content": 0.0018234333647575791, "Knowledge Article": 0.00017065832004893618, "Legal Notices": 0.0002119689496890794, "News Article": 2.5715523607178683e-05, "Organizational Announcement": 2.1886426737989472e-05, "Nonfiction Writing": 2.426220413238709e-05, "Organizational About Page": 3.939216851916138e-05, "Personal About Page": 1.9794398213055796e-05, "Personal Blog": 1.881612190039082e-05, "Product Page": 1.7983987061301513e-05, "Spam / Ads": 2.587045434429461e-05, "Structured Data": 0.001250408773575575, "Technical Writing": 0.003123967155490503, "Transcript / Interview": 2.9838367882992567e-05, "Tutorial / How-To Guide": 0.0002785896668527523, "User Reviews": 1.392992789818114e-05, "NONE": 0.9925902839308959}, "structured_records": {"false": 0.9571230075571273, "true": 0.04287699244287263}, "procedural_steps": {"false": 0.9995022096319293, "true": 0.0004977903680707247}, "worked_solution": {"false": 0.9997021105617641, "true": 0.000297889438235892}, "contextual_dialogue": {"false": 0.9999928699408054, "true": 7.130059194625624e-06}, "content_quality": {"-2": 0.005864356893232626, "-1": 0.01564055189436724, "0": 0.19659103469669462, "1": 0.4791326927555577, "2": 0.30277136376014785}, "noise_severity": {"0": 0.9462741197315907, "1": 0.04749222657886351, "2": 0.004669913101964399, "3": 0.001120079217897166, "4": 0.000443661369684194}, "missing_content_severity": {"0": 0.8752674267858829, "1": 0.1135062914498315, "2": 0.007928600553975117, "3": 0.0025218278892365567, "4": 0.000775853321074043}, "factual_density": {"0": 0.005605794073723954, "1": 0.009809744972814465, "2": 0.1150859178747384, "3": 0.3977898404632904, "4": 0.47170870261543274}, "pretraining_utility": {"-2": 0.0127023511823997, "-1": 0.1907880196806177, "0": 0.4715707953453859, "1": 0.2789302794837508, "2": 0.04600855430784594}, "math_density": {"0": 0.8839320510799088, "1": 0.038015176621691835, "2": 0.023010383151094247, "3": 0.016227156710231224, "4": 0.03881523243707394}, "code_density": {"0": 0.0001580974589236909, "1": 0.00029935020240005986, "2": 0.005847880426644468, "3": 0.04812379542840901, "4": 0.9455708764836228}, "reasoning_density": {"0": 0.9779984355004452, "1": 0.015626476759486925, "2": 0.005244057035446238, "3": 0.0006228710015745099, "4": 0.0005081597030470953}, "education_level": {"none": 0.0011764642818687411, "0": 0.0012201804580386714, "1": 0.0038826100249648335, "2": 0.42615381388905055, "3": 0.46301017554352664, "4": 0.1045567558025506}, "creative_writing_quality": {"not_applicable": 0.9994457025086496, "-2": 6.547673593769914e-05, "-1": 0.00012989671939396864, "0": 0.0002764496609272797, "1": 6.0583028257668794e-05, "2": 2.1891346833722818e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 6.77080088508752e-05, "Art & Design": 0.0001893225748191128, "Law & Crime": 6.35500968854184e-05, "Education & Careers": 5.6869833967855346e-05, "Entertainment & Media": 0.00013497281651975794, "Fashion & Beauty": 4.036732583900723e-05, "Business, Economics & Finance": 0.00013760230282175589, "Food & Dining": 4.697707308812766e-05, "Games & Gaming": 0.007622932670363989, "Electronics & Hardware": 0.00013613959410913008, "Health, Healthcare & Wellness": 4.4030508939548555e-05, "History & Geography": 5.28127313375424e-05, "Home, Pets & Hobbies": 4.382770016135428e-05, "Industry & Production": 5.29602832333543e-05, "Language, Literature & Philosophy": 4.92258691705764e-05, "Politics & Government": 2.4783264202360256e-05, "Religion & Spirituality": 4.3559869386777725e-05, "Science, Mathematics & Engineering": 0.012861620328021526, "Relationships & Community": 2.195790687840948e-05, "Software Usage & Applications": 0.0003926880542291081, "Programming & Software Engineering": 0.9772724502044323, "Sports & Fitness": 9.869672249978596e-05, "Vehicles & Transportation": 3.494655482847777e-05, "Travel & Tourism": 7.68572782624713e-05, "Other / Uncovered Subject": 0.0003079341037784547, "Unknown / Insufficient Content": 0.00012520632337293636}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0006947763652716438, "Art & Design": 0.001011869267071651, "Law & Crime": 0.0005741041397842803, "Education & Careers": 0.0003550909685723407, "Entertainment & Media": 0.0014124832931835004, "Fashion & Beauty": 0.0002817848248424319, "Business, Economics & Finance": 0.0007546262238034752, "Food & Dining": 0.00021211064831471233, "Games & Gaming": 0.06375331833187166, "Electronics & Hardware": 0.0006500704686817142, "Health, Healthcare & Wellness": 0.00026622782885893885, "History & Geography": 0.00033329360742793214, "Home, Pets & Hobbies": 0.0002952652974377291, "Industry & Production": 0.00023559579895208034, "Language, Literature & Philosophy": 0.00023413709417868334, "Politics & Government": 0.00023102607441286983, "Religion & Spirituality": 0.0003230869961923996, "Science, Mathematics & Engineering": 0.07832150742843282, "Relationships & Community": 0.00015098977221720094, "Software Usage & Applications": 0.0008933019774950855, "Programming & Software Engineering": 0.03574348087544397, "Sports & Fitness": 0.00036455373423489277, "Vehicles & Transportation": 0.00014467476262914594, "Travel & Tourism": 0.0004738241058713343, "Other / Uncovered Subject": 0.0005773787835111344, "NONE": 0.8117114213313064}}, "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": 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.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": 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": 14620, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 14620, "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.976772+00:00", "scoring_key_slot": "assistant_1", "dataset_uid": "98f03fbf-2d4a-488e-8dbd-5aa334886285", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "ffcfccb82e6e68a7a1eba7627cd9ea22e4f556b0db5c852d94e87dff93f3e078", "source_metadata": {"uuid": "98f03fbf-2d4a-488e-8dbd-5aa334886285", "repo_name": "Phong13/BulletSharpUnity3d", "relative_path": "Plugins/BulletUnity/BulletSharp/Collision/GImpact/GImpactBvh.cs", "category": "TOOL", "algo_rel_score": 0.7029171586036682, "quality_score": 3.1941890716552734, "source_meta": {"github_metadata": {"branch": "master", "commit_count": 266, "repo_created_at": "2015-12-03T23:59:22.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 561, "forks": 149, "issues": 17, "pull_requests": 4}, "file_meta": {"content_id": "ed9d8eebf8cf352e90cc521626eee69526c6ae24", "size_bytes": 21457, "file_timestamp": 1576273290, "language": "c#", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "f61aa17d3072ee26ef57cacf13635f16b9a06345"}}, "parsed_source_meta": {"github_metadata": {"branch": "master", "commit_count": 266, "repo_created_at": "2015-12-03T23:59:22.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 561, "forks": 149, "issues": 17, "pull_requests": 4}, "file_meta": {"content_id": "ed9d8eebf8cf352e90cc521626eee69526c6ae24", "size_bytes": 21457, "file_timestamp": 1576273290, "language": "c#", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "f61aa17d3072ee26ef57cacf13635f16b9a06345", "url": "https://github.com/Phong13/BulletSharpUnity3d/blob/f61aa17d3072ee26ef57cacf13635f16b9a06345/Plugins/BulletUnity/BulletSharp/Collision/GImpact/GImpactBvh.cs"}, "gpt4o_tokens": 5954, "dataset_split": "csharp", "probability_weighted_scores": {"content_quality": 1.0573061545950209, "noise_severity": 0.06196693591522058, "missing_content_severity": 0.14003238950978758, "factual_density": 3.3201859125738933, "pretraining_utility": 0.1547546660540256, "math_density": 0.28797834280286977, "code_density": 3.9386500032754075, "reasoning_density": 0.030015842647291312, "education_level": 2.666584929568055, "creative_writing_quality": -0.2823113432518636}, "score_applicability": {"education_level": 0.9988235357181313, "creative_writing_quality": 0.0005542974913503391}} {"source_group": "csharp", "source": "openbmb/UltraData-Stack-v3-L2/csharp", "domain": "github.com", "language": "csharp", "url": "https://github.com/fiftin/dennytalk/blob/f3c1a194376609c3c5b3b8306d24938f461fe019/DennyTalkCore/TelegramListener.cs", "id": "csharp-0-67e81bcabdc800f456bb1a65cc465266", "text": "using System;\nusing System.Collections.Generic;\nusing System.Text;\nusing System.Net.Sockets;\nusing System.Net;\nusing System.Runtime.InteropServices;\nusing System.Threading;\nusing System.Drawing;\nusing System.IO;\nusing Common;\n\nnamespace DennyTalk\n{\n /// \n /// Тип телеграммы.\n /// \n public enum TelegramHeaderType : int\n {\n Message = 0,\n UserInfo = 1,\n UserStatus = 2,\n MessageDelivered = 3,\n UserInfoRequest = 4,\n UserStatusRequest = 5,\n FilePortRequest = 6,\n FilePort = 7,\n }\n\n [StructLayout(LayoutKind.Explicit, CharSet=CharSet.Ansi, Pack=2)]\n public struct TelegramHeader\n {\n [FieldOffset(0)]\n public int id;\n [FieldOffset(4)]\n public int type;\n [FieldOffset(8)]\n public int dataSize;\n [FieldOffset(16)]\n [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 40)]\n public string toGuid;\n [FieldOffset(56)]\n [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 40)]\n public string fromGuid;\n [FieldOffset(96)]\n public int port;\n }\n\t/*\n [StructLayout(LayoutKind.Explicit, CharSet = CharSet.Unicode)]\n public struct UserInfo\n {\n [FieldOffset(0)]\n [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 20)]\n public string nick;\n\n [FieldOffset(40)]\n [MarshalAs(UnmanagedType.ByValArray, ArraySubType = UnmanagedType.I4, SizeConst = ImageHelper2.AvatarWidth * ImageHelper2.AvatarHeight)]\n public int[] avatar;\n\n [FieldOffset(40 + 4 * (ImageHelper2.AvatarWidth * ImageHelper2.AvatarHeight))]\n [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 1000)]\n public string statusText;\n\n [FieldOffset(40 + 4 * (ImageHelper2.AvatarWidth * ImageHelper2.AvatarHeight) + 2000)]\n public int status;\n }*/\n [StructLayout(LayoutKind.Sequential, CharSet = CharSet.Unicode)]\n public struct UserInfo\n {\n [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 20)]\n public string nick;\n\n [MarshalAs(UnmanagedType.ByValArray, ArraySubType = UnmanagedType.I4, SizeConst = ImageHelper2.AvatarWidth * ImageHelper2.AvatarHeight)]\n public int[] avatar;\n\n [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 1000)]\n public string statusText;\n\n public int status;\n }\n\n /// \n /// Статус пользователя.\n /// \n [StructLayout(LayoutKind.Sequential, CharSet = CharSet.Unicode)]\n public struct UserStatusSturct\n {\n public int status;\n [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 1000)]\n public string statusText;\n }\n\n /// \n /// Статус пользователя.\n /// \n [StructLayout(LayoutKind.Sequential, CharSet = CharSet.Unicode)]\n public struct FilePort\n {\n public int port;\n public int requestId;\n }\n\n [StructLayout(LayoutKind.Sequential, CharSet = CharSet.Unicode)]\n public struct FilePortRequest\n {\n public int numberOfFiles;\n }\n\n /// \n /// Подтверждение получения сообщения.\n /// \n [StructLayout(LayoutKind.Sequential, CharSet = CharSet.Unicode)]\n public struct TelegramDelivery\n {\n public int telegramID;\n }\n\n public class TelegramReceivedEventArgs : EventArgs\n {\n\n private TelegramHeader header;\n private byte[] data;\n Address address;\n\n public TelegramReceivedEventArgs(TelegramHeader header, Address address, byte[] data)\n {\n this.header = header;\n this.address = address;\n this.data = data;\n }\n\n public Address Address\n {\n get\n {\n return address;\n }\n }\n public byte[] Data\n {\n get\n {\n return data;\n }\n }\n public TelegramHeader Header\n {\n get\n {\n return header;\n }\n }\n }\n public class FilePortRequestReceivedEventArgs : RequestReceivedEventArgs\n {\n public int NumberOfFiles { get; private set; }\n public int RequestId { get; private set; }\n public FilePortRequestReceivedEventArgs(Address address, int numberOfFiles, int requestId)\n : base(address)\n {\n NumberOfFiles = numberOfFiles;\n RequestId = requestId;\n }\n }\n\n public class RequestReceivedEventArgs : EventArgs\n {\n public RequestReceivedEventArgs(Address address)\n {\n this.address = address;\n }\n\n private Address address;\n public Address Address\n {\n get { return address; }\n }\n\n }\n\n public class TelegramListener\n {\n\n private class ResponceWaiter\n {\n public bool Wait()\n {\n if (setted)\n throw new Exception();\n if (closed)\n throw new Exception();\n return locker.WaitOne(2000, false);\n }\n\n public byte[] Data\n {\n get { return data; }\n set { data = value; }\n }\n\n bool IsClosed\n {\n get\n {\n return closed;\n }\n }\n\n bool IsSetted\n {\n get\n {\n return setted;\n }\n }\n\n public void Close()\n {\n if (!setted)\n locker.Set();\n locker.Close();\n setted = true;\n closed = true;\n }\n\n public void Set()\n {\n if (setted)\n throw new Exception();\n if (closed)\n throw new Exception();\n locker.Set();\n setted = true;\n }\n\n private byte[] data;\n private bool setted = false;\n private bool closed = false;\n private ManualResetEvent locker = new ManualResetEvent(false);\n }\n\n\n public event EventHandler MessageReceived;\n\n public event EventHandler MessageDelivered;\n \n public event EventHandler UserStatusReceived;\n\n public event EventHandler UserInfoReceived;\n\n public event EventHandler UserInfoRequestReceived;\n\n public event EventHandler UserStatusRequestReceived;\n\n public event EventHandler FilePortRequestReceived;\n\n public event EventHandler TelegramReceived;\n\n public event EventHandler FilePortReceived;\n\n private int lastID = 1000;\n\n private IDictionary responceWaiters = new Dictionary();\n \n private ICommunicationClient client;\n\n private string guid = \"\";\n\n /// \n /// Глобавльный идентификатор пользователя.\n /// \n public string Guid\n {\n get { return guid; }\n set { guid = value; }\n }\n\n public TelegramListener(ICommunicationClient client, string guid)\n {\n this.client = client;\n this.guid = guid;\n }\n\n public TelegramSendResult SendMessage(Address address, string text)\n {\n byte[] data = Encoding.Unicode.GetBytes(text);\n return Send(address, data, TelegramHeaderType.Message);\n }\n\n public TelegramSendResult Send(Address address, byte[] data, TelegramHeaderType type)\n {\n return Send(address, data, (int)type);\n }\n\n public TelegramSendResult Send(Address address, T data) where T : struct\n {\n TelegramHeaderType type;\n if (typeof(T).Equals(typeof(UserInfo)))\n type = TelegramHeaderType.UserInfo;\n else if (typeof(T).Equals(typeof(TelegramDelivery)))\n type = TelegramHeaderType.MessageDelivered;\n else if (typeof(T).Equals(typeof(UserStatusSturct)))\n type = TelegramHeaderType.UserStatus;\n else if (typeof(T).Equals(typeof(FilePort)))\n type = TelegramHeaderType.FilePort;\n else if (typeof(T).Equals(typeof(FilePortRequest)))\n type = TelegramHeaderType.FilePortRequest;\n else\n throw new Exception(\"T is unknown type\");\n return Send(address, data, (int)type);\n }\n\n protected TelegramSendResult Send(Address address, T data, int type) where T : struct\n {\n byte[] bytes = MemoryHelper.StructureToByteArray(data);\n return Send(address, bytes, type);\n }\n\n protected int NewID()\n {\n return lastID++;\n }\n\n protected TelegramSendResult Send(Address address, byte[] data, int type)\n {\n TelegramHeader header = new TelegramHeader();\n header.id = NewID();\n header.type = type;\n header.dataSize = data.Length;\n //byte[] guidBytes = Encoding.ASCII.GetBytes(address.Guid);\n header.toGuid = address.Guid;\n header.fromGuid = guid;\n header.port = client.Port;\n return Send(header, address, data);\n }\n\n public TelegramSendResult Send(TelegramHeader header, Address address, byte[] data)\n {\n byte[] headerBytes = MemoryHelper.StructureToByteArray(header);\n byte[] telegramBytes = new byte[headerBytes.Length + header.dataSize];\n Buffer.BlockCopy(headerBytes, 0, telegramBytes, 0, headerBytes.Length);\n Buffer.BlockCopy(data, 0, telegramBytes, headerBytes.Length, data.Length);\n client.Send(telegramBytes, address);\n return new TelegramSendResult(header.id);\n }\n\n public TelegramSendResult RequestUserInfo(Address address)\n {\n return Send(address, new byte[0], TelegramHeaderType.UserInfoRequest);\n }\n\n public TelegramSendResult RequestUserStatus(Address address)\n {\n return Send(address, new byte[0], TelegramHeaderType.UserStatusRequest);\n }\n\n public TelegramSendResult SendTelegramDelivery(Address address, int telegramID)\n {\n TelegramDelivery tel = new TelegramDelivery();\n tel.telegramID = telegramID;\n return Send(address, tel);\n }\n\n public void Listen()\n {\n while (true)\n {\n IPEndPoint remoteEP;\n byte[] telegramBytes = new byte[0];\n try\n {\n telegramBytes = client.Receive(out remoteEP);\n }\n catch (Exception)\n {\n Thread.Sleep(1000);\n continue;\n }\n\n int headerSize = Marshal.SizeOf(typeof(TelegramHeader));\n TelegramHeader header = MemoryHelper.ByteArrayToStructure(telegramBytes, 0, headerSize);\n byte[] data = new byte[telegramBytes.Length - headerSize];\n Buffer.BlockCopy(telegramBytes, headerSize, data, 0, data.Length);\n Address address = new Address(remoteEP.Address.ToString(), header.port, header.fromGuid);\n OnTelegramReceived(header, address, data);\n }\n }\n\n protected virtual void OnTelegramReceived(TelegramHeader header, Address address, byte[] data)\n {\n ResponceWaiter waiter;\n if (responceWaiters.TryGetValue(header.id, out waiter))\n {\n waiter.Data = data;\n waiter.Set();\n }\n\n if (TelegramReceived != null)\n TelegramReceived(this, new TelegramReceivedEventArgs(header, address, data));\n\n switch ((TelegramHeaderType)header.type)\n {\n case TelegramHeaderType.Message:\n string message = Encoding.Unicode.GetString(data);\n OnMessageReceived(header, address, message);\n break;\n case TelegramHeaderType.MessageDelivered:\n OnMessageDelivered(header, address, data);\n break;\n case TelegramHeaderType.UserInfoRequest:\n OnUserInfoRequest(header, address);\n break;\n case TelegramHeaderType.UserStatusRequest:\n OnUserStatusRequest(header, address);\n break;\n case TelegramHeaderType.UserInfo:\n OnUserInfoReceived(header, address, data);\n break;\n case TelegramHeaderType.UserStatus:\n OnUserStatusReceived(header, address, data);\n break;\n case TelegramHeaderType.FilePortRequest:\n if (FilePortRequestReceived != null)\n {\n FilePortRequest req = MemoryHelper.ByteArrayToStructure(data);\n FilePortRequestReceived(this, new FilePortRequestReceivedEventArgs(address, req.numberOfFiles, header.id));\n }\n break;\n case TelegramHeaderType.FilePort:\n if (FilePortReceived != null) {\n FilePort filePort = MemoryHelper.ByteArrayToStructure(data);\n FilePortReceived(this, new FilePortReceivedEventArgs(address, filePort.port, filePort.requestId));\n }\n break;\n }\n }\n\n protected virtual void OnUserInfoReceived(TelegramHeader header, Address address, byte[] data)\n {\n UserInfo info = MemoryHelper.ByteArrayToStructure(data);\n if (UserInfoReceived != null)\n {\n Bitmap bitmap = ImageHelper2.IntArrayToAvatar(info.avatar);\n UserInfoReveivedEventArgs e = new UserInfoReveivedEventArgs(info.nick, bitmap, (UserStatus)info.status, info.statusText, address);\n if (UserInfoReceived != null)\n UserInfoReceived(this, e);\n }\n }\n\n protected virtual void OnUserStatusReceived(TelegramHeader header, Address address, byte[] data)\n {\n UserStatusSturct userStatus = MemoryHelper.ByteArrayToStructure(data);\n if (UserStatusReceived != null)\n UserStatusReceived(this, new UserStatusReceivedEventArgs(address, (UserStatus)userStatus.status, userStatus.statusText));\n }\n\n protected virtual void OnUserStatusRequest(TelegramHeader header, Address address)\n {\n if (UserStatusRequestReceived != null)\n UserStatusRequestReceived(this, new RequestReceivedEventArgs(address));\n }\n\n protected virtual void OnUserInfoRequest(TelegramHeader header, Address address)\n {\n if (UserInfoRequestReceived != null)\n UserInfoRequestReceived(this, new RequestReceivedEventArgs(address));\n }\n\n protected virtual void OnMessageDelivered(TelegramHeader header, Address address, byte[] bytes)\n {\n TelegramDelivery tel = MemoryHelper.ByteArrayToStructure(bytes);\n MessageDeliveredEventArgs e = new MessageDeliveredEventArgs(tel.telegramID, address);\n if (MessageDelivered != null)\n MessageDelivered(this, e);\n }\n\n protected virtual void OnMessageReceived(TelegramHeader header, Address address, string text)\n {\n MessageReceivedEventArgs e = new MessageReceivedEventArgs(text, header.id, address);\n if (MessageReceived != null)\n MessageReceived(this, e);\n }\n\n public TelegramSendResult SendSync(Address address, byte[] data, int type, out byte[] responce)\n {\n TelegramSendResult result = Send(address, data, type);\n ResponceWaiter responceWaiter = new ResponceWaiter();\n responceWaiters.Add(result.ID, responceWaiter);\n try\n {\n if (responceWaiter.Wait())\n responce = responceWaiter.Data;\n else\n responce = null;\n }\n finally\n {\n responceWaiters.Remove(result.ID);\n }\n return result;\n }\n\n public void SendFilePort(Address address, int port, int requestId)\n {\n FilePort d = new FilePort();\n d.port = port;\n d.requestId = requestId;\n Send(address, d);\n }\n\n /// \n /// Отправляет статус пользователю.\n /// \n public void SendStatus(Address address, UserStatus userStatus, string statusText)\n {\n UserStatusSturct status = new UserStatusSturct();\n status.status = (int)userStatus;\n status.statusText = statusText;\n Send(address, status);\n }\n\n /// \n /// Отправить информацию пользователю.\n /// \n public void SendInfo(Address address, Bitmap avatar, string nick, UserStatus status, string statusText)\n {\n int[] avatarPixels = ImageHelper2.AvatarToIntArray(avatar);\n UserInfo userInfo = new UserInfo();\n userInfo.avatar = avatarPixels;\n userInfo.nick = nick;\n userInfo.status = (int)status;\n userInfo.statusText = statusText;\n Send(address, userInfo);\n }\n\n public void RequestFilePort(Address address)\n {\n Send(address, new byte[0], TelegramHeaderType.FilePortRequest);\n }\n }\n}\n", "text_preview": "using System; using System.Collections.Generic; using System.Text; using System.Net.Sockets; using System.Net; using System.Runtime.InteropServices; using System.Threading; using System.Drawing; using System.IO; using Common; namespace Denn", "input_sha256": "ee81605ffe808ff259a5cc61db838bc20e823dce784be8190f4982bb8945f689", "text_sha256": "67e81bcabdc800f456bb1a65cc46526608d22b239fc21127750e31aa4c5bf947", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 2007, "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.5744438338470043, "noise_severity": 0.06844709778241935, "missing_content_severity": 0.11677906182901615, "factual_density": 3.4852511469994116, "pretraining_utility": 0.39568760799058894, "math_density": 0.19506383647980954, "code_density": 3.880651567762959, "reasoning_density": 0.1574277375626216, "education_level": 2.3848331194758, "creative_writing_quality": -0.16069884421181307}, "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.04576211790957285, "secondary_choice": "NONE", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.9962398152134357, "secondary": 0.927732187016026, "tertiary": 0.9754839622260151, "structured_records": 0.07125578655355577, "procedural_steps": 0.004476885475183117, "worked_solution": 0.0016661832767076014, "contextual_dialogue": 9.520817674394638e-06, "content_quality": 0.4303965880017808, "noise_severity": 0.9429607518479839, "missing_content_severity": 0.9026841151424866, "factual_density": 0.5710426224995099, "pretraining_utility": 0.4611304366052068, "math_density": 0.837446802933492, "code_density": 0.9005429731357992, "reasoning_density": 0.8688102186978153, "education_level": 0.5499463977098334, "creative_writing_quality": 0.9988189861255117, "primary_topic": 0.9972772958045313, "secondary_topic": 0.9794592671451288}, "probability_margin": {"primary": 0.9945297129086286, "secondary": 0.8969592788895526, "tertiary": 0.9665850716484617, "education_level": 0.2848809243445336, "creative_writing_quality": 0.9984714492502182, "primary_topic": 0.9969491986443, "secondary_topic": 0.9690468936803818}, "raw_probabilities": {"primary": {"Academic Writing": 2.869826647504847e-05, "Content Listing": 2.5582083965123855e-05, "Creative Writing": 2.0939360566237075e-05, "Customer Support Page": 8.698277014311513e-06, "Q&A Forum": 9.213547130702504e-06, "Discussion Thread": 6.9975153334583015e-06, "Comment Section": 1.2192035250020586e-05, "Missing Content": 4.1940591917442315e-05, "Knowledge Article": 5.2625509283829435e-05, "Legal Notices": 2.8559732634590743e-05, "News Article": 3.986142086967744e-06, "Organizational Announcement": 8.957912601899441e-06, "Nonfiction Writing": 8.37358758060405e-06, "Organizational About Page": 1.0832218533383556e-05, "Personal About Page": 1.1311520331285297e-05, "Personal Blog": 6.865087229782431e-06, "Product Page": 6.42303266913459e-06, "Spam / Ads": 7.98069750208661e-06, "Structured Data": 0.0018667766709140688, "Technical Writing": 0.9963964895795426, "Transcript / Interview": 1.6001303578554488e-05, "Tutorial / How-To Guide": 9.936283708807244e-05, "User Reviews": 5.655050920797456e-06, "Other / Unknown": 0.0013155374398499426}, "secondary": {"Academic Writing": 0.000304265291600413, "Content Listing": 0.0001948515465633007, "Creative Writing": 0.00033447325956546743, "Customer Support Page": 0.00015023798055857415, "Q&A Forum": 0.00012935924324032857, "Discussion Thread": 0.0001094511305989109, "Comment Section": 0.0005645337430479658, "Missing Content": 0.0010370351206268062, "Knowledge Article": 0.0010421812189419996, "Legal Notices": 0.0004794396871104606, "News Article": 0.0001627561262657159, "Organizational Announcement": 0.00015848141056007972, "Nonfiction Writing": 0.00017192924000994738, "Organizational About Page": 0.00018710895137730957, "Personal About Page": 0.00015886577060934023, "Personal Blog": 0.00013480763540089184, "Product Page": 8.962106575353832e-05, "Spam / Ads": 0.0001525678689803864, "Structured Data": 0.029015539094712234, "Technical Writing": 0.033784067000805655, "Transcript / Interview": 0.00023905127910327383, "Tutorial / How-To Guide": 0.0005870714777192733, "User Reviews": 6.895896648999844e-05, "NONE": 0.9307433458903582}, "tertiary": {"Academic Writing": 0.0001298717675265267, "Content Listing": 9.25746724905764e-05, "Creative Writing": 0.00012992522211610762, "Customer Support Page": 6.365941691507003e-05, "Q&A Forum": 4.809241993192846e-05, "Discussion Thread": 4.5071792239233007e-05, "Comment Section": 0.0004891405232354838, "Missing Content": 0.001472619214415489, "Knowledge Article": 0.0010192979325398127, "Legal Notices": 0.0004321903984767659, "News Article": 5.9962047984154566e-05, "Organizational Announcement": 6.309423824688194e-05, "Nonfiction Writing": 0.00011111047885466497, "Organizational About Page": 9.608179187811477e-05, "Personal About Page": 6.679929700702655e-05, "Personal Blog": 5.313804837366109e-05, "Product Page": 3.593762154425172e-05, "Spam / Ads": 6.369679510522878e-05, "Structured Data": 0.009920392151469289, "Technical Writing": 0.008557084885811693, "Transcript / Interview": 9.217630240881151e-05, "Tutorial / How-To Guide": 0.00042347836249465156, "User Reviews": 2.9140819003494505e-05, "NONE": 0.9765054637999311}, "structured_records": {"false": 0.9287442134464442, "true": 0.07125578655355577}, "procedural_steps": {"false": 0.9955231145248169, "true": 0.004476885475183117}, "worked_solution": {"false": 0.9983338167232924, "true": 0.0016661832767076014}, "contextual_dialogue": {"false": 0.9999904791823256, "true": 9.520817674394638e-06}, "content_quality": {"-2": 0.010749616782365985, "-1": 0.08708884150878413, "0": 0.3481135969107631, "1": 0.42506398067565315, "2": 0.12898396412243363}, "noise_severity": {"0": 0.9389376947275376, "1": 0.055711738297482265, "2": 0.0038420298040768015, "3": 0.0009828488068297885, "4": 0.0005256883640735305}, "missing_content_severity": {"0": 0.9037034265311547, "1": 0.08028936194981917, "2": 0.01244175223879349, "3": 0.002655641719320512, "4": 0.0009098175609121129}, "factual_density": {"0": 0.002600577887649919, "1": 0.004889382817211427, "2": 0.05747379154129038, "3": 0.37473080991577346, "4": 0.5603054378380748}, "pretraining_utility": {"-2": 0.009125510828521567, "-1": 0.10722691238453837, "0": 0.42593975995930666, "1": 0.3942500916230961, "2": 0.06345772520453714}, "math_density": {"0": 0.869694683655381, "1": 0.09724010555745032, "2": 0.014978958217587886, "3": 0.00447919579113913, "4": 0.013607056778441512}, "code_density": {"0": 0.00020666847340408798, "1": 0.00042087593683212086, "2": 0.01145267889025973, "3": 0.09435377275240871, "4": 0.8935660039470954}, "reasoning_density": {"0": 0.9084642110254499, "1": 0.04188107400825747, "2": 0.037390561732966315, "3": 0.008291072844873529, "4": 0.003973080388452727}, "education_level": {"none": 0.0012730127644544024, "0": 0.0013672843775064513, "1": 0.005885515009497694, "2": 0.6249553314248611, "3": 0.34007440708032755, "4": 0.026444449343352765}, "creative_writing_quality": {"not_applicable": 0.9990158217712597, "-2": 7.030310841616695e-05, "-1": 0.0002147911993473781, "0": 0.0005443725210414045, "1": 0.00011218168754812964, "2": 4.252971238728798e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 4.031882142763044e-05, "Art & Design": 3.9065598121194194e-05, "Law & Crime": 3.843757492838373e-05, "Education & Careers": 4.502548245801367e-05, "Entertainment & Media": 2.640452224765439e-05, "Fashion & Beauty": 1.521779636180449e-05, "Business, Economics & Finance": 3.748116221424428e-05, "Food & Dining": 1.9371849884618263e-05, "Games & Gaming": 0.00031829225825508455, "Electronics & Hardware": 0.00011664323801242685, "Health, Healthcare & Wellness": 2.1846186551946614e-05, "History & Geography": 2.7997579933336538e-05, "Home, Pets & Hobbies": 2.209390258307344e-05, "Industry & Production": 2.1383227491541106e-05, "Language, Literature & Philosophy": 4.426606668130819e-05, "Politics & Government": 1.4362455999141827e-05, "Religion & Spirituality": 3.137159499562233e-05, "Science, Mathematics & Engineering": 0.00043281655236471455, "Relationships & Community": 0.00023808032829518292, "Software Usage & Applications": 0.00041384668133698525, "Programming & Software Engineering": 0.9973820151966647, "Sports & Fitness": 3.630530265055804e-05, "Vehicles & Transportation": 1.5844836113447117e-05, "Travel & Tourism": 4.626015506534736e-05, "Other / Uncovered Subject": 0.0003687159599591178, "Unknown / Insufficient Content": 0.00018653566940282372}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.00020696811855584076, "Art & Design": 0.00023144970070958055, "Law & Crime": 0.00022087791355390098, "Education & Careers": 0.00012629754910641722, "Entertainment & Media": 0.00019029357133631226, "Fashion & Beauty": 6.588199526786576e-05, "Business, Economics & Finance": 0.0001583087113332841, "Food & Dining": 5.970011490257725e-05, "Games & Gaming": 0.0006365619874286242, "Electronics & Hardware": 0.0004139719652542983, "Health, Healthcare & Wellness": 7.131641277989754e-05, "History & Geography": 7.990354408831543e-05, "Home, Pets & Hobbies": 5.8439841016340554e-05, "Industry & Production": 5.128050341930216e-05, "Language, Literature & Philosophy": 0.00024423508123556605, "Politics & Government": 8.002788803073214e-05, "Religion & Spirituality": 9.330990601351964e-05, "Science, Mathematics & Engineering": 0.0033509017851559124, "Relationships & Community": 0.0006827528908287577, "Software Usage & Applications": 0.0009587762583170729, "Programming & Software Engineering": 0.01120240165147277, "Sports & Fitness": 8.145525995861304e-05, "Vehicles & Transportation": 3.415197111595504e-05, "Travel & Tourism": 0.00011552261979926219, "Other / Uncovered Subject": 0.00033591742746479406, "NONE": 0.9802492953318546}}, "probabilities": {"primary": {"Academic Writing": 2.869826647504847e-05, "Content Listing": 2.5582083965123855e-05, "Creative Writing": 2.0939360566237075e-05, "Customer Support Page": 8.698277014311513e-06, "Q&A Forum": 9.213547130702504e-06, "Discussion Thread": 6.9975153334583015e-06, "Comment Section": 1.2192035250020586e-05, "Missing Content": 4.1940591917442315e-05, "Knowledge Article": 5.2625509283829435e-05, "Legal Notices": 2.8559732634590743e-05, "News Article": 3.986142086967744e-06, "Organizational Announcement": 8.957912601899441e-06, "Nonfiction Writing": 8.37358758060405e-06, "Organizational About Page": 1.0832218533383556e-05, "Personal About Page": 1.1311520331285297e-05, "Personal Blog": 6.865087229782431e-06, "Product Page": 6.42303266913459e-06, "Spam / Ads": 7.98069750208661e-06, "Structured Data": 0.0018667766709140688, "Technical Writing": 0.9963964895795426, "Transcript / Interview": 1.6001303578554488e-05, "Tutorial / How-To Guide": 9.936283708807244e-05, "User Reviews": 5.655050920797456e-06, "Other / Unknown": 0.0013155374398499426}, "secondary": {"Academic Writing": 0.000304265291600413, "Content Listing": 0.0001948515465633007, "Creative Writing": 0.00033447325956546743, "Customer Support Page": 0.00015023798055857415, "Q&A Forum": 0.00012935924324032857, "Discussion Thread": 0.0001094511305989109, "Comment Section": 0.0005645337430479658, "Missing Content": 0.0010370351206268062, "Knowledge Article": 0.0010421812189419996, "Legal Notices": 0.0004794396871104606, "News Article": 0.0001627561262657159, "Organizational Announcement": 0.00015848141056007972, "Nonfiction Writing": 0.00017192924000994738, "Organizational About Page": 0.00018710895137730957, "Personal About Page": 0.00015886577060934023, "Personal Blog": 0.00013480763540089184, "Product Page": 8.962106575353832e-05, "Spam / Ads": 0.0001525678689803864, "Structured Data": 0.029015539094712234, "Technical Writing": 0.033784067000805655, "Transcript / Interview": 0.00023905127910327383, "Tutorial / How-To Guide": 0.0005870714777192733, "User Reviews": 6.895896648999844e-05, "NONE": 0.9307433458903582}, "tertiary": {"Academic Writing": 0.0001298717675265267, "Content Listing": 9.25746724905764e-05, "Creative Writing": 0.00012992522211610762, "Customer Support Page": 6.365941691507003e-05, "Q&A Forum": 4.809241993192846e-05, "Discussion Thread": 4.5071792239233007e-05, "Comment Section": 0.0004891405232354838, "Missing Content": 0.001472619214415489, "Knowledge Article": 0.0010192979325398127, "Legal Notices": 0.0004321903984767659, "News Article": 5.9962047984154566e-05, "Organizational Announcement": 6.309423824688194e-05, "Nonfiction Writing": 0.00011111047885466497, "Organizational About Page": 9.608179187811477e-05, "Personal About Page": 6.679929700702655e-05, "Personal Blog": 5.313804837366109e-05, "Product Page": 3.593762154425172e-05, "Spam / Ads": 6.369679510522878e-05, "Structured Data": 0.009920392151469289, "Technical Writing": 0.008557084885811693, "Transcript / Interview": 9.217630240881151e-05, "Tutorial / How-To Guide": 0.00042347836249465156, "User Reviews": 2.9140819003494505e-05, "NONE": 0.9765054637999311}, "structured_records": {"false": 0.9287442134464442, "true": 0.07125578655355577}, "procedural_steps": {"false": 0.9955231145248169, "true": 0.004476885475183117}, "worked_solution": {"false": 0.9983338167232924, "true": 0.0016661832767076014}, "contextual_dialogue": {"false": 0.9999904791823256, "true": 9.520817674394638e-06}, "content_quality": {"-2": 0.010749616782365985, "-1": 0.08708884150878413, "0": 0.3481135969107631, "1": 0.42506398067565315, "2": 0.12898396412243363}, "noise_severity": {"0": 0.9389376947275376, "1": 0.055711738297482265, "2": 0.0038420298040768015, "3": 0.0009828488068297885, "4": 0.0005256883640735305}, "missing_content_severity": {"0": 0.9037034265311548, "1": 0.08028936194981919, "2": 0.012441752238793492, "3": 0.0026556417193205123, "4": 0.000909817560912113}, "factual_density": {"0": 0.002600577887649919, "1": 0.004889382817211427, "2": 0.05747379154129038, "3": 0.37473080991577346, "4": 0.5603054378380748}, "pretraining_utility": {"-2": 0.009125510828521569, "-1": 0.10722691238453838, "0": 0.4259397599593067, "1": 0.39425009162309615, "2": 0.06345772520453716}, "math_density": {"0": 0.8696946836553812, "1": 0.09724010555745033, "2": 0.014978958217587887, "3": 0.004479195791139131, "4": 0.013607056778441514}, "code_density": {"0": 0.00020666847340408798, "1": 0.00042087593683212086, "2": 0.01145267889025973, "3": 0.09435377275240871, "4": 0.8935660039470954}, "reasoning_density": {"0": 0.9084642110254499, "1": 0.04188107400825747, "2": 0.037390561732966315, "3": 0.008291072844873529, "4": 0.003973080388452727}, "education_level": {"none": 0.0012730127644544024, "0": 0.0013672843775064513, "1": 0.005885515009497694, "2": 0.6249553314248611, "3": 0.34007440708032755, "4": 0.026444449343352765}, "creative_writing_quality": {"not_applicable": 0.9990158217712597, "-2": 7.030310841616695e-05, "-1": 0.0002147911993473781, "0": 0.0005443725210414045, "1": 0.00011218168754812964, "2": 4.252971238728798e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 4.031882142763045e-05, "Art & Design": 3.90655981211942e-05, "Law & Crime": 3.8437574928383735e-05, "Education & Careers": 4.5025482458013674e-05, "Entertainment & Media": 2.6404522247654393e-05, "Fashion & Beauty": 1.5217796361804492e-05, "Business, Economics & Finance": 3.7481162214244284e-05, "Food & Dining": 1.9371849884618266e-05, "Games & Gaming": 0.0003182922582550846, "Electronics & Hardware": 0.00011664323801242687, "Health, Healthcare & Wellness": 2.1846186551946617e-05, "History & Geography": 2.799757993333654e-05, "Home, Pets & Hobbies": 2.2093902583073443e-05, "Industry & Production": 2.138322749154111e-05, "Language, Literature & Philosophy": 4.42660666813082e-05, "Politics & Government": 1.4362455999141828e-05, "Religion & Spirituality": 3.137159499562234e-05, "Science, Mathematics & Engineering": 0.0004328165523647146, "Relationships & Community": 0.00023808032829518295, "Software Usage & Applications": 0.0004138466813369853, "Programming & Software Engineering": 0.9973820151966648, "Sports & Fitness": 3.630530265055805e-05, "Vehicles & Transportation": 1.584483611344712e-05, "Travel & Tourism": 4.6260155065347364e-05, "Other / Uncovered Subject": 0.0003687159599591179, "Unknown / Insufficient Content": 0.00018653566940282374}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.00020696811855584076, "Art & Design": 0.00023144970070958055, "Law & Crime": 0.00022087791355390098, "Education & Careers": 0.00012629754910641722, "Entertainment & Media": 0.00019029357133631226, "Fashion & Beauty": 6.588199526786576e-05, "Business, Economics & Finance": 0.0001583087113332841, "Food & Dining": 5.970011490257725e-05, "Games & Gaming": 0.0006365619874286242, "Electronics & Hardware": 0.0004139719652542983, "Health, Healthcare & Wellness": 7.131641277989754e-05, "History & Geography": 7.990354408831543e-05, "Home, Pets & Hobbies": 5.8439841016340554e-05, "Industry & Production": 5.128050341930216e-05, "Language, Literature & Philosophy": 0.00024423508123556605, "Politics & Government": 8.002788803073214e-05, "Religion & Spirituality": 9.330990601351964e-05, "Science, Mathematics & Engineering": 0.0033509017851559124, "Relationships & Community": 0.0006827528908287577, "Software Usage & Applications": 0.0009587762583170729, "Programming & Software Engineering": 0.01120240165147277, "Sports & Fitness": 8.145525995861304e-05, "Vehicles & Transportation": 3.415197111595504e-05, "Travel & Tourism": 0.00011552261979926219, "Other / Uncovered Subject": 0.00033591742746479406, "NONE": 0.9802492953318546}}, "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": 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": 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": 12399, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 12399, "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.604156+00:00", "scoring_key_slot": "assistant_1", "dataset_uid": "c3a25aba-64f0-406a-897a-75be7ed27e4c", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "4c6bfc16a1b899ce7b8827aeceed93371ef0a40838236af376b830f93fd64be7", "source_metadata": {"uuid": "c3a25aba-64f0-406a-897a-75be7ed27e4c", "repo_name": "fiftin/dennytalk", "relative_path": "DennyTalkCore/TelegramListener.cs", "category": "TOOL", "algo_rel_score": 0.691687285900116, "quality_score": 3.405179262161255, "source_meta": {"github_metadata": {"branch": "master", "commit_count": 45, "repo_created_at": "2014-04-18T03:04: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": "78470b0ff55b33abc91ce1ef3735847c01992913", "size_bytes": 18333, "file_timestamp": 1400059672, "language": "c#", "is_vendor": false, "license_type": "permissive", "detected_licenses": ["Apache-2.0"]}, "commit_id": "f3c1a194376609c3c5b3b8306d24938f461fe019"}}, "parsed_source_meta": {"github_metadata": {"branch": "master", "commit_count": 45, "repo_created_at": "2014-04-18T03:04: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": "78470b0ff55b33abc91ce1ef3735847c01992913", "size_bytes": 18333, "file_timestamp": 1400059672, "language": "c#", "is_vendor": false, "license_type": "permissive", "detected_licenses": ["Apache-2.0"]}, "commit_id": "f3c1a194376609c3c5b3b8306d24938f461fe019", "url": "https://github.com/fiftin/dennytalk/blob/f3c1a194376609c3c5b3b8306d24938f461fe019/DennyTalkCore/TelegramListener.cs"}, "gpt4o_tokens": 3574, "dataset_split": "csharp", "probability_weighted_scores": {"content_quality": 0.5744438338470043, "noise_severity": 0.06844709778241935, "missing_content_severity": 0.11677906182901615, "factual_density": 3.4852511469994116, "pretraining_utility": 0.39568760799058894, "math_density": 0.19506383647980954, "code_density": 3.880651567762959, "reasoning_density": 0.1574277375626216, "education_level": 2.3848331194758, "creative_writing_quality": -0.16069884421181307}, "score_applicability": {"education_level": 0.9987269872355456, "creative_writing_quality": 0.0009841782287403672}} {"source_group": "csharp", "source": "openbmb/UltraData-Stack-v3-L2/csharp", "domain": "github.com", "language": "csharp", "url": "https://github.com/re-motion/Framework/blob/f9165bfcefe927c7349d05ad21dc875a867424ae/Remotion/Development/UnitTests/Core/UnitTesting/Reflection/TypeDiscovery/FilteringTypeDiscoveryServiceTest.cs", "id": "csharp-0-e0d2f4e45c5f3d8b770360aed2b9d7af", "text": "// This file is part of the re-motion Core Framework (www.re-motion.org)\n// Copyright (c) rubicon IT GmbH, www.rubicon.eu\n// \n// The re-motion Core Framework is free software; you can redistribute it \n// and/or modify it under the terms of the GNU Lesser General Public License \n// as published by the Free Software Foundation; either version 2.1 of the \n// License, or (at your option) any later version.\n// \n// re-motion 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 Lesser General Public License for more details.\n// \n// You should have received a copy of the GNU Lesser General Public License\n// along with re-motion; if not, see http://www.gnu.org/licenses.\n// \nusing System;\nusing System.ComponentModel.Design;\nusing System.Drawing;\nusing System.Drawing.Configuration;\nusing System.Linq;\nusing Moq;\nusing NUnit.Framework;\nusing Remotion.Development.UnitTesting.Reflection.TypeDiscovery;\n\nnamespace Remotion.Development.UnitTests.Core.UnitTesting.Reflection.TypeDiscovery\n{\n [TestFixture]\n public class FilteringTypeDiscoveryServiceTest\n {\n [Test]\n public void CreateFromNamespaceWhitelist ()\n {\n var types = new[]\n {\n typeof(Color),\n typeof(Size),\n typeof(DateTime)\n };\n\n var decoratedTypeDiscoveryServiceMock = new Mock();\n\n decoratedTypeDiscoveryServiceMock.Setup(service => service.GetTypes(It.IsAny(), It.IsAny())).Returns(types);\n\n var filteringTypeDiscoveryService =\n FilteringTypeDiscoveryService.CreateFromNamespaceWhitelist(decoratedTypeDiscoveryServiceMock.Object, typeof(Color).Namespace);\n var filteredTypes = filteringTypeDiscoveryService.GetTypes(null, false);\n\n Assert.That(\n filteredTypes.Cast().ToArray(),\n Is.EqualTo(\n new[]\n {\n typeof(Color),\n typeof(Size)\n }));\n }\n\n [Test]\n public void CreateFromNamespaceWhitelist_IncludesSubNamespaces ()\n {\n var types = new[]\n {\n typeof(Color),\n typeof(Size),\n typeof(DateTime),\n typeof(SystemDrawingSection)\n };\n\n var decoratedTypeDiscoveryServiceMock = new Mock();\n\n decoratedTypeDiscoveryServiceMock.Setup(service => service.GetTypes(It.IsAny(), It.IsAny())).Returns(types);\n\n var filteringTypeDiscoveryService =\n FilteringTypeDiscoveryService.CreateFromNamespaceWhitelist(decoratedTypeDiscoveryServiceMock.Object, typeof(Color).Namespace);\n var filteredTypes = filteringTypeDiscoveryService.GetTypes(null, false);\n\n Assert.That(\n filteredTypes.Cast().ToArray(),\n Is.EqualTo(\n new[]\n {\n typeof(Color),\n typeof(Size),\n typeof(SystemDrawingSection)\n }));\n }\n\n [Test]\n public void CreateFromNamespaceWhitelist_AllowsTypesWithoutNamespace_Exclusion ()\n {\n var types = new[] { typeof(TypeWithNullNamespace) };\n\n var decoratedTypeDiscoveryServiceMock = new Mock();\n\n decoratedTypeDiscoveryServiceMock.Setup(service => service.GetTypes(It.IsAny(), It.IsAny())).Returns(types);\n\n var filteringTypeDiscoveryService =\n FilteringTypeDiscoveryService.CreateFromNamespaceWhitelist(decoratedTypeDiscoveryServiceMock.Object, typeof(Color).Namespace);\n var filteredTypes = filteringTypeDiscoveryService.GetTypes(null, false);\n\n Assert.That(filteredTypes, Is.Empty);\n }\n\n [Test]\n public void CreateFromNamespaceWhitelist_AllowsTypesWithoutNamespace_Inclusion ()\n {\n var types = new[] { typeof(TypeWithNullNamespace) };\n\n var decoratedTypeDiscoveryServiceMock = new Mock();\n\n decoratedTypeDiscoveryServiceMock.Setup(service => service.GetTypes(It.IsAny(), It.IsAny())).Returns(types);\n\n var filteringTypeDiscoveryService =\n FilteringTypeDiscoveryService.CreateFromNamespaceWhitelist(decoratedTypeDiscoveryServiceMock.Object, \"\");\n var filteredTypes = filteringTypeDiscoveryService.GetTypes(null, false);\n\n Assert.That(filteredTypes, Is.EqualTo(types));\n }\n\n [Test]\n public void CreateFromNamespaceBlacklist ()\n {\n var types = new[]\n {\n typeof(Color),\n typeof(Size),\n typeof(DateTime)\n };\n\n var decoratedTypeDiscoveryServiceMock = new Mock();\n\n decoratedTypeDiscoveryServiceMock.Setup(service => service.GetTypes(It.IsAny(), It.IsAny())).Returns(types);\n\n var filteringTypeDiscoveryService =\n FilteringTypeDiscoveryService.CreateFromNamespaceBlacklist(decoratedTypeDiscoveryServiceMock.Object, typeof(Color).Namespace);\n var filteredTypes = filteringTypeDiscoveryService.GetTypes(null, false);\n\n Assert.That(\n filteredTypes.Cast().ToArray(),\n Is.EqualTo(\n new[]\n {\n typeof(DateTime)\n }));\n }\n\n [Test]\n public void CreateFromNamespaceBlacklist_IncludesSubNamespaces ()\n {\n var types = new[]\n {\n typeof(Color),\n typeof(Size),\n typeof(DateTime),\n typeof(SystemDrawingSection)\n };\n\n var decoratedTypeDiscoveryServiceMock = new Mock();\n\n decoratedTypeDiscoveryServiceMock.Setup(service => service.GetTypes(It.IsAny(), It.IsAny())).Returns(types);\n\n var filteringTypeDiscoveryService =\n FilteringTypeDiscoveryService.CreateFromNamespaceBlacklist(decoratedTypeDiscoveryServiceMock.Object, typeof(Color).Namespace);\n var filteredTypes = filteringTypeDiscoveryService.GetTypes(null, false);\n\n Assert.That(\n filteredTypes.Cast().ToArray(),\n Is.EqualTo(\n new[]\n {\n typeof(DateTime),\n }));\n }\n\n [Test]\n public void CreateFromNamespaceBlacklist_AllowsTypesWithoutNamespace_Exclusion ()\n {\n var types = new[] { typeof(TypeWithNullNamespace) };\n\n var decoratedTypeDiscoveryServiceMock = new Mock();\n\n decoratedTypeDiscoveryServiceMock.Setup(service => service.GetTypes(It.IsAny(), It.IsAny())).Returns(types);\n\n var filteringTypeDiscoveryService =\n FilteringTypeDiscoveryService.CreateFromNamespaceBlacklist(decoratedTypeDiscoveryServiceMock.Object, \"\");\n var filteredTypes = filteringTypeDiscoveryService.GetTypes(null, false);\n\n Assert.That(filteredTypes, Is.Empty);\n }\n\n [Test]\n public void CreateFromNamespaceBlacklist_AllowsTypesWithoutNamespace_Inclusion ()\n {\n var types = new[] { typeof(TypeWithNullNamespace) };\n\n var decoratedTypeDiscoveryServiceMock = new Mock();\n\n decoratedTypeDiscoveryServiceMock.Setup(service => service.GetTypes(It.IsAny(), It.IsAny())).Returns(types);\n\n var filteringTypeDiscoveryService =\n FilteringTypeDiscoveryService.CreateFromNamespaceBlacklist(decoratedTypeDiscoveryServiceMock.Object, typeof(Color).Namespace);\n var filteredTypes = filteringTypeDiscoveryService.GetTypes(null, false);\n\n Assert.That(filteredTypes, Is.EqualTo(types));\n }\n }\n}\n\npublic class TypeWithNullNamespace\n{\n}\n", "text_preview": "// This file is part of the re-motion Core Framework (www.re-motion.org) // Copyright (c) rubicon IT GmbH, www.rubicon.eu // // The re-motion Core Framework is free software; you can redistribute it // and/or modify it under the terms of th", "input_sha256": "1da3e94ed924980b5ce5adcff51e2fae5385773220652dac67fe4848e29c7d36", "text_sha256": "e0d2f4e45c5f3d8b770360aed2b9d7af9bfa34c2746e321a7dd778f7bf2d11a0", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 2009, "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": 1.304026506479253, "noise_severity": 0.628601990921034, "missing_content_severity": 0.00887487947826894, "factual_density": 3.0571579428226925, "pretraining_utility": 0.2976008537578222, "math_density": 0.023106973714491334, "code_density": 3.616505916143077, "reasoning_density": 0.8845628003708716, "education_level": 2.5974569344630014, "creative_writing_quality": -0.23843304764378961}, "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.6040047474633071, "secondary_choice": "Legal Notices", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.9844361847517457, "secondary": 0.7139748703833778, "tertiary": 0.8105052262635043, "structured_records": 0.12932410679185455, "procedural_steps": 0.00928072805643552, "worked_solution": 0.3016870216545129, "contextual_dialogue": 8.37211515262259e-06, "content_quality": 0.5673205147554072, "noise_severity": 0.5928349063741021, "missing_content_severity": 0.9926042671014426, "factual_density": 0.5170800381976359, "pretraining_utility": 0.4676387584245387, "math_density": 0.9807441885712572, "code_density": 0.6804215967858973, "reasoning_density": 0.2628643330242737, "education_level": 0.3539274099654185, "creative_writing_quality": 0.9989288208528817, "primary_topic": 0.9939647878075119, "secondary_topic": 0.8866652478190052}, "probability_margin": {"primary": 0.9756295604530831, "secondary": 0.5114964897448526, "tertiary": 0.6489829074820512, "education_level": 0.0057701601613991405, "creative_writing_quality": 0.9986616035774446, "primary_topic": 0.9919230194497789, "secondary_topic": 0.8064686751725842}, "raw_probabilities": {"primary": {"Academic Writing": 7.460256799408856e-05, "Content Listing": 3.835131168316938e-05, "Creative Writing": 3.150958441448822e-05, "Customer Support Page": 2.0089179387786256e-05, "Q&A Forum": 2.25719703959082e-05, "Discussion Thread": 1.472763310297497e-05, "Comment Section": 2.895215349716506e-05, "Missing Content": 4.550486537560528e-05, "Knowledge Article": 8.32067669196845e-05, "Legal Notices": 0.00945511660067316, "News Article": 1.1457871570202807e-05, "Organizational Announcement": 3.8591956735146955e-05, "Nonfiction Writing": 2.4964553298929497e-05, "Organizational About Page": 3.5093350388463135e-05, "Personal About Page": 1.286875234464003e-05, "Personal Blog": 1.2450752972301041e-05, "Product Page": 1.308834531640567e-05, "Spam / Ads": 1.7412384086047654e-05, "Structured Data": 0.0009819560261074784, "Technical Writing": 0.9850846770537562, "Transcript / Interview": 3.0413471570135702e-05, "Tutorial / How-To Guide": 0.00023566820108327297, "User Reviews": 1.3776589163098948e-05, "Other / Unknown": 0.003672948058163523}, "secondary": {"Academic Writing": 0.0006241879471454376, "Content Listing": 0.0005350612054256123, "Creative Writing": 0.000581030586176015, "Customer Support Page": 0.00030399073740648155, "Q&A Forum": 0.0003276076805818871, "Discussion Thread": 0.00027320538966706597, "Comment Section": 0.0006175619750561306, "Missing Content": 0.0005491149130436956, "Knowledge Article": 0.0008859007876953171, "Legal Notices": 0.7258925841174038, "News Article": 0.0004173885857274173, "Organizational Announcement": 0.0006788056154162242, "Nonfiction Writing": 0.000423005147229256, "Organizational About Page": 0.0006301910785237331, "Personal About Page": 0.00028422401593671535, "Personal Blog": 0.00023703988673320675, "Product Page": 0.00033905260454042266, "Spam / Ads": 0.0003769680601533764, "Structured Data": 0.001951279567513508, "Technical Writing": 0.04828443403243356, "Transcript / Interview": 0.00048642297349573365, "Tutorial / How-To Guide": 0.0006914153442090231, "User Reviews": 0.00021343337593520898, "NONE": 0.21439609437255108}, "tertiary": {"Academic Writing": 0.0003062357428248553, "Content Listing": 0.00023891357155692169, "Creative Writing": 0.00029519815767958384, "Customer Support Page": 0.00015430068863616316, "Q&A Forum": 0.0001130579468216906, "Discussion Thread": 0.00010602043960497256, "Comment Section": 0.00036715115348454226, "Missing Content": 0.00027818420066980613, "Knowledge Article": 0.0004441326168687922, "Legal Notices": 0.169417934353807, "News Article": 0.0001968409073621884, "Organizational Announcement": 0.0002785763206277257, "Nonfiction Writing": 0.00017866900142782163, "Organizational About Page": 0.00032853014722458425, "Personal About Page": 0.00011782458764640135, "Personal Blog": 0.00012753989134688614, "Product Page": 0.0001313005638817138, "Spam / Ads": 0.00025643114909238216, "Structured Data": 0.001156926380963996, "Technical Writing": 0.005939315443056791, "Transcript / Interview": 0.00020163553731066943, "Tutorial / How-To Guide": 0.0008657577229180309, "User Reviews": 9.868163932820865e-05, "NONE": 0.8184008418358583}, "structured_records": {"false": 0.8706758932081454, "true": 0.12932410679185455}, "procedural_steps": {"false": 0.9907192719435645, "true": 0.00928072805643552}, "worked_solution": {"false": 0.6983129783454871, "true": 0.3016870216545129}, "contextual_dialogue": {"false": 0.9999916278848474, "true": 8.37211515262259e-06}, "content_quality": {"-2": 0.003010045888590353, "-1": 0.005896028730701744, "0": 0.08677224277995461, "1": 0.49270073821437105, "2": 0.4116209443863822}, "noise_severity": {"0": 0.42999806071502183, "1": 0.5192200766693709, "2": 0.04560834411810927, "3": 0.0025288479745473966, "4": 0.002644670522950571}, "missing_content_severity": {"0": 0.9950472577121012, "1": 0.0019945689100220234, "2": 0.0022174000967218705, "3": 0.0005175827498161607, "4": 0.00022319053133867367}, "factual_density": {"0": 0.007846463190178397, "1": 0.029208750017782236, "2": 0.17921611606397259, "3": 0.4653977222353021, "4": 0.31833094849276466}, "pretraining_utility": {"-2": 0.01103736289658848, "-1": 0.1485415922731887, "0": 0.4363919559621304, "1": 0.33984100591199695, "2": 0.06418808295609545}, "math_density": {"0": 0.9895236407654352, "1": 0.004763591790069908, "2": 0.0017144089846079565, "3": 0.0010788698843421055, "4": 0.002919488575544799}, "code_density": {"0": 0.0004053344694286923, "1": 0.0008929357690672561, "2": 0.032749302986338366, "3": 0.31369533269933, "4": 0.6522570940758358}, "reasoning_density": {"0": 0.6142448958576512, "1": 0.09911207155359579, "2": 0.14366116834594808, "3": 0.07379906484583998, "4": 0.0691827993969649}, "education_level": {"none": 0.0012274340929327482, "0": 0.001385520531318298, "1": 0.005410363161377126, "2": 0.4616061749711821, "3": 0.455836014809783, "4": 0.07453449243340665}, "creative_writing_quality": {"not_applicable": 0.9991073507107348, "-2": 0.00011090244511432192, "-1": 0.00018337608342621642, "0": 0.0004457471332901626, "1": 0.00011290337173097029, "2": 3.972025570364852e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 4.9910799531868556e-05, "Art & Design": 0.00012675639906878624, "Law & Crime": 0.0022738919035978833, "Education & Careers": 7.329796650259334e-05, "Entertainment & Media": 3.3705601703384176e-05, "Fashion & Beauty": 2.7164098294010107e-05, "Business, Economics & Finance": 0.00010426458331019872, "Food & Dining": 2.9441770504797482e-05, "Games & Gaming": 6.565432708515766e-05, "Electronics & Hardware": 0.00010631554272791216, "Health, Healthcare & Wellness": 3.213344412164144e-05, "History & Geography": 5.7778728467443005e-05, "Home, Pets & Hobbies": 3.095000427893465e-05, "Industry & Production": 4.68162832098082e-05, "Language, Literature & Philosophy": 7.137946550228347e-05, "Politics & Government": 5.3873059556744076e-05, "Religion & Spirituality": 4.472573758474777e-05, "Science, Mathematics & Engineering": 0.001178773153160676, "Relationships & Community": 2.82018210943832e-05, "Software Usage & Applications": 0.0005300107736645313, "Programming & Software Engineering": 0.9941969113533767, "Sports & Fitness": 6.751024811443249e-05, "Vehicles & Transportation": 2.5473654542676937e-05, "Travel & Tourism": 6.203732264800342e-05, "Other / Uncovered Subject": 0.0005616170287649977, "Unknown / Insufficient Content": 0.0001214049295854398}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0005979982897689413, "Art & Design": 0.0009863684063348304, "Law & Crime": 0.08455560157645922, "Education & Careers": 0.0004116169850149478, "Entertainment & Media": 0.00035823277168793463, "Fashion & Beauty": 0.00021293105283748287, "Business, Economics & Finance": 0.0008048519900834308, "Food & Dining": 0.0001683670842984942, "Games & Gaming": 0.00025008773343889915, "Electronics & Hardware": 0.00036353038519404104, "Health, Healthcare & Wellness": 0.00023600583398838347, "History & Geography": 0.0002715216507554008, "Home, Pets & Hobbies": 0.00018868676096719936, "Industry & Production": 0.0001903720566097012, "Language, Literature & Philosophy": 0.00020408626767868713, "Politics & Government": 0.0005251345611954899, "Religion & Spirituality": 0.0004238059574767331, "Science, Mathematics & Engineering": 0.0017556412709009254, "Relationships & Community": 0.00011442766257302248, "Software Usage & Applications": 0.0010619716017930979, "Programming & Software Engineering": 0.013739087926724233, "Sports & Fitness": 0.00018529743297735217, "Vehicles & Transportation": 0.00010639559265576844, "Travel & Tourism": 0.00030124667250983777, "Other / Uncovered Subject": 0.0009624557270324495, "NONE": 0.8910242767490435}}, "probabilities": {"primary": {"Academic Writing": 7.460256799408857e-05, "Content Listing": 3.8351311683169385e-05, "Creative Writing": 3.1509584414488224e-05, "Customer Support Page": 2.008917938778626e-05, "Q&A Forum": 2.2571970395908202e-05, "Discussion Thread": 1.4727633102974972e-05, "Comment Section": 2.8952153497165062e-05, "Missing Content": 4.5504865375605284e-05, "Knowledge Article": 8.320676691968451e-05, "Legal Notices": 0.009455116600673162, "News Article": 1.1457871570202809e-05, "Organizational Announcement": 3.859195673514696e-05, "Nonfiction Writing": 2.49645532989295e-05, "Organizational About Page": 3.509335038846314e-05, "Personal About Page": 1.2868752344640032e-05, "Personal Blog": 1.2450752972301043e-05, "Product Page": 1.3088345316405672e-05, "Spam / Ads": 1.7412384086047657e-05, "Structured Data": 0.0009819560261074786, "Technical Writing": 0.9850846770537564, "Transcript / Interview": 3.0413471570135705e-05, "Tutorial / How-To Guide": 0.000235668201083273, "User Reviews": 1.377658916309895e-05, "Other / Unknown": 0.0036729480581635236}, "secondary": {"Academic Writing": 0.0006241879471454377, "Content Listing": 0.0005350612054256124, "Creative Writing": 0.0005810305861760151, "Customer Support Page": 0.0003039907374064816, "Q&A Forum": 0.0003276076805818872, "Discussion Thread": 0.000273205389667066, "Comment Section": 0.0006175619750561308, "Missing Content": 0.0005491149130436957, "Knowledge Article": 0.0008859007876953172, "Legal Notices": 0.7258925841174039, "News Article": 0.00041738858572741734, "Organizational Announcement": 0.0006788056154162243, "Nonfiction Writing": 0.00042300514722925603, "Organizational About Page": 0.0006301910785237332, "Personal About Page": 0.0002842240159367154, "Personal Blog": 0.00023703988673320678, "Product Page": 0.0003390526045404227, "Spam / Ads": 0.00037696806015337646, "Structured Data": 0.0019512795675135082, "Technical Writing": 0.048284434032433564, "Transcript / Interview": 0.0004864229734957337, "Tutorial / How-To Guide": 0.0006914153442090232, "User Reviews": 0.000213433375935209, "NONE": 0.2143960943725511}, "tertiary": {"Academic Writing": 0.0003062357428248553, "Content Listing": 0.00023891357155692169, "Creative Writing": 0.00029519815767958384, "Customer Support Page": 0.00015430068863616316, "Q&A Forum": 0.0001130579468216906, "Discussion Thread": 0.00010602043960497256, "Comment Section": 0.00036715115348454226, "Missing Content": 0.00027818420066980613, "Knowledge Article": 0.0004441326168687922, "Legal Notices": 0.169417934353807, "News Article": 0.0001968409073621884, "Organizational Announcement": 0.0002785763206277257, "Nonfiction Writing": 0.00017866900142782163, "Organizational About Page": 0.00032853014722458425, "Personal About Page": 0.00011782458764640135, "Personal Blog": 0.00012753989134688614, "Product Page": 0.0001313005638817138, "Spam / Ads": 0.00025643114909238216, "Structured Data": 0.001156926380963996, "Technical Writing": 0.005939315443056791, "Transcript / Interview": 0.00020163553731066943, "Tutorial / How-To Guide": 0.0008657577229180309, "User Reviews": 9.868163932820865e-05, "NONE": 0.8184008418358583}, "structured_records": {"false": 0.8706758932081454, "true": 0.12932410679185455}, "procedural_steps": {"false": 0.9907192719435645, "true": 0.00928072805643552}, "worked_solution": {"false": 0.6983129783454871, "true": 0.3016870216545129}, "contextual_dialogue": {"false": 0.9999916278848474, "true": 8.37211515262259e-06}, "content_quality": {"-2": 0.003010045888590353, "-1": 0.005896028730701744, "0": 0.08677224277995461, "1": 0.49270073821437105, "2": 0.4116209443863822}, "noise_severity": {"0": 0.4299980607150219, "1": 0.519220076669371, "2": 0.045608344118109274, "3": 0.002528847974547397, "4": 0.0026446705229505713}, "missing_content_severity": {"0": 0.9950472577121012, "1": 0.0019945689100220234, "2": 0.0022174000967218705, "3": 0.0005175827498161607, "4": 0.00022319053133867367}, "factual_density": {"0": 0.007846463190178397, "1": 0.029208750017782236, "2": 0.17921611606397259, "3": 0.4653977222353021, "4": 0.31833094849276466}, "pretraining_utility": {"-2": 0.01103736289658848, "-1": 0.1485415922731887, "0": 0.4363919559621304, "1": 0.33984100591199695, "2": 0.06418808295609545}, "math_density": {"0": 0.9895236407654352, "1": 0.004763591790069908, "2": 0.0017144089846079565, "3": 0.0010788698843421055, "4": 0.002919488575544799}, "code_density": {"0": 0.0004053344694286923, "1": 0.0008929357690672561, "2": 0.032749302986338366, "3": 0.31369533269933, "4": 0.6522570940758358}, "reasoning_density": {"0": 0.6142448958576513, "1": 0.0991120715535958, "2": 0.1436611683459481, "3": 0.07379906484583999, "4": 0.06918279939696491}, "education_level": {"none": 0.0012274340929327484, "0": 0.0013855205313182983, "1": 0.005410363161377127, "2": 0.46160617497118217, "3": 0.45583601480978303, "4": 0.07453449243340667}, "creative_writing_quality": {"not_applicable": 0.9991073507107348, "-2": 0.00011090244511432192, "-1": 0.00018337608342621642, "0": 0.0004457471332901626, "1": 0.00011290337173097029, "2": 3.972025570364852e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 4.9910799531868556e-05, "Art & Design": 0.00012675639906878624, "Law & Crime": 0.0022738919035978833, "Education & Careers": 7.329796650259334e-05, "Entertainment & Media": 3.3705601703384176e-05, "Fashion & Beauty": 2.7164098294010107e-05, "Business, Economics & Finance": 0.00010426458331019872, "Food & Dining": 2.9441770504797482e-05, "Games & Gaming": 6.565432708515766e-05, "Electronics & Hardware": 0.00010631554272791216, "Health, Healthcare & Wellness": 3.213344412164144e-05, "History & Geography": 5.7778728467443005e-05, "Home, Pets & Hobbies": 3.095000427893465e-05, "Industry & Production": 4.68162832098082e-05, "Language, Literature & Philosophy": 7.137946550228347e-05, "Politics & Government": 5.3873059556744076e-05, "Religion & Spirituality": 4.472573758474777e-05, "Science, Mathematics & Engineering": 0.001178773153160676, "Relationships & Community": 2.82018210943832e-05, "Software Usage & Applications": 0.0005300107736645313, "Programming & Software Engineering": 0.9941969113533767, "Sports & Fitness": 6.751024811443249e-05, "Vehicles & Transportation": 2.5473654542676937e-05, "Travel & Tourism": 6.203732264800342e-05, "Other / Uncovered Subject": 0.0005616170287649977, "Unknown / Insufficient Content": 0.0001214049295854398}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0005979982897689413, "Art & Design": 0.0009863684063348304, "Law & Crime": 0.08455560157645922, "Education & Careers": 0.0004116169850149478, "Entertainment & Media": 0.00035823277168793463, "Fashion & Beauty": 0.00021293105283748287, "Business, Economics & Finance": 0.0008048519900834308, "Food & Dining": 0.0001683670842984942, "Games & Gaming": 0.00025008773343889915, "Electronics & Hardware": 0.00036353038519404104, "Health, Healthcare & Wellness": 0.00023600583398838347, "History & Geography": 0.0002715216507554008, "Home, Pets & Hobbies": 0.00018868676096719936, "Industry & Production": 0.0001903720566097012, "Language, Literature & Philosophy": 0.00020408626767868713, "Politics & Government": 0.0005251345611954899, "Religion & Spirituality": 0.0004238059574767331, "Science, Mathematics & Engineering": 0.0017556412709009254, "Relationships & Community": 0.00011442766257302248, "Software Usage & Applications": 0.0010619716017930979, "Programming & Software Engineering": 0.013739087926724233, "Sports & Fitness": 0.00018529743297735217, "Vehicles & Transportation": 0.00010639559265576844, "Travel & Tourism": 0.00030124667250983777, "Other / Uncovered Subject": 0.0009624557270324495, "NONE": 0.8910242767490435}}, "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": 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": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}}, "usage": {"input_tokens": 10099, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 10099, "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.164154+00:00", "scoring_key_slot": "primary", "dataset_uid": "c80055cf-599c-4c84-841a-3a156d249c4b", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "3376455505d1ecb04b0c91053727af543ff55a084f81049d1474b5c70e74c7a8", "source_metadata": {"uuid": "c80055cf-599c-4c84-841a-3a156d249c4b", "repo_name": "re-motion/Framework", "relative_path": "Remotion/Development/UnitTests/Core/UnitTesting/Reflection/TypeDiscovery/FilteringTypeDiscoveryServiceTest.cs", "category": "TEST", "algo_rel_score": 0.7517526149749756, "quality_score": 5.560323238372803, "source_meta": {"github_metadata": {"branch": "develop", "commit_count": 4002, "repo_created_at": "2020-12-20T19:06:17.000Z", "is_fork": false, "is_org_owned": true, "forked_from": null, "stars": 7, "forks": 4, "issues": 0, "pull_requests": 7}, "file_meta": {"content_id": "c8767727025e9d3ca0c1970e3cba96607003f6fb", "size_bytes": 7779, "file_timestamp": 1752753115, "language": "c#", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "f9165bfcefe927c7349d05ad21dc875a867424ae"}}, "parsed_source_meta": {"github_metadata": {"branch": "develop", "commit_count": 4002, "repo_created_at": "2020-12-20T19:06:17.000Z", "is_fork": false, "is_org_owned": true, "forked_from": null, "stars": 7, "forks": 4, "issues": 0, "pull_requests": 7}, "file_meta": {"content_id": "c8767727025e9d3ca0c1970e3cba96607003f6fb", "size_bytes": 7779, "file_timestamp": 1752753115, "language": "c#", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "f9165bfcefe927c7349d05ad21dc875a867424ae", "url": "https://github.com/re-motion/Framework/blob/f9165bfcefe927c7349d05ad21dc875a867424ae/Remotion/Development/UnitTests/Core/UnitTesting/Reflection/TypeDiscovery/FilteringTypeDiscoveryServiceTest.cs"}, "gpt4o_tokens": 1444, "dataset_split": "csharp", "probability_weighted_scores": {"content_quality": 1.304026506479253, "noise_severity": 0.628601990921034, "missing_content_severity": 0.00887487947826894, "factual_density": 3.0571579428226925, "pretraining_utility": 0.2976008537578222, "math_density": 0.023106973714491334, "code_density": 3.616505916143077, "reasoning_density": 0.8845628003708716, "education_level": 2.5974569344630014, "creative_writing_quality": -0.23843304764378961}, "score_applicability": {"education_level": 0.9987725659070673, "creative_writing_quality": 0.0008926492892653197}} {"source_group": "csharp", "source": "openbmb/UltraData-Stack-v3-L2/csharp", "domain": "github.com", "language": "csharp", "url": "https://github.com/nelemans1971/AudioFingerprinting/blob/0c8f6b12631beffc9b5f76aded8f249a5ca0681f/AudioFingerprint/Lucene.Net.3.03/Store/Directory.cs", "id": "csharp-0-a843f5645cf3730d0fc1621365e7df70", "text": "/* \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\nusing System;\n\nusing IndexFileNameFilter = Lucene.Net.Index.IndexFileNameFilter;\n\nnamespace Lucene.Net.Store\n{\n\t\n\t/// A Directory is a flat list of files. Files may be written once, when they\n\t/// are created. Once a file is created it may only be opened for read, or\n\t/// deleted. Random access is permitted both when reading and writing.\n\t/// \n\t///

Java's i/o APIs not used directly, but rather all i/o is\n\t/// through this API. This permits things such as: \n\t/// implementation of RAM-based indices;\n\t/// implementation indices stored in a database, via JDBC;\n\t/// implementation of an index as a single file;\n\t/// \n\t/// \n\t/// Directory locking is implemented by an instance of \n\t///, and can be changed for each Directory\n\t/// instance using .\n\t/// \n\t///

\n\t[Serializable]\n\tpublic abstract class Directory : System.IDisposable\n\t{\n\t\tprotected internal volatile bool isOpen = true;\n\t\t\n\t\t/// Holds the LockFactory instance (implements locking for\n\t\t/// this Directory instance). \n\t\t/// \n\t\t[NonSerialized]\n\t\tprotected internal LockFactory interalLockFactory;\n\n\t /// Returns an array of strings, one for each file in the directory.\n\t /// \n\t public abstract System.String[] ListAll();\n\t\t\n\t\t/// Returns true iff a file with the given name exists. \n\t\tpublic abstract bool FileExists(System.String name);\n\t\t\n\t\t/// Returns the time the named file was last modified. \n\t\tpublic abstract long FileModified(System.String name);\n\t\t\n\t\t/// Set the modified time of an existing file to now. \n\t\tpublic abstract void TouchFile(System.String name);\n\t\t\n\t\t/// Removes an existing file in the directory. \n\t\tpublic abstract void DeleteFile(System.String name);\n\t\t\n\t\t/// Returns the length of a file in the directory. \n\t\tpublic abstract long FileLength(System.String name);\n\t\t\n\t\t\n\t\t/// Creates a new, empty file in the directory with the given name.\n\t\t/// Returns a stream writing this file. \n\t\t/// \n\t\tpublic abstract IndexOutput CreateOutput(System.String name);\n\t\t\n\t\t/// Ensure that any writes to this file are moved to\n\t\t/// stable storage. Lucene uses this to properly commit\n\t\t/// changes to the index, to prevent a machine/OS crash\n\t\t/// from corrupting the index. \n\t\t/// \n\t\tpublic virtual void Sync(System.String name)\n\t\t{\n\t\t}\n\t\t\n\t\t/// Returns a stream reading an existing file. \n\t\tpublic abstract IndexInput OpenInput(System.String name);\n\t\t\n\t\t/// Returns a stream reading an existing file, with the\n\t\t/// specified read buffer size. The particular Directory\n\t\t/// implementation may ignore the buffer size. Currently\n\t\t/// the only Directory implementations that respect this\n\t\t/// parameter are and \n\t\t///.\n\t\t/// \n\t\tpublic virtual IndexInput OpenInput(System.String name, int bufferSize)\n\t\t{\n\t\t\treturn OpenInput(name);\n\t\t}\n\t\t\n\t\t/// Construct a .\n\t\t/// the name of the lock file\n\t\t/// \n\t\tpublic virtual Lock MakeLock(System.String name)\n\t\t{\n\t\t\treturn interalLockFactory.MakeLock(name);\n\t\t}\n\t\t/// Attempt to clear (forcefully unlock and remove) the\n\t\t/// specified lock. Only call this at a time when you are\n\t\t/// certain this lock is no longer in use.\n\t\t/// \n\t\t/// name of the lock to be cleared.\n\t\t/// \n\t\tpublic virtual void ClearLock(System.String name)\n\t\t{\n\t\t\tif (interalLockFactory != null)\n\t\t\t{\n\t\t\t\tinteralLockFactory.ClearLock(name);\n\t\t\t}\n\t\t}\n\t\t\n\t\t[Obsolete(\"Use Dispose() instead\")]\n\t\tpublic void Close()\n\t\t{\n\t\t Dispose();\n\t\t}\n\n /// Closes the store. \n public void Dispose()\n {\n Dispose(true);\n }\n\n\t protected abstract void Dispose(bool disposing);\n\n\t /// Set the LockFactory that this Directory instance should\n\t\t/// use for its locking implementation. Each * instance of\n\t\t/// LockFactory should only be used for one directory (ie,\n\t\t/// do not share a single instance across multiple\n\t\t/// Directories).\n\t\t/// \n\t\t/// \n\t\t/// instance of .\n\t\t/// \n\t\tpublic virtual void SetLockFactory(LockFactory lockFactory)\n\t\t{\n\t\t System.Diagnostics.Debug.Assert(lockFactory != null);\n\t\t\tthis.interalLockFactory = lockFactory;\n\t\t\tlockFactory.LockPrefix = this.GetLockId();\n\t\t}\n\n\t /// Get the LockFactory that this Directory instance is\n\t /// using for its locking implementation. Note that this\n\t /// may be null for Directory implementations that provide\n\t /// their own locking implementation.\n\t /// \n\t public virtual LockFactory LockFactory\n\t {\n\t get { return this.interalLockFactory; }\n\t }\n\n\t /// Return a string identifier that uniquely differentiates\n /// this Directory instance from other Directory instances.\n /// This ID should be the same if two Directory instances\n /// (even in different JVMs and/or on different machines)\n /// are considered \"the same index\". This is how locking\n /// \"scopes\" to the right index.\n /// \n [System.Diagnostics.CodeAnalysis.SuppressMessage(\"Microsoft.Design\", \"CA1024:UsePropertiesWhereAppropriate\")]\n public virtual string GetLockId()\n {\n return ToString();\n }\n\n\t public override string ToString()\n {\n return base.ToString() + \" lockFactory=\" + LockFactory;\n }\n\t\t\n\t\t/// Copy contents of a directory src to a directory dest.\n\t\t/// If a file in src already exists in dest then the\n\t\t/// one in dest will be blindly overwritten.\n\t\t/// \n\t\t///

NOTE: the source directory cannot change\n\t\t/// while this method is running. Otherwise the results\n\t\t/// are undefined and you could easily hit a\n\t\t/// FileNotFoundException.\n\t\t/// \n\t\t///

NOTE: this method only copies files that look\n\t\t/// like index files (ie, have extensions matching the\n\t\t/// known extensions of index files).\n\t\t/// \n\t\t///

\n\t\t/// source directory\n\t\t/// \n\t\t/// destination directory\n\t\t/// \n\t\t/// if true, call method on source directory\n\t\t/// \n\t\t/// IOException \n\t\tpublic static void Copy(Directory src, Directory dest, bool closeDirSrc)\n\t\t{\n\t\t\tSystem.String[] files = src.ListAll();\n\t\t\t\n\t\t\tIndexFileNameFilter filter = IndexFileNameFilter.Filter;\n\t\t\t\n\t\t\tbyte[] buf = new byte[BufferedIndexOutput.BUFFER_SIZE];\n\t\t\tfor (int i = 0; i < files.Length; i++)\n\t\t\t{\n\t\t\t\t\n\t\t\t\tif (!filter.Accept(null, files[i]))\n\t\t\t\t\tcontinue;\n\t\t\t\t\n\t\t\t\tIndexOutput os = null;\n\t\t\t\tIndexInput is_Renamed = null;\n\t\t\t\ttry\n\t\t\t\t{\n\t\t\t\t\t// create file in dest directory\n\t\t\t\t\tos = dest.CreateOutput(files[i]);\n\t\t\t\t\t// read current file\n\t\t\t\t\tis_Renamed = src.OpenInput(files[i]);\n\t\t\t\t\t// and copy to dest directory\n\t\t\t\t\tlong len = is_Renamed.Length();\n\t\t\t\t\tlong readCount = 0;\n\t\t\t\t\twhile (readCount < len)\n\t\t\t\t\t{\n\t\t\t\t\t\tint toRead = readCount + BufferedIndexOutput.BUFFER_SIZE > len?(int) (len - readCount):BufferedIndexOutput.BUFFER_SIZE;\n\t\t\t\t\t\tis_Renamed.ReadBytes(buf, 0, toRead);\n\t\t\t\t\t\tos.WriteBytes(buf, toRead);\n\t\t\t\t\t\treadCount += toRead;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tfinally\n\t\t\t\t{\n\t\t\t\t\t// graceful cleanup\n\t\t\t\t\ttry\n\t\t\t\t\t{\n\t\t\t\t\t\tif (os != null)\n\t\t\t\t\t\t\tos.Close();\n\t\t\t\t\t}\n\t\t\t\t\tfinally\n\t\t\t\t\t{\n\t\t\t\t\t\tif (is_Renamed != null)\n\t\t\t\t\t\t\tis_Renamed.Close();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (closeDirSrc)\n\t\t\t\tsrc.Close();\n\t\t}\n\t\t\n\t\t/// AlreadyClosedException if this Directory is closed \n\t\tpublic /*protected internal*/ void EnsureOpen()\n\t\t{\n\t\t\tif (!isOpen)\n\t\t\t\tthrow new AlreadyClosedException(\"this Directory is closed\");\n\t\t}\n\n public bool isOpen_ForNUnit\n {\n get { return isOpen; }\n }\n\t}\n}", "text_preview": "/* * 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 licenses this fil", "input_sha256": "e3456a580436e543e63f27a4876a5ea83ca118cefd58b92ed86d8f72d6eb00e6", "text_sha256": "a843f5645cf3730d0fc1621365e7df705d03e764f871cf52e3e24f67654197ab", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 2010, "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": 1, "math_density": 0, "code_density": 4, "reasoning_density": 0, "education_level": 2, "creative_writing_quality": null}, "score_expectations": {"content_quality": 1.1261158752124694, "noise_severity": 0.5417555314346013, "missing_content_severity": 0.03627279341198687, "factual_density": 3.3514444632778626, "pretraining_utility": 0.4336298247506711, "math_density": 0.07709761866713548, "code_density": 3.635651804872932, "reasoning_density": 0.31237982717168805, "education_level": 2.382807584589513, "creative_writing_quality": -0.0679928625508716}, "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.5468579323289259, "secondary_choice": "Legal Notices", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.9902293924215796, "secondary": 0.7452901476657925, "tertiary": 0.7203120660988597, "structured_records": 0.017104603060128672, "procedural_steps": 0.02672914788081773, "worked_solution": 0.0031460959355783464, "contextual_dialogue": 5.911445420017182e-06, "content_quality": 0.5657657654466669, "noise_severity": 0.5738526045634806, "missing_content_severity": 0.9697726721566776, "factual_density": 0.4595370527315521, "pretraining_utility": 0.42003570963392334, "math_density": 0.9357519844440538, "code_density": 0.6963765040607766, "reasoning_density": 0.7396834773569265, "education_level": 0.5637420344749245, "creative_writing_quality": 0.9984728512246277, "primary_topic": 0.9919498153148061, "secondary_topic": 0.834463985934568}, "probability_margin": {"primary": 0.9827831407347973, "secondary": 0.5707952604972365, "tertiary": 0.488021480767318, "education_level": 0.33094833743531943, "creative_writing_quality": 0.9979923334733831, "primary_topic": 0.9901487269673876, "secondary_topic": 0.7609141636203065}, "raw_probabilities": {"primary": {"Academic Writing": 3.246121488895935e-05, "Content Listing": 1.821915736423031e-05, "Creative Writing": 1.3784067758500036e-05, "Customer Support Page": 9.49008597098015e-06, "Q&A Forum": 9.814017908158153e-06, "Discussion Thread": 6.029502065845888e-06, "Comment Section": 1.1680649913273645e-05, "Missing Content": 2.3061965390510203e-05, "Knowledge Article": 9.400101595487223e-05, "Legal Notices": 0.007853360335883158, "News Article": 4.4520249770112e-06, "Organizational Announcement": 1.7339340651087668e-05, "Nonfiction Writing": 9.708547008331733e-06, "Organizational About Page": 1.3269282746692548e-05, "Personal About Page": 7.390974492370969e-06, "Personal Blog": 6.803620607415239e-06, "Product Page": 6.72754396616081e-06, "Spam / Ads": 7.045834846746278e-06, "Structured Data": 0.0003754397171574456, "Technical Writing": 0.9906365010706805, "Transcript / Interview": 1.3969112509154919e-05, "Tutorial / How-To Guide": 6.263949890020516e-05, "User Reviews": 5.5538112733244515e-06, "Other / Unknown": 0.000761257607084945}, "secondary": {"Academic Writing": 0.0006416326891026528, "Content Listing": 0.0005165688801912372, "Creative Writing": 0.0004813096638567252, "Customer Support Page": 0.00033823760858087094, "Q&A Forum": 0.00028716148241198793, "Discussion Thread": 0.00023668788234386783, "Comment Section": 0.00046379979284576965, "Missing Content": 0.0005260652471947213, "Knowledge Article": 0.001499848610073346, "Legal Notices": 0.7559030581797178, "News Article": 0.00039176555677594157, "Organizational Announcement": 0.0005058408439589699, "Nonfiction Writing": 0.0003656383574943467, "Organizational About Page": 0.00046087320643757904, "Personal About Page": 0.0002556182809707955, "Personal Blog": 0.00022529929753034982, "Product Page": 0.0002952432218961457, "Spam / Ads": 0.00032639923109074713, "Structured Data": 0.001542763506787078, "Technical Writing": 0.04861475123836221, "Transcript / Interview": 0.0004142692002270935, "Tutorial / How-To Guide": 0.00041547396085005547, "User Reviews": 0.00018389637881835168, "NONE": 0.18510779768248134}, "tertiary": {"Academic Writing": 0.0005065282149851677, "Content Listing": 0.0004050369144923123, "Creative Writing": 0.0003924213950208555, "Customer Support Page": 0.00030302625781824285, "Q&A Forum": 0.00017823009524790126, "Discussion Thread": 0.00016133549836984848, "Comment Section": 0.00031045544747073707, "Missing Content": 0.0004682581168481729, "Knowledge Article": 0.002840203622419122, "Legal Notices": 0.24394424924408917, "News Article": 0.0003179641146393989, "Organizational Announcement": 0.00036192344790335156, "Nonfiction Writing": 0.0002961009633140417, "Organizational About Page": 0.00034936716044328074, "Personal About Page": 0.00021714371205314558, "Personal Blog": 0.00019874501322239788, "Product Page": 0.00021852697063091874, "Spam / Ads": 0.00027744777585142353, "Structured Data": 0.0018420287645926495, "Technical Writing": 0.013320053013526074, "Transcript / Interview": 0.00033034465667254327, "Tutorial / How-To Guide": 0.0006614190377052772, "User Reviews": 0.0001334605512768248, "NONE": 0.7319657300114072}, "structured_records": {"false": 0.9828953969398714, "true": 0.017104603060128672}, "procedural_steps": {"false": 0.9732708521191823, "true": 0.02672914788081773}, "worked_solution": {"false": 0.9968539040644216, "true": 0.0031460959355783464}, "contextual_dialogue": {"false": 0.9999940885545799, "true": 5.911445420017182e-06}, "content_quality": {"-2": 0.0037057746342829237, "-1": 0.010950750131180971, "0": 0.1644637789605545, "1": 0.4972812179357471, "2": 0.3235984783382345}, "noise_severity": {"0": 0.4848106715446109, "1": 0.4950383979791796, "2": 0.015895737690950394, "3": 0.00209511306751546, "4": 0.002160079717743651}, "missing_content_severity": {"0": 0.9735652136704971, "1": 0.01905597304672717, "2": 0.00547977828977788, "3": 0.001338876186288029, "4": 0.0005601588067099644}, "factual_density": {"0": 0.00301173998034222, "1": 0.008181150292696088, "2": 0.09971406492071781, "3": 0.41253699608124456, "4": 0.47655604872499935}, "pretraining_utility": {"-2": 0.008937225223851528, "-1": 0.09785862052115765, "0": 0.40863474513044057, "1": 0.41977592252956847, "2": 0.0647934865949816}, "math_density": {"0": 0.945176076006643, "1": 0.04350119766665017, "2": 0.004736630086329587, "3": 0.002221224133682241, "4": 0.0043648721066948505}, "code_density": {"0": 0.00043580188092774165, "1": 0.0008824832775452947, "2": 0.027093873782902525, "3": 0.3057697902049162, "4": 0.6658180508537083}, "reasoning_density": {"0": 0.7714187048363543, "1": 0.16104286119371009, "2": 0.055009619224647824, "3": 0.008797531452468857, "4": 0.0037312832928189364}, "education_level": {"none": 0.0012392181118052222, "0": 0.001651553504076117, "1": 0.010058466170246744, "2": 0.6364516953957704, "3": 0.30550335796045097, "4": 0.04509570885765065}, "creative_writing_quality": {"not_applicable": 0.9987273760205231, "-2": 8.188945608063809e-05, "-1": 0.0002225735719985298, "0": 0.0007350425471399801, "1": 0.00016641367167151202, "2": 6.670473258638403e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 4.881284440226757e-05, "Art & Design": 5.180642646632903e-05, "Law & Crime": 0.0021107108353106132, "Education & Careers": 4.1624377920365676e-05, "Entertainment & Media": 0.0003970426658797296, "Fashion & Beauty": 3.256716746985889e-05, "Business, Economics & Finance": 0.00012925959577432403, "Food & Dining": 3.112669080423322e-05, "Games & Gaming": 0.00012091334518280107, "Electronics & Hardware": 0.0003729586112523336, "Health, Healthcare & Wellness": 2.8202817846375298e-05, "History & Geography": 7.90229823722653e-05, "Home, Pets & Hobbies": 3.30934361678309e-05, "Industry & Production": 3.390036314389831e-05, "Language, Literature & Philosophy": 5.3956281084478816e-05, "Politics & Government": 3.787913812185878e-05, "Religion & Spirituality": 2.8621496807646924e-05, "Science, Mathematics & Engineering": 0.0019154053859575348, "Relationships & Community": 1.8994050523344505e-05, "Software Usage & Applications": 0.0013916025871639989, "Programming & Software Engineering": 0.9922594378026982, "Sports & Fitness": 4.770834133074981e-05, "Vehicles & Transportation": 1.9503530632734654e-05, "Travel & Tourism": 4.641542549004564e-05, "Other / Uncovered Subject": 0.000547022925961008, "Unknown / Insufficient Content": 0.00012241087423517786}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0010134672056264827, "Art & Design": 0.000736991104499847, "Law & Crime": 0.0799165920860089, "Education & Careers": 0.0005993386874851632, "Entertainment & Media": 0.025615669549851623, "Fashion & Beauty": 0.00046569920776905855, "Business, Economics & Finance": 0.0015635601316122082, "Food & Dining": 0.00035904087727433643, "Games & Gaming": 0.001682197093538106, "Electronics & Hardware": 0.0012509279994067266, "Health, Healthcare & Wellness": 0.000483206589552866, "History & Geography": 0.0004336825761552362, "Home, Pets & Hobbies": 0.0004262939340987712, "Industry & Production": 0.0002998235649052769, "Language, Literature & Philosophy": 0.0004390537968118164, "Politics & Government": 0.0010545615032909344, "Religion & Spirituality": 0.00045090262066894765, "Science, Mathematics & Engineering": 0.0072868805074532954, "Relationships & Community": 0.00019465431801269322, "Software Usage & Applications": 0.0033990520240044114, "Programming & Software Engineering": 0.027155966443478063, "Sports & Fitness": 0.00041638767237361305, "Vehicles & Transportation": 0.0001937484363562658, "Travel & Tourism": 0.0005183689076032733, "Other / Uncovered Subject": 0.0032131774558467083, "NONE": 0.8408307557063154}}, "probabilities": {"primary": {"Academic Writing": 3.2461214888959355e-05, "Content Listing": 1.8219157364230312e-05, "Creative Writing": 1.3784067758500037e-05, "Customer Support Page": 9.490085970980152e-06, "Q&A Forum": 9.814017908158154e-06, "Discussion Thread": 6.029502065845889e-06, "Comment Section": 1.1680649913273646e-05, "Missing Content": 2.3061965390510207e-05, "Knowledge Article": 9.400101595487224e-05, "Legal Notices": 0.00785336033588316, "News Article": 4.4520249770112005e-06, "Organizational Announcement": 1.733934065108767e-05, "Nonfiction Writing": 9.708547008331735e-06, "Organizational About Page": 1.326928274669255e-05, "Personal About Page": 7.39097449237097e-06, "Personal Blog": 6.8036206074152395e-06, "Product Page": 6.727543966160811e-06, "Spam / Ads": 7.045834846746279e-06, "Structured Data": 0.00037543971715744566, "Technical Writing": 0.9906365010706806, "Transcript / Interview": 1.396911250915492e-05, "Tutorial / How-To Guide": 6.263949890020517e-05, "User Reviews": 5.553811273324452e-06, "Other / Unknown": 0.0007612576070849451}, "secondary": {"Academic Writing": 0.0006416326891026528, "Content Listing": 0.0005165688801912372, "Creative Writing": 0.0004813096638567252, "Customer Support Page": 0.00033823760858087094, "Q&A Forum": 0.00028716148241198793, "Discussion Thread": 0.00023668788234386783, "Comment Section": 0.00046379979284576965, "Missing Content": 0.0005260652471947213, "Knowledge Article": 0.001499848610073346, "Legal Notices": 0.7559030581797178, "News Article": 0.00039176555677594157, "Organizational Announcement": 0.0005058408439589699, "Nonfiction Writing": 0.0003656383574943467, "Organizational About Page": 0.00046087320643757904, "Personal About Page": 0.0002556182809707955, "Personal Blog": 0.00022529929753034982, "Product Page": 0.0002952432218961457, "Spam / Ads": 0.00032639923109074713, "Structured Data": 0.001542763506787078, "Technical Writing": 0.04861475123836221, "Transcript / Interview": 0.0004142692002270935, "Tutorial / How-To Guide": 0.00041547396085005547, "User Reviews": 0.00018389637881835168, "NONE": 0.18510779768248134}, "tertiary": {"Academic Writing": 0.0005065282149851677, "Content Listing": 0.0004050369144923123, "Creative Writing": 0.0003924213950208555, "Customer Support Page": 0.00030302625781824285, "Q&A Forum": 0.00017823009524790126, "Discussion Thread": 0.00016133549836984848, "Comment Section": 0.00031045544747073707, "Missing Content": 0.0004682581168481729, "Knowledge Article": 0.002840203622419122, "Legal Notices": 0.24394424924408917, "News Article": 0.0003179641146393989, "Organizational Announcement": 0.00036192344790335156, "Nonfiction Writing": 0.0002961009633140417, "Organizational About Page": 0.00034936716044328074, "Personal About Page": 0.00021714371205314558, "Personal Blog": 0.00019874501322239788, "Product Page": 0.00021852697063091874, "Spam / Ads": 0.00027744777585142353, "Structured Data": 0.0018420287645926495, "Technical Writing": 0.013320053013526074, "Transcript / Interview": 0.00033034465667254327, "Tutorial / How-To Guide": 0.0006614190377052772, "User Reviews": 0.0001334605512768248, "NONE": 0.7319657300114072}, "structured_records": {"false": 0.9828953969398714, "true": 0.017104603060128672}, "procedural_steps": {"false": 0.9732708521191823, "true": 0.02672914788081773}, "worked_solution": {"false": 0.9968539040644216, "true": 0.0031460959355783464}, "contextual_dialogue": {"false": 0.9999940885545799, "true": 5.911445420017182e-06}, "content_quality": {"-2": 0.0037057746342829237, "-1": 0.010950750131180971, "0": 0.1644637789605545, "1": 0.4972812179357471, "2": 0.3235984783382345}, "noise_severity": {"0": 0.4848106715446109, "1": 0.4950383979791796, "2": 0.015895737690950394, "3": 0.00209511306751546, "4": 0.002160079717743651}, "missing_content_severity": {"0": 0.9735652136704969, "1": 0.019055973046727168, "2": 0.005479778289777879, "3": 0.0013388761862880288, "4": 0.0005601588067099643}, "factual_density": {"0": 0.00301173998034222, "1": 0.008181150292696088, "2": 0.09971406492071781, "3": 0.41253699608124456, "4": 0.47655604872499935}, "pretraining_utility": {"-2": 0.00893722522385153, "-1": 0.09785862052115768, "0": 0.4086347451304407, "1": 0.4197759225295686, "2": 0.06479348659498162}, "math_density": {"0": 0.9451760760066431, "1": 0.04350119766665018, "2": 0.004736630086329588, "3": 0.0022212241336822414, "4": 0.004364872106694851}, "code_density": {"0": 0.00043580188092774165, "1": 0.0008824832775452947, "2": 0.027093873782902525, "3": 0.3057697902049162, "4": 0.6658180508537083}, "reasoning_density": {"0": 0.7714187048363543, "1": 0.16104286119371009, "2": 0.055009619224647824, "3": 0.008797531452468857, "4": 0.0037312832928189364}, "education_level": {"none": 0.0012392181118052222, "0": 0.001651553504076117, "1": 0.010058466170246744, "2": 0.6364516953957704, "3": 0.30550335796045097, "4": 0.04509570885765065}, "creative_writing_quality": {"not_applicable": 0.9987273760205229, "-2": 8.188945608063807e-05, "-1": 0.00022257357199852976, "0": 0.0007350425471399799, "1": 0.000166413671671512, "2": 6.670473258638402e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 4.881284440226757e-05, "Art & Design": 5.180642646632903e-05, "Law & Crime": 0.0021107108353106132, "Education & Careers": 4.1624377920365676e-05, "Entertainment & Media": 0.0003970426658797296, "Fashion & Beauty": 3.256716746985889e-05, "Business, Economics & Finance": 0.00012925959577432403, "Food & Dining": 3.112669080423322e-05, "Games & Gaming": 0.00012091334518280107, "Electronics & Hardware": 0.0003729586112523336, "Health, Healthcare & Wellness": 2.8202817846375298e-05, "History & Geography": 7.90229823722653e-05, "Home, Pets & Hobbies": 3.30934361678309e-05, "Industry & Production": 3.390036314389831e-05, "Language, Literature & Philosophy": 5.3956281084478816e-05, "Politics & Government": 3.787913812185878e-05, "Religion & Spirituality": 2.8621496807646924e-05, "Science, Mathematics & Engineering": 0.0019154053859575348, "Relationships & Community": 1.8994050523344505e-05, "Software Usage & Applications": 0.0013916025871639989, "Programming & Software Engineering": 0.9922594378026982, "Sports & Fitness": 4.770834133074981e-05, "Vehicles & Transportation": 1.9503530632734654e-05, "Travel & Tourism": 4.641542549004564e-05, "Other / Uncovered Subject": 0.000547022925961008, "Unknown / Insufficient Content": 0.00012241087423517786}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0010134672056264827, "Art & Design": 0.000736991104499847, "Law & Crime": 0.0799165920860089, "Education & Careers": 0.0005993386874851632, "Entertainment & Media": 0.025615669549851623, "Fashion & Beauty": 0.00046569920776905855, "Business, Economics & Finance": 0.0015635601316122082, "Food & Dining": 0.00035904087727433643, "Games & Gaming": 0.001682197093538106, "Electronics & Hardware": 0.0012509279994067266, "Health, Healthcare & Wellness": 0.000483206589552866, "History & Geography": 0.0004336825761552362, "Home, Pets & Hobbies": 0.0004262939340987712, "Industry & Production": 0.0002998235649052769, "Language, Literature & Philosophy": 0.0004390537968118164, "Politics & Government": 0.0010545615032909344, "Religion & Spirituality": 0.00045090262066894765, "Science, Mathematics & Engineering": 0.0072868805074532954, "Relationships & Community": 0.00019465431801269322, "Software Usage & Applications": 0.0033990520240044114, "Programming & Software Engineering": 0.027155966443478063, "Sports & Fitness": 0.00041638767237361305, "Vehicles & Transportation": 0.0001937484363562658, "Travel & Tourism": 0.0005183689076032733, "Other / Uncovered Subject": 0.0032131774558467083, "NONE": 0.8408307557063154}}, "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.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": 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": 10885, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 10885, "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.906652+00:00", "scoring_key_slot": "assistant_1", "dataset_uid": "65278fc8-e4b7-48c9-a3d0-974070e9853e", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "d9b8be922a76cf52c91bd7291bbb1da3beb972c7f3ec23d11d79ffb2cb0f5129", "source_metadata": {"uuid": "65278fc8-e4b7-48c9-a3d0-974070e9853e", "repo_name": "nelemans1971/AudioFingerprinting", "relative_path": "AudioFingerprint/Lucene.Net.3.03/Store/Directory.cs", "category": "TOOL", "algo_rel_score": 0.7513511180877686, "quality_score": 4.229605197906494, "source_meta": {"github_metadata": {"branch": "master", "commit_count": 8, "repo_created_at": "2017-07-28T07:49:00.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 71, "forks": 18, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "726e6bd4da7edd1b2bdc64baaed3999b30181bee", "size_bytes": 8988, "file_timestamp": 1622885700, "language": "c#", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "0c8f6b12631beffc9b5f76aded8f249a5ca0681f"}}, "parsed_source_meta": {"github_metadata": {"branch": "master", "commit_count": 8, "repo_created_at": "2017-07-28T07:49:00.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 71, "forks": 18, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "726e6bd4da7edd1b2bdc64baaed3999b30181bee", "size_bytes": 8988, "file_timestamp": 1622885700, "language": "c#", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "0c8f6b12631beffc9b5f76aded8f249a5ca0681f", "url": "https://github.com/nelemans1971/AudioFingerprinting/blob/0c8f6b12631beffc9b5f76aded8f249a5ca0681f/AudioFingerprint/Lucene.Net.3.03/Store/Directory.cs"}, "gpt4o_tokens": 2231, "dataset_split": "csharp", "probability_weighted_scores": {"content_quality": 1.1261158752124694, "noise_severity": 0.5417555314346013, "missing_content_severity": 0.03627279341198688, "factual_density": 3.3514444632778626, "pretraining_utility": 0.4336298247506711, "math_density": 0.07709761866713548, "code_density": 3.635651804872932, "reasoning_density": 0.31237982717168805, "education_level": 2.382807584589513, "creative_writing_quality": -0.0679928625508716}, "score_applicability": {"education_level": 0.9987607818881948, "creative_writing_quality": 0.0012726239794770438}} {"source_group": "csharp", "source": "openbmb/UltraData-Stack-v3-L2/csharp", "domain": "github.com", "language": "csharp", "url": "https://github.com/fmfbcgb/Meridian_RhythmMusicGame/blob/9ccb94667563ed2714a3ce3256a2de2d71b21074/Assets/script/inGame/inGame_ScoreManager.cs", "id": "csharp-0-9b11a8184e4c83e0a99bf8c2cb76da42", "text": "using System.Collections;\nusing System.Collections.Generic;\nusing UnityEngine;\n\npublic class inGame_ScoreManager : MonoBehaviour\n{\n public inGame_uiManager uiManager;\n public int TotleScore;\n\n public int PerfectIncreaseScore = 3;\n public int GreatIncreaseScore = 1;\n public int MissIncreaseScore = 0;\n\n public int ComboCount;\n public int MaxComboCount;\n public int SongMaxComboCount;//Full Combo Number\n\n public int PerfectCount;\n public int GreatCount;\n public int MissCount;\n\n\n public int ExpCount;\n public int HoldCount;\n public int StarCount;\n public int ScCount_Level1;\n public int ScCount_Level2;\n public int ScCount_Level3;\n public int ScCount_Level4;\n public int ScCount_Level5;\n public int ScCount_Level6;\n public int ScCount_Level7;\n public int TrashCoount;\n\n\n private void Start()\n {\n initialize();\n }\n\n public void initialize()\n {\n TotleScore = 0;\n ComboCount = 0;\n MaxComboCount = 0;\n PerfectCount = 0;\n GreatCount = 0;\n MissCount = 0;\n\n ExpCount = 0;\n HoldCount = 0;\n StarCount = 0;\n ScCount_Level1 = 0;\n ScCount_Level2 = 0;\n ScCount_Level3 = 0;\n ScCount_Level4 = 0;\n ScCount_Level5 = 0;\n ScCount_Level6 = 0;\n ScCount_Level7 = 0;\n TrashCoount = 0;\n }\n private void OnPerfect()\n {\n ComboCount += 1;\n PerfectCount += 1;\n TotleScore += PerfectIncreaseScore;\n }\n private void OnGreat()\n {\n ComboCount += 1;\n GreatCount += 1;\n TotleScore += GreatIncreaseScore;\n }\n private void OnMiss()\n {\n ComboCount = 0;\n MissCount += 1;\n TotleScore += MissIncreaseScore;\n ScoreZeroChack();\n }\n\n private void ScoreZeroChack()\n {\n if(TotleScore <= 0)\n {\n TotleScore = 0;\n }\n }\n\n private void ChackMaxCombo()\n {\n if(ComboCount > MaxComboCount)\n {\n MaxComboCount = ComboCount;\n }\n }\n\n public string GetLiveFinalResult()\n {\n if (PerfectCount == SongMaxComboCount)\n {\n return \"All_Perfect\";\n }\n else if (ComboCount == SongMaxComboCount)\n {\n return \"Full_Combo\";\n }\n else\n {\n return \"Live_Success\";\n }\n }\n\n public void AddButtonTypeByName(string name)\n {\n switch (name)\n {\n case \"TapNormal\":\n ExpCount++;\n break;\n case \"TapStar\":\n StarCount++;\n break;\n case \"FlickSC_LV1\":\n ScCount_Level1++;\n break;\n case \"FlickSC_LV2\":\n ScCount_Level2++;\n break;\n case \"FlickSC_LV3\":\n ScCount_Level3++;\n break;\n case \"FlickSC_LV4\":\n ScCount_Level4++;\n break;\n case \"FlickSC_LV5\":\n ScCount_Level5++;\n break;\n case \"FlickSC_LV6\":\n ScCount_Level6++;\n break;\n case \"FlickSC_LV7\":\n ScCount_Level7++;\n break;\n case \"FlickTrash\":\n TrashCoount++;\n break;\n case \"Hold\":\n HoldCount++;\n break;\n\n\n }\n }\n\n public void AddDeterminationByName(string DeterminationName)\n {\n switch (DeterminationName)\n {\n case \"Great_Fast\":\n OnGreat();\n uiManager.ShowDeterminationResult(\"Great_Fast\"); \n break;\n case \"Perfect\":\n OnPerfect();\n uiManager.ShowDeterminationResult(\"Perfect\"); \n break;\n case \"Great_Late\":\n OnGreat();\n uiManager.ShowDeterminationResult(\"Great_Late\"); \n break;\n case \"Miss\":\n OnMiss();\n uiManager.ShowDeterminationResult(\"Miss\"); \n break;\n }\n ChackMaxCombo();\n }\n\n public int GetTotleScore()\n {\n return TotleScore;\n }\n public int GetComboCount()\n {\n return ComboCount;\n }\n public int GetMaxComboCount()\n {\n return MaxComboCount;\n }\n public int GetPerfectCount()\n {\n return PerfectCount;\n }\n public int GetGreatCount()\n {\n return GreatCount;\n }\n public int GetMissCount()\n {\n return MissCount;\n }\n}\n", "text_preview": "using System.Collections; using System.Collections.Generic; using UnityEngine; public class inGame_ScoreManager : MonoBehaviour { public inGame_uiManager uiManager; public int TotleScore; public int PerfectIncreaseScore = 3; public int Grea", "input_sha256": "34991c6285ef923a7cf2562c1e96f4cc2e1d2f19573b96579bbe75b37626a279", "text_sha256": "9b11a8184e4c83e0a99bf8c2cb76da423f0d66f513818ee035e14889613297a0", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 2011, "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.16529520955057775, "noise_severity": 0.033249533720981835, "missing_content_severity": 0.01399413870146708, "factual_density": 3.239572030334834, "pretraining_utility": 0.15389730247167951, "math_density": 0.8371969591387128, "code_density": 3.869872695290111, "reasoning_density": 0.40641782625912387, "education_level": 1.8673696583279558, "creative_writing_quality": -0.4010153527679707}, "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.011584475120732018, "secondary_choice": "NONE", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.9965912240724226, "secondary": 0.9811644233148867, "tertiary": 0.9932525712669549, "structured_records": 0.029252105387575507, "procedural_steps": 0.0005539796433607327, "worked_solution": 0.0018573436507966863, "contextual_dialogue": 5.355191309453614e-06, "content_quality": 0.46054320354729006, "noise_severity": 0.9722920552325152, "missing_content_severity": 0.9883382177487774, "factual_density": 0.5099306953748359, "pretraining_utility": 0.567113338816386, "math_density": 0.302335867384406, "code_density": 0.8915605794084258, "reasoning_density": 0.6613184781173967, "education_level": 0.7599501693705709, "creative_writing_quality": 0.9990194851980643, "primary_topic": 0.9483566909067376, "secondary_topic": 0.6952091926689307}, "probability_margin": {"primary": 0.9948510086747777, "secondary": 0.9711313756777672, "tertiary": 0.9899449626487025, "education_level": 0.6396712695761619, "creative_writing_quality": 0.9988299591832761, "primary_topic": 0.9044276273528264, "secondary_topic": 0.484869986772641}, "raw_probabilities": {"primary": {"Academic Writing": 3.221026029075848e-05, "Content Listing": 2.1776528858056235e-05, "Creative Writing": 3.9876777110999203e-05, "Customer Support Page": 7.17994207678207e-06, "Q&A Forum": 1.3173594626989092e-05, "Discussion Thread": 7.98487963816366e-06, "Comment Section": 1.3318912419065083e-05, "Missing Content": 3.629397284574293e-05, "Knowledge Article": 6.429718288883214e-05, "Legal Notices": 3.231676668659548e-05, "News Article": 4.815947490231641e-06, "Organizational Announcement": 9.87029805363402e-06, "Nonfiction Writing": 1.4085456423643134e-05, "Organizational About Page": 1.1452825717218848e-05, "Personal About Page": 1.4759383442843333e-05, "Personal Blog": 7.107278682471957e-06, "Product Page": 7.754829228539903e-06, "Spam / Ads": 1.0597977570466518e-05, "Structured Data": 0.0007935717540219072, "Technical Writing": 0.9967332564027384, "Transcript / Interview": 1.4586165511343011e-05, "Tutorial / How-To Guide": 0.00021979204496757097, "User Reviews": 7.673090749420657e-06, "Other / Unknown": 0.0018822477279606235}, "secondary": {"Academic Writing": 9.42113900257043e-05, "Content Listing": 7.446343931272316e-05, "Creative Writing": 0.0001486662732475987, "Customer Support Page": 4.019083881340703e-05, "Q&A Forum": 3.499131070763461e-05, "Discussion Thread": 2.8346476221237093e-05, "Comment Section": 5.971955324915368e-05, "Missing Content": 0.00022997901882874038, "Knowledge Article": 0.0002455838766706023, "Legal Notices": 0.00010451478134474942, "News Article": 4.999520117059509e-05, "Organizational Announcement": 4.170088842056434e-05, "Nonfiction Writing": 5.073391060386482e-05, "Organizational About Page": 6.0444112661795616e-05, "Personal About Page": 4.5981394981968674e-05, "Personal Blog": 3.8747348650892255e-05, "Product Page": 2.9916327430470208e-05, "Spam / Ads": 4.1579769004299044e-05, "Structured Data": 0.0053071647274758466, "Technical Writing": 0.010817863332332629, "Transcript / Interview": 5.021072113081556e-05, "Tutorial / How-To Guide": 0.0004311853891763163, "User Reviews": 2.4570908438544475e-05, "NONE": 0.9819492390100998}, "tertiary": {"Academic Writing": 5.2200289111380264e-05, "Content Listing": 4.958317731428747e-05, "Creative Writing": 9.115359650084094e-05, "Customer Support Page": 2.489220448364845e-05, "Q&A Forum": 2.0446762247244416e-05, "Discussion Thread": 1.535840869714624e-05, "Comment Section": 4.2716475294689025e-05, "Missing Content": 0.00023240874818036017, "Knowledge Article": 0.00018795930936132553, "Legal Notices": 0.00010716019711752521, "News Article": 3.2273297897918086e-05, "Organizational Announcement": 2.741084477974688e-05, "Nonfiction Writing": 4.3614953274538625e-05, "Organizational About Page": 4.799779905417226e-05, "Personal About Page": 3.481725495604134e-05, "Personal Blog": 2.6097991520041406e-05, "Product Page": 2.1720323643081853e-05, "Spam / Ads": 3.2936739826168316e-05, "Structured Data": 0.0014153027072138973, "Technical Writing": 0.003588751482129365, "Transcript / Interview": 3.0434253178758896e-05, "Tutorial / How-To Guide": 0.0003241780202664476, "User Reviews": 1.687103311949203e-05, "NONE": 0.9935337141308318}, "structured_records": {"false": 0.9707478946124245, "true": 0.029252105387575507}, "procedural_steps": {"false": 0.9994460203566393, "true": 0.0005539796433607327}, "worked_solution": {"false": 0.9981426563492033, "true": 0.0018573436507966863}, "contextual_dialogue": {"false": 0.9999946448086905, "true": 5.355191309453614e-06}, "content_quality": {"-2": 0.01760842208356047, "-1": 0.20580962892921617, "0": 0.42998809658235926, "1": 0.2868660221628133, "2": 0.059727830242050764}, "noise_severity": {"0": 0.970904521283046, "1": 0.026136212952477554, "2": 0.0021173673783132134, "3": 0.0004890075327740491, "4": 0.00035289085338892367}, "missing_content_severity": {"0": 0.993006486240918, "1": 0.002026871128633122, "2": 0.0033357069793718106, "3": 0.001227888990217388, "4": 0.0004030466608595426}, "factual_density": {"0": 0.005608147532605123, "1": 0.012040996398657931, "2": 0.13334913221255026, "3": 0.4351741259136713, "4": 0.41382759794251545}, "pretraining_utility": {"-2": 0.010512951323668102, "-1": 0.16175744282699236, "0": 0.5268759552684483, "1": 0.26502665321577434, "2": 0.035826997365116874}, "math_density": {"0": 0.466146985390444, "1": 0.373357767163184, "2": 0.07655329901359256, "3": 0.02503519978277385, "4": 0.058906748650005517}, "code_density": {"0": 0.0003148371834120416, "1": 0.0006326089436758627, "2": 0.018402563381630314, "3": 0.09016500238195267, "4": 0.8904849881093291}, "reasoning_density": {"0": 0.7447256985772871, "1": 0.12293055357207025, "2": 0.11773106174166054, "3": 0.010425595232195587, "4": 0.0041870908767864395}, "education_level": {"none": 0.0020110328586023848, "0": 0.004372736441352752, "1": 0.16028720489931378, "2": 0.7999584744754757, "3": 0.0300720425653856, "4": 0.0032985087598697976}, "creative_writing_quality": {"not_applicable": 0.9991829043317202, "-2": 9.224755040513545e-05, "-1": 0.00027162870399598086, "0": 0.0003529451484440625, "1": 7.209263372368671e-05, "2": 2.818163171105581e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 9.523651810478937e-05, "Art & Design": 0.0001617657166341941, "Law & Crime": 0.000124806550132682, "Education & Careers": 8.707074394859375e-05, "Entertainment & Media": 0.0012264191663272984, "Fashion & Beauty": 9.829845235690078e-05, "Business, Economics & Finance": 0.00012191942081080013, "Food & Dining": 8.072549991580818e-05, "Games & Gaming": 0.04591534467288277, "Electronics & Hardware": 8.231680419441233e-05, "Health, Healthcare & Wellness": 6.456143171286139e-05, "History & Geography": 9.097825056727167e-05, "Home, Pets & Hobbies": 8.512922142849204e-05, "Industry & Production": 7.414764335889412e-05, "Language, Literature & Philosophy": 7.506457655119703e-05, "Politics & Government": 4.1228879860972396e-05, "Religion & Spirituality": 7.06071866018526e-05, "Science, Mathematics & Engineering": 0.00019334906056070575, "Relationships & Community": 6.322590394218824e-05, "Software Usage & Applications": 0.00038557937729328764, "Programming & Software Engineering": 0.9503429720257092, "Sports & Fitness": 0.00016964376302846276, "Vehicles & Transportation": 4.132266370111493e-05, "Travel & Tourism": 8.535126885083914e-05, "Other / Uncovered Subject": 0.0001301628311736755, "Unknown / Insufficient Content": 9.27723703508417e-05}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0008450903129662607, "Art & Design": 0.0010786359567412035, "Law & Crime": 0.0005685321313893799, "Education & Careers": 0.000363245999135738, "Entertainment & Media": 0.014963136192350807, "Fashion & Beauty": 0.00032842433514191553, "Business, Economics & Finance": 0.0006116115525240241, "Food & Dining": 0.00027141107573243654, "Games & Gaming": 0.22206192925517693, "Electronics & Hardware": 0.0004420895228518741, "Health, Healthcare & Wellness": 0.00039147523803441907, "History & Geography": 0.00035787470596848045, "Home, Pets & Hobbies": 0.0003934122349089806, "Industry & Production": 0.0002544011864151435, "Language, Literature & Philosophy": 0.00028406552396287977, "Politics & Government": 0.0002320642544462904, "Religion & Spirituality": 0.00037373482167639264, "Science, Mathematics & Engineering": 0.000722340994280053, "Relationships & Community": 0.00025671491836975753, "Software Usage & Applications": 0.0013622940279146793, "Programming & Software Engineering": 0.0453262340718996, "Sports & Fitness": 0.00038142586985709837, "Vehicles & Transportation": 0.00015732317425202563, "Travel & Tourism": 0.0004901822254343704, "Other / Uncovered Subject": 0.0005504343907514304, "NONE": 0.7069319160278179}}, "probabilities": {"primary": {"Academic Writing": 3.2210260290758475e-05, "Content Listing": 2.177652885805623e-05, "Creative Writing": 3.98767771109992e-05, "Customer Support Page": 7.179942076782068e-06, "Q&A Forum": 1.3173594626989089e-05, "Discussion Thread": 7.984879638163658e-06, "Comment Section": 1.331891241906508e-05, "Missing Content": 3.629397284574292e-05, "Knowledge Article": 6.429718288883213e-05, "Legal Notices": 3.231676668659547e-05, "News Article": 4.81594749023164e-06, "Organizational Announcement": 9.870298053634018e-06, "Nonfiction Writing": 1.4085456423643131e-05, "Organizational About Page": 1.1452825717218844e-05, "Personal About Page": 1.475938344284333e-05, "Personal Blog": 7.107278682471955e-06, "Product Page": 7.754829228539901e-06, "Spam / Ads": 1.0597977570466517e-05, "Structured Data": 0.000793571754021907, "Technical Writing": 0.9967332564027381, "Transcript / Interview": 1.4586165511343008e-05, "Tutorial / How-To Guide": 0.0002197920449675709, "User Reviews": 7.673090749420656e-06, "Other / Unknown": 0.001882247727960623}, "secondary": {"Academic Writing": 9.421139002570432e-05, "Content Listing": 7.446343931272317e-05, "Creative Writing": 0.00014866627324759872, "Customer Support Page": 4.019083881340704e-05, "Q&A Forum": 3.499131070763462e-05, "Discussion Thread": 2.8346476221237096e-05, "Comment Section": 5.9719553249153686e-05, "Missing Content": 0.0002299790188287404, "Knowledge Article": 0.00024558387667060233, "Legal Notices": 0.00010451478134474944, "News Article": 4.99952011705951e-05, "Organizational Announcement": 4.170088842056435e-05, "Nonfiction Writing": 5.0733910603864824e-05, "Organizational About Page": 6.044411266179562e-05, "Personal About Page": 4.598139498196868e-05, "Personal Blog": 3.874734865089226e-05, "Product Page": 2.991632743047021e-05, "Spam / Ads": 4.157976900429905e-05, "Structured Data": 0.005307164727475847, "Technical Writing": 0.01081786333233263, "Transcript / Interview": 5.0210721130815566e-05, "Tutorial / How-To Guide": 0.00043118538917631634, "User Reviews": 2.457090843854448e-05, "NONE": 0.9819492390100999}, "tertiary": {"Academic Writing": 5.220028911138027e-05, "Content Listing": 4.9583177314287476e-05, "Creative Writing": 9.115359650084095e-05, "Customer Support Page": 2.4892204483648453e-05, "Q&A Forum": 2.044676224724442e-05, "Discussion Thread": 1.5358408697146243e-05, "Comment Section": 4.271647529468903e-05, "Missing Content": 0.0002324087481803602, "Knowledge Article": 0.00018795930936132556, "Legal Notices": 0.00010716019711752522, "News Article": 3.227329789791809e-05, "Organizational Announcement": 2.7410844779746885e-05, "Nonfiction Writing": 4.361495327453863e-05, "Organizational About Page": 4.7997799054172264e-05, "Personal About Page": 3.481725495604135e-05, "Personal Blog": 2.609799152004141e-05, "Product Page": 2.1720323643081856e-05, "Spam / Ads": 3.293673982616832e-05, "Structured Data": 0.0014153027072138975, "Technical Writing": 0.0035887514821293653, "Transcript / Interview": 3.04342531787589e-05, "Tutorial / How-To Guide": 0.00032417802026644764, "User Reviews": 1.6871033119492034e-05, "NONE": 0.9935337141308319}, "structured_records": {"false": 0.9707478946124245, "true": 0.029252105387575507}, "procedural_steps": {"false": 0.9994460203566393, "true": 0.0005539796433607327}, "worked_solution": {"false": 0.9981426563492033, "true": 0.0018573436507966863}, "contextual_dialogue": {"false": 0.9999946448086905, "true": 5.355191309453614e-06}, "content_quality": {"-2": 0.01760842208356047, "-1": 0.20580962892921617, "0": 0.42998809658235926, "1": 0.2868660221628133, "2": 0.059727830242050764}, "noise_severity": {"0": 0.9709045212830463, "1": 0.02613621295247756, "2": 0.002117367378313214, "3": 0.0004890075327740492, "4": 0.0003528908533889237}, "missing_content_severity": {"0": 0.9930064862409181, "1": 0.0020268711286331224, "2": 0.003335706979371811, "3": 0.0012278889902173882, "4": 0.00040304666085954266}, "factual_density": {"0": 0.005608147532605123, "1": 0.012040996398657931, "2": 0.13334913221255026, "3": 0.4351741259136713, "4": 0.41382759794251545}, "pretraining_utility": {"-2": 0.010512951323668102, "-1": 0.16175744282699236, "0": 0.5268759552684483, "1": 0.26502665321577434, "2": 0.035826997365116874}, "math_density": {"0": 0.4661469853904441, "1": 0.37335776716318403, "2": 0.07655329901359258, "3": 0.025035199782773854, "4": 0.05890674865000552}, "code_density": {"0": 0.0003148371834120416, "1": 0.0006326089436758627, "2": 0.018402563381630314, "3": 0.09016500238195267, "4": 0.8904849881093291}, "reasoning_density": {"0": 0.7447256985772872, "1": 0.12293055357207026, "2": 0.11773106174166055, "3": 0.010425595232195588, "4": 0.00418709087678644}, "education_level": {"none": 0.0020110328586023848, "0": 0.004372736441352752, "1": 0.16028720489931378, "2": 0.7999584744754757, "3": 0.0300720425653856, "4": 0.0032985087598697976}, "creative_writing_quality": {"not_applicable": 0.99918290433172, "-2": 9.224755040513542e-05, "-1": 0.0002716287039959808, "0": 0.00035294514844406245, "1": 7.20926337236867e-05, "2": 2.8181631711055803e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 9.523651810478937e-05, "Art & Design": 0.0001617657166341941, "Law & Crime": 0.000124806550132682, "Education & Careers": 8.707074394859375e-05, "Entertainment & Media": 0.0012264191663272984, "Fashion & Beauty": 9.829845235690078e-05, "Business, Economics & Finance": 0.00012191942081080013, "Food & Dining": 8.072549991580818e-05, "Games & Gaming": 0.04591534467288277, "Electronics & Hardware": 8.231680419441233e-05, "Health, Healthcare & Wellness": 6.456143171286139e-05, "History & Geography": 9.097825056727167e-05, "Home, Pets & Hobbies": 8.512922142849204e-05, "Industry & Production": 7.414764335889412e-05, "Language, Literature & Philosophy": 7.506457655119703e-05, "Politics & Government": 4.1228879860972396e-05, "Religion & Spirituality": 7.06071866018526e-05, "Science, Mathematics & Engineering": 0.00019334906056070575, "Relationships & Community": 6.322590394218824e-05, "Software Usage & Applications": 0.00038557937729328764, "Programming & Software Engineering": 0.9503429720257092, "Sports & Fitness": 0.00016964376302846276, "Vehicles & Transportation": 4.132266370111493e-05, "Travel & Tourism": 8.535126885083914e-05, "Other / Uncovered Subject": 0.0001301628311736755, "Unknown / Insufficient Content": 9.27723703508417e-05}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0008450903129662607, "Art & Design": 0.0010786359567412035, "Law & Crime": 0.0005685321313893799, "Education & Careers": 0.000363245999135738, "Entertainment & Media": 0.014963136192350807, "Fashion & Beauty": 0.00032842433514191553, "Business, Economics & Finance": 0.0006116115525240241, "Food & Dining": 0.00027141107573243654, "Games & Gaming": 0.22206192925517693, "Electronics & Hardware": 0.0004420895228518741, "Health, Healthcare & Wellness": 0.00039147523803441907, "History & Geography": 0.00035787470596848045, "Home, Pets & Hobbies": 0.0003934122349089806, "Industry & Production": 0.0002544011864151435, "Language, Literature & Philosophy": 0.00028406552396287977, "Politics & Government": 0.0002320642544462904, "Religion & Spirituality": 0.00037373482167639264, "Science, Mathematics & Engineering": 0.000722340994280053, "Relationships & Community": 0.00025671491836975753, "Software Usage & Applications": 0.0013622940279146793, "Programming & Software Engineering": 0.0453262340718996, "Sports & Fitness": 0.00038142586985709837, "Vehicles & Transportation": 0.00015732317425202563, "Travel & Tourism": 0.0004901822254343704, "Other / Uncovered Subject": 0.0005504343907514304, "NONE": 0.7069319160278179}}, "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": 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.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": 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": 9721, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 9721, "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.814139+00:00", "scoring_key_slot": "primary", "dataset_uid": "6904fcb0-a114-4922-909a-9e3e2735728c", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "7aef006faf25393b99713f1dd76ce67ec03c9fb5c8b658cac8d0127f502697a1", "source_metadata": {"uuid": "6904fcb0-a114-4922-909a-9e3e2735728c", "repo_name": "fmfbcgb/Meridian_RhythmMusicGame", "relative_path": "Assets/script/inGame/inGame_ScoreManager.cs", "category": "TOOL", "algo_rel_score": 0.6798474192619324, "quality_score": 4.0161848068237305, "source_meta": {"github_metadata": {"branch": "main", "commit_count": 2, "repo_created_at": "2025-05-27T12:57: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": "a819973bf2c6580fdc48155896f340c8bc6d9499", "size_bytes": 4600, "file_timestamp": 1748350644, "language": "c#", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "9ccb94667563ed2714a3ce3256a2de2d71b21074"}}, "parsed_source_meta": {"github_metadata": {"branch": "main", "commit_count": 2, "repo_created_at": "2025-05-27T12:57: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": "a819973bf2c6580fdc48155896f340c8bc6d9499", "size_bytes": 4600, "file_timestamp": 1748350644, "language": "c#", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "9ccb94667563ed2714a3ce3256a2de2d71b21074", "url": "https://github.com/fmfbcgb/Meridian_RhythmMusicGame/blob/9ccb94667563ed2714a3ce3256a2de2d71b21074/Assets/script/inGame/inGame_ScoreManager.cs"}, "gpt4o_tokens": 1040, "dataset_split": "csharp", "probability_weighted_scores": {"content_quality": 0.16529520955057775, "noise_severity": 0.033249533720981835, "missing_content_severity": 0.01399413870146708, "factual_density": 3.239572030334834, "pretraining_utility": 0.15389730247167951, "math_density": 0.8371969591387128, "code_density": 3.869872695290111, "reasoning_density": 0.40641782625912387, "education_level": 1.8673696583279558, "creative_writing_quality": -0.4010153527679707}, "score_applicability": {"education_level": 0.9979889671413976, "creative_writing_quality": 0.0008170956682799212}} {"source_group": "csharp", "source": "openbmb/UltraData-Stack-v3-L2/csharp", "domain": "github.com", "language": "csharp", "url": "https://github.com/teamDiscoBots/InitechBot/blob/cf8c6b343da809540e1d679798b45c7ec40ea03d/BasicBot.cs", "id": "csharp-0-9bcfc6bf26047de5abbc703894a2012d", "text": "// Copyright (c) Microsoft Corporation. All rights reserved.\n// Licensed under the MIT License.\n\n// See https://github.com/microsoft/botbuilder-samples for a more comprehensive list of samples.\n\nusing System;\nusing System.Collections.Generic;\nusing System.IO;\nusing System.Linq;\nusing System.Threading;\nusing System.Threading.Tasks;\nusing Microsoft.Bot.Builder;\nusing Microsoft.Bot.Builder.Dialogs;\nusing Microsoft.Bot.Schema;\nusing Microsoft.Extensions.Logging;\nusing Newtonsoft.Json;\nusing Snow;\n\nnamespace Microsoft.BotBuilderSamples\n{\n /// \n /// Main entry point and orchestration for bot.\n /// \n public class BasicBot : IBot\n {\n // Supported LUIS Intents\n public const string GreetingIntent = \"Greeting\";\n public const string CancelIntent = \"Cancel\";\n public const string HelpIntent = \"Help\";\n public const string NoneIntent = \"None\";\n public const string ThatsALotIntent = \"ThatsAlot\";\n public const string WhatIMissedIntent = \"WhatIMissed\";\n public const string WhatNextIntent = \"WhatNext\";\n public const string MeetingsIntent = \"Meetings\";\n public const string MeetingsWithBossIntent = \"MeetingsWithBoss\";\n public const string ServiceNowIntent = \"ServiceNow\";\n public const string ServiceNowPendingApprovalsIntent = \"ServiceNowPendingApprovals\";\n public const string ShowDetailsIntent = \"ShowDetails\";\n public const string EmailsIntent = \"Emails\";\n public const string EmailsFromBossIntent = \"EmailsFromBoss\";\n \n\n /// \n /// Key in the bot config (.bot file) for the LUIS instance.\n /// In the .bot file, multiple instances of LUIS can be configured.\n /// \n public static readonly string LuisConfiguration = \"BasicBotLuisApplication\";\n\n private readonly BotServices _services;\n\n /// \n /// Initializes a new instance of the class.\n /// \n /// Bot services.\n public BasicBot(BotServices services, ILoggerFactory loggerFactory)\n {\n _services = services ?? throw new ArgumentNullException(nameof(services));\n\n // Verify LUIS configuration.\n if (!_services.LuisServices.ContainsKey(LuisConfiguration))\n {\n throw new InvalidOperationException($\"The bot configuration does not contain a service type of `luis` with the id `{LuisConfiguration}`.\");\n }\n\n }\n\n\n /// \n /// Run every turn of the conversation. Handles orchestration of messages.\n /// \n /// Bot Turn Context.\n /// Task CancellationToken.\n /// A representing the asynchronous operation.\n public async Task OnTurnAsync(ITurnContext turnContext, CancellationToken cancellationToken)\n {\n var activity = turnContext.Activity;\n\n if (activity.Type == ActivityTypes.Message)\n {\n if(activity.Text == \"\")\n {\n await turnContext.SendActivityAsync(\"Got blank txt\");\n // Replay to the activity we received with an activity.\n var reply = activity.CreateReply();\n\n // Cards are sent as Attackments in the Bot Framework.\n // So we need to create a list of attachments on the activity.\n reply.Attachments = new List();\n //reply.Attachments.Add(CreateAdaptiveCardAttachment());\n //reply.Attachments.Add(GetHeroCard().ToAttachment());\n\n\n //var welcomeCard = CreateInitialGreetingCardAttachment();\n //var serviceNowCard = CreateServiceNowCardAttachment();\n //reply.Attachments.Add(welcomeCard);\n //reply.Attachments.Add(serviceNowCard);\n\n await turnContext.SendActivityAsync(reply, cancellationToken);\n }\n else\n {\n // Perform a call to LUIS to retrieve results for the current activity message.\n var luisResults = await _services.LuisServices[LuisConfiguration].RecognizeAsync(turnContext, cancellationToken).ConfigureAwait(false);\n\n // If any entities were updated, treat as interruption.\n // For example, \"no my name is tony\" will manifest as an update of the name to be \"tony\".\n var topScoringIntent = luisResults?.GetTopScoringIntent();\n\n var topIntent = topScoringIntent.Value.intent;\n var reply = activity.CreateReply();\n switch (topIntent)\n {\n case GreetingIntent:\n await turnContext.SendActivityAsync(\"Hello!\");\n // Replay to the activity we received with an activity.\n reply = activity.CreateReply();\n reply.Attachments = new List();\n //reply.Attachments.Add(CreateAdaptiveCardAttachment());\n //reply.Attachments.Add(GetHeroCard().ToAttachment());\n\n var welcomeCard = CreateInitialGreetingCardAttachment();\n reply.Attachments.Add(welcomeCard);\n await turnContext.SendActivityAsync(reply, cancellationToken);\n break;\n case HelpIntent:\n await turnContext.SendActivityAsync(\"Let me try to provide some help.\");\n await turnContext.SendActivityAsync(\"I understand greetings, being asked for help, or being asked to cancel what I am doing.\");\n break;\n case WhatIMissedIntent:\n reply = activity.CreateReply();\n reply.Attachments = new List();\n //var serviceNowCard = CreateServiceNowSummaryCardAttachment();\n //reply.Attachments.Add(serviceNowCard);\n var emailSummaryCard = CreateEMailSummaryCardAttachment();\n reply.Attachments.Add(emailSummaryCard);\n //var meetingSummaryCard = CreateMeetingSummaryCardAttachment();\n //reply.Attachments.Add(meetingSummaryCard);\n await turnContext.SendActivityAsync(reply, cancellationToken);\n break;\n case ServiceNowIntent:\n reply = activity.CreateReply();\n reply.Attachments = new List();\n var serviceNowCard = CreateServiceNowSummaryCardAttachment();\n reply.Attachments.Add(serviceNowCard);\n await turnContext.SendActivityAsync(reply, cancellationToken);\n break;\n case ServiceNowPendingApprovalsIntent:\n reply = activity.CreateReply();\n reply.Attachments = new List();\n var serviceNowPendingApprovalsCard = CreateServiceNowPendingApprovalsCardAttachment();\n reply.Attachments.Add(serviceNowPendingApprovalsCard);\n await turnContext.SendActivityAsync(reply, cancellationToken);\n break;\n case EmailsIntent:\n reply = activity.CreateReply();\n reply.Attachments = new List();\n var emailsSummaryCard = CreateEMailSummaryCardAttachment();\n reply.Attachments.Add(emailsSummaryCard);\n await turnContext.SendActivityAsync(reply, cancellationToken);\n break;\n case EmailsFromBossIntent:\n reply = activity.CreateReply();\n reply.Attachments = new List();\n var emailsFromBossCard = CreateEMailFromBossCardAttachment();\n reply.Attachments.Add(emailsFromBossCard);\n await turnContext.SendActivityAsync(reply, cancellationToken);\n break;\n case MeetingsIntent:\n reply = activity.CreateReply();\n reply.Attachments = new List();\n var meetingsCard = CreateMeetingSummaryCardAttachment();\n reply.Attachments.Add(meetingsCard);\n await turnContext.SendActivityAsync(reply, cancellationToken);\n break;\n case MeetingsWithBossIntent:\n reply = activity.CreateReply();\n reply.Attachments = new List();\n var meetingsWithBossCard = CreateMeetingsWithBossCardAttachment();\n reply.Attachments.Add(meetingsWithBossCard);\n await turnContext.SendActivityAsync(reply, cancellationToken);\n break;\n case ThatsALotIntent:\n reply = activity.CreateReply();\n reply.Attachments = new List();\n var thatsALotCard = CreateEncouragementCardAttachment();\n reply.Attachments.Add(thatsALotCard);\n await turnContext.SendActivityAsync(reply, cancellationToken);\n break;\n case ShowDetailsIntent:\n await turnContext.SendActivityAsync(\"Hello!\");\n // Replay to the activity we received with an activity.\n reply = activity.CreateReply();\n reply.Attachments = new List();\n reply.Attachments.Add(GetShowDetailsCard().ToAttachment());\n await turnContext.SendActivityAsync(reply, cancellationToken);\n break;\n case CancelIntent:\n await turnContext.SendActivityAsync(\"I have nothing to cancel.\");\n break;\n case NoneIntent:\n default:\n // Help or no intent identified, either way, let's provide some help.\n // to the user\n await turnContext.SendActivityAsync(\"I didn't understand what you just said to me.\");\n break;\n }\n\n }\n\n }\n else if (activity.Type == ActivityTypes.ConversationUpdate)\n {\n if (activity.MembersAdded.Any())\n {\n // Iterate over all new members added to the conversation.\n foreach (var member in activity.MembersAdded)\n {\n // Greet anyone that was not the target (recipient) of this message.\n // To learn more about Adaptive Cards, see https://aka.ms/msbot-adaptivecards for more details.\n if (member.Id != activity.Recipient.Id)\n {\n //var welcomeCard = CreateAdaptiveCardAttachment();\n //var response = CreateResponse(activity, welcomeCard);\n //await turnContext.SendActivityAsync(response).ConfigureAwait(false);\n }\n }\n }\n }\n\n }\n\n\n /// \n /// Creates a .\n /// \n /// A the user can view and/or interact with.\n /// Related types , ,\n /// and .\n private static HeroCard GetHeroCard()\n {\n var heroCard = new HeroCard\n {\n Title = \"BotFramework Hero Card\",\n Subtitle = \"Microsoft Bot Framework\",\n Text = \"Build and connect intelligent bots to interact with your users naturally wherever they are,\" +\n \" from text/sms to Skype, Slack, Office 365 mail and other popular services.\",\n Images = new List { new CardImage(\"https://sec.ch9.ms/ch9/7ff5/e07cfef0-aa3b-40bb-9baa-7c9ef8ff7ff5/buildreactionbotframework_960.jpg\") },\n Buttons = new List { new CardAction(ActionTypes.OpenUrl, \"Get Started\", value: \"https://docs.microsoft.com/bot-framework\") },\n };\n\n return heroCard;\n }\n\n private static HeroCard GetShowDetailsCard()\n {\n String str = SnowQueryTool.getLumbergIncidents();\n var heroCard = new HeroCard\n {\n Title = \"Service Now Details Card\",\n // Subtitle = \"Service Now Details\",\n //Text = \"these are the details!!!\",\n Text = str\n //Images = new List { new CardImage(\"https://sec.ch9.ms/ch9/7ff5/e07cfef0-aa3b-40bb-9baa-7c9ef8ff7ff5/buildreactionbotframework_960.jpg\") },\n //Buttons = new List { new CardAction(ActionTypes.OpenUrl, \"Get Started\", value: \"https://docs.microsoft.com/bot-framework\") },\n };\n\n return heroCard;\n }\n\n // Create an attachment message response.\n private Activity CreateResponse(Activity activity, Attachment attachment)\n {\n var response = activity.CreateReply();\n response.Attachments = new List() { attachment };\n return response;\n }\n\n // Load attachment from file.\n private Attachment CreateAdaptiveCardAttachment()\n {\n var adaptiveCard = File.ReadAllText(@\".\\Resources\\welcomeCard.json\");\n return new Attachment()\n {\n ContentType = \"application/vnd.microsoft.card.adaptive\",\n Content = JsonConvert.DeserializeObject(adaptiveCard),\n };\n }\n\n // Load attachment from file.\n private Attachment CreateInitialGreetingCardAttachment()\n {\n var adaptiveCard = File.ReadAllText(@\".\\Resources\\initialGreeting.json\");\n return new Attachment()\n {\n ContentType = \"application/vnd.microsoft.card.adaptive\",\n Content = JsonConvert.DeserializeObject(adaptiveCard),\n };\n }\n\n // Load attachment from file.\n private Attachment CreateMeetingSummaryCardAttachment()\n {\n var adaptiveCard = File.ReadAllText(@\".\\Resources\\meetingSummaryCard.json\");\n return new Attachment()\n {\n ContentType = \"application/vnd.microsoft.card.adaptive\",\n Content = JsonConvert.DeserializeObject(adaptiveCard),\n };\n }\n\n // Load attachment from file.\n private Attachment CreateMeetingsWithBossCardAttachment()\n {\n var adaptiveCard = File.ReadAllText(@\".\\Resources\\meetingWithBossCard.json\");\n return new Attachment()\n {\n ContentType = \"application/vnd.microsoft.card.adaptive\",\n Content = JsonConvert.DeserializeObject(adaptiveCard),\n };\n }\n \n // Load attachment from file.\n private Attachment CreateEMailSummaryCardAttachment()\n {\n var adaptiveCard = File.ReadAllText(@\".\\Resources\\emailSummaryCard.json\");\n return new Attachment()\n {\n ContentType = \"application/vnd.microsoft.card.adaptive\",\n Content = JsonConvert.DeserializeObject(adaptiveCard),\n };\n }\n\n // Load attachment from file.\n private Attachment CreateServiceNowSummaryCardAttachment()\n {\n var adaptiveCard = File.ReadAllText(@\".\\Resources\\serviceNowSummaryCard.json\");\n return new Attachment()\n {\n ContentType = \"application/vnd.microsoft.card.adaptive\",\n Content = JsonConvert.DeserializeObject(adaptiveCard),\n };\n }\n\n // Load attachment from file.\n private Attachment CreateServiceNowPendingApprovalsCardAttachment()\n {\n var adaptiveCard = File.ReadAllText(@\".\\Resources\\snowPendingApprovalsCard.json\");\n return new Attachment()\n {\n ContentType = \"application/vnd.microsoft.card.adaptive\",\n Content = JsonConvert.DeserializeObject(adaptiveCard),\n };\n }\n\n\n // Load attachment from file.\n private Attachment CreateEMailFromBossCardAttachment()\n {\n var adaptiveCard = File.ReadAllText(@\".\\Resources\\emailsFromBossCard.json\");\n return new Attachment()\n {\n ContentType = \"application/vnd.microsoft.card.adaptive\",\n Content = JsonConvert.DeserializeObject(adaptiveCard),\n };\n }\n\n // Load attachment from file.\n private Attachment CreateEncouragementCardAttachment()\n {\n var adaptiveCard = File.ReadAllText(@\".\\Resources\\encouragementCard.json\");\n return new Attachment()\n {\n ContentType = \"application/vnd.microsoft.card.adaptive\",\n Content = JsonConvert.DeserializeObject(adaptiveCard),\n };\n }\n \n }\n}\n", "text_preview": "// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // See https://github.com/microsoft/botbuilder-samples for a more comprehensive list of samples. using System; using System.Collections.Generic;", "input_sha256": "57d7564f8b89dcd7af27946ea08d94ca3f56149bdd41fa033179b2000bdc925f", "text_sha256": "9bcfc6bf26047de5abbc703894a2012d8157aaade3b4306a730a1fffa8fe46ed", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 2012, "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": 1, "math_density": 0, "code_density": 4, "reasoning_density": 0, "education_level": 2, "creative_writing_quality": null}, "score_expectations": {"content_quality": 0.7318884842453115, "noise_severity": 0.503347375531508, "missing_content_severity": 0.0851289781876463, "factual_density": 2.935723124496966, "pretraining_utility": 0.3775859871348959, "math_density": 0.004146315130794363, "code_density": 3.759891413148928, "reasoning_density": 0.4211757682889057, "education_level": 2.3342609277150275, "creative_writing_quality": -0.2751880295300962}, "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.5352 below 0.70"], "format_slot_diagnostics": {"comparable": true, "secondary_tertiary_identical": false, "secondary_tertiary_max_abs_gap": 0.18823695255901124, "secondary_choice": "Legal Notices", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.9954235792719819, "secondary": 0.5150042072715304, "tertiary": 0.5990119129704685, "structured_records": 0.06624400362856342, "procedural_steps": 0.013794741645174666, "worked_solution": 0.003952488953996109, "contextual_dialogue": 4.222191909554833e-05, "content_quality": 0.49105787947468416, "noise_severity": 0.5805438537237434, "missing_content_severity": 0.929059184843628, "factual_density": 0.4755176916828757, "pretraining_utility": 0.39227859263580556, "math_density": 0.9965447373910047, "code_density": 0.7999095109574401, "reasoning_density": 0.6490201930925786, "education_level": 0.6095845911462991, "creative_writing_quality": 0.9976710841875853, "primary_topic": 0.9874851981630759, "secondary_topic": 0.9325773852405513}, "probability_margin": {"primary": 0.9938528966420197, "secondary": 0.10772956793086236, "tertiary": 0.26127736253099676, "education_level": 0.39543796923686625, "creative_writing_quality": 0.9969494263167356, "primary_topic": 0.9839740907834489, "secondary_topic": 0.9184858105453134}, "raw_probabilities": {"primary": {"Academic Writing": 5.2298627391900286e-05, "Content Listing": 4.00469843667136e-05, "Creative Writing": 4.4660303903502016e-05, "Customer Support Page": 3.0106086780715985e-05, "Q&A Forum": 2.3472294250192193e-05, "Discussion Thread": 1.4288400550718605e-05, "Comment Section": 3.228488849836708e-05, "Missing Content": 5.2617328679340886e-05, "Knowledge Article": 0.00013017692516754413, "Legal Notices": 0.00044071603291238323, "News Article": 8.9096770192467e-06, "Organizational Announcement": 2.796838109941689e-05, "Nonfiction Writing": 1.4751659961954257e-05, "Organizational About Page": 2.2729417226340576e-05, "Personal About Page": 1.707305409718016e-05, "Personal Blog": 1.3240382163890345e-05, "Product Page": 1.4290212987583218e-05, "Spam / Ads": 2.5671177602898847e-05, "Structured Data": 0.00045581125372389566, "Technical Writing": 0.9956142634689826, "Transcript / Interview": 3.624852531247908e-05, "Tutorial / How-To Guide": 0.001761366826962901, "User Reviews": 1.2160786333294802e-05, "Other / Unknown": 0.0011148473040249235}, "secondary": {"Academic Writing": 0.0008104994024766029, "Content Listing": 0.0010217784871004386, "Creative Writing": 0.0010236638243904452, "Customer Support Page": 0.0006136207225029128, "Q&A Forum": 0.00044405868863627934, "Discussion Thread": 0.0003882369052358577, "Comment Section": 0.000901636378773854, "Missing Content": 0.0010058859567631567, "Knowledge Article": 0.0016920505935588937, "Legal Notices": 0.5352123653018833, "News Article": 0.0006458993532460949, "Organizational Announcement": 0.0008736830328650803, "Nonfiction Writing": 0.0006111112877631281, "Organizational About Page": 0.0008266640110259556, "Personal About Page": 0.00047637396825376123, "Personal Blog": 0.0003717239652710633, "Product Page": 0.0005542211003001808, "Spam / Ads": 0.0013518156468878668, "Structured Data": 0.001789277121156899, "Technical Writing": 0.017596044653458695, "Transcript / Interview": 0.001441889187561534, "Tutorial / How-To Guide": 0.002528519692309507, "User Reviews": 0.00033618334755733067, "NONE": 0.42748279737102096}, "tertiary": {"Academic Writing": 0.0007919810886081374, "Content Listing": 0.0008755110603354966, "Creative Writing": 0.000951286802800032, "Customer Support Page": 0.0005858659889782877, "Q&A Forum": 0.00033615278463497574, "Discussion Thread": 0.0003032864278689829, "Comment Section": 0.0008729427638402589, "Missing Content": 0.0008237974936846349, "Knowledge Article": 0.0017177701405770127, "Legal Notices": 0.35444238739903555, "News Article": 0.000529547599299518, "Organizational Announcement": 0.0007721978699659503, "Nonfiction Writing": 0.00046906302469554745, "Organizational About Page": 0.000681880562939469, "Personal About Page": 0.0003879739927928084, "Personal Blog": 0.00032424602968526156, "Product Page": 0.0005218553039364921, "Spam / Ads": 0.003616758568458593, "Structured Data": 0.0017484832062615444, "Technical Writing": 0.009026814663714721, "Transcript / Interview": 0.0014265696562702184, "Tutorial / How-To Guide": 0.0028507445132975144, "User Reviews": 0.00022313312828676165, "NONE": 0.6157197499300323}, "structured_records": {"false": 0.9337559963714366, "true": 0.06624400362856342}, "procedural_steps": {"false": 0.9862052583548253, "true": 0.013794741645174666}, "worked_solution": {"false": 0.9960475110460039, "true": 0.003952488953996109}, "contextual_dialogue": {"false": 0.9999577780809045, "true": 4.222191909554833e-05}, "content_quality": {"-2": 0.009396081847354106, "-1": 0.054970154342660435, "0": 0.3012924759651506, "1": 0.4630317734069895, "2": 0.1713095144378453}, "noise_severity": {"0": 0.5801602289516107, "1": 0.34751086470968784, "2": 0.06398829482907521, "3": 0.005502524874835682, "4": 0.002838086634790658}, "missing_content_severity": {"0": 0.9491232734759967, "1": 0.025455725905349943, "2": 0.017799150133736594, "3": 0.006412449924844538, "4": 0.0012094005600723917}, "factual_density": {"0": 0.008863070991718501, "1": 0.046051069336502035, "2": 0.22813647109363216, "3": 0.43439844133939, "4": 0.2825509472387574}, "pretraining_utility": {"-2": 0.010494538588925293, "-1": 0.12026208972682195, "0": 0.4038320556306489, "1": 0.41198547806763935, "2": 0.05342583798596454}, "math_density": {"0": 0.9972082629722789, "1": 0.0020626574338535883, "2": 0.00034882911935353274, "3": 0.00013500243982270696, "4": 0.0002452480346913974}, "code_density": {"0": 0.000380237244376953, "1": 0.0007768088005500938, "2": 0.024026292067957953, "3": 0.1882046273359978, "4": 0.7866120345511172}, "reasoning_density": {"0": 0.7339863148087982, "1": 0.14543223621693702, "2": 0.09424934555649735, "3": 0.018083572712096273, "4": 0.008248530705671287}, "education_level": {"none": 0.0014427539588490691, "0": 0.001627785886055771, "1": 0.009433722823639861, "2": 0.6746538259552493, "3": 0.279215856718383, "4": 0.033626054657823236}, "creative_writing_quality": {"not_applicable": 0.9980592368229878, "-2": 0.00016421257058237297, "-1": 0.0004648464863418533, "0": 0.0011098105062522087, "1": 0.0001445903946313429, "2": 5.730321920435861e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 6.0707076943275854e-05, "Art & Design": 0.0001538948289125336, "Law & Crime": 0.00011944941258013104, "Education & Careers": 0.00010810905972844843, "Entertainment & Media": 0.0013763065794274113, "Fashion & Beauty": 5.1091094929969636e-05, "Business, Economics & Finance": 0.0018844380693710703, "Food & Dining": 7.991660110388781e-05, "Games & Gaming": 0.0005331148308110931, "Electronics & Hardware": 0.00012799203861042102, "Health, Healthcare & Wellness": 5.559540276375508e-05, "History & Geography": 7.050776000686795e-05, "Home, Pets & Hobbies": 6.049459949436725e-05, "Industry & Production": 7.824063538738382e-05, "Language, Literature & Philosophy": 0.0001105035734629944, "Politics & Government": 4.5231557132781296e-05, "Religion & Spirituality": 6.13082025019631e-05, "Science, Mathematics & Engineering": 0.0016373093611652665, "Relationships & Community": 0.0003590926595816897, "Software Usage & Applications": 0.003992445911816382, "Programming & Software Engineering": 0.9879665366952652, "Sports & Fitness": 8.906715406576211e-05, "Vehicles & Transportation": 3.2030677973290596e-05, "Travel & Tourism": 6.736670944398542e-05, "Other / Uncovered Subject": 0.000744720684561157, "Unknown / Insufficient Content": 0.00013452882295880402}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0005851413421647315, "Art & Design": 0.001195914759929361, "Law & Crime": 0.002673126827224078, "Education & Careers": 0.00043982764879878233, "Entertainment & Media": 0.008588770960100339, "Fashion & Beauty": 0.00030795901855037566, "Business, Economics & Finance": 0.004401213775314054, "Food & Dining": 0.00039119174143447994, "Games & Gaming": 0.0014394592499053108, "Electronics & Hardware": 0.00039742980619816143, "Health, Healthcare & Wellness": 0.00031524401729337626, "History & Geography": 0.0002725089173607367, "Home, Pets & Hobbies": 0.0002418909110668213, "Industry & Production": 0.00025244064890243725, "Language, Literature & Philosophy": 0.00038268814032302437, "Politics & Government": 0.0002840635930431436, "Religion & Spirituality": 0.0002799149476358317, "Science, Mathematics & Engineering": 0.009083184854870854, "Relationships & Community": 0.000595264720401795, "Software Usage & Applications": 0.016684752185985946, "Programming & Software Engineering": 0.014556669310377093, "Sports & Fitness": 0.00022292154588788899, "Vehicles & Transportation": 0.00010758283603873394, "Travel & Tourism": 0.00023803470393706525, "Other / Uncovered Subject": 0.0008922408059562799, "NONE": 0.9351705627312994}}, "probabilities": {"primary": {"Academic Writing": 5.2298627391900286e-05, "Content Listing": 4.00469843667136e-05, "Creative Writing": 4.4660303903502016e-05, "Customer Support Page": 3.0106086780715985e-05, "Q&A Forum": 2.3472294250192193e-05, "Discussion Thread": 1.4288400550718605e-05, "Comment Section": 3.228488849836708e-05, "Missing Content": 5.2617328679340886e-05, "Knowledge Article": 0.00013017692516754413, "Legal Notices": 0.00044071603291238323, "News Article": 8.9096770192467e-06, "Organizational Announcement": 2.796838109941689e-05, "Nonfiction Writing": 1.4751659961954257e-05, "Organizational About Page": 2.2729417226340576e-05, "Personal About Page": 1.707305409718016e-05, "Personal Blog": 1.3240382163890345e-05, "Product Page": 1.4290212987583218e-05, "Spam / Ads": 2.5671177602898847e-05, "Structured Data": 0.00045581125372389566, "Technical Writing": 0.9956142634689826, "Transcript / Interview": 3.624852531247908e-05, "Tutorial / How-To Guide": 0.001761366826962901, "User Reviews": 1.2160786333294802e-05, "Other / Unknown": 0.0011148473040249235}, "secondary": {"Academic Writing": 0.0008104994024766032, "Content Listing": 0.0010217784871004389, "Creative Writing": 0.0010236638243904454, "Customer Support Page": 0.0006136207225029129, "Q&A Forum": 0.00044405868863627945, "Discussion Thread": 0.0003882369052358578, "Comment Section": 0.0009016363787738542, "Missing Content": 0.001005885956763157, "Knowledge Article": 0.0016920505935588942, "Legal Notices": 0.5352123653018834, "News Article": 0.000645899353246095, "Organizational Announcement": 0.0008736830328650805, "Nonfiction Writing": 0.0006111112877631282, "Organizational About Page": 0.0008266640110259558, "Personal About Page": 0.00047637396825376134, "Personal Blog": 0.0003717239652710634, "Product Page": 0.000554221100300181, "Spam / Ads": 0.001351815646887867, "Structured Data": 0.0017892771211568995, "Technical Writing": 0.0175960446534587, "Transcript / Interview": 0.0014418891875615342, "Tutorial / How-To Guide": 0.0025285196923095074, "User Reviews": 0.0003361833475573307, "NONE": 0.4274827973710211}, "tertiary": {"Academic Writing": 0.0007919810886081374, "Content Listing": 0.0008755110603354966, "Creative Writing": 0.000951286802800032, "Customer Support Page": 0.0005858659889782877, "Q&A Forum": 0.00033615278463497574, "Discussion Thread": 0.0003032864278689829, "Comment Section": 0.0008729427638402589, "Missing Content": 0.0008237974936846349, "Knowledge Article": 0.0017177701405770127, "Legal Notices": 0.35444238739903555, "News Article": 0.000529547599299518, "Organizational Announcement": 0.0007721978699659503, "Nonfiction Writing": 0.00046906302469554745, "Organizational About Page": 0.000681880562939469, "Personal About Page": 0.0003879739927928084, "Personal Blog": 0.00032424602968526156, "Product Page": 0.0005218553039364921, "Spam / Ads": 0.003616758568458593, "Structured Data": 0.0017484832062615444, "Technical Writing": 0.009026814663714721, "Transcript / Interview": 0.0014265696562702184, "Tutorial / How-To Guide": 0.0028507445132975144, "User Reviews": 0.00022313312828676165, "NONE": 0.6157197499300323}, "structured_records": {"false": 0.9337559963714366, "true": 0.06624400362856342}, "procedural_steps": {"false": 0.9862052583548253, "true": 0.013794741645174666}, "worked_solution": {"false": 0.9960475110460039, "true": 0.003952488953996109}, "contextual_dialogue": {"false": 0.9999577780809045, "true": 4.222191909554833e-05}, "content_quality": {"-2": 0.009396081847354108, "-1": 0.05497015434266044, "0": 0.30129247596515063, "1": 0.46303177340698953, "2": 0.17130951443784534}, "noise_severity": {"0": 0.5801602289516107, "1": 0.34751086470968784, "2": 0.06398829482907521, "3": 0.005502524874835682, "4": 0.002838086634790658}, "missing_content_severity": {"0": 0.9491232734759965, "1": 0.025455725905349936, "2": 0.01779915013373659, "3": 0.006412449924844537, "4": 0.0012094005600723915}, "factual_density": {"0": 0.008863070991718501, "1": 0.046051069336502035, "2": 0.22813647109363216, "3": 0.43439844133939, "4": 0.2825509472387574}, "pretraining_utility": {"-2": 0.010494538588925293, "-1": 0.12026208972682195, "0": 0.4038320556306489, "1": 0.41198547806763935, "2": 0.05342583798596454}, "math_density": {"0": 0.9972082629722787, "1": 0.002062657433853588, "2": 0.0003488291193535327, "3": 0.00013500243982270693, "4": 0.00024524803469139737}, "code_density": {"0": 0.000380237244376953, "1": 0.0007768088005500938, "2": 0.024026292067957953, "3": 0.1882046273359978, "4": 0.7866120345511172}, "reasoning_density": {"0": 0.7339863148087982, "1": 0.14543223621693702, "2": 0.09424934555649735, "3": 0.018083572712096273, "4": 0.008248530705671287}, "education_level": {"none": 0.001442753958849069, "0": 0.0016277858860557705, "1": 0.00943372282363986, "2": 0.6746538259552491, "3": 0.27921585671838295, "4": 0.03362605465782323}, "creative_writing_quality": {"not_applicable": 0.9980592368229879, "-2": 0.000164212570582373, "-1": 0.00046484648634185333, "0": 0.001109810506252209, "1": 0.00014459039463134293, "2": 5.7303219204358614e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 6.070707694327586e-05, "Art & Design": 0.00015389482891253362, "Law & Crime": 0.00011944941258013106, "Education & Careers": 0.00010810905972844844, "Entertainment & Media": 0.0013763065794274115, "Fashion & Beauty": 5.109109492996964e-05, "Business, Economics & Finance": 0.0018844380693710705, "Food & Dining": 7.991660110388783e-05, "Games & Gaming": 0.0005331148308110932, "Electronics & Hardware": 0.00012799203861042104, "Health, Healthcare & Wellness": 5.5595402763755085e-05, "History & Geography": 7.050776000686797e-05, "Home, Pets & Hobbies": 6.0494599494367255e-05, "Industry & Production": 7.824063538738383e-05, "Language, Literature & Philosophy": 0.00011050357346299441, "Politics & Government": 4.52315571327813e-05, "Religion & Spirituality": 6.130820250196312e-05, "Science, Mathematics & Engineering": 0.0016373093611652667, "Relationships & Community": 0.00035909265958168976, "Software Usage & Applications": 0.003992445911816383, "Programming & Software Engineering": 0.9879665366952654, "Sports & Fitness": 8.906715406576212e-05, "Vehicles & Transportation": 3.20306779732906e-05, "Travel & Tourism": 6.736670944398543e-05, "Other / Uncovered Subject": 0.0007447206845611571, "Unknown / Insufficient Content": 0.00013452882295880405}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0005851413421647315, "Art & Design": 0.001195914759929361, "Law & Crime": 0.002673126827224078, "Education & Careers": 0.00043982764879878233, "Entertainment & Media": 0.008588770960100339, "Fashion & Beauty": 0.00030795901855037566, "Business, Economics & Finance": 0.004401213775314054, "Food & Dining": 0.00039119174143447994, "Games & Gaming": 0.0014394592499053108, "Electronics & Hardware": 0.00039742980619816143, "Health, Healthcare & Wellness": 0.00031524401729337626, "History & Geography": 0.0002725089173607367, "Home, Pets & Hobbies": 0.0002418909110668213, "Industry & Production": 0.00025244064890243725, "Language, Literature & Philosophy": 0.00038268814032302437, "Politics & Government": 0.0002840635930431436, "Religion & Spirituality": 0.0002799149476358317, "Science, Mathematics & Engineering": 0.009083184854870854, "Relationships & Community": 0.000595264720401795, "Software Usage & Applications": 0.016684752185985946, "Programming & Software Engineering": 0.014556669310377093, "Sports & Fitness": 0.00022292154588788899, "Vehicles & Transportation": 0.00010758283603873394, "Travel & Tourism": 0.00023803470393706525, "Other / Uncovered Subject": 0.0008922408059562799, "NONE": 0.9351705627312994}}, "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.9999999999999998, "mass_delta": -2.220446049250313e-16, "missing_mass": 2.220446049250313e-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.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": 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": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}}, "usage": {"input_tokens": 11865, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 11865, "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.384028+00:00", "scoring_key_slot": "assistant_1", "dataset_uid": "d12d3201-18b2-4f62-8b3a-2274c2e6e219", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "e9d36b427cfe55fd1141dfc3eb76533f9d7f6e0dc1922147fc0e0436de4a23f8", "source_metadata": {"uuid": "d12d3201-18b2-4f62-8b3a-2274c2e6e219", "repo_name": "teamDiscoBots/InitechBot", "relative_path": "BasicBot.cs", "category": "TOOL", "algo_rel_score": 0.777511477470398, "quality_score": 4.4810709953308105, "source_meta": {"github_metadata": {"branch": "master", "commit_count": 14, "repo_created_at": "2018-10-03T23:05:31.000Z", "is_fork": false, "is_org_owned": true, "forked_from": null, "stars": 0, "forks": 0, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "7292e21aa7452289a397fec9a982d18e29ab11ec", "size_bytes": 18243, "file_timestamp": 1538676314, "language": "c#", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "cf8c6b343da809540e1d679798b45c7ec40ea03d"}}, "parsed_source_meta": {"github_metadata": {"branch": "master", "commit_count": 14, "repo_created_at": "2018-10-03T23:05:31.000Z", "is_fork": false, "is_org_owned": true, "forked_from": null, "stars": 0, "forks": 0, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "7292e21aa7452289a397fec9a982d18e29ab11ec", "size_bytes": 18243, "file_timestamp": 1538676314, "language": "c#", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "cf8c6b343da809540e1d679798b45c7ec40ea03d", "url": "https://github.com/teamDiscoBots/InitechBot/blob/cf8c6b343da809540e1d679798b45c7ec40ea03d/BasicBot.cs"}, "gpt4o_tokens": 3066, "dataset_split": "csharp", "probability_weighted_scores": {"content_quality": 0.7318884842453115, "noise_severity": 0.503347375531508, "missing_content_severity": 0.08512897818764631, "factual_density": 2.935723124496966, "pretraining_utility": 0.3775859871348959, "math_density": 0.004146315130794364, "code_density": 3.759891413148928, "reasoning_density": 0.4211757682889057, "education_level": 2.3342609277150275, "creative_writing_quality": -0.2751880295300962}, "score_applicability": {"education_level": 0.9985572460411509, "creative_writing_quality": 0.0019407631770121368}} {"source_group": "csharp", "source": "openbmb/UltraData-Stack-v3-L2/csharp", "domain": "github.com", "language": "csharp", "url": "https://github.com/riesvriend/FusionAndCortex/blob/001f3f33d9e7a0164d7f634e53f1f3f58fa5d444/src/Stl.Fusion/Bridge/Internal/SubscriptionProcessor.cs", "id": "csharp-0-53f37642f4b10afd6b7276e7a02e6598", "text": "using System;\nusing System.Threading;\nusing System.Threading.Channels;\nusing System.Threading.Tasks;\nusing Microsoft.Extensions.Logging;\nusing Stl.Async;\nusing Stl.Fusion.Bridge.Messages;\nusing Stl.Time;\n\nnamespace Stl.Fusion.Bridge.Internal\n{\n public abstract class SubscriptionProcessor : AsyncProcessBase\n {\n protected readonly ILogger Log;\n protected readonly IMomentClock Clock;\n protected readonly TimeSpan ExpirationTime;\n protected long MessageIndex;\n protected (LTag Version, bool IsConsistent) LastSentVersion;\n\n public IPublisher Publisher => Publication.Publisher;\n public readonly IPublication Publication;\n public readonly Channel OutgoingChannel;\n public readonly Channel IncomingChannel;\n\n protected SubscriptionProcessor(\n IPublication publication,\n Channel outgoingChannel,\n TimeSpan expirationTime,\n IMomentClock clock,\n ILoggerFactory loggerFactory)\n {\n Log = loggerFactory.CreateLogger(GetType());\n Clock = clock;\n Publication = publication;\n OutgoingChannel = outgoingChannel;\n IncomingChannel = Channel.CreateBounded(new BoundedChannelOptions(16));\n ExpirationTime = expirationTime;\n }\n }\n\n public class SubscriptionProcessor : SubscriptionProcessor\n {\n public new readonly IPublication Publication;\n\n public SubscriptionProcessor(\n IPublication publication,\n Channel outgoingChannel,\n TimeSpan expirationTime,\n IMomentClock clock,\n ILoggerFactory loggerFactory)\n : base(publication, outgoingChannel, expirationTime, clock, loggerFactory)\n => Publication = publication;\n\n protected override async Task RunInternal(CancellationToken cancellationToken)\n {\n var publicationUseScope = Publication.Use();\n var state = Publication.State;\n var incomingChannelReader = IncomingChannel.Reader;\n\n var currentCts = (CancellationTokenSource?) null;\n await using var _ = cancellationToken.Register(() => currentCts?.Cancel());\n try {\n var incomingMessageTask = incomingChannelReader.ReadAsync(cancellationToken).AsTask();\n while (true) {\n // Awaiting for new SubscribeMessage\n var messageOpt = await incomingMessageTask\n .WithTimeout(Clock, ExpirationTime, cancellationToken)\n .ConfigureAwait(false);\n if (!messageOpt.IsSome(out var incomingMessage))\n break; // Timeout\n\n // Maybe sending an update\n var isHardUpdateRequested = false;\n var isSoftUpdateRequested = false;\n if (incomingMessage is SubscribeMessage sm) {\n if (MessageIndex == 0)\n LastSentVersion = (sm.Version, sm.IsConsistent);\n isHardUpdateRequested |= sm.IsUpdateRequested;\n // Generally the version should match; if it's not the case, it could be due to\n // reconnect / lost message / something similar.\n isSoftUpdateRequested |= sm.Version != state.Computed.Version;\n }\n if (isHardUpdateRequested) {\n // We do only explicit state updates\n var cts = new CancellationTokenSource();\n currentCts = cts;\n try {\n await Publication.Update(cts.Token).ConfigureAwait(false);\n state = Publication.State;\n }\n finally {\n currentCts = null;\n cts.Dispose();\n }\n }\n await TrySendUpdate(state, isSoftUpdateRequested | isHardUpdateRequested, cancellationToken)\n .ConfigureAwait(false);\n\n incomingMessageTask = incomingChannelReader.ReadAsync(cancellationToken).AsTask();\n // If we know for sure the last sent version is inconsistent,\n // we don't need to wait till the moment it gets invalidated -\n // it's client's time to act & request the update.\n if (!LastSentVersion.IsConsistent)\n continue;\n\n // Awaiting for state change\n var whenInvalidatedTask = state.WhenInvalidated();\n var completedTask = await Task\n .WhenAny(whenInvalidatedTask, incomingMessageTask)\n .ConfigureAwait(false);\n cancellationToken.ThrowIfCancellationRequested();\n if (completedTask == incomingMessageTask)\n continue;\n\n // And finally, sending the invalidation message\n await TrySendUpdate(state, false, cancellationToken).ConfigureAwait(false);\n }\n }\n finally {\n publicationUseScope.Dispose();\n // Awaiting for disposal here = cyclic task dependency;\n // we should just ensure it starts right when this method\n // completes.\n DisposeAsync().Ignore();\n }\n }\n\n protected virtual async ValueTask TrySendUpdate(\n IPublicationState? state, bool isUpdateRequested, CancellationToken cancellationToken)\n {\n if (state == null || state.IsDisposed) {\n var absentsMessage = new PublicationAbsentsMessage() {\n IsDisposed = true,\n };\n await Send(absentsMessage, cancellationToken).ConfigureAwait(false);\n LastSentVersion = default;\n return;\n }\n\n var computed = state.Computed;\n var isConsistent = computed.IsConsistent(); // It may change, so we want to make a snapshot here\n var version = (computed.Version, isConsistent);\n if ((!isUpdateRequested) && LastSentVersion == version)\n return;\n\n var message = new PublicationStateMessage() {\n Version = computed.Version,\n IsConsistent = isConsistent,\n };\n if (isConsistent || LastSentVersion.Version != computed.Version)\n message.Output = computed.Output;\n\n await Send(message, cancellationToken).ConfigureAwait(false);\n LastSentVersion = version;\n }\n\n protected virtual async ValueTask Send(PublicationMessage message, CancellationToken cancellationToken)\n {\n message.MessageIndex = ++MessageIndex;\n message.PublisherId = Publisher.Id;\n message.PublicationId = Publication.Id;\n\n await OutgoingChannel.Writer.WriteAsync(message, cancellationToken).ConfigureAwait(false);\n }\n }\n}\n", "text_preview": "using System; using System.Threading; using System.Threading.Channels; using System.Threading.Tasks; using Microsoft.Extensions.Logging; using Stl.Async; using Stl.Fusion.Bridge.Messages; using Stl.Time; namespace Stl.Fusion.Bridge.Internal", "input_sha256": "491f0aecf5483a458e58c7fc495381fc97bc0617b66869c71b5a57d857b434ef", "text_sha256": "53f37642f4b10afd6b7276e7a02e65982a1af83ef25a1f12f53e1b438b950ffa", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 2013, "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.2600594346977791, "noise_severity": 0.010126380780736974, "missing_content_severity": 0.016244587713973767, "factual_density": 3.5346220532681745, "pretraining_utility": 0.5916638168848508, "math_density": 0.03989455785310267, "code_density": 3.935823901940428, "reasoning_density": 0.5071855675818326, "education_level": 2.9709571063183104, "creative_writing_quality": -0.008571070453291764}, "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.0034687922214955424, "secondary_choice": "NONE", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.9986489148822192, "secondary": 0.9942722219409805, "tertiary": 0.9978918312155846, "structured_records": 0.004017766176088982, "procedural_steps": 0.005195052798463163, "worked_solution": 0.0011185537610368759, "contextual_dialogue": 8.475484839907184e-06, "content_quality": 0.5723381469080777, "noise_severity": 0.9915613493493859, "missing_content_severity": 0.9864628435716886, "factual_density": 0.6121850443901453, "pretraining_utility": 0.4912253563633785, "math_density": 0.9667545351224145, "code_density": 0.9465199182836904, "reasoning_density": 0.5773453603484728, "education_level": 0.595623051634013, "creative_writing_quality": 0.9995879736347789, "primary_topic": 0.9965034102838959, "secondary_topic": 0.9801614114190105}, "probability_margin": {"primary": 0.9980788081981002, "secondary": 0.9921401738745365, "tertiary": 0.9971865413592361, "education_level": 0.48801034818452205, "creative_writing_quality": 0.9994868836256015, "primary_topic": 0.9945459572548908, "secondary_topic": 0.969160041587168}, "raw_probabilities": {"primary": {"Academic Writing": 2.1044147626528674e-05, "Content Listing": 1.4385104062810832e-05, "Creative Writing": 9.75061754773973e-06, "Customer Support Page": 4.563261193194655e-06, "Q&A Forum": 6.5763840845564936e-06, "Discussion Thread": 4.150055364535986e-06, "Comment Section": 5.962152703433266e-06, "Missing Content": 1.6896164970303073e-05, "Knowledge Article": 5.372970941022907e-05, "Legal Notices": 2.086423750388802e-05, "News Article": 2.312339816892735e-06, "Organizational Announcement": 5.534000766063521e-06, "Nonfiction Writing": 6.039682899682113e-06, "Organizational About Page": 5.5139426118655545e-06, "Personal About Page": 5.6291149435029314e-06, "Personal Blog": 4.030081717438387e-06, "Product Page": 4.254386574524618e-06, "Spam / Ads": 4.8027758973361934e-06, "Structured Data": 0.00036337299235908357, "Technical Writing": 0.9987052100954601, "Transcript / Interview": 8.245983017692594e-06, "Tutorial / How-To Guide": 9.680464717307562e-05, "User Reviews": 3.92622493583913e-06, "Other / Unknown": 0.0006264018973598897}, "secondary": {"Academic Writing": 5.612492217780974e-05, "Content Listing": 3.7384584260510205e-05, "Creative Writing": 5.183175489638976e-05, "Customer Support Page": 2.1381415488238477e-05, "Q&A Forum": 1.746498808463882e-05, "Discussion Thread": 1.403741397867367e-05, "Comment Section": 3.839762647112674e-05, "Missing Content": 0.00025087551960048765, "Knowledge Article": 0.0003115627269370146, "Legal Notices": 8.356617648900149e-05, "News Article": 2.3850236007173027e-05, "Organizational Announcement": 2.2744775350125847e-05, "Nonfiction Writing": 2.3969354231657425e-05, "Organizational About Page": 2.5930908662682502e-05, "Personal About Page": 2.279261109376081e-05, "Personal Blog": 1.922369349226723e-05, "Product Page": 1.46091974178398e-05, "Spam / Ads": 2.3313526335004652e-05, "Structured Data": 0.001731159957593016, "Technical Writing": 0.002370705485569864, "Transcript / Interview": 2.7873355321118403e-05, "Tutorial / How-To Guide": 0.0002888825174980387, "User Reviews": 1.1437892937338602e-05, "NONE": 0.9945108793601063}, "tertiary": {"Academic Writing": 2.644801203144551e-05, "Content Listing": 1.823567967163034e-05, "Creative Writing": 2.722115308774758e-05, "Customer Support Page": 1.164255353228817e-05, "Q&A Forum": 8.952470428238007e-06, "Discussion Thread": 7.580781907162291e-06, "Comment Section": 2.264029150103474e-05, "Missing Content": 0.00016782025782722848, "Knowledge Article": 0.00012565057700709392, "Legal Notices": 7.933196948077271e-05, "News Article": 1.4926975346279765e-05, "Organizational Announcement": 1.3430293996901939e-05, "Nonfiction Writing": 1.9481772081488602e-05, "Organizational About Page": 2.029743272934351e-05, "Personal About Page": 1.2291283238079434e-05, "Personal Blog": 1.156851506641827e-05, "Product Page": 9.939555683701257e-06, "Spam / Ads": 1.4538952469334652e-05, "Structured Data": 0.0003908693957544199, "Technical Writing": 0.0007931302223656733, "Transcript / Interview": 1.5709999741410816e-05, "Tutorial / How-To Guide": 0.00020114495742706872, "User Reviews": 7.475316023454489e-06, "NONE": 0.9979796715816018}, "structured_records": {"false": 0.995982233823911, "true": 0.004017766176088982}, "procedural_steps": {"false": 0.9948049472015368, "true": 0.005195052798463163}, "worked_solution": {"false": 0.9988814462389631, "true": 0.0011185537610368759}, "contextual_dialogue": {"false": 0.99999152451516, "true": 8.475484839907184e-06}, "content_quality": {"-2": 0.002586710617376202, "-1": 0.005970154243871036, "0": 0.10686695416639307, "1": 0.49794935176831673, "2": 0.3866268292040429}, "noise_severity": {"0": 0.9912808025889369, "1": 0.007850093798873237, "2": 0.0005011555482752027, "3": 0.0001978163703465497, "4": 0.0001701316935684213}, "missing_content_severity": {"0": 0.9914887410074129, "1": 0.0026371440230504983, "2": 0.004251045755261477, "3": 0.0013869246767008708, "4": 0.00023614453757442587}, "factual_density": {"0": 0.0026332380566507813, "1": 0.005355526259177327, "2": 0.054667589774042756, "3": 0.3294432361796049, "4": 0.6079004097305242}, "pretraining_utility": {"-2": 0.007054782784334984, "-1": 0.06530979379392884, "0": 0.35764894179868484, "1": 0.4688897869986531, "2": 0.10109669462439828}, "math_density": {"0": 0.9775437486823523, "1": 0.015253435868851918, "2": 0.0014225367052674944, "3": 0.0013250664003970727, "4": 0.004455212343131135}, "code_density": {"0": 0.00015304960152314387, "1": 0.00029185830971635514, "2": 0.005822960645515863, "3": 0.05104240343329816, "4": 0.9426897280099464}, "reasoning_density": {"0": 0.726413820530185, "1": 0.13782591518919501, "2": 0.06745774945172234, "3": 0.038765905826397884, "4": 0.02953660900249982}, "education_level": {"none": 0.0010513772869652712, "0": 0.0010840132032355282, "1": 0.003529331942343148, "2": 0.17500886151048875, "3": 0.6630192096950108, "4": 0.1563072063619565}, "creative_writing_quality": {"not_applicable": 0.9996566446956491, "-2": 2.51882155980825e-05, "-1": 6.383119924767857e-05, "0": 0.00016976107004758423, "1": 5.788493097519261e-05, "2": 2.668988848227436e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 2.837494697318769e-05, "Art & Design": 2.921256482283255e-05, "Law & Crime": 2.1218023679955728e-05, "Education & Careers": 2.267041537803855e-05, "Entertainment & Media": 1.4655557825252152e-05, "Fashion & Beauty": 1.1138838884665394e-05, "Business, Economics & Finance": 3.621651202495683e-05, "Food & Dining": 1.588825435186773e-05, "Games & Gaming": 4.7262632944305375e-05, "Electronics & Hardware": 8.038989168348044e-05, "Health, Healthcare & Wellness": 1.6335398218993352e-05, "History & Geography": 1.9565628367383493e-05, "Home, Pets & Hobbies": 1.3893922935787536e-05, "Industry & Production": 2.2770759912301058e-05, "Language, Literature & Philosophy": 2.781047335583954e-05, "Politics & Government": 1.1716146773522944e-05, "Religion & Spirituality": 2.132737158393982e-05, "Science, Mathematics & Engineering": 0.0020919372488552223, "Relationships & Community": 1.0244355309442235e-05, "Software Usage & Applications": 0.00032678291735046053, "Programming & Software Engineering": 0.9966378945037461, "Sports & Fitness": 2.918741872856383e-05, "Vehicles & Transportation": 1.2303776292195059e-05, "Travel & Tourism": 3.3387832074639744e-05, "Other / Uncovered Subject": 0.000248661545339688, "Unknown / Insufficient Content": 0.00016915306258752816}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.00012584739462297384, "Art & Design": 8.691925067622649e-05, "Law & Crime": 0.00013629985480746585, "Education & Careers": 8.050815461859158e-05, "Entertainment & Media": 7.862143823699402e-05, "Fashion & Beauty": 4.5430446102907636e-05, "Business, Economics & Finance": 0.00012196838172956008, "Food & Dining": 4.025897216336287e-05, "Games & Gaming": 0.00010270909513840033, "Electronics & Hardware": 0.00015022482531656646, "Health, Healthcare & Wellness": 5.024629235849543e-05, "History & Geography": 5.2981608284832924e-05, "Home, Pets & Hobbies": 3.3393020810256225e-05, "Industry & Production": 4.021476662282166e-05, "Language, Literature & Philosophy": 4.425540170457245e-05, "Politics & Government": 5.187379768727599e-05, "Religion & Spirituality": 7.234637993061017e-05, "Science, Mathematics & Engineering": 0.005123167150451767, "Relationships & Community": 3.649354624466275e-05, "Software Usage & Applications": 0.0005628015689179803, "Programming & Software Engineering": 0.01176439246957287, "Sports & Fitness": 5.2200637122050215e-05, "Vehicles & Transportation": 2.4657364701833797e-05, "Travel & Tourism": 7.52819793319497e-05, "Other / Uncovered Subject": 0.00012247214610409897, "NONE": 0.9809244340567408}}, "probabilities": {"primary": {"Academic Writing": 2.104414762652867e-05, "Content Listing": 1.4385104062810828e-05, "Creative Writing": 9.750617547739728e-06, "Customer Support Page": 4.563261193194654e-06, "Q&A Forum": 6.576384084556492e-06, "Discussion Thread": 4.150055364535985e-06, "Comment Section": 5.9621527034332645e-06, "Missing Content": 1.689616497030307e-05, "Knowledge Article": 5.3729709410229054e-05, "Legal Notices": 2.0864237503888015e-05, "News Article": 2.3123398168927345e-06, "Organizational Announcement": 5.53400076606352e-06, "Nonfiction Writing": 6.039682899682111e-06, "Organizational About Page": 5.513942611865554e-06, "Personal About Page": 5.629114943502931e-06, "Personal Blog": 4.030081717438386e-06, "Product Page": 4.2543865745246176e-06, "Spam / Ads": 4.802775897336193e-06, "Structured Data": 0.0003633729923590835, "Technical Writing": 0.9987052100954599, "Transcript / Interview": 8.245983017692593e-06, "Tutorial / How-To Guide": 9.680464717307559e-05, "User Reviews": 3.926224935839129e-06, "Other / Unknown": 0.0006264018973598896}, "secondary": {"Academic Writing": 5.612492217780974e-05, "Content Listing": 3.7384584260510205e-05, "Creative Writing": 5.183175489638976e-05, "Customer Support Page": 2.1381415488238477e-05, "Q&A Forum": 1.746498808463882e-05, "Discussion Thread": 1.403741397867367e-05, "Comment Section": 3.839762647112674e-05, "Missing Content": 0.00025087551960048765, "Knowledge Article": 0.0003115627269370146, "Legal Notices": 8.356617648900149e-05, "News Article": 2.3850236007173027e-05, "Organizational Announcement": 2.2744775350125847e-05, "Nonfiction Writing": 2.3969354231657425e-05, "Organizational About Page": 2.5930908662682502e-05, "Personal About Page": 2.279261109376081e-05, "Personal Blog": 1.922369349226723e-05, "Product Page": 1.46091974178398e-05, "Spam / Ads": 2.3313526335004652e-05, "Structured Data": 0.001731159957593016, "Technical Writing": 0.002370705485569864, "Transcript / Interview": 2.7873355321118403e-05, "Tutorial / How-To Guide": 0.0002888825174980387, "User Reviews": 1.1437892937338602e-05, "NONE": 0.9945108793601063}, "tertiary": {"Academic Writing": 2.644801203144551e-05, "Content Listing": 1.823567967163034e-05, "Creative Writing": 2.722115308774758e-05, "Customer Support Page": 1.164255353228817e-05, "Q&A Forum": 8.952470428238007e-06, "Discussion Thread": 7.580781907162291e-06, "Comment Section": 2.264029150103474e-05, "Missing Content": 0.00016782025782722848, "Knowledge Article": 0.00012565057700709392, "Legal Notices": 7.933196948077271e-05, "News Article": 1.4926975346279765e-05, "Organizational Announcement": 1.3430293996901939e-05, "Nonfiction Writing": 1.9481772081488602e-05, "Organizational About Page": 2.029743272934351e-05, "Personal About Page": 1.2291283238079434e-05, "Personal Blog": 1.156851506641827e-05, "Product Page": 9.939555683701257e-06, "Spam / Ads": 1.4538952469334652e-05, "Structured Data": 0.0003908693957544199, "Technical Writing": 0.0007931302223656733, "Transcript / Interview": 1.5709999741410816e-05, "Tutorial / How-To Guide": 0.00020114495742706872, "User Reviews": 7.475316023454489e-06, "NONE": 0.9979796715816018}, "structured_records": {"false": 0.995982233823911, "true": 0.004017766176088982}, "procedural_steps": {"false": 0.9948049472015368, "true": 0.005195052798463163}, "worked_solution": {"false": 0.9988814462389631, "true": 0.0011185537610368759}, "contextual_dialogue": {"false": 0.99999152451516, "true": 8.475484839907184e-06}, "content_quality": {"-2": 0.0025867106173762026, "-1": 0.005970154243871037, "0": 0.10686695416639308, "1": 0.4979493517683168, "2": 0.38662682920404295}, "noise_severity": {"0": 0.9912808025889367, "1": 0.007850093798873236, "2": 0.0005011555482752026, "3": 0.00019781637034654964, "4": 0.00017013169356842127}, "missing_content_severity": {"0": 0.9914887410074127, "1": 0.002637144023050498, "2": 0.004251045755261476, "3": 0.0013869246767008706, "4": 0.00023614453757442582}, "factual_density": {"0": 0.0026332380566507813, "1": 0.005355526259177327, "2": 0.054667589774042756, "3": 0.3294432361796049, "4": 0.6079004097305242}, "pretraining_utility": {"-2": 0.007054782784334984, "-1": 0.06530979379392884, "0": 0.35764894179868484, "1": 0.4688897869986531, "2": 0.10109669462439828}, "math_density": {"0": 0.9775437486823524, "1": 0.01525343586885192, "2": 0.0014225367052674946, "3": 0.0013250664003970729, "4": 0.0044552123431311355}, "code_density": {"0": 0.00015304960152314387, "1": 0.00029185830971635514, "2": 0.005822960645515863, "3": 0.05104240343329816, "4": 0.9426897280099464}, "reasoning_density": {"0": 0.726413820530185, "1": 0.13782591518919501, "2": 0.06745774945172234, "3": 0.038765905826397884, "4": 0.02953660900249982}, "education_level": {"none": 0.0010513772869652712, "0": 0.0010840132032355282, "1": 0.003529331942343148, "2": 0.17500886151048875, "3": 0.6630192096950108, "4": 0.1563072063619565}, "creative_writing_quality": {"not_applicable": 0.9996566446956492, "-2": 2.5188215598082505e-05, "-1": 6.383119924767858e-05, "0": 0.00016976107004758426, "1": 5.788493097519262e-05, "2": 2.6689888482274364e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 2.8374946973187684e-05, "Art & Design": 2.9212564822832542e-05, "Law & Crime": 2.1218023679955724e-05, "Education & Careers": 2.2670415378038546e-05, "Entertainment & Media": 1.4655557825252149e-05, "Fashion & Beauty": 1.1138838884665393e-05, "Business, Economics & Finance": 3.6216512024956824e-05, "Food & Dining": 1.5888254351867728e-05, "Games & Gaming": 4.726263294430536e-05, "Electronics & Hardware": 8.038989168348042e-05, "Health, Healthcare & Wellness": 1.633539821899335e-05, "History & Geography": 1.956562836738349e-05, "Home, Pets & Hobbies": 1.3893922935787532e-05, "Industry & Production": 2.2770759912301054e-05, "Language, Literature & Philosophy": 2.7810473355839534e-05, "Politics & Government": 1.1716146773522941e-05, "Religion & Spirituality": 2.1327371583939817e-05, "Science, Mathematics & Engineering": 0.002091937248855222, "Relationships & Community": 1.0244355309442233e-05, "Software Usage & Applications": 0.0003267829173504605, "Programming & Software Engineering": 0.9966378945037458, "Sports & Fitness": 2.9187418728563823e-05, "Vehicles & Transportation": 1.2303776292195055e-05, "Travel & Tourism": 3.338783207463974e-05, "Other / Uncovered Subject": 0.00024866154533968797, "Unknown / Insufficient Content": 0.00016915306258752814}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.00012584739462297387, "Art & Design": 8.69192506762265e-05, "Law & Crime": 0.00013629985480746588, "Education & Careers": 8.05081546185916e-05, "Entertainment & Media": 7.862143823699403e-05, "Fashion & Beauty": 4.543044610290764e-05, "Business, Economics & Finance": 0.00012196838172956009, "Food & Dining": 4.025897216336288e-05, "Games & Gaming": 0.00010270909513840034, "Electronics & Hardware": 0.0001502248253165665, "Health, Healthcare & Wellness": 5.024629235849544e-05, "History & Geography": 5.298160828483293e-05, "Home, Pets & Hobbies": 3.339302081025623e-05, "Industry & Production": 4.0214766622821666e-05, "Language, Literature & Philosophy": 4.4255401704572454e-05, "Politics & Government": 5.1873797687276e-05, "Religion & Spirituality": 7.234637993061018e-05, "Science, Mathematics & Engineering": 0.005123167150451768, "Relationships & Community": 3.6493546244662754e-05, "Software Usage & Applications": 0.0005628015689179804, "Programming & Software Engineering": 0.011764392469572872, "Sports & Fitness": 5.220063712205022e-05, "Vehicles & Transportation": 2.46573647018338e-05, "Travel & Tourism": 7.528197933194971e-05, "Other / Uncovered Subject": 0.000122472146104099, "NONE": 0.9809244340567409}}, "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.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.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": 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": 9847, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 9847, "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.453911+00:00", "scoring_key_slot": "assistant_1", "dataset_uid": "c844d59d-3b66-49da-ab36-453ed2115148", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "34dff5b9e9adcdba40922ee60d1393e42c88ffbf09a0f7ff315216e87f66ded9", "source_metadata": {"uuid": "c844d59d-3b66-49da-ab36-453ed2115148", "repo_name": "riesvriend/FusionAndCortex", "relative_path": "src/Stl.Fusion/Bridge/Internal/SubscriptionProcessor.cs", "category": "TOOL", "algo_rel_score": 0.7091661095619202, "quality_score": 7.283897399902344, "source_meta": {"github_metadata": {"branch": "master", "commit_count": 1106, "repo_created_at": "2021-04-02T17:57:54.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 2, "forks": 1, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "9eccb7c8237608840b338353ecde293ee4c409f2", "size_bytes": 7300, "file_timestamp": 1617391612, "language": "c#", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "001f3f33d9e7a0164d7f634e53f1f3f58fa5d444"}}, "parsed_source_meta": {"github_metadata": {"branch": "master", "commit_count": 1106, "repo_created_at": "2021-04-02T17:57:54.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 2, "forks": 1, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "9eccb7c8237608840b338353ecde293ee4c409f2", "size_bytes": 7300, "file_timestamp": 1617391612, "language": "c#", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "001f3f33d9e7a0164d7f634e53f1f3f58fa5d444", "url": "https://github.com/riesvriend/FusionAndCortex/blob/001f3f33d9e7a0164d7f634e53f1f3f58fa5d444/src/Stl.Fusion/Bridge/Internal/SubscriptionProcessor.cs"}, "gpt4o_tokens": 1224, "dataset_split": "csharp", "probability_weighted_scores": {"content_quality": 1.2600594346977791, "noise_severity": 0.010126380780736974, "missing_content_severity": 0.016244587713973767, "factual_density": 3.5346220532681745, "pretraining_utility": 0.5916638168848508, "math_density": 0.03989455785310267, "code_density": 3.935823901940428, "reasoning_density": 0.5071855675818326, "education_level": 2.9709571063183104, "creative_writing_quality": -0.008571070453291764}, "score_applicability": {"education_level": 0.9989486227130348, "creative_writing_quality": 0.00034335530435081234}} {"source_group": "csharp", "source": "openbmb/UltraData-Stack-v3-L2/csharp", "domain": "github.com", "language": "csharp", "url": "https://github.com/GreaseForPeace/BattleArena/blob/92a5ed26d08512d6249cea359304536beca48211/Assets/UniRPG/Scripts/Game/GUI/UniRPGGUI.cs", "id": "csharp-0-0512fcd76b8dd54dae40ccb7b1862945", "text": "// ====================================================================================================================\n// -== UniRPG ==-\n// www.plyoung.com\n// Copyright (c) 2013 by \n// ====================================================================================================================\n\nusing UnityEngine;\nusing System.Collections.Generic;\n\nnamespace UniRPG {\n\npublic class GUIDialogueData\n{\n\tpublic string screenName = null;\t\t// name of the object/actor being interacted with\n\tpublic string description = null;\t\t// description of the object/actor being interacted with\n\tpublic Texture2D[] portrait = null;\t\t// portraits of the object/actor being interacted with\n\n\tpublic string conversationText = null;\t// text to show\n\tpublic string[] options = null;\t\t\t// options/buttons to show\n\tpublic delegate void OnButton(int buttonIdx, GUIDialogueData currData);\n\tpublic GUIDialogueData.OnButton buttonCallback = null;\t// the function to call with idx of selected button/option (send -1 if there is nothing and you just want the dialogue to end/close)\n\n\t// The GUI will only bother with the following if showRewards = true. The vars to follow are normally \n\t// used in Quest Dialogues to show what the player will recieve for completing the quest\n\n\tpublic bool showRewards = false;\n\tpublic int currencyReward = 0; // gui should only show it if set to bigger than (0)\n\tpublic List attributeRewards = null;\n\tpublic List itemRewards = null;\n\n\tpublic class AttribReward\n\t{\n\t\tpublic RPGAttribute attrib;\t\t\t// the attribute that will be increased (XP perhaps)\n\t\tpublic int valueAdd;\t\t\t\t// with how much will the attribute alue increase?\n\t}\n\n\tpublic class ItemReward\n\t{\n\t\tpublic RPGItem item;\t\t\t\t// the item that will be given\n\t\tpublic int count;\t\t\t\t\t// how many copies of the item will be given\n\t}\n}\n\n// ====================================================================================================================\n\n[System.Serializable]\npublic class GUIElementTransform\n{\n\tpublic enum Stretch { None = 0, BothAspectRatio, Both, Width, Height }\n\tpublic enum XAlign { Left = 0, Right, Center }\n\tpublic enum YAlign { Top = 0, Bottom, Middle }\n\n\tpublic Stretch stretch = Stretch.None;\n\tpublic XAlign xAlign = XAlign.Left;\n\tpublic YAlign yAlign = YAlign.Top;\n\tpublic Vector2 offset = Vector2.zero;\n\tpublic Vector2 size = Vector2.zero;\n\n\t///calc a rect from given element width/height, gui/design size and GUIElementTransform\n\tpublic static Rect CalcRect(float guiW, float guiH, GUIElementTransform tr)\n\t{\n\t\tfloat eleW = tr.size.x;\n\t\tfloat eleH = tr.size.y;\n\n\t\tfloat x = tr.offset.x;\n\t\tfloat y = tr.offset.y;\n\n\t\tif (tr.stretch == Stretch.Width) eleW = guiW;\n\t\tif (tr.stretch == Stretch.Height) eleH = guiH;\n\t\tif (tr.stretch == Stretch.Both) { eleW = guiW; eleH = guiH; }\n\t\telse if (tr.stretch == Stretch.BothAspectRatio)\n\t\t{\n\t\t\tfloat aspect = eleW / eleH;\n\t\t\tif (aspect < (guiW / guiH))\n\t\t\t{\t// image is tall\n\t\t\t\teleW = (guiH / eleH) * eleW;\n\t\t\t\teleH = guiH;\n\t\t\t}\n\t\t\telse\n\t\t\t{\t// image is wide\n\t\t\t\teleH = (guiW / eleW) * eleH;\n\t\t\t\teleW = guiW;\n\t\t\t}\n\t\t}\n\n\t\tif (tr.xAlign == XAlign.Right) x = guiW - eleW - tr.offset.x;\n\t\telse if (tr.xAlign == XAlign.Center) x = (guiW - eleW) * 0.5f + tr.offset.x;\n\n\t\tif (tr.yAlign == YAlign.Bottom) y = guiH - eleH - tr.offset.y;\n\t\telse if (tr.yAlign == YAlign.Middle) y = (guiH - eleH) * 0.5f + tr.offset.y;\n\n\t\treturn new Rect(x, y, eleW, eleH);\n\t}\n}\n\n// ====================================================================================================================\n\npublic class UniRPGGUI \n{\n\n\tprivate static Matrix4x4 prevGUIMatrix = Matrix4x4.identity;\n\tprivate static Matrix4x4 scaledGUIMatrix = Matrix4x4.identity;\n\n\t/// \n\t/// should be called whenever screen resolution changes (or at least once before starting to use BeginScaledGUI/EndScaledGUI)\n\t/// width and height is the \"design/original\" that you designed the gui for. for example 1024x768\n\t/// \n\tpublic static void CalcGUIScale(float designW, float designH)\n\t{\n\t\t// * this method scales and keeps aspect ratio\n\t\tfloat screenW = (float)Screen.width;\n\t\tfloat screenH = (float)Screen.height;\n\t\tfloat aspect = screenW / screenH;\n\t\tfloat scale = 1f;\n\t\tVector3 offset = Vector3.zero;\n\t\tif (aspect < (designW / designH))\n\t\t{\t// screen is taller\n\t\t\tscale = (screenW / designW);\n\t\t\toffset.y += (screenH - (designH * scale)) * 0.5f;\n\t\t}\n\t\telse\n\t\t{\t// screen is wider\n\t\t\tscale = (screenH / designH);\n\t\t\toffset.x += (screenW - (designW * scale)) * 0.5f;\n\t\t}\n\t\tscaledGUIMatrix = Matrix4x4.TRS(offset, Quaternion.identity, Vector3.one * scale);\n\n\t\t// * this method scale without keeping aspect ratio of design\n\t\t//Vector2 resizeRatio = new Vector2((float)Screen.width / designW, (float)Screen.height / designH);\n\t\t//scaledGUIMatrix = Matrix4x4.TRS(Vector3.zero, Quaternion.identity, new Vector3(resizeRatio.x, resizeRatio.y, 1.0f));\n\n\t\t// * no scaling\n\t\t//scaledGUIMatrix = GUI.matrix;\n\t}\n\n\t/// call this before drawing gui elements that should scale to screne res\n\tpublic static void BeginScaledGUI()\n\t{\n\t\tprevGUIMatrix = GUI.matrix;\n\t\tGUI.matrix = scaledGUIMatrix;\n\t}\n\n\t/// restore gui matrix. call this when you are done drawing your scaled gui\n\tpublic static void EndScaledGUI()\n\t{\n\t\tGUI.matrix = prevGUIMatrix;\n\t}\n\n\t// ================================================================================================================\n} }", "text_preview": "// ==================================================================================================================== // -== UniRPG ==- // www.plyoung.com // Copyright (c) 2013 by // ================================================", "input_sha256": "9cb9cd791a327bd311e021138477ccf90852486ef023506d4a928827dfdd9dcd", "text_sha256": "0512fcd76b8dd54dae40ccb7b1862945372c086b6c049f22657de69e33571f9d", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 2014, "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": 2, "code_density": 4, "reasoning_density": 0, "education_level": 2, "creative_writing_quality": null}, "score_expectations": {"content_quality": 0.9641953288939282, "noise_severity": 0.23352813766883565, "missing_content_severity": 0.046202560974844015, "factual_density": 3.4834862179542787, "pretraining_utility": 0.2683241101269356, "math_density": 1.7926828161382784, "code_density": 3.805657539875712, "reasoning_density": 0.5113433212934654, "education_level": 2.088618336400933, "creative_writing_quality": -0.1771971407447958}, "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.10836859600289933, "secondary_choice": "NONE", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.9964367510577452, "secondary": 0.8086580384771801, "tertiary": 0.70792654509193, "structured_records": 0.015084667101665459, "procedural_steps": 0.012108402769761098, "worked_solution": 0.00623451977125605, "contextual_dialogue": 9.962005369092744e-06, "content_quality": 0.5751308260848315, "noise_severity": 0.8053932186093036, "missing_content_severity": 0.9614978658542966, "factual_density": 0.5695718482952321, "pretraining_utility": 0.5188553898482262, "math_density": 0.2757577150893571, "code_density": 0.8380479498964268, "reasoning_density": 0.5738805655887789, "education_level": 0.7534024025501853, "creative_writing_quality": 0.9990796282487524, "primary_topic": 0.9578288181689125, "secondary_topic": 0.6956384044091597}, "probability_margin": {"primary": 0.9951185962729984, "secondary": 0.6648045444592505, "tertiary": 0.4599016006288199, "education_level": 0.665120734366813, "creative_writing_quality": 0.9988242308503997, "primary_topic": 0.9240830478640015, "secondary_topic": 0.5142778578016313}, "raw_probabilities": {"primary": {"Academic Writing": 2.914933926798076e-05, "Content Listing": 1.9050275813595855e-05, "Creative Writing": 1.9564556959804897e-05, "Customer Support Page": 1.1186494448385785e-05, "Q&A Forum": 1.072598938407627e-05, "Discussion Thread": 7.409689663902926e-06, "Comment Section": 1.6107944937343887e-05, "Missing Content": 3.512364748337411e-05, "Knowledge Article": 6.64109418909814e-05, "Legal Notices": 0.0001403450077004864, "News Article": 4.088063121820781e-06, "Organizational Announcement": 1.2203162874072236e-05, "Nonfiction Writing": 9.090298025753969e-06, "Organizational About Page": 1.2587417345491987e-05, "Personal About Page": 1.2509404091333427e-05, "Personal Blog": 7.197261002971356e-06, "Product Page": 9.287046160181259e-06, "Spam / Ads": 1.120649397926061e-05, "Structured Data": 0.0014666234906741693, "Technical Writing": 0.9965852197636725, "Transcript / Interview": 1.3736259291779635e-05, "Tutorial / How-To Guide": 0.00023771845064803304, "User Reviews": 6.369093380502562e-06, "Other / Unknown": 0.0012570899081821765}, "secondary": {"Academic Writing": 0.0005952745708544191, "Content Listing": 0.0004098484827169523, "Creative Writing": 0.00058791846901706, "Customer Support Page": 0.0003677544005631247, "Q&A Forum": 0.00028100805210349097, "Discussion Thread": 0.00023652138803169782, "Comment Section": 0.0004927094434985183, "Missing Content": 0.0007421404349734007, "Knowledge Article": 0.0008471647064774585, "Legal Notices": 0.15182607574804705, "News Article": 0.00039599888382954194, "Organizational Announcement": 0.0005255003344139856, "Nonfiction Writing": 0.0003813279316760568, "Organizational About Page": 0.0006040127959854346, "Personal About Page": 0.00038966508780552883, "Personal Blog": 0.0002625703132243682, "Product Page": 0.0003262375265857982, "Spam / Ads": 0.0005019744325065668, "Structured Data": 0.0075583841147625645, "Technical Writing": 0.013763271888042517, "Transcript / Interview": 0.0005657109183638632, "Tutorial / How-To Guide": 0.0015285962282257474, "User Reviews": 0.00017971364099738572, "NONE": 0.8166306202072976}, "tertiary": {"Academic Writing": 0.0003962097022951596, "Content Listing": 0.0003248414221003411, "Creative Writing": 0.0004082709134262864, "Customer Support Page": 0.0002669552310889191, "Q&A Forum": 0.0001996792668482244, "Discussion Thread": 0.00019416003337036157, "Comment Section": 0.0004133975769579534, "Missing Content": 0.0005780815796093692, "Knowledge Article": 0.0007388507056053528, "Legal Notices": 0.26019467175094635, "News Article": 0.0003097632783378755, "Organizational Announcement": 0.0003772913670048038, "Nonfiction Writing": 0.00033332080722486184, "Organizational About Page": 0.0005950438935819062, "Personal About Page": 0.00030066194124716194, "Personal Blog": 0.0001883757467816402, "Product Page": 0.0003243854174914921, "Spam / Ads": 0.0004979075536987423, "Structured Data": 0.002273279198461509, "Technical Writing": 0.00938952372547168, "Transcript / Interview": 0.0003969574263269737, "Tutorial / How-To Guide": 0.0010365207887013427, "User Reviews": 0.00016557829365540638, "NONE": 0.7200962723797663}, "structured_records": {"false": 0.9849153328983346, "true": 0.015084667101665459}, "procedural_steps": {"false": 0.9878915972302389, "true": 0.012108402769761098}, "worked_solution": {"false": 0.993765480228744, "true": 0.00623451977125605}, "contextual_dialogue": {"false": 0.9999900379946309, "true": 9.962005369092744e-06}, "content_quality": {"-2": 0.0054115323262652415, "-1": 0.01957895561904438, "0": 0.21743133168525247, "1": 0.5205590115733726, "2": 0.23701916879606527}, "noise_severity": {"0": 0.7859444730635632, "1": 0.19973474473053957, "2": 0.010612370063911573, "3": 0.002264995757470258, "4": 0.0014434163845155593}, "missing_content_severity": {"0": 0.9675240788022264, "1": 0.0220162612460301, "2": 0.007900994650439464, "3": 0.0018503507772815173, "4": 0.0007083145240226087}, "factual_density": {"0": 0.002617744194768519, "1": 0.005115664519440234, "2": 0.054719514891366415, "3": 0.38125678192559376, "4": 0.556290294468831}, "pretraining_utility": {"-2": 0.009671165778033734, "-1": 0.13518237947152897, "0": 0.4849606520689602, "1": 0.31752278420842217, "2": 0.052663018473054914}, "math_density": {"0": 0.116010673006488, "1": 0.3061826168642707, "2": 0.35171834459485024, "3": 0.12128995205325749, "4": 0.10479841348113368}, "code_density": {"0": 0.00040543584926311794, "1": 0.0008075579073543924, "2": 0.024808556837627522, "3": 0.1406809293299171, "4": 0.8332975200758379}, "reasoning_density": {"0": 0.7450090363536639, "1": 0.08312844744294717, "2": 0.10637807779755737, "3": 0.046479035367922215, "4": 0.019005403037909194}, "education_level": {"none": 0.0016134576002039896, "0": 0.0017817251617196852, "1": 0.06092851922383789, "2": 0.7945020021251544, "3": 0.1293812677583415, "4": 0.011793028130742579}, "creative_writing_quality": {"not_applicable": 0.999233023540627, "-2": 7.335304665917953e-05, "-1": 0.0001528319698944961, "0": 0.00040879269022726364, "1": 0.00010036547759121246, "2": 3.1633275001070364e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 0.0001048555682085581, "Art & Design": 0.0020986139441599057, "Law & Crime": 8.669679461715812e-05, "Education & Careers": 7.997999941677186e-05, "Entertainment & Media": 0.0004697275292369604, "Fashion & Beauty": 7.330912944658405e-05, "Business, Economics & Finance": 0.00012428854934625272, "Food & Dining": 5.666657335504448e-05, "Games & Gaming": 0.03536773883687597, "Electronics & Hardware": 8.705720187460081e-05, "Health, Healthcare & Wellness": 5.4812770360001826e-05, "History & Geography": 7.204260684610971e-05, "Home, Pets & Hobbies": 5.285886327055235e-05, "Industry & Production": 5.67719439567791e-05, "Language, Literature & Philosophy": 6.530650946376406e-05, "Politics & Government": 3.4161917616467464e-05, "Religion & Spirituality": 6.275415509905243e-05, "Science, Mathematics & Engineering": 0.0006627973478524456, "Relationships & Community": 4.526163354920925e-05, "Software Usage & Applications": 0.0004627918521371073, "Programming & Software Engineering": 0.9594507867008775, "Sports & Fitness": 9.85108635581858e-05, "Vehicles & Transportation": 3.1970748120644366e-05, "Travel & Tourism": 7.685772035915594e-05, "Other / Uncovered Subject": 0.00011467044916882573, "Unknown / Insufficient Content": 0.00010870979122627542}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0011908787396502966, "Art & Design": 0.04149357204765627, "Law & Crime": 0.00113247895221488, "Education & Careers": 0.00044225228359661794, "Entertainment & Media": 0.002140012349744453, "Fashion & Beauty": 0.00034865013163212734, "Business, Economics & Finance": 0.0008498871146187124, "Food & Dining": 0.0002989781479224551, "Games & Gaming": 0.1930667618225608, "Electronics & Hardware": 0.0005784158575140493, "Health, Healthcare & Wellness": 0.00039560962006747843, "History & Geography": 0.00042589271547012806, "Home, Pets & Hobbies": 0.0003713161568850532, "Industry & Production": 0.00027545915851576945, "Language, Literature & Philosophy": 0.0003443653346603625, "Politics & Government": 0.0002609326496825836, "Religion & Spirituality": 0.0004138942978576547, "Science, Mathematics & Engineering": 0.0036837526857209637, "Relationships & Community": 0.00025658537273273783, "Software Usage & Applications": 0.0012881173432721642, "Programming & Software Engineering": 0.0417742868131577, "Sports & Fitness": 0.0003640148125545849, "Vehicles & Transportation": 0.00017084615238618293, "Travel & Tourism": 0.0005478608813905753, "Other / Uncovered Subject": 0.0005405589343434336, "NONE": 0.707344619624192}}, "probabilities": {"primary": {"Academic Writing": 2.914933926798076e-05, "Content Listing": 1.9050275813595855e-05, "Creative Writing": 1.9564556959804897e-05, "Customer Support Page": 1.1186494448385785e-05, "Q&A Forum": 1.072598938407627e-05, "Discussion Thread": 7.409689663902926e-06, "Comment Section": 1.6107944937343887e-05, "Missing Content": 3.512364748337411e-05, "Knowledge Article": 6.64109418909814e-05, "Legal Notices": 0.0001403450077004864, "News Article": 4.088063121820781e-06, "Organizational Announcement": 1.2203162874072236e-05, "Nonfiction Writing": 9.090298025753969e-06, "Organizational About Page": 1.2587417345491987e-05, "Personal About Page": 1.2509404091333427e-05, "Personal Blog": 7.197261002971356e-06, "Product Page": 9.287046160181259e-06, "Spam / Ads": 1.120649397926061e-05, "Structured Data": 0.0014666234906741693, "Technical Writing": 0.9965852197636725, "Transcript / Interview": 1.3736259291779635e-05, "Tutorial / How-To Guide": 0.00023771845064803304, "User Reviews": 6.369093380502562e-06, "Other / Unknown": 0.0012570899081821765}, "secondary": {"Academic Writing": 0.000595274570854419, "Content Listing": 0.00040984848271695217, "Creative Writing": 0.0005879184690170599, "Customer Support Page": 0.0003677544005631246, "Q&A Forum": 0.0002810080521034909, "Discussion Thread": 0.00023652138803169776, "Comment Section": 0.0004927094434985182, "Missing Content": 0.0007421404349734005, "Knowledge Article": 0.0008471647064774583, "Legal Notices": 0.15182607574804702, "News Article": 0.00039599888382954183, "Organizational Announcement": 0.0005255003344139855, "Nonfiction Writing": 0.0003813279316760567, "Organizational About Page": 0.0006040127959854345, "Personal About Page": 0.0003896650878055287, "Personal Blog": 0.00026257031322436816, "Product Page": 0.00032623752658579813, "Spam / Ads": 0.0005019744325065667, "Structured Data": 0.007558384114762563, "Technical Writing": 0.013763271888042513, "Transcript / Interview": 0.0005657109183638631, "Tutorial / How-To Guide": 0.001528596228225747, "User Reviews": 0.0001797136409973857, "NONE": 0.8166306202072974}, "tertiary": {"Academic Writing": 0.0003962097022951596, "Content Listing": 0.0003248414221003411, "Creative Writing": 0.0004082709134262864, "Customer Support Page": 0.0002669552310889191, "Q&A Forum": 0.0001996792668482244, "Discussion Thread": 0.00019416003337036157, "Comment Section": 0.0004133975769579534, "Missing Content": 0.0005780815796093692, "Knowledge Article": 0.0007388507056053528, "Legal Notices": 0.26019467175094635, "News Article": 0.0003097632783378755, "Organizational Announcement": 0.0003772913670048038, "Nonfiction Writing": 0.00033332080722486184, "Organizational About Page": 0.0005950438935819062, "Personal About Page": 0.00030066194124716194, "Personal Blog": 0.0001883757467816402, "Product Page": 0.0003243854174914921, "Spam / Ads": 0.0004979075536987423, "Structured Data": 0.002273279198461509, "Technical Writing": 0.00938952372547168, "Transcript / Interview": 0.0003969574263269737, "Tutorial / How-To Guide": 0.0010365207887013427, "User Reviews": 0.00016557829365540638, "NONE": 0.7200962723797663}, "structured_records": {"false": 0.9849153328983346, "true": 0.015084667101665459}, "procedural_steps": {"false": 0.9878915972302389, "true": 0.012108402769761098}, "worked_solution": {"false": 0.993765480228744, "true": 0.00623451977125605}, "contextual_dialogue": {"false": 0.9999900379946309, "true": 9.962005369092744e-06}, "content_quality": {"-2": 0.0054115323262652415, "-1": 0.01957895561904438, "0": 0.21743133168525247, "1": 0.5205590115733726, "2": 0.23701916879606527}, "noise_severity": {"0": 0.785944473063563, "1": 0.1997347447305395, "2": 0.010612370063911572, "3": 0.0022649957574702576, "4": 0.001443416384515559}, "missing_content_severity": {"0": 0.9675240788022264, "1": 0.0220162612460301, "2": 0.007900994650439464, "3": 0.0018503507772815173, "4": 0.0007083145240226087}, "factual_density": {"0": 0.002617744194768519, "1": 0.005115664519440234, "2": 0.054719514891366415, "3": 0.38125678192559376, "4": 0.556290294468831}, "pretraining_utility": {"-2": 0.009671165778033734, "-1": 0.13518237947152897, "0": 0.4849606520689602, "1": 0.31752278420842217, "2": 0.052663018473054914}, "math_density": {"0": 0.116010673006488, "1": 0.3061826168642707, "2": 0.35171834459485024, "3": 0.12128995205325749, "4": 0.10479841348113368}, "code_density": {"0": 0.00040543584926311794, "1": 0.0008075579073543924, "2": 0.024808556837627522, "3": 0.1406809293299171, "4": 0.8332975200758379}, "reasoning_density": {"0": 0.745009036353664, "1": 0.08312844744294719, "2": 0.10637807779755738, "3": 0.04647903536792222, "4": 0.019005403037909197}, "education_level": {"none": 0.0016134576002039896, "0": 0.0017817251617196852, "1": 0.06092851922383789, "2": 0.7945020021251544, "3": 0.1293812677583415, "4": 0.011793028130742579}, "creative_writing_quality": {"not_applicable": 0.9992330235406268, "-2": 7.335304665917952e-05, "-1": 0.00015283196989449607, "0": 0.0004087926902272635, "1": 0.00010036547759121243, "2": 3.163327500107036e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 0.00010485556820855811, "Art & Design": 0.002098613944159906, "Law & Crime": 8.669679461715814e-05, "Education & Careers": 7.997999941677188e-05, "Entertainment & Media": 0.00046972752923696043, "Fashion & Beauty": 7.330912944658407e-05, "Business, Economics & Finance": 0.00012428854934625275, "Food & Dining": 5.666657335504449e-05, "Games & Gaming": 0.035367738836875974, "Electronics & Hardware": 8.705720187460082e-05, "Health, Healthcare & Wellness": 5.481277036000183e-05, "History & Geography": 7.204260684610973e-05, "Home, Pets & Hobbies": 5.2858863270552354e-05, "Industry & Production": 5.6771943956779105e-05, "Language, Literature & Philosophy": 6.530650946376408e-05, "Politics & Government": 3.416191761646747e-05, "Religion & Spirituality": 6.275415509905245e-05, "Science, Mathematics & Engineering": 0.0006627973478524458, "Relationships & Community": 4.5261633549209255e-05, "Software Usage & Applications": 0.00046279185213710734, "Programming & Software Engineering": 0.9594507867008776, "Sports & Fitness": 9.851086355818582e-05, "Vehicles & Transportation": 3.197074812064437e-05, "Travel & Tourism": 7.685772035915595e-05, "Other / Uncovered Subject": 0.00011467044916882575, "Unknown / Insufficient Content": 0.00010870979122627544}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0011908787396502966, "Art & Design": 0.04149357204765627, "Law & Crime": 0.00113247895221488, "Education & Careers": 0.00044225228359661794, "Entertainment & Media": 0.002140012349744453, "Fashion & Beauty": 0.00034865013163212734, "Business, Economics & Finance": 0.0008498871146187124, "Food & Dining": 0.0002989781479224551, "Games & Gaming": 0.1930667618225608, "Electronics & Hardware": 0.0005784158575140493, "Health, Healthcare & Wellness": 0.00039560962006747843, "History & Geography": 0.00042589271547012806, "Home, Pets & Hobbies": 0.0003713161568850532, "Industry & Production": 0.00027545915851576945, "Language, Literature & Philosophy": 0.0003443653346603625, "Politics & Government": 0.0002609326496825836, "Religion & Spirituality": 0.0004138942978576547, "Science, Mathematics & Engineering": 0.0036837526857209637, "Relationships & Community": 0.00025658537273273783, "Software Usage & Applications": 0.0012881173432721642, "Programming & Software Engineering": 0.0417742868131577, "Sports & Fitness": 0.0003640148125545849, "Vehicles & Transportation": 0.00017084615238618293, "Travel & Tourism": 0.0005478608813905753, "Other / Uncovered Subject": 0.0005405589343434336, "NONE": 0.707344619624192}}, "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": 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": 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.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}}, "usage": {"input_tokens": 10007, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 10007, "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.994112+00:00", "scoring_key_slot": "assistant_1", "dataset_uid": "68d63b61-7f99-41f3-a33b-fcc1856fa2bc", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "4f7508a88e1c565f5056269dabd3ee4a338854413213f5ca83f0b178832af25b", "source_metadata": {"uuid": "68d63b61-7f99-41f3-a33b-fcc1856fa2bc", "repo_name": "GreaseForPeace/BattleArena", "relative_path": "Assets/UniRPG/Scripts/Game/GUI/UniRPGGUI.cs", "category": "TOOL", "algo_rel_score": 0.7274056673049927, "quality_score": 5.858779430389404, "source_meta": {"github_metadata": {"branch": "master", "commit_count": 3, "repo_created_at": "2015-05-27T21:32:57.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 1, "forks": 0, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "ac2798787ea5d050d5023b78dc964946fc186336", "size_bytes": 5442, "file_timestamp": 1435253461, "language": "c#", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "92a5ed26d08512d6249cea359304536beca48211"}}, "parsed_source_meta": {"github_metadata": {"branch": "master", "commit_count": 3, "repo_created_at": "2015-05-27T21:32:57.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 1, "forks": 0, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "ac2798787ea5d050d5023b78dc964946fc186336", "size_bytes": 5442, "file_timestamp": 1435253461, "language": "c#", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "92a5ed26d08512d6249cea359304536beca48211", "url": "https://github.com/GreaseForPeace/BattleArena/blob/92a5ed26d08512d6249cea359304536beca48211/Assets/UniRPG/Scripts/Game/GUI/UniRPGGUI.cs"}, "gpt4o_tokens": 1389, "dataset_split": "csharp", "probability_weighted_scores": {"content_quality": 0.9641953288939282, "noise_severity": 0.23352813766883568, "missing_content_severity": 0.046202560974844015, "factual_density": 3.4834862179542787, "pretraining_utility": 0.2683241101269356, "math_density": 1.7926828161382784, "code_density": 3.805657539875712, "reasoning_density": 0.5113433212934654, "education_level": 2.088618336400933, "creative_writing_quality": -0.1771971407447958}, "score_applicability": {"education_level": 0.9983865423997961, "creative_writing_quality": 0.0007669764593732219}} {"source_group": "csharp", "source": "openbmb/UltraData-Stack-v3-L2/csharp", "domain": "github.com", "language": "csharp", "url": "https://github.com/oapicf/pinterest-sdk/blob/eeaf5c17343ec21db8675f40f7f5af16f427c8a3/clients/aspnetcore/generated/src/Org.OpenAPITools/Controllers/BulkApi.cs", "id": "csharp-0-66a62b913b9e58305ef0e3bf49c9ba14", "text": "/*\n * Pinterest REST API\n *\n * Pinterest's REST API\n *\n * The version of the OpenAPI document: 5.14.0\n * Contact: \n * Generated by: https://openapi-generator.tech\n */\n\nusing System;\nusing System.Collections.Generic;\nusing System.ComponentModel.DataAnnotations;\nusing Microsoft.AspNetCore.Authorization;\nusing Microsoft.AspNetCore.Mvc;\nusing Microsoft.AspNetCore.Http;\nusing Swashbuckle.AspNetCore.Annotations;\nusing Swashbuckle.AspNetCore.SwaggerGen;\nusing Newtonsoft.Json;\nusing Org.OpenAPITools.Attributes;\nusing Org.OpenAPITools.Models;\n\nnamespace Org.OpenAPITools.Controllers\n{ \n /// \n /// \n /// \n [ApiController]\n public class BulkApiController : ControllerBase\n { \n /// \n /// Get advertiser entities in bulk\n /// \n /// Create an asynchronous report that may include information on campaigns, ad groups, product groups, ads, and/or keywords; can filter by campaigns. Though the entities may be active, archived, or paused, only active entities will return data.\n /// Unique identifier of an ad account.\n /// Parameters to get ad entities in bulk\n /// Success\n /// Unexpected error\n [HttpPost]\n [Route(\"/v5/ad_accounts/{ad_account_id}/bulk/download\")]\n [Consumes(\"application/json\")]\n [ValidateModelState]\n [SwaggerOperation(\"BulkDownloadCreate\")]\n [SwaggerResponse(statusCode: 200, type: typeof(BulkDownloadResponse), description: \"Success\")]\n [SwaggerResponse(statusCode: 0, type: typeof(Error), description: \"Unexpected error\")]\n public virtual IActionResult BulkDownloadCreate([FromRoute (Name = \"ad_account_id\")][Required][RegularExpression(\"^\\\\d+$\")] [MaxLength(18)]string adAccountId, [FromBody]BulkDownloadRequest bulkDownloadRequest)\n {\n\n //TODO: Uncomment the next line to return response 200 or use other options such as return this.NotFound(), return this.BadRequest(..), ...\n // return StatusCode(200, default(BulkDownloadResponse));\n //TODO: Uncomment the next line to return response 0 or use other options such as return this.NotFound(), return this.BadRequest(..), ...\n // return StatusCode(0, default(Error));\n string exampleJson = null;\n exampleJson = \"{\\n \\\"request_id\\\" : \\\"2680059592705\\\"\\n}\";\n exampleJson = \"{\\n \\\"code\\\" : 0,\\n \\\"message\\\" : \\\"message\\\"\\n}\";\n \n var example = exampleJson != null\n ? JsonConvert.DeserializeObject(exampleJson)\n : default(BulkDownloadResponse);\n //TODO: Change the data returned\n return new ObjectResult(example);\n }\n\n /// \n /// Download advertiser entities in bulk\n /// \n /// Get the status of a bulk request by request_id, along with a download URL that will allow you to download the new or updated entity data (campaigns, ad groups, product groups, ads, or keywords).\n /// Unique identifier of an ad account.\n /// Unique identifier of a bulk upsert request.\n /// if set to True then attach the errors/details to all the requests\n /// Success\n /// Unexpected error\n [HttpGet]\n [Route(\"/v5/ad_accounts/{ad_account_id}/bulk/{bulk_request_id}\")]\n [ValidateModelState]\n [SwaggerOperation(\"BulkRequestGet\")]\n [SwaggerResponse(statusCode: 200, type: typeof(BulkUpsertStatusResponse), description: \"Success\")]\n [SwaggerResponse(statusCode: 0, type: typeof(Error), description: \"Unexpected error\")]\n public virtual IActionResult BulkRequestGet([FromRoute (Name = \"ad_account_id\")][Required][RegularExpression(\"^\\\\d+$\")] [MaxLength(18)]string adAccountId, [FromRoute (Name = \"bulk_request_id\")][Required]string bulkRequestId, [FromQuery (Name = \"include_details\")]bool? includeDetails)\n {\n\n //TODO: Uncomment the next line to return response 200 or use other options such as return this.NotFound(), return this.BadRequest(..), ...\n // return StatusCode(200, default(BulkUpsertStatusResponse));\n //TODO: Uncomment the next line to return response 0 or use other options such as return this.NotFound(), return this.BadRequest(..), ...\n // return StatusCode(0, default(Error));\n string exampleJson = null;\n exampleJson = \"{\\n \\\"result_url\\\" : \\\"https://pinterest-waterloo.s3.us-east-1.amazonaws.com/bulk_framework/AD_ENTITY_UPSERT/549763856637-1659122537-0b4d77d3-f620-48ce-bec9-616106afb8d4/(...)\\\",\\n \\\"status\\\" : \\\"SUCCEEDED\\\"\\n}\";\n exampleJson = \"{\\n \\\"code\\\" : 0,\\n \\\"message\\\" : \\\"message\\\"\\n}\";\n \n var example = exampleJson != null\n ? JsonConvert.DeserializeObject(exampleJson)\n : default(BulkUpsertStatusResponse);\n //TODO: Change the data returned\n return new ObjectResult(example);\n }\n\n /// \n /// Create/update ad entities in bulk\n /// \n /// Either create or update any combination of campaigns, ad groups, product groups, ads, or keywords. Note that this request will be processed asynchronously; the response will include a request_id that can be used to obtain the status of the request.\n /// Unique identifier of an ad account.\n /// Parameters to get create/update ad entities in bulk\n /// Success\n /// Unexpected error\n [HttpPost]\n [Route(\"/v5/ad_accounts/{ad_account_id}/bulk/upsert\")]\n [Consumes(\"application/json\")]\n [ValidateModelState]\n [SwaggerOperation(\"BulkUpsertCreate\")]\n [SwaggerResponse(statusCode: 200, type: typeof(BulkUpsertResponse), description: \"Success\")]\n [SwaggerResponse(statusCode: 0, type: typeof(Error), description: \"Unexpected error\")]\n public virtual IActionResult BulkUpsertCreate([FromRoute (Name = \"ad_account_id\")][Required][RegularExpression(\"^\\\\d+$\")] [MaxLength(18)]string adAccountId, [FromBody]BulkUpsertRequest bulkUpsertRequest)\n {\n\n //TODO: Uncomment the next line to return response 200 or use other options such as return this.NotFound(), return this.BadRequest(..), ...\n // return StatusCode(200, default(BulkUpsertResponse));\n //TODO: Uncomment the next line to return response 0 or use other options such as return this.NotFound(), return this.BadRequest(..), ...\n // return StatusCode(0, default(Error));\n string exampleJson = null;\n exampleJson = \"{\\n \\\"request_id\\\" : \\\"549763856477-1660864560-1407e16a-c586-4add-94df-d0b160bec0ff, 549763856477-1660864560-d0b160bec0ff\\\"\\n}\";\n exampleJson = \"{\\n \\\"code\\\" : 0,\\n \\\"message\\\" : \\\"message\\\"\\n}\";\n \n var example = exampleJson != null\n ? JsonConvert.DeserializeObject(exampleJson)\n : default(BulkUpsertResponse);\n //TODO: Change the data returned\n return new ObjectResult(example);\n }\n }\n}\n", "text_preview": "/* * Pinterest REST API * * Pinterest's REST API * * The version of the OpenAPI document: 5.14.0 * Contact: * Generated by: https://openapi-generator.tech */ using System; using System.Collections.Generic; using System.ComponentMode", "input_sha256": "8b128dfb31596e71b5b091eba36f2b9cd64968cd71f99fd75e57d3d97d3f5366", "text_sha256": "66a62b913b9e58305ef0e3bf49c9ba148d2fe1b0764ae1595d89615d623b67e6", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 2015, "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.6369511494923228, "noise_severity": 0.6942893808441059, "missing_content_severity": 0.28531675272727286, "factual_density": 2.888735892561165, "pretraining_utility": 0.038014015767441386, "math_density": 0.04527314070522649, "code_density": 3.738325579145525, "reasoning_density": 0.05977934518828779, "education_level": 2.480204162908675, "creative_writing_quality": -0.47253863422825065}, "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.018769685642442552, "secondary_choice": "NONE", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.9968096557702808, "secondary": 0.8699857546655054, "tertiary": 0.8613130589199289, "structured_records": 0.16399097005799804, "procedural_steps": 0.0017749698733111137, "worked_solution": 0.0010663276020922308, "contextual_dialogue": 6.279905069077913e-06, "content_quality": 0.43399603428859246, "noise_severity": 0.42142551596324496, "missing_content_severity": 0.7622360393939392, "factual_density": 0.48566572484936876, "pretraining_utility": 0.5501402452509396, "math_density": 0.9622723827456446, "code_density": 0.7819379826212705, "reasoning_density": 0.9501838790097602, "education_level": 0.46681351613588556, "creative_writing_quality": 0.9992308262507287, "primary_topic": 0.9846801205225529, "secondary_topic": 0.7653561990316141}, "probability_margin": {"primary": 0.9951317144006613, "secondary": 0.7974474019761167, "tertiary": 0.77036638291083, "education_level": 0.17282742940917678, "creative_writing_quality": 0.9990808295875562, "primary_topic": 0.978588806725511, "secondary_topic": 0.6432877662123714}, "raw_probabilities": {"primary": {"Academic Writing": 2.0853848012343992e-05, "Content Listing": 3.099262145687805e-05, "Creative Writing": 9.380679380592727e-06, "Customer Support Page": 6.454309148615754e-05, "Q&A Forum": 8.433280950938975e-06, "Discussion Thread": 5.0747635647295584e-06, "Comment Section": 8.73203828338427e-06, "Missing Content": 2.3628601416773277e-05, "Knowledge Article": 6.182486840012637e-05, "Legal Notices": 3.167213091005759e-05, "News Article": 3.293347433636802e-06, "Organizational Announcement": 9.290323256441077e-06, "Nonfiction Writing": 5.2434241685741275e-06, "Organizational About Page": 9.074239067161456e-06, "Personal About Page": 5.6202760660020265e-06, "Personal Blog": 5.541791939785272e-06, "Product Page": 8.550252096811064e-06, "Spam / Ads": 6.773181920027875e-06, "Structured Data": 0.001810872379191203, "Technical Writing": 0.9969425867798525, "Transcript / Interview": 1.0871996709053837e-05, "Tutorial / How-To Guide": 0.00020708036494072903, "User Reviews": 4.0947712044505134e-06, "Other / Unknown": 0.0007059709482917075}, "secondary": {"Academic Writing": 0.0004694803433541436, "Content Listing": 0.0006273097425716939, "Creative Writing": 0.0004077710200715485, "Customer Support Page": 0.0007093858267312761, "Q&A Forum": 0.00023929685336548842, "Discussion Thread": 0.000169657266582092, "Comment Section": 0.0004980829532603253, "Missing Content": 0.0014775320610283464, "Knowledge Article": 0.0010874142601557887, "Legal Notices": 0.007757500780200532, "News Article": 0.0002754576223799803, "Organizational Announcement": 0.00034361610708646327, "Nonfiction Writing": 0.0002710815496630721, "Organizational About Page": 0.00034040372107035975, "Personal About Page": 0.0001987150458645473, "Personal Blog": 0.0002335977752502815, "Product Page": 0.0002209517372193873, "Spam / Ads": 0.0003201382377323496, "Structured Data": 0.07795561291165928, "Technical Writing": 0.028954563951834975, "Transcript / Interview": 0.00032530778433953315, "Tutorial / How-To Guide": 0.00157997848334311, "User Reviews": 0.0001341290774592675, "NONE": 0.875403014887776}, "tertiary": {"Academic Writing": 0.00037727095545468507, "Content Listing": 0.0006729460346367932, "Creative Writing": 0.00036605991348604675, "Customer Support Page": 0.0008330225692230053, "Q&A Forum": 0.000202806112152606, "Discussion Thread": 0.00014337477465207134, "Comment Section": 0.0007378992113274845, "Missing Content": 0.0016680276341908135, "Knowledge Article": 0.0010014720168302679, "Legal Notices": 0.01024095062520672, "News Article": 0.0002657341675544944, "Organizational Announcement": 0.00032753073678829783, "Nonfiction Writing": 0.00023518282348982075, "Organizational About Page": 0.0003968647902650542, "Personal About Page": 0.00015933911092648847, "Personal Blog": 0.00016394945012074988, "Product Page": 0.00023575635276262483, "Spam / Ads": 0.0003209936138588102, "Structured Data": 0.09672529855410185, "Technical Writing": 0.016205260462750618, "Transcript / Interview": 0.0002809309762584908, "Tutorial / How-To Guide": 0.001237622690968992, "User Reviews": 0.00011002495806143927, "NONE": 0.8670916814649319}, "structured_records": {"false": 0.836009029942002, "true": 0.16399097005799804}, "procedural_steps": {"false": 0.9982250301266888, "true": 0.0017749698733111137}, "worked_solution": {"false": 0.9989336723979078, "true": 0.0010663276020922308}, "contextual_dialogue": {"false": 0.9999937200949309, "true": 6.279905069077913e-06}, "content_quality": {"-2": 0.014099179563343375, "-1": 0.07788608984645386, "0": 0.32305708629774527, "1": 0.4268796901194517, "2": 0.15807795417300582}, "noise_severity": {"0": 0.46017845232419435, "1": 0.4023896644458629, "2": 0.12491595562272904, "3": 0.007995905276070556, "4": 0.004520022331143342}, "missing_content_severity": {"0": 0.7840138268601902, "1": 0.16530933171220016, "2": 0.03562355084364412, "3": 0.011452843008077558, "4": 0.0036004475758879425}, "factual_density": {"0": 0.006888877687992294, "1": 0.05400762055177264, "2": 0.23555074464227402, "3": 0.4505842457469998, "4": 0.2529685113709612}, "pretraining_utility": {"-2": 0.014144942515793804, "-1": 0.22261895993412795, "0": 0.49854890649798694, "1": 0.24045152137102563, "2": 0.024235669681065657}, "math_density": {"0": 0.961123107717108, "1": 0.035371418056929844, "2": 0.0017887323059471417, "3": 0.0005427096436571951, "4": 0.0011740322763576928}, "code_density": {"0": 0.00036823124461693956, "1": 0.0008105442309039659, "2": 0.024625848639999514, "3": 0.20851816590329672, "4": 0.7656772099811829}, "reasoning_density": {"0": 0.9508208593970268, "1": 0.03996307794480689, "2": 0.008177045317859934, "3": 0.0006938927534643649, "4": 0.00034512458684198173}, "education_level": {"none": 0.0011244431974006036, "0": 0.0012758743452998297, "1": 0.006259018229710976, "2": 0.555677930113238, "3": 0.3828505007040612, "4": 0.05281223341028939}, "creative_writing_quality": {"not_applicable": 0.9993590218756072, "-2": 9.33950200362354e-05, "-1": 0.00020205787029937923, "0": 0.000278192288051015, "1": 4.870490911163785e-05, "2": 1.862803689468933e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 3.736202324189302e-05, "Art & Design": 0.00011177048610884321, "Law & Crime": 3.8991051445539e-05, "Education & Careers": 3.5306836292247e-05, "Entertainment & Media": 0.00018667388217893948, "Fashion & Beauty": 6.123325890202347e-05, "Business, Economics & Finance": 0.006287558139841997, "Food & Dining": 2.600453444960072e-05, "Games & Gaming": 4.5809486946109765e-05, "Electronics & Hardware": 5.090280329313951e-05, "Health, Healthcare & Wellness": 2.7193286331023607e-05, "History & Geography": 2.5995632824983514e-05, "Home, Pets & Hobbies": 2.183232895003046e-05, "Industry & Production": 2.992598373844722e-05, "Language, Literature & Philosophy": 3.0651818944006645e-05, "Politics & Government": 3.036857824882939e-05, "Religion & Spirituality": 2.857875761755009e-05, "Science, Mathematics & Engineering": 6.260005402298031e-05, "Relationships & Community": 7.929173062561166e-05, "Software Usage & Applications": 0.006680539930790007, "Programming & Software Engineering": 0.985269346656301, "Sports & Fitness": 3.842643833589828e-05, "Vehicles & Transportation": 1.275767418215842e-05, "Travel & Tourism": 3.402683182315039e-05, "Other / Uncovered Subject": 0.0006902871371772334, "Unknown / Insufficient Content": 5.656465738666942e-05}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0009566587259467039, "Art & Design": 0.0012289576492551366, "Law & Crime": 0.0007115364803525186, "Education & Careers": 0.00036979740117258625, "Entertainment & Media": 0.0037196221885615675, "Fashion & Beauty": 0.0005037817710584815, "Business, Economics & Finance": 0.13109319439494996, "Food & Dining": 0.00023626192278927238, "Games & Gaming": 0.00044890553877649514, "Electronics & Hardware": 0.0004056053480210298, "Health, Healthcare & Wellness": 0.0003122575424301278, "History & Geography": 0.0002507554009599641, "Home, Pets & Hobbies": 0.00025875138031591796, "Industry & Production": 0.0002593842403720275, "Language, Literature & Philosophy": 0.00024594170476533665, "Politics & Government": 0.0003542312062039769, "Religion & Spirituality": 0.0003669549587707204, "Science, Mathematics & Engineering": 0.0004719714671707373, "Relationships & Community": 0.00032509926953880466, "Software Usage & Applications": 0.04309337127182632, "Programming & Software Engineering": 0.037972796070021436, "Sports & Fitness": 0.0002165315141551177, "Vehicles & Transportation": 0.00011212833649111947, "Travel & Tourism": 0.00029429389259746913, "Other / Uncovered Subject": 0.0014102497161758898, "NONE": 0.7743809606073213}}, "probabilities": {"primary": {"Academic Writing": 2.0853848012343992e-05, "Content Listing": 3.099262145687805e-05, "Creative Writing": 9.380679380592727e-06, "Customer Support Page": 6.454309148615754e-05, "Q&A Forum": 8.433280950938975e-06, "Discussion Thread": 5.0747635647295584e-06, "Comment Section": 8.73203828338427e-06, "Missing Content": 2.3628601416773277e-05, "Knowledge Article": 6.182486840012637e-05, "Legal Notices": 3.167213091005759e-05, "News Article": 3.293347433636802e-06, "Organizational Announcement": 9.290323256441077e-06, "Nonfiction Writing": 5.2434241685741275e-06, "Organizational About Page": 9.074239067161456e-06, "Personal About Page": 5.6202760660020265e-06, "Personal Blog": 5.541791939785272e-06, "Product Page": 8.550252096811064e-06, "Spam / Ads": 6.773181920027875e-06, "Structured Data": 0.001810872379191203, "Technical Writing": 0.9969425867798525, "Transcript / Interview": 1.0871996709053837e-05, "Tutorial / How-To Guide": 0.00020708036494072903, "User Reviews": 4.0947712044505134e-06, "Other / Unknown": 0.0007059709482917075}, "secondary": {"Academic Writing": 0.00046948034335414366, "Content Listing": 0.000627309742571694, "Creative Writing": 0.00040777102007154856, "Customer Support Page": 0.0007093858267312762, "Q&A Forum": 0.00023929685336548844, "Discussion Thread": 0.00016965726658209202, "Comment Section": 0.0004980829532603254, "Missing Content": 0.0014775320610283466, "Knowledge Article": 0.001087414260155789, "Legal Notices": 0.007757500780200533, "News Article": 0.00027545762237998035, "Organizational Announcement": 0.0003436161070864633, "Nonfiction Writing": 0.00027108154966307217, "Organizational About Page": 0.0003404037210703598, "Personal About Page": 0.00019871504586454732, "Personal Blog": 0.00023359777525028153, "Product Page": 0.00022095173721938734, "Spam / Ads": 0.0003201382377323497, "Structured Data": 0.0779556129116593, "Technical Writing": 0.028954563951834978, "Transcript / Interview": 0.0003253077843395332, "Tutorial / How-To Guide": 0.0015799784833431102, "User Reviews": 0.00013412907745926752, "NONE": 0.8754030148877762}, "tertiary": {"Academic Writing": 0.00037727095545468507, "Content Listing": 0.0006729460346367932, "Creative Writing": 0.00036605991348604675, "Customer Support Page": 0.0008330225692230053, "Q&A Forum": 0.000202806112152606, "Discussion Thread": 0.00014337477465207134, "Comment Section": 0.0007378992113274845, "Missing Content": 0.0016680276341908135, "Knowledge Article": 0.0010014720168302679, "Legal Notices": 0.01024095062520672, "News Article": 0.0002657341675544944, "Organizational Announcement": 0.00032753073678829783, "Nonfiction Writing": 0.00023518282348982075, "Organizational About Page": 0.0003968647902650542, "Personal About Page": 0.00015933911092648847, "Personal Blog": 0.00016394945012074988, "Product Page": 0.00023575635276262483, "Spam / Ads": 0.0003209936138588102, "Structured Data": 0.09672529855410185, "Technical Writing": 0.016205260462750618, "Transcript / Interview": 0.0002809309762584908, "Tutorial / How-To Guide": 0.001237622690968992, "User Reviews": 0.00011002495806143927, "NONE": 0.8670916814649319}, "structured_records": {"false": 0.836009029942002, "true": 0.16399097005799804}, "procedural_steps": {"false": 0.9982250301266888, "true": 0.0017749698733111137}, "worked_solution": {"false": 0.9989336723979078, "true": 0.0010663276020922308}, "contextual_dialogue": {"false": 0.9999937200949309, "true": 6.279905069077913e-06}, "content_quality": {"-2": 0.014099179563343375, "-1": 0.07788608984645386, "0": 0.32305708629774527, "1": 0.4268796901194517, "2": 0.15807795417300582}, "noise_severity": {"0": 0.46017845232419424, "1": 0.40238966444586277, "2": 0.12491595562272902, "3": 0.007995905276070555, "4": 0.004520022331143341}, "missing_content_severity": {"0": 0.7840138268601902, "1": 0.16530933171220016, "2": 0.03562355084364412, "3": 0.011452843008077558, "4": 0.0036004475758879425}, "factual_density": {"0": 0.006888877687992294, "1": 0.05400762055177264, "2": 0.23555074464227402, "3": 0.4505842457469998, "4": 0.2529685113709612}, "pretraining_utility": {"-2": 0.014144942515793804, "-1": 0.22261895993412795, "0": 0.49854890649798694, "1": 0.24045152137102563, "2": 0.024235669681065657}, "math_density": {"0": 0.9611231077171081, "1": 0.03537141805692985, "2": 0.0017887323059471419, "3": 0.0005427096436571952, "4": 0.001174032276357693}, "code_density": {"0": 0.00036823124461693956, "1": 0.0008105442309039659, "2": 0.024625848639999514, "3": 0.20851816590329672, "4": 0.7656772099811829}, "reasoning_density": {"0": 0.9508208593970269, "1": 0.0399630779448069, "2": 0.008177045317859935, "3": 0.000693892753464365, "4": 0.0003451245868419818}, "education_level": {"none": 0.0011244431974006038, "0": 0.00127587434529983, "1": 0.006259018229710977, "2": 0.5556779301132381, "3": 0.38285050070406124, "4": 0.0528122334102894}, "creative_writing_quality": {"not_applicable": 0.999359021875607, "-2": 9.339502003623538e-05, "-1": 0.00020205787029937917, "0": 0.0002781922880510149, "1": 4.870490911163784e-05, "2": 1.8628036894689325e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 3.736202324189303e-05, "Art & Design": 0.00011177048610884322, "Law & Crime": 3.8991051445539004e-05, "Education & Careers": 3.5306836292247005e-05, "Entertainment & Media": 0.0001866738821789395, "Fashion & Beauty": 6.123325890202348e-05, "Business, Economics & Finance": 0.006287558139841998, "Food & Dining": 2.6004534449600722e-05, "Games & Gaming": 4.580948694610977e-05, "Electronics & Hardware": 5.0902803293139514e-05, "Health, Healthcare & Wellness": 2.719328633102361e-05, "History & Geography": 2.5995632824983517e-05, "Home, Pets & Hobbies": 2.1832328950030464e-05, "Industry & Production": 2.9925983738447224e-05, "Language, Literature & Philosophy": 3.065181894400665e-05, "Politics & Government": 3.0368578248829392e-05, "Religion & Spirituality": 2.8578757617550093e-05, "Science, Mathematics & Engineering": 6.260005402298032e-05, "Relationships & Community": 7.929173062561167e-05, "Software Usage & Applications": 0.006680539930790008, "Programming & Software Engineering": 0.9852693466563011, "Sports & Fitness": 3.842643833589829e-05, "Vehicles & Transportation": 1.2757674182158422e-05, "Travel & Tourism": 3.4026831823150395e-05, "Other / Uncovered Subject": 0.0006902871371772335, "Unknown / Insufficient Content": 5.656465738666943e-05}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0009566587259467039, "Art & Design": 0.0012289576492551366, "Law & Crime": 0.0007115364803525186, "Education & Careers": 0.00036979740117258625, "Entertainment & Media": 0.0037196221885615675, "Fashion & Beauty": 0.0005037817710584815, "Business, Economics & Finance": 0.13109319439494996, "Food & Dining": 0.00023626192278927238, "Games & Gaming": 0.00044890553877649514, "Electronics & Hardware": 0.0004056053480210298, "Health, Healthcare & Wellness": 0.0003122575424301278, "History & Geography": 0.0002507554009599641, "Home, Pets & Hobbies": 0.00025875138031591796, "Industry & Production": 0.0002593842403720275, "Language, Literature & Philosophy": 0.00024594170476533665, "Politics & Government": 0.0003542312062039769, "Religion & Spirituality": 0.0003669549587707204, "Science, Mathematics & Engineering": 0.0004719714671707373, "Relationships & Community": 0.00032509926953880466, "Software Usage & Applications": 0.04309337127182632, "Programming & Software Engineering": 0.037972796070021436, "Sports & Fitness": 0.0002165315141551177, "Vehicles & Transportation": 0.00011212833649111947, "Travel & Tourism": 0.00029429389259746913, "Other / Uncovered Subject": 0.0014102497161758898, "NONE": 0.7743809606073213}}, "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.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": 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": 10411, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 10411, "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.053524+00:00", "scoring_key_slot": "primary", "dataset_uid": "cb682d9e-f94b-4b9e-be47-c641343bec76", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "9cd9e99106cc734333beaf8cf83087c842bbc4bf7c4be380cd67f60e325d4d67", "source_metadata": {"uuid": "cb682d9e-f94b-4b9e-be47-c641343bec76", "repo_name": "oapicf/pinterest-sdk", "relative_path": "clients/aspnetcore/generated/src/Org.OpenAPITools/Controllers/BulkApi.cs", "category": "CONFIG", "algo_rel_score": 0.6985664963722229, "quality_score": 4.825534343719482, "source_meta": {"github_metadata": {"branch": "main", "commit_count": 57, "repo_created_at": "2022-05-06T13:40:19.000Z", "is_fork": false, "is_org_owned": true, "forked_from": null, "stars": 2, "forks": 0, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "5b3db3692aff787a474008cdac089cf58949bb4a", "size_bytes": 7687, "file_timestamp": 1746856169, "language": "c#", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "eeaf5c17343ec21db8675f40f7f5af16f427c8a3"}}, "parsed_source_meta": {"github_metadata": {"branch": "main", "commit_count": 57, "repo_created_at": "2022-05-06T13:40:19.000Z", "is_fork": false, "is_org_owned": true, "forked_from": null, "stars": 2, "forks": 0, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "5b3db3692aff787a474008cdac089cf58949bb4a", "size_bytes": 7687, "file_timestamp": 1746856169, "language": "c#", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "eeaf5c17343ec21db8675f40f7f5af16f427c8a3", "url": "https://github.com/oapicf/pinterest-sdk/blob/eeaf5c17343ec21db8675f40f7f5af16f427c8a3/clients/aspnetcore/generated/src/Org.OpenAPITools/Controllers/BulkApi.cs"}, "gpt4o_tokens": 1756, "dataset_split": "csharp", "probability_weighted_scores": {"content_quality": 0.6369511494923228, "noise_severity": 0.694289380844106, "missing_content_severity": 0.28531675272727286, "factual_density": 2.888735892561165, "pretraining_utility": 0.038014015767441386, "math_density": 0.04527314070522649, "code_density": 3.738325579145525, "reasoning_density": 0.05977934518828779, "education_level": 2.480204162908675, "creative_writing_quality": -0.47253863422825065}, "score_applicability": {"education_level": 0.9988755568025995, "creative_writing_quality": 0.0006409781243929566}} {"source_group": "csharp", "source": "openbmb/UltraData-Stack-v3-L2/csharp", "domain": "github.com", "language": "csharp", "url": "https://github.com/BadBro00/AcademyMobileDeveloper/blob/b6a368f5797146b9c7eff3bda55f8d4bc74bc6f0/Giorno2/Program.cs", "id": "csharp-0-6f5760ed7684850e0bd0faf49f8052a1", "text": "/*ES 1:\n Scrivere un programma che esegue il calcolo dell'area di un rettangolo\n leggendo la dimensione dei lati da Console. Utilizzare il tipo double\n \nEsercizio 2:\nNB. Possibile utilizzo di REF (documentarsi)\n\nUn ristorante desidera automatizzare il processo di prenotazione. \n Hanno bisogno di un programma che legga il conteggio delle persone e del pacchetto dalla console e calcoli\n quanto il cliente dovrebbe pagare per prenotare il posto.\n\n\n Sale diverse hanno prezzi diversi:\n\n Sala piccola Terrazza Sala grande\n prezzo: $ 2500 $ 5000 $ 7500 $\n capacità: 50 100 120\n\n \n Il ristorante ha sconti a seconda del pacchetto di servizi che il gruppo desidera.\n\n Puoi vedere gli sconti nella tabella sottostante:\n\n Normal Gold Platinum\n Sconto 5% 10% 15%\n Prezzo 500 $ 750 $ 1000 $\n\n\n Dovresti aggiungere il prezzo del pacchetto al prezzo della sala.\n Lo sconto viene calcolato in base al prezzo della sala + il prezzo del pacchetto.\n\n\nEsercizio 3\n\n Scrivere un programma che conta le calorie per una ricetta della pizza.\n Nella ricetta sono presenti solamente quattro ingredienti.\n\n\n Ogni ingrediente contiene una quantità fissa di calorie:\n\n • ingrediente 1 - 500 calorie\n • ingrediente 2 - 300 calorie\n • ingrediente 3 - 40 calorie\n • ingrediente 4 - 50 calorie\n \n Il programma determina la quantità di ingredienti da inserire.\n Ogni ingrediente può essere inserito più di una volta:\n se accade, si dovrebbe aggiungere nuovamente le calorie all'importo totale.\n Al termine, stampa le calorie totali.\n*/\nusing System;\npublic class Giorno2{\n public static void Main(){\n //Esercizio 1\n //Dichiaro le variabili\n double h,w;\n Console.WriteLine(\"Inserisci l'altezza del rettangolo: \");\n h = Convert.ToDouble(Console.ReadLine());\n Console.WriteLine(\"Inserisci la larghezza del rettangolo: \");\n w = Convert.ToDouble(Console.ReadLine());\n //Stampa dell'area\n Console.WriteLine($\"L'area del rettangolo è: {h*w}\");\n //Esercizio 2\n //Inizializzo i costi, sconti e capacità\n int costo1 = 2500;\n int costo2 = 5000;\n int costo3 = 7500;\n //----------\n int sconto1 = 500;\n int sconto2 = 750;\n int sconto3 = 1000;\n //----------\n int cap1 = 50;\n int cap2 = 100;\n int cap3 = 120;\n //-----------\n int pers,sala,pack;\n double sconto,prezzo;\n //Scelta sala\n Console.WriteLine(\"Scegli la sala:\\n1)50ps - EUR 2500\\n2)100ps - EUR 5000\\n3)120ps - EUR 7500: \");\n sala = Convert.ToInt32(Console.ReadLine());\n switch (sala){\n //Scelta la sala 1\n case 1:\n prezzo = costo1;\n //Scelta del pacchetto\n Console.WriteLine(\"Scegli il pacchetto:\\n1)5% - EUR 500\\n2)10% - EUR 750\\n3)15% - EUR 1000: \");\n pack = Convert.ToInt32(Console.ReadLine());\n switch(pack){\n //Scelto il pacchetto 1\n case 1:\n sconto = 5;\n prezzo+=sconto1;\n break;\n //Scelto il pacchetto 2\n case 2:\n sconto = 10;\n prezzo+=sconto2;\n break;\n //Scelto il pacchetto 3\n case 3:\n sconto = 15;\n prezzo+=sconto3;\n break;\n //Qualunque altra scelta inserita\n default:\n Console.WriteLine(\"Pacchetto non valido\");\n return;\n }\n break;\n case 2:\n prezzo = costo2;\n Console.WriteLine(\"Scegli il pacchetto:\\n1)5% - EUR 500\\n2)10% - EUR 750\\n3)15% - EUR 1000: \");\n pack = Convert.ToInt32(Console.ReadLine());\n switch(pack){\n case 1:\n sconto = 5;\n prezzo+=sconto1;\n break;\n case 2:\n sconto = 10;\n prezzo+=sconto2;\n break;\n case 3:\n sconto = 15;\n prezzo+=sconto3;\n break;\n default:\n Console.WriteLine(\"Pacchetto non valido\");\n return;\n }\n break;\n case 3:\n prezzo = costo3;\n Console.WriteLine(\"Scegli il pacchetto:\\n1)5% - EUR 500\\n2)10% - EUR 750\\n3)15% - EUR 1000: \");\n pack = Convert.ToInt32(Console.ReadLine());\n switch(pack){\n case 1:\n sconto = 5;\n prezzo+=sconto1;\n break;\n case 2:\n sconto = 10;\n prezzo+=sconto2;\n break;\n case 3:\n sconto = 15;\n prezzo+=sconto3;\n break;\n default:\n Console.WriteLine(\"Pacchetto non valido\");\n return;\n }\n break;\n //Qualunque altra scelta inserita\n default:\n Console.WriteLine(\"Sala non valida\");\n return;\n }\n //Controllo sul numero di persone (giusto per)\n Console.WriteLine(\"Inserisci il numero di persone: \");\n pers = Convert.ToInt32(Console.ReadLine());\n if(perscap3){\n Console.WriteLine(\"Numero di persone non valido\");\n return;\n }\n //Calcolo del prezzo\n double tot=prezzo-(prezzo*(sconto*0.01));\n Console.WriteLine($\"Il prezzo totale è: {tot}\");\n //Esercizio 3\n //Array di calorie in base ai vari ingredienti\n int tot_cal = 0;\n int cal_ing1 = 500;\n int cal_ing2 = 300;\n int cal_ing3 = 40;\n int cal_ing4 = 50;\n //Array di quantità per gestire gli ingredienti\n int cal_tot = 0;\n //Ciclo for per iterare su ciascun ingrediente, e quindi anche le capacità\n for(int i=0;i<4;i++){\n int times = 0;\n Console.WriteLine($\"Inserisci quante volte inserire l'ingrediente: {i+1}: \");\n times = Convert.ToInt32(Console.ReadLine());\n for(int j=0;j\n /// Creates a set of Kubernetes resources from Kubernetes YAML text. The YAML text\n /// may be supplied using any of the following :\n /// 1. Using a list of filenames: `Files = new[] { \"foo.yaml\", \"bar.yaml\" }`\n /// 2. Using a list of file patterns: `Files = new[] { \"foo/*.yaml\", \"bar/*.yaml\" }`\n /// 3. Using literal strings containing YAML: `Yaml = new[] { \"(LITERAL YAML HERE)\", \"(MORE YAML)\" }`\n /// 4. Any combination of files, patterns, or YAML strings.\n /// \n /// ## Example Usage\n /// ### Local File\n /// \n /// ```csharp\n /// using System.Threading.Tasks;\n /// using Pulumi;\n /// using Pulumi.Kubernetes.Yaml;\n /// \n /// class YamlStack : Stack\n /// {\n /// public YamlStack()\n /// {\n /// var helloWorld = new ConfigGroup(\"example\", new ConfigGroupArgs\n /// {\n /// Files = new[] { \"foo.yaml\" }\n /// });\n /// }\n /// }\n /// ```\n /// ### Multiple Local Files\n /// \n /// ```csharp\n /// using System.Threading.Tasks;\n /// using Pulumi;\n /// using Pulumi.Kubernetes.Yaml;\n /// \n /// class YamlStack : Stack\n /// {\n /// public YamlStack()\n /// {\n /// var helloWorld = new ConfigGroup(\"example\", new ConfigGroupArgs\n /// {\n /// Files = new[] { \"foo.yaml\", \"bar.yaml\" }\n /// });\n /// }\n /// }\n /// ```\n /// ### Local File Pattern\n /// \n /// ```csharp\n /// using System.Threading.Tasks;\n /// using Pulumi;\n /// using Pulumi.Kubernetes.Yaml;\n /// \n /// class YamlStack : Stack\n /// {\n /// public YamlStack()\n /// {\n /// var helloWorld = new ConfigGroup(\"example\", new ConfigGroupArgs\n /// {\n /// Files = new[] { \"yaml/*.yaml\" }\n /// });\n /// }\n /// }\n /// ```\n /// ### Multiple Local File Patterns\n /// \n /// ```csharp\n /// using System.Threading.Tasks;\n /// using Pulumi;\n /// using Pulumi.Kubernetes.Yaml;\n /// \n /// class YamlStack : Stack\n /// {\n /// public YamlStack()\n /// {\n /// var helloWorld = new ConfigGroup(\"example\", new ConfigGroupArgs\n /// {\n /// Files = new[] { \"foo/*.yaml\", \"bar/*.yaml\" }\n /// });\n /// }\n /// }\n /// ```\n /// ### Literal YAML String\n /// \n /// ```csharp\n /// using System.Threading.Tasks;\n /// using Pulumi;\n /// using Pulumi.Kubernetes.Yaml;\n /// \n /// class YamlStack : Stack\n /// {\n /// public YamlStack()\n /// {\n /// var helloWorld = new ConfigGroup(\"example\", new ConfigGroupArgs\n /// {\n /// Yaml = @\"\n /// apiVersion: v1\n /// kind: Namespace\n /// metadata:\n /// name: foo\n /// \",\n /// });\n /// }\n /// }\n /// ```\n /// ### YAML with Transformations\n /// \n /// ```csharp\n /// using System.Collections.Generic;\n /// using System.Collections.Immutable;\n /// using System.Threading.Tasks;\n /// using Pulumi;\n /// using Pulumi.Kubernetes.Yaml;\n /// \n /// class YamlStack : Stack\n /// {\n /// public YamlStack()\n /// {\n /// var helloWorld = new ConfigGroup(\"example\", new ConfigGroupArgs\n /// {\n /// Files = new[] { \"foo.yaml\" },\n /// Transformations =\n /// {\n /// LoadBalancerToClusterIP,\n /// ResourceAlias,\n /// OmitTestPod,\n /// }\n /// });\n /// \n /// // Make every service private to the cluster, i.e., turn all services into ClusterIP instead of LoadBalancer.\n /// ImmutableDictionary LoadBalancerToClusterIP(ImmutableDictionary obj, CustomResourceOptions opts)\n /// {\n /// if ((string)obj[\"kind\"] == \"Service\" && (string)obj[\"apiVersion\"] == \"v1\")\n /// {\n /// var spec = (ImmutableDictionary)obj[\"spec\"];\n /// if (spec != null && (string)spec[\"type\"] == \"LoadBalancer\")\n /// {\n /// return obj.SetItem(\"spec\", spec.SetItem(\"type\", \"ClusterIP\"));\n /// }\n /// }\n /// \n /// return obj;\n /// }\n /// \n /// // Set a resource alias for a previous name.\n /// ImmutableDictionary ResourceAlias(ImmutableDictionary obj, CustomResourceOptions opts)\n /// {\n /// if ((string)obj[\"kind\"] == \"Deployment\")\n /// {\n /// opts.Aliases = new List> { new Alias { Name = \"oldName\" } };\n /// }\n /// \n /// return obj;\n /// }\n /// \n /// // Omit a resource from the Chart by transforming the specified resource definition to an empty List.\n /// ImmutableDictionary OmitTestPod(ImmutableDictionary obj, CustomResourceOptions opts)\n /// {\n /// var metadata = (ImmutableDictionary)obj[\"metadata\"];\n /// if ((string)obj[\"kind\"] == \"Pod\" && (string)metadata[\"name\"] == \"test\")\n /// {\n /// return new Dictionary\n /// {\n /// [\"apiVersion\"] = \"v1\",\n /// [\"kind\"] = \"List\",\n /// [\"items\"] = new Dictionary(),\n /// }.ToImmutableDictionary();\n /// }\n /// \n /// return obj;\n /// }\n /// }\n /// }\n /// ```\n ///
\n public sealed class ConfigGroup : CollectionComponentResource\n {\n /// \n /// Create a ConfigGroup resource with the given unique name, arguments, and options.\n /// \n /// The unique name of the resource\n /// The arguments used to populate this resource's properties\n /// A bag of options that control this resource's behavior\n public ConfigGroup(string name, ConfigGroupArgs config, ComponentResourceOptions? options = null)\n : base(\"kubernetes:yaml:ConfigGroup\", name, options)\n {\n var childOpts = GetChildOptions(this, null, options);\n \n // https://github.com/pulumi/pulumi-kubernetes/issues/1214\n if (options?.Parent is not null) {\n childOpts.ResourceTransformations ??= new List();\n childOpts.ResourceTransformations.Add(Aliased(this, options.Parent));\n }\n\n RegisterResources(Parser.Parse(config, childOpts, options?.Parent ?? this));\n }\n }\n\n /// \n /// Resource arguments for .\n /// \n public class ConfigGroupArgs : ResourceArgs\n {\n /// \n /// Set of paths or a URLs that uniquely identify files.\n /// \n public string[]? Files { get; set; }\n\n private InputList? _yaml;\n\n /// \n /// YAML text containing Kubernetes resource definitions.\n /// \n public InputList Yaml\n {\n get => _yaml ??= new InputList();\n set => _yaml = value;\n }\n\n private InputList>? _objs;\n\n /// \n /// Objects representing Kubernetes resources.\n /// \n public InputList> Objs\n {\n get => _objs ??= new InputList>();\n set => _objs = value;\n }\n\n private List? _transformations;\n\n /// \n /// An optional list of transformations to apply to Kubernetes resource definitions before registering\n /// with engine.\n /// \n public List Transformations\n {\n get => _transformations ??= new List();\n set => _transformations = value;\n }\n\n /// \n /// An optional prefix for the auto-generated resource names.\n /// Example: A resource created with ResourcePrefix=\"foo\" would produce a resource named\n /// \"foo-resourceName\".\n /// \n public string? ResourcePrefix { get; set; }\n\n /// \n /// Skip await logic for all resources in this YAML. Resources will be marked ready as soon as they are created.\n /// Warning: This option should not be used if you have resources depending on Outputs from the YAML.\n /// \n public bool? SkipAwait { get; set; }\n }\n}\n", "text_preview": "// Copyright 2016-2020, Pulumi Corporation. // // 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://ww", "input_sha256": "304f289c758e5008deb29eb0032a71df0446875f4daf0b1d99874d171246dd5e", "text_sha256": "cdfe706913d538a5bc3c1f02bd852435e0feb6a606f21e6fa4d7a44b4e204c73", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 2018, "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": 1, "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.3460724452808162, "noise_severity": 0.9148116507547521, "missing_content_severity": 0.040431211402472245, "factual_density": 2.946656119708963, "pretraining_utility": 0.6131725798640806, "math_density": 0.009149257944201012, "code_density": 3.5796312617651815, "reasoning_density": 0.3297320869512446, "education_level": 2.6677016071038784, "creative_writing_quality": -0.037994895040844565}, "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", "secondary probability 0.6516 below 0.70", "tertiary probability 0.5954 below 0.70"], "format_slot_diagnostics": {"comparable": true, "secondary_tertiary_identical": false, "secondary_tertiary_max_abs_gap": 0.11721628377276211, "secondary_choice": "Legal Notices", "tertiary_choice": "Legal Notices"}, "confidence": {"primary": 0.9707731279639157, "secondary": 0.6364553137259495, "tertiary": 0.5777978320249975, "structured_records": 0.0433572934344955, "procedural_steps": 0.15344681746909006, "worked_solution": 0.01452899631507351, "contextual_dialogue": 3.899480666386301e-06, "content_quality": 0.5698581996650545, "noise_severity": 0.6441822165744812, "missing_content_severity": 0.9663073238312732, "factual_density": 0.5950981992187103, "pretraining_utility": 0.5507701628587258, "math_density": 0.9923756183798325, "code_density": 0.6496927181376513, "reasoning_density": 0.7252232608739628, "education_level": 0.388453700208686, "creative_writing_quality": 0.9989165983373326, "primary_topic": 0.9892176730641687, "secondary_topic": 0.8436254640613149}, "probability_margin": {"primary": 0.9526937222952568, "secondary": 0.4885042157460226, "tertiary": 0.36660655987087254, "education_level": 0.08016548287998232, "creative_writing_quality": 0.9985930366674861, "primary_topic": 0.9808670541146712, "secondary_topic": 0.7880497701498111}, "raw_probabilities": {"primary": {"Academic Writing": 5.732941313466197e-05, "Content Listing": 6.622348220254159e-05, "Creative Writing": 6.03743287171785e-05, "Customer Support Page": 0.004768193248198766, "Q&A Forum": 4.139171025665318e-05, "Discussion Thread": 2.425228610083535e-05, "Comment Section": 4.883833036152844e-05, "Missing Content": 5.4353921702441136e-05, "Knowledge Article": 0.0001360365776971973, "Legal Notices": 0.002072586868634505, "News Article": 1.8027968753750632e-05, "Organizational Announcement": 5.3807536537377686e-05, "Nonfiction Writing": 2.822588642483488e-05, "Organizational About Page": 4.737651447416238e-05, "Personal About Page": 2.5425802219930175e-05, "Personal Blog": 2.427068045497087e-05, "Product Page": 2.8918001004834592e-05, "Spam / Ads": 2.6155301510213473e-05, "Structured Data": 0.000292563251319866, "Technical Writing": 0.9719909142987525, "Transcript / Interview": 4.418192476052217e-05, "Tutorial / How-To Guide": 0.019297192003495663, "User Reviews": 2.1493640915947005e-05, "Other / Unknown": 0.0007718670223689673}, "secondary": {"Academic Writing": 0.0006096628653615401, "Content Listing": 0.0007696695288376897, "Creative Writing": 0.0007464529281141669, "Customer Support Page": 0.0038520250912750546, "Q&A Forum": 0.0004425418223105377, "Discussion Thread": 0.0002828805521162576, "Comment Section": 0.0005683211181880535, "Missing Content": 0.0005038516540724705, "Knowledge Article": 0.0011630627381650886, "Legal Notices": 0.6516030089873683, "News Article": 0.0004889653809472561, "Organizational Announcement": 0.0006814431249556802, "Nonfiction Writing": 0.00036507700070150336, "Organizational About Page": 0.0005677244260780216, "Personal About Page": 0.0002691864712920107, "Personal Blog": 0.0003394584402368505, "Product Page": 0.0003909345467700749, "Spam / Ads": 0.00038882800704312967, "Structured Data": 0.0007337919549564696, "Technical Writing": 0.05974494611879075, "Transcript / Interview": 0.000576468760906277, "Tutorial / How-To Guide": 0.16309879324134574, "User Reviews": 0.0002461598598456962, "NONE": 0.11156674538032132}, "tertiary": {"Academic Writing": 0.000602043958940903, "Content Listing": 0.0007429714454680495, "Creative Writing": 0.0008361813512858741, "Customer Support Page": 0.0022375868899573506, "Q&A Forum": 0.00037482249128934566, "Discussion Thread": 0.0002630840194167083, "Comment Section": 0.0005411726102894478, "Missing Content": 0.0005289275853086849, "Knowledge Article": 0.0010800566669219881, "Legal Notices": 0.5953895890239559, "News Article": 0.0005354454916766709, "Organizational Announcement": 0.0007063632072793482, "Nonfiction Writing": 0.00038066372977100117, "Organizational About Page": 0.0006691492404469218, "Personal About Page": 0.0002820236856505375, "Personal Blog": 0.0003573652439599939, "Product Page": 0.00039786414702316236, "Spam / Ads": 0.0004967068950452803, "Structured Data": 0.0009196039228884998, "Technical Writing": 0.03294442470233235, "Transcript / Interview": 0.0005255206237716997, "Tutorial / How-To Guide": 0.13015142932314136, "User Reviews": 0.00025397459109528943, "NONE": 0.22878302915308338}, "structured_records": {"false": 0.9566427065655045, "true": 0.0433572934344955}, "procedural_steps": {"false": 0.8465531825309099, "true": 0.15344681746909006}, "worked_solution": {"false": 0.9854710036849265, "true": 0.01452899631507351}, "contextual_dialogue": {"false": 0.9999961005193336, "true": 3.899480666386301e-06}, "content_quality": {"-2": 0.0020667530196920884, "-1": 0.007363467463737527, "0": 0.06412166357400793, "1": 0.495326813101187, "2": 0.43112130284137534}, "noise_severity": {"0": 0.25608484467793524, "1": 0.5853461037439464, "2": 0.1492784082729637, "3": 0.006253842755740256, "4": 0.0030368005494143977}, "missing_content_severity": {"0": 0.974962253687422, "1": 0.012839846297813451, "2": 0.009487176293973457, "3": 0.002225882366452712, "4": 0.00048484135433843643}, "factual_density": {"0": 0.0030792436982127283, "1": 0.020974090943182273, "2": 0.21842710763328954, "3": 0.54125041740206, "4": 0.2162691403232553}, "pretraining_utility": {"-2": 0.007674681535791022, "-1": 0.06939023966332528, "0": 0.30114708841870064, "1": 0.5456637981653782, "2": 0.07612419221680483}, "math_density": {"0": 0.9945146765642239, "1": 0.0035880697762906335, "2": 0.0008230905999510597, "3": 0.0003816452701295129, "4": 0.00069251778940493}, "code_density": {"0": 0.0005654697420019227, "1": 0.0012366015930986298, "2": 0.03446106432578641, "3": 0.3454749258359419, "4": 0.6182619385031712}, "reasoning_density": {"0": 0.7757191380563679, "1": 0.13647045941270833, "2": 0.07329334977200912, "3": 0.011393283041140583, "4": 0.0031237697177740704}, "education_level": {"none": 0.0007957993120388082, "0": 0.001125629026335842, "1": 0.0053107832948435735, "2": 0.41021260062725606, "3": 0.4903780835072384, "4": 0.09217710423228744}, "creative_writing_quality": {"not_applicable": 0.9990971652811105, "-2": 4.7701472766480745e-05, "-1": 0.00016712183339060002, "0": 0.0005041286136243458, "1": 0.0001395439296763226, "2": 4.433886943189817e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 2.4774593214303634e-05, "Art & Design": 3.437221148651249e-05, "Law & Crime": 0.0003360782465686088, "Education & Careers": 3.043069565064956e-05, "Entertainment & Media": 1.9233405700942496e-05, "Fashion & Beauty": 1.5725943279986906e-05, "Business, Economics & Finance": 4.608889119934729e-05, "Food & Dining": 1.9837373766702894e-05, "Games & Gaming": 3.383051071584298e-05, "Electronics & Hardware": 6.185310848039274e-05, "Health, Healthcare & Wellness": 2.2983343028095217e-05, "History & Geography": 3.2466233771695954e-05, "Home, Pets & Hobbies": 1.8376883306300667e-05, "Industry & Production": 7.206782854221116e-05, "Language, Literature & Philosophy": 2.6403345526590315e-05, "Politics & Government": 4.033079181729508e-05, "Religion & Spirituality": 2.283132724044108e-05, "Science, Mathematics & Engineering": 0.00031301016571232566, "Relationships & Community": 1.1676524664302192e-05, "Software Usage & Applications": 0.008765323831644908, "Programming & Software Engineering": 0.9896323779463161, "Sports & Fitness": 3.3007236014616614e-05, "Vehicles & Transportation": 1.4505625299332377e-05, "Travel & Tourism": 2.9277671290306174e-05, "Other / Uncovered Subject": 0.0003056974811875895, "Unknown / Insufficient Content": 3.743878457459653e-05}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0005759431733985455, "Art & Design": 0.00045182204411186076, "Law & Crime": 0.048832723058619014, "Education & Careers": 0.0004706746859265364, "Entertainment & Media": 0.0004376180525834383, "Fashion & Beauty": 0.00023487277197355223, "Business, Economics & Finance": 0.0010437371304523116, "Food & Dining": 0.00020876862259612298, "Games & Gaming": 0.0002928148875317159, "Electronics & Hardware": 0.0004599894909506552, "Health, Healthcare & Wellness": 0.0003202618060021447, "History & Geography": 0.0003057159008297221, "Home, Pets & Hobbies": 0.0002238337180060708, "Industry & Production": 0.00045966673563536183, "Language, Literature & Philosophy": 0.00026197815923292264, "Politics & Government": 0.00046243723564664196, "Religion & Spirituality": 0.0002985071483528173, "Science, Mathematics & Engineering": 0.0010637288739046313, "Relationships & Community": 0.00013868192745531321, "Software Usage & Applications": 0.06159009913991476, "Programming & Software Engineering": 0.03033102072036091, "Sports & Fitness": 0.00023212236393088675, "Vehicles & Transportation": 0.0001331172206585161, "Travel & Tourism": 0.00034322772806264206, "Other / Uncovered Subject": 0.0011867681141369097, "NONE": 0.8496398692897259}}, "probabilities": {"primary": {"Academic Writing": 5.732941313466198e-05, "Content Listing": 6.62234822025416e-05, "Creative Writing": 6.0374328717178506e-05, "Customer Support Page": 0.004768193248198767, "Q&A Forum": 4.1391710256653185e-05, "Discussion Thread": 2.4252286100835352e-05, "Comment Section": 4.8838330361528446e-05, "Missing Content": 5.435392170244114e-05, "Knowledge Article": 0.00013603657769719734, "Legal Notices": 0.0020725868686345054, "News Article": 1.8027968753750635e-05, "Organizational Announcement": 5.380753653737769e-05, "Nonfiction Writing": 2.8225886424834882e-05, "Organizational About Page": 4.7376514474162384e-05, "Personal About Page": 2.542580221993018e-05, "Personal Blog": 2.4270680454970873e-05, "Product Page": 2.8918001004834596e-05, "Spam / Ads": 2.6155301510213477e-05, "Structured Data": 0.00029256325131986604, "Technical Writing": 0.9719909142987526, "Transcript / Interview": 4.4181924760522176e-05, "Tutorial / How-To Guide": 0.019297192003495667, "User Reviews": 2.149364091594701e-05, "Other / Unknown": 0.0007718670223689674}, "secondary": {"Academic Writing": 0.0006096628653615401, "Content Listing": 0.0007696695288376897, "Creative Writing": 0.0007464529281141669, "Customer Support Page": 0.0038520250912750546, "Q&A Forum": 0.0004425418223105377, "Discussion Thread": 0.0002828805521162576, "Comment Section": 0.0005683211181880535, "Missing Content": 0.0005038516540724705, "Knowledge Article": 0.0011630627381650886, "Legal Notices": 0.6516030089873683, "News Article": 0.0004889653809472561, "Organizational Announcement": 0.0006814431249556802, "Nonfiction Writing": 0.00036507700070150336, "Organizational About Page": 0.0005677244260780216, "Personal About Page": 0.0002691864712920107, "Personal Blog": 0.0003394584402368505, "Product Page": 0.0003909345467700749, "Spam / Ads": 0.00038882800704312967, "Structured Data": 0.0007337919549564696, "Technical Writing": 0.05974494611879075, "Transcript / Interview": 0.000576468760906277, "Tutorial / How-To Guide": 0.16309879324134574, "User Reviews": 0.0002461598598456962, "NONE": 0.11156674538032132}, "tertiary": {"Academic Writing": 0.0006020439589409032, "Content Listing": 0.0007429714454680497, "Creative Writing": 0.0008361813512858743, "Customer Support Page": 0.002237586889957351, "Q&A Forum": 0.00037482249128934576, "Discussion Thread": 0.00026308401941670833, "Comment Section": 0.0005411726102894479, "Missing Content": 0.000528927585308685, "Knowledge Article": 0.0010800566669219884, "Legal Notices": 0.595389589023956, "News Article": 0.000535445491676671, "Organizational Announcement": 0.0007063632072793483, "Nonfiction Writing": 0.0003806637297710013, "Organizational About Page": 0.0006691492404469219, "Personal About Page": 0.00028202368565053755, "Personal Blog": 0.000357365243959994, "Product Page": 0.00039786414702316247, "Spam / Ads": 0.0004967068950452804, "Structured Data": 0.0009196039228885001, "Technical Writing": 0.03294442470233236, "Transcript / Interview": 0.0005255206237716998, "Tutorial / How-To Guide": 0.1301514293231414, "User Reviews": 0.0002539745910952895, "NONE": 0.22878302915308343}, "structured_records": {"false": 0.9566427065655045, "true": 0.0433572934344955}, "procedural_steps": {"false": 0.8465531825309099, "true": 0.15344681746909006}, "worked_solution": {"false": 0.9854710036849265, "true": 0.01452899631507351}, "contextual_dialogue": {"false": 0.9999961005193336, "true": 3.899480666386301e-06}, "content_quality": {"-2": 0.002066753019692089, "-1": 0.007363467463737528, "0": 0.06412166357400795, "1": 0.49532681310118704, "2": 0.4311213028413754}, "noise_severity": {"0": 0.25608484467793524, "1": 0.5853461037439464, "2": 0.1492784082729637, "3": 0.006253842755740256, "4": 0.0030368005494143977}, "missing_content_severity": {"0": 0.974962253687422, "1": 0.012839846297813451, "2": 0.009487176293973457, "3": 0.002225882366452712, "4": 0.00048484135433843643}, "factual_density": {"0": 0.0030792436982127287, "1": 0.020974090943182276, "2": 0.21842710763328957, "3": 0.5412504174020601, "4": 0.21626914032325534}, "pretraining_utility": {"-2": 0.007674681535791022, "-1": 0.06939023966332528, "0": 0.30114708841870064, "1": 0.5456637981653782, "2": 0.07612419221680483}, "math_density": {"0": 0.9945146765642239, "1": 0.0035880697762906335, "2": 0.0008230905999510597, "3": 0.0003816452701295129, "4": 0.00069251778940493}, "code_density": {"0": 0.0005654697420019226, "1": 0.0012366015930986296, "2": 0.034461064325786404, "3": 0.34547492583594186, "4": 0.6182619385031711}, "reasoning_density": {"0": 0.7757191380563679, "1": 0.13647045941270833, "2": 0.07329334977200912, "3": 0.011393283041140583, "4": 0.0031237697177740704}, "education_level": {"none": 0.0007957993120388082, "0": 0.001125629026335842, "1": 0.0053107832948435735, "2": 0.41021260062725606, "3": 0.4903780835072384, "4": 0.09217710423228744}, "creative_writing_quality": {"not_applicable": 0.9990971652811103, "-2": 4.770147276648073e-05, "-1": 0.0001671218333906, "0": 0.0005041286136243457, "1": 0.00013954392967632258, "2": 4.433886943189816e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 2.4774593214303634e-05, "Art & Design": 3.437221148651249e-05, "Law & Crime": 0.0003360782465686088, "Education & Careers": 3.043069565064956e-05, "Entertainment & Media": 1.9233405700942496e-05, "Fashion & Beauty": 1.5725943279986906e-05, "Business, Economics & Finance": 4.608889119934729e-05, "Food & Dining": 1.9837373766702894e-05, "Games & Gaming": 3.383051071584298e-05, "Electronics & Hardware": 6.185310848039274e-05, "Health, Healthcare & Wellness": 2.2983343028095217e-05, "History & Geography": 3.2466233771695954e-05, "Home, Pets & Hobbies": 1.8376883306300667e-05, "Industry & Production": 7.206782854221116e-05, "Language, Literature & Philosophy": 2.6403345526590315e-05, "Politics & Government": 4.033079181729508e-05, "Religion & Spirituality": 2.283132724044108e-05, "Science, Mathematics & Engineering": 0.00031301016571232566, "Relationships & Community": 1.1676524664302192e-05, "Software Usage & Applications": 0.008765323831644908, "Programming & Software Engineering": 0.9896323779463161, "Sports & Fitness": 3.3007236014616614e-05, "Vehicles & Transportation": 1.4505625299332377e-05, "Travel & Tourism": 2.9277671290306174e-05, "Other / Uncovered Subject": 0.0003056974811875895, "Unknown / Insufficient Content": 3.743878457459653e-05}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0005759431733985456, "Art & Design": 0.0004518220441118608, "Law & Crime": 0.04883272305861902, "Education & Careers": 0.00047067468592653646, "Entertainment & Media": 0.00043761805258343833, "Fashion & Beauty": 0.00023487277197355226, "Business, Economics & Finance": 0.0010437371304523118, "Food & Dining": 0.000208768622596123, "Games & Gaming": 0.00029281488753171595, "Electronics & Hardware": 0.00045998949095065524, "Health, Healthcare & Wellness": 0.00032026180600214476, "History & Geography": 0.00030571590082972215, "Home, Pets & Hobbies": 0.00022383371800607083, "Industry & Production": 0.0004596667356353619, "Language, Literature & Philosophy": 0.0002619781592329227, "Politics & Government": 0.000462437235646642, "Religion & Spirituality": 0.00029850714835281733, "Science, Mathematics & Engineering": 0.0010637288739046315, "Relationships & Community": 0.00013868192745531324, "Software Usage & Applications": 0.06159009913991477, "Programming & Software Engineering": 0.030331020720360913, "Sports & Fitness": 0.00023212236393088678, "Vehicles & Transportation": 0.00013311722065851612, "Travel & Tourism": 0.0003432277280626421, "Other / Uncovered Subject": 0.00118676811413691, "NONE": 0.849639869289726}}, "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.9999999999999998, "mass_delta": -2.220446049250313e-16, "missing_mass": 2.220446049250313e-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": 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": 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": 10943, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 10943, "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.897411+00:00", "scoring_key_slot": "assistant_1", "dataset_uid": "2d43dfdc-b34f-45a0-be44-ab70dc68610f", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "6af8f7019361732bcb61976cde425d4dc2483a27c11ced55c8d0b975129c74aa", "source_metadata": {"uuid": "2d43dfdc-b34f-45a0-be44-ab70dc68610f", "repo_name": "pulumi/pulumi-kubernetes", "relative_path": "provider/pkg/gen/dotnet-templates/yaml/ConfigGroup.cs", "category": "TOOL", "algo_rel_score": 0.7281714677810669, "quality_score": 4.93243408203125, "source_meta": {"github_metadata": {"branch": "master", "commit_count": 1832, "repo_created_at": "2018-01-09T20:50:33.000Z", "is_fork": false, "is_org_owned": true, "forked_from": null, "stars": 431, "forks": 119, "issues": 282, "pull_requests": 12}, "file_meta": {"content_id": "b54f165eb23c11363e87a0b944260321755d1bef", "size_bytes": 10225, "file_timestamp": 1752755195, "language": "c#", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "9c3fd274470af636acdec600302275c01581a6fb"}}, "parsed_source_meta": {"github_metadata": {"branch": "master", "commit_count": 1832, "repo_created_at": "2018-01-09T20:50:33.000Z", "is_fork": false, "is_org_owned": true, "forked_from": null, "stars": 431, "forks": 119, "issues": 282, "pull_requests": 12}, "file_meta": {"content_id": "b54f165eb23c11363e87a0b944260321755d1bef", "size_bytes": 10225, "file_timestamp": 1752755195, "language": "c#", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "9c3fd274470af636acdec600302275c01581a6fb", "url": "https://github.com/pulumi/pulumi-kubernetes/blob/9c3fd274470af636acdec600302275c01581a6fb/provider/pkg/gen/dotnet-templates/yaml/ConfigGroup.cs"}, "gpt4o_tokens": 2220, "dataset_split": "csharp", "probability_weighted_scores": {"content_quality": 1.3460724452808162, "noise_severity": 0.9148116507547521, "missing_content_severity": 0.040431211402472245, "factual_density": 2.946656119708963, "pretraining_utility": 0.6131725798640806, "math_density": 0.009149257944201012, "code_density": 3.579631261765182, "reasoning_density": 0.3297320869512446, "education_level": 2.6677016071038784, "creative_writing_quality": -0.037994895040844565}, "score_applicability": {"education_level": 0.9992042006879613, "creative_writing_quality": 0.0009028347188896472}} {"source_group": "csharp", "source": "openbmb/UltraData-Stack-v3-L2/csharp", "domain": "github.com", "language": "csharp", "url": "https://github.com/masesgroup/JNet/blob/7b474ea5f125e29c26e003ee975f4e42402aeefb/src/net/JNet/Generated/Javax/Swing/Text/Utilities.cs", "id": "csharp-0-b0955574729a5c2d3757d72217d8e30b", "text": "/*\n* Copyright 2025 MASES s.r.l.\n*\n* Licensed under the Apache License, Version 2.0 (the \"License\");\n* you may not use this file except in compliance with the License.\n* 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* Refer to LICENSE for more information.\n*/\n\n/*\n* This file is generated by MASES.JNetReflector (ver. 2.5.12.0)\n* using java.* as reference\n*/\n\nusing MASES.JCOBridge.C2JBridge;\n\nnamespace Javax.Swing.Text\n{\n #region Utilities declaration\n /// \n /// \n /// \n public partial class Utilities : MASES.JCOBridge.C2JBridge.JVMBridgeBase\n {\n const string _bridgeClassName = \"javax.swing.text.Utilities\";\n /// \n /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge\n /// \n public Utilities() { }\n /// \n /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class\n /// \n public Utilities(params object[] args) : base(args) { }\n\n private static readonly MASES.JCOBridge.C2JBridge.JVMInterop.IJavaType _LocalBridgeClazz = JVMBridgeBase.ClazzOf(_bridgeClassName);\n private static MASES.JCOBridge.C2JBridge.JVMInterop.IJavaType LocalBridgeClazz => _LocalBridgeClazz ?? throw new global::System.InvalidOperationException($\"Class {_bridgeClassName} was not found.\");\n\n /// \n /// \n /// \n public override string BridgeClassName => _bridgeClassName;\n /// \n /// \n /// \n public override bool IsBridgeAbstract => false;\n /// \n /// \n /// \n public override bool IsBridgeCloseable => false;\n /// \n /// \n /// \n public override bool IsBridgeInterface => false;\n /// \n /// \n /// \n public override bool IsBridgeStatic => false;\n\n // TODO: complete the class\n\n }\n #endregion\n\n #region Utilities implementation\n public partial class Utilities\n {\n #region Constructors\n\n #endregion\n\n #region Class/Interface conversion operators\n\n #endregion\n\n #region Fields\n\n #endregion\n\n #region Static methods\n /// \n /// \n /// \n /// \n /// \n /// \n /// \n /// \n /// \n /// \n public static float DrawTabbedText(Javax.Swing.Text.Segment arg0, float arg1, float arg2, Java.Awt.Graphics2D arg3, Javax.Swing.Text.TabExpander arg4, int arg5)\n {\n return SExecuteWithSignature(LocalBridgeClazz, \"drawTabbedText\", \"(Ljavax/swing/text/Segment;FFLjava/awt/Graphics2D;Ljavax/swing/text/TabExpander;I)F\", arg0, arg1, arg2, arg3, arg4, arg5);\n }\n /// \n /// \n /// \n /// \n /// \n /// \n /// \n /// \n /// \n public static float GetTabbedTextWidth(Javax.Swing.Text.Segment arg0, Java.Awt.FontMetrics arg1, float arg2, Javax.Swing.Text.TabExpander arg3, int arg4)\n {\n return SExecuteWithSignature(LocalBridgeClazz, \"getTabbedTextWidth\", \"(Ljavax/swing/text/Segment;Ljava/awt/FontMetrics;FLjavax/swing/text/TabExpander;I)F\", arg0, arg1, arg2, arg3, arg4);\n }\n /// \n /// \n /// \n /// \n /// \n /// \n /// \n /// \n /// \n /// \n public static int GetBreakLocation(Javax.Swing.Text.Segment arg0, Java.Awt.FontMetrics arg1, float arg2, float arg3, Javax.Swing.Text.TabExpander arg4, int arg5)\n {\n return SExecuteWithSignature(LocalBridgeClazz, \"getBreakLocation\", \"(Ljavax/swing/text/Segment;Ljava/awt/FontMetrics;FFLjavax/swing/text/TabExpander;I)I\", arg0, arg1, arg2, arg3, arg4, arg5);\n }\n /// \n /// \n /// \n /// \n /// \n /// \n /// \n public static int GetNextWord(Javax.Swing.Text.JTextComponent arg0, int arg1)\n {\n return SExecuteWithSignature(LocalBridgeClazz, \"getNextWord\", \"(Ljavax/swing/text/JTextComponent;I)I\", arg0, arg1);\n }\n /// \n /// \n /// \n /// \n /// \n /// \n /// \n /// \n public static int GetPositionAbove(Javax.Swing.Text.JTextComponent arg0, int arg1, float arg2)\n {\n return SExecuteWithSignature(LocalBridgeClazz, \"getPositionAbove\", \"(Ljavax/swing/text/JTextComponent;IF)I\", arg0, arg1, arg2);\n }\n /// \n /// \n /// \n /// \n /// \n /// \n /// \n /// \n public static int GetPositionBelow(Javax.Swing.Text.JTextComponent arg0, int arg1, float arg2)\n {\n return SExecuteWithSignature(LocalBridgeClazz, \"getPositionBelow\", \"(Ljavax/swing/text/JTextComponent;IF)I\", arg0, arg1, arg2);\n }\n /// \n /// \n /// \n /// \n /// \n /// \n /// \n public static int GetPreviousWord(Javax.Swing.Text.JTextComponent arg0, int arg1)\n {\n return SExecuteWithSignature(LocalBridgeClazz, \"getPreviousWord\", \"(Ljavax/swing/text/JTextComponent;I)I\", arg0, arg1);\n }\n /// \n /// \n /// \n /// \n /// \n /// \n /// \n public static int GetRowEnd(Javax.Swing.Text.JTextComponent arg0, int arg1)\n {\n return SExecuteWithSignature(LocalBridgeClazz, \"getRowEnd\", \"(Ljavax/swing/text/JTextComponent;I)I\", arg0, arg1);\n }\n /// \n /// \n /// \n /// \n /// \n /// \n /// \n public static int GetRowStart(Javax.Swing.Text.JTextComponent arg0, int arg1)\n {\n return SExecuteWithSignature(LocalBridgeClazz, \"getRowStart\", \"(Ljavax/swing/text/JTextComponent;I)I\", arg0, arg1);\n }\n /// \n /// \n /// \n /// \n /// \n /// \n /// \n /// \n /// \n /// \n /// \n public static int GetTabbedTextOffset(Javax.Swing.Text.Segment arg0, Java.Awt.FontMetrics arg1, float arg2, float arg3, Javax.Swing.Text.TabExpander arg4, int arg5, bool arg6)\n {\n return SExecuteWithSignature(LocalBridgeClazz, \"getTabbedTextOffset\", \"(Ljavax/swing/text/Segment;Ljava/awt/FontMetrics;FFLjavax/swing/text/TabExpander;IZ)I\", arg0, arg1, arg2, arg3, arg4, arg5, arg6);\n }\n /// \n /// \n /// \n /// \n /// \n /// \n /// \n public static int GetWordEnd(Javax.Swing.Text.JTextComponent arg0, int arg1)\n {\n return SExecuteWithSignature(LocalBridgeClazz, \"getWordEnd\", \"(Ljavax/swing/text/JTextComponent;I)I\", arg0, arg1);\n }\n /// \n /// \n /// \n /// \n /// \n /// \n /// \n public static int GetWordStart(Javax.Swing.Text.JTextComponent arg0, int arg1)\n {\n return SExecuteWithSignature(LocalBridgeClazz, \"getWordStart\", \"(Ljavax/swing/text/JTextComponent;I)I\", arg0, arg1);\n }\n /// \n /// \n /// \n /// \n /// \n /// \n public static Javax.Swing.Text.Element GetParagraphElement(Javax.Swing.Text.JTextComponent arg0, int arg1)\n {\n return SExecuteWithSignature(LocalBridgeClazz, \"getParagraphElement\", \"(Ljavax/swing/text/JTextComponent;I)Ljavax/swing/text/Element;\", arg0, arg1);\n }\n\n #endregion\n\n #region Instance methods\n\n #endregion\n\n #region Nested classes\n\n #endregion\n\n // TODO: complete the class\n }\n #endregion\n}", "text_preview": "/* * Copyright 2025 MASES s.r.l. * * 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.apache.org/lice", "input_sha256": "0dfcd2fe71fe9c8fd303f9e4605c259b5c2fdc22ecc314129bcd0af61580064f", "text_sha256": "b0955574729a5c2d3757d72217d8e30b81b7f51776e5b721a1abd355dd67b3ad", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 2016, "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": 1, "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.8066685505454532, "noise_severity": 0.8927218963633854, "missing_content_severity": 0.7305813164874572, "factual_density": 3.2001937832290035, "pretraining_utility": -0.2536756855139733, "math_density": 0.02506757176436027, "code_density": 3.6500739804331293, "reasoning_density": 0.03716824795148558, "education_level": 2.5344502067689496, "creative_writing_quality": -0.4409591112280379}, "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.6201049327849584, "secondary_choice": "Legal Notices", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.9908621557883123, "secondary": 0.7848029904780356, "tertiary": 0.7466359429812989, "structured_records": 0.2513010591978434, "procedural_steps": 0.0001100870480099869, "worked_solution": 5.551679377934112e-05, "contextual_dialogue": 5.882825380866413e-06, "content_quality": 0.5037156195734594, "noise_severity": 0.59881319501856, "missing_content_severity": 0.6151882643390625, "factual_density": 0.510589783031177, "pretraining_utility": 0.5279061848266371, "math_density": 0.979110356863033, "code_density": 0.7083949836942743, "reasoning_density": 0.9690264600404287, "education_level": 0.43400059507262956, "creative_writing_quality": 0.9993943808236909, "primary_topic": 0.994319826013808, "secondary_topic": 0.8183902055061909}, "probability_margin": {"primary": 0.9841874136553301, "secondary": 0.6566816866359977, "tertiary": 0.5593797597435171, "education_level": 0.1414461846282804, "creative_writing_quality": 0.9992968105388202, "primary_topic": 0.9920787655149346, "secondary_topic": 0.7037385408476371}, "raw_probabilities": {"primary": {"Academic Writing": 2.8367558671024198e-05, "Content Listing": 3.562555617839489e-05, "Creative Writing": 1.8262005572061088e-05, "Customer Support Page": 1.3470779686359234e-05, "Q&A Forum": 1.175170893724283e-05, "Discussion Thread": 7.432108949090758e-06, "Comment Section": 1.4922188480966827e-05, "Missing Content": 6.929734093400384e-05, "Knowledge Article": 4.154602085889407e-05, "Legal Notices": 0.007055485641802461, "News Article": 6.313508453511716e-06, "Organizational Announcement": 1.7480713131925794e-05, "Nonfiction Writing": 1.1014196786144297e-05, "Organizational About Page": 1.8239222244478344e-05, "Personal About Page": 7.14830958370667e-06, "Personal Blog": 7.714098967068091e-06, "Product Page": 9.28110829002921e-06, "Spam / Ads": 9.423943059449e-06, "Structured Data": 0.0006087033589280679, "Technical Writing": 0.9912428992971326, "Transcript / Interview": 1.7239744358646764e-05, "Tutorial / How-To Guide": 3.751401994498511e-05, "User Reviews": 7.106911717709902e-06, "Other / Unknown": 0.0007037606573310759}, "secondary": {"Academic Writing": 0.0004840962941488654, "Content Listing": 0.0006274836332016788, "Creative Writing": 0.0006307865705002722, "Customer Support Page": 0.00034519451445343255, "Q&A Forum": 0.00024919034700955845, "Discussion Thread": 0.0002207794651945996, "Comment Section": 0.0005618449013131759, "Missing Content": 0.007010859008219222, "Knowledge Article": 0.0011632679652514295, "Legal Notices": 0.7937695325414508, "News Article": 0.00034764321242540644, "Organizational Announcement": 0.00046848525341497253, "Nonfiction Writing": 0.0003355159512681232, "Organizational About Page": 0.0004525620456227886, "Personal About Page": 0.00022863916957786663, "Personal Blog": 0.00019910043130962505, "Product Page": 0.0002883953706043348, "Spam / Ads": 0.00031186870583830466, "Structured Data": 0.001985685445037632, "Technical Writing": 0.05232088452000978, "Transcript / Interview": 0.0003981281471391434, "Tutorial / How-To Guide": 0.00033447270490899824, "User Reviews": 0.00017773789664689348, "NONE": 0.13708784590545312}, "tertiary": {"Academic Writing": 0.0005519055899766454, "Content Listing": 0.0006107899110874356, "Creative Writing": 0.0005913272660142313, "Customer Support Page": 0.0003717512348358823, "Q&A Forum": 0.00022973171125233825, "Discussion Thread": 0.00019273182321348988, "Comment Section": 0.0006673194148916869, "Missing Content": 0.01573323954921838, "Knowledge Article": 0.0014830274883893887, "Legal Notices": 0.1978130189468944, "News Article": 0.0004000654927089732, "Organizational Announcement": 0.0005057598320780896, "Nonfiction Writing": 0.00037621942069291015, "Organizational About Page": 0.000525049070592281, "Personal About Page": 0.00022948296065330613, "Personal Blog": 0.00022799936462065, "Product Page": 0.00024516811540614, "Spam / Ads": 0.0003686099772948729, "Structured Data": 0.0019029832663929938, "Technical Writing": 0.01878819381730844, "Transcript / Interview": 0.0003893859825033083, "Tutorial / How-To Guide": 0.0004363530785947034, "User Reviews": 0.00016710799496802377, "NONE": 0.7571927786904115}, "structured_records": {"false": 0.7486989408021566, "true": 0.2513010591978434}, "procedural_steps": {"false": 0.99988991295199, "true": 0.0001100870480099869}, "worked_solution": {"false": 0.9999444832062206, "true": 5.551679377934112e-05}, "contextual_dialogue": {"false": 0.9999941171746192, "true": 5.882825380866413e-06}, "content_quality": {"-2": 0.009952405097344042, "-1": 0.03781901030205952, "0": 0.2889411170870466, "1": 0.462182563984899, "2": 0.20110490352865087}, "noise_severity": {"0": 0.2943511348071713, "1": 0.5348494088744525, "2": 0.1590471121852774, "3": 0.007231113414016917, "4": 0.004521230719081816}, "missing_content_severity": {"0": 0.36559638315283394, "1": 0.5605434131024248, "2": 0.056739786756141386, "3": 0.011923338081650123, "4": 0.005197078906949833}, "factual_density": {"0": 0.0042927488958096425, "1": 0.014077361827265296, "2": 0.15251626822483247, "3": 0.4353705992562972, "4": 0.3937430217957955}, "pretraining_utility": {"-2": 0.03238997376383362, "-1": 0.3453141843333371, "0": 0.4809131789954518, "1": 0.126346879467724, "2": 0.015035783439653536}, "math_density": {"0": 0.986452245443229, "1": 0.008338405122638207, "2": 0.0016265079560340303, "3": 0.0008552151827417518, "4": 0.002727626295357188}, "code_density": {"0": 0.0004076977170198207, "1": 0.0008737977249026482, "2": 0.02544694143637697, "3": 0.2947799526513296, "4": 0.678491610470371}, "reasoning_density": {"0": 0.9673799587674033, "1": 0.028801304950978584, "2": 0.0032604872663622502, "3": 0.0003870275932397004, "4": 0.00017122142201584625}, "education_level": {"none": 0.0019283882514490207, "0": 0.0013727650257830475, "1": 0.004559093690481484, "2": 0.5283338292271913, "3": 0.3868876445989109, "4": 0.0769182792061844}, "creative_writing_quality": {"not_applicable": 0.9994953173530757, "-2": 7.70421145071298e-05, "-1": 0.0001575277687751229, "0": 0.00019850681425549694, "1": 5.414431242357053e-05, "2": 1.746163696293859e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 3.511176070067366e-05, "Art & Design": 8.349324005857723e-05, "Law & Crime": 0.0024595287291116407, "Education & Careers": 4.286745836209073e-05, "Entertainment & Media": 2.760045001405579e-05, "Fashion & Beauty": 1.4714049762102132e-05, "Business, Economics & Finance": 0.00011595774850377169, "Food & Dining": 2.0880138926464357e-05, "Games & Gaming": 5.644168480041602e-05, "Electronics & Hardware": 0.00015338965982824332, "Health, Healthcare & Wellness": 2.247411891032303e-05, "History & Geography": 8.101693225634176e-05, "Home, Pets & Hobbies": 2.4204505188091888e-05, "Industry & Production": 2.749680544446769e-05, "Language, Literature & Philosophy": 0.00010617318395285344, "Politics & Government": 2.3189436908414908e-05, "Religion & Spirituality": 2.5075242307841787e-05, "Science, Mathematics & Engineering": 0.00016715720479260426, "Relationships & Community": 1.5214742377060528e-05, "Software Usage & Applications": 0.0011927489100661123, "Programming & Software Engineering": 0.9945382942440462, "Sports & Fitness": 3.5006290412673466e-05, "Vehicles & Transportation": 1.7964606201791655e-05, "Travel & Tourism": 3.8879393148441426e-05, "Other / Uncovered Subject": 0.0005575011008549129, "Unknown / Insufficient Content": 0.000117618363063893}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.000860758884408176, "Art & Design": 0.004643333110637823, "Law & Crime": 0.12163665675446951, "Education & Careers": 0.0005954534708086886, "Entertainment & Media": 0.0005532918169978511, "Fashion & Beauty": 0.0003045858999935616, "Business, Economics & Finance": 0.0015939234522948467, "Food & Dining": 0.0002641040293408246, "Games & Gaming": 0.0005527522838474557, "Electronics & Hardware": 0.0008541744426055788, "Health, Healthcare & Wellness": 0.0003753766398119249, "History & Geography": 0.0003546444367851305, "Home, Pets & Hobbies": 0.00032638552618220295, "Industry & Production": 0.00033049009971997085, "Language, Literature & Philosophy": 0.0007585724197608088, "Politics & Government": 0.000519977296416202, "Religion & Spirituality": 0.0004015140843885294, "Science, Mathematics & Engineering": 0.0008220698666024801, "Relationships & Community": 0.00016653103709316183, "Software Usage & Applications": 0.010001098230006639, "Programming & Software Engineering": 0.026027010961446974, "Sports & Fitness": 0.00025235686787807536, "Vehicles & Transportation": 0.00017060279751744735, "Travel & Tourism": 0.000444121194536157, "Other / Uncovered Subject": 0.0018150167943431334, "NONE": 0.8253751976021066}}, "probabilities": {"primary": {"Academic Writing": 2.83675586710242e-05, "Content Listing": 3.5625556178394896e-05, "Creative Writing": 1.826200557206109e-05, "Customer Support Page": 1.3470779686359236e-05, "Q&A Forum": 1.1751708937242832e-05, "Discussion Thread": 7.4321089490907584e-06, "Comment Section": 1.4922188480966829e-05, "Missing Content": 6.929734093400386e-05, "Knowledge Article": 4.154602085889408e-05, "Legal Notices": 0.007055485641802462, "News Article": 6.313508453511717e-06, "Organizational Announcement": 1.7480713131925797e-05, "Nonfiction Writing": 1.1014196786144298e-05, "Organizational About Page": 1.8239222244478347e-05, "Personal About Page": 7.148309583706671e-06, "Personal Blog": 7.714098967068093e-06, "Product Page": 9.281108290029211e-06, "Spam / Ads": 9.423943059449001e-06, "Structured Data": 0.000608703358928068, "Technical Writing": 0.9912428992971327, "Transcript / Interview": 1.7239744358646768e-05, "Tutorial / How-To Guide": 3.751401994498512e-05, "User Reviews": 7.106911717709903e-06, "Other / Unknown": 0.000703760657331076}, "secondary": {"Academic Writing": 0.0004840962941488654, "Content Listing": 0.0006274836332016788, "Creative Writing": 0.0006307865705002722, "Customer Support Page": 0.00034519451445343255, "Q&A Forum": 0.00024919034700955845, "Discussion Thread": 0.0002207794651945996, "Comment Section": 0.0005618449013131759, "Missing Content": 0.007010859008219222, "Knowledge Article": 0.0011632679652514295, "Legal Notices": 0.7937695325414508, "News Article": 0.00034764321242540644, "Organizational Announcement": 0.00046848525341497253, "Nonfiction Writing": 0.0003355159512681232, "Organizational About Page": 0.0004525620456227886, "Personal About Page": 0.00022863916957786663, "Personal Blog": 0.00019910043130962505, "Product Page": 0.0002883953706043348, "Spam / Ads": 0.00031186870583830466, "Structured Data": 0.001985685445037632, "Technical Writing": 0.05232088452000978, "Transcript / Interview": 0.0003981281471391434, "Tutorial / How-To Guide": 0.00033447270490899824, "User Reviews": 0.00017773789664689348, "NONE": 0.13708784590545312}, "tertiary": {"Academic Writing": 0.0005519055899766454, "Content Listing": 0.0006107899110874356, "Creative Writing": 0.0005913272660142313, "Customer Support Page": 0.0003717512348358823, "Q&A Forum": 0.00022973171125233825, "Discussion Thread": 0.00019273182321348988, "Comment Section": 0.0006673194148916869, "Missing Content": 0.01573323954921838, "Knowledge Article": 0.0014830274883893887, "Legal Notices": 0.1978130189468944, "News Article": 0.0004000654927089732, "Organizational Announcement": 0.0005057598320780896, "Nonfiction Writing": 0.00037621942069291015, "Organizational About Page": 0.000525049070592281, "Personal About Page": 0.00022948296065330613, "Personal Blog": 0.00022799936462065, "Product Page": 0.00024516811540614, "Spam / Ads": 0.0003686099772948729, "Structured Data": 0.0019029832663929938, "Technical Writing": 0.01878819381730844, "Transcript / Interview": 0.0003893859825033083, "Tutorial / How-To Guide": 0.0004363530785947034, "User Reviews": 0.00016710799496802377, "NONE": 0.7571927786904115}, "structured_records": {"false": 0.7486989408021566, "true": 0.2513010591978434}, "procedural_steps": {"false": 0.99988991295199, "true": 0.0001100870480099869}, "worked_solution": {"false": 0.9999444832062206, "true": 5.551679377934112e-05}, "contextual_dialogue": {"false": 0.9999941171746192, "true": 5.882825380866413e-06}, "content_quality": {"-2": 0.009952405097344042, "-1": 0.03781901030205952, "0": 0.2889411170870466, "1": 0.462182563984899, "2": 0.20110490352865087}, "noise_severity": {"0": 0.2943511348071713, "1": 0.5348494088744525, "2": 0.1590471121852774, "3": 0.007231113414016917, "4": 0.004521230719081816}, "missing_content_severity": {"0": 0.3655963831528339, "1": 0.5605434131024247, "2": 0.05673978675614137, "3": 0.01192333808165012, "4": 0.005197078906949832}, "factual_density": {"0": 0.0042927488958096425, "1": 0.014077361827265296, "2": 0.15251626822483247, "3": 0.4353705992562972, "4": 0.3937430217957955}, "pretraining_utility": {"-2": 0.03238997376383362, "-1": 0.3453141843333371, "0": 0.4809131789954518, "1": 0.126346879467724, "2": 0.015035783439653536}, "math_density": {"0": 0.9864522454432287, "1": 0.008338405122638205, "2": 0.0016265079560340298, "3": 0.0008552151827417516, "4": 0.0027276262953571874}, "code_density": {"0": 0.0004076977170198207, "1": 0.0008737977249026482, "2": 0.02544694143637697, "3": 0.2947799526513296, "4": 0.678491610470371}, "reasoning_density": {"0": 0.9673799587674036, "1": 0.02880130495097859, "2": 0.003260487266362251, "3": 0.0003870275932397005, "4": 0.00017122142201584628}, "education_level": {"none": 0.0019283882514490203, "0": 0.0013727650257830473, "1": 0.004559093690481483, "2": 0.5283338292271912, "3": 0.3868876445989108, "4": 0.07691827920618438}, "creative_writing_quality": {"not_applicable": 0.9994953173530757, "-2": 7.70421145071298e-05, "-1": 0.0001575277687751229, "0": 0.00019850681425549694, "1": 5.414431242357053e-05, "2": 1.746163696293859e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 3.511176070067366e-05, "Art & Design": 8.349324005857723e-05, "Law & Crime": 0.0024595287291116407, "Education & Careers": 4.286745836209073e-05, "Entertainment & Media": 2.760045001405579e-05, "Fashion & Beauty": 1.4714049762102132e-05, "Business, Economics & Finance": 0.00011595774850377169, "Food & Dining": 2.0880138926464357e-05, "Games & Gaming": 5.644168480041602e-05, "Electronics & Hardware": 0.00015338965982824332, "Health, Healthcare & Wellness": 2.247411891032303e-05, "History & Geography": 8.101693225634176e-05, "Home, Pets & Hobbies": 2.4204505188091888e-05, "Industry & Production": 2.749680544446769e-05, "Language, Literature & Philosophy": 0.00010617318395285344, "Politics & Government": 2.3189436908414908e-05, "Religion & Spirituality": 2.5075242307841787e-05, "Science, Mathematics & Engineering": 0.00016715720479260426, "Relationships & Community": 1.5214742377060528e-05, "Software Usage & Applications": 0.0011927489100661123, "Programming & Software Engineering": 0.9945382942440462, "Sports & Fitness": 3.5006290412673466e-05, "Vehicles & Transportation": 1.7964606201791655e-05, "Travel & Tourism": 3.8879393148441426e-05, "Other / Uncovered Subject": 0.0005575011008549129, "Unknown / Insufficient Content": 0.000117618363063893}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0008607588844081762, "Art & Design": 0.004643333110637824, "Law & Crime": 0.12163665675446954, "Education & Careers": 0.0005954534708086887, "Entertainment & Media": 0.0005532918169978512, "Fashion & Beauty": 0.0003045858999935617, "Business, Economics & Finance": 0.001593923452294847, "Food & Dining": 0.00026410402934082467, "Games & Gaming": 0.0005527522838474558, "Electronics & Hardware": 0.000854174442605579, "Health, Healthcare & Wellness": 0.00037537663981192503, "History & Geography": 0.00035464443678513057, "Home, Pets & Hobbies": 0.000326385526182203, "Industry & Production": 0.0003304900997199709, "Language, Literature & Philosophy": 0.000758572419760809, "Politics & Government": 0.0005199772964162022, "Religion & Spirituality": 0.00040151408438852954, "Science, Mathematics & Engineering": 0.0008220698666024803, "Relationships & Community": 0.00016653103709316186, "Software Usage & Applications": 0.01000109823000664, "Programming & Software Engineering": 0.02602701096144698, "Sports & Fitness": 0.0002523568678780754, "Vehicles & Transportation": 0.00017060279751744738, "Travel & Tourism": 0.0004441211945361571, "Other / Uncovered Subject": 0.0018150167943431338, "NONE": 0.8253751976021069}}, "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.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.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": 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.9999999999999998, "mass_delta": -2.220446049250313e-16, "missing_mass": 2.220446049250313e-16, "excess_mass": 0.0, "valid": true, "normalized": false}}, "usage": {"input_tokens": 12523, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 12523, "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:07.073324+00:00", "scoring_key_slot": "primary", "dataset_uid": "c6afd7d9-b913-4972-a92c-38317b358faa", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "6980fdc19d13728f8a08c3b9f6d2dac8a84b31fd0fbf4302710324fe53ba3783", "source_metadata": {"uuid": "c6afd7d9-b913-4972-a92c-38317b358faa", "repo_name": "masesgroup/JNet", "relative_path": "src/net/JNet/Generated/Javax/Swing/Text/Utilities.cs", "category": "TOOL", "algo_rel_score": 0.8329463601112366, "quality_score": 5.517790794372559, "source_meta": {"github_metadata": {"branch": "master", "commit_count": 546, "repo_created_at": "2022-03-16T01:50:31.000Z", "is_fork": false, "is_org_owned": true, "forked_from": null, "stars": 34, "forks": 3, "issues": 9, "pull_requests": 1}, "file_meta": {"content_id": "d55c30ccd4eb114da9a963af8778c324293506f1", "size_bytes": 14875, "file_timestamp": 1753033019, "language": "c#", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "7b474ea5f125e29c26e003ee975f4e42402aeefb"}}, "parsed_source_meta": {"github_metadata": {"branch": "master", "commit_count": 546, "repo_created_at": "2022-03-16T01:50:31.000Z", "is_fork": false, "is_org_owned": true, "forked_from": null, "stars": 34, "forks": 3, "issues": 9, "pull_requests": 1}, "file_meta": {"content_id": "d55c30ccd4eb114da9a963af8778c324293506f1", "size_bytes": 14875, "file_timestamp": 1753033019, "language": "c#", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "7b474ea5f125e29c26e003ee975f4e42402aeefb", "url": "https://github.com/masesgroup/JNet/blob/7b474ea5f125e29c26e003ee975f4e42402aeefb/src/net/JNet/Generated/Javax/Swing/Text/Utilities.cs"}, "gpt4o_tokens": 3703, "dataset_split": "csharp", "probability_weighted_scores": {"content_quality": 0.8066685505454532, "noise_severity": 0.8927218963633854, "missing_content_severity": 0.7305813164874573, "factual_density": 3.2001937832290035, "pretraining_utility": -0.2536756855139733, "math_density": 0.025067571764360273, "code_density": 3.6500739804331293, "reasoning_density": 0.03716824795148558, "education_level": 2.5344502067689496, "creative_writing_quality": -0.4409591112280379}, "score_applicability": {"education_level": 0.9980716117485509, "creative_writing_quality": 0.0005046826469242587}} {"source_group": "csharp", "source": "openbmb/UltraData-Stack-v3-L2/csharp", "domain": "github.com", "language": "csharp", "url": "https://github.com/space-wizards/space-station-14/blob/1fc0040d4eefe3721b0d48157aebfa7370698f06/Content.Shared/Verbs/SharedVerbSystem.cs", "id": "csharp-0-8b5f8046ccf076e63d663b1920b01ae5", "text": "using Content.Shared.ActionBlocker;\nusing Content.Shared.Hands.Components;\nusing Content.Shared.Interaction;\nusing Content.Shared.Inventory.VirtualItem;\nusing Robust.Shared.Containers;\nusing Robust.Shared.Map;\n\nnamespace Content.Shared.Verbs\n{\n public abstract class SharedVerbSystem : EntitySystem\n {\n [Dependency] private readonly SharedInteractionSystem _interactionSystem = default!;\n [Dependency] private readonly ActionBlockerSystem _actionBlockerSystem = default!;\n [Dependency] protected readonly SharedContainerSystem ContainerSystem = default!;\n\n public override void Initialize()\n {\n base.Initialize();\n\n SubscribeAllEvent(HandleExecuteVerb);\n }\n\n private void HandleExecuteVerb(ExecuteVerbEvent args, EntitySessionEventArgs eventArgs)\n {\n var user = eventArgs.SenderSession.AttachedEntity;\n if (user == null)\n return;\n\n if (!TryGetEntity(args.Target, out var target))\n return;\n\n // It is possible that client-side prediction can cause this event to be raised after the target entity has\n // been deleted. So we need to check that the entity still exists.\n if (Deleted(user))\n return;\n\n // Get the list of verbs. This effectively also checks that the requested verb is in fact a valid verb that\n // the user can perform.\n var verbs = GetLocalVerbs(target.Value, user.Value, args.RequestedVerb.GetType());\n\n // Note that GetLocalVerbs might waste time checking & preparing unrelated verbs even though we know\n // precisely which one we want to run. However, MOST entities will only have 1 or 2 verbs of a given type.\n // The one exception here is the \"other\" verb type, which has 3-4 verbs + all the debug verbs.\n\n // Find the requested verb.\n if (verbs.TryGetValue(args.RequestedVerb, out var verb))\n ExecuteVerb(verb, user.Value, target.Value);\n }\n\n /// \n /// Raises a number of events in order to get all verbs of the given type(s) defined in local systems. This\n /// does not request verbs from the server.\n /// \n public SortedSet GetLocalVerbs(EntityUid target, EntityUid user, Type type, bool force = false)\n {\n return GetLocalVerbs(target, user, new List() { type }, force);\n }\n\n /// \n public SortedSet GetLocalVerbs(EntityUid target, EntityUid user, List types, bool force = false)\n {\n return GetLocalVerbs(target, user, types, out _, force);\n }\n\n /// \n /// Raises a number of events in order to get all verbs of the given type(s) defined in local systems. This\n /// does not request verbs from the server.\n /// \n public SortedSet GetLocalVerbs(EntityUid target, EntityUid user, List types,\n out List extraCategories, bool force = false)\n {\n SortedSet verbs = new();\n extraCategories = new();\n\n // accessibility checks\n var canAccess = force || _interactionSystem.InRangeAndAccessible(user, target);\n\n // A large number of verbs need to check action blockers. Instead of repeatedly having each system individually\n // call ActionBlocker checks, just cache it for the verb request.\n var canInteract = force || _actionBlockerSystem.CanInteract(user, target);\n var canComplexInteract = force || _actionBlockerSystem.CanComplexInteract(user);\n\n _interactionSystem.TryGetUsedEntity(user, out var @using);\n TryComp(user, out var hands);\n\n // TODO: fix this garbage and use proper generics or reflection or something else, not this.\n if (types.Contains(typeof(InteractionVerb)))\n {\n var verbEvent = new GetVerbsEvent(user, target, @using, hands, canInteract: canInteract, canComplexInteract: canComplexInteract, canAccess: canAccess, extraCategories);\n RaiseLocalEvent(target, verbEvent, true);\n verbs.UnionWith(verbEvent.Verbs);\n }\n\n if (types.Contains(typeof(UtilityVerb))\n && @using != null\n && @using != target)\n {\n var verbEvent = new GetVerbsEvent(user, target, @using, hands, canInteract: canInteract, canComplexInteract: canComplexInteract, canAccess: canAccess, extraCategories);\n RaiseLocalEvent(@using.Value, verbEvent, true); // directed at used, not at target\n verbs.UnionWith(verbEvent.Verbs);\n }\n\n if (types.Contains(typeof(InnateVerb)))\n {\n var verbEvent = new GetVerbsEvent(user, target, @using, hands, canInteract: canInteract, canComplexInteract: canComplexInteract, canAccess: canAccess, extraCategories);\n RaiseLocalEvent(user, verbEvent, true);\n verbs.UnionWith(verbEvent.Verbs);\n }\n\n if (types.Contains(typeof(AlternativeVerb)))\n {\n var verbEvent = new GetVerbsEvent(user, target, @using, hands, canInteract: canInteract, canComplexInteract: canComplexInteract, canAccess: canAccess, extraCategories);\n RaiseLocalEvent(target, verbEvent, true);\n verbs.UnionWith(verbEvent.Verbs);\n }\n\n if (types.Contains(typeof(ActivationVerb)))\n {\n var verbEvent = new GetVerbsEvent(user, target, @using, hands, canInteract: canInteract, canComplexInteract: canComplexInteract, canAccess: canAccess, extraCategories);\n RaiseLocalEvent(target, verbEvent, true);\n verbs.UnionWith(verbEvent.Verbs);\n }\n\n if (types.Contains(typeof(ExamineVerb)))\n {\n var verbEvent = new GetVerbsEvent(user, target, @using, hands, canInteract: canInteract, canComplexInteract: canComplexInteract, canAccess: canAccess, extraCategories);\n RaiseLocalEvent(target, verbEvent, true);\n verbs.UnionWith(verbEvent.Verbs);\n }\n\n // generic verbs\n if (types.Contains(typeof(Verb)))\n {\n var verbEvent = new GetVerbsEvent(user, target, @using, hands, canInteract: canInteract, canComplexInteract: canComplexInteract, canAccess: canAccess, extraCategories);\n RaiseLocalEvent(target, verbEvent, true);\n verbs.UnionWith(verbEvent.Verbs);\n }\n\n if (types.Contains(typeof(EquipmentVerb)))\n {\n var access = canAccess || _interactionSystem.CanAccessEquipment(user, target);\n var verbEvent = new GetVerbsEvent(user, target, @using, hands, canInteract: canInteract, canComplexInteract: canComplexInteract, canAccess: canAccess, extraCategories);\n RaiseLocalEvent(target, verbEvent);\n verbs.UnionWith(verbEvent.Verbs);\n }\n\n return verbs;\n }\n\n /// \n /// Execute the provided verb.\n /// \n /// \n /// This will try to call the action delegates and raise the local events for the given verb.\n /// \n public virtual void ExecuteVerb(Verb verb, EntityUid user, EntityUid target, bool forced = false)\n {\n // invoke any relevant actions\n verb.Act?.Invoke();\n\n // Maybe raise a local event\n if (verb.ExecutionEventArgs != null)\n {\n if (verb.EventTarget.IsValid())\n RaiseLocalEvent(verb.EventTarget, verb.ExecutionEventArgs);\n else\n RaiseLocalEvent(verb.ExecutionEventArgs);\n }\n\n if (Deleted(user) || Deleted(target))\n return;\n\n // Perform any contact interactions\n if (verb.DoContactInteraction ?? (verb.DefaultDoContactInteraction && _interactionSystem.InRangeUnobstructed(user, target)))\n _interactionSystem.DoContactInteraction(user, target);\n }\n }\n\n // Does nothing on server\n /// \n /// Raised directed when trying to get the entity menu visibility for entities.\n /// \n [ByRefEvent]\n public record struct MenuVisibilityEvent\n {\n public MapCoordinates TargetPos;\n public MenuVisibility Visibility;\n }\n\n // Does nothing on server\n [Flags]\n public enum MenuVisibility\n {\n // What entities can a user see on the entity menu?\n Default = 0, // They can only see entities in FoV.\n NoFov = 1 << 0, // They ignore FoV restrictions\n InContainer = 1 << 1, // They can see through containers.\n Invisible = 1 << 2, // They can see entities without sprites and the \"HideContextMenu\" tag is ignored.\n All = NoFov | InContainer | Invisible\n }\n}\n", "text_preview": "using Content.Shared.ActionBlocker; using Content.Shared.Hands.Components; using Content.Shared.Interaction; using Content.Shared.Inventory.VirtualItem; using Robust.Shared.Containers; using Robust.Shared.Map; namespace Content.Shared.Verbs", "input_sha256": "e50061e2a3722cd726d581600ce4e21a6564f5b0733eb63cb95b6714878fb580", "text_sha256": "8b5f8046ccf076e63d663b1920b01ae5ef536c2270a09b8e6ee91634e6f43b7b", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 2020, "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.9625452512877604, "noise_severity": 0.024831102183241638, "missing_content_severity": 0.036865133128516844, "factual_density": 3.398119437260103, "pretraining_utility": 0.40213765847604965, "math_density": 0.2537947003537944, "code_density": 3.847589118668054, "reasoning_density": 0.554560193593133, "education_level": 2.604377071722375, "creative_writing_quality": -0.24777057652830486}, "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.008701670631060643, "secondary_choice": "NONE", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.9984821857851164, "secondary": 0.9808198907443797, "tertiary": 0.9898998948811386, "structured_records": 0.018251594444425336, "procedural_steps": 0.002385456624221143, "worked_solution": 0.0011627199808565117, "contextual_dialogue": 6.708295424282361e-06, "content_quality": 0.5452646947028665, "noise_severity": 0.9793074148472987, "missing_content_severity": 0.969279055726236, "factual_density": 0.49843286438341905, "pretraining_utility": 0.4457126115761443, "math_density": 0.788504416371838, "code_density": 0.872990932223378, "reasoning_density": 0.5378665053390558, "education_level": 0.35245259885721036, "creative_writing_quality": 0.9995539495501354, "primary_topic": 0.963055994866353, "secondary_topic": 0.7825101876355339}, "probability_margin": {"primary": 0.997788291401595, "secondary": 0.9690456669686022, "tertiary": 0.9844388839820594, "education_level": 0.004399635569583116, "creative_writing_quality": 0.999467652583946, "primary_topic": 0.9311585985022235, "secondary_topic": 0.6249312277709315}, "raw_probabilities": {"primary": {"Academic Writing": 1.7519049653463086e-05, "Content Listing": 1.1542125137566673e-05, "Creative Writing": 1.1193659895523802e-05, "Customer Support Page": 3.8039862035550196e-06, "Q&A Forum": 5.224060505316669e-06, "Discussion Thread": 3.872031392959059e-06, "Comment Section": 5.506080056612602e-06, "Missing Content": 9.692983954385886e-06, "Knowledge Article": 3.3723136544669406e-05, "Legal Notices": 1.448414577270196e-05, "News Article": 1.994186210792616e-06, "Organizational Announcement": 5.5449268772306945e-06, "Nonfiction Writing": 4.5545341622770495e-06, "Organizational About Page": 5.156818323475462e-06, "Personal About Page": 3.9591277287965105e-06, "Personal Blog": 3.6097290582009277e-06, "Product Page": 3.5485499595698474e-06, "Spam / Ads": 3.627742012079284e-06, "Structured Data": 0.0004826819589303299, "Technical Writing": 0.9985454280440699, "Transcript / Interview": 6.6925867650212845e-06, "Tutorial / How-To Guide": 5.643793699432363e-05, "User Reviews": 3.065957316311529e-06, "Other / Unknown": 0.0007571366424749055}, "secondary": {"Academic Writing": 0.00010370483909769811, "Content Listing": 7.705215782120948e-05, "Creative Writing": 0.00011355297090695677, "Customer Support Page": 4.677397906667432e-05, "Q&A Forum": 3.361337974300946e-05, "Discussion Thread": 3.349633837207168e-05, "Comment Section": 0.0001285492299041832, "Missing Content": 0.00024418599142567214, "Knowledge Article": 0.000570960610988241, "Legal Notices": 0.00017560520253595603, "News Article": 4.4393470410182676e-05, "Organizational Announcement": 4.833538782196176e-05, "Nonfiction Writing": 5.58342328216729e-05, "Organizational About Page": 5.280847091250765e-05, "Personal About Page": 4.014762164542205e-05, "Personal Blog": 3.3442347644245e-05, "Product Page": 2.6751083722481156e-05, "Spam / Ads": 3.718978682541151e-05, "Structured Data": 0.0034660926705416817, "Technical Writing": 0.012573394994761712, "Transcript / Interview": 5.469595264471189e-05, "Tutorial / How-To Guide": 0.00039947800319725717, "User Reviews": 2.087931382518412e-05, "NONE": 0.9816190619633639}, "tertiary": {"Academic Writing": 6.031608399465904e-05, "Content Listing": 4.716290021219877e-05, "Creative Writing": 6.448214915138781e-05, "Customer Support Page": 2.740867575505966e-05, "Q&A Forum": 1.8599464926634903e-05, "Discussion Thread": 2.2567660657171686e-05, "Comment Section": 9.738334103483534e-05, "Missing Content": 0.0003639777486590522, "Knowledge Article": 0.00034157118036034974, "Legal Notices": 0.0002838766851040616, "News Article": 2.874476243449522e-05, "Organizational Announcement": 3.2786875491007735e-05, "Nonfiction Writing": 4.389126430753979e-05, "Organizational About Page": 4.088808544534078e-05, "Personal About Page": 2.3050679052725377e-05, "Personal Blog": 2.0176554993068278e-05, "Product Page": 1.844117587456489e-05, "Spam / Ads": 2.8831161176981194e-05, "Structured Data": 0.0019165698013360701, "Technical Writing": 0.005881848612365155, "Transcript / Interview": 3.2237723212641524e-05, "Tutorial / How-To Guide": 0.00027047897550221817, "User Reviews": 1.3975844528193377e-05, "NONE": 0.9903207325944245}, "structured_records": {"false": 0.9817484055555746, "true": 0.018251594444425336}, "procedural_steps": {"false": 0.9976145433757788, "true": 0.002385456624221143}, "worked_solution": {"false": 0.9988372800191435, "true": 0.0011627199808565117}, "contextual_dialogue": {"false": 0.9999932917045757, "true": 6.708295424282361e-06}, "content_quality": {"-2": 0.004615725470058704, "-1": 0.02424170821032692, "0": 0.22923796470357, "1": 0.4877907927938842, "2": 0.25411380882216034}, "noise_severity": {"0": 0.978121478510872, "1": 0.019871448774364385, "2": 0.0013389768907703969, "3": 0.0003906836686361687, "4": 0.0002774121553569874}, "missing_content_severity": {"0": 0.9687674249791269, "1": 0.027342165634864614, "2": 0.0025360557618112497, "3": 0.0009665585267587327, "4": 0.00038779509743838117}, "factual_density": {"0": 0.002878670422725844, "1": 0.006623594372656973, "2": 0.07696220640346314, "3": 0.41657068512409656, "4": 0.4969648436770574}, "pretraining_utility": {"-2": 0.00880395903187894, "-1": 0.1138956857525307, "0": 0.4083638181200106, "1": 0.40423181189882146, "2": 0.06470472519675838}, "math_density": {"0": 0.7886772781725107, "1": 0.19127189470318548, "2": 0.007381755625978083, "3": 0.002916991594650782, "4": 0.009752079903675104}, "code_density": {"0": 0.00022766236391700182, "1": 0.0004596746638598741, "2": 0.014686811281906655, "3": 0.12074758532088548, "4": 0.8638782663694311}, "reasoning_density": {"0": 0.6519426037309899, "1": 0.20683048464571263, "2": 0.09419509353896896, "3": 0.0287877504678316, "4": 0.018244067616496905}, "education_level": {"none": 0.0010981357372527364, "0": 0.0011262665916662467, "1": 0.004284472308081938, "2": 0.460377165714342, "3": 0.4559775301447589, "4": 0.07713642950389822}, "creative_writing_quality": {"not_applicable": 0.9996282912917795, "-2": 5.124696713372444e-05, "-1": 8.490022854294565e-05, "0": 0.00016063870783359182, "1": 5.4549927546111955e-05, "2": 2.037287716396845e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 6.449595897590858e-05, "Art & Design": 0.0001334189380691537, "Law & Crime": 7.69736672524048e-05, "Education & Careers": 5.412773925591512e-05, "Entertainment & Media": 0.00028102990066605516, "Fashion & Beauty": 5.7198372038996246e-05, "Business, Economics & Finance": 7.239594049551145e-05, "Food & Dining": 5.0859556873932575e-05, "Games & Gaming": 0.03331831963850052, "Electronics & Hardware": 6.904364117845344e-05, "Health, Healthcare & Wellness": 4.326376058055571e-05, "History & Geography": 5.5584969025849276e-05, "Home, Pets & Hobbies": 4.700668287282697e-05, "Industry & Production": 5.352292823412661e-05, "Language, Literature & Philosophy": 7.03566083368106e-05, "Politics & Government": 2.8277656470525693e-05, "Religion & Spirituality": 5.292048425581389e-05, "Science, Mathematics & Engineering": 0.00017367504403071617, "Relationships & Community": 3.6826890938843164e-05, "Software Usage & Applications": 0.0003491380065394956, "Programming & Software Engineering": 0.964476918140724, "Sports & Fitness": 9.108721134930135e-05, "Vehicles & Transportation": 3.075799018409484e-05, "Travel & Tourism": 6.240595802988106e-05, "Other / Uncovered Subject": 0.00015561643575729523, "Unknown / Insufficient Content": 9.477787936321005e-05}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0007217565819487219, "Art & Design": 0.0008275623173474094, "Law & Crime": 0.0004875301068675474, "Education & Careers": 0.00028082268518317286, "Entertainment & Media": 0.0014381391502922146, "Fashion & Beauty": 0.00023156474614279145, "Business, Economics & Finance": 0.00043776666082685534, "Food & Dining": 0.00020820067906178035, "Games & Gaming": 0.16594395264785108, "Electronics & Hardware": 0.0003512289482588002, "Health, Healthcare & Wellness": 0.000272248748980998, "History & Geography": 0.00023775506569205054, "Home, Pets & Hobbies": 0.0002556065105284312, "Industry & Production": 0.00018522917968527864, "Language, Literature & Philosophy": 0.00023341665607910079, "Politics & Government": 0.00016446658135375552, "Religion & Spirituality": 0.00028038421562070717, "Science, Mathematics & Engineering": 0.0006135231968054702, "Relationships & Community": 0.00017057969475617376, "Software Usage & Applications": 0.0005751475785788093, "Programming & Software Engineering": 0.03408611918916268, "Sports & Fitness": 0.0002616812705219236, "Vehicles & Transportation": 0.00011033577060083982, "Travel & Tourism": 0.00032677530560034723, "Other / Uncovered Subject": 0.00042302609347038444, "NONE": 0.7908751804187826}}, "probabilities": {"primary": {"Academic Writing": 1.751904965346309e-05, "Content Listing": 1.1542125137566674e-05, "Creative Writing": 1.1193659895523803e-05, "Customer Support Page": 3.80398620355502e-06, "Q&A Forum": 5.22406050531667e-06, "Discussion Thread": 3.87203139295906e-06, "Comment Section": 5.506080056612603e-06, "Missing Content": 9.692983954385888e-06, "Knowledge Article": 3.372313654466941e-05, "Legal Notices": 1.4484145772701961e-05, "News Article": 1.9941862107926162e-06, "Organizational Announcement": 5.544926877230695e-06, "Nonfiction Writing": 4.55453416227705e-06, "Organizational About Page": 5.1568183234754625e-06, "Personal About Page": 3.959127728796511e-06, "Personal Blog": 3.609729058200928e-06, "Product Page": 3.548549959569848e-06, "Spam / Ads": 3.6277420120792843e-06, "Structured Data": 0.00048268195893032994, "Technical Writing": 0.99854542804407, "Transcript / Interview": 6.692586765021285e-06, "Tutorial / How-To Guide": 5.643793699432364e-05, "User Reviews": 3.0659573163115295e-06, "Other / Unknown": 0.0007571366424749056}, "secondary": {"Academic Writing": 0.00010370483909769811, "Content Listing": 7.705215782120948e-05, "Creative Writing": 0.00011355297090695677, "Customer Support Page": 4.677397906667432e-05, "Q&A Forum": 3.361337974300946e-05, "Discussion Thread": 3.349633837207168e-05, "Comment Section": 0.0001285492299041832, "Missing Content": 0.00024418599142567214, "Knowledge Article": 0.000570960610988241, "Legal Notices": 0.00017560520253595603, "News Article": 4.4393470410182676e-05, "Organizational Announcement": 4.833538782196176e-05, "Nonfiction Writing": 5.58342328216729e-05, "Organizational About Page": 5.280847091250765e-05, "Personal About Page": 4.014762164542205e-05, "Personal Blog": 3.3442347644245e-05, "Product Page": 2.6751083722481156e-05, "Spam / Ads": 3.718978682541151e-05, "Structured Data": 0.0034660926705416817, "Technical Writing": 0.012573394994761712, "Transcript / Interview": 5.469595264471189e-05, "Tutorial / How-To Guide": 0.00039947800319725717, "User Reviews": 2.087931382518412e-05, "NONE": 0.9816190619633639}, "tertiary": {"Academic Writing": 6.031608399465904e-05, "Content Listing": 4.716290021219877e-05, "Creative Writing": 6.448214915138781e-05, "Customer Support Page": 2.740867575505966e-05, "Q&A Forum": 1.8599464926634903e-05, "Discussion Thread": 2.2567660657171686e-05, "Comment Section": 9.738334103483534e-05, "Missing Content": 0.0003639777486590522, "Knowledge Article": 0.00034157118036034974, "Legal Notices": 0.0002838766851040616, "News Article": 2.874476243449522e-05, "Organizational Announcement": 3.2786875491007735e-05, "Nonfiction Writing": 4.389126430753979e-05, "Organizational About Page": 4.088808544534078e-05, "Personal About Page": 2.3050679052725377e-05, "Personal Blog": 2.0176554993068278e-05, "Product Page": 1.844117587456489e-05, "Spam / Ads": 2.8831161176981194e-05, "Structured Data": 0.0019165698013360701, "Technical Writing": 0.005881848612365155, "Transcript / Interview": 3.2237723212641524e-05, "Tutorial / How-To Guide": 0.00027047897550221817, "User Reviews": 1.3975844528193377e-05, "NONE": 0.9903207325944245}, "structured_records": {"false": 0.9817484055555746, "true": 0.018251594444425336}, "procedural_steps": {"false": 0.9976145433757788, "true": 0.002385456624221143}, "worked_solution": {"false": 0.9988372800191435, "true": 0.0011627199808565117}, "contextual_dialogue": {"false": 0.9999932917045757, "true": 6.708295424282361e-06}, "content_quality": {"-2": 0.004615725470058703, "-1": 0.024241708210326913, "0": 0.22923796470356994, "1": 0.4877907927938841, "2": 0.2541138088221603}, "noise_severity": {"0": 0.9781214785108721, "1": 0.01987144877436439, "2": 0.001338976890770397, "3": 0.00039068366863616874, "4": 0.00027741215535698747}, "missing_content_severity": {"0": 0.968767424979127, "1": 0.027342165634864617, "2": 0.00253605576181125, "3": 0.0009665585267587328, "4": 0.0003877950974383812}, "factual_density": {"0": 0.0028786704227258446, "1": 0.006623594372656974, "2": 0.07696220640346316, "3": 0.4165706851240966, "4": 0.49696484367705746}, "pretraining_utility": {"-2": 0.00880395903187894, "-1": 0.1138956857525307, "0": 0.4083638181200106, "1": 0.40423181189882146, "2": 0.06470472519675838}, "math_density": {"0": 0.7886772781725107, "1": 0.19127189470318548, "2": 0.007381755625978083, "3": 0.002916991594650782, "4": 0.009752079903675104}, "code_density": {"0": 0.00022766236391700182, "1": 0.0004596746638598741, "2": 0.014686811281906655, "3": 0.12074758532088548, "4": 0.8638782663694311}, "reasoning_density": {"0": 0.6519426037309899, "1": 0.20683048464571263, "2": 0.09419509353896896, "3": 0.0287877504678316, "4": 0.018244067616496905}, "education_level": {"none": 0.0010981357372527364, "0": 0.0011262665916662467, "1": 0.004284472308081938, "2": 0.460377165714342, "3": 0.4559775301447589, "4": 0.07713642950389822}, "creative_writing_quality": {"not_applicable": 0.9996282912917797, "-2": 5.124696713372445e-05, "-1": 8.490022854294567e-05, "0": 0.00016063870783359185, "1": 5.454992754611196e-05, "2": 2.0372877163968455e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 6.449595897590857e-05, "Art & Design": 0.00013341893806915366, "Law & Crime": 7.697366725240479e-05, "Education & Careers": 5.412773925591511e-05, "Entertainment & Media": 0.0002810299006660551, "Fashion & Beauty": 5.719837203899623e-05, "Business, Economics & Finance": 7.239594049551144e-05, "Food & Dining": 5.085955687393256e-05, "Games & Gaming": 0.033318319638500515, "Electronics & Hardware": 6.904364117845343e-05, "Health, Healthcare & Wellness": 4.3263760580555706e-05, "History & Geography": 5.558496902584926e-05, "Home, Pets & Hobbies": 4.700668287282696e-05, "Industry & Production": 5.3522928234126593e-05, "Language, Literature & Philosophy": 7.035660833681059e-05, "Politics & Government": 2.8277656470525686e-05, "Religion & Spirituality": 5.2920484255813876e-05, "Science, Mathematics & Engineering": 0.00017367504403071615, "Relationships & Community": 3.682689093884316e-05, "Software Usage & Applications": 0.00034913800653949554, "Programming & Software Engineering": 0.9644769181407238, "Sports & Fitness": 9.108721134930133e-05, "Vehicles & Transportation": 3.075799018409483e-05, "Travel & Tourism": 6.240595802988105e-05, "Other / Uncovered Subject": 0.0001556164357572952, "Unknown / Insufficient Content": 9.477787936321002e-05}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.000721756581948722, "Art & Design": 0.0008275623173474095, "Law & Crime": 0.00048753010686754743, "Education & Careers": 0.0002808226851831729, "Entertainment & Media": 0.0014381391502922148, "Fashion & Beauty": 0.00023156474614279148, "Business, Economics & Finance": 0.0004377666608268554, "Food & Dining": 0.00020820067906178038, "Games & Gaming": 0.1659439526478511, "Electronics & Hardware": 0.00035122894825880024, "Health, Healthcare & Wellness": 0.00027224874898099804, "History & Geography": 0.00023775506569205057, "Home, Pets & Hobbies": 0.00025560651052843124, "Industry & Production": 0.00018522917968527867, "Language, Literature & Philosophy": 0.0002334166560791008, "Politics & Government": 0.00016446658135375555, "Religion & Spirituality": 0.0002803842156207072, "Science, Mathematics & Engineering": 0.0006135231968054703, "Relationships & Community": 0.00017057969475617378, "Software Usage & Applications": 0.0005751475785788095, "Programming & Software Engineering": 0.034086119189162684, "Sports & Fitness": 0.00026168127052192365, "Vehicles & Transportation": 0.00011033577060083983, "Travel & Tourism": 0.0003267753056003473, "Other / Uncovered Subject": 0.0004230260934703845, "NONE": 0.7908751804187827}}, "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.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": 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.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": 10630, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 10630, "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:08.763315+00:00", "scoring_key_slot": "assistant_1", "dataset_uid": "7f96dffd-90fe-4d34-a40f-f3ff52a15b65", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "05898cd66fc56e7fa2eecc09a36a8714ec8f8b7262548ce144516c80f05694bd", "source_metadata": {"uuid": "7f96dffd-90fe-4d34-a40f-f3ff52a15b65", "repo_name": "space-wizards/space-station-14", "relative_path": "Content.Shared/Verbs/SharedVerbSystem.cs", "category": "TOOL", "algo_rel_score": 0.6619692444801331, "quality_score": 4.483551979064941, "source_meta": {"github_metadata": {"branch": "master", "commit_count": 33062, "repo_created_at": "2017-05-22T01:57:51.000Z", "is_fork": false, "is_org_owned": true, "forked_from": null, "stars": 3183, "forks": 4477, "issues": 3696, "pull_requests": 790}, "file_meta": {"content_id": "9882d1ecd5bec845880f787c2758719d0343de9f", "size_bytes": 9392, "file_timestamp": 1752795935, "language": "c#", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "1fc0040d4eefe3721b0d48157aebfa7370698f06"}}, "parsed_source_meta": {"github_metadata": {"branch": "master", "commit_count": 33062, "repo_created_at": "2017-05-22T01:57:51.000Z", "is_fork": false, "is_org_owned": true, "forked_from": null, "stars": 3183, "forks": 4477, "issues": 3696, "pull_requests": 790}, "file_meta": {"content_id": "9882d1ecd5bec845880f787c2758719d0343de9f", "size_bytes": 9392, "file_timestamp": 1752795935, "language": "c#", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "1fc0040d4eefe3721b0d48157aebfa7370698f06", "url": "https://github.com/space-wizards/space-station-14/blob/1fc0040d4eefe3721b0d48157aebfa7370698f06/Content.Shared/Verbs/SharedVerbSystem.cs"}, "gpt4o_tokens": 1942, "dataset_split": "csharp", "probability_weighted_scores": {"content_quality": 0.9625452512877605, "noise_severity": 0.024831102183241638, "missing_content_severity": 0.036865133128516844, "factual_density": 3.398119437260103, "pretraining_utility": 0.40213765847604965, "math_density": 0.2537947003537944, "code_density": 3.847589118668054, "reasoning_density": 0.554560193593133, "education_level": 2.604377071722375, "creative_writing_quality": -0.24777057652830486}, "score_applicability": {"education_level": 0.9989018642627473, "creative_writing_quality": 0.0003717087082203424}} {"source_group": "csharp", "source": "openbmb/UltraData-Stack-v3-L2/csharp", "domain": "github.com", "language": "csharp", "url": "https://github.com/austin-j-taylor/Invested/blob/2c8ab2faecbc2d6b320329ab71759a204ca34904/Assets/Scripts/UI/HUD.cs", "id": "csharp-0-772a8e884335429c15905ddf891df36a", "text": "using UnityEngine;\nusing UnityEngine.SceneManagement;\nusing UnityEngine.UI;\n\n/// \n/// Manages the heads-up display.\n/// Manages all the sub-controllers that manage elements on the HUD, like metal reserves and the crosshair.\n/// \npublic class HUD : MonoBehaviour {\n\n // Colors of HUD elements\n public static readonly Color weakBlue = new Color(0, .75f, 1, 1);\n public static readonly Color strongBlue = new Color(0, 1f, 1, 1);\n public static readonly Color goldColor = new Color(1, 0.9411765f, .5f, .75f);\n\n public static bool IsOpen => hudGroup.alpha > 0;\n\n private static Text fPSText;\n private static CanvasGroup hudGroup;\n private static CanvasGroup hudBehindWheelGroup;\n private static Animator anim;\n\n private float deltaTimeFPS = 0.0f;\n private static GameObject instance;\n\n // HUD elements\n // Bad practice to give them the same names as their classes\n public static CrosshairController Crosshair { get; private set; }\n public static BurnPercentageMeter BurnPercentageMeter { get; private set; }\n public static MetalReserveMeters MetalReserveMeters { get; private set; }\n public static ZincMeterController ZincMeterController { get; private set; }\n public static ThrowingAmmoMeter ThrowingAmmoMeter { get; private set; }\n public static TargetOverlayController TargetOverlayController { get; private set; }\n public static ControlWheelController ControlWheelController { get; private set; }\n public static MessageOverlayDescriptive MessageOverlayDescriptive { get; private set; }\n public static MessageOverlayCinematic MessageOverlayCinematic { get; private set; }\n public static HelpOverlayController HelpOverlayController { get; private set; }\n public static ConsoleController ConsoleController { get; private set; }\n public static ConversationHUDController ConversationHUDController { get; private set; }\n public static TextLogController TextLogController { get; private set; }\n public static LoadingFadeController LoadingFadeController { get; private set; }\n\n void Awake() {\n instance = gameObject;\n fPSText = GetComponentInChildren();\n hudGroup = GetComponent();\n hudBehindWheelGroup = transform.Find(\"BehindControlWheel\").GetComponent();\n anim = GetComponent();\n Crosshair = GetComponentInChildren();\n BurnPercentageMeter = GetComponentInChildren();\n TargetOverlayController = GetComponentInChildren();\n ThrowingAmmoMeter = GetComponentInChildren();\n MessageOverlayDescriptive = GetComponentInChildren();\n MessageOverlayCinematic = GetComponentInChildren();\n HelpOverlayController = GetComponentInChildren();\n MetalReserveMeters = GetComponentInChildren();\n ZincMeterController = GetComponentInChildren();\n ControlWheelController = GetComponentInChildren();\n ConsoleController = GetComponentInChildren();\n ConversationHUDController = GetComponentInChildren();\n TextLogController = GetComponentInChildren();\n LoadingFadeController = GetComponentInChildren();\n SceneManager.sceneUnloaded += ClearHUDBeforeSceneChange;\n SceneManager.sceneLoaded += ClearAfterSceneChange;\n }\n //void Start() {\n // DisableHUD();\n //}\n\n void LateUpdate() {\n deltaTimeFPS += (Time.unscaledDeltaTime - deltaTimeFPS) * 0.1f;\n if (SettingsMenu.settingsInterface.fpsCounter == 1) {\n float fps = 1.0f / deltaTimeFPS;\n string text = string.Format(\"{0:0.} fps\", fps);\n fPSText.text = text;\n } else {\n fPSText.text = \"\";\n }\n if (Prima.PrimaInstance.ActorIronSteel.IsBurning) {\n TargetOverlayController.SoftRefresh();\n }\n }\n private void ClearAfterSceneChange(Scene scene, LoadSceneMode mode) {\n if (scene.buildIndex != SceneSelectMenu.sceneTitleScreen) {\n TimeController.CurrentTimeScale = SettingsMenu.settingsWorld.timeScale;\n ResetHUD();\n }\n }\n\n // Reset the hud when the scene unloads.\n public void ClearHUDBeforeSceneChange(Scene scene) {\n ResetHUD();\n TextLogController.LogPartition();\n }\n\n // Make HUD elements visible\n public static void EnableHUD(bool overrideCameraState = false) {\n if (SettingsMenu.settingsInterface.hudEnabled == 1 && (GameManager.CameraState != GameManager.GameCameraState.Cutscene || overrideCameraState))\n hudGroup.alpha = 1;\n }\n\n public static void DisableHUD() {\n //instance.SetActive(false);\n hudGroup.alpha = 0;\n }\n // Clears the values currently on the HUD\n public static void ResetHUD() {\n if (SettingsMenu.settingsInterface.hudEnabled == 1) {\n EnableHUD();\n if (BurnPercentageMeter) {\n BurnPercentageMeter.Clear();\n TargetOverlayController.Clear();\n ThrowingAmmoMeter.Clear();\n MetalReserveMeters.Clear();\n MessageOverlayDescriptive.Clear();\n MessageOverlayCinematic.Clear();\n HelpOverlayController.Clear();\n ZincMeterController.Clear();\n ControlWheelController.Clear();\n ConsoleController.Clear();\n ConversationHUDController.Clear();\n TextLogController.Clear();\n LoadingFadeController.Clear();\n Crosshair.Clear();\n anim.SetBool(\"ControlWheelVisible\", false);\n }\n }\n }\n\n public static void UpdateText() {\n HelpOverlayController.UpdateText();\n ControlWheelController.RefreshText();\n }\n\n\n #region staticHelpers\n /// \n /// Converts a force into a string in Newtons or G's depending on the current Setting\n /// \n /// the force to convert\n /// the mass of the object, used for G's\n /// the number of significant figures to write to the string\n /// the string representation of the force\n public static string ForceString(float force, float mass, int sigFigs = 2) {\n if (SettingsMenu.settingsInterface.forceUnits == 1) {\n return RoundStringToSigFigs(force).ToString() + \"N\";\n } else {\n return RoundStringToSigFigs(force / mass / 9.81f, sigFigs) + \"G's\";\n }\n }\n\n /// \n /// Converts a mass to a string in kilograms\n /// \n /// the mass to convert\n /// the string representation of the mass\n public static string MassString(float mass) {\n return (mass).ToString() + \"kg\";\n }\n\n /// \n /// Converts an Allomantic Force to a string representation of its components\n /// e.g. \"650N + 250N\"\n /// \n /// the Allomantic Force component of the force\n /// the Anchored Push Boost component of the forces\n /// the mass of the object, used for G's\n /// the number of significant figures to write to the string\n /// flip the positive/negative convention for the +/- sign and color\n /// the string representation of the force\n public static string AllomanticSumString(Vector3 allomanticForce, Vector3 normalForce, float mass, int sigFigs = 2, bool invert = false) {\n string plusSign;\n if (invert && Vector3.Dot(allomanticForce, normalForce) <= 0 || !invert && Vector3.Dot(allomanticForce, normalForce) >= 0) {\n plusSign = TextCodes.Blue(\"+\");\n } else {\n plusSign = TextCodes.Red(\"-\");\n }\n\n if (SettingsMenu.settingsInterface.forceUnits == 1) {\n return RoundStringToSigFigs(allomanticForce.magnitude, sigFigs) + \" \" + plusSign + \" \" + RoundStringToSigFigs(normalForce.magnitude, sigFigs) + \"N\";\n } else {\n return RoundStringToSigFigs(allomanticForce.magnitude / mass / 9.81f, sigFigs)\n + \" \" + plusSign + \" \" +\n RoundStringToSigFigs(normalForce.magnitude / mass / 9.81f, sigFigs) + \"G's\";\n }\n }\n\n /// \n /// Rounds a float to the given significant figures and converts it to a string\n /// \n /// the number to convert\n /// the number of significant figures to use\n /// \n public static string RoundStringToSigFigs(float num, int sigFigs = 2) {\n float mag = num < 0 ? -num : num;\n\n if (mag < Mathf.Pow(10, sigFigs - 1)) {\n int logLevel = (int)(-Mathf.Log10(mag) + sigFigs);\n if (logLevel > 15 || logLevel < 0)\n return \"0\";\n return System.Math.Round(num, logLevel).ToString(\".\" + new string('0', logLevel));\n }\n // divide it down to the right number of digits, round to int, multiply it back up\n int tenPower = (int)Mathf.Pow(10, (int)Mathf.Log10(mag) + 1 - sigFigs);\n int low = (int)Mathf.Round(num / tenPower);\n return (low * tenPower).ToString();\n }\n\n /// \n /// Formats a double as a time as \"MM:SS:ms\" and converts it into a string\n /// \n /// the time\n /// the time as a string\n public static string TimeMMSSMS(double input) {\n int minutes = (int)input / 60;\n int seconds = (int)input % 60;\n int milliseconds = (int)((input - (int)input) * 100);\n return (minutes < 10 ? \"0\" : \"\") + minutes + (seconds < 10 ? \":0\" : \":\") + seconds + (milliseconds < 10 ? \":0\" : \":\") + milliseconds;\n }\n #endregion\n\n /// \n /// Fade HUD in/out with Control Wheel\n /// \n public static void ShowControlWheel() {\n if (SettingsMenu.settingsGameplay.controlScheme != JSONSettings_Gameplay.Gamepad)\n CameraController.UnlockCamera();\n\n anim.SetBool(\"ControlWheelVisible\", true);\n }\n public static void HideControlWheel(bool noTransition = false) {\n if (SettingsMenu.settingsGameplay.controlScheme != JSONSettings_Gameplay.Gamepad)\n CameraController.LockCamera();\n\n anim.SetBool(\"ControlWheelVisible\", false);\n if (noTransition) {\n anim.Play(\"HUD_HideControlWheel\", anim.GetLayerIndex(\"Visibility\"));\n }\n }\n\n /// \n /// Clear unwanted fields after changing settings\n /// \n public void InterfaceRefresh() {\n BurnPercentageMeter.InterfaceRefresh();\n TargetOverlayController.InterfaceRefresh();\n }\n}\n", "text_preview": "using UnityEngine; using UnityEngine.SceneManagement; using UnityEngine.UI; /// /// Manages the heads-up display. /// Manages all the sub-controllers that manage elements on the HUD, like metal reserves and the crosshair. /// ();\n Customdata = new CustomdataApi(apiClientFactory);\n Information = new InformationApi(apiClientFactory);\n }\n\n /// \n /// Fluent builder for creating an instance of Mp3Api\n /// \n public static BitmovinApiBuilder Builder => new BitmovinApiBuilder();\n\n public CustomdataApi Customdata { get; }\n public InformationApi Information { get; }\n\n /// \n /// Add MP3 muxing\n /// \n /// Id of the encoding. (required)\n /// The MP3 muxing to be created\n public async Task CreateAsync(string encodingId, Models.Mp3Muxing mp3Muxing)\n {\n return await _apiClient.CreateAsync(encodingId, mp3Muxing);\n }\n\n /// \n /// Delete MP3 muxing\n /// \n /// Id of the encoding. (required)\n /// Id of the MP3 muxing (required)\n public async Task DeleteAsync(string encodingId, string muxingId)\n {\n return await _apiClient.DeleteAsync(encodingId, muxingId);\n }\n\n /// \n /// MP3 muxing details\n /// \n /// Id of the encoding. (required)\n /// Id of the MP3 muxing (required)\n public async Task GetAsync(string encodingId, string muxingId)\n {\n return await _apiClient.GetAsync(encodingId, muxingId);\n }\n\n /// \n /// List MP3 muxings\n /// \n /// Id of the encoding. (required)\n /// The query parameters for sorting, filtering and paging options (optional)\n public async Task> ListAsync(string encodingId, params Func[] queryParams)\n {\n ListQueryParams q = new ListQueryParams();\n\n foreach (var builderFunc in queryParams)\n {\n builderFunc(q);\n }\n\n return await _apiClient.ListAsync(encodingId, q);\n }\n\n internal interface IMp3ApiClient\n {\n [Post(\"/encoding/encodings/{encoding_id}/muxings/mp3\")]\n [AllowAnyStatusCode]\n Task CreateAsync([Path(\"encoding_id\")] string encodingId, [Body] Models.Mp3Muxing mp3Muxing);\n\n [Delete(\"/encoding/encodings/{encoding_id}/muxings/mp3/{muxing_id}\")]\n [AllowAnyStatusCode]\n Task DeleteAsync([Path(\"encoding_id\")] string encodingId, [Path(\"muxing_id\")] string muxingId);\n\n [Get(\"/encoding/encodings/{encoding_id}/muxings/mp3/{muxing_id}\")]\n [AllowAnyStatusCode]\n Task GetAsync([Path(\"encoding_id\")] string encodingId, [Path(\"muxing_id\")] string muxingId);\n\n [Get(\"/encoding/encodings/{encoding_id}/muxings/mp3\")]\n [AllowAnyStatusCode]\n Task> ListAsync([Path(\"encoding_id\")] string encodingId, [QueryMap(SerializationMethod = QuerySerializationMethod.Serialized)] IDictionary queryParams);\n }\n\n public class ListQueryParams : Dictionary\n {\n /// \n /// Index of the first item to return, starting at 0. Default is 0\n /// \n public ListQueryParams Offset(int? offset) => SetQueryParam(\"offset\", offset);\n\n /// \n /// Maximum number of items to return. Default is 25, maximum is 100\n /// \n public ListQueryParams Limit(int? limit) => SetQueryParam(\"limit\", limit);\n\n private ListQueryParams SetQueryParam(string key, T value)\n {\n if (value != null)\n {\n this[key] = value;\n }\n\n return this;\n }\n }\n }\n}\n", "text_preview": "using System; using System.Collections; using System.Collections.Generic; using System.Threading.Tasks; using RestEase; using Bitmovin.Api.Sdk.Common; using Bitmovin.Api.Sdk.Encoding.Encodings.Muxings.Mp3.Customdata; using Bitmovin.Api.Sdk.", "input_sha256": "ca956ccb05974ce8d2c75922fb0286a882522ef8ee557d42f6af22e38ebbe48b", "text_sha256": "5a97cd42e4df236001d6056ad20788ca1c77f57e803250014a9b1c4b2d93615a", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 2021, "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": 1.2311392330111928, "noise_severity": 0.03683363762706799, "missing_content_severity": 0.011321778006911648, "factual_density": 3.31097630689179, "pretraining_utility": 0.2783879889039171, "math_density": 0.02123328901684088, "code_density": 3.901187506995977, "reasoning_density": 0.04060944337240857, "education_level": 2.401732255851765, "creative_writing_quality": -0.2201570912172124}, "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.017318580518203897, "secondary_choice": "NONE", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.9986915903604453, "secondary": 0.9697513758338562, "tertiary": 0.9878229381137209, "structured_records": 0.028592055757625846, "procedural_steps": 0.0020322158654741945, "worked_solution": 0.0003987939440378287, "contextual_dialogue": 5.286528822656478e-06, "content_quality": 0.6123709644062764, "noise_severity": 0.9693053019774434, "missing_content_severity": 0.9905651849942403, "factual_density": 0.42581358907649136, "pretraining_utility": 0.5134493188787989, "math_density": 0.9823055924859659, "code_density": 0.9176562558299803, "reasoning_density": 0.9661587971896595, "education_level": 0.5346515337343076, "creative_writing_quality": 0.9995862187005211, "primary_topic": 0.989240386510464, "secondary_topic": 0.8736201781297692}, "probability_margin": {"primary": 0.998217532946173, "secondary": 0.9577615594044966, "tertiary": 0.9835055976407692, "education_level": 0.26496961857156476, "creative_writing_quality": 0.9995008734411736, "primary_topic": 0.9827839719512408, "secondary_topic": 0.7962834220562007}, "raw_probabilities": {"primary": {"Academic Writing": 1.0230337814148957e-05, "Content Listing": 1.0409285677792174e-05, "Creative Writing": 5.535478377304396e-06, "Customer Support Page": 7.486552548518202e-06, "Q&A Forum": 3.65761141071887e-06, "Discussion Thread": 2.1378203245304795e-06, "Comment Section": 3.308120828333217e-06, "Missing Content": 6.915357028044015e-06, "Knowledge Article": 2.597889112924243e-05, "Legal Notices": 9.894240045261199e-06, "News Article": 1.3726040232827564e-06, "Organizational Announcement": 4.047662852017992e-06, "Nonfiction Writing": 3.1215648747081587e-06, "Organizational About Page": 4.287001559030422e-06, "Personal About Page": 2.71466316484503e-06, "Personal Blog": 2.683738847873038e-06, "Product Page": 4.160282788375551e-06, "Spam / Ads": 3.1352784893962683e-06, "Structured Data": 0.0005285744825871547, "Technical Writing": 0.9987461074287601, "Transcript / Interview": 4.848894663523279e-06, "Tutorial / How-To Guide": 8.385133123615593e-05, "User Reviews": 2.1944705525851717e-06, "Other / Unknown": 0.000523346900417213}, "secondary": {"Academic Writing": 0.00014027423739130441, "Content Listing": 0.0002663355479318334, "Creative Writing": 9.575208984900739e-05, "Customer Support Page": 0.00019836916859848546, "Q&A Forum": 4.9761944506158086e-05, "Discussion Thread": 3.349529938618872e-05, "Comment Section": 0.00011995757111700998, "Missing Content": 0.00021882585288212028, "Knowledge Article": 0.000926449471665423, "Legal Notices": 0.00017804605323948843, "News Article": 7.158988379810068e-05, "Organizational Announcement": 7.247428840244256e-05, "Nonfiction Writing": 6.743284208737314e-05, "Organizational About Page": 7.724948873178671e-05, "Personal About Page": 6.11924202438794e-05, "Personal Blog": 5.811533375601465e-05, "Product Page": 5.295095959859593e-05, "Spam / Ads": 8.10575475135279e-05, "Structured Data": 0.011296894467287762, "Technical Writing": 0.013250175769615673, "Transcript / Interview": 8.288292677913798e-05, "Tutorial / How-To Guide": 0.0015544129547491732, "User Reviews": 3.45687067574283e-05, "NONE": 0.9710117351741122}, "tertiary": {"Academic Writing": 6.444614632396266e-05, "Content Listing": 0.00019566755171341718, "Creative Writing": 5.859578550558173e-05, "Customer Support Page": 0.00011202249855578249, "Q&A Forum": 2.330421470247895e-05, "Discussion Thread": 1.563145916751044e-05, "Comment Section": 5.940157974324381e-05, "Missing Content": 0.0001900963812001614, "Knowledge Article": 0.0005801647085014578, "Legal Notices": 0.00017383848657152116, "News Article": 3.532800823569189e-05, "Organizational Announcement": 3.3354379157759625e-05, "Nonfiction Writing": 3.526763433142712e-05, "Organizational About Page": 4.591356319567461e-05, "Personal About Page": 3.005256991138339e-05, "Personal Blog": 2.722179174447626e-05, "Product Page": 3.5016480901602806e-05, "Spam / Ads": 3.908938376511605e-05, "Structured Data": 0.004824718051546685, "Technical Writing": 0.0038821455862931083, "Transcript / Interview": 3.7647053444885637e-05, "Tutorial / How-To Guide": 0.0011530560994163083, "User Reviews": 1.770489375486357e-05, "NONE": 0.9883303156923159}, "structured_records": {"false": 0.9714079442423742, "true": 0.028592055757625846}, "procedural_steps": {"false": 0.9979677841345258, "true": 0.0020322158654741945}, "worked_solution": {"false": 0.9996012060559621, "true": 0.0003987939440378287}, "contextual_dialogue": {"false": 0.9999947134711773, "true": 5.286528822656478e-06}, "content_quality": {"-2": 0.002773944647164576, "-1": 0.005483573429573601, "0": 0.09771882404999697, "1": 0.5458766200114344, "2": 0.3481470378618305}, "noise_severity": {"0": 0.9676675774668518, "1": 0.02924349857665667, "2": 0.0021123438545003325, "3": 0.0005408690665533516, "4": 0.00043571103543764883}, "missing_content_severity": {"0": 0.9941791374734684, "1": 0.001879402186523865, "2": 0.0026272321835796356, "3": 0.0010690011724835953, "4": 0.0002452269839444315}, "factual_density": {"0": 0.0036543902208573693, "1": 0.009237115838434892, "2": 0.10246855716742126, "3": 0.4417576703746336, "4": 0.4428822663986528}, "pretraining_utility": {"-2": 0.010690487930013629, "-1": 0.1313554383607349, "0": 0.47301286487196453, "1": 0.33875801454989474, "2": 0.046183194287392246}, "math_density": {"0": 0.9841115775089925, "1": 0.013342980713612057, "2": 0.0008993937399625958, "3": 0.000492671326428168, "4": 0.001153376711004781}, "code_density": {"0": 0.00023057078539467942, "1": 0.00040221214247511183, "2": 0.00828761602757416, "3": 0.08010834137987115, "4": 0.9109712596646848}, "reasoning_density": {"0": 0.971691484869131, "1": 0.01717595032913656, "2": 0.010196873021878106, "3": 0.0007030201199014638, "4": 0.00023267165995285226}, "education_level": {"none": 0.001191984598821959, "0": 0.0013473820128177996, "1": 0.0064379632656470075, "2": 0.6122096114452563, "3": 0.34723999287369156, "4": 0.03157306580376536}, "creative_writing_quality": {"not_applicable": 0.9996551822504343, "-2": 4.042300911857112e-05, "-1": 8.194927302309689e-05, "0": 0.00015430880926075346, "1": 4.939209781083054e-05, "2": 1.8744560352476322e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 2.1823580902279137e-05, "Art & Design": 3.5375753014813054e-05, "Law & Crime": 2.063219175264837e-05, "Education & Careers": 2.092492836925206e-05, "Entertainment & Media": 0.006870245847282194, "Fashion & Beauty": 1.7839895265886198e-05, "Business, Economics & Finance": 5.736430345548808e-05, "Food & Dining": 1.908121221835807e-05, "Games & Gaming": 5.5076268364423985e-05, "Electronics & Hardware": 0.00014926694882112158, "Health, Healthcare & Wellness": 1.7840916102087627e-05, "History & Geography": 1.9779551653539057e-05, "Home, Pets & Hobbies": 2.6553875664922373e-05, "Industry & Production": 0.0001138621114183655, "Language, Literature & Philosophy": 2.629636172369777e-05, "Politics & Government": 1.1024979977872722e-05, "Religion & Spirituality": 2.2679270935033764e-05, "Science, Mathematics & Engineering": 0.000932655168535033, "Relationships & Community": 1.1330387568982148e-05, "Software Usage & Applications": 0.0013172253648049104, "Programming & Software Engineering": 0.989654217798523, "Sports & Fitness": 2.814626591606093e-05, "Vehicles & Transportation": 1.2727463790180304e-05, "Travel & Tourism": 2.4324577697278167e-05, "Other / Uncovered Subject": 0.00047730064006009087, "Unknown / Insufficient Content": 3.6404336182578567e-05}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.000584107990846802, "Art & Design": 0.0005283028496182717, "Law & Crime": 0.000394360146666235, "Education & Careers": 0.0002759624195791485, "Entertainment & Media": 0.08219751845319274, "Fashion & Beauty": 0.0002465794850634415, "Business, Economics & Finance": 0.0005739178679547935, "Food & Dining": 0.00018507682352828997, "Games & Gaming": 0.0005459443800825145, "Electronics & Hardware": 0.0005193192499450995, "Health, Healthcare & Wellness": 0.00021881000281991227, "History & Geography": 0.0001997617696529025, "Home, Pets & Hobbies": 0.0002948040603471775, "Industry & Production": 0.00026666914002644696, "Language, Literature & Philosophy": 0.0001956737813951843, "Politics & Government": 0.00018988482188661042, "Religion & Spirituality": 0.00025267478498243614, "Science, Mathematics & Engineering": 0.0016426816282675133, "Relationships & Community": 0.00013235178335001268, "Software Usage & Applications": 0.013654156405630656, "Programming & Software Engineering": 0.016570620484957846, "Sports & Fitness": 0.00022041597596652383, "Vehicles & Transportation": 0.00010458750637178789, "Travel & Tourism": 0.0002451483763368261, "Other / Uncovered Subject": 0.0012797293021373482, "NONE": 0.8784809405093935}}, "probabilities": {"primary": {"Academic Writing": 1.0230337814148955e-05, "Content Listing": 1.0409285677792172e-05, "Creative Writing": 5.535478377304395e-06, "Customer Support Page": 7.4865525485182e-06, "Q&A Forum": 3.6576114107188693e-06, "Discussion Thread": 2.137820324530479e-06, "Comment Section": 3.3081208283332163e-06, "Missing Content": 6.915357028044013e-06, "Knowledge Article": 2.5978891129242423e-05, "Legal Notices": 9.894240045261197e-06, "News Article": 1.3726040232827562e-06, "Organizational Announcement": 4.0476628520179916e-06, "Nonfiction Writing": 3.121564874708158e-06, "Organizational About Page": 4.287001559030421e-06, "Personal About Page": 2.7146631648450295e-06, "Personal Blog": 2.6837388478730375e-06, "Product Page": 4.16028278837555e-06, "Spam / Ads": 3.1352784893962675e-06, "Structured Data": 0.0005285744825871546, "Technical Writing": 0.9987461074287599, "Transcript / Interview": 4.848894663523278e-06, "Tutorial / How-To Guide": 8.385133123615592e-05, "User Reviews": 2.1944705525851713e-06, "Other / Unknown": 0.0005233469004172128}, "secondary": {"Academic Writing": 0.0001402742373913044, "Content Listing": 0.00026633554793183335, "Creative Writing": 9.575208984900736e-05, "Customer Support Page": 0.0001983691685984854, "Q&A Forum": 4.976194450615807e-05, "Discussion Thread": 3.3495299386188716e-05, "Comment Section": 0.00011995757111700996, "Missing Content": 0.00021882585288212023, "Knowledge Article": 0.0009264494716654227, "Legal Notices": 0.0001780460532394884, "News Article": 7.158988379810067e-05, "Organizational Announcement": 7.247428840244255e-05, "Nonfiction Writing": 6.743284208737313e-05, "Organizational About Page": 7.72494887317867e-05, "Personal About Page": 6.119242024387939e-05, "Personal Blog": 5.8115333756014635e-05, "Product Page": 5.295095959859592e-05, "Spam / Ads": 8.105754751352789e-05, "Structured Data": 0.01129689446728776, "Technical Writing": 0.01325017576961567, "Transcript / Interview": 8.288292677913797e-05, "Tutorial / How-To Guide": 0.0015544129547491728, "User Reviews": 3.4568706757428296e-05, "NONE": 0.971011735174112}, "tertiary": {"Academic Writing": 6.444614632396266e-05, "Content Listing": 0.00019566755171341718, "Creative Writing": 5.859578550558173e-05, "Customer Support Page": 0.00011202249855578249, "Q&A Forum": 2.330421470247895e-05, "Discussion Thread": 1.563145916751044e-05, "Comment Section": 5.940157974324381e-05, "Missing Content": 0.0001900963812001614, "Knowledge Article": 0.0005801647085014578, "Legal Notices": 0.00017383848657152116, "News Article": 3.532800823569189e-05, "Organizational Announcement": 3.3354379157759625e-05, "Nonfiction Writing": 3.526763433142712e-05, "Organizational About Page": 4.591356319567461e-05, "Personal About Page": 3.005256991138339e-05, "Personal Blog": 2.722179174447626e-05, "Product Page": 3.5016480901602806e-05, "Spam / Ads": 3.908938376511605e-05, "Structured Data": 0.004824718051546685, "Technical Writing": 0.0038821455862931083, "Transcript / Interview": 3.7647053444885637e-05, "Tutorial / How-To Guide": 0.0011530560994163083, "User Reviews": 1.770489375486357e-05, "NONE": 0.9883303156923159}, "structured_records": {"false": 0.9714079442423742, "true": 0.028592055757625846}, "procedural_steps": {"false": 0.9979677841345258, "true": 0.0020322158654741945}, "worked_solution": {"false": 0.9996012060559621, "true": 0.0003987939440378287}, "contextual_dialogue": {"false": 0.9999947134711773, "true": 5.286528822656478e-06}, "content_quality": {"-2": 0.002773944647164576, "-1": 0.005483573429573601, "0": 0.09771882404999697, "1": 0.5458766200114344, "2": 0.3481470378618305}, "noise_severity": {"0": 0.967667577466852, "1": 0.029243498576656674, "2": 0.002112343854500333, "3": 0.0005408690665533517, "4": 0.0004357110354376489}, "missing_content_severity": {"0": 0.9941791374734684, "1": 0.001879402186523865, "2": 0.0026272321835796356, "3": 0.0010690011724835953, "4": 0.0002452269839444315}, "factual_density": {"0": 0.0036543902208573697, "1": 0.009237115838434893, "2": 0.10246855716742127, "3": 0.44175767037463365, "4": 0.44288226639865286}, "pretraining_utility": {"-2": 0.010690487930013629, "-1": 0.1313554383607349, "0": 0.47301286487196453, "1": 0.33875801454989474, "2": 0.046183194287392246}, "math_density": {"0": 0.9841115775089925, "1": 0.013342980713612057, "2": 0.0008993937399625958, "3": 0.000492671326428168, "4": 0.001153376711004781}, "code_density": {"0": 0.00023057078539467945, "1": 0.0004022121424751119, "2": 0.008287616027574161, "3": 0.08010834137987116, "4": 0.910971259664685}, "reasoning_density": {"0": 0.971691484869131, "1": 0.01717595032913656, "2": 0.010196873021878106, "3": 0.0007030201199014638, "4": 0.00023267165995285226}, "education_level": {"none": 0.001191984598821959, "0": 0.0013473820128177996, "1": 0.0064379632656470075, "2": 0.6122096114452563, "3": 0.34723999287369156, "4": 0.03157306580376536}, "creative_writing_quality": {"not_applicable": 0.9996551822504343, "-2": 4.042300911857112e-05, "-1": 8.194927302309689e-05, "0": 0.00015430880926075346, "1": 4.939209781083054e-05, "2": 1.8744560352476322e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 2.1823580902279134e-05, "Art & Design": 3.537575301481305e-05, "Law & Crime": 2.0632191752648368e-05, "Education & Careers": 2.0924928369252057e-05, "Entertainment & Media": 0.006870245847282192, "Fashion & Beauty": 1.7839895265886195e-05, "Business, Economics & Finance": 5.736430345548807e-05, "Food & Dining": 1.9081212218358066e-05, "Games & Gaming": 5.507626836442397e-05, "Electronics & Hardware": 0.00014926694882112156, "Health, Healthcare & Wellness": 1.7840916102087624e-05, "History & Geography": 1.9779551653539054e-05, "Home, Pets & Hobbies": 2.6553875664922366e-05, "Industry & Production": 0.00011386211141836548, "Language, Literature & Philosophy": 2.629636172369776e-05, "Politics & Government": 1.102497997787272e-05, "Religion & Spirituality": 2.267927093503376e-05, "Science, Mathematics & Engineering": 0.0009326551685350328, "Relationships & Community": 1.1330387568982146e-05, "Software Usage & Applications": 0.0013172253648049102, "Programming & Software Engineering": 0.9896542177985228, "Sports & Fitness": 2.8146265916060924e-05, "Vehicles & Transportation": 1.2727463790180301e-05, "Travel & Tourism": 2.432457769727816e-05, "Other / Uncovered Subject": 0.00047730064006009076, "Unknown / Insufficient Content": 3.640433618257856e-05}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.000584107990846802, "Art & Design": 0.0005283028496182717, "Law & Crime": 0.000394360146666235, "Education & Careers": 0.0002759624195791485, "Entertainment & Media": 0.08219751845319274, "Fashion & Beauty": 0.0002465794850634415, "Business, Economics & Finance": 0.0005739178679547935, "Food & Dining": 0.00018507682352828997, "Games & Gaming": 0.0005459443800825145, "Electronics & Hardware": 0.0005193192499450995, "Health, Healthcare & Wellness": 0.00021881000281991227, "History & Geography": 0.0001997617696529025, "Home, Pets & Hobbies": 0.0002948040603471775, "Industry & Production": 0.00026666914002644696, "Language, Literature & Philosophy": 0.0001956737813951843, "Politics & Government": 0.00018988482188661042, "Religion & Spirituality": 0.00025267478498243614, "Science, Mathematics & Engineering": 0.0016426816282675133, "Relationships & Community": 0.00013235178335001268, "Software Usage & Applications": 0.013654156405630656, "Programming & Software Engineering": 0.016570620484957846, "Sports & Fitness": 0.00022041597596652383, "Vehicles & Transportation": 0.00010458750637178789, "Travel & Tourism": 0.0002451483763368261, "Other / Uncovered Subject": 0.0012797293021373482, "NONE": 0.8784809405093935}}, "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": 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.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.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": 9718, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 9718, "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.163105+00:00", "scoring_key_slot": "assistant_1", "dataset_uid": "37a32b26-01c4-4534-87c5-e423d229144f", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "8ef90c957258ef397782649e677b33992bef866583536e23384a86c25bda90ed", "source_metadata": {"uuid": "37a32b26-01c4-4534-87c5-e423d229144f", "repo_name": "bitmovin/bitmovin-api-sdk-dotnet", "relative_path": "src/Bitmovin.Api.Sdk/Encoding/Encodings/Muxings/Mp3/Mp3Api.cs", "category": "CONFIG", "algo_rel_score": 0.7084182500839233, "quality_score": 4.856179237365723, "source_meta": {"github_metadata": {"branch": "main", "commit_count": 233, "repo_created_at": "2019-03-12T12:41:45.000Z", "is_fork": false, "is_org_owned": true, "forked_from": null, "stars": 15, "forks": 3, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "094055188ac82752a5c7aba9bb99cc30c3f5e173", "size_bytes": 4818, "file_timestamp": 1753297421, "language": "c#", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "69f46cb8db3fa3ef16c89808fa2c1cc52663a48e"}}, "parsed_source_meta": {"github_metadata": {"branch": "main", "commit_count": 233, "repo_created_at": "2019-03-12T12:41:45.000Z", "is_fork": false, "is_org_owned": true, "forked_from": null, "stars": 15, "forks": 3, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "094055188ac82752a5c7aba9bb99cc30c3f5e173", "size_bytes": 4818, "file_timestamp": 1753297421, "language": "c#", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "69f46cb8db3fa3ef16c89808fa2c1cc52663a48e", "url": "https://github.com/bitmovin/bitmovin-api-sdk-dotnet/blob/69f46cb8db3fa3ef16c89808fa2c1cc52663a48e/src/Bitmovin.Api.Sdk/Encoding/Encodings/Muxings/Mp3/Mp3Api.cs"}, "gpt4o_tokens": 1118, "dataset_split": "csharp", "probability_weighted_scores": {"content_quality": 1.2311392330111928, "noise_severity": 0.03683363762706799, "missing_content_severity": 0.011321778006911648, "factual_density": 3.31097630689179, "pretraining_utility": 0.2783879889039171, "math_density": 0.02123328901684088, "code_density": 3.901187506995977, "reasoning_density": 0.04060944337240857, "education_level": 2.401732255851765, "creative_writing_quality": -0.2201570912172124}, "score_applicability": {"education_level": 0.998808015401178, "creative_writing_quality": 0.0003448177495657283}} {"source_group": "csharp", "source": "openbmb/UltraData-Stack-v3-L2/csharp", "domain": "github.com", "language": "csharp", "url": "https://github.com/zyhfish/Dnn.Platform/blob/bf58a1a91756c90e3b96963ca27ece70fe259d62/DNN%20Platform/Library/Obsolete/TabController.cs", "id": "csharp-0-723d38102a247ab4bef420eb0163574c", "text": "#region Copyright\n\n// \n// DotNetNukeŽ - http://www.dotnetnuke.com\n// Copyright (c) 2002-2018\n// by DotNetNuke Corporation\n// \n// Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated \n// documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation \n// the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and \n// to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n// \n// The above copyright notice and this permission notice shall be included in all copies or substantial portions \n// of the Software.\n// \n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED \n// TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL \n// THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF \n// CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER \n// DEALINGS IN THE SOFTWARE.\n\n#endregion\n\n#region Usings\n\nusing System;\nusing System.Collections;\nusing System.Collections.Generic;\nusing System.ComponentModel;\nusing System.Data;\nusing System.Linq;\nusing System.Xml;\n\nusing DotNetNuke.Common.Utilities;\nusing DotNetNuke.Data;\nusing DotNetNuke.Entities.Modules;\nusing DotNetNuke.Entities.Portals;\nusing DotNetNuke.Entities.Users;\nusing DotNetNuke.Security.Permissions;\nusing DotNetNuke.Services.Exceptions;\nusing DotNetNuke.Services.Localization;\nusing DotNetNuke.Services.Log.EventLog;\n\n#endregion\n\nnamespace DotNetNuke.Entities.Tabs\n{\n /// \n /// TabController provides all operation to tabinfo.\n /// \n /// \n /// Tab is equal to page in DotNetNuke.\n /// Tabs will be a sitemap for a poatal, and every request at first need to check whether there is valid tab information\n /// include in the url, if not it will use default tab to display information.\n /// \n public partial class TabController\n {\n [EditorBrowsable(EditorBrowsableState.Never)]\n [Obsolete(\"Deprecated in DotNetNuke 7.3. RUse alternate overload\")]\n public void CreateLocalizedCopy(List tabs, Locale locale)\n {\n foreach (TabInfo t in tabs)\n {\n CreateLocalizedCopy(t, locale, true);\n }\n }\n\n [EditorBrowsable(EditorBrowsableState.Never)]\n [Obsolete(\"Deprecated in DotNetNuke 7.3. RUse alternate overload\")]\n public void CreateLocalizedCopy(TabInfo originalTab, Locale locale)\n {\n CreateLocalizedCopy(originalTab, locale, true);\n }\n\n [EditorBrowsable(EditorBrowsableState.Never)]\n [Obsolete(\"Deprecated in DNN 7.3. Method is not scalable. Use GetTabsByPortal\")]\n public ArrayList GetAllTabs()\n {\n return CBO.FillCollection(_dataProvider.GetAllTabs(), typeof(TabInfo));\n }\n\n [EditorBrowsable(EditorBrowsableState.Never)]\n [Obsolete(\"Deprecated in DNN 7.3. Method is not neccessary. Use LINQ and GetPortalTabs()\")]\n public List GetCultureTabList(int portalid)\n {\n return (from kvp in GetTabsByPortal(portalid)\n where !kvp.Value.TabPath.StartsWith(\"//Admin\")\n && kvp.Value.CultureCode == PortalController.Instance.GetCurrentPortalSettings().DefaultLanguage\n && !kvp.Value.IsDeleted\n select kvp.Value).ToList();\n }\n\n [EditorBrowsable(EditorBrowsableState.Never)]\n [Obsolete(\"Deprecated in DNN 7.3. Method is not neccessary. Use LINQ and GetPortalTabs()\")]\n public List GetDefaultCultureTabList(int portalid)\n {\n return (from kvp in GetTabsByPortal(portalid)\n where !kvp.Value.TabPath.StartsWith(\"//Admin\")\n && !kvp.Value.IsDeleted\n select kvp.Value).ToList();\n }\n\n [EditorBrowsable(EditorBrowsableState.Never)]\n [Obsolete(\"This method is obsolete. It has been replaced by GetTab(ByVal TabId As Integer, ByVal PortalId As Integer, ByVal ignoreCache As Boolean) \")]\n public TabInfo GetTab(int tabId)\n {\n return GetTab(tabId, GetPortalId(tabId, Null.NullInteger), false);\n }\n\n [EditorBrowsable(EditorBrowsableState.Never)]\n [Obsolete(\"Deprecated in DNN 7.3. Use LINQ queries on tab collections thata re cached\")]\n public TabInfo GetTabByUniqueID(Guid uniqueID)\n {\n return CBO.FillObject(_dataProvider.GetTabByUniqueID(uniqueID));\n }\n\n [EditorBrowsable(EditorBrowsableState.Never)]\n [Obsolete(\"Deprecated in DNN 7.3. Use GetTabsByPortal(portalId).Count\")]\n public int GetTabCount(int portalId)\n {\n return GetTabsByPortal(portalId).Count;\n }\n\n [EditorBrowsable(EditorBrowsableState.Never)]\n [Obsolete(\"This method is obsolete. It has been replaced by GetTabsByParent(ByVal ParentId As Integer, ByVal PortalId As Integer) \")]\n public ArrayList GetTabsByParentId(int parentId)\n {\n return new ArrayList(GetTabsByParent(parentId, GetPortalId(parentId, Null.NullInteger)));\n }\n\n [EditorBrowsable(EditorBrowsableState.Never)]\n [Obsolete(\"Deprecated in DNN 7.3. Use one of the alternate MoveTabxxx methods)\")]\n public void MoveTab(TabInfo tab, TabMoveType type)\n {\n //Get the List of tabs with the same parent\n IOrderedEnumerable siblingTabs = GetSiblingTabs(tab).OrderBy(t => t.TabOrder);\n int tabIndex = GetIndexOfTab(tab, siblingTabs);\n switch (type)\n {\n case TabMoveType.Top:\n MoveTabBefore(tab, siblingTabs.First().TabID);\n break;\n case TabMoveType.Bottom:\n MoveTabAfter(tab, siblingTabs.Last().TabID);\n break;\n case TabMoveType.Up:\n MoveTabBefore(tab, siblingTabs.ElementAt(tabIndex - 1).TabID);\n break;\n case TabMoveType.Down:\n MoveTabAfter(tab, siblingTabs.ElementAt(tabIndex + 1).TabID);\n break;\n case TabMoveType.Promote:\n MoveTabAfter(tab, tab.ParentId);\n break;\n case TabMoveType.Demote:\n MoveTabToParent(tab, siblingTabs.ElementAt(tabIndex - 1).TabID);\n break;\n }\n ClearCache(tab.PortalID);\n }\n }\n}", "text_preview": "#region Copyright // // DotNetNukeŽ - http://www.dotnetnuke.com // Copyright (c) 2002-2018 // by DotNetNuke Corporation // // Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated // do", "input_sha256": "abf15d50df5f94417ee0d95bdecb7d8863764df1178e52fa9ac7f137c02671e4", "text_sha256": "723d38102a247ab4bef420eb0163574c1f9a17ceee2de8e650d96ce18ddd1f8c", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 2023, "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": 3, "reasoning_density": 0, "education_level": 2, "creative_writing_quality": null}, "score_expectations": {"content_quality": 0.8362538545800551, "noise_severity": 0.7460858641807758, "missing_content_severity": 0.19490260277230548, "factual_density": 3.1924552308315373, "pretraining_utility": 0.05232527082797847, "math_density": 0.01487413559010241, "code_density": 3.3722291563474123, "reasoning_density": 0.2506199250122052, "education_level": 2.4487758334889813, "creative_writing_quality": -0.2362836249480538}, "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.7929895636808328, "secondary_choice": "Legal Notices", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.9799806740900346, "secondary": 0.8443847087562225, "tertiary": 0.8817244295563343, "structured_records": 0.07940028409874521, "procedural_steps": 0.003923744080283406, "worked_solution": 0.0012207283864061826, "contextual_dialogue": 5.324951165733814e-06, "content_quality": 0.5103438657482287, "noise_severity": 0.5815337034024635, "missing_content_severity": 0.8375811643564122, "factual_density": 0.3270460256929477, "pretraining_utility": 0.5419638267319905, "math_density": 0.987604887008248, "code_density": 0.5507401314425254, "reasoning_density": 0.791150062489829, "education_level": 0.48093172586097943, "creative_writing_quality": 0.9975640895415916, "primary_topic": 0.9918118302914856, "secondary_topic": 0.8550538680165861}, "probability_margin": {"primary": 0.9634512365114617, "secondary": 0.7572056645807257, "tertiary": 0.8036011637206787, "education_level": 0.19651802256748663, "creative_writing_quality": 0.9967799731082913, "primary_topic": 0.9884354665249253, "secondary_topic": 0.7642283074412752}, "raw_probabilities": {"primary": {"Academic Writing": 4.005918030523534e-05, "Content Listing": 3.5231241228609416e-05, "Creative Writing": 3.1400798325190125e-05, "Customer Support Page": 1.8611606526675623e-05, "Q&A Forum": 1.9749379146067298e-05, "Discussion Thread": 1.2349196447108658e-05, "Comment Section": 2.7163038700434344e-05, "Missing Content": 5.375046376083039e-05, "Knowledge Article": 7.277120347493906e-05, "Legal Notices": 0.01736357615815482, "News Article": 1.12351799576377e-05, "Organizational Announcement": 3.1014020162274734e-05, "Nonfiction Writing": 1.829118013107258e-05, "Organizational About Page": 3.2172159517146694e-05, "Personal About Page": 1.4159726534124505e-05, "Personal Blog": 1.2138320107061465e-05, "Product Page": 1.2571463879733335e-05, "Spam / Ads": 1.7460258589409965e-05, "Structured Data": 0.00035438129298849514, "Technical Writing": 0.9808148126696166, "Transcript / Interview": 2.5422388394957748e-05, "Tutorial / How-To Guide": 6.170978009144049e-05, "User Reviews": 1.1205384446933061e-05, "Other / Unknown": 0.0009087639095132387}, "secondary": {"Academic Writing": 0.000408280610840671, "Content Listing": 0.0005346377599306948, "Creative Writing": 0.0004875335523254143, "Customer Support Page": 0.00024998605724934253, "Q&A Forum": 0.0002097176659082232, "Discussion Thread": 0.00018755750376110326, "Comment Section": 0.0005533527146137194, "Missing Content": 0.0005015440032291573, "Knowledge Article": 0.001162737204210143, "Legal Notices": 0.8508686792247132, "News Article": 0.00031306423333142937, "Organizational Announcement": 0.0003946537003421904, "Nonfiction Writing": 0.0002779945610157709, "Organizational About Page": 0.00038990075804234986, "Personal About Page": 0.00023469855506034438, "Personal Blog": 0.00017603508279112918, "Product Page": 0.0002539209486389911, "Spam / Ads": 0.00028926067840909003, "Structured Data": 0.0014634943569339634, "Technical Writing": 0.04663049190482282, "Transcript / Interview": 0.0002826067189549586, "Tutorial / How-To Guide": 0.00032625868036589785, "User Reviews": 0.0001405788805216711, "NONE": 0.09366301464398748}, "tertiary": {"Academic Writing": 0.0003555533469507156, "Content Listing": 0.0005570224605438593, "Creative Writing": 0.00035162054471757446, "Customer Support Page": 0.00025204021363515463, "Q&A Forum": 0.00013762044056376228, "Discussion Thread": 0.00011864285417974059, "Comment Section": 0.0006036462739312744, "Missing Content": 0.0007193078729994991, "Knowledge Article": 0.004920161719782036, "Legal Notices": 0.08305141460414164, "News Article": 0.00025399615692976317, "Organizational Announcement": 0.0002878385469826857, "Nonfiction Writing": 0.0002564063199315316, "Organizational About Page": 0.0004648891204183216, "Personal About Page": 0.00018825271572014027, "Personal Blog": 0.00017300017556113386, "Product Page": 0.00015682132031283303, "Spam / Ads": 0.00027634858195349173, "Structured Data": 0.002053824620726828, "Technical Writing": 0.017168826933398326, "Transcript / Interview": 0.00021100260727660447, "Tutorial / How-To Guide": 0.0006849366774158165, "User Reviews": 0.00010424756710694703, "NONE": 0.8866525783248204}, "structured_records": {"false": 0.9205997159012548, "true": 0.07940028409874521}, "procedural_steps": {"false": 0.9960762559197166, "true": 0.003923744080283406}, "worked_solution": {"false": 0.9987792716135938, "true": 0.0012207283864061826}, "contextual_dialogue": {"false": 0.9999946750488342, "true": 5.324951165733814e-06}, "content_quality": {"-2": 0.007488301139238219, "-1": 0.04419891117296006, "0": 0.2648040274974005, "1": 0.4715881523493108, "2": 0.2119206078410904}, "noise_severity": {"0": 0.37803684586813396, "1": 0.5090239854262931, "2": 0.10512531394639112, "3": 0.004444168175026464, "4": 0.003369686584155234}, "missing_content_severity": {"0": 0.9006908817490288, "1": 0.0285043080367194, "2": 0.04797446572889337, "3": 0.02087201466363414, "4": 0.0019583298217242225}, "factual_density": {"0": 0.005062673486771048, "1": 0.025051286801358954, "2": 0.1561134130991414, "3": 0.399913388619019, "4": 0.4138592379937096}, "pretraining_utility": {"-2": 0.012490744963597785, "-1": 0.22367757861962087, "0": 0.4973400934425818, "1": 0.23199882657360435, "2": 0.03449275640059528}, "math_density": {"0": 0.9899216406988561, "1": 0.007785433929020576, "2": 0.000850524885294326, "3": 0.0003819500568226889, "4": 0.0010604504300062787}, "code_density": {"0": 0.0007025406003947478, "1": 0.0015689290516813946, "2": 0.07819586305623148, "3": 0.4638621679835015, "4": 0.4556704993081909}, "reasoning_density": {"0": 0.8313625842777932, "1": 0.10210347353400422, "2": 0.054266114600972255, "3": 0.009087088072665042, "4": 0.003180739514565336}, "education_level": {"none": 0.0014575089109515032, "0": 0.002208909173331323, "1": 0.01143877156238614, "2": 0.5674431048841495, "3": 0.3709250823166629, "4": 0.04652662315251859}, "creative_writing_quality": {"not_applicable": 0.997970074617993, "-2": 0.00011648550250854826, "-1": 0.0005114507940154644, "0": 0.0011901015097017255, "1": 0.00015899148016484024, "2": 5.289609561651132e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 4.6239001066090096e-05, "Art & Design": 7.780899541427783e-05, "Law & Crime": 0.0036912933707339193, "Education & Careers": 6.81335547329623e-05, "Entertainment & Media": 3.718726113590044e-05, "Fashion & Beauty": 2.4899055268667132e-05, "Business, Economics & Finance": 0.00024221347530856152, "Food & Dining": 3.110324225024559e-05, "Games & Gaming": 9.389423921289272e-05, "Electronics & Hardware": 0.00015981189023949014, "Health, Healthcare & Wellness": 2.9950387769508543e-05, "History & Geography": 5.4679721422386344e-05, "Home, Pets & Hobbies": 3.477000566424597e-05, "Industry & Production": 4.0028466798113954e-05, "Language, Literature & Philosophy": 8.40765210774344e-05, "Politics & Government": 6.204027155168059e-05, "Religion & Spirituality": 3.397601154456299e-05, "Science, Mathematics & Engineering": 0.00026176199671846184, "Relationships & Community": 2.4810168344937567e-05, "Software Usage & Applications": 0.0018271728610601637, "Programming & Software Engineering": 0.9921267598956592, "Sports & Fitness": 4.838761007275189e-05, "Vehicles & Transportation": 2.4715740708129685e-05, "Travel & Tourism": 4.547127985087179e-05, "Other / Uncovered Subject": 0.0005915911538917775, "Unknown / Insufficient Content": 0.00023722382250261368}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0007048265698437788, "Art & Design": 0.0006383632312774315, "Law & Crime": 0.09640041180544222, "Education & Careers": 0.0005585062055462718, "Entertainment & Media": 0.0005765159793075013, "Fashion & Beauty": 0.00032705194656747915, "Business, Economics & Finance": 0.001728160537479406, "Food & Dining": 0.00023628261457575597, "Games & Gaming": 0.00041283470893174897, "Electronics & Hardware": 0.0006419698117475476, "Health, Healthcare & Wellness": 0.00034149086863224796, "History & Geography": 0.0003315728800908308, "Home, Pets & Hobbies": 0.0003096731377853277, "Industry & Production": 0.0002796523294762475, "Language, Literature & Philosophy": 0.0003608365895525076, "Politics & Government": 0.0006886654208134864, "Religion & Spirituality": 0.0003231800284003477, "Science, Mathematics & Engineering": 0.0009054887586193634, "Relationships & Community": 0.00019880716909066024, "Software Usage & Applications": 0.00939007285121625, "Programming & Software Engineering": 0.022120222415762874, "Sports & Fitness": 0.00024588409006521666, "Vehicles & Transportation": 0.0001481518046241127, "Travel & Tourism": 0.0003885451353046935, "Other / Uncovered Subject": 0.0011141138631292314, "NONE": 0.8606287192467175}}, "probabilities": {"primary": {"Academic Writing": 4.005918030523534e-05, "Content Listing": 3.5231241228609416e-05, "Creative Writing": 3.1400798325190125e-05, "Customer Support Page": 1.8611606526675623e-05, "Q&A Forum": 1.9749379146067298e-05, "Discussion Thread": 1.2349196447108658e-05, "Comment Section": 2.7163038700434344e-05, "Missing Content": 5.375046376083039e-05, "Knowledge Article": 7.277120347493906e-05, "Legal Notices": 0.01736357615815482, "News Article": 1.12351799576377e-05, "Organizational Announcement": 3.1014020162274734e-05, "Nonfiction Writing": 1.829118013107258e-05, "Organizational About Page": 3.2172159517146694e-05, "Personal About Page": 1.4159726534124505e-05, "Personal Blog": 1.2138320107061465e-05, "Product Page": 1.2571463879733335e-05, "Spam / Ads": 1.7460258589409965e-05, "Structured Data": 0.00035438129298849514, "Technical Writing": 0.9808148126696166, "Transcript / Interview": 2.5422388394957748e-05, "Tutorial / How-To Guide": 6.170978009144049e-05, "User Reviews": 1.1205384446933061e-05, "Other / Unknown": 0.0009087639095132387}, "secondary": {"Academic Writing": 0.0004082806108406711, "Content Listing": 0.0005346377599306949, "Creative Writing": 0.0004875335523254144, "Customer Support Page": 0.0002499860572493426, "Q&A Forum": 0.00020971766590822326, "Discussion Thread": 0.00018755750376110331, "Comment Section": 0.0005533527146137196, "Missing Content": 0.0005015440032291574, "Knowledge Article": 0.0011627372042101432, "Legal Notices": 0.8508686792247134, "News Article": 0.0003130642333314294, "Organizational Announcement": 0.0003946537003421905, "Nonfiction Writing": 0.00027799456101577094, "Organizational About Page": 0.00038990075804234996, "Personal About Page": 0.00023469855506034443, "Personal Blog": 0.0001760350827911292, "Product Page": 0.0002539209486389912, "Spam / Ads": 0.0002892606784090901, "Structured Data": 0.0014634943569339636, "Technical Writing": 0.046630491904822824, "Transcript / Interview": 0.00028260671895495863, "Tutorial / How-To Guide": 0.0003262586803658979, "User Reviews": 0.00014057888052167113, "NONE": 0.09366301464398749}, "tertiary": {"Academic Writing": 0.0003555533469507156, "Content Listing": 0.0005570224605438593, "Creative Writing": 0.00035162054471757446, "Customer Support Page": 0.00025204021363515463, "Q&A Forum": 0.00013762044056376228, "Discussion Thread": 0.00011864285417974059, "Comment Section": 0.0006036462739312744, "Missing Content": 0.0007193078729994991, "Knowledge Article": 0.004920161719782036, "Legal Notices": 0.08305141460414164, "News Article": 0.00025399615692976317, "Organizational Announcement": 0.0002878385469826857, "Nonfiction Writing": 0.0002564063199315316, "Organizational About Page": 0.0004648891204183216, "Personal About Page": 0.00018825271572014027, "Personal Blog": 0.00017300017556113386, "Product Page": 0.00015682132031283303, "Spam / Ads": 0.00027634858195349173, "Structured Data": 0.002053824620726828, "Technical Writing": 0.017168826933398326, "Transcript / Interview": 0.00021100260727660447, "Tutorial / How-To Guide": 0.0006849366774158165, "User Reviews": 0.00010424756710694703, "NONE": 0.8866525783248204}, "structured_records": {"false": 0.9205997159012548, "true": 0.07940028409874521}, "procedural_steps": {"false": 0.9960762559197166, "true": 0.003923744080283406}, "worked_solution": {"false": 0.9987792716135938, "true": 0.0012207283864061826}, "contextual_dialogue": {"false": 0.9999946750488342, "true": 5.324951165733814e-06}, "content_quality": {"-2": 0.007488301139238219, "-1": 0.04419891117296006, "0": 0.2648040274974005, "1": 0.4715881523493108, "2": 0.2119206078410904}, "noise_severity": {"0": 0.378036845868134, "1": 0.5090239854262932, "2": 0.10512531394639113, "3": 0.004444168175026465, "4": 0.0033696865841552344}, "missing_content_severity": {"0": 0.9006908817490289, "1": 0.028504308036719404, "2": 0.04797446572889338, "3": 0.020872014663634142, "4": 0.001958329821724223}, "factual_density": {"0": 0.005062673486771048, "1": 0.025051286801358954, "2": 0.1561134130991414, "3": 0.399913388619019, "4": 0.4138592379937096}, "pretraining_utility": {"-2": 0.012490744963597785, "-1": 0.22367757861962087, "0": 0.4973400934425818, "1": 0.23199882657360435, "2": 0.03449275640059528}, "math_density": {"0": 0.9899216406988561, "1": 0.007785433929020576, "2": 0.000850524885294326, "3": 0.0003819500568226889, "4": 0.0010604504300062787}, "code_density": {"0": 0.0007025406003947478, "1": 0.0015689290516813946, "2": 0.07819586305623148, "3": 0.4638621679835015, "4": 0.4556704993081909}, "reasoning_density": {"0": 0.8313625842777932, "1": 0.10210347353400422, "2": 0.054266114600972255, "3": 0.009087088072665042, "4": 0.003180739514565336}, "education_level": {"none": 0.0014575089109515034, "0": 0.0022089091733313235, "1": 0.011438771562386141, "2": 0.5674431048841496, "3": 0.37092508231666294, "4": 0.0465266231525186}, "creative_writing_quality": {"not_applicable": 0.9979700746179928, "-2": 0.00011648550250854823, "-1": 0.0005114507940154643, "0": 0.0011901015097017253, "1": 0.00015899148016484022, "2": 5.289609561651131e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 4.62390010660901e-05, "Art & Design": 7.780899541427784e-05, "Law & Crime": 0.0036912933707339197, "Education & Careers": 6.813355473296232e-05, "Entertainment & Media": 3.718726113590045e-05, "Fashion & Beauty": 2.4899055268667135e-05, "Business, Economics & Finance": 0.00024221347530856155, "Food & Dining": 3.11032422502456e-05, "Games & Gaming": 9.389423921289273e-05, "Electronics & Hardware": 0.00015981189023949016, "Health, Healthcare & Wellness": 2.9950387769508546e-05, "History & Geography": 5.467972142238635e-05, "Home, Pets & Hobbies": 3.4770005664245976e-05, "Industry & Production": 4.002846679811396e-05, "Language, Literature & Philosophy": 8.407652107743441e-05, "Politics & Government": 6.20402715516806e-05, "Religion & Spirituality": 3.3976011544562996e-05, "Science, Mathematics & Engineering": 0.0002617619967184619, "Relationships & Community": 2.481016834493757e-05, "Software Usage & Applications": 0.0018271728610601639, "Programming & Software Engineering": 0.9921267598956593, "Sports & Fitness": 4.8387610072751895e-05, "Vehicles & Transportation": 2.471574070812969e-05, "Travel & Tourism": 4.54712798508718e-05, "Other / Uncovered Subject": 0.0005915911538917776, "Unknown / Insufficient Content": 0.0002372238225026137}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0007048265698437788, "Art & Design": 0.0006383632312774315, "Law & Crime": 0.09640041180544222, "Education & Careers": 0.0005585062055462718, "Entertainment & Media": 0.0005765159793075013, "Fashion & Beauty": 0.00032705194656747915, "Business, Economics & Finance": 0.001728160537479406, "Food & Dining": 0.00023628261457575597, "Games & Gaming": 0.00041283470893174897, "Electronics & Hardware": 0.0006419698117475476, "Health, Healthcare & Wellness": 0.00034149086863224796, "History & Geography": 0.0003315728800908308, "Home, Pets & Hobbies": 0.0003096731377853277, "Industry & Production": 0.0002796523294762475, "Language, Literature & Philosophy": 0.0003608365895525076, "Politics & Government": 0.0006886654208134864, "Religion & Spirituality": 0.0003231800284003477, "Science, Mathematics & Engineering": 0.0009054887586193634, "Relationships & Community": 0.00019880716909066024, "Software Usage & Applications": 0.00939007285121625, "Programming & Software Engineering": 0.022120222415762874, "Sports & Fitness": 0.00024588409006521666, "Vehicles & Transportation": 0.0001481518046241127, "Travel & Tourism": 0.0003885451353046935, "Other / Uncovered Subject": 0.0011141138631292314, "NONE": 0.8606287192467175}}, "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.9999999999999998, "mass_delta": -2.220446049250313e-16, "missing_mass": 2.220446049250313e-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": 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": 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": 1.0, "mass_delta": 0.0, "missing_mass": 0.0, "excess_mass": 0.0, "valid": true, "normalized": false}}, "usage": {"input_tokens": 10076, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 10076, "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.373157+00:00", "scoring_key_slot": "assistant_1", "dataset_uid": "7cedb3fa-35bb-4a02-99ee-269340d66222", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "bbe14d2797127d43698fd0c534058b02e89eefbee2d3d1a57b8de9a418c366eb", "source_metadata": {"uuid": "7cedb3fa-35bb-4a02-99ee-269340d66222", "repo_name": "zyhfish/Dnn.Platform", "relative_path": "DNN Platform/Library/Obsolete/TabController.cs", "category": "TOOL", "algo_rel_score": 0.6348430514335632, "quality_score": 5.700272083282471, "source_meta": {"github_metadata": {"branch": "development", "commit_count": 8725, "repo_created_at": "2018-07-16T07:04:53.000Z", "is_fork": true, "is_org_owned": false, "forked_from": "dnnsoftware/Dnn.Platform", "stars": 1, "forks": 0, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "ae6550a8592228fe9b5d3ce7e92646ecdf4334df", "size_bytes": 6825, "file_timestamp": 1531987535, "language": "c#", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "bf58a1a91756c90e3b96963ca27ece70fe259d62"}}, "parsed_source_meta": {"github_metadata": {"branch": "development", "commit_count": 8725, "repo_created_at": "2018-07-16T07:04:53.000Z", "is_fork": true, "is_org_owned": false, "forked_from": "dnnsoftware/Dnn.Platform", "stars": 1, "forks": 0, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "ae6550a8592228fe9b5d3ce7e92646ecdf4334df", "size_bytes": 6825, "file_timestamp": 1531987535, "language": "c#", "is_vendor": false, "license_type": "no_license", "detected_licenses": []}, "commit_id": "bf58a1a91756c90e3b96963ca27ece70fe259d62", "url": "https://github.com/zyhfish/Dnn.Platform/blob/bf58a1a91756c90e3b96963ca27ece70fe259d62/DNN%20Platform/Library/Obsolete/TabController.cs"}, "gpt4o_tokens": 1488, "dataset_split": "csharp", "probability_weighted_scores": {"content_quality": 0.8362538545800551, "noise_severity": 0.7460858641807758, "missing_content_severity": 0.19490260277230548, "factual_density": 3.1924552308315373, "pretraining_utility": 0.05232527082797847, "math_density": 0.01487413559010241, "code_density": 3.3722291563474123, "reasoning_density": 0.2506199250122052, "education_level": 2.4487758334889813, "creative_writing_quality": -0.2362836249480538}, "score_applicability": {"education_level": 0.9985424910890486, "creative_writing_quality": 0.0020299253820070893}} {"source_group": "csharp", "source": "openbmb/UltraData-Stack-v3-L2/csharp", "domain": "github.com", "language": "csharp", "url": "https://github.com/VoldarGames/BubbleTree/blob/6d2eaec3dcd71377981f53a8b3792198923d517c/BubbleTreeAppTest/BubbleTreeAppTest/BubbleTree/View/BubbleTreeView.cs", "id": "csharp-0-faa0bdc24eaba075975d90ac6fa0443f", "text": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Threading;\nusing System.Threading.Tasks;\nusing BubbleTreeAppTest.BubbleTree.NodeTypes;\nusing BubbleTreeAppTest.BubbleTree.ViewModel;\nusing Xamarin.Forms;\n\nnamespace BubbleTreeAppTest.BubbleTree.View\n{\n public class BubbleTreeView : ContentPage where T : ITreeElement\n {\n private StackLayout Container;\n private StackLayout SearchContainer;\n private Grid BubbleContainer;\n \n \n private CancellationTokenSource cancellationTokenSource = new CancellationTokenSource();\n\n public Entry SearchEntry = new Entry()\n {\n //TODO: Style\n // Style = GespolStyles.Entries(),\n Text = \"\",\n TextColor = Color.White,\n Placeholder = \"Buscando en la raiz...\",\n PlaceholderColor = Color.Silver\n };\n\n public ToolbarItem GoToParentToolbarItem;\n\n public BubbleNodes BubbleNodes;\n\n private BaseNode _currentSearchFilterNode;\n\n public BaseNode CurrentSearchFilterNode\n {\n get { return _currentSearchFilterNode; }\n set\n {\n _currentSearchFilterNode = value;\n\n SearchEntry.TextChanged -= OnTextChangedDoSearch();\n SearchEntry.Text = \"\";\n SearchEntry.TextChanged += OnTextChangedDoSearch();\n\n SearchEntry.Placeholder = _currentSearchFilterNode != null ? $\"Buscando en...{_currentSearchFilterNode.Data?.Description}\" : \"Buscando en la raiz...\";\n \n RefreshNodeFilter();\n \n if (_currentSearchFilterNode != null && !ToolbarItems.Contains(GoToParentToolbarItem)) ToolbarItems.Add(GoToParentToolbarItem);\n }\n }\n\n private void RefreshNodeFilter()\n {\n if (_currentSearchFilterNode == null)\n {\n ToolbarItems.Remove(GoToParentToolbarItem);\n Container.Children.Remove(BubbleContainer);\n BubbleContainer = new Grid();\n PrepareBubbleContainer(BubbleNodes.RawList.OfType>().Count(), 3);\n Container.Children.Add(BubbleContainer);\n }\n else if (_currentSearchFilterNode is InternalNode)\n {\n Container.Children.Remove(BubbleContainer);\n BubbleContainer = new Grid();\n PrepareBubbleContainer(((InternalNode)_currentSearchFilterNode).Children.Count, 3, ((InternalNode)_currentSearchFilterNode).Children);\n Container.Children.Add(BubbleContainer);\n }\n else if (_currentSearchFilterNode is RootNode)\n {\n Container.Children.Remove(BubbleContainer);\n BubbleContainer = new Grid();\n PrepareBubbleContainer(((RootNode)_currentSearchFilterNode).Children.Count, 3, ((RootNode)_currentSearchFilterNode).Children);\n Container.Children.Add(BubbleContainer);\n }\n }\n\n public BubbleTreeView(List sourceItems)\n {\n var scrollContainer = new ScrollView();\n\n scrollContainer.Scrolled += (sender, args) =>\n {\n var scrollSpace = scrollContainer.ContentSize.Height - scrollContainer.Height - 20;\n if (scrollSpace <= args.ScrollY)\n {\n Container.Children.Add(new Label() {TextColor = Color.White,Text = \"Another Element!\"});\n Container.Children.Add(new Label() { TextColor = Color.White, Text = \"Another Element2!\" });\n Container.Children.Add(new Label() { TextColor = Color.White, Text = \"Another Element3!\" });\n }\n };\n\n Container = new StackLayout();\n scrollContainer.Content = Container;\n SearchContainer = new StackLayout();\n BubbleContainer = new Grid();\n\n Container.Children.Add(SearchContainer);\n Container.Children.Add(BubbleContainer);\n\n BubbleNodes = NodeFactory.CreateFromSource(sourceItems, node => node.Data.Description, orderDescending: true);\n SearchEntry.TextChanged += OnTextChangedDoSearch();\n\n ToolbarItems.Add(new ToolbarItem(\"To Root\", \"ToRootIcon.png\", () => CurrentSearchFilterNode = null) { Text = \"Raiz\" });\n GoToParentToolbarItem = new ToolbarItem(\"To parent\", \"ToParentIcon.png\", () =>\n {\n if (CurrentSearchFilterNode is RootNode)\n {\n CurrentSearchFilterNode = null;\n }\n if (CurrentSearchFilterNode is InternalNode)\n {\n CurrentSearchFilterNode = ((InternalNode)CurrentSearchFilterNode).Parent;\n }\n if (CurrentSearchFilterNode is LeafNode)\n {\n CurrentSearchFilterNode = ((LeafNode)CurrentSearchFilterNode).Parent;\n }\n\n })\n { Text = \"Subir\" };\n\n Content = scrollContainer;\n SearchContainer.Children.Add(SearchEntry);\n\n var rootNodesCount = BubbleNodes.RawList.OfType>().Count();\n PrepareBubbleContainer(rootNodesCount, 3);\n\n }\n\n private EventHandler OnTextChangedDoSearch()\n {\n return (sender, args) =>\n {\n Interlocked.Exchange(ref cancellationTokenSource, new CancellationTokenSource()).Cancel();\n Task.Delay(TimeSpan.FromMilliseconds(125), cancellationTokenSource.Token).ContinueWith(delegate\n {\n SearchInBubbleTree(displayLimit: 15);\n },\n CancellationToken.None,\n TaskContinuationOptions.OnlyOnRanToCompletion,\n TaskScheduler.FromCurrentSynchronizationContext()\n );\n\n };\n }\n\n private void SearchInBubbleTree(int displayLimit)\n {\n IEnumerable> searchResultNodes;\n\n Container.Children.Remove(BubbleContainer);\n BubbleContainer = new Grid();\n if (SearchEntry.Text == \"\" && _currentSearchFilterNode == null)\n {\n PrepareBubbleContainer(BubbleNodes.RawList.OfType>().Count(), 3);\n }\n else\n {\n\n if (_currentSearchFilterNode == null)\n {\n searchResultNodes =\n BubbleNodes.RawList.Where(\n node => node.Data.Description != null && node.Data.Description.ToUpper().Contains(SearchEntry.Text.ToUpper()))\n .Take(displayLimit).Reverse();\n }\n else\n {\n var allChildren = BubbleNodes.GetAllChildrenRaw(CurrentSearchFilterNode);\n searchResultNodes = allChildren.Where(\n node => node.Data.Description != null && node.Data.Description.ToUpper().Contains(SearchEntry.Text.ToUpper()))\n .Take(displayLimit).Reverse();\n }\n PrepareBubbleContainer(searchResultNodes.Count(), 3, searchResultNodes);\n }\n\n Container.Children.Add(BubbleContainer);\n\n\n }\n\n private void PrepareBubbleContainer(int nodesCount, int numberOfColums, IEnumerable> nodes)\n {\n int nRows = (int) Math.Ceiling((float) nodesCount/numberOfColums);\n for (var i = 0; i < nRows; i++)\n {\n BubbleContainer.RowDefinitions.Add(new RowDefinition {Height = new GridLength(1, GridUnitType.Star)});\n }\n\n for (var i = 0; i < (nodesCount < numberOfColums ? nodesCount : numberOfColums); i++)\n {\n BubbleContainer.ColumnDefinitions.Add(new ColumnDefinition()\n {\n Width = new GridLength(1, GridUnitType.Star)\n });\n }\n\n PopulateBubbleContainer(nRows, numberOfColums, nodes);\n\n }\n\n private void PrepareBubbleContainer(int nodesCount, int numberOfColums)\n {\n int nRows = (int) Math.Ceiling((float) nodesCount/numberOfColums);\n for (var i = 0; i < nRows; i++)\n {\n BubbleContainer.RowDefinitions.Add(new RowDefinition {Height = new GridLength(1, GridUnitType.Star)});\n }\n\n for (var i = 0; i < (nodesCount < numberOfColums ? nodesCount : numberOfColums); i++)\n {\n BubbleContainer.ColumnDefinitions.Add(new ColumnDefinition()\n {\n Width = new GridLength(1, GridUnitType.Star)\n });\n }\n\n PopulateBubbleContainer(nRows, numberOfColums);\n\n }\n\n /// \n /// Populates the bubble container with Root nodes.\n /// \n /// The number of rows that bubble container have.\n /// The number of columns that bubble container have.\n private void PopulateBubbleContainer(int numberOfRows, int numberOfColums)\n {\n var rootNodes = BubbleNodes.RawList.OfType>();\n int rowIterator = 0;\n int columnIterator = 0;\n \n foreach (var node in rootNodes.OrderBy(node => node.Data.Description))\n {\n BubbleContainer.Children.Add(new Bubble, T>(node, new Button()\n {\n //TODO: Style\n TextColor = Color.White,\n //Style = GespolStyles.ButtonStyleGrua(),\n FontSize = 14,\n Text = node.Data.Description,\n HeightRequest = 100,\n WidthRequest = 100,\n BorderColor = Color.Navy,\n BorderWidth = 3.0,\n BorderRadius = 30,\n BackgroundColor = Color.FromRgb(0, 35, 180),\n Command = new Command(() => CurrentSearchFilterNode = node)\n }), columnIterator, rowIterator);\n columnIterator++;\n columnIterator %= numberOfColums;\n if (columnIterator == 0)\n {\n rowIterator++;\n rowIterator %= numberOfRows;\n }\n }\n }\n\n private void PopulateBubbleContainer(int numberOfRows, int numberOfColums, IEnumerable> nodes)\n {\n\n int rowIterator = 0;\n int columnIterator = 0;\n foreach (var node in (SearchEntry.Text == \"\") ? nodes.OrderBy(node => node.Data.Description) : nodes)\n {\n Device.BeginInvokeOnMainThread(() =>\n {\n InsertNode(node, rowIterator, columnIterator).Wait();\n columnIterator++;\n columnIterator %= numberOfColums;\n if (columnIterator == 0)\n {\n rowIterator++;\n rowIterator %= numberOfRows;\n }\n });\n \n }\n }\n\n private async Task InsertNode(BaseNode node, int rowIterator, int columnIterator)\n {\n var bubbleButton = new Button()\n {\n //TODO: Style\n //Style = GespolStyles.ButtonStyleGrua(),\n FontSize = 14,\n Text = node.Data.Description,\n TextColor = Color.White,\n HeightRequest = 100,\n WidthRequest = 100,\n BorderColor = Color.Navy,\n BorderWidth = 3.0,\n BorderRadius = 30,\n BackgroundColor = Color.FromRgb(0, 35, 180),\n Command = new Command(() => CurrentSearchFilterNode = node)\n };\n if (node is RootNode)\n {\n bubbleButton.BackgroundColor = Color.FromRgb(5,5,120);\n }\n else if (node is LeafNode)\n {\n bubbleButton.BackgroundColor = Color.FromRgb(30, 120, 200);\n bubbleButton.BorderRadius = 5;\n bubbleButton.Command = new Command(() =>\n {\n ((BubbleTreeViewModel)BindingContext).SelectedItem = node.Data;\n OnPropertyChanged(nameof(BubbleTreeViewModel.SelectedItem));\n Navigation.PopAsync();\n });\n }\n BubbleContainer.Children.Add(new Bubble, T>(node, bubbleButton), columnIterator, rowIterator);\n\n return true;\n\n }\n\n internal class Bubble : StackLayout where TNode : BaseNode where TEntity : ITreeElement\n {\n public Button SelectionButton;\n public TNode Node;\n\n public Bubble(TNode node, Button selectionButton)\n {\n Node = node;\n SelectionButton = selectionButton;\n\n Padding = new Thickness(1, 1, 1, 1);\n\n Children.Add(SelectionButton);\n AppearAnimation();\n\n }\n\n private async void AppearAnimation()\n {\n var rand = new Random(DateTime.Now.Millisecond);\n await SelectionButton.ScaleTo(0, 0U);\n await SelectionButton.ScaleTo(0, 100U);\n await SelectionButton.FadeTo(0.0f, 0U);\n await SelectionButton.FadeTo(0.0f, 100U);\n await SelectionButton.FadeTo(1.0, 800U);\n await SelectionButton.ScaleTo(1.2, (uint) rand.Next(300, 600), Easing.CubicInOut);\n await SelectionButton.ScaleTo(0.9, 150U, Easing.Linear);\n await SelectionButton.ScaleTo(1.0, 150U, Easing.Linear);\n }\n\n }\n }\n}", "text_preview": "using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using BubbleTreeAppTest.BubbleTree.NodeTypes; using BubbleTreeAppTest.BubbleTree.ViewModel; using Xamarin.Forms; namesp", "input_sha256": "20863d450c562f219627ccce8e4ecc18ed88aae31eb9354c2b22d85cd8910248", "text_sha256": "faa0bdc24eaba075975d90ac6fa0443fa205fbe891ccc1028e2193a7a028e459", "run_sha256": "0dbe3046118ab5f0eea428b55f67ac75d558dc1c7da585927c21fa1685f6e177", "line_number": 2022, "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.6941721322211571, "noise_severity": 0.11240593640847919, "missing_content_severity": 0.0805657392427362, "factual_density": 3.284201987621019, "pretraining_utility": 0.3304025796363201, "math_density": 0.4299211999840396, "code_density": 3.8447986531750526, "reasoning_density": 0.29345792284707717, "education_level": 2.3102127096062777, "creative_writing_quality": -0.41052784313995366}, "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.009119490360762539, "secondary_choice": "NONE", "tertiary_choice": "NONE"}, "confidence": {"primary": 0.9972273556044641, "secondary": 0.9821049564394446, "tertiary": 0.9916209463811099, "structured_records": 0.010738454690055592, "procedural_steps": 0.0030331136146593907, "worked_solution": 0.0018569370526902683, "contextual_dialogue": 8.345140155099171e-06, "content_quality": 0.48914799159503364, "noise_severity": 0.9063283863262673, "missing_content_severity": 0.9328618839643865, "factual_density": 0.403501656350849, "pretraining_utility": 0.491810543198811, "math_density": 0.6417323333466337, "code_density": 0.8706655443125436, "reasoning_density": 0.755451730960769, "education_level": 0.635205345121924, "creative_writing_quality": 0.9992984747112942, "primary_topic": 0.9836924417770342, "secondary_topic": 0.9175433383367203}, "probability_margin": {"primary": 0.9958187064266957, "secondary": 0.9706015810474188, "tertiary": 0.9884602925910885, "education_level": 0.4203538292160803, "creative_writing_quality": 0.9991420181793311, "primary_topic": 0.9726988505535888, "secondary_topic": 0.8881047817871189}, "raw_probabilities": {"primary": {"Academic Writing": 2.648917515975888e-05, "Content Listing": 2.9195477183420132e-05, "Creative Writing": 2.241656611633015e-05, "Customer Support Page": 6.658815659638479e-06, "Q&A Forum": 9.629271815046918e-06, "Discussion Thread": 6.239244428083689e-06, "Comment Section": 1.0971691039573783e-05, "Missing Content": 3.1932456970410336e-05, "Knowledge Article": 5.816228355549926e-05, "Legal Notices": 3.2257312920916595e-05, "News Article": 4.469539001270173e-06, "Organizational Announcement": 8.259210354350377e-06, "Nonfiction Writing": 1.0275979603567306e-05, "Organizational About Page": 1.0118204280114084e-05, "Personal About Page": 1.018560255746246e-05, "Personal Blog": 6.494931671955919e-06, "Product Page": 6.553623742502279e-06, "Spam / Ads": 7.835728027054615e-06, "Structured Data": 0.0006388684614777082, "Technical Writing": 0.997342882454278, "Transcript / Interview": 1.092223760767139e-05, "Tutorial / How-To Guide": 0.00017917645224610886, "User Reviews": 5.829252720984107e-06, "Other / Unknown": 0.0015241760275823935}, "secondary": {"Academic Writing": 0.0001009254981352659, "Content Listing": 0.00017237319701823368, "Creative Writing": 0.00010575403590540913, "Customer Support Page": 4.893044458729664e-05, "Q&A Forum": 3.487850306813717e-05, "Discussion Thread": 2.6541695182524175e-05, "Comment Section": 0.00022922152717707323, "Missing Content": 0.00032414168422638937, "Knowledge Article": 0.0004358563884967625, "Legal Notices": 0.00016262907716579664, "News Article": 4.434703840287848e-05, "Organizational Announcement": 3.83660069847924e-05, "Nonfiction Writing": 4.402791009176425e-05, "Organizational About Page": 6.116763638824881e-05, "Personal About Page": 4.698720397182683e-05, "Personal Blog": 3.9768410949511646e-05, "Product Page": 2.753877491812125e-05, "Spam / Ads": 4.343656530595656e-05, "Structured Data": 0.0022482497134283215, "Technical Writing": 0.012249002207048994, "Transcript / Interview": 5.326216668674227e-05, "Tutorial / How-To Guide": 0.0005878957165437429, "User Reviews": 2.4115343848340214e-05, "NONE": 0.9828505832544677}, "tertiary": {"Academic Writing": 7.706212791208014e-05, "Content Listing": 0.0001968312094017057, "Creative Writing": 9.178475386440582e-05, "Customer Support Page": 3.779937539083125e-05, "Q&A Forum": 2.7953672720727517e-05, "Discussion Thread": 2.0107094531308673e-05, "Comment Section": 0.000610207532688145, "Missing Content": 0.0006091252137568552, "Knowledge Article": 0.0004169480677765931, "Legal Notices": 0.0002723881606031666, "News Article": 3.817166511208617e-05, "Organizational Announcement": 3.295230551120794e-05, "Nonfiction Writing": 4.25880167486682e-05, "Organizational About Page": 5.539926089662929e-05, "Personal About Page": 3.854273253145471e-05, "Personal Blog": 3.179520867269915e-05, "Product Page": 2.390332898058376e-05, "Spam / Ads": 4.8804147861222346e-05, "Structured Data": 0.0011668032154574103, "Technical Writing": 0.0035097810241417884, "Transcript / Interview": 4.2693360231020834e-05, "Tutorial / How-To Guide": 0.0006176522288653785, "User Reviews": 2.063268111369768e-05, "NONE": 0.9919700736152303}, "structured_records": {"false": 0.9892615453099444, "true": 0.010738454690055592}, "procedural_steps": {"false": 0.9969668863853406, "true": 0.0030331136146593907}, "worked_solution": {"false": 0.9981430629473097, "true": 0.0018569370526902683}, "contextual_dialogue": {"false": 0.9999916548598449, "true": 8.345140155099171e-06}, "content_quality": {"-2": 0.010062285948631608, "-1": 0.05660953914175929, "0": 0.31601920280298784, "1": 0.463711700953063, "2": 0.1535972711535583}, "noise_severity": {"0": 0.900895613414925, "1": 0.08905819947517646, "2": 0.007693197171699479, "3": 0.0014506171628925443, "4": 0.0009023727753065371}, "missing_content_severity": {"0": 0.9282175024603375, "1": 0.06575682417538577, "2": 0.003964142628480957, "3": 0.0013654931327940203, "4": 0.0006960376030016108}, "factual_density": {"0": 0.009933215648150145, "1": 0.017586211291454504, "2": 0.10950264734765229, "3": 0.40430122121671236, "4": 0.4586767044960306}, "pretraining_utility": {"-2": 0.010518648163358381, "-1": 0.11867508793583655, "0": 0.4535834202821269, "1": 0.3643307233384829, "2": 0.05289212028019524}, "math_density": {"0": 0.6682432814111844, "1": 0.2716445397538336, "2": 0.03751453584741696, "3": 0.007142983414888214, "4": 0.015454659572676851}, "code_density": {"0": 0.0002564226696779634, "1": 0.0005176031077327594, "2": 0.01571429609078314, "3": 0.12119425464147128, "4": 0.8623174234903349}, "reasoning_density": {"0": 0.8428958100674553, "1": 0.06273018992167023, "2": 0.06450068311226814, "3": 0.017766900893554594, "4": 0.012106416005051721}, "education_level": {"none": 0.0010420505042332663, "0": 0.0010923986029121684, "1": 0.005332439565114167, "2": 0.69600445426827, "3": 0.2756506250521897, "4": 0.02087803200728083}, "creative_writing_quality": {"not_applicable": 0.9994153955927452, "-2": 8.607125603765578e-05, "-1": 0.00015621450046062095, "0": 0.0002733774134140744, "1": 4.952184855030803e-05, "2": 1.9419388792521962e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 5.33191452957708e-05, "Art & Design": 0.0018206709869529355, "Law & Crime": 4.4780619696041025e-05, "Education & Careers": 4.445656935250654e-05, "Entertainment & Media": 0.00010489944833152463, "Fashion & Beauty": 3.508954714817963e-05, "Business, Economics & Finance": 5.7508173410443346e-05, "Food & Dining": 3.291896931515284e-05, "Games & Gaming": 0.011620805001251731, "Electronics & Hardware": 7.060971988452511e-05, "Health, Healthcare & Wellness": 2.9334131892269595e-05, "History & Geography": 3.591617385855217e-05, "Home, Pets & Hobbies": 3.6930362907217414e-05, "Industry & Production": 2.9770244329977303e-05, "Language, Literature & Philosophy": 4.18580410549282e-05, "Politics & Government": 1.7630507953493892e-05, "Religion & Spirituality": 3.476642653513422e-05, "Science, Mathematics & Engineering": 0.0002646115231937352, "Relationships & Community": 2.103288697738764e-05, "Software Usage & Applications": 0.000889969154106878, "Programming & Software Engineering": 0.9843196555548406, "Sports & Fitness": 6.45247535018108e-05, "Vehicles & Transportation": 2.1236892337748795e-05, "Travel & Tourism": 6.163557250605415e-05, "Other / Uncovered Subject": 0.00015425794801215574, "Unknown / Insufficient Content": 9.181164535316219e-05}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0004933400721855206, "Art & Design": 0.032609966613573634, "Law & Crime": 0.0003890014816597388, "Education & Careers": 0.00024127958189793354, "Entertainment & Media": 0.0006800682188445683, "Fashion & Beauty": 0.00016617200740150854, "Business, Economics & Finance": 0.00035333632185577466, "Food & Dining": 0.00014611273741512568, "Games & Gaming": 0.022352819076381543, "Electronics & Hardware": 0.0003757004535409493, "Health, Healthcare & Wellness": 0.00018411017768232228, "History & Geography": 0.00015898140693746996, "Home, Pets & Hobbies": 0.00015157320854439815, "Industry & Production": 0.00010631473899056592, "Language, Literature & Philosophy": 0.00020270225418139335, "Politics & Government": 0.00013208144237003024, "Religion & Spirituality": 0.00017927759951153908, "Science, Mathematics & Engineering": 0.0012694688727815722, "Relationships & Community": 0.0001194540152597145, "Software Usage & Applications": 0.006113613731775885, "Programming & Software Engineering": 0.012019416781733277, "Sports & Fitness": 0.00016883995132849767, "Vehicles & Transportation": 7.045841557151169e-05, "Travel & Tourism": 0.0002475412634977711, "Other / Uncovered Subject": 0.00035362117438529823, "NONE": 0.9207147484006926}}, "probabilities": {"primary": {"Academic Writing": 2.6489175159758883e-05, "Content Listing": 2.9195477183420135e-05, "Creative Writing": 2.2416566116330155e-05, "Customer Support Page": 6.65881565963848e-06, "Q&A Forum": 9.62927181504692e-06, "Discussion Thread": 6.2392444280836895e-06, "Comment Section": 1.0971691039573785e-05, "Missing Content": 3.193245697041034e-05, "Knowledge Article": 5.816228355549927e-05, "Legal Notices": 3.22573129209166e-05, "News Article": 4.4695390012701735e-06, "Organizational Announcement": 8.259210354350378e-06, "Nonfiction Writing": 1.0275979603567308e-05, "Organizational About Page": 1.0118204280114085e-05, "Personal About Page": 1.0185602557462462e-05, "Personal Blog": 6.4949316719559195e-06, "Product Page": 6.55362374250228e-06, "Spam / Ads": 7.835728027054617e-06, "Structured Data": 0.0006388684614777083, "Technical Writing": 0.9973428824542782, "Transcript / Interview": 1.0922237607671392e-05, "Tutorial / How-To Guide": 0.00017917645224610888, "User Reviews": 5.829252720984108e-06, "Other / Unknown": 0.0015241760275823938}, "secondary": {"Academic Writing": 0.00010092549813526592, "Content Listing": 0.0001723731970182337, "Creative Writing": 0.00010575403590540914, "Customer Support Page": 4.8930444587296645e-05, "Q&A Forum": 3.4878503068137177e-05, "Discussion Thread": 2.654169518252418e-05, "Comment Section": 0.00022922152717707326, "Missing Content": 0.0003241416842263894, "Knowledge Article": 0.0004358563884967626, "Legal Notices": 0.00016262907716579667, "News Article": 4.434703840287849e-05, "Organizational Announcement": 3.836600698479241e-05, "Nonfiction Writing": 4.4027910091764256e-05, "Organizational About Page": 6.116763638824883e-05, "Personal About Page": 4.698720397182684e-05, "Personal Blog": 3.976841094951165e-05, "Product Page": 2.7538774918121255e-05, "Spam / Ads": 4.343656530595657e-05, "Structured Data": 0.002248249713428322, "Technical Writing": 0.012249002207048996, "Transcript / Interview": 5.3262166686742276e-05, "Tutorial / How-To Guide": 0.000587895716543743, "User Reviews": 2.4115343848340218e-05, "NONE": 0.9828505832544678}, "tertiary": {"Academic Writing": 7.706212791208015e-05, "Content Listing": 0.00019683120940170573, "Creative Writing": 9.178475386440584e-05, "Customer Support Page": 3.7799375390831255e-05, "Q&A Forum": 2.795367272072752e-05, "Discussion Thread": 2.0107094531308676e-05, "Comment Section": 0.0006102075326881451, "Missing Content": 0.0006091252137568553, "Knowledge Article": 0.00041694806777659314, "Legal Notices": 0.00027238816060316665, "News Article": 3.817166511208618e-05, "Organizational Announcement": 3.2952305511207945e-05, "Nonfiction Writing": 4.258801674866821e-05, "Organizational About Page": 5.5399260896629295e-05, "Personal About Page": 3.8542732531454716e-05, "Personal Blog": 3.179520867269916e-05, "Product Page": 2.3903328980583763e-05, "Spam / Ads": 4.880414786122235e-05, "Structured Data": 0.0011668032154574105, "Technical Writing": 0.003509781024141789, "Transcript / Interview": 4.269336023102084e-05, "Tutorial / How-To Guide": 0.0006176522288653786, "User Reviews": 2.0632681113697684e-05, "NONE": 0.9919700736152304}, "structured_records": {"false": 0.9892615453099444, "true": 0.010738454690055592}, "procedural_steps": {"false": 0.9969668863853406, "true": 0.0030331136146593907}, "worked_solution": {"false": 0.9981430629473097, "true": 0.0018569370526902683}, "contextual_dialogue": {"false": 0.9999916548598449, "true": 8.345140155099171e-06}, "content_quality": {"-2": 0.010062285948631608, "-1": 0.05660953914175929, "0": 0.31601920280298784, "1": 0.463711700953063, "2": 0.1535972711535583}, "noise_severity": {"0": 0.900895613414925, "1": 0.08905819947517646, "2": 0.007693197171699479, "3": 0.0014506171628925443, "4": 0.0009023727753065371}, "missing_content_severity": {"0": 0.9282175024603376, "1": 0.06575682417538578, "2": 0.003964142628480958, "3": 0.0013654931327940205, "4": 0.0006960376030016109}, "factual_density": {"0": 0.009933215648150147, "1": 0.017586211291454507, "2": 0.1095026473476523, "3": 0.4043012212167124, "4": 0.45867670449603065}, "pretraining_utility": {"-2": 0.010518648163358383, "-1": 0.11867508793583656, "0": 0.45358342028212695, "1": 0.36433072333848293, "2": 0.05289212028019525}, "math_density": {"0": 0.6682432814111844, "1": 0.2716445397538336, "2": 0.03751453584741696, "3": 0.007142983414888214, "4": 0.015454659572676851}, "code_density": {"0": 0.0002564226696779634, "1": 0.0005176031077327594, "2": 0.01571429609078314, "3": 0.12119425464147128, "4": 0.8623174234903349}, "reasoning_density": {"0": 0.8428958100674553, "1": 0.06273018992167023, "2": 0.06450068311226814, "3": 0.017766900893554594, "4": 0.012106416005051721}, "education_level": {"none": 0.0010420505042332663, "0": 0.0010923986029121684, "1": 0.005332439565114167, "2": 0.69600445426827, "3": 0.2756506250521897, "4": 0.02087803200728083}, "creative_writing_quality": {"not_applicable": 0.9994153955927447, "-2": 8.607125603765574e-05, "-1": 0.00015621450046062087, "0": 0.0002733774134140743, "1": 4.952184855030801e-05, "2": 1.9419388792521952e-05}, "primary_topic": {"Adult & Explicit Sexual Content": 5.3319145295770806e-05, "Art & Design": 0.0018206709869529358, "Law & Crime": 4.478061969604103e-05, "Education & Careers": 4.445656935250655e-05, "Entertainment & Media": 0.00010489944833152464, "Fashion & Beauty": 3.508954714817964e-05, "Business, Economics & Finance": 5.750817341044335e-05, "Food & Dining": 3.291896931515285e-05, "Games & Gaming": 0.011620805001251733, "Electronics & Hardware": 7.060971988452512e-05, "Health, Healthcare & Wellness": 2.9334131892269598e-05, "History & Geography": 3.5916173858552175e-05, "Home, Pets & Hobbies": 3.693036290721742e-05, "Industry & Production": 2.9770244329977306e-05, "Language, Literature & Philosophy": 4.1858041054928206e-05, "Politics & Government": 1.7630507953493895e-05, "Religion & Spirituality": 3.4766426535134224e-05, "Science, Mathematics & Engineering": 0.00026461152319373523, "Relationships & Community": 2.1032886977387643e-05, "Software Usage & Applications": 0.0008899691541068781, "Programming & Software Engineering": 0.9843196555548407, "Sports & Fitness": 6.452475350181081e-05, "Vehicles & Transportation": 2.12368923377488e-05, "Travel & Tourism": 6.163557250605416e-05, "Other / Uncovered Subject": 0.00015425794801215577, "Unknown / Insufficient Content": 9.18116453531622e-05}, "secondary_topic": {"Adult & Explicit Sexual Content": 0.0004933400721855206, "Art & Design": 0.032609966613573634, "Law & Crime": 0.0003890014816597388, "Education & Careers": 0.00024127958189793354, "Entertainment & Media": 0.0006800682188445683, "Fashion & Beauty": 0.00016617200740150854, "Business, Economics & Finance": 0.00035333632185577466, "Food & Dining": 0.00014611273741512568, "Games & Gaming": 0.022352819076381543, "Electronics & Hardware": 0.0003757004535409493, "Health, Healthcare & Wellness": 0.00018411017768232228, "History & Geography": 0.00015898140693746996, "Home, Pets & Hobbies": 0.00015157320854439815, "Industry & Production": 0.00010631473899056592, "Language, Literature & Philosophy": 0.00020270225418139335, "Politics & Government": 0.00013208144237003024, "Religion & Spirituality": 0.00017927759951153908, "Science, Mathematics & Engineering": 0.0012694688727815722, "Relationships & Community": 0.0001194540152597145, "Software Usage & Applications": 0.006113613731775885, "Programming & Software Engineering": 0.012019416781733277, "Sports & Fitness": 0.00016883995132849767, "Vehicles & Transportation": 7.045841557151169e-05, "Travel & Tourism": 0.0002475412634977711, "Other / Uncovered Subject": 0.00035362117438529823, "NONE": 0.9207147484006926}}, "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": 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.0000000000000004, "mass_delta": 4.440892098500626e-16, "missing_mass": 0.0, "excess_mass": 4.440892098500626e-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": 11491, "output_tokens": 19}, "cache": {"status": "unreported", "cached_tokens": null, "cache_write_tokens": null, "input_tokens": 11491, "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.527207+00:00", "scoring_key_slot": "primary", "dataset_uid": "79eff5fb-ad09-4490-b10c-7141b05a7ed7", "dataset_revision": "62077439f2c81c79b71c084d1057ee1d042369a3", "dataset_config": "default", "content_variant": "content", "source_record_sha256": "bf0e01f65399b421931a042f885332053f790419ee346158bf839dad099af0b9", "source_metadata": {"uuid": "79eff5fb-ad09-4490-b10c-7141b05a7ed7", "repo_name": "VoldarGames/BubbleTree", "relative_path": "BubbleTreeAppTest/BubbleTreeAppTest/BubbleTree/View/BubbleTreeView.cs", "category": "TOOL", "algo_rel_score": 0.9918935894966125, "quality_score": 4.759306907653809, "source_meta": {"github_metadata": {"branch": "master", "commit_count": 29, "repo_created_at": "2017-03-05T18:13:21.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 6, "forks": 0, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "bf51b9af38c90f20e18f2cbdb50189440e28431d", "size_bytes": 14120, "file_timestamp": 1490903246, "language": "c#", "is_vendor": false, "license_type": "permissive", "detected_licenses": ["Apache-2.0"]}, "commit_id": "6d2eaec3dcd71377981f53a8b3792198923d517c"}}, "parsed_source_meta": {"github_metadata": {"branch": "master", "commit_count": 29, "repo_created_at": "2017-03-05T18:13:21.000Z", "is_fork": false, "is_org_owned": false, "forked_from": null, "stars": 6, "forks": 0, "issues": 0, "pull_requests": 0}, "file_meta": {"content_id": "bf51b9af38c90f20e18f2cbdb50189440e28431d", "size_bytes": 14120, "file_timestamp": 1490903246, "language": "c#", "is_vendor": false, "license_type": "permissive", "detected_licenses": ["Apache-2.0"]}, "commit_id": "6d2eaec3dcd71377981f53a8b3792198923d517c", "url": "https://github.com/VoldarGames/BubbleTree/blob/6d2eaec3dcd71377981f53a8b3792198923d517c/BubbleTreeAppTest/BubbleTreeAppTest/BubbleTree/View/BubbleTreeView.cs"}, "gpt4o_tokens": 2687, "dataset_split": "csharp", "probability_weighted_scores": {"content_quality": 0.6941721322211571, "noise_severity": 0.11240593640847919, "missing_content_severity": 0.0805657392427362, "factual_density": 3.284201987621019, "pretraining_utility": 0.3304025796363201, "math_density": 0.4299211999840396, "code_density": 3.8447986531750526, "reasoning_density": 0.29345792284707717, "education_level": 2.3102127096062777, "creative_writing_quality": -0.41052784313995366}, "score_applicability": {"education_level": 0.9989579494957668, "creative_writing_quality": 0.0005846044072551808}} {"source_group": "csharp", "source": "openbmb/UltraData-Stack-v3-L2/csharp", "domain": "github.com", "language": "csharp", "url": "https://github.com/Mariapori/Toope-Varastonhallinta/blob/b13d9586b1dcd53e21d26dad07b2e449f0a2caa5/Toope%20Varastonhallinta/MainWindow.axaml.cs", "id": "csharp-0-bf94a2c8e62639e811468976ba3ed7a8", "text": "using Avalonia;\nusing Avalonia.Controls;\nusing Avalonia.Markup.Xaml;\nusing System.Collections.Generic;\nusing System.Linq;\nusing Toope_Varastonhallinta.Mallit;\n\nnamespace Toope_Varastonhallinta\n{\n public partial class MainWindow : Window\n {\n public ListBox Tuotelista = new ListBox();\n public ListBox Varastosaldot = new ListBox();\n\n public TextBox txtVarasto = new TextBox();\n public Button btnLuoVarasto = new Button();\n\n public TextBox txtTuote = new TextBox();\n public Button btnLuoTuote = new Button();\n\n public ComboBox cbVarastot = new ComboBox();\n public ComboBox cbTuotteet = new ComboBox();\n public TextBox txtMaara = new TextBox();\n public Button btnLisaaVarastoon = new Button();\n\n public MainWindow()\n {\n InitializeComponent();\n#if DEBUG\n this.AttachDevTools();\n#endif\n }\n\n private void InitializeComponent()\n {\n AvaloniaXamlLoader.Load(this);\n\n Tuotelista = this.FindControl(\"Tuotelista\");\n Varastosaldot = this.FindControl(\"Varastosaldot\");\n\n Tuotelista.Items = App.DB.Tuotteet.ToList();\n Tuotelista.Tapped += Tuotelista_Tapped;\n\n txtVarasto = this.FindControl(\"txtVarasto\");\n btnLuoVarasto = this.FindControl