text
stringlengths
5
22M
id
stringlengths
12
177
metadata
dict
__index_level_0__
int64
0
1.37k
<?xml version='1.0' encoding='UTF-8'?> <glyph name="jcaron" format="2"> <advance width="1200"/> <unicode hex="01F0"/> <outline> <component base="jdotless"/> <component base="caroncomb" xOffset="171" yOffset="1"/> </outline> </glyph>
cascadia-code/sources/CascadiaCode-ExtraLightItalic.ufo/glyphs/jcaron.glif/0
{ "file_path": "cascadia-code/sources/CascadiaCode-ExtraLightItalic.ufo/glyphs/jcaron.glif", "repo_id": "cascadia-code", "token_count": 101 }
442
<?xml version='1.0' encoding='UTF-8'?> <glyph name="Iacute" format="2"> <advance width="1200"/> <unicode hex="00CD"/> <outline> <component base="I"/> <component base="acutecomb.case"/> </outline> </glyph>
cascadia-code/sources/CascadiaCode-Italic.ufo/glyphs/I_acute.glif/0
{ "file_path": "cascadia-code/sources/CascadiaCode-Italic.ufo/glyphs/I_acute.glif", "repo_id": "cascadia-code", "token_count": 91 }
443
<?xml version='1.0' encoding='UTF-8'?> <glyph name="ainTwodotshorizontalabove-ar.init" format="2"> <advance width="1200"/> <outline> <component base="ain-ar.init"/> <component base="twodotshorizontalabove-ar" xOffset="71" yOffset="313"/> </outline> <lib> <dict> <key>com.schriftgestaltung.Glyphs.ComponentInfo</key> <array> <dict> <key>anchor</key> <string>top.dot</string> <key>index</key> <integer>1</integer> <key>name</key> <string>twodotshorizontalabove-ar</string> </dict> </array> <key>public.markColor</key> <string>0.98,0.36,0.67,1</string> </dict> </lib> </glyph>
cascadia-code/sources/CascadiaCode-Regular.ufo/glyphs/ainT_wodotshorizontalabove-ar.init.glif/0
{ "file_path": "cascadia-code/sources/CascadiaCode-Regular.ufo/glyphs/ainT_wodotshorizontalabove-ar.init.glif", "repo_id": "cascadia-code", "token_count": 352 }
444
<?xml version='1.0' encoding='UTF-8'?> <glyph name="dahal-ar" format="2"> <advance width="1200"/> <unicode hex="068C"/> <outline> <component base="dal-ar"/> <component base="twodotshorizontalabove-ar" xOffset="16" yOffset="502"/> </outline> <lib> <dict> <key>com.schriftgestaltung.Glyphs.ComponentInfo</key> <array> <dict> <key>anchor</key> <string>top.dot</string> <key>index</key> <integer>1</integer> <key>name</key> <string>twodotshorizontalabove-ar</string> </dict> </array> <key>public.markColor</key> <string>0.98,0.36,0.67,1</string> </dict> </lib> </glyph>
cascadia-code/sources/CascadiaCode-Regular.ufo/glyphs/dahal-ar.glif/0
{ "file_path": "cascadia-code/sources/CascadiaCode-Regular.ufo/glyphs/dahal-ar.glif", "repo_id": "cascadia-code", "token_count": 354 }
445
<?xml version='1.0' encoding='UTF-8'?> <glyph name="dalTwodotsverticalbelowTahabove-ar" format="2"> <advance width="1200"/> <unicode hex="0759"/> <outline> <component base="dal-ar"/> <component base="twodotsverticalbelow-ar" xOffset="-30" yOffset="-24"/> <component base="_tahabove" xOffset="52" yOffset="622"/> </outline> <lib> <dict> <key>com.schriftgestaltung.Glyphs.ComponentInfo</key> <array> <dict> <key>anchor</key> <string>bottom.dot</string> <key>index</key> <integer>1</integer> <key>name</key> <string>twodotsverticalbelow-ar</string> </dict> <dict> <key>anchor</key> <string>top</string> <key>index</key> <integer>2</integer> <key>name</key> <string>_tahabove</string> </dict> </array> <key>com.schriftgestaltung.Glyphs.glyph.leftMetricsKey</key> <string>dal-ar</string> <key>com.schriftgestaltung.Glyphs.glyph.rightMetricsKey</key> <string>dal-ar</string> <key>public.markColor</key> <string>0.98,0.36,0.67,1</string> </dict> </lib> </glyph>
cascadia-code/sources/CascadiaCode-Regular.ufo/glyphs/dalT_wodotsverticalbelowT_ahabove-ar.glif/0
{ "file_path": "cascadia-code/sources/CascadiaCode-Regular.ufo/glyphs/dalT_wodotsverticalbelowT_ahabove-ar.glif", "repo_id": "cascadia-code", "token_count": 606 }
446
<?xml version='1.0' encoding='UTF-8'?> <glyph name="gafThreedots-ar" format="2"> <advance width="1200"/> <unicode hex="06B4"/> <anchor x="660" y="1850" name="top"/> <outline> <component base="gaf-ar"/> <component base="threedotsupabove-ar.v2" xScale="0.8" yScale="0.8" xOffset="228" yOffset="912"/> </outline> <lib> <dict> <key>com.schriftgestaltung.Glyphs.ComponentInfo</key> <array> <dict> <key>anchor</key> <string>top.dot</string> <key>index</key> <integer>1</integer> <key>name</key> <string>threedotsupabove-ar.v2</string> </dict> </array> <key>public.markColor</key> <string>0.98,0.36,0.67,1</string> </dict> </lib> </glyph>
cascadia-code/sources/CascadiaCode-Regular.ufo/glyphs/gafT_hreedots-ar.glif/0
{ "file_path": "cascadia-code/sources/CascadiaCode-Regular.ufo/glyphs/gafT_hreedots-ar.glif", "repo_id": "cascadia-code", "token_count": 392 }
447
<?xml version='1.0' encoding='UTF-8'?> <glyph name="gueh-ar" format="2"> <advance width="1200"/> <unicode hex="06B3"/> <outline> <component base="gaf-ar"/> <component base="twodotsverticalbelow-ar" xOffset="-47" yOffset="-24"/> </outline> <lib> <dict> <key>com.schriftgestaltung.Glyphs.ComponentInfo</key> <array> <dict> <key>anchor</key> <string>bottom.dot</string> <key>index</key> <integer>1</integer> <key>name</key> <string>twodotsverticalbelow-ar</string> </dict> </array> <key>public.markColor</key> <string>0.98,0.36,0.67,1</string> </dict> </lib> </glyph>
cascadia-code/sources/CascadiaCode-Regular.ufo/glyphs/gueh-ar.glif/0
{ "file_path": "cascadia-code/sources/CascadiaCode-Regular.ufo/glyphs/gueh-ar.glif", "repo_id": "cascadia-code", "token_count": 354 }
448
<?xml version='1.0' encoding='UTF-8'?> <glyph name="hehVinvertedabove-ar.fina" format="2"> <advance width="1200"/> <outline> <component base="hehDoachashmee-ar.fina"/> <component base="vinvertedabove-ar" xOffset="39" yOffset="388"/> </outline> <lib> <dict> <key>com.schriftgestaltung.Glyphs.ComponentInfo</key> <array> <dict> <key>anchor</key> <string>top.dot</string> <key>index</key> <integer>1</integer> <key>name</key> <string>vinvertedabove-ar</string> </dict> </array> <key>public.markColor</key> <string>0.98,0.36,0.67,1</string> </dict> </lib> </glyph>
cascadia-code/sources/CascadiaCode-Regular.ufo/glyphs/hehV_invertedabove-ar.fina.glif/0
{ "file_path": "cascadia-code/sources/CascadiaCode-Regular.ufo/glyphs/hehV_invertedabove-ar.fina.glif", "repo_id": "cascadia-code", "token_count": 350 }
449
<?xml version='1.0' encoding='UTF-8'?> <glyph name="noonRing-ar.init" format="2"> <advance width="1200"/> <outline> <component base="yehKashmiri-ar.init"/> <component base="dotabove-ar" xOffset="235" yOffset="335"/> </outline> <lib> <dict> <key>com.schriftgestaltung.Glyphs.ComponentInfo</key> <array> <dict> <key>alignment</key> <integer>1</integer> <key>anchor</key> <string>top.dot</string> <key>index</key> <integer>1</integer> <key>name</key> <string>dotabove-ar</string> </dict> </array> <key>public.markColor</key> <string>0.98,0.36,0.67,1</string> </dict> </lib> </glyph>
cascadia-code/sources/CascadiaCode-Regular.ufo/glyphs/noonR_ing-ar.init.glif/0
{ "file_path": "cascadia-code/sources/CascadiaCode-Regular.ufo/glyphs/noonR_ing-ar.init.glif", "repo_id": "cascadia-code", "token_count": 376 }
450
<?xml version='1.0' encoding='UTF-8'?> <glyph name="one-arsuperior" format="2"> <advance width="1200"/> <outline> <component base="one-arinferior" yOffset="801"/> </outline> <lib> <dict> <key>com.schriftgestaltung.Glyphs.ComponentInfo</key> <array> <dict> <key>alignment</key> <integer>-1</integer> <key>index</key> <integer>0</integer> <key>name</key> <string>one-arinferior</string> </dict> </array> <key>com.schriftgestaltung.Glyphs.category</key> <string>Number</string> <key>com.schriftgestaltung.Glyphs.script</key> <string>arabic</string> <key>com.schriftgestaltung.Glyphs.subCategory</key> <string>Small</string> <key>public.markColor</key> <string>0.98,0.36,0.67,1</string> </dict> </lib> </glyph>
cascadia-code/sources/CascadiaCode-Regular.ufo/glyphs/one-arsuperior.glif/0
{ "file_path": "cascadia-code/sources/CascadiaCode-Regular.ufo/glyphs/one-arsuperior.glif", "repo_id": "cascadia-code", "token_count": 437 }
451
<?xml version='1.0' encoding='UTF-8'?> <glyph name="qafDotbelow-ar.medi" format="2"> <advance width="1200"/> <outline> <component base="qaf-ar.medi"/> <component base="dotbelow-ar" xOffset="-17" yOffset="-24"/> </outline> <lib> <dict> <key>com.schriftgestaltung.Glyphs.ComponentInfo</key> <array> <dict> <key>anchor</key> <string>bottom.dot</string> <key>index</key> <integer>1</integer> <key>name</key> <string>dotbelow-ar</string> </dict> </array> <key>public.markColor</key> <string>0.98,0.36,0.67,1</string> </dict> </lib> </glyph>
cascadia-code/sources/CascadiaCode-Regular.ufo/glyphs/qafD_otbelow-ar.medi.glif/0
{ "file_path": "cascadia-code/sources/CascadiaCode-Regular.ufo/glyphs/qafD_otbelow-ar.medi.glif", "repo_id": "cascadia-code", "token_count": 342 }
452
<?xml version='1.0' encoding='UTF-8'?> <glyph name="sadTwodotsbelow-ar.alt" format="2"> <advance width="1200"/> <outline> <component base="sad-ar.alt"/> <component base="twodotshorizontalbelow-ar" xOffset="-130" yOffset="-24"/> </outline> <lib> <dict> <key>com.schriftgestaltung.Glyphs.ComponentInfo</key> <array> <dict> <key>anchor</key> <string>bottom.dot</string> <key>index</key> <integer>1</integer> <key>name</key> <string>twodotshorizontalbelow-ar</string> </dict> </array> <key>public.markColor</key> <string>0.98,0.36,0.67,1</string> </dict> </lib> </glyph>
cascadia-code/sources/CascadiaCode-Regular.ufo/glyphs/sadT_wodotsbelow-ar.alt.glif/0
{ "file_path": "cascadia-code/sources/CascadiaCode-Regular.ufo/glyphs/sadT_wodotsbelow-ar.alt.glif", "repo_id": "cascadia-code", "token_count": 353 }
453
<?xml version='1.0' encoding='UTF-8'?> <glyph name="six-arsuperior" format="2"> <advance width="1200"/> <outline> <component base="six-arinferior" yOffset="801"/> </outline> <lib> <dict> <key>com.schriftgestaltung.Glyphs.ComponentInfo</key> <array> <dict> <key>alignment</key> <integer>-1</integer> <key>index</key> <integer>0</integer> <key>name</key> <string>six-arinferior</string> </dict> </array> <key>com.schriftgestaltung.Glyphs.category</key> <string>Number</string> <key>com.schriftgestaltung.Glyphs.script</key> <string>arabic</string> <key>com.schriftgestaltung.Glyphs.subCategory</key> <string>Small</string> <key>public.markColor</key> <string>0.98,0.36,0.67,1</string> </dict> </lib> </glyph>
cascadia-code/sources/CascadiaCode-Regular.ufo/glyphs/six-arsuperior.glif/0
{ "file_path": "cascadia-code/sources/CascadiaCode-Regular.ufo/glyphs/six-arsuperior.glif", "repo_id": "cascadia-code", "token_count": 437 }
454
<?xml version='1.0' encoding='UTF-8'?> <glyph name="teh-ar" format="2"> <advance width="1200"/> <unicode hex="062A"/> <outline> <component base="behDotless-ar"/> <component base="twodotshorizontalabove-ar" xOffset="-10" yOffset="93"/> </outline> <lib> <dict> <key>com.schriftgestaltung.Glyphs.ComponentInfo</key> <array> <dict> <key>anchor</key> <string>top.dot</string> <key>index</key> <integer>1</integer> <key>name</key> <string>twodotshorizontalabove-ar</string> </dict> </array> <key>public.markColor</key> <string>0.98,0.36,0.67,1</string> </dict> </lib> </glyph>
cascadia-code/sources/CascadiaCode-Regular.ufo/glyphs/teh-ar.glif/0
{ "file_path": "cascadia-code/sources/CascadiaCode-Regular.ufo/glyphs/teh-ar.glif", "repo_id": "cascadia-code", "token_count": 357 }
455
<?xml version='1.0' encoding='UTF-8'?> <glyph name="wawTwodots-ar" format="2"> <advance width="1200"/> <unicode hex="06CA"/> <outline> <component base="waw-ar"/> <component base="twodotshorizontalabove-ar" xOffset="70" yOffset="238"/> </outline> <lib> <dict> <key>com.schriftgestaltung.Glyphs.ComponentInfo</key> <array> <dict> <key>anchor</key> <string>top.dot</string> <key>index</key> <integer>1</integer> <key>name</key> <string>twodotshorizontalabove-ar</string> </dict> </array> <key>public.markColor</key> <string>0.98,0.36,0.67,1</string> </dict> </lib> </glyph>
cascadia-code/sources/CascadiaCode-Regular.ufo/glyphs/wawT_wodots-ar.glif/0
{ "file_path": "cascadia-code/sources/CascadiaCode-Regular.ufo/glyphs/wawT_wodots-ar.glif", "repo_id": "cascadia-code", "token_count": 356 }
456
<?xml version='1.0' encoding='UTF-8'?> <glyph name="yehTwodotsbelowHamzaabove-ar.fina" format="2"> <advance width="1200"/> <outline> <component base="yeh-ar.fina"/> <component base="hamzaabove-ar" xOffset="-446" yOffset="-774"/> </outline> <lib> <dict> <key>com.schriftgestaltung.Glyphs.ComponentInfo</key> <array> <dict> <key>anchor</key> <string>top.dot</string> <key>index</key> <integer>1</integer> <key>name</key> <string>hamzaabove-ar</string> </dict> </array> <key>public.markColor</key> <string>0.98,0.36,0.67,1</string> </dict> </lib> </glyph>
cascadia-code/sources/CascadiaCode-Regular.ufo/glyphs/yehT_wodotsbelowH_amzaabove-ar.fina.glif/0
{ "file_path": "cascadia-code/sources/CascadiaCode-Regular.ufo/glyphs/yehT_wodotsbelowH_amzaabove-ar.fina.glif", "repo_id": "cascadia-code", "token_count": 350 }
457
<?xml version='1.0' encoding='UTF-8'?> <glyph name="yu-ar" format="2"> <advance width="1200"/> <unicode hex="06C8"/> <outline> <component base="waw-ar"/> <component base="alefabove-ar" xOffset="50" yOffset="356"/> </outline> <lib> <dict> <key>com.schriftgestaltung.Glyphs.ComponentInfo</key> <array> <dict> <key>anchor</key> <string>top.dot</string> <key>index</key> <integer>1</integer> <key>name</key> <string>alefabove-ar</string> </dict> </array> <key>public.markColor</key> <string>0.98,0.36,0.67,1</string> </dict> </lib> </glyph>
cascadia-code/sources/CascadiaCode-Regular.ufo/glyphs/yu-ar.glif/0
{ "file_path": "cascadia-code/sources/CascadiaCode-Regular.ufo/glyphs/yu-ar.glif", "repo_id": "cascadia-code", "token_count": 345 }
458
feature ccmp { lookup ccmp_Other_1 { @CombiningTopAccents = [acutecomb acutetonecomb brevecomb caroncomb circumflexcomb commaabovecomb commaaboverightcomb commaturnedabovecomb dieresiscomb dotaccentcomb gravecomb gravetonecomb hookabovecomb hungarumlautcomb macroncomb perispomenicomb ringcomb tildecomb]; @CombiningNonTopAccents = [cedillacomb dotbelowcomb lowlinecomb macronbelowcomb ogonekcomb ringbelowcomb horncomb]; sub [i j i-cy je-cy]' @CombiningTopAccents by [idotless jdotless idotless jdotless]; sub iogonek' @CombiningTopAccents by idotless ogonekcomb; sub idotbelow' @CombiningTopAccents by idotless dotbelowcomb; sub [i j i-cy je-cy]' @CombiningNonTopAccents @CombiningTopAccents by [idotless jdotless idotless jdotless]; sub iogonek' @CombiningNonTopAccents @CombiningTopAccents by idotless ogonekcomb; sub idotbelow' @CombiningNonTopAccents @CombiningTopAccents by idotless dotbelowcomb; @Markscomb = [dieresiscomb dotaccentcomb gravecomb acutecomb hungarumlautcomb circumflexcomb caroncomb brevecomb ringcomb tildecomb macroncomb hookabovecomb horncomb tonos brevecomb-cy]; @MarkscombCase = [dieresiscomb.case dotaccentcomb.case gravecomb.case acutecomb.case hungarumlautcomb.case circumflexcomb.case caroncomb.case brevecomb.case ringcomb.case tildecomb.case macroncomb.case hookabovecomb.case horncomb.case tonos.case brevecomb-cy.case]; sub @Markscomb @Markscomb' by @MarkscombCase; sub @Uppercase @Markscomb' by @MarkscombCase; } ccmp_Other_1; lookup ccmp_Other_2 { sub @Markscomb' @MarkscombCase by @MarkscombCase; sub @MarkscombCase @Markscomb' by @MarkscombCase; } ccmp_Other_2; lookup ccmp_latn_1 { sub fi by f i; sub fl by f l; } ccmp_latn_1; } ccmp;
cascadia-code/sources/features/ccmp.fea/0
{ "file_path": "cascadia-code/sources/features/ccmp.fea", "repo_id": "cascadia-code", "token_count": 606 }
459
<?xml version='1.0' encoding='UTF-8'?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>lib</key> <dict> <key>com.schriftgestaltung.layerId</key> <string>F8C3375C-B372-4BAE-A3FB-5A8DC7FA7AB9</string> <key>com.schriftgestaltung.layerOrderInGlyph.uniE0A0</key> <integer>0</integer> <key>com.schriftgestaltung.layerOrderInGlyph.uniE0A0.stypo</key> <integer>0</integer> <key>com.schriftgestaltung.layerOrderInGlyph.uniE0A1</key> <integer>0</integer> <key>com.schriftgestaltung.layerOrderInGlyph.uniE0A2</key> <integer>0</integer> <key>com.schriftgestaltung.layerOrderInGlyph.uniE0A3</key> <integer>0</integer> <key>com.schriftgestaltung.layerOrderInGlyph.uniE0B0</key> <integer>0</integer> <key>com.schriftgestaltung.layerOrderInGlyph.uniE0B0.stypo</key> <integer>0</integer> <key>com.schriftgestaltung.layerOrderInGlyph.uniE0B1</key> <integer>0</integer> <key>com.schriftgestaltung.layerOrderInGlyph.uniE0B1.stypo</key> <integer>0</integer> <key>com.schriftgestaltung.layerOrderInGlyph.uniE0B2</key> <integer>0</integer> <key>com.schriftgestaltung.layerOrderInGlyph.uniE0B2.stypo</key> <integer>0</integer> <key>com.schriftgestaltung.layerOrderInGlyph.uniE0B3</key> <integer>0</integer> <key>com.schriftgestaltung.layerOrderInGlyph.uniE0B3.stypo</key> <integer>0</integer> <key>com.schriftgestaltung.layerOrderInGlyph.uniE0B4</key> <integer>0</integer> <key>com.schriftgestaltung.layerOrderInGlyph.uniE0B4.stypo</key> <integer>0</integer> <key>com.schriftgestaltung.layerOrderInGlyph.uniE0B5</key> <integer>0</integer> <key>com.schriftgestaltung.layerOrderInGlyph.uniE0B5.stypo</key> <integer>0</integer> <key>com.schriftgestaltung.layerOrderInGlyph.uniE0B6</key> <integer>0</integer> <key>com.schriftgestaltung.layerOrderInGlyph.uniE0B6.stypo</key> <integer>0</integer> <key>com.schriftgestaltung.layerOrderInGlyph.uniE0B7</key> <integer>0</integer> <key>com.schriftgestaltung.layerOrderInGlyph.uniE0B7.stypo</key> <integer>0</integer> <key>com.schriftgestaltung.layerOrderInGlyph.uniE0B8</key> <integer>0</integer> <key>com.schriftgestaltung.layerOrderInGlyph.uniE0B8.stypo</key> <integer>0</integer> <key>com.schriftgestaltung.layerOrderInGlyph.uniE0B9</key> <integer>0</integer> <key>com.schriftgestaltung.layerOrderInGlyph.uniE0B9.stypo</key> <integer>0</integer> <key>com.schriftgestaltung.layerOrderInGlyph.uniE0BA</key> <integer>0</integer> <key>com.schriftgestaltung.layerOrderInGlyph.uniE0BA.stypo</key> <integer>0</integer> <key>com.schriftgestaltung.layerOrderInGlyph.uniE0BB</key> <integer>0</integer> <key>com.schriftgestaltung.layerOrderInGlyph.uniE0BB.stypo</key> <integer>0</integer> <key>com.schriftgestaltung.layerOrderInGlyph.uniE0BC</key> <integer>0</integer> <key>com.schriftgestaltung.layerOrderInGlyph.uniE0BC.stypo</key> <integer>0</integer> <key>com.schriftgestaltung.layerOrderInGlyph.uniE0BD</key> <integer>0</integer> <key>com.schriftgestaltung.layerOrderInGlyph.uniE0BD.stypo</key> <integer>0</integer> <key>com.schriftgestaltung.layerOrderInGlyph.uniE0BE</key> <integer>0</integer> <key>com.schriftgestaltung.layerOrderInGlyph.uniE0BE.stypo</key> <integer>0</integer> <key>com.schriftgestaltung.layerOrderInGlyph.uniE0BF</key> <integer>0</integer> <key>com.schriftgestaltung.layerOrderInGlyph.uniE0BF.stypo</key> <integer>0</integer> <key>com.schriftgestaltung.layerOrderInGlyph.uniE0C0</key> <integer>0</integer> <key>com.schriftgestaltung.layerOrderInGlyph.uniE0C0.stypo</key> <integer>0</integer> <key>com.schriftgestaltung.layerOrderInGlyph.uniE0C1</key> <integer>0</integer> <key>com.schriftgestaltung.layerOrderInGlyph.uniE0C1.stypo</key> <integer>0</integer> <key>com.schriftgestaltung.layerOrderInGlyph.uniE0C2</key> <integer>0</integer> <key>com.schriftgestaltung.layerOrderInGlyph.uniE0C2.stypo</key> <integer>0</integer> <key>com.schriftgestaltung.layerOrderInGlyph.uniE0C3</key> <integer>0</integer> <key>com.schriftgestaltung.layerOrderInGlyph.uniE0C3.stypo</key> <integer>0</integer> <key>com.schriftgestaltung.layerOrderInGlyph.uniE0C4</key> <integer>0</integer> <key>com.schriftgestaltung.layerOrderInGlyph.uniE0C4.stypo</key> <integer>0</integer> <key>com.schriftgestaltung.layerOrderInGlyph.uniE0C5</key> <integer>0</integer> <key>com.schriftgestaltung.layerOrderInGlyph.uniE0C5.stypo</key> <integer>0</integer> <key>com.schriftgestaltung.layerOrderInGlyph.uniE0C6</key> <integer>0</integer> <key>com.schriftgestaltung.layerOrderInGlyph.uniE0C6.stypo</key> <integer>0</integer> <key>com.schriftgestaltung.layerOrderInGlyph.uniE0C7</key> <integer>0</integer> <key>com.schriftgestaltung.layerOrderInGlyph.uniE0C7.stypo</key> <integer>0</integer> <key>com.schriftgestaltung.layerOrderInGlyph.uniE0C8</key> <integer>0</integer> <key>com.schriftgestaltung.layerOrderInGlyph.uniE0C8.stypo</key> <integer>0</integer> <key>com.schriftgestaltung.layerOrderInGlyph.uniE0CA</key> <integer>0</integer> <key>com.schriftgestaltung.layerOrderInGlyph.uniE0CA.stypo</key> <integer>0</integer> <key>com.schriftgestaltung.layerOrderInGlyph.uniE0CC</key> <integer>0</integer> <key>com.schriftgestaltung.layerOrderInGlyph.uniE0CC.stypo</key> <integer>0</integer> <key>com.schriftgestaltung.layerOrderInGlyph.uniE0CD</key> <integer>0</integer> <key>com.schriftgestaltung.layerOrderInGlyph.uniE0CD.stypo</key> <integer>0</integer> <key>com.schriftgestaltung.layerOrderInGlyph.uniE0CE</key> <integer>0</integer> <key>com.schriftgestaltung.layerOrderInGlyph.uniE0CE.stypo</key> <integer>0</integer> <key>com.schriftgestaltung.layerOrderInGlyph.uniE0CF</key> <integer>0</integer> <key>com.schriftgestaltung.layerOrderInGlyph.uniE0CF.stypo</key> <integer>0</integer> <key>com.schriftgestaltung.layerOrderInGlyph.uniE0D0</key> <integer>0</integer> <key>com.schriftgestaltung.layerOrderInGlyph.uniE0D1</key> <integer>0</integer> <key>com.schriftgestaltung.layerOrderInGlyph.uniE0D1.stypo</key> <integer>0</integer> <key>com.schriftgestaltung.layerOrderInGlyph.uniE0D2</key> <integer>0</integer> <key>com.schriftgestaltung.layerOrderInGlyph.uniE0D2.stypo</key> <integer>0</integer> <key>com.schriftgestaltung.layerOrderInGlyph.uniE0D4</key> <integer>0</integer> <key>com.schriftgestaltung.layerOrderInGlyph.uniE0D4.stypo</key> <integer>0</integer> </dict> </dict> </plist>
cascadia-code/sources/nerdfonts/NerdfontsPL-Regular.ufo/glyphs/layerinfo.plist/0
{ "file_path": "cascadia-code/sources/nerdfonts/NerdfontsPL-Regular.ufo/glyphs/layerinfo.plist", "repo_id": "cascadia-code", "token_count": 3528 }
460
<?xml version='1.0' encoding='UTF-8'?> <glyph name="airport" format="2"> <advance width="512"/> <unicode hex="F084B"/> <note> airport </note> <outline> <contour> <point x="321" y="314"/> <point x="313" y="299"/> <point x="305" y="296" type="qcurve"/> <point x="78" y="236" type="line"/> <point x="43" y="297" type="line"/> <point x="63" y="303" type="line"/> <point x="89" y="282" type="line"/> <point x="157" y="300" type="line"/> <point x="101" y="398" type="line"/> <point x="127" y="405" type="line"/> <point x="222" y="317" type="line"/> <point x="294" y="336" type="line" smooth="yes"/> <point x="302" y="338"/> <point x="317" y="330"/> <point x="319" y="322" type="qcurve" smooth="yes"/> </contour> <contour> <point x="427" y="256" type="line"/> <point x="384" y="256" type="line"/> <point x="384" y="299" type="line"/> <point x="363" y="299" type="line"/> <point x="363" y="256" type="line"/> <point x="320" y="256" type="line"/> <point x="299" y="235" type="line"/> <point x="320" y="192" type="line"/> <point x="427" y="192" type="line"/> <point x="448" y="235" type="line"/> </contour> <contour> <point x="427" y="21" type="line"/> <point x="427" y="171" type="line"/> <point x="320" y="171" type="line"/> <point x="320" y="21" type="line"/> <point x="43" y="21" type="line"/> <point x="43" y="-21" type="line"/> <point x="469" y="-21" type="line"/> <point x="469" y="21" type="line"/> </contour> </outline> </glyph>
cascadia-code/sources/nerdfonts/full/original/MaterialDesignIconsDesktop.ufo/glyphs/airport.glif/0
{ "file_path": "cascadia-code/sources/nerdfonts/full/original/MaterialDesignIconsDesktop.ufo/glyphs/airport.glif", "repo_id": "cascadia-code", "token_count": 785 }
461
<?xml version='1.0' encoding='UTF-8'?> <glyph name="album" format="2"> <advance width="512"/> <unicode hex="F0025"/> <note> album </note> <outline> <contour> <point x="265" y="213"/> <point x="277" y="201"/> <point x="277" y="183"/> <point x="265" y="171"/> <point x="247" y="171"/> <point x="235" y="183"/> <point x="235" y="201"/> <point x="247" y="213"/> <point x="256" y="213" type="qcurve" smooth="yes"/> </contour> <contour> <point x="296" y="96"/> <point x="352" y="152"/> <point x="352" y="232"/> <point x="296" y="288"/> <point x="216" y="288"/> <point x="160" y="232"/> <point x="160" y="152"/> <point x="216" y="96"/> <point x="256" y="96" type="qcurve" smooth="yes"/> </contour> <contour> <point x="298" y="405"/> <point x="377" y="373"/> <point x="437" y="313"/> <point x="469" y="234"/> <point x="469" y="150"/> <point x="437" y="71"/> <point x="377" y="11"/> <point x="298" y="-21"/> <point x="214" y="-21"/> <point x="135" y="11"/> <point x="75" y="71"/> <point x="43" y="150"/> <point x="43" y="234"/> <point x="75" y="313"/> <point x="135" y="373"/> <point x="214" y="405"/> <point x="256" y="405" type="qcurve" smooth="yes"/> </contour> </outline> </glyph>
cascadia-code/sources/nerdfonts/full/original/MaterialDesignIconsDesktop.ufo/glyphs/album.glif/0
{ "file_path": "cascadia-code/sources/nerdfonts/full/original/MaterialDesignIconsDesktop.ufo/glyphs/album.glif", "repo_id": "cascadia-code", "token_count": 716 }
462
<?xml version='1.0' encoding='UTF-8'?> <glyph name="checkbox-blank-circle-outline" format="2"> <advance width="512"/> <unicode hex="F0130"/> <unicode hex="F043D"/> <unicode hex="F0766"/> <note> checkbox-blank-circle-outline </note> <outline> <contour> <point x="302" y="21"/> <point x="381" y="67"/> <point x="427" y="146"/> <point x="427" y="238"/> <point x="381" y="317"/> <point x="302" y="363"/> <point x="210" y="363"/> <point x="131" y="317"/> <point x="85" y="238"/> <point x="85" y="146"/> <point x="131" y="67"/> <point x="210" y="21"/> <point x="256" y="21" type="qcurve" smooth="yes"/> </contour> <contour> <point x="298" y="405"/> <point x="377" y="373"/> <point x="437" y="313"/> <point x="469" y="234"/> <point x="469" y="150"/> <point x="437" y="71"/> <point x="377" y="11"/> <point x="298" y="-21"/> <point x="214" y="-21"/> <point x="135" y="11"/> <point x="75" y="71"/> <point x="43" y="150"/> <point x="43" y="234"/> <point x="75" y="313"/> <point x="135" y="373"/> <point x="214" y="405"/> <point x="256" y="405" type="qcurve" smooth="yes"/> </contour> </outline> </glyph>
cascadia-code/sources/nerdfonts/full/original/MaterialDesignIconsDesktop.ufo/glyphs/checkbox-blank-circle-outline.glif/0
{ "file_path": "cascadia-code/sources/nerdfonts/full/original/MaterialDesignIconsDesktop.ufo/glyphs/checkbox-blank-circle-outline.glif", "repo_id": "cascadia-code", "token_count": 648 }
463
<?xml version='1.0' encoding='UTF-8'?> <glyph name="emoticon-sad" format="2"> <advance width="512"/> <unicode hex="F0C76"/> <note> emoticon-sad </note> <outline> <contour> <point x="298" y="405"/> <point x="377" y="373"/> <point x="437" y="313"/> <point x="469" y="234"/> <point x="469" y="150"/> <point x="437" y="71"/> <point x="377" y="11"/> <point x="298" y="-21"/> <point x="214" y="-21"/> <point x="135" y="11"/> <point x="75" y="71"/> <point x="43" y="150"/> <point x="43" y="234"/> <point x="75" y="313"/> <point x="135" y="373"/> <point x="214" y="405"/> <point x="256" y="405" type="qcurve" smooth="yes"/> </contour> <contour> <point x="149" y="233"/> <point x="169" y="213"/> <point x="194" y="213"/> <point x="213" y="233"/> <point x="213" y="258"/> <point x="194" y="277"/> <point x="169" y="277"/> <point x="149" y="258"/> <point x="149" y="245" type="qcurve" smooth="yes"/> </contour> <contour> <point x="345" y="111" type="line"/> <point x="331" y="128"/> <point x="284" y="149"/> <point x="228" y="149"/> <point x="181" y="128"/> <point x="167" y="111" type="qcurve"/> <point x="197" y="80" type="line"/> <point x="204" y="92"/> <point x="236" y="107"/> <point x="276" y="107"/> <point x="308" y="92"/> <point x="315" y="80" type="qcurve"/> </contour> <contour> <point x="343" y="213"/> <point x="363" y="233"/> <point x="363" y="258"/> <point x="343" y="277"/> <point x="318" y="277"/> <point x="299" y="258"/> <point x="299" y="233"/> <point x="318" y="213"/> <point x="331" y="213" type="qcurve" smooth="yes"/> </contour> </outline> </glyph>
cascadia-code/sources/nerdfonts/full/original/MaterialDesignIconsDesktop.ufo/glyphs/emoticon-sad.glif/0
{ "file_path": "cascadia-code/sources/nerdfonts/full/original/MaterialDesignIconsDesktop.ufo/glyphs/emoticon-sad.glif", "repo_id": "cascadia-code", "token_count": 955 }
464
<?xml version='1.0' encoding='UTF-8'?> <glyph name="music-note-whole" format="2"> <advance width="512"/> <unicode hex="F038D"/> <note> music-note-whole </note> <outline> <contour> <point x="238" y="128"/> <point x="213" y="103"/> <point x="213" y="85" type="qcurve" smooth="yes"/> <point x="213" y="72"/> <point x="228" y="51"/> <point x="252" y="41"/> <point x="277" y="46"/> <point x="295" y="64"/> <point x="300" y="90"/> <point x="290" y="114"/> <point x="269" y="128"/> <point x="256" y="128" type="qcurve" smooth="yes"/> </contour> <contour> <point x="291" y="171"/> <point x="341" y="121"/> <point x="341" y="50"/> <point x="291" y="0"/> <point x="221" y="0"/> <point x="171" y="50"/> <point x="171" y="121"/> <point x="221" y="171"/> <point x="256" y="171" type="qcurve" smooth="yes"/> </contour> </outline> </glyph>
cascadia-code/sources/nerdfonts/full/original/MaterialDesignIconsDesktop.ufo/glyphs/music-note-whole.glif/0
{ "file_path": "cascadia-code/sources/nerdfonts/full/original/MaterialDesignIconsDesktop.ufo/glyphs/music-note-whole.glif", "repo_id": "cascadia-code", "token_count": 485 }
465
<?xml version='1.0' encoding='UTF-8'?> <glyph name="pan-right" format="2"> <advance width="512"/> <unicode hex="F0BBA"/> <note> pan-right </note> <outline> <contour> <point x="459" y="192" type="line"/> <point x="363" y="107" type="line"/> <point x="363" y="277" type="line"/> </contour> <contour> <point x="274" y="235"/> <point x="299" y="210"/> <point x="299" y="174"/> <point x="274" y="149"/> <point x="238" y="149"/> <point x="213" y="174"/> <point x="213" y="210"/> <point x="238" y="235"/> <point x="256" y="235" type="qcurve" smooth="yes"/> </contour> </outline> </glyph>
cascadia-code/sources/nerdfonts/full/original/MaterialDesignIconsDesktop.ufo/glyphs/pan-right.glif/0
{ "file_path": "cascadia-code/sources/nerdfonts/full/original/MaterialDesignIconsDesktop.ufo/glyphs/pan-right.glif", "repo_id": "cascadia-code", "token_count": 327 }
466
<?xml version='1.0' encoding='UTF-8'?> <glyph name="panorama-vertical-outline" format="2"> <advance width="512"/> <unicode hex="F03DF"/> <note> panorama-vertical-outline </note> <outline> <contour> <point x="372" y="21" type="line"/> <point x="348" y="105"/> <point x="348" y="279"/> <point x="372" y="363" type="qcurve"/> <point x="140" y="363" type="line"/> <point x="164" y="279"/> <point x="164" y="105"/> <point x="140" y="21" type="qcurve"/> </contour> <contour> <point x="427" y="-5"/> <point x="427" y="-15"/> <point x="420" y="-21"/> <point x="413" y="-21" type="qcurve" smooth="yes"/> <point x="99" y="-21" type="line" smooth="yes"/> <point x="93" y="-21"/> <point x="85" y="-15"/> <point x="85" y="-5"/> <point x="87" y="-3" type="qcurve"/> <point x="122" y="92"/> <point x="122" y="292"/> <point x="87" y="387" type="qcurve"/> <point x="85" y="389"/> <point x="85" y="399"/> <point x="92" y="405"/> <point x="99" y="405" type="qcurve" smooth="yes"/> <point x="413" y="405" type="line" smooth="yes"/> <point x="420" y="405"/> <point x="427" y="399"/> <point x="427" y="389"/> <point x="425" y="387" type="qcurve"/> <point x="390" y="292"/> <point x="390" y="91"/> <point x="425" y="-3" type="qcurve"/> </contour> </outline> </glyph>
cascadia-code/sources/nerdfonts/full/original/MaterialDesignIconsDesktop.ufo/glyphs/panorama-vertical-outline.glif/0
{ "file_path": "cascadia-code/sources/nerdfonts/full/original/MaterialDesignIconsDesktop.ufo/glyphs/panorama-vertical-outline.glif", "repo_id": "cascadia-code", "token_count": 724 }
467
<?xml version='1.0' encoding='UTF-8'?> <glyph name="phone-bluetooth-outline" format="2"> <advance width="512"/> <unicode hex="F118F"/> <note> phone-bluetooth-outline </note> <outline> <contour> <point x="435" y="117"/> <point x="448" y="104"/> <point x="448" y="96" type="qcurve" smooth="yes"/> <point x="448" y="21" type="line" smooth="yes"/> <point x="448" y="13"/> <point x="435" y="0"/> <point x="427" y="0" type="qcurve" smooth="yes"/> <point x="328" y="0"/> <point x="244" y="49" type="qcurve" smooth="yes"/> <point x="161" y="97"/> <point x="113" y="180" type="qcurve" smooth="yes"/> <point x="64" y="264"/> <point x="64" y="363" type="qcurve" smooth="yes"/> <point x="64" y="371"/> <point x="77" y="384"/> <point x="85" y="384" type="qcurve" smooth="yes"/> <point x="160" y="384" type="line" smooth="yes"/> <point x="168" y="384"/> <point x="181" y="371"/> <point x="181" y="363" type="qcurve" smooth="yes"/> <point x="181" y="325"/> <point x="192" y="286" type="qcurve"/> <point x="195" y="281"/> <point x="193" y="269"/> <point x="188" y="265" type="qcurve"/> <point x="141" y="218" type="line"/> <point x="163" y="174"/> <point x="236" y="101"/> <point x="282" y="77" type="qcurve"/> <point x="329" y="124" type="line" smooth="yes"/> <point x="335" y="130"/> <point x="343" y="130" type="qcurve" smooth="yes"/> <point x="350" y="130" type="line"/> <point x="385" y="117"/> <point x="427" y="117" type="qcurve" smooth="yes"/> </contour> <contour> <point x="110" y="303"/> <point x="124" y="260" type="qcurve"/> <point x="149" y="286" type="line"/> <point x="141" y="318"/> <point x="139" y="341" type="qcurve"/> <point x="107" y="341" type="line"/> </contour> <contour> <point x="405" y="77" type="line"/> <point x="384" y="77"/> <point x="350" y="85" type="qcurve"/> <point x="324" y="60" type="line"/> <point x="367" y="46"/> <point x="405" y="43" type="qcurve"/> </contour> <contour> <point x="384" y="254" type="line"/> <point x="404" y="274" type="line"/> <point x="384" y="294" type="line"/> </contour> <contour> <point x="384" y="346" type="line"/> <point x="404" y="366" type="line"/> <point x="384" y="386" type="line"/> </contour> <contour> <point x="299" y="260" type="line"/> <point x="358" y="320" type="line"/> <point x="299" y="380" type="line"/> <point x="314" y="395" type="line"/> <point x="363" y="346" type="line"/> <point x="363" y="427" type="line"/> <point x="373" y="427" type="line"/> <point x="434" y="366" type="line"/> <point x="388" y="320" type="line"/> <point x="434" y="274" type="line"/> <point x="373" y="213" type="line"/> <point x="363" y="213" type="line"/> <point x="363" y="294" type="line"/> <point x="314" y="245" type="line"/> </contour> </outline> </glyph>
cascadia-code/sources/nerdfonts/full/original/MaterialDesignIconsDesktop.ufo/glyphs/phone-bluetooth-outline.glif/0
{ "file_path": "cascadia-code/sources/nerdfonts/full/original/MaterialDesignIconsDesktop.ufo/glyphs/phone-bluetooth-outline.glif", "repo_id": "cascadia-code", "token_count": 1518 }
468
<?xml version='1.0' encoding='UTF-8'?> <glyph name="railroad-light" format="2"> <advance width="512"/> <unicode hex="F0F1E"/> <note> railroad-light </note> <outline> <contour> <point x="402" y="224"/> <point x="437" y="191"/> <point x="444" y="144"/> <point x="415" y="103"/> <point x="368" y="92"/> <point x="325" y="115"/> <point x="317" y="139" type="qcurve"/> <point x="281" y="139" type="line"/> <point x="281" y="21" type="line"/> <point x="299" y="21"/> <point x="324" y="-4"/> <point x="324" y="-21" type="qcurve"/> <point x="196" y="-21" type="line"/> <point x="196" y="-4"/> <point x="221" y="21"/> <point x="238" y="21" type="qcurve"/> <point x="238" y="139" type="line"/> <point x="203" y="139" type="line"/> <point x="194" y="114"/> <point x="154" y="93"/> <point x="109" y="101"/> <point x="78" y="134"/> <point x="78" y="186"/> <point x="109" y="219"/> <point x="154" y="227"/> <point x="194" y="206"/> <point x="203" y="181" type="qcurve"/> <point x="238" y="181" type="line"/> <point x="238" y="282" type="line"/> <point x="163" y="238" type="line"/> <point x="142" y="274" type="line"/> <point x="218" y="320" type="line"/> <point x="143" y="366" type="line"/> <point x="164" y="402" type="line"/> <point x="238" y="358" type="line"/> <point x="238" y="405" type="line"/> <point x="281" y="405" type="line"/> <point x="281" y="358" type="line"/> <point x="356" y="402" type="line"/> <point x="377" y="366" type="line"/> <point x="301" y="320" type="line"/> <point x="377" y="274" type="line"/> <point x="355" y="238" type="line"/> <point x="281" y="282" type="line"/> <point x="281" y="181" type="line"/> <point x="317" y="181" type="line"/> <point x="324" y="201"/> <point x="357" y="224"/> <point x="377" y="224" type="qcurve" smooth="yes"/> </contour> <contour> <point x="151" y="139"/> <point x="164" y="151"/> <point x="164" y="169"/> <point x="151" y="181"/> <point x="134" y="182"/> <point x="121" y="169"/> <point x="121" y="151"/> <point x="133" y="139"/> <point x="142" y="139" type="qcurve" smooth="yes"/> </contour> <contour> <point x="386" y="139"/> <point x="398" y="151"/> <point x="398" y="169"/> <point x="386" y="181"/> <point x="368" y="182"/> <point x="355" y="169"/> <point x="356" y="151"/> <point x="368" y="139"/> <point x="377" y="139" type="qcurve" smooth="yes"/> </contour> </outline> </glyph>
cascadia-code/sources/nerdfonts/full/original/MaterialDesignIconsDesktop.ufo/glyphs/railroad-light.glif/0
{ "file_path": "cascadia-code/sources/nerdfonts/full/original/MaterialDesignIconsDesktop.ufo/glyphs/railroad-light.glif", "repo_id": "cascadia-code", "token_count": 1358 }
469
<?xml version='1.0' encoding='UTF-8'?> <glyph name="tag-off-outline" format="2"> <advance width="512"/> <unicode hex="F1221"/> <note> tag-off-outline </note> <outline> <contour> <point x="152" y="341"/> <point x="171" y="323"/> <point x="171" y="296"/> <point x="152" y="277"/> <point x="125" y="277"/> <point x="107" y="296"/> <point x="107" y="323"/> <point x="125" y="341"/> <point x="139" y="341" type="qcurve" smooth="yes"/> </contour> <contour> <point x="152" y="341"/> <point x="171" y="323"/> <point x="171" y="296"/> <point x="152" y="277"/> <point x="125" y="277"/> <point x="107" y="296"/> <point x="107" y="323"/> <point x="125" y="341"/> <point x="139" y="341" type="qcurve" smooth="yes"/> </contour> <contour> <point x="457" y="201" type="line" smooth="yes"/> <point x="469" y="188"/> <point x="469" y="153"/> <point x="457" y="141" type="qcurve" smooth="yes"/> <point x="307" y="-9" type="line" smooth="yes"/> <point x="295" y="-21"/> <point x="260" y="-21"/> <point x="247" y="-9" type="qcurve" smooth="yes"/> <point x="181" y="57" type="line"/> <point x="84" y="-41" type="line"/> <point x="53" y="-11" type="line"/> <point x="459" y="395" type="line"/> <point x="489" y="364" type="line"/> <point x="391" y="267" type="line"/> </contour> <contour> <point x="427" y="171" type="line"/> <point x="361" y="236" type="line"/> <point x="212" y="87" type="line"/> <point x="277" y="21" type="line"/> </contour> <contour> <point x="55" y="183" type="line" smooth="yes"/> <point x="43" y="196"/> <point x="43" y="213" type="qcurve" smooth="yes"/> <point x="43" y="363" type="line" smooth="yes"/> <point x="43" y="380"/> <point x="68" y="405"/> <point x="85" y="405" type="qcurve" smooth="yes"/> <point x="235" y="405" type="line" smooth="yes"/> <point x="252" y="405"/> <point x="265" y="393" type="qcurve" smooth="yes"/> <point x="330" y="327" type="line"/> <point x="300" y="297" type="line"/> <point x="235" y="363" type="line"/> <point x="85" y="363" type="line"/> <point x="85" y="213" type="line"/> <point x="149" y="149" type="line"/> <point x="120" y="119" type="line"/> </contour> <contour> <point x="107" y="323"/> <point x="125" y="341"/> <point x="152" y="341"/> <point x="171" y="323"/> <point x="171" y="296"/> <point x="152" y="277"/> <point x="125" y="277"/> <point x="107" y="296"/> <point x="107" y="309" type="qcurve" smooth="yes"/> </contour> </outline> </glyph>
cascadia-code/sources/nerdfonts/full/original/MaterialDesignIconsDesktop.ufo/glyphs/tag-off-outline.glif/0
{ "file_path": "cascadia-code/sources/nerdfonts/full/original/MaterialDesignIconsDesktop.ufo/glyphs/tag-off-outline.glif", "repo_id": "cascadia-code", "token_count": 1368 }
470
<?xml version='1.0' encoding='UTF-8'?> <glyph name="zodiac-gemini" format="2"> <advance width="512"/> <unicode hex="F0A81"/> <note> zodiac-gemini </note> <outline> <contour> <point x="384" y="49" type="line"/> <point x="428" y="38"/> <point x="468" y="21" type="qcurve"/> <point x="452" y="-18" type="line"/> <point x="358" y="21"/> <point x="154" y="21"/> <point x="60" y="-18" type="qcurve"/> <point x="44" y="21" type="line"/> <point x="84" y="38"/> <point x="128" y="49" type="qcurve"/> <point x="128" y="335" type="line"/> <point x="84" y="346"/> <point x="44" y="363" type="qcurve"/> <point x="60" y="402" type="line"/> <point x="154" y="363"/> <point x="357" y="363"/> <point x="452" y="402" type="qcurve"/> <point x="468" y="363" type="line"/> <point x="428" y="346"/> <point x="384" y="335" type="qcurve"/> </contour> <contour> <point x="171" y="57" type="line"/> <point x="256" y="71"/> <point x="341" y="57" type="qcurve"/> <point x="341" y="327" type="line"/> <point x="298" y="320"/> <point x="214" y="320"/> <point x="171" y="327" type="qcurve"/> <point x="171" y="58" type="line"/> </contour> </outline> </glyph>
cascadia-code/sources/nerdfonts/full/original/MaterialDesignIconsDesktop.ufo/glyphs/zodiac-gemini.glif/0
{ "file_path": "cascadia-code/sources/nerdfonts/full/original/MaterialDesignIconsDesktop.ufo/glyphs/zodiac-gemini.glif", "repo_id": "cascadia-code", "token_count": 651 }
471
<?xml version='1.0' encoding='UTF-8'?> <glyph name="format-textdirection-r-to-l" format="2"> <advance width="1200"/> <unicode hex="F0286"/> <note> format-textdirection-r-to-l </note> <outline> <contour> <point x="1170" y="353" type="line"/> <point x="317" y="353" type="line"/> <point x="317" y="567" type="line"/> <point x="30" y="283" type="line"/> <point x="317" y="0" type="line"/> <point x="317" y="213" type="line"/> <point x="1170" y="213" type="line"/> </contour> <contour> <point x="340" y="853"/> <point x="457" y="853" type="qcurve"/> <point x="457" y="497" type="line"/> <point x="600" y="497" type="line"/> <point x="600" y="1280" type="line"/> <point x="743" y="1280" type="line"/> <point x="743" y="497" type="line"/> <point x="883" y="497" type="line"/> <point x="883" y="1280" type="line"/> <point x="1027" y="1280" type="line"/> <point x="1027" y="1420" type="line"/> <point x="457" y="1420" type="line" smooth="yes"/> <point x="340" y="1420"/> <point x="173" y="1253"/> <point x="173" y="1020"/> </contour> </outline> </glyph>
cascadia-code/sources/nerdfonts/full/processed/MaterialDesignIconsDesktop.ufo/glyphs/format-textdirection-r-to-l.glif/0
{ "file_path": "cascadia-code/sources/nerdfonts/full/processed/MaterialDesignIconsDesktop.ufo/glyphs/format-textdirection-r-to-l.glif", "repo_id": "cascadia-code", "token_count": 572 }
472
<?xml version='1.0' encoding='UTF-8'?> <glyph name="hoop-house" format="2"> <advance width="1200"/> <unicode hex="F0E56"/> <note> hoop-house </note> <outline> <contour> <point x="758" y="1174"/> <point x="600" y="1174" type="qcurve" smooth="yes"/> <point x="442" y="1174"/> <point x="175" y="1019"/> <point x="20" y="752"/> <point x="20" y="594" type="qcurve" smooth="yes"/> <point x="20" y="246" type="line"/> <point x="1180" y="246" type="line"/> <point x="1180" y="594" type="line" smooth="yes"/> <point x="1180" y="752"/> <point x="1025" y="1019"/> </contour> <contour> <point x="491" y="1060"/> <point x="600" y="1060" type="qcurve" smooth="yes"/> <point x="709" y="1060"/> <point x="897" y="967"/> <point x="962" y="886" type="qcurve"/> <point x="238" y="886" type="line"/> <point x="303" y="967"/> </contour> <contour> <point x="369" y="769" type="line"/> <point x="369" y="363" type="line"/> <point x="134" y="363" type="line"/> <point x="134" y="594" type="line" smooth="yes"/> <point x="134" y="684"/> <point x="170" y="769" type="qcurve"/> </contour> <contour> <point x="717" y="769" type="line"/> <point x="717" y="363" type="line"/> <point x="483" y="363" type="line"/> <point x="483" y="769" type="line"/> </contour> <contour> <point x="1066" y="594" type="qcurve" smooth="yes"/> <point x="1066" y="363" type="line"/> <point x="831" y="363" type="line"/> <point x="831" y="769" type="line"/> <point x="1030" y="769" type="line"/> <point x="1066" y="684"/> </contour> </outline> </glyph>
cascadia-code/sources/nerdfonts/full/processed/MaterialDesignIconsDesktop.ufo/glyphs/hoop-house.glif/0
{ "file_path": "cascadia-code/sources/nerdfonts/full/processed/MaterialDesignIconsDesktop.ufo/glyphs/hoop-house.glif", "repo_id": "cascadia-code", "token_count": 861 }
473
<?xml version='1.0' encoding='UTF-8'?> <glyph name="human-queue" format="2"> <advance width="1200"/> <unicode hex="F1571"/> <note> human-queue </note> <outline> <contour> <point x="241" y="1059"/> <point x="194" y="1059" type="qcurve" smooth="yes"/> <point x="145" y="1059"/> <point x="77" y="990"/> <point x="77" y="895"/> <point x="145" y="827"/> <point x="241" y="827"/> <point x="309" y="895"/> <point x="309" y="990"/> </contour> <contour> <point x="649" y="1176"/> <point x="600" y="1176" type="qcurve" smooth="yes"/> <point x="551" y="1176"/> <point x="483" y="1108"/> <point x="483" y="1010"/> <point x="551" y="941"/> <point x="649" y="941"/> <point x="717" y="1010"/> <point x="717" y="1108"/> </contour> <contour> <point x="1055" y="1290"/> <point x="1006" y="1290" type="qcurve" smooth="yes"/> <point x="959" y="1290"/> <point x="891" y="1222"/> <point x="891" y="1127"/> <point x="959" y="1059"/> <point x="1055" y="1059"/> <point x="1123" y="1127"/> <point x="1123" y="1222"/> </contour> <contour> <point x="281" y="767" type="qcurve" smooth="yes"/> <point x="107" y="767" type="line" smooth="yes"/> <point x="69" y="767"/> <point x="20" y="718"/> <point x="20" y="680" type="qcurve" smooth="yes"/> <point x="20" y="419" type="line"/> <point x="77" y="419" type="line"/> <point x="77" y="130" type="line"/> <point x="309" y="130" type="line"/> <point x="309" y="419" type="line"/> <point x="369" y="419" type="line"/> <point x="369" y="680" type="line" smooth="yes"/> <point x="369" y="718"/> <point x="317" y="767"/> </contour> <contour> <point x="687" y="884" type="qcurve" smooth="yes"/> <point x="513" y="884" type="line" smooth="yes"/> <point x="477" y="884"/> <point x="426" y="833"/> <point x="426" y="797" type="qcurve" smooth="yes"/> <point x="426" y="536" type="line"/> <point x="483" y="536" type="line"/> <point x="483" y="244" type="line"/> <point x="717" y="244" type="line"/> <point x="717" y="536" type="line"/> <point x="774" y="536" type="line"/> <point x="774" y="797" type="line" smooth="yes"/> <point x="774" y="833"/> <point x="723" y="884"/> </contour> <contour> <point x="1093" y="1001" type="qcurve" smooth="yes"/> <point x="919" y="1001" type="line" smooth="yes"/> <point x="883" y="1001"/> <point x="831" y="950"/> <point x="831" y="914" type="qcurve" smooth="yes"/> <point x="831" y="653" type="line"/> <point x="891" y="653" type="line"/> <point x="891" y="361" type="line"/> <point x="1123" y="361" type="line"/> <point x="1123" y="653" type="line"/> <point x="1180" y="653" type="line"/> <point x="1180" y="914" type="line" smooth="yes"/> <point x="1180" y="950"/> <point x="1131" y="1001"/> </contour> </outline> </glyph>
cascadia-code/sources/nerdfonts/full/processed/MaterialDesignIconsDesktop.ufo/glyphs/human-queue.glif/0
{ "file_path": "cascadia-code/sources/nerdfonts/full/processed/MaterialDesignIconsDesktop.ufo/glyphs/human-queue.glif", "repo_id": "cascadia-code", "token_count": 1544 }
474
<?xml version='1.0' encoding='UTF-8'?> <glyph name="set-center" format="2"> <advance width="1200"/> <unicode hex="F0779"/> <note> set-center </note> <outline> <contour> <point x="516" y="1116"/> <point x="426" y="1116" type="qcurve" smooth="yes"/> <point x="314" y="1116"/> <point x="129" y="1007"/> <point x="20" y="822"/> <point x="20" y="598"/> <point x="129" y="413"/> <point x="314" y="304"/> <point x="426" y="304" type="qcurve" smooth="yes"/> <point x="516" y="304"/> <point x="600" y="342" type="qcurve"/> <point x="684" y="304"/> <point x="774" y="304" type="qcurve" smooth="yes"/> <point x="886" y="304"/> <point x="1071" y="413"/> <point x="1180" y="598"/> <point x="1180" y="822"/> <point x="1071" y="1007"/> <point x="886" y="1116"/> <point x="774" y="1116" type="qcurve" smooth="yes"/> <point x="684" y="1116"/> <point x="600" y="1078" type="qcurve"/> </contour> <contour> <point x="347" y="1001"/> <point x="426" y="1001" type="qcurve" smooth="yes"/> <point x="456" y="1001"/> <point x="483" y="996" type="qcurve"/> <point x="428" y="939"/> <point x="369" y="789"/> <point x="369" y="631"/> <point x="428" y="481"/> <point x="483" y="427" type="qcurve"/> <point x="453" y="419"/> <point x="426" y="419" type="qcurve" smooth="yes"/> <point x="347" y="419"/> <point x="213" y="498"/> <point x="134" y="631"/> <point x="134" y="789"/> <point x="213" y="922"/> </contour> <contour> <point x="747" y="1001"/> <point x="774" y="1001" type="qcurve" smooth="yes"/> <point x="853" y="1001"/> <point x="987" y="922"/> <point x="1066" y="789"/> <point x="1066" y="631"/> <point x="987" y="498"/> <point x="853" y="419"/> <point x="774" y="419" type="qcurve" smooth="yes"/> <point x="744" y="419"/> <point x="717" y="424" type="qcurve"/> <point x="772" y="481"/> <point x="831" y="631"/> <point x="831" y="789"/> <point x="772" y="939"/> <point x="717" y="993" type="qcurve"/> </contour> </outline> </glyph>
cascadia-code/sources/nerdfonts/full/processed/MaterialDesignIconsDesktop.ufo/glyphs/set-center.glif/0
{ "file_path": "cascadia-code/sources/nerdfonts/full/processed/MaterialDesignIconsDesktop.ufo/glyphs/set-center.glif", "repo_id": "cascadia-code", "token_count": 1138 }
475
[tool.poetry] name = "causica" version = "0.4.1" description = "" readme = "README.md" authors = ["Microsoft Research - Causica"] packages = [ { include = "causica", from = "src" } ] license = "MIT" [tool.poetry.dependencies] azureml-mlflow = "^1.46.0" dataclasses-json = "^0.5.7" jsonargparse = "<4.21.0" # 4.21.0 breaks lightning cli mlflow = "^2.0.0" numpy = "^1.22.4" pandas = "^1.4.2" python = "~3.10" pytorch-lightning = {version = "^2.1.0", extras= ["extra"]} seaborn = {version = "^0.12.2", optional = true} tensorboard = "^2.9.0" tensordict = "^0.1.0" torch = "2.0.0" torchmetrics = "^1.0.3" types-PyYAML = "^6.0.12.2" [tool.poetry.extras] seaborn = ["seaborn"] [tool.poetry.dev-dependencies] black = {version="^22.6.0", extras=["jupyter"]} isort = "^5.10.1" jupyter = "^1.0.0" jupytext = "^1.13.8" mypy = "^1.0.0" pre-commit = "^2.19.0" pylint = "^2.14.4" pytest = "^7.1.2" pytest-cov = "^3.0.0" sphinx = "^7.2.6" sphinx-autoapi = "^3.0.0" numpydoc = "^1.6.0" sphinx-rtd-theme = "^2.0.0" sphinx-immaterial = "^0.11.9" myst-parser = "^2.0.0" myst-nb = "^1.0.0" [build-system] requires = ["poetry-core>=1.0.0"] build-backend = "poetry.core.masonry.api" [tool.black] line-length = 120 [tool.isort] line_length = 120 profile = "black" py_version = 310 known_first_party = ["causica"] # Keep import sorts by code jupytext percent block (https://github.com/PyCQA/isort/issues/1338) treat_comments_as_code = ["# %%"] [tool.pytest.ini_options] addopts = "--durations=200" junit_family = "xunit1" [tool.mypy] ignore_missing_imports = true [tool.pylint.main] # Specify a score threshold to be exceeded before program exits with error. fail-under = 9.94 # Use multiple processes to speed up Pylint. Specifying 0 will auto-detect the # number of processors available to use. jobs = 2 # Control the amount of potential inferred values when inferring a single object. # This can help the performance when dealing with large functions or complex, # nested conditions. limit-inference-results = 100 # Minimum Python version to use for version dependent checks. Will default to the # version used to run pylint. py-version = "3.10" # When enabled, pylint would attempt to guess common misconfiguration and emit # user-friendly hints instead of false-positive error messages. suggestion-mode = true [tool.pylint.basic] # Naming style matching correct argument names. argument-naming-style = "snake_case" # Regular expression matching correct argument names. Overrides argument-naming- # style. If left empty, argument names will be checked with the set naming style. argument-rgx = "^[a-z][a-z0-9_]*$" # Naming style matching correct attribute names. attr-naming-style = "snake_case" # Regular expression matching correct attribute names. Overrides attr-naming- # style. If left empty, attribute names will be checked with the set naming # style. attr-rgx = "^_{0,2}[a-z][a-z0-9_]*$" # Naming style matching correct class attribute names. class-attribute-naming-style = "any" # Regular expression matching correct class attribute names. Overrides class- # attribute-naming-style. If left empty, class attribute names will be checked # with the set naming style. class-attribute-rgx = "^(_?[A-Z][A-Z0-9_]*|__[a-z0-9_]+__|_?[a-z][a-z0-9_]*)$" # Naming style matching correct class constant names. class-const-naming-style = "UPPER_CASE" # Naming style matching correct class names. class-naming-style = "PascalCase" # Regular expression matching correct class names. Overrides class-naming-style. # If left empty, class names will be checked with the set naming style. class-rgx = "^_?[A-Z][a-zA-Z0-9]*$" # Naming style matching correct constant names. const-naming-style = "UPPER_CASE" # Regular expression matching correct constant names. Overrides const-naming- # style. If left empty, constant names will be checked with the set naming style. const-rgx = "^(_?[A-Z][A-Z0-9_]*|__[a-z0-9_]+__|_?[a-z][a-z0-9_]*)$" # Minimum line length for functions/classes that require docstrings, shorter ones # are exempt. docstring-min-length = 10 # Naming style matching correct function names. function-naming-style = "snake_case" # Regular expression matching correct function names. Overrides function-naming- # style. If left empty, function names will be checked with the set naming style. function-rgx = "^(?:(?P<exempt>setUp|tearDown|setUpModule|tearDownModule)|(?P<camel_case>_?[A-Z][a-zA-Z0-9]*)|(?P<snake_case>_?[a-z][a-z0-9_]*))$" # Good variable names which should always be accepted, separated by a comma. good-names = ["main", "_"] # Naming style matching correct inline iteration names. inlinevar-naming-style = "any" # Regular expression matching correct inline iteration names. Overrides # inlinevar-naming-style. If left empty, inline iteration names will be checked # with the set naming style. inlinevar-rgx = "^[a-z][a-z0-9_]*$" # Naming style matching correct method names. method-naming-style = "snake_case" # Regular expression matching correct method names. Overrides method-naming- # style. If left empty, method names will be checked with the set naming style. method-rgx = "(?x)^(?:(?P<exempt>_[a-z0-9_]+__|runTest|setUp|tearDown|setUpTestCase|tearDownTestCase|setupSelf|tearDownClass|setUpClass|(test|assert)_*[A-Z0-9][a-zA-Z0-9_]*|next)|(?P<camel_case>_{0,2}[A-Z][a-zA-Z0-9_]*)|(?P<snake_case>_{0,2}[a-z][a-z0-9_]*))$" # Naming style matching correct module names. module-naming-style = "snake_case" # Regular expression matching correct module names. Overrides module-naming- # style. If left empty, module names will be checked with the set naming style. module-rgx = "^(_?[a-z][a-z0-9_]*|__init__)$" # Regular expression which should only match function or class names that do not # require a docstring. no-docstring-rgx = "(__.*__|main|test.*|.*test|.*Test)$" # List of decorators that produce properties, such as abc.abstractproperty. Add # to this list to register other decorators that produce valid properties. These # decorators are taken in consideration only for invalid-name. property-classes = ["abc.abstractproperty", "cached_property.cached_property", "cached_property.threaded_cached_property", "cached_property.cached_property_with_ttl", "cached_property.threaded_cached_property_with_ttl"] # Naming style matching correct variable names. variable-naming-style = "snake_case" # Regular expression matching correct variable names. Overrides variable-naming- # style. If left empty, variable names will be checked with the set naming style. variable-rgx = "^[a-z][a-z0-9_]*$" [tool.pylint.classes] # Warn about protected attribute access inside special methods # check-protected-access-in-special-methods = # List of method names used to declare (i.e. assign) instance attributes. defining-attr-methods = ["__init__", "__new__", "setUp"] # List of member names, which should be excluded from the protected access # warning. exclude-protected = ["_asdict", "_fields", "_replace", "_source", "_make"] # List of valid names for the first argument in a class method. valid-classmethod-first-arg = ["cls", "class_"] # List of valid names for the first argument in a metaclass class method. valid-metaclass-classmethod-first-arg = ["mcs"] [tool.pylint.design] # Maximum number of arguments for function / method. max-args = 5 # Maximum number of attributes for a class (see R0902). max-attributes = 7 # Maximum number of boolean expressions in an if statement (see R0916). max-bool-expr = 5 # Maximum number of branch for function / method body. max-branches = 12 # Maximum number of locals for function / method body. max-locals = 15 # Maximum number of parents for a class (see R0901). max-parents = 7 # Maximum number of public methods for a class (see R0904). max-public-methods = 20 # Maximum number of return / yield for function / method body. max-returns = 6 # Maximum number of statements in function / method body. max-statements = 50 # Minimum number of public methods for a class (see R0903). min-public-methods = 2 [tool.pylint.exceptions] # Exceptions that will emit a warning when caught. overgeneral-exceptions = ["builtins.StandardError", "builtins.Exception", "builtins.BaseException"] [tool.pylint.format] # Expected format of line ending, e.g. empty (any line ending), LF or CRLF. # expected-line-ending-format = # Regexp for a line that is allowed to be longer than the limit. ignore-long-lines = "(?x)(^\\s*(\\#\\ )?<?https?://\\S+>?$|^\\s*(from\\s+\\S+\\s+)?import\\s+.+$)" # Number of spaces of indent required inside a hanging or continued line. indent-after-paren = 4 # String used as indentation unit. This is usually " " (4 spaces) or "\t" (1 # tab). indent-string = " " # Maximum number of characters on a single line. max-line-length = 200 # Maximum number of lines in a module. max-module-lines = 99999 # Allow the body of an if to be on the same line as the test if there is no else. single-line-if-stmt = true [tool.pylint.imports] # Deprecated modules which should not be used, separated by a comma. deprecated-modules = ["regsub", "TERMIOS", "Bastion", "rexec", "sets"] # Force import order to recognize a module as part of a third party library. known-third-party = ["enchant", "absl"] [tool.pylint.logging] # The type of string formatting that logging methods do. `old` means using % # formatting, `new` is for `{}` formatting. logging-format-style = "old" # Logging modules to check that the string format arguments are in logging # function parameter format. logging-modules = ["logging", "absl.logging", "tensorflow.io.logging"] [tool.pylint."messages control"] # Only show warnings with the listed confidence levels. Leave empty to show all. # Valid levels: HIGH, CONTROL_FLOW, INFERENCE, INFERENCE_FAILURE, UNDEFINED. confidence = ["HIGH", "CONTROL_FLOW", "INFERENCE", "INFERENCE_FAILURE", "UNDEFINED"] # Disable the message, report, category or checker with the given id(s). You can # either give multiple identifiers separated by comma (,) or put this option # multiple times (only on the command line, not in the configuration file where # it should appear only once). You can also use "--disable=all" to disable # everything first and then re-enable specific checks. For example, if you want # to run only the similarities checker, you can use "--disable=all # --enable=similarities". If you want to run only the classes checker, but have # no Warning level messages displayed, use "--disable=all --enable=classes # --disable=W". disable = [ "abstract-method", "arguments-differ", "attribute-defined-outside-init", "c-extension-no-member", "import-error", "invalid-name", "missing-class-docstring", "missing-function-docstring", "missing-module-docstring", "no-member", "no-name-in-module", "too-few-public-methods", "too-many-ancestors", "too-many-arguments", "too-many-instance-attributes", "too-many-locals", "too-many-statements", "wrong-import-order", # avoid conflicts with isort ] [tool.pylint.miscellaneous] # List of note tags to take in consideration, separated by a comma. notes = ["TODO"] [tool.pylint.refactoring] # Maximum number of nested blocks for function / method body max-nested-blocks = 5 # Complete name of functions that never returns. When checking for inconsistent- # return-statements if a never returning function is called then it will be # considered as an explicit return statement and no message will be printed. never-returning-functions = ["sys.exit", "argparse.parse_error"] [tool.pylint.reports] # Python expression which should return a score less than or equal to 10. You # have access to the variables 'fatal', 'error', 'warning', 'refactor', # 'convention', and 'info' which contain the number of messages in each category, # as well as 'statement' which is the total number of statements analyzed. This # score is used by the global evaluation report (RP0004). evaluation = "10.0 - ((float(5 * error + warning + refactor + convention) / statement) * 10)" # Activate the evaluation score. score = true [tool.pylint.similarities] # Comments are removed from the similarity computation ignore-comments = true # Docstrings are removed from the similarity computation ignore-docstrings = true # Signatures are removed from the similarity computation ignore-signatures = true # Minimum lines number of a similarity. min-similarity-lines = 4 [tool.pylint.spelling] # Limits count of emitted suggestions for spelling mistakes. max-spelling-suggestions = 4 # List of comma separated words that should be considered directives if they # appear at the beginning of a comment and should not be checked. spelling-ignore-comment-directives = "fmt: on,fmt: off,noqa:,noqa,nosec,isort:skip,mypy:" [tool.pylint.string] # This flag controls whether inconsistent-quotes generates a warning when the # character used as a quote delimiter is used inconsistently within a module. check-quote-consistency = true [tool.pylint.typecheck] # List of decorators that produce context managers, such as # contextlib.contextmanager. Add to this list to register other decorators that # produce valid context managers. contextmanager-decorators = ["contextlib.contextmanager", "contextlib2.contextmanager"] # Tells whether missing members accessed in mixin class should be ignored. A # class is considered mixin if its name matches the mixin-class-rgx option. # Tells whether to warn about missing members when the owner of the attribute is # inferred to be None. ignore-none = true # This flag controls whether pylint should warn about no-member and similar # checks whenever an opaque object is returned when inferring. The inference can # return multiple potential results while evaluating a Python object, but some # branches might not be evaluated, which results in partial inference. In that # case, it might be useful to still emit no-member and other checks for the rest # of the inferred objects. ignore-on-opaque-inference = true # List of symbolic message names to ignore for Mixin members. ignored-checks-for-mixins = ["no-member", "not-async-context-manager", "not-context-manager", "attribute-defined-outside-init"] # List of class names for which member attributes should not be checked (useful # for classes with dynamically set attributes). This supports the use of # qualified names. ignored-classes = ["optparse.Values", "thread._local", "_thread._local"] # Show a hint with possible names when a member name was not found. The aspect of # finding the hint is based on edit distance. missing-member-hint = true # The minimum edit distance a name should have in order to be considered a # similar match for a missing member name. missing-member-hint-distance = 1 # The total number of similar names that should be taken in consideration when # showing a hint for a missing member. missing-member-max-choices = 1 # Regex pattern to define which classes are considered mixins. mixin-class-rgx = ".*[Mm]ixin" # List of decorators that change the signature of a decorated function. # signature-mutators = [tool.pylint.variables] # Tells whether unused global variables should be treated as a violation. allow-global-unused-variables = true # List of names allowed to shadow builtins # allowed-redefined-builtins = # List of strings which can identify a callback function by name. A callback name # must start or end with one of those strings. callbacks = ["cb_", "_cb"] # A regular expression matching the name of dummy variables (i.e. expected to not # be used). dummy-variables-rgx = "^\\*{0,2}(_$|unused_|dummy_)" # Argument names that match this expression will be ignored. Default to name with # leading underscore. ignored-argument-names = "_.*|^ignored_|^unused_" # List of qualified module names which can have objects that can redefine # builtins. redefining-builtins-modules = ["six", "six.moves", "past.builtins", "future.builtins", "functools"]
causica/pyproject.toml/0
{ "file_path": "causica/pyproject.toml", "repo_id": "causica", "token_count": 5062 }
476
import torch from scotch.sdes.sde_modules import ( ContextualDriftCoefficient, DiffusionCoefficient, GraphCoefficient, TrajectoryGraphEncoder, ) from torch import Tensor, nn, vmap from torch.func import stack_module_state from causica.functional_relationships.icgnn import FGNNI as DECIEmbedNN class NeuralTrajectoryGraphEncoder(TrajectoryGraphEncoder): """Encodes trajectories and graphs into context vectors. For each time point in the trajectory, the context vector for that time point depends on the observed trajectory up to that point, and the graph. Attributes: gru (nn.GRU): GRU encoder for the trajectories lin (nn.Linear): Linear layer that maps a GRU hidden state and a flattened graph to context vectors. observed_size (int): Dimension of observed (X) variables in trajectory (input to encoder) hidden_size (int): Dimension of hidden state of GRU encoder context_size (int): Dimension of context vector (output of encoder) """ def __init__(self, observed_size: int, hidden_size: int, context_size: int): """Constructor for TrajectoryEncoder.""" super().__init__() self.observed_size, self.hidden_size, self.context_size = observed_size, hidden_size, context_size self.gru = nn.GRU(input_size=observed_size, hidden_size=hidden_size, batch_first=True) self.lin = nn.Linear(hidden_size + observed_size * observed_size, context_size) def forward(self, trajectories: Tensor, graphs: Tensor) -> Tensor: """Encode trajectories and graphs into context vectors. Args: trajectories: Observed trajectories, shape (batch_size, num_time_points, observed_size) graphs: Weighted adjacency matrix, shape (batch_size, observed_size, observed_size) Returns: Tensor: Context vectors, shape (batch_size, num_time_points, context_size) """ assert ( trajectories.shape[-1] == self.observed_size ), "Last dimension of trajectories must match observed size of NeuralTrajectoryGraphEncoder" assert ( graphs.shape[-1] == graphs.shape[-2] == self.observed_size ), "Last two dimensions of graphs must match observed size of NeuralTrajectoryGraphEncoder" num_time_points = trajectories.shape[-2] # shape (batch_size, num_time_points, hidden_size) encoded_trajectories, _ = self.gru(trajectories) # shape (batch_size, num_time_points, observed_size * observed_size) encoded_graphs = graphs.reshape(-1, 1, graphs.shape[-1] * graphs.shape[-2]).expand(-1, num_time_points, -1) return self.lin(torch.cat([encoded_trajectories, encoded_graphs], dim=-1)) class NeuralContextualDriftCoefficient(ContextualDriftCoefficient): """Implements a (family of) time-independent drift coefficient using a NN. The NN also takes as input a context vector, i.e. the diffusion coefficient is given by f(z, u): R^latent_size x R^context_size -> R^latent_size In SCOTCH, the context vector is used to encode the observed trajectory and graph; the drift coefficient is then interpreted as being the drift coefficient of the posterior SDE. Attributes: drift_fn (nn.Sequential): NN that computes drift coefficient latent_size (int): Dimension of latent (Z) variables hidden_size (int): Dimension of hidden layers of NN context_size (int): Dimension of context vector """ def __init__(self, latent_size: int, hidden_size: int, context_size: int): """Constructor for NeuralDriftCoefficient.""" super().__init__() self.latent_size, self.hidden_size, self.context_size = latent_size, hidden_size, context_size self.drift_fn = nn.Sequential( nn.Linear(latent_size + context_size, hidden_size), nn.Softplus(), nn.Linear(hidden_size, hidden_size), nn.Softplus(), nn.Linear(hidden_size, latent_size), ) def forward(self, latent_states: Tensor, context_vectors: Tensor): """Compute drift coefficient, given (batched) input latent states and context vectors. Args: latent_states: Latent states, shape (batch_size, latent_size) context_vectors: Context vectors, shape (batch_size, context_size) Returns: Tensor: Drift coefficient, shape (batch_size, latent_size) """ assert ( latent_states.shape[-1] == self.latent_size ), "Last dimension of latent states must match latent size of NeuralContextualDriftCoefficient" assert ( context_vectors.shape[-1] == self.context_size ), "Last dimension of context vectors must match context size of NeuralContextualDriftCoefficient" return self.drift_fn(torch.cat([latent_states, context_vectors], dim=-1)) class NeuralDiffusionCoefficient(DiffusionCoefficient): """Implements time-independent, diagonal (that is, elementwise) diffusion coefficient using NNs. g(z) = (g_1(Z_1), ..., g_d(Z_d)) : R^latent_size -> R^latent_size Attributes: diffusion_fns (nn.ModuleList): List of NNs that compute diffusion coefficient for each latent variable latent_size (int): Dimension of latent (Z) variables hidden_size (int): Dimension of hidden layers of NNs """ def __init__(self, latent_size: int, hidden_size: int): """Constructor for NeuralDiffusionCoefficient. Args: latent_size: Dimension of latent (Z) variables hidden_size: Dimension of hidden layers of NNs """ super().__init__() self.latent_size, self.hidden_size = latent_size, hidden_size self.diffusion_fns = nn.ModuleList( [ nn.Sequential(nn.Linear(1, hidden_size), nn.Softplus(), nn.Linear(hidden_size, 1), nn.Sigmoid()).to( "cuda" ) for _ in range(latent_size) ] ) self.params, self.buffers = stack_module_state(self.diffusion_fns) def _diffusion_fn_wrapper(params, buffers, data): return torch.func.functional_call(self.diffusion_fns[0], (params, buffers), data.unsqueeze(1)) self.diffusion_fns_vmap = vmap( _diffusion_fn_wrapper, ( 0, 0, 1, ), out_dims=(1,), ) def forward(self, latent_states: Tensor): """Compute diffusion coefficient, given (batched) input latent states. Args: latent_states: Latent states, shape (batch_size, latent_size) Returns: Tensor: Diffusion coefficient, shape (batch_size, latent_size) """ assert ( latent_states.shape[-1] == self.latent_size ), "Last dimension of latent trajectories must match latent size of NeuralDiffusionCoefficient" out = self.diffusion_fns_vmap(self.params, self.buffers, latent_states).squeeze() return out class DECIEmbedNNCoefficient(GraphCoefficient): """Defines a diffusion coefficient using DECIEmbedNN (the DECI NN model). The main implementational difference between this class and DECIEmbedNN is that, in the forward pass, we assume that the input latent_states (samples in DECIEmbedNN) and graphs have the same batch dimension; and the output also has this batch dimension. """ def __init__(self, deci_nn: DECIEmbedNN, add_self_connections: bool = False): """Constructor for DECIEmbedNNDiffusionCoefficient. . Args: deci_nn: DECI NN model """ super().__init__() self.deci_nn = deci_nn self.f = torch.func.vmap(self.deci_nn.forward, in_dims=(0, 0), out_dims=0) self.add_self_connections = add_self_connections def forward(self, latent_states: torch.Tensor, graphs: torch.Tensor) -> torch.Tensor: assert latent_states.shape[:-1] == graphs.shape[:-2], "batch shapes of latent_states and graphs must match" if self.add_self_connections: final_graphs = graphs.clone() mask = torch.eye(final_graphs.shape[-1]).repeat(final_graphs.shape[0], 1, 1).bool() final_graphs[mask] = 1 else: final_graphs = graphs return self.f(latent_states, final_graphs)
causica/research_experiments/scotch/src/scotch/latent_learning/scotch_nns.py/0
{ "file_path": "causica/research_experiments/scotch/src/scotch/latent_learning/scotch_nns.py", "repo_id": "causica", "token_count": 3375 }
477
import abc from typing import Generic, TypeVar SampleType = TypeVar("SampleType") class Sampler(Generic[SampleType], abc.ABC): """ An interface of a sampler, useful for generative processes The interface only allows sampling one thing at a time. """ @abc.abstractmethod def sample(self) -> SampleType: """Sample a sample type with given shape"""
causica/src/causica/data_generation/samplers/sampler.py/0
{ "file_path": "causica/src/causica/data_generation/samplers/sampler.py", "repo_id": "causica", "token_count": 120 }
478
import abc from typing import Optional import torch import torch.distributions as td class AdjacencyDistribution(td.Distribution, abc.ABC): """ Probability distributions over binary adjacency matrices for graphs. NOTE: Because we want to differentiate through samples (which are binary matrices), we add a `relaxed_sample` method. This method is still expected to return valid samples (binary matrices). Since the statistics of the relaxed distribution can be difficult to calculate, we choose to implement `relaxed_sample` as the relaxed distribution but report other statistics for the underlying distribution, as well as providing the usual `sample` method for it. Clearly this approximation could be invalid when the relaxed distribution is very different from the underlying one (at high temperatures). """ support = td.constraints.independent(td.constraints.boolean, 1) def __init__(self, num_nodes: int, validate_args: Optional[bool] = None): assert num_nodes > 0, "Number of nodes in the graph must be greater than 0" self.num_nodes = num_nodes event_shape = torch.Size((num_nodes, num_nodes)) super().__init__(event_shape=event_shape, validate_args=validate_args) @abc.abstractmethod def relaxed_sample(self, sample_shape: torch.Size = torch.Size(), temperature: float = 0.0) -> torch.Tensor: """ Sample a binary adjacency matrix from the relaxed distribution (see NOTE in the class docstring). Args: sample_shape: the shape of the samples to return temperature: The temperature of the relaxed distribution Returns: A tensor of shape sample_shape + batch_shape + (num_nodes, num_nodes) """ raise NotImplementedError @abc.abstractmethod def sample(self, sample_shape: torch.Size = torch.Size()) -> torch.Tensor: """ Sample a binary adjacency matrix from the underlying distribution. Args: sample_shape: the shape of the samples to return Returns: A tensor of shape sample_shape + batch_shape + (num_nodes, num_nodes) """ raise NotImplementedError @abc.abstractmethod def entropy(self) -> torch.Tensor: """ Return the entropy of the underlying distribution. Returns: A tensor of shape batch_shape, with the entropy of the distribution """ raise NotImplementedError @property @abc.abstractmethod def mean(self) -> torch.Tensor: """ Return the mean of the underlying distribution. This will be a matrix with all entries in the interval [0, 1]. Returns: A tensor of shape batch_shape + (num_nodes, num_nodes) """ raise NotImplementedError @property @abc.abstractmethod def mode(self) -> torch.Tensor: """ Return the mode of the underlying distribution. This will be an adjacency matrix. Returns: A tensor of shape batch_shape + (num_nodes, num_nodes) """ raise NotImplementedError @abc.abstractmethod def log_prob(self, value: torch.Tensor) -> torch.Tensor: """ Get the log probability of each tensor from the sample space Args: value: a binary matrix of shape value_shape + batch_shape + (n, n) Returns: A tensor of shape value_shape + batch_shape, with the log probabilities of each tensor in the batch. """ raise NotImplementedError
causica/src/causica/distributions/adjacency/adjacency_distributions.py/0
{ "file_path": "causica/src/causica/distributions/adjacency/adjacency_distributions.py", "repo_id": "causica", "token_count": 1315 }
479
""" Implementation of the Piecewise Rational Quadratic Transform This is pretty much a copy-paste of https://github.com/tonyduan/normalizing-flows/blob/master/nf/utils.py We should consider using the Pyro implementation. """ import torch import torch.distributions as td from causica.distributions.noise.spline.bayesiains_nsf_rqs import unconstrained_rational_quadratic_spline DEFAULT_MIN_BIN_WIDTH = 1e-3 DEFAULT_MIN_BIN_HEIGHT = 1e-3 DEFAULT_MIN_DERIVATIVE = 1e-3 class PiecewiseRationalQuadraticTransform(td.Transform): """ Layer that implements a spline-cdf (https://arxiv.org/abs/1906.04032) transformation. All dimensions of x are treated as independent, no coupling is used. This is needed to ensure invertibility in our additive noise SEM. This is pretty much a copy-paste of https://github.com/tonyduan/normalizing-flows/blob/master/nf/utils.py """ bijective = True def __init__(self, knot_locations: torch.Tensor, derivatives: torch.Tensor, tail_bound: float = 3.0): """ Args: knot_locations: the x, y points of the knots, shape [dim, num_bins, 2] derivatives: the derivatives at the knots, shape [dim, num_bins - 1] tail_bound: distance of edgemost bins relative to 0, """ super().__init__() assert knot_locations.ndim == 3, "Only two dimensional params are supported" assert knot_locations.shape[-1] == 2, "Knot locations are 2-d" self.dim, self.num_bins, *_ = knot_locations.shape assert derivatives.shape == (self.dim, self.num_bins - 1) self.tail_bound = tail_bound self._event_dim = 0 self.knot_locations = knot_locations self.derivatives = derivatives @property def event_dim(self): return self._event_dim def _piecewise_cdf(self, inputs: torch.Tensor, inverse: bool = False) -> tuple[torch.Tensor, torch.Tensor]: """ Evaluate the Cumulative Density function at `inputs` Args: inputs: the positions at which to evaluate the cdf shape batch_shape + (input_dim) inverse: whether this is forwards or backwards transform Returns: input_evaluations and absolute log determinants, a tuple of tensors of shape batch_shape + (input_dim) """ assert len(inputs.shape) > 1 # TODO(JJ) accept 1d inputs batch_shape = inputs.shape[:-1] # shape batch_shape + (dim, 3 * num_bins - 1) expanded_knot_locations = self.knot_locations[None, ...].expand(*batch_shape, -1, -1, -1) expanded_derivatives = self.derivatives[None, ...].expand(*batch_shape, -1, -1) return unconstrained_rational_quadratic_spline( inputs=inputs, unnormalized_widths=expanded_knot_locations[..., 0], unnormalized_heights=expanded_knot_locations[..., 1], unnormalized_derivatives=expanded_derivatives, inverse=inverse, tail_bound=self.tail_bound, ) @td.constraints.dependent_property(is_discrete=False) def domain(self): if self.event_dim == 0: return td.constraints.real return td.constraints.independent(td.constraints.real, self.event_dim) @td.constraints.dependent_property(is_discrete=False) def codomain(self): if self.event_dim == 0: return td.constraints.real return td.constraints.independent(td.constraints.real, self.event_dim) def _call(self, x: torch.Tensor) -> torch.Tensor: """ Args: x: batch_shape + (input_dim) Returns: transformed_input batch_shape + (input_dim) """ return self._piecewise_cdf(x, inverse=False)[0] def _inverse(self, y: torch.Tensor) -> torch.Tensor: """ Args: y: batch_shape + (input_dim) Returns: transformed_input, batch_shape + (input_dim) """ return self._piecewise_cdf(y, inverse=True)[0] def log_abs_det_jacobian(self, x: torch.Tensor, y: torch.Tensor) -> torch.Tensor: """ Args: input: batch_shape + (input_dim) Returns: jacobian_log_determinant: batch_shape + (input_dim) """ return self._piecewise_cdf(x, inverse=False)[1]
causica/src/causica/distributions/noise/spline/rational_quadratic_transform.py/0
{ "file_path": "causica/src/causica/distributions/noise/spline/rational_quadratic_transform.py", "repo_id": "causica", "token_count": 1857 }
480
import torch def calculate_dagness(A: torch.Tensor) -> torch.Tensor: """ Computes the dag penalty for matrix A as trace(exp(A)) - dim. Args: A (torch.Tensor): Binary adjacency matrix, size (...., input_dim, input_dim). Returns: (torch.Tensor): Dagness term. """ return torch.einsum("...ii->...", torch.matrix_exp(A)) - A.shape[-1]
causica/src/causica/graph/dag_constraint.py/0
{ "file_path": "causica/src/causica/graph/dag_constraint.py", "repo_id": "causica", "token_count": 156 }
481
from causica.nn.deci_embed_nn import DECIEmbedNN
causica/src/causica/nn/__init__.py/0
{ "file_path": "causica/src/causica/nn/__init__.py", "repo_id": "causica", "token_count": 19 }
482
import itertools from causica.datasets.samplers import SubsetBatchSampler def test_subset_batch_sampler_ordered(): sampler = SubsetBatchSampler([2, 3, 5], 2, shuffle=False) samples = list(sampler) assert samples == [[0, 1], [2, 3], [4], [5, 6], [7, 8], [9]] assert len(samples) == len(sampler) def test_subset_batch_sampler_ordered_drop_last(): sampler = SubsetBatchSampler([2, 3, 5], 2, shuffle=False, drop_last=True) samples = list(sampler) assert samples == [[0, 1], [2, 3], [5, 6], [7, 8]] assert len(samples) == len(sampler) def test_subset_batch_sampler_shuffled(): sampler = SubsetBatchSampler([2, 3, 5], 2, shuffle=True) samples = list(sampler) sorted_samples = list(sorted(itertools.chain.from_iterable(samples))) assert sorted_samples == list(range(10)) assert len(samples) == len(sampler) def test_subset_batch_sampler_shuffled_drop_last(): sampler = SubsetBatchSampler([2, 3, 5], 2, shuffle=True, drop_last=True) samples = list(sampler) concat_samples = list(itertools.chain.from_iterable(samples)) assert len(concat_samples) == 8 assert len(samples) == len(sampler) # First dataset is a single batch. The other two will lose a random sample each. assert 0 in concat_samples and 1 in concat_samples
causica/test/datasets/test_samplers.py/0
{ "file_path": "causica/test/datasets/test_samplers.py", "repo_id": "causica", "token_count": 508 }
483
import pytest import torch from tensordict import TensorDict from causica.distributions import ( BernoulliNoise, CategoricalNoise, IndependentNoise, JointNoise, Noise, UnivariateNormalNoise, ) torch.manual_seed(0) NOISE_DISTRIBUTIONS = [ IndependentNoise(BernoulliNoise(torch.randn(3), torch.randn(3)), 1), IndependentNoise(UnivariateNormalNoise(torch.randn(5), torch.arange(1, 6, dtype=torch.float)), 1), IndependentNoise(UnivariateNormalNoise(torch.randn(1), torch.tensor([4.0])), 1), CategoricalNoise(torch.randn(5), torch.randn(5)), CategoricalNoise(torch.randn(1), torch.randn(1)), ] SAMPLE_SHAPES = [torch.Size([]), torch.Size([3]), torch.Size([10, 3]), torch.Size([6, 6, 6])] @pytest.mark.parametrize("noise", NOISE_DISTRIBUTIONS) def test_joint_noise_passthrough(noise: Noise): """Test that properties from the underlying noise distributions are passed through.""" joint_noise = JointNoise({"a": noise}) # Distribution properties torch.testing.assert_close(joint_noise.entropy(), noise.entropy()) torch.testing.assert_close(joint_noise.mode.get("a"), noise.mode) torch.testing.assert_close(joint_noise.mean.get("a"), noise.mean) @pytest.mark.parametrize("noise_a", NOISE_DISTRIBUTIONS) @pytest.mark.parametrize("noise_b", NOISE_DISTRIBUTIONS) def test_joint_noise_properties(noise_a: Noise, noise_b: Noise): """Test that properties from the underlying noise distributions are passed through for pairs of noise.""" joint_noise = JointNoise({"a": noise_a, "b": noise_b}) # Distribution properties torch.testing.assert_close(joint_noise.entropy(), noise_a.entropy() + noise_b.entropy()) torch.testing.assert_close(joint_noise.mode.get("a"), noise_a.mode) torch.testing.assert_close(joint_noise.mode.get("b"), noise_b.mode) torch.testing.assert_close(joint_noise.mean.get("a"), noise_a.mean) torch.testing.assert_close(joint_noise.mean.get("b"), noise_b.mean) @pytest.mark.parametrize("noise_a", NOISE_DISTRIBUTIONS) @pytest.mark.parametrize("noise_b", NOISE_DISTRIBUTIONS) @pytest.mark.parametrize("sample_shape", SAMPLE_SHAPES) def test_joint_noise_sample_log_prob(noise_a: Noise, noise_b: Noise, sample_shape: torch.Size): """Test that sampling and log prob work as expected for pairs of noise.""" joint_noise = JointNoise({"a": noise_a, "b": noise_b}) sample_a = noise_a.sample(sample_shape) sample_b = noise_b.sample(sample_shape) joint_sample = TensorDict({"a": sample_a, "b": sample_b}, batch_size=sample_shape) torch.testing.assert_close( joint_noise.log_prob(joint_sample), noise_a.log_prob(sample_a) + noise_b.log_prob(sample_b) ) joint_sample = joint_noise.sample() sample_a = joint_sample.get("a") sample_b = joint_sample.get("b") torch.testing.assert_close( joint_noise.log_prob(joint_sample), noise_a.log_prob(sample_a) + noise_b.log_prob(sample_b) ) @pytest.mark.parametrize("noise_a", NOISE_DISTRIBUTIONS) @pytest.mark.parametrize("noise_b", NOISE_DISTRIBUTIONS) def test_joint_noise_empirical(noise_a: Noise, noise_b: Noise): """Test that the empirical distributions behave as expected for pairs of noise.""" joint_noise = JointNoise({"a": noise_a, "b": noise_b}) sample_shape = torch.Size([1000, 200, 10]) # Produce samples and log probs in both directions samples = TensorDict( {"a": noise_a.sample(sample_shape), "b": noise_b.sample(sample_shape)}, batch_size=sample_shape + noise_a.batch_shape, ) joint_samples = joint_noise.sample(sample_shape) log_probs = noise_a.log_prob(joint_samples.get("a")) + noise_b.log_prob(joint_samples.get("b")) joint_log_probs = joint_noise.log_prob(samples) assert samples.get("a").shape == joint_samples.get("a").shape assert samples.get("b").shape == joint_samples.get("b").shape assert log_probs.shape == joint_log_probs.shape # Similar empirical distribution sample_dim = tuple(range(len(sample_shape))) mean, std = torch.mean, torch.std for key, value in samples.items(): joint_value = joint_samples.get(key) torch.testing.assert_close(mean(value, sample_dim), mean(joint_value, sample_dim), atol=0.2, rtol=0.2) torch.testing.assert_close(std(value, sample_dim), std(joint_value, sample_dim), atol=0.2, rtol=0.2) # Similar log probs torch.testing.assert_close(mean(log_probs), mean(joint_log_probs), atol=0.01, rtol=0.01) torch.testing.assert_close(std(log_probs), std(joint_log_probs), atol=0.01, rtol=0.01)
causica/test/distributions/noise/test_joint.py/0
{ "file_path": "causica/test/distributions/noise/test_joint.py", "repo_id": "causica", "token_count": 1841 }
484
#!/usr/bin/env/python """ Usage: get_qm9.py Options: -h --help Show this screen. """ import sys, os sys.path.append(os.path.join(os.path.dirname(os.path.abspath(__file__)), '..')) from rdkit import Chem from rdkit.Chem import rdmolops from rdkit.Chem import QED import glob import json import numpy as np from utils import bond_dict, dataset_info, need_kekulize, to_graph, graph_to_adj_mat import utils import pickle import random from docopt import docopt dataset = 'qm9' def get_validation_file_names(unzip_path): print('loading train/validation split') with open('valid_idx_qm9.json', 'r') as f: valid_idx = json.load(f)['valid_idxs'] valid_files = [os.path.join(unzip_path, 'dsgdb9nsd_%s.xyz' % i) for i in valid_idx] return valid_files def read_xyz(file_path): with open(file_path, 'r') as f: lines = f.readlines() smiles = lines[-2].split('\t')[0] mu = QED.qed(Chem.MolFromSmiles(smiles)) return {'smiles': smiles, 'QED': mu} def train_valid_split(unzip_path): print('reading data...') raw_data = {'train': [], 'valid': []} # save the train, valid dataset. all_files = glob.glob(os.path.join(unzip_path, '*.xyz')) valid_files = get_validation_file_names(unzip_path) file_count = 0 for file_idx, file_path in enumerate(all_files): if file_path not in valid_files: raw_data['train'].append(read_xyz(file_path)) else: raw_data['valid'].append(read_xyz(file_path)) file_count += 1 if file_count % 2000 == 0: print('finished reading: %d' % file_count, end='\r') return raw_data def preprocess(raw_data, dataset): print('parsing smiles as graphs...') processed_data = {'train': [], 'valid': []} file_count = 0 for section in ['train', 'valid']: all_smiles = [] # record all smiles in training dataset for i,(smiles, QED) in enumerate([(mol['smiles'], mol['QED']) for mol in raw_data[section]]): nodes, edges = to_graph(smiles, dataset) if len(edges) <= 0: continue processed_data[section].append({ 'targets': [[(QED)]], 'graph': edges, 'node_features': nodes, 'smiles': smiles }) all_smiles.append(smiles) if file_count % 2000 == 0: print('finished processing: %d' % file_count, end='\r') file_count += 1 print('%s: 100 %% ' % (section)) # save the dataset with open('molecules_%s_%s.json' % (section, dataset), 'w') as f: json.dump(processed_data[section], f) # save all molecules in the training dataset if section == 'train': utils.dump('smiles_%s.pkl' % dataset, all_smiles) if __name__ == "__main__": # download download_path = 'dsgdb9nsd.xyz.tar.bz2' if not os.path.exists(download_path): print('downloading data to %s ...' % download_path) source = 'https://ndownloader.figshare.com/files/3195389' os.system('wget -O %s %s' % (download_path, source)) print('finished downloading') # unzip unzip_path = 'qm9_raw' if not os.path.exists(unzip_path): print('extracting data to %s ...' % unzip_path) os.mkdir(unzip_path) os.system('tar xvjf %s -C %s' % (download_path, unzip_path)) print('finished extracting') raw_data = train_valid_split(unzip_path) preprocess(raw_data, dataset)
constrained-graph-variational-autoencoder/data/get_qm9.py/0
{ "file_path": "constrained-graph-variational-autoencoder/data/get_qm9.py", "repo_id": "constrained-graph-variational-autoencoder", "token_count": 1725 }
485
# Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. from typing import Dict, List, Optional from pydantic import BaseModel ENT_PROP_MAP = { "CARDINAL": "cardinals", "DATE": "dates", "EVENT": "events", "FAC": "facilities", "GPE": "gpes", "LANGUAGE": "languages", "LAW": "laws", "LOC": "locations", "MONEY": "money", "NORP": "norps", "ORDINAL": "ordinals", "ORG": "organizations", "PERCENT": "percentages", "PERSON": "people", "PRODUCT": "products", "QUANTITY": "quanities", "TIME": "times", "WORK_OF_ART": "worksOfArt", } class RecordDataRequest(BaseModel): text: str language: str = "en" class RecordRequest(BaseModel): recordId: str data: RecordDataRequest class RecordsRequest(BaseModel): values: List[RecordRequest] class RecordDataResponse(BaseModel): entities: List class Message(BaseModel): message: str class RecordResponse(BaseModel): recordId: str data: RecordDataResponse errors: Optional[List[Message]] warnings: Optional[List[Message]] class RecordsResponse(BaseModel): values: List[RecordResponse] class RecordEntitiesByTypeResponse(BaseModel): recordId: str data: Dict[str, List[str]] class RecordsEntitiesByTypeResponse(BaseModel): values: List[RecordEntitiesByTypeResponse]
cookiecutter-spacy-fastapi/{{cookiecutter.project_slug}}/app/models.py/0
{ "file_path": "cookiecutter-spacy-fastapi/{{cookiecutter.project_slug}}/app/models.py", "repo_id": "cookiecutter-spacy-fastapi", "token_count": 508 }
486