conversations listlengths 2 3 | source stringclasses 1 value | stack stringclasses 1 value |
|---|---|---|
[
{
"from": "system",
"value": "Replace \"sum\" with the correct operator \"add\"\n\nAlso fix array indexing error. Upper limits of for loops were p when they\nshould have been p - 1, causing us to try to acces index p of an array of size p.\n\nIssue #4 (still doesn't work)\n"
},
{
"from": "human",
... | postscript | chosen |
[
{
"from": "system",
"value": "Introduce loop to release all messages to output\n"
},
{
"from": "human",
"value": "/test-case { % <str> test-case\n print (\\n) print\n} def\n\n/should { % <str> should\n pop\n} def\n\n/assert-equal { %... | postscript | chosen |
[
{
"from": "system",
"value": "Normalize test-failed / test-passed before pulling them out\n"
},
{
"from": "human",
"value": "(util.ps) runlibfile\n\n/test-case { % <str> test-case mark\n print (\\n) print\n\n % (*) create a package dict to count the tests\n 3 dict beg... | postscript | chosen |
[
{
"from": "system",
"value": "Fix Appveyor test result reporting\n"
},
{
"from": "human",
"value": "\"$($env:PYTHON)/python.exe -m pytest --junixtml=TestResults.xml\"\n\n$client = New-Object \"System.Net.WebClient\"\n$client.UploadFile(\"https://ci.appveyor.com/api/testresults/junit/$($env:APPVE... | postscript | chosen |
[
{
"from": "system",
"value": "Fix Appveyor test result reporting\n"
},
{
"from": "human",
"value": "$resultXml = \"TestResults.xml\"\n\"$env:PYTHON/python.exe -m pytest --junixtml=$resultXml\"\n\n$client = New-Object \"System.Net.WebClient\"\n$client.UploadFile(\"https://ci.appveyor.com/api/test... | postscript | chosen |
[
{
"from": "system",
"value": "Fix typecheck error when using mod operator\n\nOne of the operands was the result of an exp operator, which returns a double...\n\nIssue #4 still not fixed. Now there are no errors but output PDF is empty.\n"
},
{
"from": "human",
"value": "% Get coordinates of ith... | postscript | chosen |
[
{
"from": "human",
"value": "Add VSTS build and deploy script"
},
{
"from": "gpt",
"value": "$webConfigPath = Get-Location\r\ncd dist\r\ncd client\r\n$sourcePath = Get-Location\r\ncd ..\r\ncd ..\r\nmkdir deploy\r\ncd deploy\r\n$deployPath = Get-Location\r\ngit init\r\ngit config user.email \"dev... | postscript | chosen |
[
{
"from": "human",
"value": "Add fake 'screensaver' written in PostScript.\n"
},
{
"from": "gpt",
"value": "realtime srand\n{\n rand 255 mod 255 div\n rand 255 mod 255 div\n rand 255 mod 255 div\n setrgbcolor\n rand 600 mod\n rand 841 mod\n rand 60 mod\n 0 360 arc fill\n % busy-waiting ... | postscript | chosen |
[
{
"from": "system",
"value": "Fix global name space contamination\n\nBefore running the tests, create a dict that keeps all data that we\nneed while running tests. Destroy it after printing the results.\n"
},
{
"from": "human",
"value": "(util.ps) runlibfile\n\n/test-case { % ... | postscript | chosen |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.