Commit Graph

32618 Commits

Author SHA1 Message Date
Vincent St-Amour
dd943c8754 Make TR random tester more robust against special values. 2014-03-26 14:16:36 -04:00
Vincent St-Amour
35f7a9a0e7 Refactor testing grammar. 2014-03-26 14:16:36 -04:00
Vincent St-Amour
a9504825ea Avoid division by 0 when there are no contract samples. 2014-03-26 14:16:35 -04:00
Eric Dobson
a662f72c9e Add invert-filter and use it in -imp. 2014-03-26 09:15:28 -07:00
Robby Findler
2fda610c54 fix performance problem in list-machine test suite
this was uncovered by the recent change to redex-check's
default strategy
2014-03-26 09:40:06 -05:00
Eric Dobson
b9e7d087ba Make let correctly implement the TC-Let rule from the paper. 2014-03-25 23:07:50 -07:00
Eric Dobson
4876d7d320 Remove unused clause arguments in tc-let-unit. 2014-03-25 23:00:27 -07:00
Robby Findler
375f85598d note redex-check change in redex history 2014-03-26 00:40:09 -05:00
Robby Findler
494f32084a change redex-check's default strategy to do both
enumeration and random generation in a manner
supported by our study
2014-03-26 00:35:06 -05:00
Robby Findler
89ef6f831e adjust #:enum arg to redex-check to be back like 6.0,
add #:uniform-at-random argument and #:in-order argument
2014-03-26 00:35:06 -05:00
Eric Dobson
55cb28168e Add test case for PR12985.
Closes PR 12985.
2014-03-25 21:25:50 -07:00
Asumu Takikawa
862d58a2f4 Avoid a parameter for controlling resolve caching
The parameter dereference slowed down type-checking
new-metrics.rkt to about 28s from 16s on DrDr.

Instead of the parameter, explicitly remove items from the
cache during type alias setup.
2014-03-26 00:18:33 -04:00
Eric Dobson
e4716bd68a Add test case for PR 11747.
Closes PR 11747. This was fixed at some point.
2014-03-25 19:24:06 -07:00
Eric Dobson
b09ced6a0c Fix tc-let for mutable variables.
Closes PR 14415.
2014-03-25 18:52:57 -07:00
Matthew Flatt
316fc0dbf5 scribble/base: add #:{column,row,cell}-properties arguments to tabular
The new arguments greatly simplify adding properties such as alignment
and (HTML) background colors to table cells. For example, to make a
table with 'right alignment for the left-hand column, 'center alignment
for the second column, and 'left alignment for all remaining columns:

 (tabular cells
          #:sep (hspace 1)
          #:column-properties '(right center left))

Also, make `color-property` and `background-color-property` recognized
as table-cell style properties.

Finally, implement horizontal alignment for text rendering.
2014-03-25 14:23:22 -06:00
Robby Findler
16d8f6c3ba adjust plot so that it uses "rvm" for the verification model 2014-03-25 14:52:43 -05:00
Robby Findler
0b852ed312 fix type comment
(thanks, Sam!)
2014-03-25 14:18:09 -05:00
Robby Findler
63f605a93b clean up pick-an-index for inclusion in a paper 2014-03-25 14:09:19 -05:00
Eric Dobson
b67c3272dc Add support for contracts on non-returning functions with filters. 2014-03-25 09:41:57 -07:00
Sam Tobin-Hochstadt
8fa61c5e31 Fix description of read-html-as-xml.
Fixes Issue #427.
2014-03-25 11:06:02 -04:00
Sam Tobin-Hochstadt
b338025b33 Fix documented contracts for identifier comparisons.
Fixes issue #548.
2014-03-25 11:00:22 -04:00
Sam Tobin-Hochstadt
fe4d784fc4 Use lazy-require to avoid dependency for fv. 2014-03-25 09:16:02 -04:00
Robby Findler
41e0156d8b fix explanation of stlc bug #2 2014-03-25 06:47:16 -05:00
Eric Dobson
c67f5f753c Make TR use rest annotations over expected type.
Closes PR 10936.
2014-03-25 01:16:43 -07:00
Eric Dobson
049057edd9 Make -imp simplify more, and use it in more places.
Also add filter tests for implication.
2014-03-25 00:03:39 -07:00
Eric Dobson
fcedc4ab59 Make Bottom not a special case for tc-any-results. 2014-03-24 20:27:54 -07:00
Robby Findler
9c0317b04e misc cleanups to graphing code so sizing is easier and
change the labels in the legends
2014-03-24 09:19:07 -05:00
Eric Dobson
cc377272d6 Make -filter and -not-filter do more simplification. 2014-03-24 00:09:17 -07:00
Eric Dobson
aedf612a06 Remove dead code in tc-metafunctions. 2014-03-23 22:49:27 -07:00
Robby Findler
d718a66d97 forgot bug #5 description (and clarify bug #4 wrt to bug #5) 2014-03-23 16:51:57 -05:00
Robby Findler
9ec3eea040 proper descriptions of the rvm model bugs 2014-03-23 16:45:18 -05:00
Eric Dobson
240695a4c1 Make typecheck tests provide more information. 2014-03-23 14:35:36 -07:00
Robby Findler
b7cd08b5fd add small(ish) counterexample to delim-cont-3 2014-03-23 14:07:35 -05:00
Robby Findler
1a4b68f7e5 move legend to bottom right 2014-03-23 14:07:35 -05:00
Burke Fetscher
da158e6d95 fix rvm ordered generation to not do test every time 2014-03-22 19:22:37 -05:00
Eric Dobson
ac1d7ea19e Fixup rec-lambda contract 2014-03-22 17:12:30 -07:00
Burke Fetscher
0f5be21f21 apppend unexposed bugs to the rhs of the benchmark plot 2014-03-22 15:59:06 -05:00
Eric Dobson
94a5f215b1 Remove duplicate top-filter empty case. 2014-03-21 23:45:47 -07:00
Eric Dobson
ca082c2176 Fix use of expected type of ignore expressions. 2014-03-21 23:45:47 -07:00
Eric Dobson
8de32baf28 Fix misuse of expected in tc-send. 2014-03-21 22:58:45 -07:00
Eric Dobson
cf713b7030 Fix tc-if. Remove dead cases and misuse of expected. 2014-03-21 22:58:44 -07:00
Eric Dobson
750e408d94 Fix expected use in single-value. 2014-03-21 22:58:44 -07:00
Eric Dobson
29fb1c60c2 Make wcm not misuse the expected results. 2014-03-21 22:58:44 -07:00
Eric Dobson
e355539c41 Make tc-values not misuse expected. 2014-03-21 22:58:44 -07:00
Eric Dobson
8cf1246fb1 Change tc-app-lambda to not return bad filters.
Makes tc/rec-lambda/check return the actual results, and erase the names of
the values bound by the let.
2014-03-21 22:58:43 -07:00
Eric Dobson
74f8dc7436 Make heterogenous vector typechecking not double typecheck the arguments. 2014-03-21 22:44:45 -07:00
Eric Dobson
a7d6809243 fixup 2014-03-21 22:01:32 -07:00
Eric Dobson
534f41e729 Update current-seen 2014-03-21 22:01:32 -07:00
Max New
31469441dc Fix many/e enum bug (probably impossible to observe at redex level) 2014-03-21 23:54:26 -05:00
Robby Findler
3abb14a63e fix property to actually use Kleene equality (instead
of comparing the output of standard reduction)
2014-03-21 23:43:15 -05:00