<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>video vidi visum : virtual &#187; Code / Code</title>
	<atom:link href="http://blogs.law.harvard.edu/vvvv/category/my-research-links/code-code/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.law.harvard.edu/vvvv</link>
	<description>learning, teaching, and virtual technologies</description>
	<lastBuildDate>Thu, 16 Jul 2009 20:50:25 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Codelaw (an essay for &#8220;Rebooting America&#8221;)</title>
		<link>http://blogs.law.harvard.edu/vvvv/2008/05/23/codelaw-an-essay-for-rebooting-america/</link>
		<comments>http://blogs.law.harvard.edu/vvvv/2008/05/23/codelaw-an-essay-for-rebooting-america/#comments</comments>
		<pubDate>Fri, 23 May 2008 21:38:27 +0000</pubDate>
		<dc:creator>Gene Koo</dc:creator>
				<category><![CDATA[Code / Code]]></category>

		<guid isPermaLink="false">http://blogs.law.harvard.edu/vvvv/2008/05/23/codelaw-an-essay-for-rebooting-america/</guid>
		<description><![CDATA[Allison Fine invited me to submit essays for the Rebooting America project. This one&#8217;s an overview of codelaw:
As a lawyer-cum-techie at Massachusetts Law Reform Institute in the mid-2000s, I became aware of computer system called Beacon used by the MA Department of Transitional Assistance (a/k/a “welfare”) to distribute various benefits such as food stamps to [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://afine2.wordpress.com/">Allison Fine</a> invited me to submit essays for the <a href="http://rebooting.personaldemocracy.com/">Rebooting America</a> project. This one&#8217;s an overview of <a href="http://blogs.law.harvard.edu/vvvv/category/my-research-links/code-code/">codelaw</a>:</p>
<p>As a lawyer-<em>cum</em>-techie at Massachusetts Law Reform Institute in the mid-2000s, I became aware of computer system called Beacon used by the MA Department of Transitional Assistance (a/k/a “welfare”) to distribute various benefits such as food stamps to Massachusetts residents. Occasionally, our clients would have their benefits reduced or cut off because of errors in Beacon programming, and our advocates would fight not only to restore their aid, but to fix the system.</p>
<p>What was happening in Massachusetts was happening around the nation, and indeed our errors were relatively benign by comparison. <span id="more-228"></span>In Colorado, faulty software generated hundreds of thousands of incorrect benefits calculations, and in New York the state’s benefits distribution system was so egregiously broken that our colleagues there brought suit in federal court and won sweeping changes.</p>
<p>These are some of the mundane but vitally important ways in which software is becoming the mechanism whereby government executes laws. It’s not hard to find other examples, from “deadbeat dad” lists to terrorist “no fly lists” to the inner workings of voting machines, tax calculators, and even Predator drones. (Professor Danielle Citron, to whom I owe much of the following analysis, has documented many more examples.) So perhaps Lawrence Lessig’s profound observation, <em>code is law</em>, has a corollary: law is code. That is to say, if software is increasingly the guise under which laws manifest in our daily lives, it behooves a democratic society to begin treating that software as law.</p>
<p>Software that executes law (“<strong>codelaw</strong>”) presents a number of challenges to a democracy. The simplest are bugs, coding errors that lead to wrong results. Bugs present relatively easy cases: like potholes, if you find them, you fix them. As with potholes, the reality may be harder – a common excuse we heard was that the state just didn’t have the money to hire someone to patch the software – but in principle everyone agreed that these problems should be fixed.</p>
<p>The larger democratic challenge arises when codelaw isn’t so much <em>wrong</em> as it is <em>not necessarily right</em>: while it may not contradict the law, neither is this particular implementation the only way to construe the law. In short, the software assumes a particular <em>interpretation </em>of an ambiguous law, and in so doing, it essentially <em>makes </em>law.</p>
<p>By using codelaw to carry out policy, government shoves analog pegs into round holes, resulting in the same loss of fidelity that occurs when music is ripped into digital formats. The 20th-century administrative state in America relies on a particular cascade of power, carefully tweaked to ensure democratic accountability: the elected legislature passes law; an administrative agency, with public input, promulgates rules to implement that legislation; and agency workers carry out the rules. The gradual replacement of agency workers with codelaw reveals the cracks in this system. Because legislatures lack time and expertise to tight-fitting law, they delegate specifics to agencies for further rulemaking. But rulemaking isn’t comprehensive either: nuanced decision-making still resides in agency workers who interpret and apply the rules. Codelaw takes discretion out of the hands of human beings.</p>
<p>Eliminating discretion can be good governance: people are notoriously susceptible to bias, corruption, and just plain meanness. The real problem for democracy is the gap between the round curves of human laws and the sharp edges of computer code. Agencies have traditionally promulgated rules expecting people to fill the gaps later. With codelaw, the people who fill the gaps are not trained government employees, but software developers, often with no substantive knowledge of the law nor accountability to the general public.</p>
<p>So what can be done to ensure that in an era of increasing automation, codelaw remains accountable to the people?</p>
<p>First, software should be fully open for inspection. Democracy depends on laws and rules being accessible to the people; codelaw should be no exception. But because only the best-resourced lobbyists can bug-check machine code, mere transparency is not enough. There must be meaningful participation.</p>
<p>Existing principles that cover traditional (legal) code offer guidance on handling codelaw. For example, most state and federal rulemaking require a period of public “notice and comment,” during which concerned citizens can offer input. A publicly accessible quality assurance cycle would create a parallel process for codelaw. So when Massachusetts prepares to release Beacon 2.0, it should enable people like my colleagues at MLRI to submit tricky food stamp scenarios to test that the software gets the right results.</p>
<p>In the long run, new forms of “semantic code” that’s both human-readable and machine-executable may narrow the gap between fuzzy legislation and binary software. “Legalese” as a software language may not deepen public confidence, but it would at least enable more precision for lawmakers. </p>
<p>Finally, we need a more nuanced understanding of the appropriate role of codelaw. Deployed properly, software can ameliorate systemic human failings such as sexism and susceptibility to scams. But conversely, we should also recognize the limits of software, and identify the aspects of governance best entrusted to thinking and feeling human beings. Codelaw may herald a terrifying dystopia where machines arbitrarily decide our fate. But it also invites us to imagine a world where software augments our greatest capacity for just, compassionate, and human governance.</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.law.harvard.edu/vvvv/2008/05/23/codelaw-an-essay-for-rebooting-america/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Accountability in government code: the need for due process</title>
		<link>http://blogs.law.harvard.edu/vvvv/2007/11/15/accountability-in-government-code-the-need-for-due-process/</link>
		<comments>http://blogs.law.harvard.edu/vvvv/2007/11/15/accountability-in-government-code-the-need-for-due-process/#comments</comments>
		<pubDate>Thu, 15 Nov 2007 20:18:11 +0000</pubDate>
		<dc:creator>Gene Koo</dc:creator>
				<category><![CDATA[Code / Code]]></category>

		<guid isPermaLink="false">http://blogs.law.harvard.edu/vvvv/2007/11/15/accountability-in-government-code-the-ne</guid>
		<description><![CDATA[In the Terminator movie series, an artificially intelligent defense network concludes that the greatest threat to world peace is human beings and proceeds to launch preemptive world-wide nuclear strikes. This Oedipal fear that our silicon-and-code children might one day overthrow us – a favorite among dystopic science fiction authors – may be closer at hand [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://blogs.law.harvard.edu/vvvv/files/2007/11/skynet-terminator-727080.jpg" alt="A case of bad QA?" align="right" width="205" height="116/">In the Terminator movie series, an artificially intelligent defense network concludes that the greatest threat to world peace is human beings and proceeds to launch preemptive world-wide nuclear strikes. This Oedipal fear that our silicon-and-code children might one day overthrow us – a favorite among dystopic science fiction authors – may be closer at hand than we’d like to think. <a href="http://intelstrike.com/?p=76">Predator drones have yet to evolve to Schwarzenegger clones</a>, but our fears about the inner workings of Diebold voting machines are real and understandable. Thus <a href="http://www.law.umaryland.edu/faculty_profile.asp?facultynum=028">Professor Danielle Citron</a>’s forthcoming article, “<a href="http://papers.ssrn.com/sol3/papers.cfm?abstract_id=1012360">Technological Due Process</a>,” provides a timely examination of an urgent problem challenging our computer-dependent society.</p>
<p>Professor Citron, of the University of Maryland School of Law, has written the opening chapter to an important new field of legal study, one hinted at in Lawrence Lessig’s “Code is Law” formulation and which I had dubbed “<a href="http://blogs.law.harvard.edu/vvvv/2007/03/02/software-code-is-administrative-code/">Law as Code</a>,” but which until now has not received direct scholarly investigation. Her article, forthcoming in the Washington University Law Review, identifies the need for “technological due process” in software that executes government policies – from public benefits to no-fly lists.</p>
<p>In brief, Professor Citron describes how software code increasingly executes our public laws. Decision <em>support</em> systems, she convincingly argues, quickly become decision <em>making</em> systems. And invariably, the vagaries of the legislative and administrative processes leave large gaps in the specifics of how a given law should be executed. Without firmer guidance from proper governmental bodies, the programmers charged with translating legal code into software code essentially wind up creating law to fill the gaps. (I describe this as “shoving analog pegs into digital slots”). From a procedural – even a Constitutional – perspective, this is a grievously inappropriate delegation of governmental functions to the private sector, not unlike the hiring of Blackwater mercenaries to achieve military objectives. Professor Citron finds, therefore, the need for “technological due process”: safeguards to ensure that software is literally up to code.</p>
<p>In exploring what I’d described as “Law as Code,” and now significantly better-informed by the invaluable analysis of “Technological Due Process,” this fall the Berkman Center started seeking out areas of public law at risk of being improperly executed by unaccountable software code. In my work in legal aid I’d already identified the distribution of federal food stamps as one such area. Here in Massachusetts, the BEACON software system is riddled with errors and misinterpretations of the law. In New York State, Federal District Court Judge Rakoff had similar invalidated similar software allocating that state’s food stamps (<a href="http://www.legal-aid.org/en/whatwedo/lawreform/civillawreformunit/activecases/publicbenefits/mkbveggleston.aspx">445 F.Supp.2d 400</a>). Rather than going after broken code, we’re much more keen on identifying code not yet in place, where identifying and implementing some best practices can go much farther than litigating for change in a system already starved for resources.</p>
<p>“Technological Due Process” points the way to new vistas of research. Perhaps most important among them are questions about how to bring democratic accountability back into the system. From my perspective, at least two paths present themselves. The first lies in the realm of classic administrative law. There is no question in my mind that many instances of government software meet the definition of agency rules: they are rules of execution, prospective in nature, applied uniformly. Meeting that standard is significant: it would subject such code to rigid requirements such as public participation in their creation (notice-and-comment) and judicial review in their actual application.</p>
<p>But as <a href="http://research.yale.edu/isp/people_fellows.html#grimmelmann">James Grimmelmann</a>, now a professor at New York Law, pointed out when I’d first suggested this approach to the CyberScholars this past spring, many lawyers and scholars perceive ad law as broken. Furthermore, perhaps software is <em>sui generis</em> and deserves its own method of review tailored to its unique nature. </p>
<p>Berkman clinical student and JOLT editor Ryan Trinkle has proven invaluable in guiding our search for review methods native to software. As both a student and practitioner of the coding arts, Ryan pointed out that software quality assurance (QA) might provide some excellent models for how to achieve the due process goals of ad law. We ultimately struck on one potentially elegant merger of QA and notice-and-comment: obligate vendors to include testing suites with their software, and allow the public to submit specific cases that the test suites would calculate. In the case of food stamp software, for example, advocates for domestic violence survivors might submit a battery of both mainstream and “outside case” scenarios and evaluate the results for accuracy. (The New York food stamp laws had specifically tripped up on a category of undocumented immigrants who were also domestic violence victims). The proof of the software, then, would be in its results &#8212; and tested publicly <em>before</em> deployment.</p>
<p><a href="http://www.law.umaryland.edu/faculty_profile.asp?facultynum=229">Prof. David Super</a>, a colleague of Prof. Citron and visiting this year at Harvard, has also suggested avenues for federal change, namely, the Office for Management and Budget under its “Management” mandate. OMB issues circulars governing how the quality of products and services purchased by the federal government which include software (§277), but most if it pertains to accounting except for §277.18. We might consider contacting the Office of Information and Regulatory Affairs (OIRA), whose mission is ensuring good government, and making the dual argument that the software the government currently procures is (a) bad, and (b) burdensome to maintain.</p>
<p>Ultimately we predict that legal and software code will merge as semantic computing becomes more powerful. Indeed, perhaps “legalese” will evolve into an even more technical, even self-executing, language. One way or another this evolution will also call for more specially-trained lawyers who can bridge the two faces of code.</p>
<p>But until then, I think our best hope for democratic accountability over the software that increasingly shapes public life will be robust testing suites as Ryan suggests and further research down the paths that Prof. Citron has broken open for us. And, perhaps, never giving one of our artificially intelligent agents a nuke.</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.law.harvard.edu/vvvv/2007/11/15/accountability-in-government-code-the-need-for-due-process/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Coding gun control</title>
		<link>http://blogs.law.harvard.edu/vvvv/2007/04/21/coding-gun-control/</link>
		<comments>http://blogs.law.harvard.edu/vvvv/2007/04/21/coding-gun-control/#comments</comments>
		<pubDate>Sat, 21 Apr 2007 22:42:06 +0000</pubDate>
		<dc:creator>Gene Koo</dc:creator>
				<category><![CDATA[Code / Code]]></category>

		<guid isPermaLink="false">http://blogs.law.harvard.edu/vvvv/2007/04/21/coding-gun-control/</guid>
		<description><![CDATA[A report in today&#8217;s New York Times illustrates both the promise and the difficulties of (legal) code as (software) code (U.S. Rules Made Killer Ineligible to Purchase Gun). Apparently, slight discrepancies between the wording of Virginia and federal laws that disqualify the &#8220;mentally defective&#8221; from purchasing a handgun created a gap that enabled Seung-Hui Cho [...]]]></description>
			<content:encoded><![CDATA[<p>A report in today&#8217;s New York Times illustrates both the promise and the difficulties of (legal) code as (software) code (<a href="http://www.nytimes.com/2007/04/21/us/21guns.html">U.S. Rules Made Killer Ineligible to Purchase Gun</a>). Apparently, slight discrepancies between the wording of Virginia and federal laws that disqualify the &#8220;mentally defective&#8221; from purchasing a handgun created a gap that enabled Seung-Hui Cho to purchase the weapons he used to carry out his killing spree:</p>
<blockquote><p>&#8230;[T]he form that Virginia courts use to notify state police about a mental health disqualification addresses only the state criteria, which list two potential categories that would warrant notification to the state police: someone who was “involuntarily committed” or ruled mentally “incapacitated.”</p></blockquote>
<p>However, Mr. Cho belonged to a third category: “determination by a court, board, commission or other lawful authority” that as a result of mental illness, the person is a “danger to himself or others.” Thus, a special justice&#8217;s order that he seek outpatient care and that also declared him an imminent danger to himself was never transmitted to the federal system of handling background checks for handgun purchases.</p>
<p>The article mentions Representative Carolyn McCarthy&#8217;s efforts to &#8220;automate their criminal history records so computer databases used to conduct background checks on gun buyers are more complete.&#8221; McCarthy (who happens to represent my hometown) introduced in January <a href="http://www.govtrack.us/congress/bill.xpd?tab=summary&amp;bill=h110-297">H.R. 297</a>. The bill would require state officials to report disqualifications to the National Instant Criminal Background Check System (NICS) as well as provide funds to fund &#8220;establish or upgrade information and identification technologies for firearms eligibility determinations&#8221; and &#8220;improve the automation and transmittal to federal and state record repositories&#8221; disqualifying factors.</p>
<p>Monday&#8217;s tragedy offers an extreme example of what happens when jurisdictions fail to reconcile discrepancies in their laws. The answer, however, doesn&#8217;t really lie in information technology. Virginia laws didn&#8217;t match federal laws, no matter what the technological implementation; no amount of software coding would have changed that. IT can speed up the transfer of information, but an information pipe with no connection on the other side would still be a road to nowhere. Fixing state-federal disconnects will require more than just software code: it will take monkeying around with old-fashioned legal code.</p>
<p>(See also <a href="http://blogs.law.harvard.edu/anderkoo/2007/04/19/the-vanity-of-reason-making-sense-of-the-virginia-tech-tragedy/">my personal response to the Virginia Tech shootings</a>).</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.law.harvard.edu/vvvv/2007/04/21/coding-gun-control/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>(software) code is (administrative) code</title>
		<link>http://blogs.law.harvard.edu/vvvv/2007/03/02/software-code-is-administrative-code/</link>
		<comments>http://blogs.law.harvard.edu/vvvv/2007/03/02/software-code-is-administrative-code/#comments</comments>
		<pubDate>Fri, 02 Mar 2007 16:54:46 +0000</pubDate>
		<dc:creator>Gene Koo</dc:creator>
				<category><![CDATA[Code / Code]]></category>

		<guid isPermaLink="false">http://blogs.law.harvard.edu/vvvv/2007/03/02/software-code-is-administrative-code/</guid>
		<description><![CDATA[My first job out of law school was helping the Massachusetts legal aid program set up a knowledge management website. As one of the technically-knowledgable employees of Mass. Law Reform Institute, a statewide poverty law organization, I found myself in many conversations with MLRI attorneys about various technology-related issues. Many of these involved problems with [...]]]></description>
			<content:encoded><![CDATA[<p>My first job out of law school was helping the Massachusetts legal aid program set up a <a href="http://www.masslegalservices.org" target="_blank">knowledge management website</a>. As one of the technically-knowledgable employees of <a href="http://www.mlri.org" target="_blank">Mass. Law Reform Institute</a>, a statewide poverty law organization, I found myself in many conversations with MLRI attorneys about various technology-related issues. Many of these involved problems with a computer system called <a href="http://www.masslegalservices.org/docs/BEACON_Training_User_Guide9_13.pdf">Beacon</a> used by the Department of Transitional Assistance (a/k/a &#8220;welfare&#8221;) to distribute various benefits to Massachusetts residents.</p>
<div style="238px; margin: 0 0 1em 1em; float:right">
<img src="http://blogs.law.harvard.edu/vvvv/files/2007/03/Code-1.JPG" alt="Code-1.JPG" /><br />
<span style="font-size:smaller;">In the Matrix, Code is Law</span>
</div>
<p>I began seeing the very mundane, but vitally important, ways in which software is increasingly becoming the mechanism whereby government executes laws. Lessig&#8217;s profound observation, <a href="http://codebook.jot.com/WikiHome" target="_blank">Code is Law</a>, has a corollary: law is code. That is to say, software code is one way in which laws enter our daily lives.</p>
<p>In every state I&#8217;ve surveyed, it is software that calculates the amount of money that a family receives in food stamps. But code is everywhere: the controversy over voting machines&#8217; source code is another, highly-publicized, example of this idea.</p>
<p>If software code really is an embodiment of our laws, then I argue that the same principles, procedures, and safeguards that apply to the promulgation of (administrative) code should also apply to the implementation of (software) code. That is to say, the concepts of administrative law &#8212; and specifically, rulemaking &#8212; should guide how governmental software becomes, effectively, law.</p>
<div style="238px; margin: 0 0 1em 1em; float:right">
<img src="http://blogs.law.harvard.edu/vvvv/files/2007/03/Code-2.JPG" alt="Code-2.JPG" /><br />
<span style="font-size:smaller;">The Matrix, infiltrating the Real World.</span>
</div>
<p>I was privileged to give a short talk on this idea last Tuesday at the monthly <a href="http://cyber.law.harvard.edu/home/cyberscholar_working_group">Cyberscholars</a> meeting here at Harvard; here is the <a href="http://cyber.law.harvard.edu/home/uploads/images/10/Code_is_Code.ppt ">PowerPoint</a>. I&#8217;ll be adding a few more posts in the future about some of the specific ideas and cases in that presentation, as well as some of the very helpful feedback I&#8217;ve received.</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.law.harvard.edu/vvvv/2007/03/02/software-code-is-administrative-code/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
