<commit_before><?php
require_once('config.php');
require_once('autoload.php');

if(isset($_POST['family']))
{
$family = new Model_Family($_POST['family']);
$dynamic_fields = $family->getDynamicFields();
$i = 0;
echo "<table>";
foreach ($dynamic_fields as $dynamic_field)
{
?>
<tr>
    <td><label for="dynamicvalue[<?php echo $dynamic_field->getId(); ?>]"><?php echo $dynamic_field->getName();?> :</label></td>
    <td><input id="dynamicvalue[<?php echo $dynamic_field->getId(); ?>"name="dynamicvalue[<?php echo $dynamic_field->getId(); ?>]" type="text"/></td>
</tr>
<?php } 
echo "</table>";
}
?><commit_msg>Amélioration de la lisibilité du fichier addArticlesDetailes.php<commit_after><?php
require_once('config.php');
require_once('autoload.php');

if(isset($_POST['family'])):
$family = new Model_Family($_POST['family']);
$dynamic_fields = $family->getDynamicFields();
$i = 0;
?>
<table>
    <?php foreach ($dynamic_fields as $dynamic_field): ?>
    <tr>
        <td><label for="dynamicvalue[<?php echo $dynamic_field->getId(); ?>]"><?php echo $dynamic_field->getName();?> :</label></td>
        <td><input id="dynamicvalue[<?php echo $dynamic_field->getId(); ?>"name="dynamicvalue[<?php echo $dynamic_field->getId(); ?>]" type="text"/></td>
    </tr>
    <?php endforeach ?>
</table>
<?php endif ?>
{'fraction_non_alphanumeric': 0.2356101304681504, 'fraction_numerical': 0.0015349194167306216, 'mean_word_length': 6.625730994152047, 'pattern_counts': {'":': 0, '<': 39, '<?xml version=': 0, '>': 49, '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': '7210799', 'n_tokens_mistral': 436, 'n_tokens_neox': 439, 'n_words': 84}