Tcl Library Source Code

Artifact [1c256e65d5]
Login

Artifact 1c256e65d51755b6fd6dd21bcfa453eb644c5795e0839932af0ec123f9ee2833:

Ticket change [1c256e65d5] - New ticket [3ed39a451f8ae9a4|3ed39a451f] <i>Farthest failure path (FFP) tracking in PT/PEG</i>. by ssoberni 2017-10-06 13:16:36.
D 2017-10-06T13:16:36.459
J assignee nobody
J closer nobody
J cmimetype text/plain
J comment Hi\sAndreas,\r\n\r\nAs\sbriefly\sdiscussed\syesterday\son\sIRC,\sI\sam\sinterested\sin\sgetting\sFFP\stracking/reporting\sinto\sthe\sPARAM\smachinery.\sRight\snow,\san\sFFP\sheuristic\sis\sapplied\sin\serror\shandling,\sbut\sit\sis\sconfined\swithin\sa\sgiven\scontext\s(a\schoice).\sAn\soverall\s(global)\sFFP\sis\snot\smaintained\sfor\sa\sparse.\r\n\r\nFor\sthe\sNX\sbackend\s(::pt::rde),\sI\sgot\san\sFFP\sextension\s(see\sscript\sattached).\sI\swonder,\showever,\show\sthis\swould\sbe\sbest\sbecome\sintegrated\sinto\sthe\sbase\smachinery,\sas\sall\sbackends\swould\sbenefit\sfrom\sthis\s(practical\serror\stracking\sin\sPEGs\sare\smuch\smore\sconvenient\swith\san\sFFP\shint).\s\r\n\r\nThe\smain\sidea\sof\sthe\sextension\sis\sto\sintercept\son\s"choice\sexits",\sintermittent\sexits\s(inter*)\sand\sactual\sexits\s(exit0/1),\sand\supdate\san\sFFP\sstore\s(updateFFP).\sThe\supdate\slogic\sis\sbasically\sthe\ssame\soperation\swithin\schoices\setc.:\si_error_pop_merge\s(but\swithout\sany\spopping).\sIt\sworks\sas\sexpected\s(see\sthe\sTiny\slanguage\sexample\sin\sthe\sscript).\r\n\r\nQs:\r\n\r\n-\sHow\scan\sthis\sbest\sbe\ssupported\sin\sthe\sbase\smachinery?\r\n-\sIn\smy\sextension,\sthe\sdownside\sis\sthat\sthe\sintercepted\sSIs\sare\snot\sspecific\sto\s\schoices,\sbut\sare\salso\scompiled\sinto\sother\sparsing\smethods\s(sequences).\sSo,\sthe\sFFP\supdate\sis\striggered\smore\soften\sthan\snecessary.\r\n-\sWhat\sare\sthe\sconsequences\sfor\serror\sreporting:\sShould\s[complete]\sbe\smade\sFFP\saware,\ssomehow?\r\n\r\nLet\sme\sknow\show\sI\scan\shelp.\sThat\ssaid,\sthe\sextension\sworks\swell\sfor\smy\sneeds.\sBut\sI\sthink\sPT\susers\swould\sbenefit\sfrom\sthis\sotherwise\scommonly\savailable\sfacility\sin\sits\sPARAM.\r\n\r\nFor\sthe\srecords,\sthe\schat\sprotocol\sfrom\syesterday:\r\n\r\nm\s2017-10-05T22:31:52Z\sijchain\s{<mr_calvin>\saku:\saround?}\r\nm\s2017-10-05T22:32:28Z\saku\spong\r\nm\s2017-10-05T22:32:48Z\sijchain\s{<mr_calvin>\sregarding\sffp\sfor\spt\s...}\r\nm\s2017-10-05T22:33:19Z\sijchain\s{<mr_calvin>\sI\sgot\sa\sminimal\sversion\s(truly\sminimal)\sbased\son\sthe\snx\sbackend,\sto\sshow\sto\syou}\r\nm\s2017-10-05T22:34:33Z\saku\s{Oh,\stcllib\sticket\s...}\r\nm\s2017-10-05T22:34:46Z\sijchain\s{<mr_calvin>\snot\syet\sa\sticket\s:)}\r\nm\s2017-10-05T22:35:33Z\saku\s{I\sbelieve\sI\ssaw\sa\sticket\sabout\s`fail\sfarthest\sp?`\sfor\spt::peg\sthings\s...}\r\nm\s2017-10-05T22:35:49Z\sijchain\s{<mr_calvin>\swas\san\semail\s:)}\r\nm\s2017-10-05T22:36:16Z\saku\s{Ah.\sOk,\sthat\sis\spossible.\sI\susually\ssee\sticket\sthrough\smail\snotification,\sso\smight\sbe\sscrambled\sthere.}\r\nm\s2017-10-05T22:36:33Z\saku\s{somethng\sto\sme\s...\sbest\sshown\sin\semail\sas\swell,\sI\sbelieve\s...}\r\nm\s2017-10-05T22:39:55Z\saku\s{I\sbelieve\sI\swill\shave\sto\ssee\show\syou\sdid\sthe\sinstrumentation\s....}\r\nm\s2017-10-05T22:40:58Z\sijchain\s{<mr_calvin>\s(obviously\sone\scan\sextend\sthe\sbasic\ssi’s\sto\sjust\sdo\swhat\sI\sdo\sin\sa\sfew\sline\sin\sthe\soverloading\smethods,\sbut\syou\swrote\sin\syour\semail\sthat\syou\sprefer\ssth.\sorthogonal)}\r\nm\s2017-10-05T22:42:53Z\saku\s{did\sI\s...\sSuspect\sI\shave\sto\sreread\s...\sI\sthought\sI\ssaid\s...\sorthogonal\sfirst\sprefered,\sthen\sintegration\s...\sIf\swe\sneed\sintregration\swe\scertainly\scan\sgo\sthere\stoo\s...}\r\nm\s2017-10-05T22:43:12Z\saku\s{well,\sI\swill\ssee\swhat\sis\sin\syour\smail.}\r\nm\s2017-10-05T22:44:13Z\sijchain\s{<mr_calvin>\sdownside\sof\shandling\sat\sthis\slevel\sof\ssi’s\sthat\sthe\sffp\schecks\sare\sdone\smore\soften\sthan\snecessary\s…\striggering\sthe\sffp\scheck\s“on\serror”\sis\scertainly\smore\sproportionate.}\r\nm\s2017-10-05T22:50:12Z\saku\s{mr_calvin\s-\sIs\sthat\seven\spossible\s(doing\sthe\scheck\sonly\son\serror\s?)}\r\nm\s2017-10-05T22:54:12Z\sijchain\s{<mr_calvin>\swell,\s“on\serror”\sin\sthe\ssense\sof\sthe\si_error_pop_merge\slimbo\s…}\r\nm\s2017-10-05T22:55:12Z\sijchain\s{<mr_calvin>\sactually,\sright\snow,\sI\stry\sto\scapture\swhat\sthe\sinlined\si_error_pop_merge\slogic\sdoes\sat\sthe\sexit\sof\sa\schoice\s...}\r\nm\s2017-10-05T22:56:41Z\sijchain\s{<mr_calvin>\sthe\sthing\sis,\sthat\sthe\ssi’s\sto\sdo\sso\sare\salso\sfired\swhen\sexiting\ssequences\setc.\sit\sis\snot\sobvious\sto\sme\show\sto\slimit\sit\sto\s“choice\sexits”\s…}\r\nm\s2017-10-05T22:56:58Z\sijchain\s{<mr_calvin>\sso\sI\sshould\shave\swritten\s“on\schoice\sexit”\s:)}\r\nm\s2017-10-05T22:58:19Z\saku\s{mr-calvin\s-\sok,\smakes\ssense\s...\smight\snew\sspecial\ssi\sspecific\sto\schoices\sthen\s...}\r\nm\s2017-10-05T22:58:28Z\saku\s{s/new/need\snew/}\r\nm\s2017-10-05T22:58:37Z\saku\s{put\sthis\sall\sinto\sthe\smail\stoo,\splease}
J foundin trunk
J is_private 0
J login ssoberni
J priority 5\sMedium
J private_contact d4d1d8192a46acf2c7d58cddc1040ecdbc9c9d77
J resolution None
J severity Important
J status Open
J submitter ssoberni
J subsystem pt\s(parsetools)
J title Farthest\sfailure\spath\s(FFP)\stracking\sin\sPT/PEG
J type RFE
K 3ed39a451f8ae9a48a221f90c7a74e2f99d8319d
U ssoberni
Z e5202c2c90fe8615ffe5a891fc5cb4f8