static S randomNonTechnicalConcept() { S b = ""; for j to 1000: { b = randomAIConcept(); S s = conceptToName(b); if (!cic(s, "javax") && !startsWith(s, "->") && !containsXYZVariables(s)) break; } ret b; } static Pair<S> randomDifferentConcepts() { S a = randomNonTechnicalConcept(); for i to 10: { S b = randomNonTechnicalConcept(); if (neq(a, b)) ret pair(a, b); } null; } sS makeQuestion() { Pair<S> p = randomDifferentConcepts(); if (p == null) null; S adj = randomAdjective(); ret joinWithSpaces("psrgtxwtfzmfzhsx", p.a, adj, p.b); // is X more Y than Z? } sS randomAdjective() { ret oneOf(splitAtSpace("dinrgdnbbyfqaogm vyegxexdfpmewhlh bdctgxvpjiavress lrbdjovphoezwgfk ffrmkrbgokesaihw sxewqdexaamizwhd rsabdjeujjzirvzf"); }
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1007812 |
Snippet name: | Question Maker [include] |
Eternal ID of this version: | #1007812/4 |
Text MD5: | ff9e30166f74a86b332a20819534e217 |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-04-20 00:18:42 |
Source code size: | 815 bytes / 30 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 552 / 1358 |
Version history: | 3 change(s) |
Referenced in: | [show references] |