Skip to content

Commit

Permalink
Traducao tarefas
Browse files Browse the repository at this point in the history
Traducao para eng das tarefas do teste
  • Loading branch information
andersonmarques committed Sep 13, 2019
1 parent 86498d1 commit 75193e5
Show file tree
Hide file tree
Showing 11 changed files with 535 additions and 79 deletions.
14 changes: 14 additions & 0 deletions TreemapGlyph/answers.tsv
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
ID_TAREFA RESPOSTAS
1 North
2 Southeast,Midwest,South
3 Northeast
4 7,Non-activated
5 South
6 86
7 Low
8 South
9 86,137,81
10 20
11 137
12 60
13 102
11 changes: 11 additions & 0 deletions TreemapGlyph/answersTraining.tsv
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
ID_TAREFA RESPOSTAS
1 196
2 17,124,49
3 197
4 196,17,124
5 193
6 124,196,17
7 196
8 124
9 193
10 124
202 changes: 202 additions & 0 deletions TreemapGlyph/database/treemap_glyphs_base_CHUVAS_datagen.tsv

Large diffs are not rendered by default.

202 changes: 202 additions & 0 deletions TreemapGlyph/database/treemap_glyphs_base_CHUVAS_eng_datagen.tsv

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,35 @@
* @author Anderson Soares
*/
public enum PerguntasTesteEnum {
Q1("Localize a região em que houve o registro de apenas uma chuva ácida com temperatura baixa."),//categorica
Q2("Localize as três regiões com mais registros de chuva ácida."),//categorica
Q3("Localize a região em que registrou a ocorrência de apenas um furacão."),//categorica
Q4("Encontre (Clique) o registro de furação no nordeste e descubra se o alerta da defesa civil foi ativado."),//categorica
Q5("Localize a região que ocorreu o registro de chuva base com ventos massivos e que tenham ativado o alerta da defesa civil."),//categorica
Q6("Na região norte, encontre o registro de furacão que ativou a defesa civil com chuva de PH básico e temperatura baixa."),//categorica
Q7("Qual o padrão na Intensidade do vento na localidade Rural da região centro-oeste?"),//categorica e continua
Q8("Durante a primavera, qual região apresentou as menores médias de umidade do ar (%)?"),//categorica e continua
Q9("Na região norte durante o verão, selecione as três maiores intensidades de vento."),//categorica e continua
Q10("Na região Norte, durante o outono na localidade rural, selecione o registro (único) de maior volume de chuva e menor intensidade de vento."),//categorica e continua
Q11("Selecione o único registro da região norte, com temperatura média, que possui ph da chuva elevado e baixa umidade do ar."),//categorica e continua
Q12("Selecione o único registro da região sul com ph da chuva igual a Zero (0), com a ocorrência de vento forte, na localidade rural."),//categorica e continua
//Q13("Na região nordeste,selecione o registro(único) de temperatura negativa ");
Q13("In the northeast region, select the (single) negative temperature log");
// Q1("Localize a região em que houve o registro de apenas uma chuva ácida com temperatura baixa."),//categorica
// Q2("Localize as três regiões com mais registros de chuva ácida."),//categorica
// Q3("Localize a região em que registrou a ocorrência de apenas um furacão."),//categorica
// Q4("Encontre (Clique) o registro de furação no nordeste e descubra se o alerta da defesa civil foi ativado."),//categorica
// Q5("Localize a região que ocorreu o registro de chuva base com ventos massivos e que tenham ativado o alerta da defesa civil."),//categorica
// Q6("Na região norte, encontre o registro de furacão que ativou a defesa civil com chuva de PH básico e temperatura baixa."),//categorica
// Q7("Qual o padrão na Intensidade do vento na localidade Rural da região centro-oeste?"),//categorica e continua
// Q8("Durante a primavera, qual região apresentou as menores médias de umidade do ar (%)?"),//categorica e continua
// Q9("Na região norte durante o verão, selecione as três maiores intensidades de vento."),//categorica e continua
// Q10("Na região Norte, durante o outono na localidade rural, selecione o registro (único) de maior volume de chuva e menor intensidade de vento."),//categorica e continua
// Q11("Selecione o único registro da região norte, com temperatura média, que possui ph da chuva elevado e baixa umidade do ar."),//categorica e continua
// Q12("Selecione o único registro da região sul com ph da chuva igual a Zero (0), com a ocorrência de vento forte, na localidade rural."),//categorica e continua
// //Q13("Na região nordeste,selecione o registro(único) de temperatura negativa ");
// Q13("In the northeast region, select the (single) negative temperature log");

Q1("Locate the region which had only one record of acid rain, with low temperature."),//categorica
Q2("Locate the three regions with the most acid rain records."),//categorica
Q3("Locate the region that registered only one record of a hurricane."),//categorica
Q4("Find a hurricane record in the northeast and discover if the civil defense alert was activated."),//categorica
Q5("Locate the region where a basic rain record occurred, with massive winds, and that had the civil defense alert activated."),//categorica
Q6("In the North region, find a hurricane record that activated the civil defense alert, with basic PH rain and low temperature."),//categorica
Q7("What is the wind intensity pattern at the rural location of the midwest region?"),//categorica e continua
Q8("During the spring, which region presented the lowest average air humidity (%)?"),//categorica e continua
Q9("In the northern region, during the summer, select the three highest wind intensities."),//categorica e continua
Q10("In the North region, during the autumn in the rural location, select the single record with the highest rainfall volume and lowest wind intensity."),//categorica e continua
Q11("Select the single record in the north region, with average temperature, which has high PH rain and low air humidity."),//categorica e continua
Q12("Select the single record in the south region with PH zero rain, with strong winds, in a rural location."),//categorica e continua
Q13("In the Northeast region, select the record (one only) with negative temperature.");

private final String q;

PerguntasTesteEnum(String q) {
Expand Down
45 changes: 19 additions & 26 deletions TreemapGlyph/src/doutorado/tese/visao/Main.form
Original file line number Diff line number Diff line change
Expand Up @@ -132,13 +132,10 @@
<Container class="javax.swing.JSplitPane" name="separadorEsqueDir_jSplitPane">
<Properties>
<Property name="dividerLocation" type="int" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
<Connection code="0.25" type="code"/>
<Connection code="1000" type="code"/>
</Property>
<Property name="opaque" type="boolean" value="false"/>
</Properties>
<Events>
<EventHandler event="componentHidden" listener="java.awt.event.ComponentListener" parameters="java.awt.event.ComponentEvent" handler="separadorEsqueDir_jSplitPaneComponentHidden"/>
</Events>

<Layout class="org.netbeans.modules.form.compat2.layouts.support.JSplitPaneSupportLayout"/>
<SubComponents>
Expand Down Expand Up @@ -588,32 +585,27 @@
<EmptySpace min="-2" max="-2" attributes="0"/>
<Group type="103" groupAlignment="0" attributes="0">
<Group type="102" attributes="0">
<Group type="103" groupAlignment="0" attributes="0">
<Component id="jScrollPane7" alignment="0" min="-2" pref="107" max="-2" attributes="0"/>
<Component id="jLabel13" alignment="0" min="-2" pref="98" max="-2" attributes="0"/>
</Group>
<EmptySpace max="-2" attributes="0"/>
<Group type="103" groupAlignment="0" max="-2" attributes="0">
<Group type="102" attributes="0">
<Group type="103" groupAlignment="0" attributes="0">
<Component id="jScrollPane7" alignment="0" min="-2" pref="107" max="-2" attributes="0"/>
<Component id="jLabel13" alignment="0" min="-2" pref="98" max="-2" attributes="0"/>
</Group>
<EmptySpace max="-2" attributes="0"/>
<Group type="103" groupAlignment="0" max="-2" attributes="0">
<Component id="removerVarVisualButton" alignment="0" min="-2" pref="43" max="-2" attributes="0"/>
<Component id="inserirVarVisualButton" alignment="0" min="-2" pref="43" max="-2" attributes="0"/>
</Group>
<EmptySpace min="-2" max="-2" attributes="0"/>
<Group type="103" groupAlignment="0" attributes="0">
<Component id="jLabel14" alignment="0" min="-2" pref="94" max="-2" attributes="0"/>
<Component id="jScrollPane2" alignment="0" min="-2" pref="99" max="-2" attributes="0"/>
</Group>
<EmptySpace max="-2" attributes="0"/>
<Group type="103" groupAlignment="0" attributes="0">
<Component id="baixoButton" min="-2" pref="42" max="-2" attributes="0"/>
<Component id="cimaButton" min="-2" pref="42" max="-2" attributes="0"/>
</Group>
</Group>
<Component id="botaoGerarGlyphs" min="-2" pref="156" max="-2" attributes="0"/>
<Component id="removerVarVisualButton" alignment="0" min="-2" pref="43" max="-2" attributes="0"/>
<Component id="inserirVarVisualButton" alignment="0" min="-2" pref="43" max="-2" attributes="0"/>
</Group>
<EmptySpace min="-2" max="-2" attributes="0"/>
<Group type="103" groupAlignment="0" attributes="0">
<Component id="jLabel14" alignment="0" min="-2" pref="94" max="-2" attributes="0"/>
<Component id="jScrollPane2" alignment="0" min="-2" pref="99" max="-2" attributes="0"/>
</Group>
<EmptySpace max="-2" attributes="0"/>
<Group type="103" groupAlignment="0" attributes="0">
<Component id="baixoButton" min="-2" pref="42" max="-2" attributes="0"/>
<Component id="cimaButton" min="-2" pref="42" max="-2" attributes="0"/>
</Group>
</Group>
<Component id="botaoGerarGlyphs" min="-2" pref="156" max="-2" attributes="0"/>
<Component id="checkCategoricalGlyph" alignment="0" min="-2" pref="107" max="-2" attributes="0"/>
<Component id="jLabel15" alignment="0" min="-2" max="-2" attributes="0"/>
<Group type="102" attributes="0">
Expand All @@ -638,6 +630,7 @@
</Group>
</Group>
</Group>
<EmptySpace max="-2" attributes="0"/>
</Group>
</Group>
</DimensionLayout>
Expand Down
52 changes: 21 additions & 31 deletions TreemapGlyph/src/doutorado/tese/visao/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -204,13 +204,8 @@ private void initComponents() {
setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
setTitle("Treemap Glyphs");

separadorEsqueDir_jSplitPane.setDividerLocation(0.25);
separadorEsqueDir_jSplitPane.setDividerLocation(1000);
separadorEsqueDir_jSplitPane.setOpaque(false);
separadorEsqueDir_jSplitPane.addComponentListener(new java.awt.event.ComponentAdapter() {
public void componentHidden(java.awt.event.ComponentEvent evt) {
separadorEsqueDir_jSplitPaneComponentHidden(evt);
}
});

painelEsquerda.setBackground(new java.awt.Color(153, 255, 153));
painelEsquerda.setOpaque(false);
Expand Down Expand Up @@ -575,25 +570,22 @@ public void actionPerformed(java.awt.event.ActionEvent evt) {
.addContainerGap()
.addGroup(abaConfigGlyphsLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(abaConfigGlyphsLayout.createSequentialGroup()
.addGroup(abaConfigGlyphsLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jScrollPane7, javax.swing.GroupLayout.PREFERRED_SIZE, 107, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(jLabel13, javax.swing.GroupLayout.PREFERRED_SIZE, 98, javax.swing.GroupLayout.PREFERRED_SIZE))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addGroup(abaConfigGlyphsLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
.addGroup(abaConfigGlyphsLayout.createSequentialGroup()
.addGroup(abaConfigGlyphsLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jScrollPane7, javax.swing.GroupLayout.PREFERRED_SIZE, 107, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(jLabel13, javax.swing.GroupLayout.PREFERRED_SIZE, 98, javax.swing.GroupLayout.PREFERRED_SIZE))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addGroup(abaConfigGlyphsLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
.addComponent(removerVarVisualButton, javax.swing.GroupLayout.PREFERRED_SIZE, 43, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(inserirVarVisualButton, javax.swing.GroupLayout.PREFERRED_SIZE, 43, javax.swing.GroupLayout.PREFERRED_SIZE))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addGroup(abaConfigGlyphsLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jLabel14, javax.swing.GroupLayout.PREFERRED_SIZE, 94, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(jScrollPane2, javax.swing.GroupLayout.PREFERRED_SIZE, 99, javax.swing.GroupLayout.PREFERRED_SIZE))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addGroup(abaConfigGlyphsLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(baixoButton, javax.swing.GroupLayout.PREFERRED_SIZE, 42, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(cimaButton, javax.swing.GroupLayout.PREFERRED_SIZE, 42, javax.swing.GroupLayout.PREFERRED_SIZE)))
.addComponent(botaoGerarGlyphs, javax.swing.GroupLayout.PREFERRED_SIZE, 156, javax.swing.GroupLayout.PREFERRED_SIZE))
.addContainerGap())
.addComponent(removerVarVisualButton, javax.swing.GroupLayout.PREFERRED_SIZE, 43, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(inserirVarVisualButton, javax.swing.GroupLayout.PREFERRED_SIZE, 43, javax.swing.GroupLayout.PREFERRED_SIZE))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addGroup(abaConfigGlyphsLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jLabel14, javax.swing.GroupLayout.PREFERRED_SIZE, 94, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(jScrollPane2, javax.swing.GroupLayout.PREFERRED_SIZE, 99, javax.swing.GroupLayout.PREFERRED_SIZE))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addGroup(abaConfigGlyphsLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(baixoButton, javax.swing.GroupLayout.PREFERRED_SIZE, 42, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(cimaButton, javax.swing.GroupLayout.PREFERRED_SIZE, 42, javax.swing.GroupLayout.PREFERRED_SIZE)))
.addComponent(botaoGerarGlyphs, javax.swing.GroupLayout.PREFERRED_SIZE, 156, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(checkCategoricalGlyph, javax.swing.GroupLayout.PREFERRED_SIZE, 107, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(jLabel15)
.addGroup(abaConfigGlyphsLayout.createSequentialGroup()
Expand All @@ -611,7 +603,8 @@ public void actionPerformed(java.awt.event.ActionEvent evt) {
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addGroup(abaConfigGlyphsLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
.addComponent(atributo3Glyph, 0, 90, Short.MAX_VALUE)
.addComponent(atributo4Glyph, 0, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)))))
.addComponent(atributo4Glyph, 0, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))))
.addContainerGap())
);
abaConfigGlyphsLayout.setVerticalGroup(
abaConfigGlyphsLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
Expand Down Expand Up @@ -1591,12 +1584,6 @@ private void glyphContinuosTypeActionPerformed(java.awt.event.ActionEvent evt) {
// TODO add your handling code here:
}//GEN-LAST:event_glyphContinuosTypeActionPerformed

private void separadorEsqueDir_jSplitPaneComponentHidden(java.awt.event.ComponentEvent evt) {//GEN-FIRST:event_separadorEsqueDir_jSplitPaneComponentHidden
// ActionEvent evt;
// botaoGerarVisualizacaoActionPerformed(evt);

}//GEN-LAST:event_separadorEsqueDir_jSplitPaneComponentHidden

private void nextTest_ButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_nextTest_ButtonActionPerformed
if (testMB != null) {
// totalTarefas = testMB.carregarTarefas();//tarefa ta na tela
Expand Down Expand Up @@ -1630,6 +1617,9 @@ private void saveAnswerButtonActionPerformed(java.awt.event.ActionEvent evt) {//
private void startMenuItemActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_startMenuItemActionPerformed
MainScreenLog screenLog = new MainScreenLog();
screenLog.setVisible(true);
JOptionPane.showMessageDialog(null, "To start testing, make sure that the answersTraining.tsv "
+ "and answers.tsv files are in the same directory as the .jar file.",
"Files TSV", JOptionPane.WARNING_MESSAGE);
ManipuladorLog.setTesteAcontecendo(true);
}//GEN-LAST:event_startMenuItemActionPerformed

Expand Down
Loading

0 comments on commit 75193e5

Please sign in to comment.