<commit_before>﻿<%@ page pageEncoding="utf-8"   contentType="text/html;charset=UTF-8" language="java"%>
<%@ taglib prefix="stripes"
	uri="http://stripes.sourceforge.net/stripes.tld"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>

<html>
<head>
<link rel='stylesheet' href='/tf/stylesheets/layout.css' type='text/css' />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
</head>
<body>
<div class="cabecalho_id">${actionBean.usuario.nome} [Aluno]</div>
<div>
<h1>Aula: ${actionBean.passo.aula.titulo}</h1>
<h2>${actionBean.passo.nome}</h2>
<div>
${actionBean.passo.explicacao_html_formatada} </div><br />

<br />

<c:if test="${actionBean.valoresSaida!=null}" >
<h3>Resultado:</h3>
<c:forEach var="parametro" items="${actionBean.passo.parametrosSaida}">
	${parametro.nome}:
	<pre>${actionBean.valoresSaida[parametro.ordem]}</pre>
</c:forEach>
Você pode repetir/continuar a experiência:<br/>
</c:if>

<br />
	<div class="erros_stripes"><stripes:errors globalErrorsOnly="true" /></div>
	<div class="mensagens_stripes"><stripes:messages /></div>
<stripes:form beanclass="${actionBean.usuario.professor?'tf.action.AulasProfessorActionBean':'tf.action.AulasActionBean'}" focus="passo.titulo">
<input type="hidden" name="aula.id" value="${actionBean.aula.id}" />
<input type="hidden" name="passo.id" value="${actionBean.passo.id}" />

<c:if test="${not empty actionBean.passo.parametrosEntrada}">
<c:if test="${actionBean.valoresSaida==null}" >
<h3>Experimente:</h3>
</c:if>
<c:forEach var="parametro" items="${actionBean.passo.parametrosEntrada}">
	${parametro.nome}: 
	<c:if test="${parametro.classe=='java.lang.Integer'}"><stripes:text name="valoresEntrada[${parametro.ordem}]"></stripes:text></c:if>	
	<c:if test="${parametro.classe=='java.lang.Double'}"><stripes:text name="valoresEntrada[${parametro.ordem}]"></stripes:text></c:if>
	<c:if test="${parametro.classe=='Jama.Matrix'}"><stripes:textarea name="valoresEntrada[${parametro.ordem}]"></stripes:textarea></c:if>
	<br/>	
</c:forEach><br/>
	<stripes:submit name="executarPasso" value="Executar"></stripes:submit> 
</c:if>
	<!--  <input type="button"
		value="Salvar Dados" /> <input type="button" value="Carregar Dados" />-->
		<br/><br/>
		<hr/>
		<c:if test="${actionBean.passo.anterior != null}">
		<stripes:submit name="abrirPassoAnterior" value="<< Passo Anterior" />
		</c:if><commit_msg>ajuste no tamanho do campo de matriz<commit_after>﻿<%@ page pageEncoding="utf-8"   contentType="text/html;charset=UTF-8" language="java"%>
<%@ taglib prefix="stripes"
	uri="http://stripes.sourceforge.net/stripes.tld"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>

<html>
<head>
<link rel='stylesheet' href='/tf/stylesheets/layout.css' type='text/css' />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
</head>
<body>
<div class="cabecalho_id">${actionBean.usuario.nome} [Aluno]</div>
<div>
<h1>Aula: ${actionBean.passo.aula.titulo}</h1>
<h2>${actionBean.passo.nome}</h2>
<div>
${actionBean.passo.explicacao_html_formatada} </div><br />

<br />

<c:if test="${actionBean.valoresSaida!=null}" >
<h3>Resultado:</h3>
<c:forEach var="parametro" items="${actionBean.passo.parametrosSaida}">
	${parametro.nome}:
	<pre>${actionBean.valoresSaida[parametro.ordem]}</pre>
</c:forEach>
Você pode repetir/continuar a experiência:<br/>
</c:if>

<br />
	<div class="erros_stripes"><stripes:errors globalErrorsOnly="true" /></div>
	<div class="mensagens_stripes"><stripes:messages /></div>
<stripes:form beanclass="${actionBean.usuario.professor?'tf.action.AulasProfessorActionBean':'tf.action.AulasActionBean'}" focus="passo.titulo">
<input type="hidden" name="aula.id" value="${actionBean.aula.id}" />
<input type="hidden" name="passo.id" value="${actionBean.passo.id}" />

<c:if test="${not empty actionBean.passo.parametrosEntrada}">
<c:if test="${actionBean.valoresSaida==null}" >
<h3>Experimente:</h3>
</c:if>
<c:forEach var="parametro" items="${actionBean.passo.parametrosEntrada}">
	${parametro.nome}: 
	<c:if test="${parametro.classe=='java.lang.Integer'}"><stripes:text name="valoresEntrada[${parametro.ordem}]"></stripes:text></c:if>	
	<c:if test="${parametro.classe=='java.lang.Double'}"><stripes:text name="valoresEntrada[${parametro.ordem}]"></stripes:text></c:if>
	<c:if test="${parametro.classe=='Jama.Matrix'}"><stripes:textarea name="valoresEntrada[${parametro.ordem}]" cols="60" rows="8"></stripes:textarea></c:if>
	<br/>	
</c:forEach><br/>
	<stripes:submit name="executarPasso" value="Executar"></stripes:submit> 
</c:if>
	<!--  <input type="button"
		value="Salvar Dados" /> <input type="button" value="Carregar Dados" />-->
		<br/><br/>
		<hr/>
		<c:if test="${actionBean.passo.anterior != null}">
		<stripes:submit name="abrirPassoAnterior" value="<< Passo Anterior" />
		</c:if>
{'fraction_non_alphanumeric': 0.2330702118820108, 'fraction_numerical': 0.00519318653926049, 'mean_word_length': 7.373913043478261, 'pattern_counts': {'":': 0, '<': 151, '<?xml version=': 0, '>': 147, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3385298', 'n_tokens_mistral': 1947, 'n_tokens_neox': 1910, 'n_words': 235}